Study guide

18.3 Multimedia Forensics: Image, Audio & Video Authentication, EXIF, PRNU and Deepfake Detection

Computer Hacking Forensic Investigator CHFI 312-49

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Foundations of Digital Forensics & Cybercrime Investigation

1.1 Cybercrime Classifications, Forensic Science Principles & Legal Admissibility 1.2 RFC 3227 Order of Volatility, Live vs. Dead Acquisition & Forensic Readiness 1.3 Indicators of Compromise (IoCs), Cyber Attribution & Threat Intelligence 1.4 AI-Assisted Forensics, GitOps, Automation/Orchestration & Forensics-as-a-Service (FaaS)

2 Chapter 2: Modern Forensic Environments & Emerging Threats

2.1 Fileless Malware, In-Memory Execution & Living-off-the-Land (LotL) 2.2 IoT & Operational Technology (OT/SCADA) Forensic Fundamentals 2.3 Dark Web, Tor Network, Onion Routing & Hidden Services Forensics 2.4 Blockchain Transactions, Cryptocurrency Tracing & Digital Asset Investigations

3 Chapter 3: Legal Frameworks, Search Warrants & Evidence Rules

3.1 Federal Rules of Evidence (FRE 702, 901, 902, 1001-1003) & Daubert/Frye Standards 3.2 Fourth Amendment, Warrant Exceptions, Workplace Search & Consent Protocols 3.3 International Standards: ISO/IEC 27037, ACPO Principles & ENFSI Guidelines 3.4 Cybercrime Statutes, Privacy Compliance, CAN-SPAM & International Cooperation

4 Chapter 4: eDiscovery, Chain of Custody & Professional Ethics

4.1 Electronic Discovery Reference Model (EDRM) & Legal Spoliation Holds 4.2 Chain of Custody Documentation, Evidence Packaging & Tamper-Evident Handling 4.3 Expert Witness Testimony, Report Writing Standards & EC-Council Code of Ethics

5 Chapter 5: Storage Architecture, Boot Sequences & Media Forensics

5.1 Storage Media Architecture: Sectors, Clusters, RAM/File Slack & Unallocated Space 5.2 Partition Tables & Boot Structures: MBR, GPT, VBR, BIOS vs. UEFI Secure Boot 5.3 RAID Reconstruction (RAID 0, 1, 5, 6, 10) & SSD Forensic Challenges (TRIM, Wear Leveling)

6 Chapter 6: Windows File Systems: NTFS & FAT

6.1 NTFS Architecture: Master File Table ($MFT) Record Structure & Attribute Headers 6.2 NTFS Artifacts: Alternate Data Streams (ADS), Volume Shadow Copies (VSS) & $LogFile 6.3 FAT12/16/32 and exFAT Architecture, Directory Entries & File Deletion Mechanics

7 Chapter 7: Non-Windows File Systems & File Signatures

7.1 Linux File Systems: ext2/ext3/ext4 Inode Architecture, Superblocks & Journaling Forensics 7.2 macOS File Systems: HFS+ and Apple File System (APFS) Architecture & Snapshots 7.3 File Signatures, Magic Bytes, Hex Headers/Footers & File Carving Techniques

8 Chapter 8: Investigation Lifecycle, Lab Setup & First Response

8.1 Forensic Laboratory Accreditation: ISO/IEC 17025 Standards & Hardware/Software Controls 8.2 First Responder Duties: Crime Scene Containment, Electronic Triage & Volatile Triage 8.3 Physical Evidence Packaging, Anti-Static/Faraday Protection & Transport Security

9 Chapter 9: Forensic Acquisition & Verification Methodology

9.1 Hardware and Software Write-Blockers: Operational Validation & Bridge Verification 9.2 Bit-Stream Disk Imaging, Physical vs. Logical vs. Targeted Acquisition Methodology 9.3 Forensic Image Formats (RAW/DD, E01, AFF) & Cryptographic Hashing Verification (MD5, SHA-256)

10 Chapter 10: Anti-Forensics Techniques & Countermeasures

