6 Analysis & Validation Xid-10936710 2
6 Analysis & Validation Xid-10936710 2
and Investigations
Sixth Edition
Chapter 9
Digital Forensics Analysis and
Validation
Objectives
• Determine what data to analyze in a digital
forensics investigation
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 2
Determining What Data to Collect and Analyze
• Examining and analyzing digital evidence depend on the
nature of the investigation And
– the amount of data to process
– Corporate investigators often locating and recovering a few specific
items, such as emails, which simplifies and speeds processing
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 4
Approaching Digital Forensics Cases
• Begin a case by creating an investigation plan that
defines the:
– Goal and scope of investigation
– Materials needed
– Tasks to perform
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 6
Approaching Digital Forensics Cases (Cont)
• Follow these basic steps for all digital forensics
investigations:
– 5. Process drive’s contents methodically and logically. i.e
emailsJPGspreadsheetword
– 6. List all folders and files on the image or drive. Note where a
file/picture is found
– 7. Examine contents of all data files in all folders. Starting from
root directory
– 8. Recover file contents for all password-protected files. Use
password recovery tools
– 9. Identify function of every executable file (exe) that doesn’t
match known hash values. If required run file to find out more
– 10. Maintain control of all evidence and findings
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 7
Approaching Digital Forensics Cases (Cont)
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 8
Using OSForensics to Analyze Data
• OSForensics can perform forensics analysis on the
following file systems:
– Microsoft FAT12, FAT16, and FAT32
– Microsoft NTFS
– Mac HFS+ and HFSX
– Linux Ext2fs, and Ext4fs www.passmark.com
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 9
Using OSForensics to Analyze Data (Cont)
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 10
Validating Forensic Data
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 11
Validating with Hexadecimal Editors
• Some digital forensics tools may have some limitations
in performing hashing, so using advanced
hexadecimal editors is necessary to ensure data
integrity.
• Advanced hex editors offer features not available in
digital forensics tools, such as:
– Hashing specific files or sectors
• With the hash value in hand
– You can use a forensics tool to search for a suspicious
file that might have had its name changed to look like an
innocuous file
• WinHex provides MD5 and SHA-1 hashing algorithms
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 12
Validating with Hexadecimal Editors
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 13
Validating with Hexadecimal Editors (Cont)
• Using Hash Values to Discriminate Data
– AccessData has its own hashing database, is known
as Known File Filter (KFF)
– KFF filters known program files from view and
contains hash values of known illegal files
– It compares known file hash values with files on your
evidence drive to see if they contain suspicious data
– Other digital forensics tools can import the NSRL
database and run hash comparisons
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 14
Validating with Digital Forensics Tools
• ProDiscover
– .eve files contain metadata that includes hash value
– Has a preference you can enable for using the Auto Verify
Image Checksum feature when image files are loaded
– If the Auto Verify Image Checksum and the hashes in the .eve
file’s metadata don’t match
• ProDiscover will notify that the acquisition is corrupt and
can’t be considered reliable evidence
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 15
Validating with Digital Forensics Tools (Cont)
• Raw format image files don’t contain metadata
– You must validate them manually to ensure integrity
https://forensicstore.com/
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 16
Addressing Data-Hiding Techniques
• Data hiding - changing or manipulating a file to
conceal information
• Techniques:
– Hiding entire partitions
• Use Disk Management
– Changing file extensions
– Setting file attributes to hidden
• Change file signature
– Bit-shifting
• Shift 1 bit to left
– Using encryption
– Setting up password protection
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 17
Hiding Files by Using the OS
• One of the first techniques to hide data:
– Changing file extensions
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 18
Hiding Partitions
• By using the Windows diskpart remove
letter command
– You can unassign the partition’s letter, which hides it from
view in File Explorer
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 19
Hiding Partitions (Cont)
• To detect whether a partition has been hidden
– Account for all disk space when examining an
evidence drive
– Analyze any disk areas containing space you can’t
account for
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 20
Hiding Partitions (Cont)
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 21
Marking Bad Clusters
• A data-hiding technique used in FAT file
systems is placing sensitive or incriminating
data in free or slack space on disk partition
clusters
– Involves using old utilities such as Norton
DiskEdit
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 22
Bit-Shifting
• Some users use a low-level encryption program that
changes the order of binary data
– Makes altered data unreadable To secure a file, users www.tutorialspoint.com
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 23
Understanding Steganalysis Methods
• Steganography - comes from the Greek word for
“hidden writing”
– Hiding messages in such a way that only the
intended recipient knows the message is there
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 24
Understanding Steganalysis Methods (Cont)
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 25
Understanding Steganalysis Methods (Cont)
• Steganalysis methods
– Stego-only attack
• Only have Converted covered file to analyze
– Known cover attack
• Has both the Covered file and Converted covered file
to analyze
– Known message attack
• When the hidden message is revealed later
– Chosen stego attack
• A steganography tool is used
– Chosen message attack
• The steganalyst generates a stego-object from some
steganography tool or algorithm of a chosen message.
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 26
Examining Encrypted Files
• To decode an encrypted file
– Users supply a password or passphrase.
Not easy to crack if without password or
passphrase…
• Many encryption programs use a
technology called “key escrow”
– Designed to recover encrypted data if users
forget their passphrases or if the user key is
corrupted after a system failure
• Key sizes of 2048 bits to 4096 bits make
breaking them nearly impossible with
current technology
• Stand-alone tools:
– Last Bit
– AccessData PRTK
– ophcrack
– John the Ripper
– Passware
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 28
Recovering Passwords (Cont)
• Brute-force attacks
– Use every possible letter, number, and character
found on a keyboard
– This method can require a lot of time and processing
power
• Dictionary attack
– Uses common words found in the dictionary and
tries them as passwords
– Most use a variety of languages
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 29
Recovering Passwords (Cont)
• With many programs, you can build profiles of a
suspect to help determine his or her password
– Names of relatives or pets, favorite colors, and schools
attended. We tends to use thing we familiar with…
• Many password-protected OSs and application store
passwords in the form of MD5 or SHA hash values
• A brute-force attack requires converting a dictionary
password from plaintext to a hash value
– Requires additional CPU cycle time
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 30
Recovering Passwords (Cont)
• Rainbow table
– A file containing the hash values for every possible
password that can be generated from a computer’s
keyboard
– No conversion necessary, so it is faster than a brute-
force or dictionary attack
• Salting passwords
– Aim to make password cracking difficult
– Alters hash values with additional bits added to
password and makes cracking passwords more
difficult
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 31
Summary
• Examining and analyzing digital evidence depend
on the nature of the investigation and the amount
of data to process – plan may need to be modified!
• General procedures:
– Wipe and prepare target drives, document all
hardware components on the suspect’s computer,
check date and time values in the suspect’s
computer’s CMOS, acquire data and document
steps, list all folders and files, attempt to open
password-protected files, determine function of
executable files, and document steps
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 32
Summary (Cont)
• Advanced digital forensics tools have features such
as indexing text data, making keyword searches
faster – to make your analysis easier
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 33
Summary (Cont)
• Three ways to recover passwords:
– Dictionary attacks
– Brute-force attacks
– Rainbows tables
Guide to Computer Forensics and Investigations, Sixth Edition © Cengage Learning 2018 34