SlideShare a Scribd company logo
1 of 2
Download to read offline
DFIR Forensic Analysts are on the front lines
of computer investigations. This guide aims
to support Forensic Analysts in their quest
to uncover the truth.
File System Layer Tools (Partition Information)
fsstat -Displays details about the file system
# fsstat imagefile.dd
Data Layer Tools (Block or Cluster)
blkcat -Displays the contents of a disk block
# blkcat imagefile.dd block_num
blkls -Lists contents of deleted disk blocks
# blkls imagefile.dd > imagefile.blkls
blkcalc-Maps between dd images and blkls results
# blkcalc imagefile.dd -u blkls_num
blkstat -Display allocation status of block
# blkstat imagefile.dd cluster_number
MetaData Layer Tools (Inode, MFT, or Directry Entry)
ils -Displays inode details
# ils imagefile.dd
istat -Displays information about a specific inode
# istat imagefile.dd inode_num
icat -Displays contents of blocks allocated to an inode
# icat imagefile.dd inode_num
ifind -Determine which inode contains a specific block
# ifind imagefile.dd –d block_num
Filename Layer Tools
fls -Displays deleted file entries in a directory inode
# fls -rpd imagefile.dd
ffind -Find the filename that using the inode
# ffind imagefile.dd inode_num
Sleuthkit Tools
Purpose
How To Use This Sheet
When performing an investigation it is helpful to be
reminded of the powerful options available to the
investigator. This document is aimed to be a
reference to the tools that could be used. Each of
these commands runs locally on a system.
This sheet is split into these sections:
• Mounting Images
• Shadow Timeline Creation
• Mounting Volume Shadow Copies
• Memory Analysis
• Recovering Data
• Creating Supert Timelines
• String Searches
• The Sleuthkit
• Stream Extraction
TIME TO GO HUNTING
Step 1 – Attach Local or Remote System Drive
# ewfmount system-name.E01 /mnt/ewf
Step 2 – Mount VSS Volume
# cd /mnt/ewf
# vshadowmount ewf1 /mnt/vss
Step 3 – Run fls across ewf1 mounted image
# cd /mnt/ewf
# fls –r –m C: ewf1 >> /cases/vss-
bodyfile
Step 4 – Run fls Across All Snapshot Images
# cd /mnt/vss
# for i in vss*; do fls -r –m C: $i
>> /cases/vss-bodyfile; done
Step 5 – De-Duplicate Bodyfile using sort and uniq
# sort /cases/vss-bodyfile | uniq >
/cases/vss-dedupe-bodyfile
Step 6 – Run mactime Against De-Duplicated Bodyfile
# mactime –d –b /cases/vss-dedupe-
bodyfile –z EST5EDT MM-DD-YYYY..MM-
DD-YYYY > /cases/vss-timeline.csv
Shadow Timeline Creation
vol.py command –f
/path/to/windows_xp_memory.img --
profile=WinXPSP3x86
[Supported commands]
connscan Scan for connection objects
files list of open files process
imagecopy Convert hibernation file
procdump Dump process
pslist list of running processes
sockscan Scan for socket objects
Memory Analysis
SIFT
WORKSTATION
Cheat Sheet v3.0
SANS DFIR
http://computer-forensics.sans.org
http://blogs.sans.org/computer-forensics
Recovering Data
mount -t fstype [options] image mountpoint
image can be a disk partition or dd image file
[Useful Options]
ro mount as read only
loop mount on a loop device
noexec do not execute files
ro mount as read only
loop mount on a loop device
offset=<BYTES> logical drive mount
show_sys_files show ntfs metafiles
streams_interface=windows use ADS
Example: Mount an image file at mount_location
# mount –o
loop,ro,show_sys_files,streams_interface=window
s imagefile.dd /mnt/windows_mount
Mounting DD Images
# ewfmount image.E01 mountpoint
# mount –o
loop,ro,show_sys_files,streams_interface=window
s /mnt/ewf/ewf1 /mnt/windows_mount
Mounting E01 Images
Create Unallocated Image (deleted data) using blkls
# blkls imagefile.dd >
unallocated_imagefile.blkls
Create Slack Image Using dls (for FAT and NTFS)
# blkls –s imagefile.dd > imagefile.slack
foremost Carves out files based on headers and footers
data_file.img = raw data, slack space, memory, unallocated space
# foremost –o outputdir –c
/path/to/foremost.conf data_file.img
sigfind - search for a binary value at a given offset (-o)
-o <offset> start search at byte <offset>
# sigfind <hexvalue> -o <offset>
# log2timeline –r –p –z <system-timezone>
–f <type-input> /mnt/windows_mount –w
timeline.csv
file|dir artifact target
-f <TYPE-INPUT> input format
-o <TYPE-OUTPUT> output format: default csv file
-w <FILE> append to log file
-z <SYSTEM TIMEZONE>
-Z <OUTPUT TIMEZONE>
-r recursive mode
-p preprocessors
# mount –o
loop,ro,show_sys_files,streams_interface=windows
imagefile.dd /mnt/windows_mount
# log2timeline –z EST5EDT –p –r -f win7
/mnt/windows_mount -w /cases/bodyfile.txt
# l2t_process –b /cases/bodyfile.txt –w
whitelist.txt 04-02-2012 > timeline.csv
Creating Super Timelines
# bulk_extractor <options> –o output_dir
image
[Useful Options]
-o outdir
-f <regex> regular expression term
-F <rfile> file of regex terms
-Wn1:n2 extract words between n1
and n2 in length
-q nn quiet mode.
-e scanner enables a scanner.
-e wordlist - enable scanner wordlist
-e aes - enable scanner aes
-e net - enable scanner net
# bulk_extractor -F keywords.txt –e net
-e aes -e wordlist -o /cases/bulk-
extractor-memory-output /cases/
memory-raw.001
Stream Extraction
Forensic Analysis
Cheat Sheet
Forensics
MANDIANT
contact@mandiant.com
703.683.3141
http://www.mandiant.org
# rip.pl –r <HIVEFILE> –f <HIVETYPE>
[Useful Options]
-r Registry hive file to parse <HIVEFILE>
-f Use <HIVETYPE> (e.g. sam, security,
software, system, ntuser)
-l List all plugins
# rip.pl –r
/mnt/windows_mount/Windows/System32/config/SAM –f sam
> /cases/windowsforensics/SAM.txt
Registry Parsing - Regripper
# deleted.pl <HIVEFILE>
# deleted.pl
/mnt/windows_mount/Windows/System32/config/SAM >
/cases/windowsforensics/SAM_DELETED.txt
Recover Deleted Registry Keys
Stage 1 – Attach local or remote system drive
# ewfmount system-name.E01 /mnt/ewf
Stage 2 – Mount raw image VSS
# vshadowmount ewf1 /mnt/vss/
Stage 3 – Mount all logical filesystem of snapshot
# cd /mnt/vss
# for i in vss*; do mount -o
ro,loop,show_sys_files,streams_interface=
windows $i /mnt/shadow_mount/$i; done
Mounting Volume Shadow Copies

