Gandcrab — RTF malware analysis

Static analysis result for SHA-256 342fd4392f72b29a…

MALICIOUS

RTF

852.6 KB First seen: 2019-06-27
MD5: b76fa2869b8ebe190cf52dfd0b4edd54 SHA-1: 5be5bad3d0d08dbbaf1a1e801b5be3e50c786871 SHA-256: 342fd4392f72b29ad2da0e60cf66090df7178d04bbd48de0022be3ec81fa9f1f
424 Risk Score

Malware Insights

Gandcrab · confidence 95%

MITRE ATT&CK
T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The RTF file contains multiple critical heuristic firings indicating the exploitation of CVE-2017-8570 through an embedded OLE object, specifically leveraging the Equation Editor. ClamAV detections confirm this as Win.Dropper.Gandcrab-7077551-0, suggesting it acts as a dropper for the Gandcrab ransomware. The embedded OLE object likely contains shellcode or a script designed to download and execute the final payload.

Heuristics 10

  • Composite Moniker — CVE-2017-8570 (drops SCT script) critical CVE related CVE_2017_8570
    RTF \objdata decodes to OLE data containing the Composite Moniker — CVE-2017-8570 (drops SCT script) CLSID — the vulnerable control/moniker is embedded directly in the document's object stream, the delivery shape of this exploit. RTF objects auto-render when Word opens the file.
  • Equation Editor CLSID critical CVE likely RTF_EQUATION_EDITOR
    Equation Editor OLE CLSID found inside an OLE object — exploited by CVE-2017-11882 / CVE-2018-0802 / CVE-2018-0798
  • Composite Moniker in RTF OLE object high CVE related RTF_COMPOSITE_MONIKER_RELATED
    RTF contains Composite Moniker CLSID in OLE object context, but no nearby scriptlet/SCT payload was confirmed. Treat as related moniker attack-surface evidence rather than proof of CVE-2017-8570 exploitation.
  • ClamAV: Win.Dropper.Gandcrab-9828787-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Dropper.Gandcrab-9828787-0
  • PE header (with DOS stub) in hex data critical RTF_MZ_HEX
    Hex-encoded PE (MZ + DOS stub) found inside RTF — likely an embedded executable payload
  • \objupdate forces OLE activation high RTF_OBJUPDATE
    RTF contains \objupdate — forces automatic OLE object instantiation when the document is opened, bypassing user interaction. Almost exclusively seen in Equation Editor exploit documents.
  • OLE object data medium RTF_OBJDATA
    RTF contains 7 \objdata section(s) — embedded OLE objects
  • OlePres presentation stream in RTF OLE object medium RTF_OLEPRES_STREAM
    RTF contains an embedded OLE object with an OlePres presentation stream. OlePres is an OLE presentation marker and is not enough on its own to identify CVE-2025-21298.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://nsis.sf.net/NSIS_Error In RTF body

Extracted artifacts 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
objdata_00_off00000031.bin rtf-objdata-decoded RTF \objdata at offset 0x31 366013 bytes
SHA-256: 69044b81372b1018d042c771c92e737765f0384f6d004cb9745b2bc7405c272d
Detection
ClamAV: Win.Dropper.Gandcrab-9828787-0
Obfuscation or payload: likely
Carved artifact entropy is 7.96, consistent with packed or encrypted content.
objdata_01_off000cb211.bin rtf-objdata-decoded RTF \objdata at offset 0xCB211 11418 bytes
SHA-256: 46f9bc269fbb243155382255bba723f85a09e3b4920455f18b20c83ef0163078
objdata_02_off000d0b7d.bin rtf-objdata-decoded RTF \objdata at offset 0xD0B7D 473 bytes
SHA-256: f3095aa78550aed010de364ce63661ed32aa929baefb923d39ef555ebe6515da
objdata_03_off000d0f6b.bin rtf-objdata-decoded RTF \objdata at offset 0xD0F6B 834 bytes
SHA-256: 69d7869592bad1ec2c7ab81989c2c7e08fc2efd3821c52314c76f5e9a3feddaa
objdata_04_off000d166d.bin rtf-objdata-decoded RTF \objdata at offset 0xD166D 2247 bytes
SHA-256: 992c836552ac8953ea96f98fe3fdf2f015904931030078610b1ec4c608451d62
objdata_05_off000d2891.bin rtf-objdata-decoded RTF \objdata at offset 0xD2891 4679 bytes
SHA-256: a031167f29c59aa6f60f009231ba4b3342834ba008154b405252e98bc2ed362a