LokiBot — RTF / .DOC malware analysis

Static analysis result for SHA-256 8203bddea2b7140d…

MALICIOUS

RTF / .DOC

3.74 MB First seen: 2022-02-26
MD5: 7fd5eb776e408978b3bddfef95a15beb SHA-1: fffa6e871abf0392f82d78eb632e84b0b5127574 SHA-256: 8203bddea2b7140d613d989c00e3047415193f04468d1d39d539b068c4b345e0
442 Risk Score

Malware Insights

LokiBot · confidence 95%

MITRE ATT&CK
T1204.002 Malicious File Execution: User Execution: Malicious File T1566.001 Phishing: Spearphishing Attachment

The RTF document contains embedded OLE objects and exploits CVE-2017-11882, indicated by multiple critical heuristic firings. The embedded object, when decoded, contains a PE header and is detected by ClamAV as Rtf.Dropper.Agent-9965975-1. Further analysis of extracted artifacts reveals a payload identified as Win.Dropper.LokiBot-10023558-0, suggesting the primary function is to download and execute a secondary stage malware. The presence of the Equation Editor ProgID and composite moniker further supports the exploitation of CVE-2017-11882.

Heuristics 11

  • 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.
  • 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.
  • Split hex Equation Editor ProgID + OLE object critical RTF_EQUATION_EDITOR
    RTF embeds the Equation.3 ProgID as hex bytes near OLE object activation and splits the byte stream with whitespace or an ignorable RTF group. This is an Equation Editor OLE activation surface commonly used by CVE-2017-11882 / CVE-2018-0802 exploit documents.
  • 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
  • ClamAV: Rtf.Dropper.Agent-9965975-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Rtf.Dropper.Agent-9965975-1
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • \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.
  • Large hex data blocks in OLE object high RTF_EXCESSIVE_HEX
    RTF contains ~1969KB of hex-encoded data inside \objdata sections — may hide a payload
  • OLE object data medium RTF_OBJDATA
    RTF contains 2 \objdata section(s) — embedded OLE objects
  • Embedded OLE object medium RTF_OBJEMB
    RTF contains \objemb — embedded OLE object
  • 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
objdata_00_off00001347.bin
faa5bdaeacb4ccb6691ea851b5c773f2c0416135805f5a2417ac88b5447872d2
rtf-objdata-decoded RTF \objdata at offset 0x1347 984783 bytes
Detection
ClamAV: Win.Dropper.LokiBot-10023558-0
Obfuscation or payload: likely
Carved artifact entropy is 7.79, consistent with packed or encrypted content.
objdata_01_off001e34ec.bin
db65fbb096ae324e366d05144935ad4d6afaef3ea4d6ec1ba027c905cb7f65b5
rtf-objdata-decoded RTF \objdata at offset 0x1E34EC 461165 bytes