More Related Content

Similar to sift_cheat_sheet.pdf

Rhel 6.2 complete ebook
Rhel 6.2  complete ebookRhel 6.2  complete ebook
Rhel 6.2 complete ebookYash Gulati
 
101 4.3 control mounting and unmounting of filesystems
101 4.3 control mounting and unmounting of filesystems101 4.3 control mounting and unmounting of filesystems
101 4.3 control mounting and unmounting of filesystemsAcácio Oliveira
 
Writing Character driver (loadable module) in linux
Writing Character driver (loadable module) in linuxWriting Character driver (loadable module) in linux
Writing Character driver (loadable module) in linuxRajKumar Rampelli
 
MacOS forensics and anti-forensics (DC Lviv 2019) presentation
MacOS forensics and anti-forensics (DC Lviv 2019) presentationMacOS forensics and anti-forensics (DC Lviv 2019) presentation
MacOS forensics and anti-forensics (DC Lviv 2019) presentationOlehLevytskyi1
 
101 4.2 maintain the integrity of filesystems
101 4.2 maintain the integrity of filesystems101 4.2 maintain the integrity of filesystems
101 4.2 maintain the integrity of filesystemsAcácio Oliveira
 
ch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystemch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystemyushiang fu
 
Unix.system.calls
Unix.system.callsUnix.system.calls
Unix.system.callsGRajendra
 
