Malicious RTF — malware analysis report

Static analysis result for SHA-256 9d239ddd4c925d14…

MALICIOUS

RTF

915.9 KB Created: 2018-02-22 20:08:00 First seen: 2019-11-20
MD5: 9ca6d45643f89bf233f08b7d74910346 SHA-1: 16163b8182d5d55a75f87c10eacb9240fa2de9af SHA-256: 9d239ddd4c925d14e00b5a95827e9191bfda7d59858f141f6f5dcc52329838f0
322 Risk Score

Malware Insights

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

The sample is an RTF document containing an embedded OLE object that exploits the Equation Editor vulnerability (CVE-2017-11882). This vulnerability allows for the execution of arbitrary code upon activation of the embedded object, likely leading to the download and execution of a secondary payload. The presence of ClamAV detection for 'Doc.Exploit.Cve_2017_11882-7570663-1' further confirms this exploit.

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
  • Equation Editor OLE1 native payload — CVE-2017-11882 related critical CVE related CVE_2017_11882_RELATED
    RTF decodes to an OLE1 Equation.3 embedded object whose native data is large and payload-like, and \objupdate requests automatic activation. This is the delivery shape used by Equation Editor RCE documents such as CVE-2017-11882/CVE-2018-0802, but the malformed MTEF record needed for exact attribution was not recovered.
  • ClamAV: Doc.Exploit.Cve_2017_11882-7570663-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Exploit.Cve_2017_11882-7570663-1
  • \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
  • Suspicious extracted artifact medium 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://schemas.microsoft.com/office/word/2003/wordml In RTF body

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
objdata_00_off000078d0.bin rtf-objdata-decoded RTF \objdata at offset 0x78D0 443632 bytes
SHA-256: 23c3a69795551a5929ab042c00b73762b030fa17d3b955deb5bc4b804571291b
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact entropy is 8.00, consistent with packed or encrypted content.
objdata_01_off000e02e6.bin rtf-objdata-decoded RTF \objdata at offset 0xE02E6 9781 bytes
SHA-256: 20f8b7ac964442c1266cca393e812ee31197416f72cdd9335aa9f521a415db00
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Static shellcode analysis found candidate code region(s). Indicators: SC_GETPC_CALL, SC_STR_VIRTUALPROTECT Static shellcode analysis recovered API/import strings: VirtualAlloc, VirtualAllocEx, VirtualProtect, VirtualProtectEx, WriteProcessMemory, ReadProcessMemory
objdata_02_off000e02f8.bin rtf-objdata-decoded RTF \objdata at offset 0xE02F8 35 bytes
SHA-256: 1188b98b21f50564ab8b476f25b6deab999a2f58a56c4dd0daa0f5883cfa941d