Automated Forensics with the Sleuth Kit Framework Eamonn Saunders Principal Software Engineer, Basis Technology Basis Technology – Open Source Digital Forensics Conference 2012 1 What is the framework?

• Infrastructure distributed with The Sleuth Kit • Supports development of Tools Modules pluggable modules • Benefits Sleuth Kit Framework – End to end solution – Automation Sleuth Kit Core – Simplifies module and tool development

Basis Technology – Open Source Digital Forensics Conference 2012 2 Framework Phases

Basis Technology – Open Source Digital Forensics Conference 2012 3 Framework Concept: Blackboard

• Blackboard – Supports inter-module communication – Stores results generically – Modules can post their own results – Modules can read previously posted results – e.g. Hash calculation, lookup

Basis Technology – Open Source Digital Forensics Conference 2012 4 Blackboard Artifacts and Attributes

Basis Technology – Open Source Digital Forensics Conference 2012 5 Blackboard Bookmarks Example

Basis Technology – Open Source Digital Forensics Conference 2012 6 Available Modules

Module Name Example Use Case(s) Hash Calculaon/Hash Lookup Find all known (e.g. NSRL) or notable files. Entropy Find potenally encrypted files. File Type Idenficaon Find files of a parcular type or idenfy files whose extension does not match type. Exif Extracon Idenfy locaon, device make/model, author informaon for JPEG images. Zip Extracon Circumvent aempts to hide data in zip files. Interesng Files Find Skype database files (main.db, *.dbb) or all mulmedia content (*.mpg/wmv/avi etc.) SaveInteresngFiles Extract all mulmedia content for further analysis. RegRipper Analyze system registry files. SummaryReport Present results of analysis modules.

Basis Technology – Open Source Digital Forensics Conference 2012 7 Using the framework

• Framework is a foundation • Incorporate framework into other tools • tsk_analyzeimg – Sample implementation for testing – Extracts files from into SQLite – Runs file analysis and post processing pipelines tsk_analyzeimg.exe :\Images\testimage.E01

Basis Technology – Open Source Digital Forensics Conference 2012 8 Using the framework (contd.)

• Configure modules in pipeline_config.xml

Basis Technology – Open Source Digital Forensics Conference 2012 9 What does a module look like?

• TskModule::Status inialize(const char * args) – Called when the framework loads the module • TskModule::Status run(TskFile * pFile) – Called by file analysis pipeline for each file • TskModule::Status report() – Called by post processing pipeline • TskModule::Status finalize() – Called when the framework unloads the module hp://www.sleuthkit.org/sleuthkit/docs/framework-docs/ index.html

Basis Technology – Open Source Digital Forensics Conference 2012 10 What’s next?

• We will continue to support TSK framework • Call for developer participation – https://github.com/sleuthkit/sleuthkit/issues – Add new modules to Wiki page • http://wiki.sleuthkit.org/index.php? title=TSK_Framework_3rd_Party_Modules – More platforms: (, Mac) – … • Ideas and contributions are always welcome.

Basis Technology – Open Source Digital Forensics Conference 2012 11 Thank you!

For more information: Visit www.basistech.com Write to [email protected] Call 617-386-2090 or 800-697-2062

Basis Technology – Open Source Digital Forensics Conference 2012 12