An In-Depth Guide to Mobile Device Forensics - podcast episode cover

An In-Depth Guide to Mobile Device Forensics

Apr 28, 202521 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

This Book offers a comprehensive guide to mobile device forensics, beginning with foundational concepts of wireless communication, including electromagnetic waves, radio frequencies, and various multiple access techniques like FDMA, TDMA, CDMA, and QDMA. It then details the hardware and operating systems of mobile devices, specifically exploring iOS and Android, discussing file systems like APFS and F2FS, security measures, and diagnostic tools such as ADB. The content progresses to cover advanced forensic techniques like JTAG and Chip-Off for direct data extraction, analyzing SQLite databases often used by mobile applications, and performing cell site analysis to determine location information. Finally, the text touches upon anti-forensics countermeasures, such as steganography and cryptography, and concludes with essential considerations for forensic practitioners, including legal issues, ethical guidelines, evidence tracking, and the scientific method as applied to digital forensics.

You can listen and download our episodes for free on more than 10 different platforms:
https://linktr.ee/cyber_security_summary

Get the Book now from Amazon:
https://www.amazon.com/Depth-Guide-Mobile-Device-Forensics/dp/0367633000?&linkCode=ll1&tag=cvthunderx-20&linkId=34d0bde21ede79d3c7ae0bbd051f1b55&language=en_US&ref_=as_li_ss_tl



Discover our free courses in tech and cybersecurity, Start learning today:
https://linktr.ee/cybercode_academy

Transcript

Speaker 1

Welcome to the deep dive. You've asked us to get into the weeds on mobile device forensics using Chuck Eastams and in depth guide to Mobile device forensics as our map.

Speaker 2

Yeah, it's quite a detailed guide.

Speaker 1

Our goal today to really pull out the key stuff, how these devices get examined, what secrets they hold, and give you a solid handle on.

Speaker 2

It all exactly. The source covers a lot, from the nitty gritty of wireless tech and hardware to specific forensic methods for iOS and Android, even advance things like JTAG, chip off data analysis, and crucially the legal side.

Speaker 1

Right. So the mission for you, our listener, is to walk away with a good grasp of the core ideas and steps in mobile forensics. Think of it as getting you up to speed without having to wade through well everything yourself.

Speaker 2

Makes sense. It's a complex field, definitely.

Speaker 1

So let's kick things off with how these devices actually talk to each other wirelessly? The basics.

Speaker 2

Okay, so the book lays the groundwork with wireless technology, makes sense, right, It's how they connect. It starts with electro magnetic waves. Talks about frequency, wavelength and that inverse relationship they have. Right.

Speaker 1

One goes up the other goes down, but the speedy speed of light stays constant.

Speaker 2

Exactly, and frequency measured in hurts, you know, cycles per second. We usually see killohertz, memohrts, gearherts, bigger.

Speaker 1

Numbers like Wi Fi that's often two point four or five gigaherts, isn't it precisely?

Speaker 2

Those are the carrier waves and the actual data that gets put onto the carrier using modulation. AM and FM are basic examples the book gives, but modern stuff is way more complex.

Speaker 1

Okay, so radio waves are key. How do they fit into the tech landscape?

Speaker 2

Well, they're fundamental for lots of wireless tech Wi Fi obviously, those eight or two point one one standards in Bluetooth often around two point four gigaherts too, devices talk without plugging things in.

Speaker 1

Now, the book mentions some ways signals are transmitted. Spread spectrum techniques. Sounded a bit technical, Yeah.

Speaker 2

It gets into that. They are clever ways to make the signal more secure or reliable by spreading it out. Okay, just frequency hopping FHSS jumps between frequencies harder to catch. Direct sequence DSSs spreads the signal wider to resist interference. Then CHIRP, spread spectrum CSS, and time hobbing THHSS, varying frequency over time or transmitting.

Speaker 1

