Aman Mishra
2025-08-14 15:22:00
gbhackers.com
JPCERT/CC verified a number of events in which threat actors were seen using CrossC2, an unofficial extension tool that creates Cobalt Strike Beacons that work with Linux and macOS.
This campaign, which targeted Active Directory (AD) infrastructures, involved the use of CrossC2 alongside established tools such as PsExec for lateral movement, Plink for SSH tunneling, and native Cobalt Strike payloads.
Further analysis revealed the integration of a custom loader dubbed ReadNimeLoader, written in Nim, which facilitates in-memory execution of Cobalt Strike via DLL sideloading.
Evidence from VirusTotal submissions indicates that this operation extended beyond Japan, impacting organizations in multiple countries.
The attackers exploited Linux servers as potential entry points, capitalizing on the frequent absence of endpoint detection and response (EDR) systems in such environments, thereby enabling deeper network penetration and persistence.
Overview of the Attack Campaign
CrossC2, developed in C and compatible with Cobalt Strike version 4.1 and later, supports x86, x64, and M1 architectures on Linux and macOS.

Upon execution, it forks a child process to handle core operations, retrieving C2 details from embedded configurations or environment variables like CCHOST and CCPORT.
While it executes a subset of Cobalt Strike commands, CrossC2 incorporates anti-analysis measures including single-byte XOR string encoding and extensive junk code insertion, which can be neutralized by patching specific byte sequences with NOP instructions.
The configuration is appended to the binary, encrypted with AES-128-CBC (no padding), and located by scanning for the “HOOK” tag using readlink and fread functions.
Notably, CrossC2 Beacons are UPX-packed by default, requiring configuration removal for successful unpacking before reinsertion.
The Cobalt Strike deployment chain begins with a legitimate java.exe invoked via Task Scheduler, which sideloads ReadNimeLoader disguised as jli.dll from the C:$Recycle.Bin\ directory.
ReadNimeLoader decrypts a readme.txt file containing OdinLdr, an open-source shellcode loader that decodes and executes the embedded Cobalt Strike Beacon in memory.

ReadNimeLoader employs sophisticated anti-debugging techniques, such as checking PEB’s BeingDebugged flag, CONTEXT_DEBUG_REGISTERS, timing differentials exceeding 0x512, and exception handler verification.
Decryption keys are dynamically generated from these routines, combined with XOR-decoded strings, and processed via AES-256-ECB for payload extraction.
OdinLdr further evades detection by periodically re-encrypting the Beacon with random XOR keys and storing it in heap memory prefixed with “OdinLdr1337”. Variations exist where ReadNimeLoader directly executes the Beacon without OdinLdr.
Analysis Support
Attackers supplemented their arsenal with ELF variants of SystemBC for proxying communications, GetNPUsers for AS-REP Roasting attacks, and Windows privilege escalation utilities.
Attribution points to a potential connection with the BlackBasta ransomware group, evidenced by shared C2 domains, file naming conventions like jli.dll and readme.txt, and tactical overlaps including SystemBC and AS-REP exploitation, as noted in prior Rapid7 reports.
To aid investigations, JPCERT/CC has released a Python-based configuration parser on GitHub for extracting CrossC2 details from Linux and macOS binaries.
This tool decodes encrypted configurations, revealing C2 servers, public keys, and other artifacts. As Linux servers increasingly become blind spots in enterprise defenses, heightened monitoring and EDR deployment are recommended to mitigate such multi-platform threats.
Indicators of Compromise (IOCs)
Type | Indicator | Description |
---|---|---|
IP:Port | 162.33.179.247:8443 | CrossC2 C2 Server |
Domain | api.glazeceramics.com:443 | Cobalt Strike C2 |
Hash (SHA256) | 56b941f6dcb769ae6d6995412559012abab830f05d5d8acf2648f7fa48c20833 | ReadNimeLoader (jli.dll) |
Hash (SHA256) | 28d668f3e1026a56d55bc5d6e36fad71622c1ab20ace52d3ab12738f9f8c6589 | CrossC2 (gds) |
Hash (SHA256) | 74a33138ce1e57564baa4ea4db4a882d6bf51081b79a167a6cb2bf9130ddad7f | ELF-SystemBC (monitor) |
AWS Security Services: 10-Point Executive Checklist - Download for Free
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Help Power Techcratic’s Future – Scan To Support
If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.
As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!
BITCOIN bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge Scan the QR code with your crypto wallet app |
DOGECOIN D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA Scan the QR code with your crypto wallet app |
ETHEREUM 0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a Scan the QR code with your crypto wallet app |
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.