Malicious RTF — malware analysis report

Static analysis result for SHA-256 e8e86359b06cefdc…

MALICIOUS

RTF

1012.7 KB Created: 2018-04-23 01:01:00 First seen: 2019-12-09
MD5: c65b73dde66184bae6ead97afd1b4c4b SHA-1: 638f986035bee9ea1d651ba33dc508a2e697c1c6 SHA-256: e8e86359b06cefdc5c1115dacea21240aa090450e83744b495e784d8bff49a09
382 Risk Score

Malware Insights

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

The RTF file contains multiple indicators of exploitation targeting Microsoft Equation Editor, specifically related to CVE-2017-11882 and CVE-2018-0798. The presence of OLE object data and excessive hex-encoded data suggests that a payload is embedded and likely executed upon opening the document. ClamAV also detected this file as a dropper.

Heuristics 10

  • 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
  • CVE-2018-0798 — Equation Editor Matrix record overflow critical CVE exact CVE_2018_0798
    RTF contains hex-encoded MTEF Matrix record exploit signature (NOP-sled 0x60 + padding 0x61 + return address 0x0BFB). CVE-2018-0798 exploits a stack buffer overflow in EQNEDT32.EXE's Matrix record parser and affected Equation Editor broadly, including builds patched for CVE-2017-11882. Widely used by APT groups (Conimes, KeyBoy, Emissary Panda, Rancor).
  • Equation Editor activation — CVE-2017-11882 related high CVE related CVE_2017_11882_ACTIVATION_RELATED
    RTF decodes to an Equation.3 ProgID and requests OLE activation with \objemb plus \objupdate. This reaches the legacy Equation Editor attack surface used by CVE-2017-11882/CVE-2018-0802 documents, but the malformed MTEF/native payload needed for stronger attribution was not recovered.
  • ClamAV: Rtf.Dropper.Agent-6889128-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Rtf.Dropper.Agent-6889128-0
  • \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.
  • Package object class high RTF_OBJCLASS_PACKAGE
    OLE Package object — can wrap arbitrary files
  • Large hex data blocks in OLE object high RTF_EXCESSIVE_HEX
    RTF contains ~1015KB of hex-encoded data inside \objdata sections — may hide a payload
  • OLE object data medium RTF_OBJDATA
    RTF contains 3 \objdata section(s) — embedded OLE objects
  • Embedded OLE object medium RTF_OBJEMB
    RTF contains \objemb — embedded OLE object
  • 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://schemas.microsoft.com/office/word/2003/wordml In RTF body

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
objdata_00_off00007b1f.bin rtf-objdata-decoded RTF \objdata at offset 0x7B1F 490736 bytes
SHA-256: 0d3208efbb974e3436e9ee6bf868ef8c738a8c24e11d4cfda05b1d0d698a0b1f
objdata_01_off000f7535.bin rtf-objdata-decoded RTF \objdata at offset 0xF7535 11842 bytes
SHA-256: 82a0e9d2b46fe974ae1d3298ffd405eb8e6ea8fda7665fef57d4e0d76c604d9d
objdata_02_off000f7547.bin rtf-objdata-decoded RTF \objdata at offset 0xF7547 35 bytes
SHA-256: d0771b17e6418e479f528fc4aa124822669975a78f8dc3e35cdc4b0f7c212c4e