Malicious Office (OOXML) / .DOCM — malware analysis report

Static analysis result for SHA-256 4dd757d91af3533a…

MALICIOUS

Office (OOXML) / .DOCM

45.2 KB Created: 2016-08-19 12:40:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 835654f0d88399d191989c6118474611 SHA-1: 578a982d7ecaa340e9e321428790317f6611883f SHA-256: 4dd757d91af3533a32f4fff0e64fcbc867989e4d7708b25c42d7351df50971ce
242 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059.001 PowerShell T1105 Ingress Tool Transfer

The sample is a DOCM file containing VBA macros, specifically an AutoOpen macro, which is a common technique for initial execution. The script uses `CreateObject` and `CallByName`, indicating it attempts to perform actions like downloading or executing other code. The ClamAV detection and heuristic firings strongly suggest a dropper functionality, likely to download and execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-1626496 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-1626496
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName call
  • Suspicious extracted artifact high 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • 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/2010/wordprocessingCanvas
    • http://schemas.microsoft.com/office/drawing/2014/chartex
    • http://schemas.openxmlformats.org/markup-compatibility/2006
    • http://schemas.openxmlformats.org/officeDocument/2006/relationships
    • http://schemas.openxmlformats.org/officeDocument/2006/math
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
    • http://schemas.openxmlformats.org/wordprocessingml/2006/main
    • http://schemas.microsoft.com/office/word/2010/wordml
    • http://schemas.microsoft.com/office/word/2012/wordml
    • http://schemas.microsoft.com/office/word/2015/wordml/symex
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroup
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInk
    • http://schemas.microsoft.com/office/word/2006/wordml
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShape

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
d67862a6159996477166061debae38169b555cd28fb34aebddcfdf89a3479d47
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 31207 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 1 long base64-like blob(s). Carved artifact contains 9 Chr/ChrW string-construction calls. Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
3a2b7fdb17752fd1d9e7b681ecebe6dc880de04b1f9a79f4cbeed1021995e6ba
vba-project OOXML VBA project: word/vbaProject.bin 73216 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 1 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.