10.1 Steganography Detection: Spatial/Frequency Domain Steganalysis & Hidden Carrier Extraction 10.2 Timestomping Countermeasures: Comparing $STANDARD_INFORMATION vs $FILE_NAME Timestamps 10.3 Secure Wiping, Degaussing, File Shredding Countermeasures & Residual Artifact Recovery

11 Chapter 11: Windows Operating System Forensics

11.1 Windows Registry Forensics: SYSTEM, SOFTWARE, SAM & NTUSER.DAT Hive Analysis 11.2 Execution Artifacts: Prefetch (.pf), Shimcache (AppCompatCache), Amcache.hve & UserAssist 11.3 User Activity Artifacts: ShellBags, LNK Shortcut Files, Jump Lists & Recycle Bin ($I/$R) 11.4 Windows Event Log Forensics: Security Audit IDs (4624, 4625, 4688, 4720, 7045) & EVTX Parsing

12 Chapter 12: Memory Forensics & Malware Analysis

12.1 Volatile Memory Acquisition: RAM Capture, Crash Dumps, Hiberfil.sys & Pagefile.sys 12.2 Memory Analysis with Volatility 3: pslist, pstree, malfind, netscan & Vadinfo 12.3 Static Malware Triage: Strings, PE Headers, Import Tables, Hashes & YARA Rule Matching 12.4 Dynamic Malware Analysis: Sandboxing, Process Monitor (Procmon), Regshot & Network Callouts 12.5 .NET Managed Malware Analysis & the GOOTLOADER Fileless Infection Chain

13 Chapter 13: Network, Web Application & Email Forensics

13.1 Network Forensics: PCAP Analysis, Protocol Dissection, Snort/Suricata & Flow Analysis 13.2 Web Server Forensics: Apache/IIS Access Logs, SQL Injection, XSS & Web Shell Detection 13.3 Email Forensics: RFC 5322 Headers, Authentication (SPF, DKIM, DMARC) & Mbox/PST Extraction 13.4 SIEM Event Correlation, Cross-Source Timeline Analysis & Super-Timeline Construction 13.5 Investigating Directory Traversal, Command Injection, Parameter Tampering, XXE, Cookie Poisoning & Brute Force 13.6 Network Device & Service Log Forensics: Firewall, IDS, Honeypot, Router, DHCP, Switch, VPN, DNS & SSH 13.7 Wireless Network Forensics: Rogue APs, Evil Twins, MAC Spoofing, Deauthentication & Jamming

14 Chapter 14: Mobile, Cloud & IoT Forensics

14.1 Mobile Device Forensics: Manual, Logical, File System & Physical Extraction (Android/iOS) 14.2 Mobile Artifact Analysis: Call Logs, SMS/Chat SQLite Databases, Location Data & Plists 14.3 Cloud Forensics: AWS CloudTrail, Azure Activity Logs & Multi-Tenant Evidence Collection 14.4 IoT Forensics: UART/JTAG Physical Interfaces, Firmware Extraction & Sensor Telemetry

15 Chapter 15: Commercial & Open-Source Forensic Suites

15.1 Commercial Forensic Platforms: EnCase Forensic, FTK (Forensic Toolkit) & FTK Imager 15.2 Open-Source Forensic Platforms: Autopsy, The Sleuth Kit (TSK) & SIFT/CAINE Workstations 15.3 Specialized DFIR Utilities: Eric Zimmerman Tools (EZ Tools) & Sysinternals Forensic Suite

16 Chapter 16: Analysis Toolkits, Python Scripting & Tool Validation

16.1 Reverse Engineering & Password Cracking: Ghidra, IDA Pro, Hashcat & John the Ripper 16.2 Python for Digital Forensics: Parsing Raw Artifacts, Custom Scapy Scripts & Evidence Automation 16.3 Forensic Tool Testing & Validation: NIST CFTT Methodology, ISO/IEC 17025 Standards & Daubert Compliance

17 Chapter 17: Database Forensics & Web Application Firewalls

17.1 MySQL Forensics: Internal Architecture, Data Directory, Information Schema & Utility Programs 17.2 SQL Server Forensics: SSMS, ApexSQL, SQLCMD Transaction-Log Collection, Plan Cache & Trace Files 17.3 Web Application Firewall (WAF) Architecture, Audit Logs, Benefits & Limitations

