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

Static analysis result for SHA-256 e197309f79a43cde…

MALICIOUS

Office (OOXML) / .DOC

105.2 KB Created: 2021-06-24 09:57:00 UTC Authoring application: Microsoft Office Word 15.0000
MD5: e872f25c7d39e0e3c5ec46a4f09ba32e SHA-1: fc82f997a6c16d0e4b43808506b40372dd22f844 SHA-256: e197309f79a43cdeccdc0b69344a36abc6c23fb8eef66063e4eb5cc443ee9d4d
262 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Phishing: Spearphishing Attachment T1204.002 User Execution: Malicious File T1059.005 Command and Scripting Interpreter: Visual Basic for Applications T1059.003 Command and Scripting Interpreter: Windows Command Shell T1059.001 Command and Scripting Interpreter: PowerShell

The sample contains a Document_Open macro that triggers the execution of a function that uses CreateObject('WScript.Shell').Run to execute a system command. The command string is heavily obfuscated using a custom function (K__Fg3), and while the exact command is not fully visible due to the the truncated script, the heuristic firings for Shell() and WScript.Shell indicate a clear intent to launch an external process. Because the final payload delivery mechanism is not fully decoded, the family remains unknown.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject 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.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/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
1ac16c1dac2cac9f9d350457764c04551a2743d60814c10ddf50c8003609b8b6
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2450 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 2 eval/decoder/string-building token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
de0588e6c858b7d0c59dea86e3b0368bc5b319ab61a7ccf29199bd6f60b79b34
vba-project OOXML VBA project: word/vbaProject.bin 12800 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.