Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 307e45477a02bf45…

MALICIOUS

Office (OOXML)

120.1 KB Created: 2006-09-16 00:00:00 UTC Authoring application: Microsoft Excel 14.0300 First seen: 2021-05-26
MD5: 136846c0bf2dfd709c86e64c4e495b5f SHA-1: afb1ee2054103e25c2de631086cc4bdf2b1d1f68 SHA-256: 307e45477a02bf45fcc7ef6d62ea56e7d0e8bfcf3a6d71196f4ed47033410c80
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The file contains Excel 4.0 macros, indicated by the 'OOXML_XLM_MACROSHEET' and 'OOXML_XLM_AUTOOPEN_DEFINEDNAME' heuristics. Crucially, it utilizes dangerous XLM functions like CALL and EXEC, as flagged by 'OOXML_XLM_DANGEROUS_FN'. These functions are likely used to download and execute a second-stage payload from one of the embedded URLs, such as 'eh m-kav the embedded link/body'. The presence of these functions and the embedded URLs strongly suggests a malicious downloader.

Heuristics 4

  • Excel 4.0 macro sheet (2 sheet(s)) critical 2 related findings 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: EXEC, HALT, CALL 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.
  • 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 In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/excel/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/spreadsheetml/2009/9/acIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_sheet_00.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet2.xml 744 bytes
