forked from trustedsec/CS-Remote-OPs-BOF
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from freefirex/main
Add majority of TrustedSec public Remote-Ops BOF's
- Loading branch information
Showing
33 changed files
with
655 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "processdestroy", | ||
"version": "0.0.0", | ||
"command_name": "remote-process-destroy", | ||
"extension_author": "TrustedSec", | ||
"original_author": "TrustedSec", | ||
"repo_url": "N/A", | ||
"help": "Attempt to crash a local process by cutting all handles in it.", | ||
"depends_on": "coff-loader", | ||
"entrypoint": "go", | ||
"files": [ | ||
{ | ||
"os": "windows", | ||
"arch": "amd64", | ||
"path": "ProcessDestroy.x64.o" | ||
}, | ||
{ | ||
"os": "windows", | ||
"arch": "386", | ||
"path": "ProcessDestroy.x86.o" | ||
} | ||
], | ||
"arguments": [ | ||
{ | ||
"name": "pid", | ||
"desc": "Process id to manipulate", | ||
"type": "integer", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "handleNumber", | ||
"desc": "Handle ID you want to cut, cut all if not provided", | ||
"type": "integer", | ||
"optional": true | ||
} | ||
] | ||
} |
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "ProcessListHandles", | ||
"version": "0.0.0", | ||
"command_name": "remote-process-list-handles", | ||
"extension_author": "TrustedSec", | ||
"original_author": "TrustedSec", | ||
"repo_url": "N/A", | ||
"help": "list the various handles a process has open", | ||
"depends_on": "coff-loader", | ||
"entrypoint": "go", | ||
"files": [ | ||
{ | ||
"os": "windows", | ||
"arch": "amd64", | ||
"path": "ProcessListHandles.x64.o" | ||
}, | ||
{ | ||
"os": "windows", | ||
"arch": "386", | ||
"path": "ProcessListHandles.x86.o" | ||
} | ||
], | ||
"arguments": [ | ||
{ | ||
"name": "pid", | ||
"desc": "pid to list handles of", | ||
"type": "int", | ||
"optional": false | ||
} | ||
] | ||
} |
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,6 @@ | |
"desc": "Username to unlock / enable", | ||
"type": "wstring", | ||
"optional": false | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"name": "reg_delete", | ||
"version": "0.0.0", | ||
"command_name": "remote-reg-delete", | ||
"extension_author": "TrustedSec", | ||
"original_author": "TrustedSec", | ||
"repo_url": "https://github.com/sliverarmory/CS-Remote-OPs-BOF", | ||
"help": "Delete a registry key or value", | ||
"depends_on": "coff-loader", | ||
"entrypoint": "go", | ||
"files": [ | ||
{ | ||
"os": "windows", | ||
"arch": "amd64", | ||
"path": "reg_delete.x64.o" | ||
}, | ||
{ | ||
"os": "windows", | ||
"arch": "386", | ||
"path": "reg_delete.x86.o" | ||
} | ||
], | ||
"arguments": [ | ||
{ | ||
"name": "hostname", | ||
"desc": "\"\"=local else remote hostname", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "hive", | ||
"desc": "0=HKCR|1=HKCU|2=HKLM|3=HKU", | ||
"type": "int", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "path", | ||
"desc": "registry key path", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "value", | ||
"desc": "value under key to delete, use \"\" when deleteing a whole key", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "Deletekey", | ||
"desc": "Set to 1 when deleting a whole key", | ||
"type": "int", | ||
"optional": true | ||
} | ||
] | ||
} |
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "reg_save", | ||
"version": "0.0.0", | ||
"command_name": "remote-reg-save", | ||
"extension_author": "TrustedSec", | ||
"original_author": "TrustedSec", | ||
"repo_url": "https://github.com/sliverarmory/CS-Remote-OPs-BOF", | ||
"help": "backup a registry have to a file on disk (requires Enabled SEBackup Priv)", | ||
"depends_on": "coff-loader", | ||
"entrypoint": "go", | ||
"files": [ | ||
{ | ||
"os": "windows", | ||
"arch": "amd64", | ||
"path": "reg_save.x64.o" | ||
}, | ||
{ | ||
"os": "windows", | ||
"arch": "386", | ||
"path": "reg_save.x86.o" | ||
} | ||
], | ||
"arguments": [ | ||
{ | ||
"name": "path", | ||
"desc": "parent key to initiate save from", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "output_path", | ||
"desc": "path on target disk to write backup to", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "hive", | ||
"desc": "0=HKCR|1=HKCU|2=HKLM|3=HKU", | ||
"type": "int", | ||
"optional": false | ||
} | ||
] | ||
} |
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"name": "sc_config", | ||
"version": "0.0.0", | ||
"command_name": "remote-sc-config", | ||
"extension_author": "TrustedSec", | ||
"original_author": "TrustedSec", | ||
"repo_url": "https://github.com/sliverarmory/CS-Remote-OPs-BOF", | ||
"help": "configure an existing service", | ||
"depends_on": "coff-loader", | ||
"entrypoint": "go", | ||
"files": [ | ||
{ | ||
"os": "windows", | ||
"arch": "amd64", | ||
"path": "sc_config.x64.o" | ||
}, | ||
{ | ||
"os": "windows", | ||
"arch": "386", | ||
"path": "sc_config.x86.o" | ||
} | ||
], | ||
"arguments": [ | ||
{ | ||
"name": "hostname", | ||
"desc": "hostname to modify service on use \"\" for local system", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "service_name", | ||
"desc": "name of service to configure", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "binpath", | ||
"desc": "New binary path for service", | ||
"type": "string", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "error_mode", | ||
"desc": "new error mode for service binary\n\t\t0=ignore|1=normal|2=severe|3=critical", | ||
"type": "short", | ||
"optional": false | ||
}, | ||
{ | ||
"name": "start_mode", | ||
"desc": "start mode for service\n\t\t2=auto|3=demand|4=disable", | ||
"type": "short", | ||
"optional": false | ||
} | ||
|
||
] | ||
} |
This file contains 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 characters
Oops, something went wrong.