Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 905204c11a871a32…

MALICIOUS

Office (OOXML)

14.1 KB Created: 2021-08-30 20:29:26 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-09-17
MD5: b9ca33ce26521d94b785037df2480e7e SHA-1: 5fdae878051eef07ee186107140030c88938faf5 SHA-256: 905204c11a871a3264aa244344f99c56d06f6f6079abaf9cc07d6b4e4efc776d
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell

The Auto_Open VBA macro within the OOXML document executes cmd.exe multiple times. Each execution attempts to open the URL http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png. While the URL itself is confirmed benign, the repeated execution of cmd.exe via a macro indicates a malicious intent to interact with the system and potentially download further payloads or perform other actions.

Heuristics 6

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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 http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png 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) 2550 bytes
SHA-256: 6da5fe816160e41601f736a1b45e1ede15ea1cba57d4709a8722617d84116589
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub Auto_Open()
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))
Shell ("C:\WINDOWS\SYSTEM32\cmd.exe /k start http://assets.stickpng.com/images/580b585b2edbce24c47b2a2c.png")
Application.Wait (Now + TimeSerial(0, 0, 5))

End Sub

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
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 18944 bytes
SHA-256: b81eea1965868da90513a4ff12c256c29de72bc909047894c97b98dc6e03e413