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

Static analysis result for SHA-256 d8151875b740aaaa…

MALICIOUS

Office (OOXML) / .XLSM

84.9 KB Created: 2021-02-15 18:43:46 UTC Authoring application: Microsoft Excel 16.0300
MD5: 48e567664298157a3c42d68505a0b2d8 SHA-1: 094904b2dc1b565496f2b117194aaead49995998 SHA-256: d8151875b740aaaa169d95c2c4593579a1d57e371b2a97602a02a5496de7fd8f
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's Shell() function. The command executed by Shell() is obfuscated using character-shifting functions (Asc, Chr, Mid) and is likely designed to download and execute a second-stage payload. The presence of these critical heuristics strongly indicates a malicious macro downloader.

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
2b63b7bacafbf194771b203f66e5f95c31ad64a344762d81e48d1e5ab7c15f69
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 19857 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
febfff4eaefc69867a367e5f062f9643e3cf7a10b9e02c007ea8d6e4eb92bf90
vba-project OOXML VBA project: xl/vbaProject.bin 29696 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.