Create process.vba

patch-1
Mr.Un1k0d3r 2017-08-03 14:34:08 -04:00 committed by GitHub
parent 96abc17e60
commit ff33ef83b6
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
[use:func_evasion_process]
[use:func_evasion_get_process]
[use:func_evasion_process_wrapper]
Function func_evasion_process() As String
Dim func_evasion_process1 As String
Dim func_evasion_process2 As Object
Dim func_evasion_process3 As Object
Dim func_evasion_process = "bool1"
Set func_evasion_process2 = GetObject(decode("{[winmgmts:\\.\root\cimv2]}"))
Set func_evasion_process3 = func_evasion_process2.ExecQuery(decode("{[SELECT Name FROM Win32_Process]}"))
func_evasion_process1 = "data1"
func_evasion_process1 = func_evasion_get_process()
For Each func_evasion_process4 In func_evasion_process3
If func_evasion_process4.Name = func_evasion_process1 Then
func_evasion_process = "bool2"
End If
Next
End Function
Function func_evasion_get_process() As String
Dim func_evasion_get_process1 As String
Dim func_evasion_get_process2 As String
Dim func_evasion_get_process3 As Integer
func_evasion_get_process3 = [int100]
func_evasion_get_process1 = "[PROCESS_NAME]"
func_evasion_get_process2 = "decode"
func_evasion_get_process = func_evasion_process_wrapper(func_evasion_get_process2, func_evasion_get_process1, func_evasion_get_process3)
End Function
Function func_evasion_process_wrapper(func_evasion_process_wrapper1 As String, func_evasion_process_wrapper2 As String, func_evasion_process_wrapper3 As Integer) As String
If (func_evasion_process_wrapper3 > 1) Then
func_evasion_process_wrapper = Application.Run(func_evasion_process_wrapper1, func_evasion_process_wrapper2)
End If
End Function