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

Static analysis result for SHA-256 2ba5038623de0d3c…

MALICIOUS

Office (OOXML) / .DOC

919.4 KB Created: 2021-08-18 19:58:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 43e29d4664cd41c7715ecda023beceff SHA-1: 09048e11d8a71d2473d6db7d2cbf88f6d8083e2b SHA-256: 2ba5038623de0d3c24d341ffb3db2f04ffb00af73633b2ddeea6aafd15893d97
382 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1059.003 Windows Command Shell

The sample contains a VBA macro with an AutoOpen subroutine that executes a PowerShell command. This command downloads a file named MSUpdater.exe from 'https://storage.googleapis.com/msofficeupdater/MSUpdater.exe' to 'C:\Users\Public\MSUpdater.exe'. The extensive use of nested cmd.exe calls suggests an attempt to obfuscate the execution of the PowerShell command. The ClamAV detection 'Doc.Downloader.Pwshell-10001336-0' further confirms its malicious nature as a downloader.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • ClamAV: Doc.Downloader.Pwshell-10001336-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Pwshell-10001336-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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 https://storage.googleapis.com/msofficeupdater/MSUpdater.exe
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas
    • http://schemas.microsoft.com/office/drawing/2014/chartex
    • http://schemas.microsoft.com/office/drawing/2015/9/8/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/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://www.gimp.org/xmp/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/xap/1.0/

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
bb00c02791f2bb20c90b420e7fa10ef14464c2bbe0f4398756decad7f1ec65b0
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2489 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 161 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
3206a51e1579152f2aab324e3e98ac996e7ca471e2f21fa340a8bddf3896c0fe
vba-project OOXML VBA project: word/vbaProject.bin 11776 bytes
Detection
ClamAV: Doc.Downloader.Pwshell-10001336-0
Obfuscation or payload: likely
Carved artifact contains 161 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.