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

Static analysis result for SHA-256 beb93f1fd4bf5847…

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: 6de72bc5bea9e2d956304c58c1a567d3 SHA-1: 4e93a257fd1922bb90e28d068c773fb7beab5a09 SHA-256: beb93f1fd4bf5847473aa67d5904fbd2c1ecdbe5252fb3bf03cf991fa02f65b8
230 Risk Score

Malware Insights

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

The sample is an OOXML document containing a VBA project with a Document_Open macro. This macro utilizes Shell() and CreateObject() calls, indicating an attempt to execute arbitrary code. The presence of the 'macros.bas' file and the ClamAV detection as a downloader strongly suggest that the VBA code is designed to download and execute a second-stage payload.

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
808d56f94e363d37655ad81d7baa785d44eb862abac05568386d5a767d4c6b26
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 18031 bytes
vbaProject_00.bin
4f7961b398d9185f5708be338461350643036b5f193d2aa3a0f2cad8f57d7e10
vba-project OOXML VBA project: word/vbaProject.bin 36864 bytes