18 Chapter 18: Social, Virtualized, Multimedia & Browser Investigations

18.1 Social Media, Social Engineering, Insider Threat & Identity Theft Forensics 18.2 Virtualization, Container & Microservices Forensics, Bluetooth and Electron Chat Applications 18.3 Multimedia Forensics: Image, Audio & Video Authentication, EXIF, PRNU and Deepfake Detection 18.4 Browser Artifact Recovery, Private Browsing, USB Enumeration, Partition Recovery & Packer Unpacking Tools

18.3 Multimedia Forensics: Image, Audio & Video Authentication, EXIF, PRNU and Deepfake Detection

Key Takeaways Explain This Topic AI

EXIF metadata carries camera make and model, lens, exposure settings, GPS coordinates, and the Software field that names any editing application, but it is trivially editable and is stripped by most social platforms on upload, so it corroborates rather than proves.

PRNU sensor pattern noise is the fingerprint of an individual image sensor caused by manufacturing variation in photosite sensitivity, and it can link a photograph to one specific camera body rather than merely to a model.

Error Level Analysis and JPEG ghost detection expose regions recompressed at a different quality than the rest of the frame, which is the signature of a pasted or edited area in a JPEG.

Video containers store structural metadata in atoms such as ftyp, moov, and mvhd for MP4, and the encoder string plus atom ordering serve as a container fingerprint that differs between original device output and re-encoded exports.

Audio authentication uses Electric Network Frequency analysis, matching the mains hum captured in a recording against reference grid frequency databases to verify or refute a claimed recording time.

Last updated: September 2026

18.3 Multimedia Forensics: Image, Audio & Video Authentication, EXIF, PRNU and Deepfake Detection

Quick Answer: The blueprint names multimedia basics (Domain 1), multimedia forensics as an investigative methodology (Domain 4), and multimedia forensics using Python (Domain 5). Multimedia forensics answers three distinct questions: what does the metadata say (EXIF, container atoms — easy to read, easy to forge), which device produced this ( PRNU sensor pattern noise, which identifies an individual camera body), and has this been altered (compression-domain analysis such as ELA , JPEG ghosts, and double-quantization artifacts). Metadata alone never authenticates a file.

Image Metadata: EXIF, IPTC, XMP

EXIF (Exchangeable Image File Format) is embedded by the capturing device in JPEG and TIFF files.

  • Field Investigative value
  • Make / Model Device manufacturer and model
  • DateTimeOriginal , CreateDate , ModifyDate Capture vs. last-modification time; divergence indicates editing
  • GPSLatitude / GPSLongitude / GPSAltitude / GPSDateStamp Geolocation and a second independent timestamp

Software The editor that last wrote the file — "Adobe Photoshop 26.0" on a file claimed to be an unmodified camera original is a direct contradiction

  • ExposureTime , FNumber , ISO , FocalLength Consistency check against the claimed scene and lighting
  • SerialNumber / BodySerialNumber On many DSLRs, the camera body serial — a direct device link

Embedded thumbnail Often not regenerated after an edit, so it may show the pre-edit image exiftool -a -u -g1 evidence.jpg # all tags, including unknown, grouped

exiftool -ThumbnailImage -b evidence.jpg > thumb.jpg # extract the embedded thumbnail

Warning

EXIF is user-writable and platform-stripped. exiftool edits any field in one command, so metadata is evidence of convenience , never of authenticity . Conversely, most major social platforms strip EXIF on upload, so absence of EXIF is normal for a downloaded file and proves nothing . The presence of intact GPS EXIF on a file recovered from a chat app usually means it came directly from a device, not from a platform — which is itself a useful provenance signal.

IPTC and XMP carry editorial and rights metadata; XMP in particular preserves an edit history in some Adobe workflows, listing prior document identifiers and operations.

Source Device Identification: PRNU

