TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/HavocFramework/Havoc/llms.txt
Use this file to discover all available pages before exploring further.
Demon section configures default settings for the primary Havoc agent, including sleep intervals, process injection targets, and sleep obfuscation techniques.
Syntax
Core Parameters
The default interval (in seconds) for the agent to sleep between check-ins for commands.Default:
2This can be modified at runtime using the sleep command in the agent session.The amount of randomness applied to sleep intervals, specified as a percentage (0-100).Default:
20 (20% jitter)Example: With Sleep = 10 and Jitter = 20, the actual sleep time will be between 8-12 seconds.If
true, the agent’s public IP will be set to the value of the X-Forwarded-For HTTP header.Default: falseImplant Configuration
TheImplant section configures sleep obfuscation techniques to evade memory scanning during agent dormancy.
Enables sleep mask obfuscation when the agent is sleeping.
0- Disabled1- Enabled
1 (enabled)Sleep mask obfuscation only occurs when there are no active job threads running. Long-running jobs prevent sleep obfuscation.
Specifies which sleep mask technique to use for heap/stack encryption during sleep.
0- WaitForSingleObjectEx (no obfuscation)1- FOLIAGE2- Ekko
0Injection Configuration
TheInjection section defines which processes are spawned for fork & run operations (post-exploitation jobs that run in a separate process).
Full path to the 64-bit process used for fork & run operations.Default:
"C:\\Windows\\System32\\notepad.exe"Common alternatives:"C:\\Windows\\System32\\Werfault.exe"(Windows Error Reporting)"C:\\Windows\\System32\\RuntimeBroker.exe""C:\\Windows\\System32\\dllhost.exe"
Full path to the 32-bit process used for fork & run operations.Default:
"C:\\Windows\\SysWOW64\\notepad.exe"Common alternatives:"C:\\Windows\\SysWOW64\\Werfault.exe""C:\\Windows\\SysWOW64\\RuntimeBroker.exe""C:\\Windows\\SysWOW64\\dllhost.exe"
Examples
Standard Configuration
Stealthy Configuration with Sleep Obfuscation
Behind a Redirector
Runtime Modification
Many Demon configuration options can be modified at runtime through the agent console:- Sleep interval:
sleep [seconds] - Injection targets:
config injection spawn64 [path]andconfig injection spawn32 [path]
OPSEC Considerations
Choosing Spawn ProcessesSelect spawn processes that:
- Are commonly found running on target systems
- Match the expected environment (avoid notepad.exe on servers)
- Are signed by Microsoft
- Have appropriate parent process relationships
