Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 19ebb3c30c979ef3…

MALICIOUS

Office (OOXML)

7.96 MB Created: 2021-11-02 21:56:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-11-22
MD5: d01b3dc5cfb10978c0f7b42b3d7ce52a SHA-1: 1629d8ddb47efba31e8eb54f488f40bc9d53cb41 SHA-256: 19ebb3c30c979ef3085731a6c552c1fba2a1d5597d93ffe084c9fe5c607d87a7
242 Risk Score

Malware Insights

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

The sample is an OOXML document containing a VBA project with an obfuscated auto-exec loader. The 'Document_Open' macro utilizes 'CreateObject' to likely download and execute a second-stage payload, as indicated by the 'OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER' heuristic. The external relationship points to a template file, suggesting a potential phishing lure.

Heuristics 7

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • External relationship high OOXML_EXTERNAL_REL
    External target in word/_rels/settings.xml.rels: file:///C:\Users\Whoami\AppData\Roaming\Microsoft\Templates\Panfleto de festa esportiva.dotx
  • 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://ns.adobe.com/xap/1.0/ OOXML external relationship
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#OOXML external relationship
    • http://purl.org/dc/elements/1.1/OOXML external relationship
    • http://ns.adobe.com/photoshop/1.0/OOXML external relationship
    • http://ns.adobe.com/xap/1.0/mm/OOXML external relationship
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#OOXML external relationship

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 8119461 bytes
SHA-256: aae1e8e1219ce780d03beec0ca9eab9fb08dc210ec1252a555739b65a451cc5b
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1TemplateProject.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
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:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
:
:
:
::
:
:
:
:
:
:
…
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 8388608 bytes
SHA-256: 6c754bfcb557ac8edaebdaee24790c25cd04c8282e6d1afc4a4bf7032408aaac