In bursts, different strategies for robustness. Got it? So, with everyone on their phones, how do cellular networks handle all that traffic?

Speaker 2

Multiple access techniques, that's the key. FDMA gives everyone their own frequency channel. TDMA slices up time, gives everyone a slot. CDMA is interesting, uses unique codes so lots of people can share the same frequency. And QDMA that's more for short range.

Speaker 1

Stuff, dividing up the airwaves efficiently. And this tech has really evolved, hasn't it massively?

Speaker 2

The book maps it out GSM than adge the bridge to three G, than umts LTE and now well five G each generation faster, better capacity.

Speaker 1

Five g's the big one. Now anything specific about its wireless side we should note?

Speaker 2

Yeah, The big thing is a huge range of frequencies it uses. The book lists example like N seventy one down at six hunderdguards and N seventy seven way up round three to four getter hurts.

Speaker 1

Wow, quite a spread.

Speaker 2

It allows for much more data, lower latency. From a forensics view, maybe more data, different kinds of data could be recoverable.

Speaker 1

Makes sense, and Wi Fi standards keep evolving too.

Speaker 2

Oh yeah, beyond the common ones like GNN. You've got ad for super fast speeds AFT using old TV channels. That's the one, and now Wi Fi six acts and even Wi Fi seven are coming along. Channel bonding is a key trick there, combining channels.

Speaker 1

For more speed and security is always a concern with.

Speaker 2

Wireless, absolutely critical. The book runs through Wi Fi security. WEP totally broken, now avoid it definitely, Then WPA, WPA two and now WPA three, each getting stronger. Finding WEP on a device, big red flag for security.

Speaker 1

Good point. Okay, solid wireless foundation. Let's get inside the device itself, the hardware.

Speaker 2

Right, The physical bits. Antennas are fundamental. You've got omnidirectional sending signals everywhere, and directional which focus the signal. Okay, Key things are the radiation pattern, directivity, how focused it is, gain which is like signal.

Speaker 1

Amplification measured in DBI or dbd exactly.

Speaker 2

An efficiency, how well it converts power into radio waves, and.

Speaker 1

The area around the antenna matters to different zones.

Speaker 2

Correct, there's the reactive near field right next to it than the radiating near field or personal reason. And finally the far field the Fraunhoffer region.

Speaker 1

And out there in the far field, the signal drops off quickly.

Speaker 2

Yeah, follows the inverse square law. Power decreases significantly with.

Speaker 1

Distance, and even with nothing blocking, you lose signal strength just traveling through air.

Speaker 2

That's free space. Path loss gets worse with distance and also with higher frequencies. The book gives a simplified formula and mentions the freeze formula, which is more complete considering antenna games.

Speaker 1

Okay. Now inside translating digital to analog signals, the DSP.

Speaker 2

The digital signal processor yeh, yep, crucial role. It converts the phone's digital data into analog signals for transmission and vice versa for recep uses math like the discrete cosine transform, and importantly the Fourier transform.

Speaker 1

Ah four, You transform always sounds complex? Can you break it down simply?

Speaker 2

Sure? Think of a complex sound like a musical chord. The Fourier transform is like a prism for sound. It takes that complex wave and shows you all the individual notes, the frequencies that make it up, and how strong each one is.

Speaker 1

Okay. That helps, like decomposing it exactly.

Speaker 2

It decomposes a signal over time into its frequency components. The math uses integrals, which you can kind of think of as finding the area under the curve to figure out the strength of each frequency.

Speaker 1

Got it. Another key piece the SIM card more than just the phone.

Speaker 2

Number, right, Oh, absolutely, the Subscriber Identity module. SIM stores your MSI, the unique subscriber ID for.

Speaker 1

The network International Mobile Subscriber identity right.

Speaker 2

Plus the ICCID that's the simzone serial number, security keys, network info, pimpekey K codes. It's all on there, way more advanced than the old NAM systems.

Speaker 1

And these cards have specific contacts and standards.

