analyzer.exe tool, which provides comprehensive control and monitoring capabilities during program execution.
Basic Usage
To run a Windows program in Sogen, use the following syntax:Running with Arguments
Pass command-line arguments to the target program:Command-Line Options
Emulation Configuration
Create a registry dump using the grab-registry.bat script as administrator.
Logging and Analysis Options
Verbosity Levels
Module Tracking
Track specific modules during execution:Advanced Analysis
State Management
Creating Snapshots
Snapshots capture the complete emulator state and can be restored later:- Run the program with CTRL+C interrupt
- When prompted, type
yto create a snapshot - The snapshot is saved for later use
Loading Snapshots
Restore a previously saved snapshot:Loading Minidumps
Analyze Windows minidump files:Advanced Features
Tenet Tracer Integration
Enable execution tracing for Tenet (IDA Pro plugin):tenet_trace.log containing the execution trace.
Reproducible Execution
Stub clocks and randomness sources for deterministic execution:Ignore Functions
Skip logging for specific functions:Complete Example
Here’s a comprehensive example combining multiple options:- Sets the emulation root to
./emulation-root - Uses registry from
./registry - Enables verbose logging
- Tracks the
malware.exemodule - Logs executable memory access
- Logs foreign module access
- Maps a configuration file from the host system
- Runs the malware with a command-line argument
Exit Status
The analyzer exits with:0- Program terminated withSTATUS_SUCCESS1- Program terminated with an error status or emulation failed