SHA-256: 07f4642ae693bcda0109647800937a545625151cf00c4004cbf3c380d0c360e6
Preview script
First 1,000 lines of the extracted script
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xm:macrosheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><dimension ref="A1"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><sheetData/><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></xm:macrosheet>
xlm_sheet_01.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet1.xml 207680 bytes
SHA-256: d0f00d5ec29552a4ac33f37541f0ec4947e2b9ca3e0e12d642423d0b6b2e1c40
Preview script
First 1,000 lines of the extracted script
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xm:macrosheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><dimension ref="A1:BW283"/><sheetViews><sheetView showFormulas="1" zoomScaleNormal="100" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="39" width="4.5703125" style="2"/><col min="40" max="40" width="4.5703125" style="2" customWidth="1"/><col min="41" max="44" width="4.5703125" style="2" hidden="1" customWidth="1"/><col min="45" max="16384" width="4.5703125" style="2"/></cols><sheetData><row r="1" spans="1:44" x14ac:dyDescent="0.25"><c r="A1" s="1"/><c r="B1" s="1"/><c r="C1" s="1"/><c r="D1" s="1"/><c r="E1" s="1"/><c r="F1" s="1"/><c r="G1" s="1"/><c r="H1" s="1"/><c r="I1" s="1"/><c r="J1" s="1"/><c r="K1" s="1"/><c r="L1" s="1"/><c r="M1" s="1"/><c r="N1" s="1"/><c r="O1" s="1"/><c r="P1" s="1"/><c r="Q1" s="1"/><c r="R1" s="1"/><c r="S1" s="1"/><c r="T1" s="1"/><c r="U1" s="1"/><c r="V1" s="1"/><c r="W1" s="1"/><c r="X1" s="1"/><c r="Y1" s="1"/><c r="Z1" s="1"/><c r="AA1" s="1"/><c r="AB1" s="1"/><c r="AC1" s="1"/><c r="AD1" s="1"/><c r="AE1" s="1"/><c r="AF1" s="1"/><c r="AG1" s="1"/><c r="AH1" s="1"/><c r="AI1" s="1"/><c r="AJ1" s="1"/></row><row r="2" spans="1:44" x14ac:dyDescent="0.25"><c r="A2" s="1"/><c r="B2" s="1"/><c r="C2" s="1"/><c r="D2" s="1"/><c r="E2" s="1"/><c r="F2" s="1"/><c r="G2" s="1"/><c r="H2" s="1"/><c r="I2" s="1"/><c r="J2" s="1"/><c r="K2" s="1"/><c r="L2" s="1"/><c r="M2" s="1"/><c r="N2" s="1"/><c r="O2" s="1"/><c r="P2" s="1"/><c r="Q2" s="1"/><c r="R2" s="1"/><c r="S2" s="1"/><c r="T2" s="1"/><c r="U2" s="1"/><c r="V2" s="1"/><c r="W2" s="1"/><c r="X2" s="1"/><c r="Y2" s="1"/><c r="Z2" s="1"/><c r="AA2" s="1"/><c r="AB2" s="1"/><c r="AC2" s="1"/><c r="AD2" s="1"/><c r="AE2" s="1"/><c r="AF2" s="1"/><c r="AG2" s="1"/><c r="AH2" s="1"/><c r="AI2" s="1"/><c r="AJ2" s="1"/></row><row r="3" spans="1:44" x14ac:dyDescent="0.25"><c r="A3" s="1"/><c r="B3" s="1"/><c r="C3" s="1"/><c r="D3" s="1"/><c r="E3" s="1"/><c r="F3" s="1"/><c r="G3" s="1"/><c r="H3" s="1"/><c r="I3" s="1"/><c r="J3" s="1"/><c r="K3" s="1"/><c r="L3" s="1"/><c r="M3" s="1"/><c r="N3" s="1"/><c r="O3" s="1"/><c r="P3" s="1"/><c r="Q3" s="1"/><c r="R3" s="1"/><c r="S3" s="1"/><c r="T3" s="1"/><c r="U3" s="1"/><c r="V3" s="1"/><c r="W3" s="1"/><c r="X3" s="1"/><c r="Y3" s="1"/><c r="Z3" s="1"/><c r="AA3" s="1"/><c r="AB3" s="1"/><c r="AC3" s="1"/><c r="AD3" s="1"/><c r="AE3" s="1"/><c r="AF3" s="1"/><c r="AG3" s="1"/><c r="AQ3" s="2" t="s"><v>0</v></c><c r="AR3" s="2" t="s"><v>1</v></c></row><row r="4" spans="1:44" x14ac:dyDescent="0.25"><c r="A4" s="1"/><c r="B4" s="1"/><c r="C4" s="1"/><c r="D4" s="1"/><c r="E4" s="1"/><c r="F4" s="1"/><c r="G4" s="1"/><c r="H4" s="1"/><c r="I4" s="1"/><c r="J4" s="1"/><c r="K4" s="1"/><c r="L4" s="1"/><c r="M4" s="1"/><c r="N4" s="1"/><c r="O4" s="1"/><c r="P4" s="1"/><c r="Q4" s="1"/><c r="R4" s="1"/><c r="S4" s="1"/><c r="T4" s="1"/><c r="U4" s="1"/><c r="V4" s="1"/><c r="W4" s="1"/><c r="X4" s="1"/><c r="Y4" s="1"/><c r="Z4" s="1"/><c r="AA4" s="1"/><c r="AB4" s="1"/><c r="AC4" s="1"/><c r="AD4" s="1"/><c r="AE4" s="1"/><c r="AF4" s="1"/><c r="AG4" s="1"/><c r="AQ4" s="2" t="s"><v>2</v></c><c r="AR4" s="2" t="s"><v>3</v></c></row><row r="5" spans="1:44" x14ac:dyDescent="0.25"><c r="A5" s="1"/><c r="B5" s="1"/><c r="C5" s="1"/><c r="D5" s="1"/><c r="E5" s="1"/><c r="F5" s="1"/><c r="G5" s="1"/><c r="H5" s="1"/><c r="I5" s="1"/><c r="J5" s="1"/><c r="K5" s="1"/><c r="L5" s="1"/><c r="M5" s="1"/><c r="N5" s="1"/><c r="O5" s="1"/><c r="P5" s="1"/><c r="Q5" s="1"/><c r="R5" s="1"/><c r="S5" s="1"/><c r="T5" s="1"/><c r="U5" s="1"/><c r="V5" s="1"/><c r="W5" 
... (truncated)