Speaker 2

Yep, those little gold contacts. They handle power clock data in out. It all follows isoie C seven eight seventy two standards.

Speaker 1

What other info is stored?

Speaker 2

Well, the IMSI itself contains the MCC and MNC country and network codes. There's the LAI locationary identity with the LAC code. And they've shrunk over time, full size mini micro nano, iPhone five use nano and we have e.

Speaker 1

Sims too, embedded sims right, And.

Speaker 2

They have a simple file system master file MF, directory files, DF, elementary files EF for the actual data.

Speaker 1

Amazing what's packed into that tiny chip. Then there's a CPU, the.

Speaker 2

Central processing unit yep, the book calls it the brains, which is pretty accurate, executes all the instructions, runs the OS, apps, controls everything.

Speaker 1

And radios are getting smarter too. Software defined Radio SDR.

Speaker 2

Yeah, SDR is interesting. It means a lot of the radio functions like tuning, filtering, modulation are done in software instead of fixed hardware.

Speaker 1

More flexible.

Speaker 2

Exactly, you need an RF front end, fast and a good processor, but you can change what the radio does just by updating the software sports different standards more easily.

Speaker 1

Very cool now. The book also mentioned things used to disrupt or monitor signals, jammers and MSI catchers.

Speaker 2

Right, jammers illegally block signals. IMSI catchers try to grab phone identifiers often used for surveillance, important to be aware of in forensics.

Speaker 1

Definitely highlights the dual nature of the tech. Okay, hardware covered, let's shift to the software running the show. iOS and Android makes sense.

Speaker 2

Chapter three dives into iOS. Huge deal in forensics because well, iPhones are everywhere. Sure, big folks on the filesystem APFS Apple filesystem replace the older HFS plus around iOS ten point three. Key features are strong encryption, snapshots, fifty four bit file IDs, checksums for data integrity, really robust.

Speaker 1

And iOS has that layered structure.

Speaker 2

YEP four main layers, core OS at the bottom, core services media, and Coco touch for the user interface. Gestures all that. The book also flax security updates in iOS fourteen, like those little dots showing caarenramic.

Speaker 1

Use ah yeah, the recording indicators.

Speaker 2

Random Wi Fi Mac addresses, and something called blast or to sandbox I message data more secure.

Speaker 1

Saw a mention of three tools. What's that about?

Speaker 2

It's a third party tool can pull lots of info about an iPhone, specs, software's version apps, but the book notes getting the really sensitive stuff like call logs often means jail breaking the phone first.

Speaker 1

Which isn't ideal forensically not usually no modifies the system, and iPhones pack a lot of sensors in screen.

Speaker 2

Tech definitely Olid's greens haptic touch instead of the old pressure sensitive three D touch, and sensors galore, proximity light, magnetometer, accelerometer, gyro barometer, plus biometrics like touch ID and face.

Speaker 1

ID apples big on security right very they.

Speaker 2

Have a dedicated crypto processor use strong AES two hundred and fifty six bit encryption. Remember the FBI and the San Bernardino phone.

Speaker 1

Yeah, that was a big deal.

Speaker 2

Shows how tough it could be. Encryption is always on when locked. Tools like gray key exist. Trying to I pass this, but it's an ongoing battle. The book lists some older processors to A eight, A nine, A ten and their security features. Bottom line, you need to understand iOS internals even with fancy tools.

Speaker 1

Okay, so iOS lockdown encrypted? What about Android? Different?

Speaker 2

Beast entirely pretty much? Chapter four covers Android starts with those hidden codes.

Speaker 1

You can dial ah the secret menus.

Speaker 2

Exactly like hashtag ninety ninety I, dagger ashig, Zerosi ex chech for the Imei. Super useful, but the book warns they vary a lot between manufacturers. Got to search for device specific ones.

Speaker 1

Good tip and interacting with the system ady B comes up a lot.

Speaker 2

