Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 4ee90e03b58512cf…

MALICIOUS

Office (OOXML)

15.1 KB Created: 2021-07-16 10:28:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 9e4115c068086b6947b35a5ed79ba863 SHA-1: 6c1dc6a2f9c8541f0708db3e509b66337ce3b8f0 SHA-256: 4ee90e03b58512cf40b003747191e8d800179bd63aad847dd8aac8d1232c14f9
162 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment T1204.002 Malicious File

The sample contains a VBA macro with an auto-executing Document_Open subroutine. This subroutine calls another subroutine, ProcessImage, which constructs and likely executes a PowerShell command. The command 'powershell.exe -nop -Windowsstyle hidden -Command- ' is indicative of a downloader or initial execution stage for a malicious payload. The presence of VBA macros and the execution of PowerShell strongly suggest a macro-based malware delivery.

Heuristics 5

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — 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.microsoft.com/office/drawing/2015/9/8/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
24f4c1a738912f18cafb5ac802887825b271f9c8756b241d7d5c3864d5601233
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 514 bytes
vbaProject_00.bin
059a319bf88bf3753e8bfba380fc999deccb7f36e278b3d8b32992d5c5e20d27
vba-project OOXML VBA project: word/vbaProject.bin 8192 bytes