unpack#6

Malware unpacking · 5 objects · 4 static reports · generated 2026-10-08 13:12:38 UTC

Task outcome

2 unpacked objects

Kesakode detections

1 match

Highest recorded code-similarity score per name across analysed objects.

  • CipherPaneRAT100.0%

See the full narrative for the model’s findings and reasoning.

Read full analysis
Unpacked objects

stage2_go_rat.bin

ID 3
File type PE
Category PROGRAM
Architecture X64
Size 4.5 MiB
Kesakode match CipherPaneRAT (100.0%)
SHA256 8bf76db732e3d2d34fb79106dcaaeabf9574dcc60c49923c38afabf0f9c7b37a

overlay_base64_decoded.bin

ID 4
File type ?
Category UNKNOWN
Architecture NONE
Size 12.8 KiB
Kesakode No verdict available
SHA256 077e359a641c930a7de8d17f6d15fc676e35e4fc42681fdbbe5fd08ccc2abadd
Unpacking report

Summary

The submitted root is not an archive or installer: it is an 8.9 MB obfuscated Go x64 PE (garble-style symbol renaming, junk control flow, TimeDateStampZero, fake "Aurora Craft" signature). It contains one genuinely concealed payload: a ~4.45 MB high-entropy blob inside .rdata at #6caec1 (0x6caec1), which main.main copies onto a 4.6 MB stack frame and decodes through its own routine uMqWJLxGg (0x629e80). Reimplementing that routine as a Malcat transform chain recovered a structurally valid Go x64 PE → analysis (its own overlay contains a further base64-encoded blob, decoded to analysis ). Analysis behaves as a Go RAT: main.run (0x1401b3620) dials 81.177.214.196:8080 over WebSocket with AES-GCM framed messages, plus sendProcList, sendClipboard, Capture, putFile/getFile, runTerminal; kesakode suggested "NeedleStealer" at 0/100 confidence (not treated as confirmed).

Container handling

  • Root is a single PE, not a container; analyse_virtual_files was empty and the only carved item was the PKCS7 signature at #880e08 (ordinary signature extraction, not a payload). No UPX/#UPX.Unpacked was present.
  • unpack_custom families were not applicable: the sample is not Donut/Hijackloader and no supported malware family matched .
  • No single-member archive wrapper existed, so nothing was returned merely for being extracted.

Packing evidence

  • : .rdata entropy 194/255 with a contiguous unreferenced high-entropy region (0x6caec1, size 583368 qwords = 4,666,944 bytes, interval entropy 231), BigBufferNoXrefMediumToHighEntropy (147 hits), XorInLoop (130), HighXrefLoopingFunction, StackArrayInitialisationX64, PossibleDownloaderApiDynamicImport ("recv" as string only), obfuscated symbol names and junk makeslice/LCG blocks inside main.main, uMqWJLxGg and bKrhd8l7.
  • Recovery path (genuine unpacking, not extraction): main.main (0x559480) writes a 9-byte prefix (from immediates 0xFBC5CEB812925559 / 0x12027BD05FB41BDF, little-endian prefix 59 55 92 12 B8 CE C4 FB DF), rep movsq copies #6caec1 (4,666,944 bytes), then calls uMqWJLxGg(buf, len=0x473649, cap=0x473649, key=0x2AADA, 0, 0).
  • uMqWJLxGg algorithm recovered from disassembly (all byte ops mod 256): (1) even i → b = b - 16 - 17*i (key%53), odd i → b = b ^ 16 ^ 31*i (key%97); (2) full reverse of the buffer; (3) swap adjacent byte pairs; (4) b = b - (key>>8) - 3*i; (5) b = b ^ key ^ 5*i. Applied over the 9-byte prefix + #6caec1 region → analysis , a valid PE (EP 0x14007a880, coherent section table).
  • Checked for further packing in : no virtual/carved files, no packer stub, normal section entropy (.text 127/255), no UPX; anomalies are consistent with an ordinary obfuscated Go binary. The main.main follow-up call into bKrhd8l7 (0x612ac0) and its callees Fl6CgWZdLFI/CK9DtUB only reference decoy alphabets and print helpers — no evidence of an additional transformation on the decoded buffer (the PE was already structurally valid before it).
  • overlay at #46f200 (17,481 bytes, entropy 126) is plain base64 text with no code cross-references; base64-decoding it (ordinary decoding, not unpacking) yielded analysis (13,111 bytes, entropy 223).

Encryption/packing methods and keys found

  • Stage-1 concealment: custom position-dependent byte transform (subtract/add/XOR keyed by index) + buffer reversal + adjacent-pair swap, key constant 0x2AADA (174810), prefix bytes 59 55 92 12 B8 CE C4 FB DF, source #6caec1 length 4,666,944. Encoded region encrypted-looking (entropy 231); no standard crypto (AES/RC4/ChaCha) involved in this stage — capa's RC4/AES hits belong to library code and to stage 2's C2 framing.
  • Stage 2 (): AES-256-GCM for C2 frames. newGCM (0x1401b9dc0) hex-decodes the key 778c61eed3912dd6bcb833dc41d47bca0174e9e185e46d9798c3b012b89e07d9 (32 bytes) via hex.Decode, then NewCipher/NewGCM; used by encrypt (0x1401b9b80) / decrypt (0x1401b9c80) in (*WS).writeFrame/frame. C2 endpoint 81.177.214.196:8080 path /ws.
  • Unresolved blocker: the base64 blob in analysis has no in-binary cross-references and no nonce/IV was located for it; a trial AES-GCM open with the known key and a guessed 12-byte IV produced no plaintext (resulting entropy unchanged), so it was discarded rather than guessed further. It is reported as a recovered encoded blob, with its inner encoding/encryption undetermined.