Android Debugging Bridge Yeah, it's a command line tool lets you talk to the device of developer modis on. You can pull files, add me, pull, restore, backups, reboot into recovery and dumpsies. Is incredibly powerful for grabbing system.

Speaker 1

Info like listing files and system directories yep.

Speaker 2

LL system ben is an example. Lots of useful commands listed in the.

Speaker 1

Book, and Android uses different file systems than iOS.

Speaker 2

Right, no single standard like ap fac F twofs from Samsung Flash Friendly files is to name jasha FS two yaffs. Depends on the device, the kernel version more fragmentation.

Speaker 1

And security is more varied too.

Speaker 2

Generally, yes, core Android has features, but manufacturers add their own stuff. The book mentions Adyntum encryption for devices that don't have hardware as support uses cha Chai and poly three to five.

Speaker 1

Also, saft flashing tools mentioned odin Android Flash Tool.

Speaker 2

Yeah, those let you write new firmware to the device. Can be used for updates, repairs, or trying to bypass security. But big warning, mess it up and you can break the.

Speaker 1

Phone, render it useless, risky, very and since Android's open source, you can actually look at the code absolutely.

Speaker 2

The book points to cs dot android dot com. Understanding the source code, how it boots, how security works can be invaluable for deep forensic work. There are even a couple of hands on labs in the chapter using codes in ADB cool.

Speaker 1

So two very different operating systems needing different approaches. Okay, we know how they work, how do we actually get the data? Forensic techniques and tools right?

Speaker 2

Chapter five starts with principles that apply to both. What can you recover? Call logs, messages, photos, videos, device info, GPS, network stuff pretty standardless.

Speaker 1

First step is always documentation.

Speaker 2

Always model, imei, sim details, OS version, get it all down. GPS is often huge. Tracking movements, checking.

Speaker 1

Alibis are their official guidelines for this.

Speaker 2

Yes, SWGD Scientific Working Group on Digital Evidence has best practices like their mobile forensics pyramid. NIST also has detailed guidelines for reports. What needs to be included like what examiner details, evidence, description, methods, used, findings, any limitations, data hiding. It also mentions DOOJ guidance on accuracy and even cites the Federal rules on expert reports. Needing enough detail for reproducibility.

Speaker 1

So someone else could follow your steps and get the same result makes sense crucial for court Okay, specifically for iOS, any unique steps.

Speaker 2

Or tools thing stop it syncing with iTunes or finder automatically preserve the state. Good point then tools doctor phone gets a mention. Oxygen Forensics known for being user friendly, good with location data. Mobile edit is noted as affordable cross platform axiom for magnet forensics two and Celebrate is often seen as the big comprehensive solution.

Speaker 1

A whole toolkit available and for Android.

Speaker 2

Chapter six circles back to Android, repeats the general principles airplane mode immediately is key mentions, SWGDE and NIST again, then really emphasizes using ADB shell commands.

Speaker 1

For navigation and documentation.

Speaker 2

Exactly, L sty list files, CD to change directories, and all those useful l's flags AL for details, A for hidden files, ALH for readable sizes, AR for recursive, altr to sort by time, useful.

Speaker 1

Stuff, and looking inside the apps themselves.

Speaker 2

Yeah, touches on decompiling Android apps APKs, using tools like Android Studio to see the underlying code. The focus here is more on free or low cost tools and methods for Android.

Speaker 1

Okay, so different tools, different os quirks. But what if those standard software methods just don't work, say the phone's badly damaged or locked down tight Then you.

Speaker 2

Get into the advance stuff. Chapter seven covers j TAG and chip off. These are last resorts based pl access exactly. You're bypassing the OS, going straight for the memory chips on the circuit board. JTAG Joint Test Action Group was originally for testing boards, but forensics adapted.

Speaker 1

It sounds like you need serious electronic skill.

Speaker 2

