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

Static analysis result for SHA-256 73d4b9459c060c12…

MALICIOUS

Office (OOXML) / .DOC

1.27 MB Created: 2022-11-01 14:58:00 UTC Authoring application: Microsoft Office Word 14.0000 First seen: 2022-11-11
MD5: f02ec338d4d52b666ea5c99465586035 SHA-1: afdeda15ed8cc46874a44bfad63a55c438db3bfe SHA-256: 73d4b9459c060c12cb1c55a0fec2b14c1cc1f1a3a54a46c881195ea923da0280
230 Risk Score

Malware Insights

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

The sample is an OOXML document containing a VBA project with a Document_Open macro. This macro utilizes Shell() and CreateObject() calls, indicating it attempts to execute arbitrary code. The VBA script contains obfuscated functions for string manipulation and appears to be designed to download and execute a second-stage payload, as suggested by the ClamAV detection name 'Doc.Downloader'.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Doc.Downloader.afc5c039d11fd238-9978787-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.afc5c039d11fd238-9978787-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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/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
511d9d50a5326742a65b1b432b65ca6b25c2ff8b35db6e5c12164809f76c429f
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 17897 bytes
vbaProject_00.bin
07735d02be20557962eb1694fb570f5457065daaede94e3ab7dc2abe84b9e0d0
vba-project OOXML VBA project: word/vbaProject.bin 36864 bytes