Files
Anthropic-Cybersecurity-Skills/skills/operating-havoc-c2/references/api-reference.md
T
mukul975 8cae0648ec Add 55 new skills across 3 new domains + 6 undercovered areas (762 -> 817)
Demand-driven expansion targeting the fastest-growing 2025-2026 threat and
skills categories (ISC2/WEF/CrowdStrike/Mandiant signals):

- AI Security (NEW domain, 12 skills): LLM red-teaming with garak/PyRIT,
  prompt injection (direct/indirect/RAG), MCP tool-poisoning, agentic tool
  invocation, guardrails, model/data poisoning, system-prompt leakage,
  embedding/vector weaknesses, model extraction, continuous red-teaming
- Supply Chain Security (NEW domain, 5 skills): SBOMs, dependency confusion,
  malicious-npm triage, typosquatting, SLSA/Sigstore provenance
- Hardware & Firmware Security (NEW domain, 4 skills): CHIPSEC/UEFI audit,
  Secure Boot bypass, TPM measured-boot attestation, ESP bootkit hunting
- Identity (10): Entra ID/ROADtools, GraphRunner, AADInternals, ADCS/Certipy,
  shadow credentials, coercion, BloodHound CE, device-code phishing, SSO abuse
- Cloud-native (8): Stratus, Pacu, CloudFox, container escape, K8s RBAC,
  Falco, Trivy, kube-bench
- Offensive C2 (6): Sliver, Havoc, NetExec, DPAPI, NTLM relay ESC8, redirectors
- DFIR (6): Hayabusa, Chainsaw, KAPE, Velociraptor, EZ Tools, Plaso
- Backfill (4): OpenCTI, MISP, honeytokens, post-quantum crypto migration

Each skill follows the repo taxonomy (SKILL.md + references/{standards,api-reference}.md
+ scripts/agent.py + LICENSE), with researched real tool commands (no placeholders),
complete frontmatter, and ATT&CK/ATLAS + NIST CSF mappings. Updates README domain
table, skill count, and index.json.
2026-06-22 19:08:16 +02:00

60 lines
2.2 KiB
Markdown

# Havoc C2 Command Reference
Source: Havoc Documentation (https://havocframework.com/docs) and Demon console.
## Build (from source)
| Command | Description |
|---------|-------------|
| `git clone https://github.com/HavocFramework/Havoc.git` | Clone the framework |
| `make ts-build` | Build the team server binary |
| `make client-build` | Build the Qt client binary |
## Team server
| Command / flag | Description |
|----------------|-------------|
| `./havoc server --profile FILE.yaotl` | Run team server with a Yaotl profile |
| `-v`, `--verbose` | Show timestamps with messages |
| `--debug` | Detailed operational logging |
| `--debug-dev` | Compile agents with debug output |
| `-d`, `--default` | Use built-in configuration values |
| `./havoc client` | Launch the operator GUI client |
## Yaotl profile blocks
| Block | Purpose |
|-------|---------|
| `Teamserver { Host, Port, Build {...} }` | Bind address/port and compiler/nasm paths |
| `Operators { user "name" { Password } }` | Operator accounts |
| `Listeners { Http {...} / Smb {...} }` | HTTP(S) and SMB listeners |
| `Demon { Sleep, Jitter, Injection {...} }` | Demon agent defaults |
## Demon agent commands
| Command | Description |
|---------|-------------|
| `whoami`, `pwd`, `ls`, `ps`, `ipconfig` | Situational awareness |
| `getprivs`, `token list` | Privilege/token enumeration |
| `download FILE` / `upload SRC DST` | File transfer |
| `dotnet inline-execute ASM ARGS` | Run a .NET assembly in-memory |
| `inline-execute BOF.o ARGS` | Run a Beacon Object File |
| `shellcode inject ARCH PID FILE` | Inject shellcode into a process |
| `proc create PATH` | Spawn a sacrificial process |
| `socks add PORT` | Start a SOCKS5 proxy through the Demon |
| `rportfwd add LPORT RHOST RPORT` | Reverse port forward |
| `rm FILE` | Delete a file |
| `exit` | Terminate the agent |
## Payload generation (GUI: Attack -> Payload)
| Option | Values |
|--------|--------|
| Format | Windows Exe / Dll / Shellcode / Service Exe |
| Architecture | x64 / x86 |
| Sleep / Jitter | seconds / percent |
| Indirect Syscalls | Enabled (Hell's Gate / Halo's Gate) |
| Sleep Technique | Ekko / Zilean / WaitForSingleObjectEx |
| Stack Spoofing | Enabled / Disabled |
| Proxy Loading | Enabled / Disabled |