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

Static analysis result for SHA-256 57f8a6dbf30cfe4d…

MALICIOUS

Office (OOXML) / .XLSX

18.9 KB Created: 2006-09-16 00:00:00 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2022-06-21
MD5: 678b0232dcc2eeb23ede8de6b29a06dd SHA-1: 95786b2d397d8c97e9951c45df4cd0c0c4747e96 SHA-256: 57f8a6dbf30cfe4debcf7ccb970aa064c05e37ba7ee3241a10eda6699909289b
362 Risk Score

Malware Insights

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

The sample is an Excel document containing a Workbook_Open macro that executes a PowerShell command. This command downloads a Python script from http://marine.gov.ua/test12.txt to C:\users\MarynaVosmeryk\Documents\main.py. Subsequently, another PowerShell command executes this downloaded Python script. The script then attempts to launch Chrome with a local HTML file, likely as a distraction or to further obfuscate its actions. The use of Workbook_Open, Shell(), WScript.Shell, and PowerShell indicates a downloader or initial access stage.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_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.
  • 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://marine.gov.ua/test12.txt

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
8159aaf2e20ee54d48710425a66bc9e48c4ca2e500170e7941bad6c51b277881
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1752 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 6 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
c3da727a01b84e3c398247bb73ec4193e142539f5bf9527eff98dd65ecefc0bf
vba-project OOXML VBA project: xl/vbaProject.bin 19456 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 6 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.