SANS @Night There's Gold in Them Thar Package Management Databases
SANS @Night There's Gold in Them Thar Package Management DatabasesSANS @Night There's Gold in Them Thar Package Management Databases
SANS @Night There's Gold in Them Thar Package Management DatabasesPhil Hagen
 
Glusterfs session #2 1 layer above disk filesystems
Glusterfs session #2   1 layer above disk filesystemsGlusterfs session #2   1 layer above disk filesystems
Glusterfs session #2 1 layer above disk filesystemsPranith Karampuri
 

Similar to sift_cheat_sheet.pdf (20)

Rhel 6.2 complete ebook
Rhel 6.2  complete ebookRhel 6.2  complete ebook
Rhel 6.2 complete ebook
 
101 4.3 control mounting and unmounting of filesystems
101 4.3 control mounting and unmounting of filesystems101 4.3 control mounting and unmounting of filesystems
101 4.3 control mounting and unmounting of filesystems
 
Aix commands
Aix commandsAix commands
Aix commands
 
Writing Character driver (loadable module) in linux
Writing Character driver (loadable module) in linuxWriting Character driver (loadable module) in linux
Writing Character driver (loadable module) in linux
 
Linux filesystemhierarchy
Linux filesystemhierarchyLinux filesystemhierarchy
Linux filesystemhierarchy
 
MacOS forensics and anti-forensics (DC Lviv 2019) presentation
MacOS forensics and anti-forensics (DC Lviv 2019) presentationMacOS forensics and anti-forensics (DC Lviv 2019) presentation
MacOS forensics and anti-forensics (DC Lviv 2019) presentation
 
OS_lab_file.pdf
OS_lab_file.pdfOS_lab_file.pdf
OS_lab_file.pdf
 
Linux
LinuxLinux
Linux
 
101 4.2 maintain the integrity of filesystems
101 4.2 maintain the integrity of filesystems101 4.2 maintain the integrity of filesystems
101 4.2 maintain the integrity of filesystems
 
Top ESXi command line v2.0
Top ESXi command line v2.0Top ESXi command line v2.0
Top ESXi command line v2.0
 
Linux
LinuxLinux
Linux
 
Unix 3 en
Unix 3 enUnix 3 en
Unix 3 en
 
Rhel1
Rhel1Rhel1
Rhel1
 
Solaris_quickref.pdf
Solaris_quickref.pdfSolaris_quickref.pdf
Solaris_quickref.pdf
 
ch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystemch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystem
 
Unix.system.calls
Unix.system.callsUnix.system.calls
Unix.system.calls
 
SANS @Night There's Gold in Them Thar Package Management Databases
SANS @Night There's Gold in Them Thar Package Management DatabasesSANS @Night There's Gold in Them Thar Package Management Databases
SANS @Night There's Gold in Them Thar Package Management Databases
 
Linux
Linux Linux
Linux
 
Unix Administration
Unix AdministrationUnix Administration
Unix Administration
 
Glusterfs session #2 1 layer above disk filesystems
Glusterfs session #2   1 layer above disk filesystemsGlusterfs session #2   1 layer above disk filesystems
Glusterfs session #2 1 layer above disk filesystems
 

Recently uploaded

💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋Sheetaleventcompany
 
Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...
Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...
Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...Ayesha Khan
 
Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712
Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712
Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712Delhi Escorts Service
 
100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...
100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...
100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...Delhi Escorts Service
 
Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...
Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...
Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...Ayesha Khan
 