Photo-Response Non-Uniformity is the multimedia equivalent of ballistics matching. Manufacturing tolerance makes each photosite on a sensor slightly more or less sensitive than its neighbors, producing a fixed, deterministic noise pattern unique to that individual sensor — not to the model, to the specific body .

Method:

Estimate the reference pattern by averaging the noise residual across many known images from the suspect camera (flat, evenly lit images work best).

Extract the noise residual from the questioned image.

Correlate the two; a correlation significantly above the null distribution supports common origin.

Strengths: survives moderate JPEG compression and resizing; identifies the individual device; applies to video frames as well as stills. Limits: requires access to the candidate camera or a corpus of its images; defeated by heavy cropping (which misaligns the pattern), strong denoising, and aggressive re-encoding; in-camera and computational-photography pipelines on modern phones apply processing that weakens the pattern.

Other source signatures: CFA (Bayer) demosaicing artifacts differ by manufacturer pipeline; JPEG quantization tables are device- and software-specific, so a table that does not match any known camera profile for the claimed Make / Model indicates re-encoding; and lens chromatic aberration and vignetting profiles are optics-specific.

Tamper Detection in the Compression Domain

Editing a JPEG forces a re-save, and re-saving leaves statistical traces.

Technique What it reveals

Error Level Analysis (ELA) Re-save the image at a known quality and difference it against the original. Untouched regions have settled into a uniform error level; a pasted region compressed a different number of times stands out at a different brightness .

JPEG ghost Recompress at a sweep of quality factors; a region originally saved at quality q shows a minimum difference at q , producing a visible "ghost" where the spliced area's history differs.

Double-quantization (DQ) artifacts Double JPEG compression leaves periodic peaks and gaps in DCT coefficient histograms. Their absence in one region of an otherwise doubly compressed image marks that region as inserted.

Copy-move detection Block or keypoint (SIFT/SURF) matching finds regions duplicated within the same image — the classic way to clone out or multiply an object.

Noise inconsistency Different regions exhibiting different noise variance indicate content from different sources.

Lighting and shadow geometry Shadow directions that do not converge on a consistent light source, and inconsistent specular highlights, are manual but powerful checks.

Resampling detection Scaling or rotating a pasted region introduces periodic interpolation correlations detectable in the second derivative.

Important

ELA is a triage indicator, not proof. It is heavily affected by an image's own compression history, by texture and edge density, and by the sweep quality chosen. Published forensic practice treats a bright ELA region as a prompt for deeper analysis — DQ artifacts, PRNU, and a documented provenance chain — not as a conclusion. Presenting an ELA heat map alone as evidence of forgery does not survive competent cross-examination.

  • Video Forensics
  • Container and Codec Structure

An MP4/MOV file is a tree of atoms (boxes) :

  • Atom Contents
  • ftyp File type and compatible brands — the first structural fingerprint
  • moov Movie metadata: track list, timescale, durations
  • mvhd Creation and modification times ( seconds since 1904-01-01 UTC , the QuickTime epoch)
  • mdat The actual encoded media payload
  • udta / meta User data: GPS ( ©xyz ), device model, and vendor-specific tags

Container fingerprinting is the practical authentication method: the exact set and order of atoms, the encoder string ( Lavf /FFmpeg, HandBrake , a specific phone firmware), and the timescale values differ between a device's native output and any re-encode. A video claimed to be straight off a phone but carrying an FFmpeg encoder string in the metadata has been processed. ffprobe -v quiet -print_format json -show_format -show_streams evidence.mp4

  • mp4dump evidence.mp4 # atom tree
  • mediainfo --Full evidence.mp4
  • Frame-Level Analysis

GOP structure: frame-accurate editing of an inter-frame-compressed stream forces re-encoding, which disturbs the I/P/B frame pattern. An anomalous GOP boundary, or an unexpected I-frame, marks a splice point.

Frame extraction ( ffmpeg -i in.mp4 -vf fps=... out%05d.png ) allows still-image techniques — PRNU, ELA, copy-move — to be applied per frame.

Frame-rate and timestamp consistency: dropped, duplicated, or reordered presentation timestamps indicate manipulation.

