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

Static analysis result for SHA-256 e6730e0ec4fc1337…

MALICIOUS

Office (OOXML) / .XLSM

84.9 KB Created: 2021-02-17 14:27:14 UTC Authoring application: Microsoft Excel 16.0300
MD5: 4ccae20f931eab3614a54b817e9848ae SHA-1: b6d4f9826228950b591084f2e1673c8900f2f4bb SHA-256: e6730e0ec4fc13379362ba27c2cfa11433df8bb52fb55fd618109decac20f874
220 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell

This XLSM file contains a Workbook_Open macro that utilizes VBA character-shift decoding to execute a command via the Shell() function. This indicates the macro is designed to download and execute a second-stage payload. The specific command and its target are obfuscated, but the auto-execution and shell invocation are clear indicators of malicious intent.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA character-shift decoded Shell command critical OLE_VBA_ASC_CHR_SHIFT_SHELL
    VBA auto-exec macro stores an encoded command string, decodes it with a Mid/Asc/Chr character-shift loop, and passes the recovered text to Shell. This is a high-confidence command stager.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • 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
66347f75ee15e9e8ca9b505fba42ac28101d7382d98c67a038fae859540a2aa0
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 19861 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
d679e7e6ce645e9b2d6a29219bb094d519fe299fba4b471a0bd850feaaca7904
vba-project OOXML VBA project: xl/vbaProject.bin 29696 bytes