Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 4c51285ee070665e…

MALICIOUS

Office (OOXML)

11.8 KB Created: 2017-10-27 18:32:00 UTC Authoring application: Microsoft Office Word 15.0000 First seen: 2017-11-13
MD5: 01f9ca9efbe831767acb1edf8b270492 SHA-1: 2932080c7589a4cd9ea8cfa4c97699d8040178cb SHA-256: 4c51285ee070665ee85edfc6797dc5c1ea6314782b3b8ed5685c48f4c1b3fef3
162 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.001 PowerShell

The sample contains a critical heuristic firing for a malicious DDE command, which is also noted as a LOLBin execution. The DDE command executes cmd.exe to launch PowerShell, which then downloads a script from a GitHub URL and executes it. This indicates the document is designed to download and run a second-stage payload, likely for further compromise.

Heuristics 4

  • ClamAV: Doc.Exploit.DDEautoexec-6361400-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Exploit.DDEautoexec-6361400-2
  • Malicious DDE command critical OOXML_DDE_MALICIOUS
    DDE field in word/document.xml launches a dangerous executable: \\System32\\cmd.exe
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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 https://sensepost.com/blog/2017/macro-less-code-exec-in-msword/ In document text (OOXML body / shared strings)
    • https://github.com/EmpireProject/Empire/blob/master/data/agenIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)