You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
Copy file name to clipboardexpand all lines: CodeExecution/Invoke-ReflectivePEInjection.ps1
+17-5
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ from the DLL. The script doesn't wait for the DLL to complete execution, and doe
23
23
remote process.
24
24
25
25
26
-
While this script provides functionality to specify a file to load from disk or from a URL, these are more for demo purposes. The way I'd recommend using the script is to create a byte array
26
+
While this script provides functionality to specify a file to load from disk a URL, or a byte array, these are more for demo purposes. The way I'd recommend using the script is to create a byte array
27
27
containing the file you'd like to reflectively load, and hardcode that byte array in to the script. One advantage of doing this is you can encrypt the byte array and decrypt it in memory, which will
28
28
bypass A/V. Another advantage is you won't be making web requests. The script can also load files from SQL Server and be used as a SQL Server backdoor. Please see the Casaba
29
29
blog linked below (thanks to whitey).
@@ -33,7 +33,7 @@ Author: Joe Bialek, Twitter: @JosephBialek
33
33
License: BSD 3-Clause
34
34
Required Dependencies: None
35
35
Optional Dependencies: None
36
-
Version: 1.3
36
+
Version: 1.4
37
37
38
38
.DESCRIPTION
39
39
@@ -47,6 +47,10 @@ The path of the DLL/EXE to load and execute. This file must exist on the compute
47
47
48
48
A URL containing a DLL/EXE to load and execute.
49
49
50
+
.PARAMETERPEBytes
51
+
52
+
A byte array containing a DLL/EXE to load and execute.
53
+
50
54
.PARAMETERComputerName
51
55
52
56
Optional, an array of computernames to run the script on.
0 commit comments