Installation Issues
ProjFS Not Enabled
Error: Dr.Semu fails to start with virtualization errors Solution: Enable Windows Projected File System in an elevated PowerShell window:DynamoRIO Not Found
Error:LauncherCLI.cpp:631
Solution:
- Download DynamoRIO from the releases page
- Extract into the DrSemu folder
- Rename the extracted folder to
dynamorio
Python Not Found
Error: Detection rules fail to execute Solution: Install Python 3 x64 from python.org. Dr.Semu requires 64-bit Python for detection rule execution.Execution Issues
Invalid File Extension
Error:LauncherCLI.cpp:116
Solution:
Dr.Semu only analyzes Windows executable files. Ensure your target file has a .exe extension.
Administrator Privileges Required
Error:LauncherCLI.cpp:147
Solution:
Run Dr.Semu with administrator privileges. Several operations require elevated permissions:
- Enabling ProjFS
- Creating virtual registry hives
- Accessing system resources
File Not Found
Error:LauncherCLI.cpp:106
Solution:
- Verify the file path is correct
- Check that the file exists
- Use absolute paths instead of relative paths
- Ensure you have read permissions for the file
Virtual Environment Issues
Virtual FS/REG Initialization Failed
Error:LauncherCLI.cpp:244, virtual_FS_REG.cpp:168
Solution:
- Ensure ProjFS is enabled (see above)
- Run as administrator
- Check temp directory permissions
- Verify no other instances are running
Pipe Connection Failed
Error:LauncherCLI.cpp:232, virtual_FS_REG.cpp:116
Solution:
- Check that
virtual_FS_REG.exeexists in the binaries directory - Verify Windows named pipes are working
- Disable antivirus temporarily (may block pipe creation)
- Ensure no firewall rules block local pipe communication
Registry Virtualization Failed
Error:virtual_reg.cpp:110, virtual_reg.cpp:131
Solution:
- Run as administrator (required for registry operations)
- Ensure sufficient disk space in temp directory
- Check registry access permissions
- Close other registry monitoring tools
Detection Issues
Detection Rules Not Found
Error:run_detections.cpp:46, LauncherCLI.cpp:441
Solution:
- Download detection rules from DrSemu-Detections
- Place them in the
dr_rulesdirectory - Verify the rules directory exists in the binaries location
Detection Execution Failed
Error:LauncherCLI.cpp:463
Solution:
- Ensure Python 3 x64 is installed
- Check that Lua runtime is available (for Lua rules)
- Verify detection rule syntax is correct
- Check the generated JSON reports exist
Architecture Issues
Wrong DynamoRIO Architecture
Error:LauncherCLI.cpp:620
Solution:
Dr.Semu automatically detects whether your target is 32-bit or 64-bit. Ensure both architectures of DynamoRIO are present:
dynamorio/bin32/drrun.exefor 32-bit executablesdynamorio/bin64/drrun.exefor 64-bit executables
Process Monitoring Issues
Process Timeout
Behavior: Process terminates after 120 seconds by default See:LauncherCLI.cpp:93, DrSemu.cpp:226-230
Solution:
Use the --time_limit parameter to adjust the execution time:
0 to disable the timeout (not recommended for malware analysis).
Fake Explorer Process Failed
Error:LauncherCLI.cpp:272, LauncherCLI.cpp:305
Solution:
- Verify
explorer64.exeexists in the binaries directory - For 32-bit samples, ensure
explorer32.exeis present - Check file permissions
Cleanup Issues
Virtual Environment Not Cleaned Up
Issue: Temporary directories remain after execution Solution: Manually delete temporary directories:- Check your temp directory (usually
C:\Users\<username>\AppData\Local\Temp) - Look for directories named
dr_semu_* - Delete them manually if Dr.Semu didn’t clean them up
Virtual Registry Hives Not Unloaded
Issue: Registry hives remain loaded See:virtual_reg.cpp:167
Solution:
Manually unload registry hives using regedit or command line:
General Troubleshooting Steps
-
Check Prerequisites:
- Windows 10 version 1809
- ProjFS enabled
- DynamoRIO installed
- Python 3 x64 installed
- Administrator privileges
-
Verify File Structure:
-
Enable Debug Output:
- Check log files in the execution directory
- Look for JSON reports in the report directory
-
Check System Resources:
- Ensure sufficient disk space
- Verify adequate RAM (malware analysis can be memory-intensive)
- Close other security tools that may interfere
-
Test with a Known Sample:
- Try running a simple benign executable first
- Example:
DrSemu.exe --target C:\Windows\System32\notepad.exe