Top Banner
20
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Anatomy of File Analysis and Decomposition Engine
Page 2: Anatomy of File Analysis and Decomposition Engine
Page 3: Anatomy of File Analysis and Decomposition Engine
Page 4: Anatomy of File Analysis and Decomposition Engine

• Collect as much information as possible from files/binary objects

– Other contained files/objects

– Metadata, e.g. mobile app permissions, geolocation, IP addresses, domains, etc.

• Strip protection layers for additional analysis

• Do it really, really fast

• Do it at scale

Page 5: Anatomy of File Analysis and Decomposition Engine

• Forensics

• Anti-Virus

• Threat Intelligence

• ...

Page 6: Anatomy of File Analysis and Decomposition Engine
Page 7: Anatomy of File Analysis and Decomposition Engine

• Files can be

– Packed

– Obfuscated

– Encrypted

– Broken

• Large amounts of data to process

• Speed

Page 8: Anatomy of File Analysis and Decomposition Engine
Page 9: Anatomy of File Analysis and Decomposition Engine

• Consolidating metadata and files/objects

• Scheduling

• Reporting

• Communication

Page 10: Anatomy of File Analysis and Decomposition Engine

FILES

FILES

ENGINE

METADATA

Page 11: Anatomy of File Analysis and Decomposition Engine

• Preprocessing

– Identification

– Initial analysis

• Analysis

– Unpacking

– Validation

• Post processing

– Consolidating metadata

Page 12: Anatomy of File Analysis and Decomposition Engine

MODULES

IDENTIFICATION ANALYSIS

VALIDATION

UNPACKING

...

SCHEDULER

REPORT, METADATA, FILES

Page 13: Anatomy of File Analysis and Decomposition Engine

• Speed

• Security

• We can emulate

Page 14: Anatomy of File Analysis and Decomposition Engine
Page 15: Anatomy of File Analysis and Decomposition Engine

• Various identification engines

– Signature based

– Heuristics

– ...

• Problems

Page 16: Anatomy of File Analysis and Decomposition Engine

• Signatures

• Various complexity

– Simple (e.g. PEiD) • Simple byte and wildcard matching, hash matching

• 12 ?? 56 ?8 9?

– Medium (e.g. TitanMist) • Small Regex like subset

– High (e.g. TLang) • Almost full fledged programming language

• Other

Page 17: Anatomy of File Analysis and Decomposition Engine
Page 18: Anatomy of File Analysis and Decomposition Engine

• Some parts depend on identification

• Dedicated analysis modules

• Internal/external modules

Page 19: Anatomy of File Analysis and Decomposition Engine

• Unpacking

• Validation

• Collecting metadata

• Repairing broken files

Page 20: Anatomy of File Analysis and Decomposition Engine