Gandcrab — RTF malware analysis

Static analysis result for SHA-256 ea01a3cad7acbe9e…

MALICIOUS

RTF

794.6 KB First seen: 2020-01-07
MD5: c240dee7d42916cdcb168e6cb0e6e29f SHA-1: 77310bd9676db12ce80b6dc2af092361c823fa07 SHA-256: ea01a3cad7acbe9e4e86a086c660c0b9c51afbf3d6ddb95df553e6184fb12f6d
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.Ransomware.Gandcrab-6700520-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Ransomware.Gandcrab-6700520-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 389470 bytes
SHA-256: 54cc3fba6b9c4d631c9e6ecaff992cf8595736f85ec6f01047a1f4111accf7d8
Detection
ClamAV: Win.Ransomware.Gandcrab-6700520-0
Obfuscation or payload: likely
Carved artifact entropy is 7.72, consistent with packed or encrypted content.
objdata_01_off000c1df5.bin rtf-objdata-decoded RTF \objdata at offset 0xC1DF5 612 bytes
SHA-256: c62851521e10316dfd43f2b6ee67cc27e2a24456bb346c8fa9dc4a6d6e21d526
objdata_02_off000c22f5.bin rtf-objdata-decoded RTF \objdata at offset 0xC22F5 462 bytes
SHA-256: 1fc984b84321e6a82ecaf923edd7fcaabe8ab7934f072eb0370458c42b90210d
objdata_03_off000c26cd.bin rtf-objdata-decoded RTF \objdata at offset 0xC26CD 877 bytes
SHA-256: 76f3e5239d2c790a4fec1d75e41e3216cf3d21a28661c8e5153da071db1826f7
objdata_04_off000c2e25.bin rtf-objdata-decoded RTF \objdata at offset 0xC2E25 2247 bytes
SHA-256: 992c836552ac8953ea96f98fe3fdf2f015904931030078610b1ec4c608451d62
objdata_05_off000c4049.bin rtf-objdata-decoded RTF \objdata at offset 0xC4049 4679 bytes
SHA-256: a031167f29c59aa6f60f009231ba4b3342834ba008154b405252e98bc2ed362a