You really do. The chapter actually covers some basics DC versus AC power, watts, jewels, components like inductors, capacitors, resistors, even has table of symbols.

Speaker 1

So how does j TAG actually work?

Speaker 2

You connect to specific points on the board called the test access port or TP. There are pins like TDI, TDO, TCK, TMS, test data in, test data out, test clock, et cetera.

Speaker 1

The connection points right.

Speaker 2

You use these to talk directly to the chips using a standard protocol i e. E eleven forty nine point one. The big challenge finding those tap points. They aren't standardized across devices. Definitely, you'd specialized tools too, like a RIF box. The chapter shows it software mentions common errors, and again SWGDI, EE, NST have standards of practices around JTAG.

Speaker 1

Highly specialized work. Okay, let's say you've got the data either normally or through JTAG. How do you make sense of it? Databases were mentioned.

Speaker 2

Yeah, chapter eight. Mobile devices use databases extensively, often squadlight to store app data, contacts messages you name it. Understanding relational databases is key tables, keys, exactly tables hold the data, rows, records, calumns or attributes, primary keys, uniquely identify rose foreign keys, link related tables together. Helps organize data, avoid repetition, and.

Speaker 1

You use SQL to query these databases.

Speaker 2

Yeah, structured quarry language YEP. The chapter covers the basics. Select to get data, update to change it, delete, removing, insert to add, and where is crucial for filtering examples like selection contacts where city in New York or using like to find patterns and or to combine conditions between for ranges distinct for unique values, need brackets if column names have spaces.

Speaker 1

So SQL proficiency is vital and squilight is the common one on phones. How do you view it?

Speaker 2

Several ways? Command line or graphical tools like dB browser for Squidal or even Chrome extensions like squid Viewer lets you open the database files, browse tables, run SEQL queries directly.

Speaker 1

Very useful, okay. Shifting gears a bit. Cell site analysis and smart TVs also covered.

Speaker 2

Right chapter nine. Cell site analysis uses cell tower connection records to estimate where a phone was over time. You plot the tower connections on a map.

Speaker 1

How accurate is that? Determining the exact handoff point between towers seems fuzzy.

Speaker 2

It can be. Without detailed signal strength data, you might assume the handoff is midway between towers. There's always a margin of air, often biggest for the first tower connection.

Speaker 1

But using multiple towers helps.

Speaker 2

Yeah, it refines the location. If you have timestamps, you might even estimate average speed between tower locations, like the example in the book.

Speaker 1

Shows interesting and smart. They're like big phones, now, aren't they?

Speaker 2

Pretty much? Many run androids, so you can often use ADB for forensics and gable USB debugging connect via IP.

Speaker 1

Use similar commands.

Speaker 2

Yep, gump seas to get system info, ad B polled to grab filed like photos can be useful. Restarting the ADB server sometimes needed if connections fail.

Speaker 1

Adapting techniques to new devices makes sense. But what about people trying to hide data?

Speaker 2

Anti forensics AH Chapter ten Big topic starts with seganography, hiding data within other data.

Speaker 1

Like hiding text in an image exactly.

Speaker 2

The book shows how changing just one tiny bit in a pixel is invisible to us, but can hide information. The image or audio file is the channel Lots of tools exist to do.

Speaker 1

This and ways to detect it.

Speaker 2

STAG analysis right statistical analysis looking for noise patterns. Tools like STAG detect exist. The chapter shows an example using deep sound to hide a file in audio Exammers need to be aware.

Speaker 1

This happens, okay, hiding data? What about scrambling it? Cryptography also huge phage.

Speaker 2

Symmetric crypto uses the same key to encrypt and decrypt think filer disc encryption. Asymmetric uses different public private keys for secure communication signatures essential to understand for Iosandroid security.

Speaker 1

How do they work? Basically?

Speaker 2

Symmetric often involves substitution, swapping the letters bits and transposition shuffling them, done in multiple complex rounds using algorithms like AES. Asymmetric like RSA, relies on complex math with prime numbers to create the key.