Call Girls In Islamabad 💯Call Us 🔝03090999379🔝
Call Girls In Islamabad 💯Call Us 🔝03090999379🔝Call Girls In Islamabad 💯Call Us 🔝03090999379🔝
Call Girls In Islamabad 💯Call Us 🔝03090999379🔝Ayesha Khan
 
Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...
Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...
Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...aakahthapa70
 
BHOPAL CALL GIRL 92628*71154 BHOPAL CALL
BHOPAL CALL GIRL 92628*71154 BHOPAL CALLBHOPAL CALL GIRL 92628*71154 BHOPAL CALL
BHOPAL CALL GIRL 92628*71154 BHOPAL CALLNiteshKumar82226
 
Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝
Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝
Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝Lipikasharma29
 
Call Girls in Calangute Beach 8588052666 Goa Escorts ...
Call Girls in Calangute Beach 8588052666 Goa Escorts ...Call Girls in Calangute Beach 8588052666 Goa Escorts ...
Call Girls in Calangute Beach 8588052666 Goa Escorts ...nishakur201
 
JABALPUR CALL GIRL 92628/71154 JABALPUR K
JABALPUR CALL GIRL 92628/71154 JABALPUR KJABALPUR CALL GIRL 92628/71154 JABALPUR K
JABALPUR CALL GIRL 92628/71154 JABALPUR KNiteshKumar82226
 
Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝
Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝
Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝thapagita
 
Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...
Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...
Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...Ayesha Khan
 
