Malicious RTF — malware analysis report

Static analysis result for SHA-256 5898e729b7305c4e…

MALICIOUS

RTF

183.9 KB Created: 2018-12-19 13:54:00 First seen: 2020-02-04
MD5: 5982ba16356ee8118e4cdbe54d182b11 SHA-1: d24fc8445eab297602ac39d895e434fe8352e185 SHA-256: 5898e729b7305c4e5db54847396b15d06b74153213a242d295cf64c951a021ca
342 Risk Score

Malware Insights

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

The RTF file contains multiple indicators of exploiting the Equation Editor vulnerability (CVE-2017-11882 and CVE-2018-0798). The presence of OLE object data and specific RTF heuristics strongly suggests that the file is designed to trigger code execution via these known vulnerabilities. This is a common method for delivering secondary payloads, hence the classification as a dropper.

Heuristics 9

  • 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-6835020-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Rtf.Dropper.Agent-6835020-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
  • 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/word In RTF body

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
objdata_00_off00007bd1.bin rtf-objdata-decoded RTF \objdata at offset 0x7BD1 66288 bytes
SHA-256: 9d578dd8da8f145f7ff71adeaab70b4a3191c9d125ad41d84d0d415c40501ba0
objdata_01_off000281e7.bin rtf-objdata-decoded RTF \objdata at offset 0x281E7 11842 bytes
SHA-256: 82a0e9d2b46fe974ae1d3298ffd405eb8e6ea8fda7665fef57d4e0d76c604d9d
objdata_02_off000281f9.bin rtf-objdata-decoded RTF \objdata at offset 0x281F9 35 bytes
SHA-256: d0771b17e6418e479f528fc4aa124822669975a78f8dc3e35cdc4b0f7c212c4e