Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds three new Tasks that leverage the SharpsSploit.Execution.Injection namespace. Tasks names include "ProcessInjection" because otherwise they just don't work properly (#252).
ProcessInjectionRemote [ExecutionTechnique] [ProcessID] [PICpayload]
ProcessInjectionRemote CreateRemoteThread 1234 grunt.bin
ProcessInjectionLocal [PICpayload]
ProcessInjectionLocal meterpreterx64.bin
ProcessInjectionSpawn [ExecutionTechnique] [Binary] [PICpayload] (ParentPID) (BlockDLL)
ProcessInjectionSpawn CreateRemoteThread C:\windows\system32\notepad.exe beaconx64.bin
ProcessInjectionSpawn CreateRemoteThread C:\windows\system32\notepad.exe beaconx64.bin 5523 true
Tasks code has been adapted from the workshop Ryan Cobb did at Black Hat Arsenal USA 2020.
Thanks to @fuzzysec and @TheRealWover for the process injection additions.
These tasks require cobbr/SharpSploit#64 to be merged.