Speaker 1

Pairs and phones use specific types.

Speaker 2

Yep AES two fifty six bit is common for full disc encryption on both platforms. Older stuff like A fifty one was used in GSM. Umts has its own authentication methods.

Speaker 1

What about hashing different from encryption?

Speaker 2

Totally different. Hashing is a one way process takes input, creates a fixed size fingerprint or hash can't go backwards. Used for integrity checking, making sure data hasn't changed. MD five, SAHA one, SA two fifty six are common examples.

Speaker 1

Dot it and password tracking.

Speaker 2

Trying to guess or find passwords to decrypt data. Brute force dictionary attacks rainbow tables, but strong encryption makes it very, very hard.

Speaker 1

Seems like a constant cat and mouse game. Okay, we've covered tech and techniques, but none of it matters without the legal and ethical framework absolutely vital.

Speaker 2

Chapter eleven dives into this. Starts with rules of evidence like FRE nine oh one nine oh two on authenticating digital evidence so it's admissible.

Speaker 1

In court and keeping track of the avidance itself.

Speaker 2

Crucial Chaining custody needs meticulous tracking logs software like ASIS or Evidence Tracker, barcodes even RFID got to prove the evidence wasn't tampered with.

Speaker 1

And when examiners testify, they're experts, right.

Speaker 2

Yes, explot test money relies on specialized knowledge. Federal Rule seven oh two defines who qualifies, and the Daubert Standard seys criteria for scientific reliability, testing, peer review, error rates, general acceptance. Forensic techniques have to meet these standards.

Speaker 1

Can't just search any phone though warrants consent.

Speaker 2

Fourth Amendment territory generally need a warrant based on probable cause, especially the expectation of privacy we have with phones. Consent is an exception, but it must be voluntary informed and the search can't exceed the scope of the consent given who can consent matters to owners sometimes parents.

Speaker 1

And ethics foundational, I imagine, non negotiable.

Speaker 2

The chapter mentions AAFS guidelines be professional, don't misrepresent qualifications or findings site sources properly. Your duty is to the scientific truth, not just winning a case. You have to report weaknesses too briefly. Touches on kerminl versus civil cases, PI licenses.

Speaker 1

Scientific principles apply here too, definitely the.

Speaker 2

Scientific method peer review for validating techniques Lowcard's principle. Every contact leaves a trace, even digitally.

Speaker 1

And the final report ties it all together.

Speaker 2

It has to summarize analysis conclusions based on detailed notes. Sans and DOJ have recommendations must include enough detail for another expert to reproduce your work. Quality controls key too. Lab accreditation like ISO twenty five Investigator training in search using validated methods.

Speaker 1

Wow, we really have covered a massive amount of ground from wireless signals and hardware.

Speaker 2

Through operating systems, file systems, specific forensic tools for iOS and Android.

Speaker 1

Advance extraction like j TAG, data analysis with SQL, cell sites, even smart TVs.

Speaker 2

And then anti forensics like stiganography and crypto, and finally the critical legal and ethical rules.

Speaker 1

Yeah, quit the journey. Our aim was really to give you the listener, a solid practical understanding of this whole complex.

Speaker 2

Field, hopefully equipping you with insights into the tech, the processes how digital evidence is uncovered.

Speaker 1

So wrapping up this deep dive, here's something to chew on. Mobile tech keeps getting more complex, right, anti forensic techniques get smarter. What do you think are the biggest challenges ahead for mobile forensics? Where does innovation need to happen most it's.

Speaker 2

That constant balancing act security versus privacy versus finding the truth in digital.

Speaker 1

Evidence exactly, Definitely food for thought. We hope this exploration was valuable and feel free to keep digging into these topics. Thanks for joining us on the deep dive.

Transcript source: Provided by creator in RSS feed: download file
For the best experience, listen in Metacast app for iOS or Android