150 likes | 305 Views
Baselining Windows and Comparative Analysis: Quick and Easy. Kevin Fuller May 2012 GIAC GSEC, GCIA, GCIH Gold, GAWN, GSNA Gold, GPEN, GWAPT. System Baselining. Measurement of System Information Point in Time Well Defined Supports other activities System performance measurements
E N D
Baselining Windows and Comparative Analysis: Quick and Easy Kevin Fuller May 2012 GIAC GSEC, GCIA, GCIH Gold, GAWN, GSNA Gold, GPEN, GWAPT SANS Technology Institute - Candidate for Master of Science Degree
System Baselining • Measurement of System Information • Point in Time • Well Defined • Supports other activities • System performance measurements • Troubleshooting • Forensics • Incident Response SANS Technology Institute - Candidate for Master of Science Degree
The Benefit of System Baselining Troubleshooting Configuration Management Audit Baseline against audit technical standards Re-measure against baseline for compliance Incident Handling/Forensics Differences in known state - compromise 3 SANS Technology Institute - Candidate for Master of Science Degree
The Challenge • Time consuming process • Manual processes • Different tools • Different output formats • The result • Not done • Focus on certain measurements • Familiarity with the system SANS Technology Institute - Candidate for Master of Science Degree
A Solution • Commercial Product? • Expensive • What isunder the hood • Free and open source • A combination of tools • Windows Forensics Toolkit • KDiff3 SANS Technology Institute - Candidate for Master of Science Degree
Windows Forensics Toolchest(WFT) • Created by Monty McDougal • Forensics information collection tool • Automated batch processing script • Windows tools • Third party tools • Organizes output into folder structure • HTML and text SANS Technology Institute - Candidate for Master of Science Degree
KDiff3 • Created by Joachim Eibl • Comparative analysis tool • Two and three way comparative analysis • Line by line • Character by character • It can also do a comparative analysis of folders as well as files SANS Technology Institute - Candidate for Master of Science Degree
WFT Setup • wft –fetchtools • Copies Windows tools by version • Helix • Internet download • wft –fixcfg • Tools inventory • Hash check • Save output to second .cfg file • Overwrite wft.cfg with second .cfg SANS Technology Institute - Candidate for Master of Science Degree
Using WFT • Default start = Interactive mode • Series of questions • Defaults good enough • Volume C on multi-volume systems • Output • Organized by System Name, date/time • HTML output • Text output SANS Technology Institute - Candidate for Master of Science Degree
WFT SANS Technology Institute - Candidate for Master of Science Degree
WFT HTML Report SANS Technology Institute - Candidate for Master of Science Degree
Running KDiff3 • Must be installed on a Windows system • Load original baseline and latest run • Select the output directory • Use text versions • Lines up the files(s) content • Differences noted • Details color coded SANS Technology Institute - Candidate for Master of Science Degree
KDiff3 SANS Technology Institute - Candidate for Master of Science Degree
Gotchas • Some tools missing after setup • Helix version • Windows 7 • UAC • Some tools will not work • False Positives • You must still analyze the output! SANS Technology Institute - Candidate for Master of Science Degree
Summary • Budget constraints, increased threats • System baselining is more important than ever • Tools such as WFT and KDiff3 can increase efficiencies through automation • The output still must be analyzed • For more information see “Quick and Effective Windows System Baselining and Comparative Analysis for Troubleshooting and Incident Response” in the SANS Reading Room (http://bit.ly/AkBHJd) SANS Technology Institute - Candidate for Master of Science Degree