Skip to main content
Mallory
← Back to News
loader-delivery-mechanismcommand-and-control-methoddetection-content-updatepayload-delivery-evasion

Researchers Detail Cobalt Strike Loader and Beacon Analysis Techniques

Malware Intelligence · 19 sources · Updated 4mo ago · First seen Sep 1, 2021

Researchers Detail Cobalt Strike Loader and Beacon Analysis Techniques

Multiple security researchers published detailed analyses of Cobalt Strike loaders, shellcode, and beacon traffic, showing how attackers continue to wrap the framework in diverse delivery chains including malicious DLLs, .hta files, .vbs scripts, CACTUSTORCH payloads, and Nim-based stagers. Across the samples, the loaders commonly used VirtualAlloc, VirtualProtect, CreateThread, WriteProcessMemory, and WinINet APIs, while shellcode was frequently hidden with XOR, Base64, 3DES, or custom obfuscation and then resolved APIs dynamically through PEB traversal and ROR13-style API hashing. Reported command-and-control indicators included 116.62[.]138.47, 195.211.98[.]91, 51.79.49[.]174:443, and 42.193.229.33:12342, with several samples using legacy Internet Explorer-style user agents and HTTP downloader or reverse-beacon behavior.

The reporting also highlighted defender opportunities in memory and configuration analysis rather than static signatures alone. Analysts demonstrated extracting decrypted shellcode with hardware breakpoints, entropy-guided reverse engineering in Ghidra, and emulation in SpeakEasy, while other work showed how to recover or decrypt Beacon metadata and task traffic from leaked RSA keys or process memory. Additional hunting indicators included the named pipe pattern \\.\pipe\MSSE-%d-server, suspicious execution chains such as mshta.exe spawning child processes, and memory artifacts such as decoded payload stages, page-permission changes, and writable-memory key material. Together, the research shows that although Cobalt Strike payloads are heavily obfuscated and delivered through varied loaders, their in-memory behavior, decryption routines, and beacon communications remain practical points for detection and investigation.

Why it matters

Impact assessment

This story affects organizations defending Windows endpoints against post-exploitation frameworks, especially enterprises exposed to phishing, script-based initial access, DLL side-loading, HTA/VBS execution, and in-memory loaders. The operational risk is high because Cobalt Strike remains a common adversary tool for staging follow-on intrusion activity, credential theft, lateral movement, and ransomware deployment, and the reporting shows practical delivery chains that evade simple static detection.

The exposure is broad rather than tied to a single vendor flaw: the research covers multiple loader formats, shellcode variants, and beacon communication patterns used across real-world campaigns. There is evidence of in-the-wild use throughout the references, including targeted phishing, incident-response cases, customer incidents, and malware samples observed on MalwareBazaar and VirusTotal.

Supporting details

  • Affected platforms: Windows endpoints and servers executing DLLs, HTA, VBS, PowerShell, rundll32, regsvr32, mshta, and side-loaded libraries.
  • Affected populations: enterprises with email exposure, users able to run script content, and environments with weak controls on LOLBins and memory-execution behaviors.
  • Severity drivers:
    • In-memory execution reduces file-based detection opportunities.
    • Beacon traffic enables persistent command-and-control and follow-on tasking.
    • Loaders commonly support process injection, remote thread creation, and downloader behavior.
  • Scope:
    • Widespread tradecraft across many samples and years, not a single isolated campaign.
    • Both targeted and commodity-style delivery observed.
  • Known incident context from references:
    • NVISO documented a targeted phishing attempt against a financial-sector customer.
    • GuidePoint described an incident-response engagement with broad Cobalt Strike deployment.
    • Unit 42 tied multiple loaders to customer incident analysis.

Extracted entities and facts

  • Malware/tooling: Cobalt Strike, Beacon, KoboldLoader, MagnetLoader, LithiumLoader, CACTUSTORCH, NimShellCodeLoader, NimRev, blobrunner, SpeakEasy, Ghidra, x32dbg, x64dbg, 1768.py, cs-extract-key.py, cs-parse-http-traffic.py.
  • Delivery artifacts:
    • HTA loader sample SHA-256: 2c683d112d528b63dfaa7ee0140eebc4960fe4fad6292c9456f2fbb4d2364680
    • VBS loader with process injection behavior
    • DLL loader SHA-256: 2569cc660d2ae0102aa74c98d78bb9409ded24101a0eeec15af29d59917265f3
    • Compiled executable SHA-256: 99986d438ec146bbb8b5faa63ce47264750a8fdf508a4d4250a8e1e3d58377fd
  • Incident-linked execution chains:
    • mshta.exe -> powershell.exe
    • mshta.exe -> notepad.exe -> rundll32.exe
    • regsvr32.exe /s /i 3z5pjb0l.ab4
  • Notable infrastructure and C2 examples:
    • 116.62[.]138.47
    • 195.211.98[.]91
    • 51.79.49[.]174:443
    • 42.193.229.33:12342
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

