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

Static analysis result for SHA-256 6e4dd80fc7a0b4a9…

MALICIOUS

Office (OOXML) / .XLSM

40.6 KB Created: 2021-03-15 12:53:22 UTC Authoring application: Microsoft Excel 16.0300
MD5: fbdc93eba3d85daa84b15b534d01ad86 SHA-1: b60035635c6dabd34f35ed5729df7ada641d51d3 SHA-256: 6e4dd80fc7a0b4a9ccb96d35ea609227f1e89274b3836f424d9ecbb43791c75d
210 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The sample is an XLSM file containing Excel 4.0 macros, which are known to be used for malicious purposes. The critical heuristics indicate the presence of dangerous XLM formula APIs like RETURN, which can be used to download and execute payloads. The VBA script explicitly calls the URLDownloadToFileA function, confirming its intent to download a second-stage payload from a URL.

Heuristics 6

  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
  • 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.
  • Dangerous XLM formula APIs: RETURN 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 a VBA project — VBA macros present
  • Hidden worksheet (hidden) 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 http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/photoshop/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • 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
4b64436373195a80360bde6a497c3849be16c627bf6047e3d2c7a46b7e1f2b1a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3014 bytes
vbaProject_00.bin
50872f4d7224548feb45a6fc713cce2baa2385de5567cfe3c75cede41973f47a
vba-project OOXML VBA project: xl/vbaProject.bin 24576 bytes
xlm_sheet_00.xml
51d5ceb69c668d371a4c9bdae8ac666f1ffe5283372066c032a6959a65a45674
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/sheet1.xml 953 bytes