Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 3317d869f7521a47…

MALICIOUS

Office (OOXML)

16.0 KB Created: 2021-09-08 11:16:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-09-18
MD5: cebe22475d9d115272c20c69d69ff421 SHA-1: 0a0be3d0d2a68796c5f6635e605cbda9243ef50f SHA-256: 3317d869f7521a47e73cdae709399d492a3b1b93854d8a0d325d43f425d2c1ce
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample contains a VBA macro with a Document_Open subroutine that executes a command using the Shell() function. This command attempts to launch Chrome and navigate to a specific YouTube URL, which is likely a lure or a redirection to a malicious site. The presence of the Document_Open macro and the Shell() call strongly indicates a downloader or dropper functionality.

Heuristics 6

  • ClamAV: Doc.Macro.Downloader-6360616-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.Downloader-6360616-1
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call 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.
  • 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 In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)
    • https://www.youtube.com/watch?v=dQw4w9WgXcQIn document text (OOXML body / shared strings)

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) 454 bytes
SHA-256: 509097e2e93c6012d147ba451d8c42efa516aa2fb624c904ba1dd4765328840a
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.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
Private Sub Document_Open()
    Shell ("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -url https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    
End Sub
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 11264 bytes
SHA-256: 8d5a5d95d98611588b2ee4ff1f128ac980563101826917f186ae79f253e49bca
Detection
ClamAV: Doc.Macro.Downloader-6360616-1
Obfuscation or payload: unlikely