Latest / CyberSecurity Summary / Practical Mobile Forensics: Forensically investigate and analyze iOS, Android, and Windows 10 devices, 4th Edition
Transcript
- 0:00Speaker 1: Welcome to our deep dive into mobile forensics. You've given
- 0:03Speaker 1: me a stack material on iOS and Android file systems,
- 0:08Speaker 1: security features, and even how to break into them, all legally.
- 0:11Speaker 2: Of course, right, you want to get a grip on
- 0:13Speaker 2: how mobile forensics works, what data we can actually get back,
- 0:17Speaker 2: the tools and techniques involved, from.
- 0:19Speaker 1: The basics to some seriously advanced stuff. You've even got
- 0:22Speaker 1: reverse engineering apps and malware in here.
- 0:25Speaker 2: Should be a fun ride.
- 0:26Speaker 1: So we've all seen those TV shows where they pulled
- 0:28Speaker 1: data off phones like magic, But real life mobile forensics
- 0:34Speaker 1: that's way more complex.
- 0:35Speaker 2: Right, Oh? Absolutely For starters, think about the sheer volume
- 0:38Speaker 2: of devices out there, each one with its own hardware
- 0:41Speaker 2: and software, its own security quirks. Then there's the fact
- 0:44Speaker 2: that technology is constantly.
- 0:45Speaker 1: Evolving, so investigators are always playing catchup always, And.
- 0:49Speaker 2: Then you have the legal side of things, the constant
- 0:51Speaker 2: back and forth between law enforcement and individual privacy rights.
- 0:54Speaker 2: Remember that whole FBI versus Apple encryption battle.
- 0:57Speaker 1: Oh yeah, Apple refused to unlock that terrorist's iPhone landmark case.
- 1:03Speaker 1: So how do investigators even approach a device knowing it
- 1:06Speaker 1: could be totally locked down?
- 1:08Speaker 2: Well, the first step is always to figure out what
- 1:10Speaker 2: specific device model you're dealing with. Sounds obvious, but that
- 1:14Speaker 2: dictates what tools and techniques will actually work. iPhones, iPads,
- 1:18Speaker 2: different Android models from every manufacturer, imaginable, It's a lot.
- 1:22Speaker 1: Yeah, You've got a whole section in here on iOS.
- 1:24Speaker 1: What makes iPhones so tricky for forensics?
- 1:27Speaker 2: Well, for one, the file systems. Older iPhones used HFS plus,
- 1:32Speaker 2: which is complex on its own, but newer ones switched
- 1:35Speaker 2: to APFS that throws in some curveballs. Like what sparse files?
- 1:40Speaker 2: A file can exist but not take up actual storage
- 1:42Speaker 2: space until data is written to it. Imagine trying to
- 1:44Speaker 2: recover a deleted file that technically exists but has no
- 1:48Speaker 2: content yet. It really messes with traditional data recovery methods.
- 1:52Speaker 1: Wow, So even understanding how the data is stored is
- 1:54Speaker 1: a challenge. What about all those security features Apple's always
- 1:57Speaker 1: talking about.
- 1:58Speaker 2: Huge factor You've got code signing to prevent unauthorized apps, sandboxing,
- 2:03Speaker 2: isolating apps from each other, and the system. But the
- 2:07Speaker 2: big one is encryption. The whole file system is encrypted
- 2:10Speaker 2: by default on all modern iPhones.
- 2:13Speaker 1: So even if you get the phone, the data scrambled.
- 2:16Speaker 1: Makes sense why those chip off methods are often useless
- 2:19Speaker 1: it's like breaking into a safe and finding a bunch
- 2:21Speaker 1: of gibberish.
- 2:22Speaker 2: Exactly, and that encryption is tied to the user's.
- 2:25Speaker 1: Passcode, adding another layer of difficulty exactly.
- 2:28Speaker 2: So investigators have to get creative logical acquisition. Things like
- 2:33Speaker 2: iTunes backups are often the go to method for newer iPhones,
- 2:37Speaker 2: but sometimes they need deeper access, which.
- 2:39Speaker 1: Is where jail breaking comes in. Risky but necessary to
- 2:42Speaker 1: get past those security barriers. You've got a whole section
- 2:45Speaker 1: here on jail breaking tools, which ones work with, what
- 2:48Speaker 1: iOS versions. It's like a hacker's playbook.
- 2:50Speaker 2: Jail Breaking is a delicate process for sure, but sometimes
- 2:54Speaker 2: it's the only way to get a full filesystem acquisition
- 2:56Speaker 2: yea on a complete copy of the device's storage.
- 2:59Speaker 1: So even with iPhone, there's a spectrum of approaches, from
- 3:02Speaker 1: relatively simple backups to pretty intense filesystem dumps. But Android,
- 3:08Speaker 1: I'm guessing that's a whole other beast.
- 3:10Speaker 2: You bet. Android's open nature, the sheer variety of devices
- 3:14Speaker 2: it makes it both challenging and really fascinating. From a
- 3:17Speaker 2: forensic standpoint.
- 3:18Speaker 1: We're back ready to tackle the wild world of Android forensics.
- 3:22Speaker 1: From what I've read, it's a whole different ballgame compared
- 3:25Speaker 1: to iOS.
- 3:25Speaker 2: That's putting it mildly massive, open source ecosystem, countless device manufacturers,
- 3:31Speaker 2: and a history of let's just say, evolving security measures.
- 3:35Speaker 1: So investigators need to be adaptable, to say the least.
- 3:38Speaker 1: But before we jump into techniques, break down the Android
- 3:40Speaker 1: system itself. How is it structured in a way that
- 3:43Speaker 1: matters for forensics?
- 3:45Speaker 2: Okay, so, at its core, Android runs on the Linux
- 3:47Speaker 2: kernel that handles all the low level stuff, memory processes,
- 3:51Speaker 2: some baseline security, but then you start adding layers, libraries
- 3:55Speaker 2: for graphics, databases, the Android run time that actually executes
- 3:58Speaker 2: the apps.
- 3:59Speaker 1: It goes on and on, so it's not just a
- 4:00Speaker 1: single thing. Investigators need to know what layer they're even
- 4:04Speaker 1: dealing with to find the data precisely.
- 4:06Speaker 2: And don't forget about those filesystems. You might encounter, flash, memory,
- 4:11Speaker 2: media based, or pseudo file systems, each one with its
- 4:14Speaker 2: own quirks. Fun fact, Android used to rely heavily on
- 4:18Speaker 2: why affs two. Okay, but lots of devices have transitioned
- 4:22Speaker 2: over to EXT four and that migration can actually create
- 4:26Speaker 2: challenges for investigators.
- 4:27Speaker 1: Okay, I'm intrigued. Why would switching file systems be a
- 4:29Speaker 1: big deal. Sounds like a technical detail.
- 4:32Speaker 2: It is, but it impacts data recovery. Why affs two.
- 4:36Speaker 2: It had this thing called out of band data stored
- 4:39Speaker 2: separately from the main file data. If you're not careful
- 4:42Speaker 2: during the acquisition process, you could miss that data entirely.
- 4:45Speaker 1: Oh so it's like a hitting compartment that could hold
- 4:47Speaker 1: key evidence Sneakye. But let's talk about the elephant in
- 4:50Speaker 1: the room. Android security. I know it's improved over the years,
- 4:53Speaker 1: but it's also had well, it's had its share of vulnerabilities.
- 4:56Speaker 2: Definitely, early versions of Android pretty easy to crack. Yeah,
- 4:59Speaker 2: but Google is really stif up their game. Now. You've
- 5:01Speaker 2: got the secure kernel, permission models that limit what apps
- 5:04Speaker 2: can do, sandboxing to isolate them, and of course full
- 5:07Speaker 2: disc encryption on all modern devices.
- 5:09Speaker 1: So it's a mix of familiar concepts from iOS, but
- 5:12Speaker 1: implemented in a different way. How does androids approach to
- 5:15Speaker 1: app signing differ from Apples you mentioned that earlier.
- 5:18Speaker 2: Yeah, key distinction. Apple's code signing is incredibly strict. Only
- 5:23Speaker 2: apps they vetted can run on iOS devices period. Androids
- 5:27Speaker 2: a lot more open apps need to be signed, but
- 5:30Speaker 2: it's more about verifying the developer's identity and preventing tampering,
- 5:35Speaker 2: not necessarily guaranteeing safety.
- 5:37Speaker 1: So it's like a walled garden versus I don't know,
- 5:39Speaker 1: a bustling marketplace. More freedom, but more potential for shady
- 5:45Speaker 1: stuff to slip through the cracks.
- 5:46Speaker 2: A very app to analogy, and that's where things like
- 5:48Speaker 2: Selinicx come in. Security enhanced Linux adds another layer of control,
- 5:53Speaker 2: enforcing really strict rules on what processes can access which resources.
- 5:57Speaker 1: So even if an app is compromised, slinx limit, it's
- 6:00Speaker 1: the damage it can do like a security guard inside
- 6:02Speaker 1: the system itself. But let's get practical. How do investigators
- 6:06Speaker 1: approach data acquisition on an Android device?
- 6:09Speaker 2: Like with iOS, they've got logical and physical options. Logical
- 6:12Speaker 2: often involves using the Android Debug Bridge or ADB.
- 6:16Speaker 1: Yeah, we talked about setting up that controlled environment for forensics.
- 6:20Speaker 1: So ADB it's basically like a remote control for Android devices, right,
- 6:24Speaker 1: you got it.
- 6:25Speaker 2: It has commands for creating backups. Think of it like
- 6:29Speaker 2: an iTunes backup, but for Android, pulling specific files, even
- 6:33Speaker 2: accessing the command.
- 6:34Speaker 1: Line handy, But what if you need deeper access when
- 6:38Speaker 1: you're dealing with encryption or deleted data.
- 6:41Speaker 2: Then you might look at physical acquisition chip off, where
- 6:44Speaker 2: you physically remove the memory chip. Right, it's an option,
- 6:47Speaker 2: but it's destructive, there is risky. Then there's JTAG, a
- 6:50Speaker 2: hardware interface that can sometimes access the memory without removing
- 6:54Speaker 2: the chip.
- 6:55Speaker 1: So again a range of techniques depending on the situation.
- 6:57Speaker 1: But all this data acquisition is useless if you can't
- 7:00Speaker 1: get past that lock screen.
- 7:01Speaker 2: Very true Android lock screens. There are constant battleground techniques
- 7:05Speaker 2: that exploit vulnerabilities, social engineering tricks. You can even try
- 7:10Speaker 2: to reset the password remotely using Google's Find My Device.
- 7:13Speaker 1: So it gets pretty creative, but brute force attacks just
- 7:16Speaker 1: trying every combination that can't be practical most of the time.
- 7:19Speaker 2: Right, No, not really lockout mechanisms, the sheer length and
- 7:23Speaker 2: complexity of pass codes these days, it all adds up,
- 7:27Speaker 2: and then you've got the classic smudge attack, analyzing fingerprints
- 7:31Speaker 2: left on the screen to guess the unlocked pattern, though
- 7:33Speaker 2: that's more effective on older devices.
- 7:35Speaker 1: Speaking of older devices, I remember reading that rooting is
- 7:38Speaker 1: often necessary for in depth Android forensics, but it's not
- 7:41Speaker 1: without its risks. Right.
- 7:43Speaker 2: Absolutely, rooting gives you super ruser privileges, complete control over
- 7:47Speaker 2: the device. It's essential for accessing certain data, like the
- 7:51Speaker 2: data data folder where app store sensitive information. But you
- 7:54Speaker 2: can also break the device if you're not careful, and
- 7:57Speaker 2: it definitely avoids the warranty.
- 7:58Speaker 1: So investiators need to way the risks and benefits there.
- 8:01Speaker 1: But let's say they successfully acquire the data, how do
- 8:04Speaker 1: they even navigate the Android file hierarchy? Is it anything
- 8:07Speaker 1: like iOS? Oh?
- 8:08Speaker 2: It's more complex. You've got various directories like data for
- 8:12Speaker 2: user and app data, a state card for external storage,
- 8:15Speaker 2: dot system for the operating system itself. Knowing where to
- 8:17Speaker 2: look is crucial.
- 8:19Speaker 1: And every manufacturer might tweak things a bit, adding another
- 8:23Speaker 1: layer of complexity. It's like trying to find a needle
- 8:25Speaker 1: in a haystack that keeps changing shape.
- 8:28Speaker 2: A very colorful way to put it. But that's what
- 8:30Speaker 2: makes Android forensics so challenging and so rewarding. There's always
- 8:35Speaker 2: something new to learn. Each case presents its own unique
- 8:38Speaker 2: puzzles to solve.
- 8:40Speaker 1: So we've covered the giants iOS Android, but you've also
- 8:45Speaker 1: got some material in here on well an underdog Windows Phone.
- 8:50Speaker 1: I haven't thought about those in years.
- 8:51Speaker 2: Yeah, it's true. Windows Phone never really gained the same
- 8:54Speaker 2: traction as iOS or Android, but they're still out there,
- 8:57Speaker 2: and for an investigator encountering a less comp device, that
- 9:00Speaker 2: could be a real curve ball.
- 9:02Speaker 1: Let's dust off the history books for a second. Remind
- 9:04Speaker 1: me what was the whole deal with Windows Phone? What
- 9:06Speaker 1: were they even trying to do?
- 9:07Speaker 2: Well, Microsoft was trying to carve out their own space
- 9:10Speaker 2: in the smartphone market. They went with a very bowl
- 9:14Speaker 2: visual approach, one of those colorful tiles.
- 9:15Speaker 1: Oh yeah, those life tiles, constantly updating with information. So
- 9:18Speaker 1: from a forensic standpoint, what's set Windows Phone apart?
- 9:21Speaker 2: Well, it had its own unique set of features and quirks,
- 9:24Speaker 2: just like any os. They had this concept called chambers
- 9:27Speaker 2: for isolation, similar to sandboxing, but with its own twist.
- 9:32Speaker 2: And of course encryption was a factor in later versions,
- 9:35Speaker 2: just like with iOS and Android.
- 9:37Speaker 1: So even though it wasn't as popular, Windows Phone still
- 9:39Speaker 1: had security measures in place. Anything particularly interesting or different
- 9:43Speaker 1: about its security.
- 9:44Speaker 2: Well, one standout feature was the capability based security model,
- 9:48Speaker 2: similar to Android's permissions, but even more granular. Apps could
- 9:52Speaker 2: only do what they were explicitly allowed to do. It
- 9:55Speaker 2: was a pretty robust approach.
- 9:57Speaker 1: So it's not just about knowing how to get data
- 9:59Speaker 1: off a whi. Windows phone investigators need to understand those
- 10:02Speaker 1: nuances of its architecture and security to even know what
- 10:05Speaker 1: they're looking for, how to access it.
- 10:07Speaker 2: Exactly, And like with the other platforms, there's a range
- 10:09Speaker 2: of acquisition methods logical options, but tool support is often
- 10:13Speaker 2: more limited just because of Windows Phones, smaller market share.
- 10:16Speaker 1: Makes sense, fewer devices, fewer developers making tools for them.
- 10:20Speaker 1: Are there any go to tools for Windows Phone even
- 10:23Speaker 1: if the options are limited.
- 10:25Speaker 2: Celebrate ufed, a popular commercial suite, offers some support, but
- 10:29Speaker 2: there's also a free tool called wpinternals that has gained
- 10:33Speaker 2: some traction. Lets you extract data without needing that expensive
- 10:37Speaker 2: commercial software.
- 10:38Speaker 1: So there are ways to diyatt good to know, But
- 10:41Speaker 1: once you've got the data, how do you navigate the
- 10:44Speaker 1: Windows Phone filesystem? Is it anything like what we've seen
- 10:47Speaker 1: with iOS and Android.
- 10:48Speaker 2: It's actually closer to NTFS, the filesystem used in Windows
- 10:52Speaker 2: desktop PCs, but it's optimized for mobile, so some of
- 10:56Speaker 2: that knowledge transfers over. But there are unique directories in
- 10:59Speaker 2: file formats.
- 11:00Speaker 1: To learn familiar but with a mobile twist, any specific
- 11:04Speaker 1: files or directories that investigators should prioritize when they're looking
- 11:07Speaker 1: for evidence On a Windows.
- 11:09Speaker 2: Phone, absolutely, the data directory is key. It holds user data,
- 11:12Speaker 2: app data, system settings, and then you've got applications. Pretty
- 11:16Speaker 2: self explanatory. Those are the usual starting points, and.
- 11:18Speaker 1: No Windows system would be complete without a registry, right,
- 11:21Speaker 1: I'm guessing that's a treasure trove of information, just like
- 11:23Speaker 1: on a PC.
- 11:24Speaker 2: Oh, you know it. Registry is a gold mine for
- 11:27Speaker 2: configuration settings, all sorts of clues, and of course investigators
- 11:31Speaker 2: are always on the lookout for those specific artifacts contacts, messages,
- 11:35Speaker 2: call logs, browsing history, all that good stuff.
- 11:38Speaker 1: So even though Windows Phone might seem like a blast
- 11:40Speaker 1: from the past, the fundamentals of mobile forensics still apply.
- 11:45Speaker 1: You need to understand the system, know where to look,
- 11:48Speaker 1: use the right tools to get that data and analyze it.
- 11:51Speaker 2: That's the beauty of it. The specifics change, but the
- 11:54Speaker 2: core principles they stay the same. It's all about piecing
- 11:57Speaker 2: together that digital puzzle no matter what device you're dealing with.
- 12:01Speaker 1: This has been a really incredible deep dive into mobile forensics,
- 12:05Speaker 1: from iPhones to androids to those forgotten Windows phones. You've
- 12:09Speaker 1: really shown the challenges, the possibilities, all of it.
- 12:12Speaker 2: It's been my pleasure and remember with every new device,
- 12:15Speaker 2: every new technology, the field of mobile forensics keeps evolving.
- 12:19Speaker 1: That's a great point to end on. Thanks for joining us,
- 12:21Speaker 1: and we'll see you next time for another deep dive.