Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a5e041bbca8703ca…

MALICIOUS

Office (OLE)

193.5 KB Created: 2021-01-20 09:57:17 Authoring application: Microsoft Excel First seen: 2021-02-19
MD5: d13d6a0b26e250de56a397dff68b3959 SHA-1: f1e7c96c068c4eaa43ca5daa1f6c92267c93b51a SHA-256: a5e041bbca8703ca372616d9aa58ce33a40195cb1f8e0550731f14cb6d857d46
142 Risk Score

Heuristics 4

  • 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.
  • VBA project contains no executable statements info OLE_VBA_MACROS
    Document contains a VBA project, but extracted modules only contain attributes/options/comments and no executable statements.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 954 bytes
SHA-256: 7d3a58bf81e82c6e9515b8d740ae0c345c76335cf61ec26947e7503445add2c0
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, very hidden -  Macro
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     25 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Macro!P321 
' 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
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  Macro,P321,"IF(GET.WORKSPACE(1+18),,CLOSE(TRUE))",""
'  Macro,P322,"IF(GET.WORKSPACE(30+12),,CLOSE(TRUE))",""
'  Macro,P324,"IF(ISNUMBER(SEARCH("32",GET.WORKSPACE(1))),GOTO(M328),GOTO(N328))",""
'  Macro,M328,"FORMULA.FILL(O325&Q325,M329)",""
'  Macro,N328,"FORMULA.FILL(O325&Q327,N329)",""
'  Macro,M332,CLOSE(FALSE),""
'  Macro,N332,CLOSE(FALSE),""
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 606 bytes
SHA-256: 2d24921e10e203960452582f281cf8f8c4ffa9c8fc40bd7c703a4b9213addbc6
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Feuil1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True