Latest / CyberCode Academy / Course 42 - Mobile Malware Analysis Fundamentals | Episode 15: iOS and Android Case Studies and Reporting
Transcript
- 0:00Speaker 1: So there is like this silent war happening inside your
- 0:03Speaker 1: pocket right now.
- 0:04Speaker 2: Oh, absolutely every single day, right.
- 0:06Speaker 1: And you know, when a device on a corporate network
- 0:09Speaker 1: suddenly starts leaking data, or I don't know, a brand
- 0:11Speaker 1: new phone just transforms into a really expensive brack, the
- 0:14Speaker 1: incident response team doesn't just like, guess.
- 0:17Speaker 2: What went wrong now, They can't afford to guess exactly.
- 0:20Speaker 1: They have to dissect the threat line by line, behavior
- 0:23Speaker 1: by behavior. And today we are jumping into a deep
- 0:26Speaker 1: dive on two real world mobile malware incident briefs. We've
- 0:32Speaker 1: got one for iOS and.
- 0:33Speaker 2: One for Android, two very different beasts.
- 0:35Speaker 1: Yeah, totally different environments. But the objective for us today
- 0:38Speaker 1: is to step by step uncover the actual functionality of
- 0:42Speaker 1: these threats, and you know, learn how to translate those
- 0:45Speaker 1: raw technical findings into a documented, actionable intelligence.
- 0:49Speaker 2: Report, which is the most important part really, right.
- 0:52Speaker 1: So you, the listener, you are stepping into the shoes
- 0:55Speaker 1: of the lead analyst on these two distinct cases. We're
- 0:59Speaker 1: skipping all the high level fluff and digging right into
- 1:02Speaker 1: the actual mechanics of how analysts tear this malware apart.
- 1:05Speaker 2: Yeah, because going from a quiet morning to a live
- 1:08Speaker 2: dicking clock investigation. I mean it forces you to rely
- 1:11Speaker 2: entirely on a structured methodology. Good to be stressful. Oh
- 1:14Speaker 2: it is. And we aren't just looking for a simple
- 1:17Speaker 2: you know, binary yes or no from some anti virus scanner.
- 1:20Speaker 2: We're looking for the why and the how. We need
- 1:22Speaker 2: to synthesize this incredibly complex malicious code execution into clear intelligence.
- 1:29Speaker 2: And we do that using static, dynamic and network analysis. Right,
- 1:33Speaker 2: because turning all that digital chaos into a structured narrative,
- 1:37Speaker 2: well that's just the core job of a security professional.
- 1:40Speaker 2: Makes sense.
- 1:41Speaker 1: So let's jump straight into case file number one. I
- 1:44Speaker 1: call this the Corporate iOS Mystery.
- 1:46Speaker 2: Click that title. Thanks.
- 1:47Speaker 1: So the scenario you're walking into it happens like all
- 1:50Speaker 1: the time in enterprise environments. It's mid July. A user
- 1:53Speaker 1: at your company submits a ticket reporting that their iPhone
- 1:56Speaker 1: is acting weird, just.
- 1:57Speaker 2: Weird, right, the classic user description.
- 1:59Speaker 1: Exactly, my phone is acting weird. So first line it
- 2:01Speaker 1: tics preliminary look and they spot some suspicious AD related
- 2:07Speaker 1: applications sitting on the phone.
- 2:08Speaker 2: But they hit a wall, right because they are there
- 2:11Speaker 2: to triage, not to reverse engineer malware exactly.
- 2:15Speaker 1: So they hand the case file over to you, and
- 2:17Speaker 1: your mandate is to perform an assessment ensure the corporate
- 2:20Speaker 1: network isn't at risk and you know, verify if any
- 2:24Speaker 1: company policies were broken by this user.
- 2:26Speaker 2: Which immediately presents this really common logitical hurdle for a
- 2:31Speaker 2: lot of analysts.
- 2:32Speaker 1: Oh hardware, right, exactly, a.
- 2:34Speaker 2: Lot of analysts working in corporate security operation centers. They're
- 2:37Speaker 2: doing their daily work on Windows or Linux workstations. Yeah,
- 2:40Speaker 2: you might not actually own a Mac. Yeah, and you
- 2:42Speaker 2: probably don't have a physically jailbroken iOS test device just
- 2:47Speaker 2: sitting in your drawer to you know, safely detonate this
- 2:50Speaker 2: malware on.
- 2:51Speaker 1: So let me play Devil's advocate here. If you don't
- 2:54Speaker 1: have an Apple device, doesn't the investigation just like stop
- 2:56Speaker 1: at it's initial guess?
- 2:58Speaker 2: See that is where the event instigation usually stalls for juniors.
- 3:02Speaker 2: But static analysis completely bypasses that hardware limitation.
- 3:06Speaker 1: Oh wow, really yeah.
- 3:08Speaker 2: Even without an Apple device, you can tear the application
- 3:11Speaker 2: apart and examine its resting code.
- 3:13Speaker 1: Okay, so where do you even start with that?
- 3:15Speaker 2: My immediate first step is almost always extracting strings. If
- 3:19Speaker 2: you run a strings command against the application, binary filtering
- 3:24Speaker 2: for askin unicodeext you're basically pulling out the human readable
- 3:28Speaker 2: text that the developers left behind.
- 3:30Speaker 1: Oh right, so you start seeing like hard coded IP
- 3:33Speaker 1: addresses or URLs for their command and control.
- 3:36Speaker 2: Servers exactly, or even specific file paths the malware intends
- 3:41Speaker 2: to target. It's foundational because compile code still needs those
- 3:44Speaker 2: plaintext pointers to function within the operating system.
- 3:47Speaker 1: Gotcha.
- 3:47Speaker 2: But beyond just strings, you'd want to deploy an automated framework.
- 3:50Speaker 2: So the standard tool highlighted for this kind of workflow
- 3:53Speaker 2: is MOBSF, the Mobile Security Framework.
- 3:56Speaker 1: And you don't need a Mac for that.
- 3:57Speaker 2: Nope, you don't need an iOS device to use it
- 4:00Speaker 2: at all. You take the application package, the IPA file,
- 4:03Speaker 2: and you just feed it into MOBSF. It essentially unzips
- 4:07Speaker 2: the package, decompiles the binaries back into a readable structure,
- 4:10Speaker 2: and maps out the whole application architecture. That's super cool,
- 4:14Speaker 2: it is it parses the configuration files, could show you
- 4:16Speaker 2: exactly which system provisions the developer requested, what APIs are
- 4:21Speaker 2: being called, and if there are any glaring vulnerabilities just
- 4:25Speaker 2: sitting there in the resting code.
- 4:26Speaker 1: Okay, but wait, static analysis has to have a massive
- 4:29Speaker 1: blind spot here, right, Because if I'm a malware author
- 4:33Speaker 1: and I'm targeting an enterprise network, i am absolutely not
- 4:36Speaker 1: leaving my command and control ips.
- 4:38Speaker 2: In plaintext, right, You'd be hiding them.
- 4:40Speaker 1: Yeah, I'm a packet or encrypt it or heavily obfuscate
- 4:43Speaker 1: my code. So if you run strings on an obfuscated binary,
- 4:47Speaker 1: aren't you just getting a giant wall of gibberish?
- 4:50Speaker 2: You are?
- 4:51Speaker 1: So, if we don't have that iOS device to dynamically
- 4:53Speaker 1: run it and see what it does, aren't we just
- 4:56Speaker 1: guessing at its true intent?
- 4:58Speaker 2: And that is the exact friction point where sta at
- 5:00Speaker 2: analysis kind of becomes an art form. You are totally
- 5:02Speaker 2: correct that obfuscation destroys simple strings analysis. But here's the thing.
- 5:07Speaker 2: The obfuscation itself is an indicator of compromise.
- 5:10Speaker 1: OHO, because normal apps don't hide their code like that.
- 5:13Speaker 2: Exactly, When you load that binary into an advanced dissembler
- 5:17Speaker 2: like IDFs throw, you look at the entropy.
- 5:19Speaker 1: The entropy like the randomness of the data.
- 5:22Speaker 2: Yeah, the randomness. High enterpy usually means the payload is
- 5:25Speaker 2: packed or encrypted. And even if you can't read the strings,
- 5:29Speaker 2: IDA pro allows you to graph the execution flow so
- 5:33Speaker 2: you can see the structural logic of the program. Oh wow,
- 5:36Speaker 2: you can identify the exact memory address where the malware
- 5:39Speaker 2: attempts to allocate space to unpack its true payload. You're
- 5:44Speaker 2: mapping the architecture of the attack, identifying those decryption routines,
- 5:48Speaker 2: even if you can't immediately see the final.
- 5:50Speaker 1: Decrypted weapon that is wild. So you're basically outlining the
- 5:53Speaker 1: shape of this invisible payload exactly. Okay, So once you
- 5:57Speaker 1: have that architectural map, you have to actually document it.
- 6:00Speaker 1: And the incident brief gives us a very specific anatomy
- 6:03Speaker 1: for this report. It's just a concise seven page document, right,
- 6:07Speaker 1: including pictures.
- 6:08Speaker 2: Yeah, and it doesn't need to be a novel, right.
- 6:10Speaker 1: It starts with a cover page, a table of contents.
- 6:13Speaker 1: But the heavy lifting really happens in the executive summary,
- 6:16Speaker 1: because this is where you're translating technical risk into business
- 6:19Speaker 1: risk for the C suite. You have to explain in
- 6:22Speaker 1: plain English what happened if the network is compromised and
- 6:26Speaker 1: if policies were broken.
- 6:27Speaker 2: Right. The executive summary is critical because it dictates the
- 6:30Speaker 2: business response, but the subsequent malware analysis section is where
- 6:34Speaker 2: you provide the cryptographic proof of your.
- 6:38Speaker 1: Claims right showing your homework exactly.
- 6:40Speaker 2: This section requires the strings information, how it runs into debugger,
- 6:44Speaker 2: the static analysis output from eeder pro, and a lot
- 6:49Speaker 2: to identified mutex's network indicators and file hashes.
- 6:52Speaker 1: Okay, I want to drill down into the mechanics of
- 6:54Speaker 1: one of those requirements, like documenting mutexes, because this is cool.
- 6:58Speaker 1: A mutex stands for a mutual ex pollution object yep.
- 7:01Speaker 1: And the best way I can visualize this for you
- 7:03Speaker 1: the listener is think of the single physical key to
- 7:06Speaker 1: a restaurant bathroom. If someone is in the bathroom, they
- 7:10Speaker 1: have the key attached to that giant piece of wood
- 7:12Speaker 1: and no one else can enter.
- 7:13Speaker 2: That's a great way to think about it.
- 7:14Speaker 1: Malware uses the exact same logic. When it infects a system,
- 7:19Speaker 1: it creates a unique mutex on the OS. If another
- 7:22Speaker 1: copy of the same malware tries to execute, it checks
- 7:25Speaker 1: for that mutex if it exists, meaning the bathroom is occupied,
- 7:29Speaker 1: the second copy just shuts down.
- 7:30Speaker 2: Yeah, it's basically a survival mechanism because if ransomware accidentally
- 7:34Speaker 2: encrypts a system twice, or if a botnet client tries
- 7:38Speaker 2: to phone home simultaneously from five different processes on the
- 7:42Speaker 2: same phone. It's going to crash, right, It crashes the
- 7:45Speaker 2: host device, which alerts the user and completely ruins the
- 7:47Speaker 2: attackers operation. So documenting that specific mutests name in your
- 7:52Speaker 2: report gives the IT department a highly reliable indicator.
- 7:57Speaker 1: Of compromise because if they stand the network and find
- 8:00Speaker 1: that specific mutex active on another device, they just know
- 8:03Speaker 1: it's infected exactly. But applying these standard reporting templates across
- 8:07Speaker 1: different operating systems introduces a really fascinating technical translation problem
- 8:12Speaker 1: because the standard malware reporting template we're looking at it
- 8:15Speaker 1: has feels for things like registry keys to track how
- 8:19Speaker 1: the malware establishes persistence. But registry keys are exclusively a
- 8:23Speaker 1: Microsoft Windows concept. Apple devices don't have a Windows registry.
- 8:28Speaker 2: They don't and this really tests the underlying mindset of
- 8:32Speaker 2: the analyst. Yeah, because you don't abandon the structural flow
- 8:35Speaker 2: of your investigation just because the operating system changed, right,
- 8:38Speaker 2: You adapt exactly, You adapt the concept of persistence to
- 8:41Speaker 2: the new environment. So in Windows, malware alters the registry
- 8:46Speaker 2: to make sure it launches every time the computer computer
- 8:48Speaker 2: boots up, But in iOS, the operating system relies on
- 8:52Speaker 2: property lists or dot plus files. Okay, these are basically
- 8:55Speaker 2: XML files that tell the system how to configure and
- 8:58Speaker 2: launch background demons. So in your report you just swap
- 9:01Speaker 2: out registry keys for property list modifications. Yeah, the core
- 9:05Speaker 2: methodology identifying how the malicious code survives a reboot remains
- 9:09Speaker 2: entirely untouched. You're just speaking a different technical dialect.
- 9:12Speaker 1: I love that. Now. The rigid structure of that corporate
- 9:14Speaker 1: iOS report is great when you have a compliance team
- 9:17Speaker 1: breathing down your neck and standard operating procedures to lean on.
- 9:21Speaker 1: But that underlying investigative mindset gets tested entirely differently when
- 9:25Speaker 1: those corporate safety nets are just gone, which is exactly
- 9:28Speaker 1: what happens when you step out of the enterprise environment
- 9:31Speaker 1: and into the wild west of third party Android app stores.
- 9:35Speaker 2: Oh yeah, that brings us to case file number two.
- 9:38Speaker 1: Exactly. We are transitioning from protecting a corporate network to
- 9:42Speaker 1: helping out a friend. The environment shifts from a lockdown
- 9:46Speaker 1: iOS device to an unmanaged consumer Android phone.
- 9:50Speaker 2: And the danger profile there is often much much more aggressive.
- 9:54Speaker 1: So here's the scenario. Your friend is a massive Pokemon fan.
- 9:58Speaker 1: They proudly show off this hot new Pokemon Go application.
- 10:02Speaker 1: Normally it's in the Google Play Store for like twenty
- 10:04Speaker 1: nine bucks, but your friends smugly tells you they managed
- 10:07Speaker 1: to sideload it for free off some random.
- 10:09Speaker 2: Forum, which is always a terrible idea.
- 10:11Speaker 1: Oh, I mean, I always compare downloading paid apps for
- 10:14Speaker 1: free from third party sites to eating a sandwich you
- 10:16Speaker 1: just found on a park bench.
- 10:17Speaker 2: That is, yet, that's incredibly accurate, right.
- 10:20Speaker 1: Like, sure, it's free today, but you are absolutely going
- 10:22Speaker 1: to pay for it later without a doubt. So a
- 10:25Speaker 1: few days later, disaster strikes your friends. Entire allotted phone
- 10:30Speaker 1: data for the month. We are talking gigabytes of network
- 10:33Speaker 1: data is completely chewed up in about a single day.
- 10:36Speaker 1: Their phone is a brick, they are panicking, they offer
- 10:39Speaker 1: to pay you to investigate, and they need a written
- 10:41Speaker 1: report for their records.
- 10:43Speaker 2: So the symptom here is massive anomalous network exfiltration. But
- 10:49Speaker 2: to understand how this happened, you know, we really have
- 10:51Speaker 2: to look at the mechanics of third party app stores.
- 10:54Speaker 1: Because the attackers aren't usually building these games from scratch.
- 10:56Speaker 2: Right, no, no way. They operate as digital parasites. What
- 11:00Speaker 2: the attacker does is they purchase the legitimate twenty nine
- 11:03Speaker 2: dollars application from the official store. Then they use a
- 11:06Speaker 2: tool like app tool to unpack the application. They decode
- 11:09Speaker 2: the Android manifest dot xml file and they extract the
- 11:12Speaker 2: raw smolly code that's essentially the readable version of androids dalvit.
- 11:16Speaker 1: By code, and once it's all unpacked, they just inject
- 11:18Speaker 1: their own malicious payload right alongside the legitimate game files.
- 11:22Speaker 2: Exactly. They'll modify the manifest file to grant themselves new
- 11:25Speaker 2: permissions like you read contacts, or access the camera or
- 11:30Speaker 2: in this case, open network sockets in the background hikes.
- 11:33Speaker 2: Then they just recompile the whole thing, sign it with
- 11:35Speaker 2: a fake developer certificate, and host it on a forum
- 11:38Speaker 2: as a quote unquote cracked free version.
- 11:40Speaker 1: So to the user it plays exactly like the real game,
- 11:44Speaker 1: but to the phones operating system it's basically a trojan horse.
- 11:47Speaker 2: That repackaging process is exactly why malware is so prevalent
- 11:52Speaker 2: in sideloaded applications. Now, as the analyst investigating this massive
- 11:57Speaker 2: data drain, you are handed a very specific strict instruction
- 12:01Speaker 2: in the case file quote try to stay away from
- 12:04Speaker 2: any online analysis, right.
- 12:06Speaker 1: And when I first read that, my immediate and instinct
- 12:08Speaker 1: was to push back.
- 12:09Speaker 2: I was like, wait, why it seems counterintuitive right now?
- 12:12Speaker 1: Yeah, because if I have a suspicious file, the fastest
- 12:15Speaker 1: way to get answers is to upload the hash or
- 12:17Speaker 1: even the file itself to an online sandbox like virus
- 12:20Speaker 1: Total to see what other security vendors think of it.
- 12:23Speaker 1: Why are we intentionally limiting our tools?
- 12:25Speaker 2: Well, if you think about the operational security the opsect
- 12:29Speaker 2: of a live investigation, uploading a fresh, potentially zero day
- 12:33Speaker 2: piece of malware to a public scanner is essentially kipping
- 12:37Speaker 2: off the attacker.
- 12:38Speaker 1: You're basically giving the bad guy a heads up exactly.
- 12:41Speaker 2: Yea, these malware authors actively monitor those sites. If they
- 12:45Speaker 2: see their custom payload being analyzed by a public sandbox,
- 12:49Speaker 2: they will immediately burn their command and control servers. Oh wow,
- 12:52Speaker 2: They'll change their IP addresses and you completely lose the
- 12:55Speaker 2: ability to track them. You essentially spook the suspect before
- 12:58Speaker 2: you can even put a tail on them.
- 12:59Speaker 1: Okay, that makes sense. The opsec risk is huge.
- 13:02Speaker 2: It is, but honestly, the data privacy risk is arguably worse,
- 13:06Speaker 2: especially when dealing with a consumer device. You have no
- 13:09Speaker 2: idea what that repackage application has been doing in the background, right,
- 13:13Speaker 2: what if it has already scraped your friend's personal photos,
- 13:15Speaker 2: or their banking tokens, or their private text messages and
- 13:19Speaker 2: temporarily store them inside the application's local directory.
- 13:22Speaker 1: Own.
- 13:22Speaker 2: Yeah, if you blindly upload that malware sample to a
- 13:26Speaker 2: public online sandbox, the sandbox is going to execute it,
- 13:30Speaker 2: and the malware might spit all that stolen sensitive data
- 13:34Speaker 2: right out onto the public Internet for literally any security
- 13:37Speaker 2: researcher in the world to download and view.
- 13:39Speaker 1: Oh Man, So by trying to analyze the malware with
- 13:42Speaker 1: a shortcut, you inadvertently become the one who leaks the
- 13:46Speaker 1: victim's sensitive data exactly.
- 13:48Speaker 2: Staying offline forces you, the analyst to rely on your
- 13:52Speaker 2: core localized skills in a safe, air gapped lab environment.
- 13:56Speaker 2: You can't rely on automated web tools to do the
- 13:58Speaker 2: thinking for you.
- 13:59Speaker 1: That is a fascinating constraint, but it highlights how the
- 14:02Speaker 1: goal remains exactly the same as the corporate iOS case.
- 14:04Speaker 1: We just need to uncover the raw functionality of the
- 14:07Speaker 1: program for your friend using strict analysis techniques.
- 14:10Speaker 2: Right, Because whether it's a corporate iPhone played by adwear
- 14:12Speaker 2: or an Android phone draining data via a fake Pokemon app,
- 14:16Speaker 2: the methodology to crack the case relies on three identical
- 14:18Speaker 2: pillars of investigation.
- 14:20Speaker 1: And those three pillars are basic static analysis, basic dynamin analysis,
- 14:24Speaker 1: and network details. So let's break these down for the
- 14:26Speaker 1: listener so they're easy to visualize without needing to stare
- 14:29Speaker 1: at a screen. Imagine the Malur as a suspect we've
- 14:32Speaker 1: just brought into the police station. Basic static analysis is
- 14:35Speaker 1: like searching the suspect's pockets while they are sound asleep
- 14:38Speaker 1: in the holding cell.
- 14:39Speaker 2: I love that analogy.
- 14:40Speaker 1: Right, They aren't executing code, they aren't actively doing anything,
- 14:45Speaker 1: but we are carefully pulling out their wallet, checking their ID,
- 14:48Speaker 1: reading their receipts, and examining their tattoos.
- 14:51Speaker 2: And in a technical context, that static search is when
- 14:54Speaker 2: you decompile the Android APK. You're looking at the resting
- 14:57Speaker 2: code to see what system permissions requested in the manifest file.
- 15:01Speaker 2: You're pulling strings to find hard coded URLs. You're mapping
- 15:05Speaker 2: the functions in a disassembler. Basically, you are gathering intelligence
- 15:10Speaker 2: before the code ever has a chance to wake up
- 15:12Speaker 2: and defend itself.
- 15:13Speaker 1: Beautiful, and once we have that map, we moved to
- 15:15Speaker 1: the second pillar, basic dynamic analysis. This is where we
- 15:18Speaker 1: wake the suspect up, put them in the interrogation room
- 15:21Speaker 1: and watch what they do. The action phase exactly. We
- 15:24Speaker 1: execute the malware in a controlled, isolated sandbox on our
- 15:27Speaker 1: own localized lab machine. We want to see how it acts.
- 15:31Speaker 1: Does it create those mutex as we talked about earlier,
- 15:33Speaker 1: does it drop secondary executable files into temporary folders?
- 15:38Speaker 2: But you have to remember, dynamic analysis is really a
- 15:41Speaker 2: game of cat and mouse, because modern malware is highly
- 15:45Speaker 2: highly environmentally aware. Okay, so well, the case brief specifically
- 15:49Speaker 2: requires you to document how the malware behaves in a debugger.
- 15:54Speaker 2: And a debugger allows an analyst to pause the execution
- 15:57Speaker 2: of a program at any given millisecond and just inspect
- 16:00Speaker 2: the memory.
- 16:01Speaker 1: Registers, which is super powerful.
- 16:03Speaker 2: It is, and malware authors know this, so they build
- 16:05Speaker 2: in anti debugging techniques.
- 16:07Speaker 1: Right, How does the malware actually know it's being watched? Like,
- 16:09Speaker 1: how can a program tell?
- 16:11Speaker 2: It? Usually relies on system timing or environment flags. When
- 16:14Speaker 2: a program runs, normally, the CPU executes instructions in microseconds.
- 16:19Speaker 2: It's lightning fast. But when a human analyst is stepping
- 16:23Speaker 2: through the code in a debugger, the execution is incredibly slow.
- 16:28Speaker 2: So the malware can run a simple time check at
- 16:30Speaker 2: the start of its routine, wait for a few instructions,
- 16:34Speaker 2: and then run another time check.
- 16:35Speaker 1: Oh wow.
- 16:36Speaker 2: If the delta between those two timestamps is too large,
- 16:39Speaker 2: the malware assumes, hey, I'm in a debugger and it
- 16:43Speaker 2: intentionally crashes itself, or it just executes Harmle's code to
- 16:47Speaker 2: trick the analyst. It basically refuses to speak in the
- 16:50Speaker 2: interrogation room.
- 16:51Speaker 1: That is incredibly clever. It literally measures human reaction time
- 16:55Speaker 1: to hide itself.
- 16:55Speaker 2: It's very smart.
- 16:56Speaker 1: Okay, So if we can't get it to talk in
- 16:58Speaker 1: the interrogation room, we moved a third pillar network analysis.
- 17:02Speaker 1: We stop looking at the suspect in the room and
- 17:04Speaker 1: we go pull their phone records. We monitor the labs
- 17:08Speaker 1: network traffic using a packet capture tool to see exactly
- 17:11Speaker 1: who they are calling back at headquarters.
- 17:12Speaker 2: And this is where the Android case breaks wide open.
- 17:15Speaker 2: Because the user's device drain gigabytes of data in a day.
- 17:19Speaker 2: When you run the dynamic network analysis, you aren't just
- 17:22Speaker 2: going to see standard HTTP requests.
- 17:24Speaker 1: Right, It's going to be a lot noisier.
- 17:26Speaker 2: Much noisier. You're going to see continuous DNS queries attempting
- 17:30Speaker 2: to resolve these sketchy, randomly generated domain names. You're going
- 17:34Speaker 2: to see heavily encrypted TLS streams opening up and just
- 17:38Speaker 2: pushing massive blocks of outbound data to foreign IP addresses.
- 17:42Speaker 1: So you capture those packets, identify the destination ips, and
- 17:46Speaker 1: document the exact ports the malours using to exultrate the data.
- 17:50Speaker 2: Right. But you know the ultimate goal of all of this,
- 17:53Speaker 2: the static decompilation, the dynamic debugging, the network packet capture.
- 17:57Speaker 2: It is completely useless if you can't communicate the findings
- 18:00Speaker 2: the report. Yes, the analysis only matters if the report
- 18:04Speaker 2: clearly communicates the risk. That's why the structure of the
- 18:06Speaker 2: report is just as critical as the reverse engineering itself.
- 18:10Speaker 2: You have to take that raw network packet data and
- 18:13Speaker 2: translate it into a concise executive summary for your friend
- 18:16Speaker 2: or for a corporate security.
- 18:18Speaker 1: Team, detailing exactly what the code was designed to do,
- 18:20Speaker 1: how it bypassed security, and what data was actually compromised exactly.
- 18:25Speaker 2: Knowledge is only valuable when it's applied and shared.
- 18:28Speaker 1: Well said, we have covered massive ground today. We started
- 18:32Speaker 1: by taking over a stalled mid July corporate iPhone investigation,
- 18:37Speaker 1: proving that a lack of physical hardware doesn't stop an
- 18:39Speaker 1: analyst who understand static decompilation.
- 18:42Speaker 2: And how to adapt concepts like Windows registry persistence into
- 18:46Speaker 2: iOS property lists. Right.
- 18:48Speaker 1: We then pivoted to a consumer Android device, uncovering how
- 18:52Speaker 1: attackers repackage legitimate applications into digital parasites and why true
- 18:56Speaker 1: analysts keep their investigations offline to protect operational secure and
- 19:00Speaker 1: prevent data leaks.
- 19:01Speaker 2: And we solved both by rigorously applying the three pillars
- 19:04Speaker 2: of static, dynamic and network analysis.
- 19:07Speaker 1: It really highlights that the underlying mechanics of incident response
- 19:10Speaker 1: are a platform agnostic completely.
- 19:12Speaker 2: The syntax changes between iOS and Android, but the investigative
- 19:16Speaker 2: methodology remains entirely consistent.
- 19:18Speaker 1: So to reinforce everything we've unpacked today, I have a
- 19:21Speaker 1: quick mental exercise for you, the listener. Think about the
- 19:24Speaker 1: high level executive summary for your Friends and Raid report.
- 19:28Speaker 1: If you had to write that summary right now, how
- 19:31Speaker 1: would you concisely describe the difference between the applications expected
- 19:35Speaker 1: behavior playing a mobile game and its actual behavior, which
- 19:38Speaker 1: is draining a month's worth of network data in a
- 19:41Speaker 1: single day.
- 19:42Speaker 2: Yeah, how do you explain that repackaging mechanism and the
- 19:45Speaker 2: resulting exfiltration to someone without using any technical jargon at all.
- 19:49Speaker 2: It's tough, it is, But the ability to translate that
- 19:53Speaker 2: complex behavior into plain language is the defining trait of
- 19:56Speaker 2: a senior analyst definitely. And to build on that exercise
- 19:59Speaker 2: a lead you with this, consider the sheer volume of
- 20:02Speaker 2: information involved in that Android case. A gigabyte of text
- 20:06Speaker 2: or compressed files is an astronomical amount of data, it
- 20:10Speaker 2: really is. So if a piece of repackaged malware is
- 20:13Speaker 2: aggressive enough to burn through an entire data plan in
- 20:16Speaker 2: just twenty four hours, what specific massive files, personal data tropes,
- 20:21Speaker 2: or network secrets? Is it quietly packing up and sending
- 20:25Speaker 2: out the back door while you're distracted catching virtual monsters.
- 20:28Speaker 1: Ah? That is terrifying. It's enough to make you reconsider
- 20:32Speaker 1: every single application you have ever installed.
- 20:34Speaker 2: It really should.
- 20:35Speaker 1: Well, thank you for joining us on this deep dive,
- 20:37Speaker 1: and we will catch you next time.