19 events · Mar 7, 2021 – Mar 28, 2022
  1. Reported Dec 8, 20233y ago

    Manual Ghidra analysis resolves shellcode APIs and C2

    A manual shellcode analysis in Ghidra and x32dbg resolved API hashes including LoadLibraryA, InternetOpenA, and InternetConnectA, and identified a C2 reference to 195.211.98[.]91.

    How to Use Ghidra to Analyse Shellcode and Extract Cobalt Strike Command & Control Servers
  2. Reported Nov 6, 20233y ago

    Hardware-breakpoint analysis extracts hidden Cobalt Strike shellcode

    An analyst used x64dbg hardware breakpoints to catch a Windows executable writing decoded shellcode into a VirtualAlloc buffer, dumped the payload, and emulated it to reveal C2 116.62[.]138.47 and path /8yHd.

    Malware Unpacking With Hardware Breakpoints - Cobalt Strike Shellcode Loader
  3. Reported Oct 23, 20233y ago

    VBS loader analysis recovers shellcode and possible C2

    A heavily obfuscated .vbs loader was deobfuscated to recover shellcode, revealing process-injection APIs, an EICAR marker, and a possible C2 address of 47.98.51[.]47; SpeakEasy emulation confirmed HTTP-based downloader behavior.

    Cobalt Strike .VBS Loader - Decoding with Advanced CyberChef and Emulation
  4. Reported Oct 20, 20233y ago

    HTA loader analysis reveals downloader shellcode C2

    Analysis of a malicious .hta loader extracted and emulated embedded shellcode, showing downloader behavior attempting to retrieve content from 51.79.49[.]174:443.

    Cobalt Strike Malware Analysis With CyberChef and Emulation - .HTA Loader Example
  5. Reported Oct 18, 20233y ago

    Ghidra entropy analysis identifies likely decryption routine

    A Ghidra-based analysis of a suspected Cobalt Strike DLL located a high-entropy blob at DAT_1800373a0 and identified FUN_180027a80 as the likely decryption function based on repeated references and XOR/SHR operations.

    Ghidra Tutorial - Using Entropy To Locate Cobalt Strike Decryption Functions
  6. Reported Dec 2, 20224y ago

    Unit 42 names three evasive Cobalt Strike loaders

    Unit 42 analyzed and named KoboldLoader, MagnetLoader, and LithiumLoader, describing their use of mapping injection, DLL masquerading, side-loading, and callback-based execution to deploy SMB, HTTPS, and stager beacons.

    Blowing Cobalt Strike Out of the Water With Memory Analysis
  7. Reported Jul 13, 20224y ago

    Unit 42 details Beacon metadata and traffic decryption

    Unit 42 explained how Cobalt Strike Beacon encrypts metadata with RSA, derives AES and HMAC keys from decrypted metadata, and how leaked private keys can be used to decrypt captured Beacon metadata and task traffic.

    Cobalt Strike Metadata Encryption and Decryption
  8. Mar 28, 20225y ago

    Walmart analyzes UUID-encoded Cobalt Strike stager family

    Jason Reaves published analysis of a Cobalt Strike stager variant that stores shellcode as UUID strings rather than conventional hex blobs. The write-up detailed decoding methods for standard, Go-based, and reversed-order UUID layouts and shared recovered IOCs, user agents, hashes, and a YARA rule for tracking the cluster.

    CobaltStrike UUID stager. By: Jason Reaves | by Jason Reaves | Walmart Global Tech Blog | Medium
  9. Reported Jan 16, 20225y ago

    CACTUSTORCH HTA beacon analyzed with leaked-build watermark

    Analysis of a malicious HTA built with CACTUSTORCH extracted a PE32 DLL beacon configured to contact 42.193.229.33:12342 using /j.ad and /submit.php, and identified watermark 305419896 associated with leaked Cobalt Strike builds.

    Analyzing a CACTUSTORCH HTA Leading to Cobalt Strike | Tony Lambert
  10. Reported Nov 3, 20215y ago

    NVISO publishes process-memory key recovery for Cobalt Strike traffic

    NVISO described methods to recover AES and HMAC keys for decrypting Cobalt Strike traffic from process memory dumps, including 0x0000BEEF metadata extraction for version 3 beacons and a dictionary-style attack for version 4 beacons.

    Cobalt Strike: Using Process Memory To Decrypt Traffic - Part 3 - NVISO Labs
  11. Reported Oct 14, 20215y ago

    Walmart documents Nim-based malware and Cobalt Strike stagers

    Jason Reaves published a follow-up investigation into Nim malware, including NimGrabber, NimRev, ransomware samples, and multiple Nim-based Cobalt Strike stagers using 3DES or modified Base64 decoding.

    Investigation into the state of NIM malware Part 2 | by Jason Reaves | Walmart Global Tech Blog | Medium
  12. Sep 6, 20215y ago

    PowerShell payload analysis reveals XOR-obfuscated Base64 Cobalt Strike stage

    Michael Koczwara published an analysis of a Cobalt Strike PowerShell payload, showing that an embedded Base64 block was XOR-encrypted with key 35. The write-up described extracting the encoded payload from the script and decrypting it with CyberChef.

    Cobalt Strike PowerShell Payload Analysis | by Michael Koczwara | Medium
  13. Sep 1, 20215y ago

    VirusTotal receives 64-bit Cobalt Strike DLL loader sample

    A 64-bit DLL loader later analyzed as a Cobalt Strike shellcode loader was submitted to VirusTotal, where 37 security vendors detected it as malicious.

    Quick analysis CobaltStrike loader and shellcode | 0day in {REA_TEAM}
  14. Aug 8, 20215y ago

    Beacon config analysis reveals HTTP C2 and watermark 2005485734

    Michael Koczwara analyzed a Cobalt Strike Beacon payload configured for HTTP command-and-control to remote.claycityhealthcare.com over port 80, using distinct GET and POST URIs and a 30-second sleep with 20% jitter. The analysis also identified rundll32.exe spawn targets for x86 and x64, multiple process-injection methods, and customer watermark 2005485734.

    Cobalt Strike Hunting - simple PCAP and Beacon Analysis | by Michael Koczwara | Medium
  15. Jul 8, 20215y ago

    Avast publishes guide to identifying and decoding Cobalt Strike payloads

    Avast published a technical analysis of Cobalt Strike raw payloads and stagers, detailing identifying traits across DNS, SMB, TCP bind/reverse, HTTP, and HTTPS variants for x86 and x64. The write-up described API-hash patterns, checksum8 request-query behavior, watermark placement from version 3.9 onward, and XOR/encoding schemes to support detection and forensic analysis.

    Gen Blogs | Decoding Cobalt Strike: Understanding payloads
  16. Reported Apr 26, 20216y ago

    Targeted phishing attempt delivers Cobalt Strike DLL stager

    NVISO analyzed an early-detected phishing attempt against a financial-sector customer in which a malicious job-application document was used to deliver a DLL-based Cobalt Strike stager designed for COM hijacking persistence.

    Anatomy of Cobalt Strike’s DLL Stager - NVISO Labs
  17. Apr 20, 20216y ago

    Walmart analyzes floating-point Cobalt Strike stagers

    Jason Reaves published analysis of Cobalt Strike stagers that decode embedded shellcode using floating-point math and use a raw-socket request to google.com to perform an anti-sandbox sleep-tampering check. The write-up also shared file hashes, domains, IPs, and two Suricata-style signatures for detecting the stagers' outbound port-80 timing-check traffic.

    CobaltStrike Stager Utilizing Floating Point Math | by Jason Reaves | Walmart Global Tech Blog | Medium
  18. Mar 30, 20216y ago

    GuidePoint analyzes GUID-obfuscated Cobalt Strike stager DLL

    GuidePoint Security analyzed a malicious DLL named 3z5pjb0l.ab4, executed via regsvr32 and DllInstall, and showed it reconstructed shellcode from GUID-like strings to download and run a Cobalt Strike beacon in memory. The researchers then retrieved and parsed the beacon configuration, identifying its network parameters and planned spawn target of svchost.exe -k netsvcs.

    Yet Another Cobalt Strike Stager: GUID Edition | GuidePoint Security
  19. Mar 7, 20216y ago

    Didier Stevens confirms Cobalt Strike beacon config from PCAP

    Didier Stevens analyzed a packet capture containing suspicious HTTP traffic, identified short URI patterns associated with Cobalt Strike shellcode, and exported the stream for offline review. Using the 1768.py tool, he confirmed the extracted data contained a Cobalt Strike beacon configuration.

    PCAPs and Beacons - SANS Internet Storm Center
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Cobalt Strike

Observables

133 linked

Indicator values are masked on this page. View all 133 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.