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

Static analysis result for SHA-256 1d331bbcf7e801e2…

MALICIOUS

Office (OOXML) / .XLSM

33.2 KB Created: 2020-05-26 06:48:34 UTC Authoring application: Microsoft Excel 16.0300
MD5: 89280d87bdbea3cf0b60f1cac1226170 SHA-1: cdbbe45aebe40db9c89bdbec1619bc40c071155e SHA-256: 1d331bbcf7e801e2fc758dec052fb6e048eff989b4f062e4dd6844f98efdc769
230 Risk Score

Malware Insights

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

The file is an XLSM document containing Excel 4.0 macros. The macros utilize dangerous functions like RUN and CALL, indicating an attempt to download and execute a payload. Specifically, the `RUN($FM$434)` and `RUN($AN$54)` formulas suggest the execution of external code. The `CONCATENATE` function is used to construct strings, likely for further commands or URLs. The presence of a suspicious URL, `https://coNsaLtiNger.coM`, further supports the malicious intent of downloading a second-stage payload.

Heuristics 7

  • Excel 4.0 macro sheet (1 sheet(s)) critical OOXML_XLM_MACROSHEET
    Spreadsheet contains an Excel 4.0 (XLM) macro sheet — XLM was a major Office malware vector during 2020-2022 and evaded many VBA-focused controls before Microsoft tightened XLM defaults. Even legitimate XLM use is rare in modern workbooks.
  • Excel 4.0 Auto_Open defined name critical OOXML_XLM_AUTOOPEN_DEFINEDNAME
    Workbook defines _xlnm.Auto_Open or _xlnm.Auto_Close while containing an XLM macro sheet. This is the OOXML/XLSB auto-execution shape for Excel 4.0 macros.
  • Dangerous XLM formula APIs: RUN, CALL, HALT critical OOXML_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet uses formula APIs that call directly into Win32 (=CALL/=EXEC/=REGISTER/=FORMULA). These are the primitives used to download payloads, write files, and start processes from an XLM macro without invoking VBA.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Suspicious extracted artifact medium 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.
  • Hidden worksheet (veryHidden) low OOXML_HIDDEN_SHEET
    Excel workbook contains 1 hidden sheet(s) — hidden sheets are commonly used to conceal macro code, staging data, or intermediate payload construction
  • 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://coNsaLtiNger.coM
    • http://schemas.openxmlformats.org/spreadsheetml/2006/main
    • http://schemas.microsoft.com/office/excel/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

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
92a1cd36ac1b43fe8ed16a149a9ce25a2253062eb19c04907736a98fa042e3f1
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 685 bytes
vbaProject_00.bin
ff1b7b152a8a43fbbdaa7be86e34c1a9ae552407236e12db6d0a61d839b0deb4
vba-project OOXML VBA project: xl/vbaProject.bin 12800 bytes
xlm_sheet_00.xml
909b6a52b1678dd664a51743202676415f1560beb36c570f1abf82ccdde5be0f
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/sheet1.xml 52352 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 shell/COM execution token(s).