SANS Digital Forensics and Incident Response Poster 2012

Rian Yulian
Rian YulianAnalyst, Service Management and IT Infrastructure à Biro Oktroi Rosseno

Digital Forensics and Incident Response by SANS

STEP 1: Prep Evidence/Data Reduction
• Carve and Reduce Evidence
- Gather Hash List from similar system (NSRL, md5deep)
- Carve/Extract all .exe and .dll files from unallocated space
• foremost • sorter (exe directory) • bulk_extractor
• Prep Evidence
- Mount evidence image in Read-Only Mode
- Locate memory image you collected
- Optional: Convert hiberfil.sys (if it exists to raw memory image) using volatility
STEP 2: Anti-Virus Checks
Run the mounted drive through an Anti Virus Scanner with the latest updates.
Anti-virus scanners employ hundreds of thousands of signatures that can quickly
identify well-known malware on a system. First, download the latest anti-virus
signatures and mount your evidence for analysis. Use a“deep”scan when available
and consider scanning your mounted drive with multiple anti-virus engines to
take advantage of their scanning and signature differences. Get in the habit
of scanning files exported from your images such as deleted files, data carving
results, Sorter output, and email attachments. While anti-virus will not be effective
on 0-day or unknown malware, it will easily find the low hanging fruit.
STEP 3: Indicators of Compromise Search
Using indicators of compromise (IOCs) is a very powerful technique to identify
malware components on a compromised host. IOCs are implemented as a combi-
nation of boolean expressions that identify specific characteristics of malware. If
these characteristics are found, then you may have a hit. An IOC should be gener-
al enough to find modified versions of the same malware, but specific enough to
limit false positives. There are two types of indicators: Host based (shown above),
and Network based (similar to snort signatures plus additional data). The best
IOCs are usually created by reversing malware and application behavioral analysis.
What Works?
OpenIOC Framework - openioc.org
IOC Editor
IOC Finder
YARA Project
STEP 4: Automated Memory Analysis
• Behavior Ruleset
- Code injection detection
- Process Image Path Verification
• svchost outside system32 = Bad
- Process User Verification (SIDs)
• dllhost running as admin = Bad
- Process Handle Inspection
• iexplore.exe opening cmd.exe = Bad
• )!voqa.i4 = known Poison Ivy mutant
• Verify Digital Signatures
- Only available during live analysis
- Executable, DLL, and driver sig checks
- Not signed?
• Is it found in 75% of all processes?
What Works?
MANDIANT Redline
www.mandiant.com/products/free_software/redline
Volatility Malfind:
http://code.google.com/p/volatility
STEP 5: Evidence of Persistence
Malware wants to hide, but it also wants to survive a reboot. Malware persistence
is extremely common and is an excellent way to find hidden malware. Persistence
comes in many forms. The simplest mechanism is via scheduled tasks and the“at”
command. Other popular persistence mechanisms include Windows Services and
auto-start locations. An adversary can run their malware as a new service or even
replace an existing service. There are numerous Windows Registry mechanisms to
auto-start an executable at boot or login. Using a tool called autorunsc.exe will eas-
ily parse the autostart locations across scheduled tasks, services, and registry keys.
While these are the most common, keep in mind there are more advanced tech-
niques. For example the Mebromi malware even flashes the BIOS to persist. Attacks
of this nature are rare because even the simplest of techniques are effective, allowing
attackers to maintain persistence for long periods of time without being discovered.
What Works? Autorunsc.exe from Microsoft sysinternals
http://technet.microsoft.com/en-us/sysinternals/bb963902
STEP 6: Packing/Entropy Check
• Scan the file system or common locations for possible malware
- Indication of packing
- Entropy test
- Compiler and packing signatures identification
- Digital signature or signed driver checks
What Works?
MANDIANT Red-Curtain http://www.mandiant.com/resources/download/red-curtain
DensityScout http://cert.at/downloads/software/densityscout_en.html
Sigcheck - http://technet.microsoft.com/en-us/sysinternals/bb897441
STEP 7: Review Event Logs
What Works?
logparser - http://www.microsoft.com/download/en/details.aspx?id=24659
Event Log Explorer - http://eventlogxp.com
Log Parser Lizard - http://www.lizard-labs.net
STEP 8: Super Timeline Examination
Once you are down to about 10-20 candidates, it is a good time to identify
where those files show up in your timeline. The additional context of seeing
other files in close temporal proximity to your candidates allows you to identify
false positives and focus on those files most likely to be malicious. In the above
example, we see the creation of the file winsvchost.exe in the C:Windows
System32 directory. If this were one of your candidate files, you would clearly
see artifacts that indicate a spearphishing attack surrounding that file’s creation
time. Notably, an .XLS file was opened via email, winsvchost.exe was executed,
an auto-start persistence mechanism was created and finally, a network socket
was opened. All within one second! Contextual clues in temporal proximity to
the files you are examining are quite useful in your overall case.
What Works? log2timeline found in SIFT Workstation
http://computer-forensics.sans.org/community/downloads
STEP 9: By-Hand Memory Analysis
Memory analysis is one of the most powerful tools for finding malware.
Malware has to run to be effective, creating a footprint that can often be easily
discovered via memory forensics. A standard analysis can be broken down
into six major steps. Some of these steps might be conducted during incident
response, but using a memory image gives deeper insight and overcomes any
rootkit techniques that malware uses to protect itself. Memory analysis tools
are operating system specific. Since each tool gathers and displays information
differently, use multiple tools to check your results.
What Works? Volatility http://code.google.com/p/volatility
Mandiant Redline www.mandiant.com/products/free_software/redline
STEP 10: By-Hand 3rd Party Hash Lookups
Hash lookups to
eliminate known
good files and identify
known bad files is
a useful technique
when narrowing down
potential malware.
Bit9 FileAdvisor is a
free search engine for querying Bit9’s application whitelisting database. It is
available via online lookup, as well as via a downloadable utility
(http://fileadvisor.bit9.com/services/wu/latest/FileAdvisor.msi). The
National Software Reference Library also provides a robust set of known good
hashes for use.
VirusTotal will scan a file through over 40 different A/V scanners to determine
if any of the current signatures detect the malware. VirusTotal also allows its
database to be searched via MD5 hashes, returning prior analyses for candidate
files with the same MD5.
What Works?
VirusTotal www.virustotal.com and bit9 http://fileadvisor.bit9.com
NSRL Query http://nsrlquery.sourceforge.net
STEP 11: MFT Anomalies
A typical file system has hundreds of thousands of files. Each file has its own
MFT Record Number. Because of the way operating systems are installed, it’s
normal to see files under entire directory structures written to disk with largely
sequential MFT Record Number values. For example, above is a partial directory
listing from a Windows NTFS partition’s %system32% directory, sorted by date.
Note that the MFT Record Number values are largely sequential and with some
exceptions, tend to align with the file creation times. As file systems are used
over the years and new patches are applied causing files to be backed up and
replaced, the ordering of these files by MFT Record Number numbers can break
down. Surprisingly, this ordering remains intact enough on many systems, even
after years of use, that we can use it to spot files of interest. This will not happen
every time as MFT entries are recycled fairly quickly, but in many cases an outlier
can be identified.
STEP 12: File-Time Anomalies
• Timestamp Anomalies
- $SI Time is before $FN Time
- Nanoseconds values are all zeroes
One of the ways to tell if file time backdating occurred on a windows machine
is to examine the NTFS $Filename times compared to the times stored in
$Standard Information. Tools such as timestomp allow a hacker to backdate
a file to an arbitrary time of their choosing. Generally, hackers do this only to
programs they are trying to hide in the system32 or similar system directories.
Those directories and files would be a great place to start. Look to see if the
$Filename (FN) creation time occurs after the $Standard Info creation time as
this often indicates an anomaly.
What Works?
analyzeMFT.py found on SIFT Workstation and
www.integriography.com
log2timeline found on SIFT Workstation
STEP 13: You Have Malware!
Now What?
• Hand it to Malware Analyst
- FOR610 – RE Malware
- Hand over sample, relevant configuration
files, memory snapshot
• Typical Output from Malware Analyst
- Host-based indicators
- Network-based indicators
- Report on malware capabilities
and purpose
• You can now find additional systems compromised by the
malware you found
Finding Unknown Malware – Step-By-Step
Finding unknown malware is an
intimidating process to many, but
can be simplified by following some
simple steps to help narrow your
search. This is not an easy process,
but using the techniques in this
chart you will learn how to narrow
the 80,000 files on a typical machine
down to the 1-4 files that is possible
malware. This process of Malware
Funneling is key to your quick and
efficient analysis of compromised
hosts and will involve most of the
skills you have built up across both
FOR408 Windows Forensics and
FOR508 Advanced Forensics and
Incident Response
Windows Time Rules
$ S T D I N F O
$ F I L E N A M E
Modified –
No Change
Access –
No Change
Creation –
No Change
Metadata –
Changed
Modified –
No Change
Access –
No Change
Creation –
No Change
Metadata –
Changed
Modified –
No Change
Access –
No Change
Creation –
No Change
Metadata –
No Change
Modified –
No Change
Access –
No Change
Creation –
No Change
Metadata –
No Change
Modified –
No Change
Access –
No Change
Creation –
No Change
Metadata –
No Change
Modified –
No Change
Access –
No Change
Creation –
No Change
Metadata –
No Change
Modified –
No Change
Access –
No Change
Creation –
No Change
Metadata –
No Change
Modified –
Change
Access –
No Change
Creation –
No Change
Metadata –
Changed
Modified –
Change
Access –
No Change
Creation –
No Change
Metadata –
Changed
Modified –
No Change
Access –
Change
NoChangeon
Vista/Win7
Creation –
No Change
Metadata –
Changed
Modified –
No Change
Access –
Change
Creation –
No Change
Metadata –
Changed
Modified –
No Change
Access –
Change
Creation –
Change
Metadata –
Changed
Modified –
Change
Access –
Change
Creation –
Change
Metadata –
Changed
Modified –
Change
Access –
Change
Creation –
Change
Metadata –
Changed
Modified –
Change
Access –
Change
Creation –
Change
Metadata –
Changed
Modified –
Change
Access –
Change
Creation –
Change
Metadata –
Changed
File
Rename
Local
File Move
Volume
File Move
File
Copy
File
Access
File
Modify
File
Creation
File
Deletion
File
Rename
Local
File Move
Volume
File Move
File
Copy
File
Access
File
Modify
File
Creation
File
Deletion
Digital Forensics
and Incident Response
P O S T E R
FALL 2012 – 22n d EDITION
http://computer-forensics.sans.org
Website:
http://computer-forensics.sans.org
Blogs:
http://computer-forensics.sans.org/blog
SIFT Workstation:
http://computer-forensics.sans.org/
community/downloads
Twitter:
www.twitter.com/sansforensics
REMNUX
http://zeltser.com/remnux
Additional Forensics Course
FOR558
Network
Forensics
FOR563
Mobile Device
Forensics
FOR508
Advanced Computer
Forensic Analysis 
Incident Response
GCFA
FOR408
Computer Forensic
Investigations –
Windows In-Depth
GCFE
FOR610
REM: Malware
Analysis Tools 
Techniques
GREM
FOR526
Windows Memory
Forensics In-Depth
SANS Digital Forensics and Incident Response
C urriculum

Recommandé

SANS Windows Artifact Analysis 2012 par
SANS Windows Artifact Analysis 2012SANS Windows Artifact Analysis 2012
SANS Windows Artifact Analysis 2012Rian Yulian
2.7K vues1 diapositive
ATT&CK Updates- Campaigns par
ATT&CK Updates- CampaignsATT&CK Updates- Campaigns
ATT&CK Updates- CampaignsMITRE ATT&CK
679 vues11 diapositives
Knowledge for the masses: Storytelling with ATT&CK par
Knowledge for the masses: Storytelling with ATT&CKKnowledge for the masses: Storytelling with ATT&CK
Knowledge for the masses: Storytelling with ATT&CKMITRE ATT&CK
884 vues29 diapositives
Tracking Noisy Behavior and Risk-Based Alerting with ATT&CK par
Tracking Noisy Behavior and Risk-Based Alerting with ATT&CKTracking Noisy Behavior and Risk-Based Alerting with ATT&CK
Tracking Noisy Behavior and Risk-Based Alerting with ATT&CKMITRE ATT&CK
807 vues32 diapositives
Ransomware Resistance par
Ransomware ResistanceRansomware Resistance
Ransomware ResistanceFlorian Roth
5.4K vues23 diapositives
Managing & Showing Value during Red Team Engagements & Purple Team Exercises ... par
Managing & Showing Value during Red Team Engagements & Purple Team Exercises ...Managing & Showing Value during Red Team Engagements & Purple Team Exercises ...
Managing & Showing Value during Red Team Engagements & Purple Team Exercises ...Jorge Orchilles
915 vues34 diapositives

Contenu connexe

Tendances

Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac... par
Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac...Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac...
Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac...MITRE ATT&CK
1.3K vues15 diapositives
Projects to Impact- Operationalizing Work from the Center par
Projects to Impact- Operationalizing Work from the CenterProjects to Impact- Operationalizing Work from the Center
Projects to Impact- Operationalizing Work from the CenterMITRE ATT&CK
630 vues16 diapositives
ATT&CK Updates- Defensive ATT&CK par
ATT&CK Updates- Defensive ATT&CKATT&CK Updates- Defensive ATT&CK
ATT&CK Updates- Defensive ATT&CKMITRE ATT&CK
654 vues9 diapositives
How to Hunt for Lateral Movement on Your Network par
How to Hunt for Lateral Movement on Your NetworkHow to Hunt for Lateral Movement on Your Network
How to Hunt for Lateral Movement on Your NetworkSqrrl
2.8K vues48 diapositives
Adversary Emulation and Red Team Exercises - EDUCAUSE par
Adversary Emulation and Red Team Exercises - EDUCAUSEAdversary Emulation and Red Team Exercises - EDUCAUSE
Adversary Emulation and Red Team Exercises - EDUCAUSEJorge Orchilles
622 vues23 diapositives
SAST vs. DAST: What’s the Best Method For Application Security Testing? par
SAST vs. DAST: What’s the Best Method For Application Security Testing?SAST vs. DAST: What’s the Best Method For Application Security Testing?
SAST vs. DAST: What’s the Best Method For Application Security Testing?Cigital
4.2K vues1 diapositive

Tendances(20)

Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac... par MITRE ATT&CK
Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac...Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac...
Mapping to MITRE ATT&CK: Enhancing Operations Through the Tracking of Interac...
MITRE ATT&CK1.3K vues
Projects to Impact- Operationalizing Work from the Center par MITRE ATT&CK
Projects to Impact- Operationalizing Work from the CenterProjects to Impact- Operationalizing Work from the Center
Projects to Impact- Operationalizing Work from the Center
MITRE ATT&CK630 vues
ATT&CK Updates- Defensive ATT&CK par MITRE ATT&CK
ATT&CK Updates- Defensive ATT&CKATT&CK Updates- Defensive ATT&CK
ATT&CK Updates- Defensive ATT&CK
MITRE ATT&CK654 vues
How to Hunt for Lateral Movement on Your Network par Sqrrl
How to Hunt for Lateral Movement on Your NetworkHow to Hunt for Lateral Movement on Your Network
How to Hunt for Lateral Movement on Your Network
Sqrrl2.8K vues
Adversary Emulation and Red Team Exercises - EDUCAUSE par Jorge Orchilles
Adversary Emulation and Red Team Exercises - EDUCAUSEAdversary Emulation and Red Team Exercises - EDUCAUSE
Adversary Emulation and Red Team Exercises - EDUCAUSE
Jorge Orchilles622 vues
SAST vs. DAST: What’s the Best Method For Application Security Testing? par Cigital
SAST vs. DAST: What’s the Best Method For Application Security Testing?SAST vs. DAST: What’s the Best Method For Application Security Testing?
SAST vs. DAST: What’s the Best Method For Application Security Testing?
Cigital4.2K vues
The top 10 windows logs event id's used v1.0 par Michael Gough
The top 10 windows logs event id's used v1.0The top 10 windows logs event id's used v1.0
The top 10 windows logs event id's used v1.0
Michael Gough22K vues
Would you Rather Have Telemetry into 2 Attacks or 20? An Insight Into Highly ... par MITRE ATT&CK
Would you Rather Have Telemetry into 2 Attacks or 20? An Insight Into Highly ...Would you Rather Have Telemetry into 2 Attacks or 20? An Insight Into Highly ...
Would you Rather Have Telemetry into 2 Attacks or 20? An Insight Into Highly ...
MITRE ATT&CK489 vues
ATT&CKing the Red/Blue Divide par MITRE ATT&CK
ATT&CKing the Red/Blue DivideATT&CKing the Red/Blue Divide
ATT&CKing the Red/Blue Divide
MITRE ATT&CK657 vues
Fantastic Red Team Attacks and How to Find Them par Ross Wolf
Fantastic Red Team Attacks and How to Find ThemFantastic Red Team Attacks and How to Find Them
Fantastic Red Team Attacks and How to Find Them
Ross Wolf898 vues
Windows Threat Hunting par GIBIN JOHN
Windows Threat HuntingWindows Threat Hunting
Windows Threat Hunting
GIBIN JOHN1.4K vues
What is ATT&CK coverage, anyway? Breadth and depth analysis with Atomic Red Team par MITRE ATT&CK
What is ATT&CK coverage, anyway? Breadth and depth analysis with Atomic Red TeamWhat is ATT&CK coverage, anyway? Breadth and depth analysis with Atomic Red Team
What is ATT&CK coverage, anyway? Breadth and depth analysis with Atomic Red Team
MITRE ATT&CK489 vues
SANS Threat Hunting Summit 2018 - Hunting Lateral Movement with Windows Event... par Mauricio Velazco
SANS Threat Hunting Summit 2018 - Hunting Lateral Movement with Windows Event...SANS Threat Hunting Summit 2018 - Hunting Lateral Movement with Windows Event...
SANS Threat Hunting Summit 2018 - Hunting Lateral Movement with Windows Event...
Mauricio Velazco463 vues
The ATT&CK Latin American APT Playbook par MITRE ATT&CK
The ATT&CK Latin American APT PlaybookThe ATT&CK Latin American APT Playbook
The ATT&CK Latin American APT Playbook
MITRE ATT&CK513 vues
Landing on Jupyter: The transformative power of data-driven storytelling for ... par MITRE ATT&CK
Landing on Jupyter: The transformative power of data-driven storytelling for ...Landing on Jupyter: The transformative power of data-driven storytelling for ...
Landing on Jupyter: The transformative power of data-driven storytelling for ...
MITRE ATT&CK480 vues
Snyk Intro - Developer Security Essentials 2022 par Liran Tal
Snyk Intro - Developer Security Essentials 2022Snyk Intro - Developer Security Essentials 2022
Snyk Intro - Developer Security Essentials 2022
Liran Tal130 vues

Similaire à SANS Digital Forensics and Incident Response Poster 2012

Cyber Defense Forensic Analyst - Real World Hands-on Examples par
Cyber Defense Forensic Analyst - Real World Hands-on ExamplesCyber Defense Forensic Analyst - Real World Hands-on Examples
Cyber Defense Forensic Analyst - Real World Hands-on ExamplesSandeep Kumar Seeram
46 vues17 diapositives
DR FAT par
DR FATDR FAT
DR FATJohn Laycock
787 vues79 diapositives
Checking Windows for signs of compromise par
Checking Windows for signs of compromiseChecking Windows for signs of compromise
Checking Windows for signs of compromiseCal Bryant
146 vues18 diapositives
Msra 2011 windows7 forensics-troyla par
Msra 2011 windows7 forensics-troylaMsra 2011 windows7 forensics-troyla
Msra 2011 windows7 forensics-troylaCTIN
1.5K vues58 diapositives
Basic Dynamic Analysis of Malware par
Basic Dynamic Analysis of MalwareBasic Dynamic Analysis of Malware
Basic Dynamic Analysis of MalwareNatraj G
1.9K vues20 diapositives
Ch11 par
Ch11Ch11
Ch11Raja Waseem Akhtar
484 vues37 diapositives

Similaire à SANS Digital Forensics and Incident Response Poster 2012(20)

Cyber Defense Forensic Analyst - Real World Hands-on Examples par Sandeep Kumar Seeram
Cyber Defense Forensic Analyst - Real World Hands-on ExamplesCyber Defense Forensic Analyst - Real World Hands-on Examples
Cyber Defense Forensic Analyst - Real World Hands-on Examples
Checking Windows for signs of compromise par Cal Bryant
Checking Windows for signs of compromiseChecking Windows for signs of compromise
Checking Windows for signs of compromise
Cal Bryant146 vues
Msra 2011 windows7 forensics-troyla par CTIN
Msra 2011 windows7 forensics-troylaMsra 2011 windows7 forensics-troyla
Msra 2011 windows7 forensics-troyla
CTIN1.5K vues
Basic Dynamic Analysis of Malware par Natraj G
Basic Dynamic Analysis of MalwareBasic Dynamic Analysis of Malware
Basic Dynamic Analysis of Malware
Natraj G1.9K vues
Finalppt metasploit par devilback
Finalppt metasploitFinalppt metasploit
Finalppt metasploit
devilback6.5K vues
Full-System Emulation Achieving Successful Automated Dynamic Analysis of Evas... par Lastline, Inc.
Full-System Emulation Achieving Successful Automated Dynamic Analysis of Evas...Full-System Emulation Achieving Successful Automated Dynamic Analysis of Evas...
Full-System Emulation Achieving Successful Automated Dynamic Analysis of Evas...
Lastline, Inc.1.3K vues
Building next gen malware behavioural analysis environment par isc2-hellenic
Building next gen malware behavioural analysis environment Building next gen malware behavioural analysis environment
Building next gen malware behavioural analysis environment
isc2-hellenic634 vues
Bsides Tampa Blue Team’s tool dump. par Alexander Kot
Bsides Tampa Blue Team’s tool dump.Bsides Tampa Blue Team’s tool dump.
Bsides Tampa Blue Team’s tool dump.
Alexander Kot141 vues
Syed Ubaid Ali Jafri - Black Box Penetration testing for Associates par Syed Ubaid Ali Jafri
Syed Ubaid Ali Jafri - Black Box Penetration testing for AssociatesSyed Ubaid Ali Jafri - Black Box Penetration testing for Associates
Syed Ubaid Ali Jafri - Black Box Penetration testing for Associates
A trust system based on multi level virus detection par UltraUploader
A trust system based on multi level virus detectionA trust system based on multi level virus detection
A trust system based on multi level virus detection
UltraUploader186 vues
SOC-BlueTEam.pdf par BeratAkit
SOC-BlueTEam.pdfSOC-BlueTEam.pdf
SOC-BlueTEam.pdf
BeratAkit33 vues

Dernier

Digital Personal Data Protection (DPDP) Practical Approach For CISOs par
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOsPriyanka Aash
162 vues59 diapositives
Cencora Executive Symposium par
Cencora Executive SymposiumCencora Executive Symposium
Cencora Executive Symposiummarketingcommunicati21
160 vues14 diapositives
Why and How CloudStack at weSystems - Stephan Bienek - weSystems par
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsShapeBlue
247 vues13 diapositives
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 par
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023BookNet Canada
44 vues19 diapositives
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... par
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Moses Kemibaro
35 vues38 diapositives
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue par
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueShapeBlue
139 vues15 diapositives

Dernier(20)

Digital Personal Data Protection (DPDP) Practical Approach For CISOs par Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash162 vues
Why and How CloudStack at weSystems - Stephan Bienek - weSystems par ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue247 vues
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 par BookNet Canada
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
BookNet Canada44 vues
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... par Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro35 vues
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue par ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue139 vues
Initiating and Advancing Your Strategic GIS Governance Strategy par Safe Software
Initiating and Advancing Your Strategic GIS Governance StrategyInitiating and Advancing Your Strategic GIS Governance Strategy
Initiating and Advancing Your Strategic GIS Governance Strategy
Safe Software184 vues
The Power of Heat Decarbonisation Plans in the Built Environment par IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE84 vues
"Running students' code in isolation. The hard way", Yurii Holiuk par Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays36 vues
NTGapps NTG LowCode Platform par Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu437 vues
Optimizing Communication to Optimize Human Behavior - LCBM par Yaman Kumar
Optimizing Communication to Optimize Human Behavior - LCBMOptimizing Communication to Optimize Human Behavior - LCBM
Optimizing Communication to Optimize Human Behavior - LCBM
Yaman Kumar38 vues
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... par ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue141 vues
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... par The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
"Surviving highload with Node.js", Andrii Shumada par Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays58 vues
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... par ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue171 vues
Business Analyst Series 2023 - Week 4 Session 7 par DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10146 vues
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... par ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue164 vues
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... par TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc176 vues

SANS Digital Forensics and Incident Response Poster 2012

  • 1. STEP 1: Prep Evidence/Data Reduction • Carve and Reduce Evidence - Gather Hash List from similar system (NSRL, md5deep) - Carve/Extract all .exe and .dll files from unallocated space • foremost • sorter (exe directory) • bulk_extractor • Prep Evidence - Mount evidence image in Read-Only Mode - Locate memory image you collected - Optional: Convert hiberfil.sys (if it exists to raw memory image) using volatility STEP 2: Anti-Virus Checks Run the mounted drive through an Anti Virus Scanner with the latest updates. Anti-virus scanners employ hundreds of thousands of signatures that can quickly identify well-known malware on a system. First, download the latest anti-virus signatures and mount your evidence for analysis. Use a“deep”scan when available and consider scanning your mounted drive with multiple anti-virus engines to take advantage of their scanning and signature differences. Get in the habit of scanning files exported from your images such as deleted files, data carving results, Sorter output, and email attachments. While anti-virus will not be effective on 0-day or unknown malware, it will easily find the low hanging fruit. STEP 3: Indicators of Compromise Search Using indicators of compromise (IOCs) is a very powerful technique to identify malware components on a compromised host. IOCs are implemented as a combi- nation of boolean expressions that identify specific characteristics of malware. If these characteristics are found, then you may have a hit. An IOC should be gener- al enough to find modified versions of the same malware, but specific enough to limit false positives. There are two types of indicators: Host based (shown above), and Network based (similar to snort signatures plus additional data). The best IOCs are usually created by reversing malware and application behavioral analysis. What Works? OpenIOC Framework - openioc.org IOC Editor IOC Finder YARA Project STEP 4: Automated Memory Analysis • Behavior Ruleset - Code injection detection - Process Image Path Verification • svchost outside system32 = Bad - Process User Verification (SIDs) • dllhost running as admin = Bad - Process Handle Inspection • iexplore.exe opening cmd.exe = Bad • )!voqa.i4 = known Poison Ivy mutant • Verify Digital Signatures - Only available during live analysis - Executable, DLL, and driver sig checks - Not signed? • Is it found in 75% of all processes? What Works? MANDIANT Redline www.mandiant.com/products/free_software/redline Volatility Malfind: http://code.google.com/p/volatility STEP 5: Evidence of Persistence Malware wants to hide, but it also wants to survive a reboot. Malware persistence is extremely common and is an excellent way to find hidden malware. Persistence comes in many forms. The simplest mechanism is via scheduled tasks and the“at” command. Other popular persistence mechanisms include Windows Services and auto-start locations. An adversary can run their malware as a new service or even replace an existing service. There are numerous Windows Registry mechanisms to auto-start an executable at boot or login. Using a tool called autorunsc.exe will eas- ily parse the autostart locations across scheduled tasks, services, and registry keys. While these are the most common, keep in mind there are more advanced tech- niques. For example the Mebromi malware even flashes the BIOS to persist. Attacks of this nature are rare because even the simplest of techniques are effective, allowing attackers to maintain persistence for long periods of time without being discovered. What Works? Autorunsc.exe from Microsoft sysinternals http://technet.microsoft.com/en-us/sysinternals/bb963902 STEP 6: Packing/Entropy Check • Scan the file system or common locations for possible malware - Indication of packing - Entropy test - Compiler and packing signatures identification - Digital signature or signed driver checks What Works? MANDIANT Red-Curtain http://www.mandiant.com/resources/download/red-curtain DensityScout http://cert.at/downloads/software/densityscout_en.html Sigcheck - http://technet.microsoft.com/en-us/sysinternals/bb897441 STEP 7: Review Event Logs What Works? logparser - http://www.microsoft.com/download/en/details.aspx?id=24659 Event Log Explorer - http://eventlogxp.com Log Parser Lizard - http://www.lizard-labs.net STEP 8: Super Timeline Examination Once you are down to about 10-20 candidates, it is a good time to identify where those files show up in your timeline. The additional context of seeing other files in close temporal proximity to your candidates allows you to identify false positives and focus on those files most likely to be malicious. In the above example, we see the creation of the file winsvchost.exe in the C:Windows System32 directory. If this were one of your candidate files, you would clearly see artifacts that indicate a spearphishing attack surrounding that file’s creation time. Notably, an .XLS file was opened via email, winsvchost.exe was executed, an auto-start persistence mechanism was created and finally, a network socket was opened. All within one second! Contextual clues in temporal proximity to the files you are examining are quite useful in your overall case. What Works? log2timeline found in SIFT Workstation http://computer-forensics.sans.org/community/downloads STEP 9: By-Hand Memory Analysis Memory analysis is one of the most powerful tools for finding malware. Malware has to run to be effective, creating a footprint that can often be easily discovered via memory forensics. A standard analysis can be broken down into six major steps. Some of these steps might be conducted during incident response, but using a memory image gives deeper insight and overcomes any rootkit techniques that malware uses to protect itself. Memory analysis tools are operating system specific. Since each tool gathers and displays information differently, use multiple tools to check your results. What Works? Volatility http://code.google.com/p/volatility Mandiant Redline www.mandiant.com/products/free_software/redline STEP 10: By-Hand 3rd Party Hash Lookups Hash lookups to eliminate known good files and identify known bad files is a useful technique when narrowing down potential malware. Bit9 FileAdvisor is a free search engine for querying Bit9’s application whitelisting database. It is available via online lookup, as well as via a downloadable utility (http://fileadvisor.bit9.com/services/wu/latest/FileAdvisor.msi). The National Software Reference Library also provides a robust set of known good hashes for use. VirusTotal will scan a file through over 40 different A/V scanners to determine if any of the current signatures detect the malware. VirusTotal also allows its database to be searched via MD5 hashes, returning prior analyses for candidate files with the same MD5. What Works? VirusTotal www.virustotal.com and bit9 http://fileadvisor.bit9.com NSRL Query http://nsrlquery.sourceforge.net STEP 11: MFT Anomalies A typical file system has hundreds of thousands of files. Each file has its own MFT Record Number. Because of the way operating systems are installed, it’s normal to see files under entire directory structures written to disk with largely sequential MFT Record Number values. For example, above is a partial directory listing from a Windows NTFS partition’s %system32% directory, sorted by date. Note that the MFT Record Number values are largely sequential and with some exceptions, tend to align with the file creation times. As file systems are used over the years and new patches are applied causing files to be backed up and replaced, the ordering of these files by MFT Record Number numbers can break down. Surprisingly, this ordering remains intact enough on many systems, even after years of use, that we can use it to spot files of interest. This will not happen every time as MFT entries are recycled fairly quickly, but in many cases an outlier can be identified. STEP 12: File-Time Anomalies • Timestamp Anomalies - $SI Time is before $FN Time - Nanoseconds values are all zeroes One of the ways to tell if file time backdating occurred on a windows machine is to examine the NTFS $Filename times compared to the times stored in $Standard Information. Tools such as timestomp allow a hacker to backdate a file to an arbitrary time of their choosing. Generally, hackers do this only to programs they are trying to hide in the system32 or similar system directories. Those directories and files would be a great place to start. Look to see if the $Filename (FN) creation time occurs after the $Standard Info creation time as this often indicates an anomaly. What Works? analyzeMFT.py found on SIFT Workstation and www.integriography.com log2timeline found on SIFT Workstation STEP 13: You Have Malware! Now What? • Hand it to Malware Analyst - FOR610 – RE Malware - Hand over sample, relevant configuration files, memory snapshot • Typical Output from Malware Analyst - Host-based indicators - Network-based indicators - Report on malware capabilities and purpose • You can now find additional systems compromised by the malware you found Finding Unknown Malware – Step-By-Step Finding unknown malware is an intimidating process to many, but can be simplified by following some simple steps to help narrow your search. This is not an easy process, but using the techniques in this chart you will learn how to narrow the 80,000 files on a typical machine down to the 1-4 files that is possible malware. This process of Malware Funneling is key to your quick and efficient analysis of compromised hosts and will involve most of the skills you have built up across both FOR408 Windows Forensics and FOR508 Advanced Forensics and Incident Response Windows Time Rules $ S T D I N F O $ F I L E N A M E Modified – No Change Access – No Change Creation – No Change Metadata – Changed Modified – No Change Access – No Change Creation – No Change Metadata – Changed Modified – No Change Access – No Change Creation – No Change Metadata – No Change Modified – No Change Access – No Change Creation – No Change Metadata – No Change Modified – No Change Access – No Change Creation – No Change Metadata – No Change Modified – No Change Access – No Change Creation – No Change Metadata – No Change Modified – No Change Access – No Change Creation – No Change Metadata – No Change Modified – Change Access – No Change Creation – No Change Metadata – Changed Modified – Change Access – No Change Creation – No Change Metadata – Changed Modified – No Change Access – Change NoChangeon Vista/Win7 Creation – No Change Metadata – Changed Modified – No Change Access – Change Creation – No Change Metadata – Changed Modified – No Change Access – Change Creation – Change Metadata – Changed Modified – Change Access – Change Creation – Change Metadata – Changed Modified – Change Access – Change Creation – Change Metadata – Changed Modified – Change Access – Change Creation – Change Metadata – Changed Modified – Change Access – Change Creation – Change Metadata – Changed File Rename Local File Move Volume File Move File Copy File Access File Modify File Creation File Deletion File Rename Local File Move Volume File Move File Copy File Access File Modify File Creation File Deletion Digital Forensics and Incident Response P O S T E R FALL 2012 – 22n d EDITION http://computer-forensics.sans.org Website: http://computer-forensics.sans.org Blogs: http://computer-forensics.sans.org/blog SIFT Workstation: http://computer-forensics.sans.org/ community/downloads Twitter: www.twitter.com/sansforensics REMNUX http://zeltser.com/remnux Additional Forensics Course FOR558 Network Forensics FOR563 Mobile Device Forensics FOR508 Advanced Computer Forensic Analysis Incident Response GCFA FOR408 Computer Forensic Investigations – Windows In-Depth GCFE FOR610 REM: Malware Analysis Tools Techniques GREM FOR526 Windows Memory Forensics In-Depth SANS Digital Forensics and Incident Response C urriculum