(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCRsoniya singh
 
(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCR
(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCR(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCR
(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCREscort Service
 
Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...
Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...
Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...aakahthapa70
 
Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...
Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...
Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...Ayesha Khan
 
KAKINADA CALL GIRL 92628/71154 KAKINADA C
KAKINADA CALL GIRL 92628/71154 KAKINADA CKAKINADA CALL GIRL 92628/71154 KAKINADA C
KAKINADA CALL GIRL 92628/71154 KAKINADA CNiteshKumar82226
 
Call Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In Karachi
Call Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In KarachiCall Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In Karachi
Call Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In KarachiAyesha Khan
 

Recently uploaded (20)

💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Bangalore Escort Service Call Girls, ₹5000 To 25K With AC💚😋
 
Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...
Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...
Call Girls In Islamabad ***03255523555*** Red Hot Call Girls In Islamabad Esc...
 
Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712
Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712
Call Girls In Sector 29, (Gurgaon) Call Us. 9711911712
 
100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...
100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...
100% Real Call Girls In Hazrat Nizamuddin Railway Station Delhi | Just Call 9...
 
Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...
Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...
Karachi Escort Girls -03278838827- Top 100 + Independent Call Girls for Night...
 
Call Girls In Islamabad 💯Call Us 🔝03090999379🔝
Call Girls In Islamabad 💯Call Us 🔝03090999379🔝Call Girls In Islamabad 💯Call Us 🔝03090999379🔝
Call Girls In Islamabad 💯Call Us 🔝03090999379🔝
 
Call Girls In Saket Delhi 9953056974 (Low Price) Escort Service Saket Delhi
Call Girls In Saket Delhi 9953056974 (Low Price) Escort Service Saket DelhiCall Girls In Saket Delhi 9953056974 (Low Price) Escort Service Saket Delhi
Call Girls In Saket Delhi 9953056974 (Low Price) Escort Service Saket Delhi
 
Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...
Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...
Genuine Call Girls In {Mahipalpur Delhi} 9667938988 Indian Russian High Profi...
 
BHOPAL CALL GIRL 92628*71154 BHOPAL CALL
BHOPAL CALL GIRL 92628*71154 BHOPAL CALLBHOPAL CALL GIRL 92628*71154 BHOPAL CALL
BHOPAL CALL GIRL 92628*71154 BHOPAL CALL
 
Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝
Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝
Call Girls in Chattarpur Delhi 💯 Call Us 🔝9667422720🔝
 
Call Girls in Calangute Beach 8588052666 Goa Escorts ...
Call Girls in Calangute Beach 8588052666 Goa Escorts ...Call Girls in Calangute Beach 8588052666 Goa Escorts ...
Call Girls in Calangute Beach 8588052666 Goa Escorts ...
 
JABALPUR CALL GIRL 92628/71154 JABALPUR K
JABALPUR CALL GIRL 92628/71154 JABALPUR KJABALPUR CALL GIRL 92628/71154 JABALPUR K
JABALPUR CALL GIRL 92628/71154 JABALPUR K
 
Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝
Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝
Call Girls In Dwarka Delhi 💯Call Us 🔝9711014705🔝
 
Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...
Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...
Book Call Girls in Lahore || 03070433345 || Young, Hot, Sexy, VIP Girls Avail...
 
(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Noida Sector 62 🔝 Delhi NCR
 
(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCR
(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCR(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCR
(9599264170) ↫ Call Girls In Rk Puram ↫ Delhi NCR
 
Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...
Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...
Call Girls In {Aerocity Delhi} 98733@20244 Indian Russian High Profile Girls ...
 
Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...
Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...
Call Girls In Islamabad || 03274885999 || 24/7 Service Islamabad Call Girls &...
 
KAKINADA CALL GIRL 92628/71154 KAKINADA C
KAKINADA CALL GIRL 92628/71154 KAKINADA CKAKINADA CALL GIRL 92628/71154 KAKINADA C
KAKINADA CALL GIRL 92628/71154 KAKINADA C
 
Call Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In Karachi
Call Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In KarachiCall Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In Karachi
Call Girls In Karachi || 03070433345 || Sexy & Affordable Call Girls In Karachi
 

sift_cheat_sheet.pdf

  • 1. DFIR Forensic Analysts are on the front lines of computer investigations. This guide aims to support Forensic Analysts in their quest to uncover the truth. File System Layer Tools (Partition Information) fsstat -Displays details about the file system # fsstat imagefile.dd Data Layer Tools (Block or Cluster) blkcat -Displays the contents of a disk block # blkcat imagefile.dd block_num blkls -Lists contents of deleted disk blocks # blkls imagefile.dd > imagefile.blkls blkcalc-Maps between dd images and blkls results # blkcalc imagefile.dd -u blkls_num blkstat -Display allocation status of block # blkstat imagefile.dd cluster_number MetaData Layer Tools (Inode, MFT, or Directry Entry) ils -Displays inode details # ils imagefile.dd istat -Displays information about a specific inode # istat imagefile.dd inode_num icat -Displays contents of blocks allocated to an inode # icat imagefile.dd inode_num ifind -Determine which inode contains a specific block # ifind imagefile.dd –d block_num Filename Layer Tools fls -Displays deleted file entries in a directory inode # fls -rpd imagefile.dd ffind -Find the filename that using the inode # ffind imagefile.dd inode_num Sleuthkit Tools Purpose How To Use This Sheet When performing an investigation it is helpful to be reminded of the powerful options available to the investigator. This document is aimed to be a reference to the tools that could be used. Each of these commands runs locally on a system. This sheet is split into these sections: • Mounting Images • Shadow Timeline Creation • Mounting Volume Shadow Copies • Memory Analysis • Recovering Data • Creating Supert Timelines • String Searches • The Sleuthkit • Stream Extraction TIME TO GO HUNTING Step 1 – Attach Local or Remote System Drive # ewfmount system-name.E01 /mnt/ewf Step 2 – Mount VSS Volume # cd /mnt/ewf # vshadowmount ewf1 /mnt/vss Step 3 – Run fls across ewf1 mounted image # cd /mnt/ewf # fls –r –m C: ewf1 >> /cases/vss- bodyfile Step 4 – Run fls Across All Snapshot Images # cd /mnt/vss # for i in vss*; do fls -r –m C: $i >> /cases/vss-bodyfile; done Step 5 – De-Duplicate Bodyfile using sort and uniq # sort /cases/vss-bodyfile | uniq > /cases/vss-dedupe-bodyfile Step 6 – Run mactime Against De-Duplicated Bodyfile # mactime –d –b /cases/vss-dedupe- bodyfile –z EST5EDT MM-DD-YYYY..MM- DD-YYYY > /cases/vss-timeline.csv Shadow Timeline Creation vol.py command –f /path/to/windows_xp_memory.img -- profile=WinXPSP3x86 [Supported commands] connscan Scan for connection objects files list of open files process imagecopy Convert hibernation file procdump Dump process pslist list of running processes sockscan Scan for socket objects Memory Analysis SIFT WORKSTATION Cheat Sheet v3.0 SANS DFIR http://computer-forensics.sans.org http://blogs.sans.org/computer-forensics
  • 2. Recovering Data mount -t fstype [options] image mountpoint image can be a disk partition or dd image file [Useful Options] ro mount as read only loop mount on a loop device noexec do not execute files ro mount as read only loop mount on a loop device offset=<BYTES> logical drive mount show_sys_files show ntfs metafiles streams_interface=windows use ADS Example: Mount an image file at mount_location # mount –o loop,ro,show_sys_files,streams_interface=window s imagefile.dd /mnt/windows_mount Mounting DD Images # ewfmount image.E01 mountpoint # mount –o loop,ro,show_sys_files,streams_interface=window s /mnt/ewf/ewf1 /mnt/windows_mount Mounting E01 Images Create Unallocated Image (deleted data) using blkls # blkls imagefile.dd > unallocated_imagefile.blkls Create Slack Image Using dls (for FAT and NTFS) # blkls –s imagefile.dd > imagefile.slack foremost Carves out files based on headers and footers data_file.img = raw data, slack space, memory, unallocated space # foremost –o outputdir –c /path/to/foremost.conf data_file.img sigfind - search for a binary value at a given offset (-o) -o <offset> start search at byte <offset> # sigfind <hexvalue> -o <offset> # log2timeline –r –p –z <system-timezone> –f <type-input> /mnt/windows_mount –w timeline.csv file|dir artifact target -f <TYPE-INPUT> input format -o <TYPE-OUTPUT> output format: default csv file -w <FILE> append to log file -z <SYSTEM TIMEZONE> -Z <OUTPUT TIMEZONE> -r recursive mode -p preprocessors # mount –o loop,ro,show_sys_files,streams_interface=windows imagefile.dd /mnt/windows_mount # log2timeline –z EST5EDT –p –r -f win7 /mnt/windows_mount -w /cases/bodyfile.txt # l2t_process –b /cases/bodyfile.txt –w whitelist.txt 04-02-2012 > timeline.csv Creating Super Timelines # bulk_extractor <options> –o output_dir image [Useful Options] -o outdir -f <regex> regular expression term -F <rfile> file of regex terms -Wn1:n2 extract words between n1 and n2 in length -q nn quiet mode. -e scanner enables a scanner. -e wordlist - enable scanner wordlist -e aes - enable scanner aes -e net - enable scanner net # bulk_extractor -F keywords.txt –e net -e aes -e wordlist -o /cases/bulk- extractor-memory-output /cases/ memory-raw.001 Stream Extraction Forensic Analysis Cheat Sheet Forensics MANDIANT contact@mandiant.com 703.683.3141 http://www.mandiant.org # rip.pl –r <HIVEFILE> –f <HIVETYPE> [Useful Options] -r Registry hive file to parse <HIVEFILE> -f Use <HIVETYPE> (e.g. sam, security, software, system, ntuser) -l List all plugins # rip.pl –r /mnt/windows_mount/Windows/System32/config/SAM –f sam > /cases/windowsforensics/SAM.txt Registry Parsing - Regripper # deleted.pl <HIVEFILE> # deleted.pl /mnt/windows_mount/Windows/System32/config/SAM > /cases/windowsforensics/SAM_DELETED.txt Recover Deleted Registry Keys Stage 1 – Attach local or remote system drive # ewfmount system-name.E01 /mnt/ewf Stage 2 – Mount raw image VSS # vshadowmount ewf1 /mnt/vss/ Stage 3 – Mount all logical filesystem of snapshot # cd /mnt/vss # for i in vss*; do mount -o ro,loop,show_sys_files,streams_interface= windows $i /mnt/shadow_mount/$i; done Mounting Volume Shadow Copies