Interactive Mode
Sandroid’s interactive mode provides a user-friendly menu-driven interface for performing forensic analysis. This mode is perfect for manual analysis, learning the tool, and complex investigations requiring multiple steps.
Starting Interactive Mode
Launch Interactive Mode:
sandroid
or explicitly:
sandroid --interactive
With Custom Configuration:
sandroid --config my-analysis.toml --interactive
Step-by-Step Workflows
Basic Analysis Workflow
Initialize Frida (if not running):
Press ‘f’ → Install and start Frida server
Start Recording:
Press ‘r’ → Begin monitoring system changes
Perform Analysis Target Actions
Install and run the target application
Interact with features you want to analyze
Generate the behaviors you want to capture
Complete Analysis
Press Enter → Stop recording and generate results
Review Results
Examine the generated JSON report and logs
Malware Analysis Workflow
Setup Baseline:
Press ‘1’ → Create clean snapshot
Install Frida:
Press ‘f’ → Install Frida server
Set Spotlight App:
# Install malware APK first
Press ‘n’ → Install malware APK Press ‘c’ → Set as spotlight app
Configure Network Monitoring:
Press ‘y’ → Set up proxy (optional) Press ‘h’ → Enable friTap for SSL interception
Execute Triggers:
Press ‘t’ → Run TrigDroid automated triggers
Monitor Behavior:
Press ‘m’ → Start malware motion monitor
Capture Evidence:
Press ‘s’ → Take screenshots Press ‘w’ → Save network capture
Memory Analysis:
Press ‘d’ → Dump memory for analysis
Clean Up:
Press ‘0’ → Restore clean snapshot
App Development Testing Workflow
Install Development APK:
Press ‘n’ → Install your APK
Set as Spotlight:
Press ‘c’ → Set your app as spotlight
Record User Flows:
Press ‘r’ → Record specific user interactions
Static Analysis:
Press ‘a’ → Analyze APK structure and permissions
Export Test Cases:
Press ‘x’ → Export recorded interactions for regression testing
Status Indicators
The menu shows real-time status information:
- Frida Server Status
[Running]
- Frida server is active and ready[Not running]
- Frida server needs to be started
- HTTP Proxy Status
[Set]
- Network proxy is configured[Not set]
- No proxy configuration
- Spotlight Application
Shows package name of currently monitored app
[Not set]
if no app is being monitored
- Spotlight Files
Number of files being monitored
[Not set]
if no files are being watched
Tips for Interactive Mode
Best Practices
Start with Frida: Always install Frida server first for dynamic analysis
Use Snapshots: Create clean snapshots before analysis for repeatability
Set Spotlight Apps: Focus analysis on specific applications for better results
Monitor Network: Enable network monitoring for comprehensive analysis
Take Screenshots: Document your analysis with visual evidence
Performance Tips
Clean Baselines: Use fresh snapshots to avoid noise from previous analysis
Focused Monitoring: Only monitor specific files/apps when possible
Resource Management: Close unnecessary apps during analysis
Troubleshooting
Frida Connection Issues: Restart Frida server with ‘f’
No Device Detected: Check ADB connection with ‘e’
Permission Errors: Ensure device is rooted for advanced features
Slow Performance: Create a new snapshot and restart analysis
Advanced Tips
Combine Tools: Use objection (‘b’) with memory dumping (‘d’) for comprehensive analysis
Automate Triggers: Use TrigDroid (‘t’) for consistent malware activation
Network Analysis: Combine proxy (‘y’) with friTap (‘h’) for complete traffic visibility
Evidence Chain: Use screenshots (‘s’) and network capture (‘w’) to document findings
Keyboard Shortcuts
All menu options use single-key shortcuts:
Recording:
r
,p
,x
,i
App Analysis:
c
,a
,d
,m
,b
,t
File Monitoring:
l
,v
,u
,o
Device Management:
e
,1-8
,0
,s
,g
,n
,f
Network:
y
,h
,w
Exit:
q
Configuration in Interactive Mode
Interactive mode respects your configuration file settings. You can:
Modify behavior with environment variables:
SANDROID_LOG_LEVEL=DEBUG sandroid
Use different configs:
sandroid –config analysis-config.toml
Override settings:
sandroid –network –screenshot 5
The interactive mode will honor these settings while providing the menu interface.
Getting Help
Press
q
to quit safelyCheck logs at
~/.cache/sandroid/logs/
for detailed informationUse
sandroid --help
for command-line optionsSee Troubleshooting for common issues