CCTV/DVR exports frequently use proprietary containers; native export with the vendor's player and the original file is always preferable to a transcoded copy, because transcoding destroys the very artifacts authentication depends on.

Audio Forensics

Technique Purpose

ENF (Electric Network Frequency) Mains hum at 50 or 60 Hz is captured incidentally by most recordings and fluctuates continuously in a pattern unique to the grid at that moment. Matching the extracted ENF trace against a reference grid database verifies or refutes a claimed recording time , and a discontinuity in the trace marks an edit point.

  • Spectrographic analysis Visualizes splices, gaps, and abrupt background-noise transitions
  • Background-noise consistency A constant room tone that changes mid-recording indicates concatenation
  • Codec and container analysis Bit rate, encoder identity, and metadata reveal re-encoding
  • Butt splice detection Waveform discontinuity and phase mismatch at a cut

Tools: Audacity and iZotope RX for spectral work, Amped Authenticate and Medex for formal authentication, plus Python ENF pipelines.

Synthetic Media and Deepfake Detection

Generation method Characteristic artifacts

Face swap / reenactment Blending seams at the face boundary, inconsistent skin texture and resolution between face and neck, teeth and eye rendering that lacks fine structure, unstable eyewear and earrings

Full synthesis (GAN/diffusion) Asymmetric or incoherent fine detail (hands, text, jewelry), repeated background texture, spectral fingerprints from upsampling layers

Voice cloning Absence of natural breath and lip noise, unnaturally uniform prosody, spectral flatness in the high band

Detection approaches: temporal inconsistency across frames (a per-frame generator produces flicker); physiological signals such as remote photoplethysmography (subtle blood-flow color changes a synthetic face does not reproduce); generator spectral fingerprints; and provenance-first standards such as C2PA Content Credentials , which cryptographically bind capture and edit history to the asset.

Warning

Detection is an arms race and any classifier's accuracy degrades on newer generators. For this reason a multimedia examiner leads with provenance — the acquisition path, the device, the container fingerprint, and the hash chain — and treats any deepfake classifier's score as corroboration rather than as the finding. This is the same Daubert reasoning applied to AI-derived conclusions in Section 1.4.

  • Multimedia Forensics Using Python
  • The blueprint names Python multimedia forensics explicitly. The practical toolchain: from PIL import Image
  • from PIL.ExifTags import TAGS, GPSTAGS
  • import hashlib, imagehash

def image_triage(path):

with open(path, 'rb') as fh:

  • sha256 = hashlib.sha256(fh.read()).hexdigest()
  • img = Image.open(path)
  • raw = img._getexif() or {}
  • exif = {TAGS.get(k, k): v for k, v in raw.items()}
  • gps = {GPSTAGS.get(k, k): v for k, v in exif.get('GPSInfo', {}).items()}
  • return {
  • 'sha256': sha256,
  • 'format': img.format,
  • 'dimensions': img.size,
  • 'make': exif.get('Make'),
  • 'model': exif.get('Model'),
  • 'software': exif.get('Software'), # names any editor that touched the file
  • 'captured': exif.get('DateTimeOriginal'),
  • 'modified': exif.get('DateTime'),
  • 'gps': gps,
  • 'phash': str(imagehash.phash(img)), # perceptual hash for near-duplicate matching
  • }
  • Library Role
  • Pillow Image decode, EXIF extraction, thumbnail access
  • pyexiftool Full ExifTool coverage from Python, including maker notes and XMP

imagehash Perceptual hashing ( phash , dhash ) for near-duplicate and recompression-tolerant matching across a corpus

  • opencv-python / numpy / scipy Noise residual extraction, PRNU correlation, copy-move detection
  • ffmpeg-python / pymediainfo Video container inspection and frame extraction
  • librosa / scipy.signal Audio spectral and ENF analysis

Perceptual hashing deserves emphasis. Cryptographic hashes change completely with a single altered bit, so they cannot group re-saved or resized copies of the same picture. A perceptual hash stays close under recompression, resizing, and minor cropping, which makes it the standard way to cluster a large seized image corpus and to match a recovered image against a known reference set.

Loading diagram... Three Questions of Multimedia Authentication and the Technique for Each