Commit Graph

1051 Commits (440e2df1f3a226172911b86c33cdda51a86650e0)

Author SHA1 Message Date
Marshall Hallenbeck cd6a9cf8c1 update how workspaces are created so tests can utilize functionality 2023-03-24 15:19:57 -04:00
mpgn 4c2aefba2f add exist function to cmedb 2023-03-24 15:19:55 -04:00
mpgn 528b2c7db8 Update message and module for ntdsutil module 2023-03-24 15:19:18 -04:00
mpgn ea0b542c94 Update message and module for ntdsutil module 2023-03-24 15:19:18 -04:00
Marshall Hallenbeck 5ffedc821d fix: check if ntds attribute exists properly 2023-03-24 15:19:18 -04:00
famos0 fd8216046d fix log for modules 2023-03-24 15:19:03 -04:00
mpgn b994efc418 add warning when dumping ntds 2023-03-24 15:19:03 -04:00
Marshall Hallenbeck bf7352b98e update how workspaces are created so tests can utilize functionality 2023-03-24 15:19:00 -04:00
Marshall Hallenbeck 48d94bf33e update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:58 -04:00
Marshall Hallenbeck 60405795b2 update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:55 -04:00
mpgn b7e92281ab add exist function to cmedb 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck a678e92d6f update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:37 -04:00
famos0 a3990a6ce4 fix log for modules 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 9b8b3f2a29 fix(shadowcoerce): catch error on session disconnect 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 4569a632cf fix(smb): handle SMB SessionErrors when enumerating local groups 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 9cad93fb3a fix(smb): handle ACCESS_DENIED issues when bruteforcing RIDs 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 4ad86cee0d fix(smb): handle additional SMB connection errors, including unknown nt errors that impacket doesnt have 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck ce15480d02 update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 2da1d4ae75 update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:37 -04:00
mpgn 91e508441a add exist function to cmedb 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 09803effec update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck c4faff639a update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 38e91b9124 update how workspaces are created so tests can utilize functionality 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 753a5cf716 fix(cmedb): remove twice redundant functions that I messed up with rebase 2023-03-24 14:40:32 -04:00
Marshall Hallenbeck 66efb68e70 fix(context): fix the context because my rebase/merge messed it up 2023-03-24 14:30:47 -04:00
Marshall Hallenbeck 63a6df6763 replace deprecated imp with importlib 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck c343e7b9f7 update nopac module to catch error connecting to Kerberos and fix formatting 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck a52b527415 update install_elevated module to catch login cleanup and fix formatting 2023-03-24 14:25:17 -04:00
mpgn cb8d080dcf add exist function to cmedb 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck 5521037b24 update how workspaces are created so tests can utilize functionality 2023-03-24 14:25:17 -04:00
famos0 4a05a33fe9 fix log for modules 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck bbc1803b2b fix(shadowcoerce): catch error on session disconnect 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck 67bc50ca44 fix(smb): handle SMB SessionErrors when enumerating local groups 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck 8be90461c7 fix(smb): handle ACCESS_DENIED issues when bruteforcing RIDs 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck d112bfcbfb fix(smb): handle additional SMB connection errors, including unknown nt errors that impacket doesnt have 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck 99155af7af update how workspaces are created so tests can utilize functionality 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck b3ab4b06d9 update how workspaces are created so tests can utilize functionality 2023-03-24 14:25:17 -04:00
mpgn 8c4c08d88e add exist function to cmedb 2023-03-24 14:25:15 -04:00
Marshall Hallenbeck 47132d0777 update how workspaces are created so tests can utilize functionality 2023-03-24 14:24:38 -04:00
Marshall Hallenbeck 502e0b0eea update how workspaces are created so tests can utilize functionality 2023-03-24 14:24:37 -04:00
Marshall Hallenbeck 64102b35db update how workspaces are created so tests can utilize functionality 2023-03-24 14:24:34 -04:00
Marshall Hallenbeck fcb5d972c5 update ldap formatting and error checking; LDAPS port can be open but not configured 2023-03-24 11:06:40 -04:00
Marshall Hallenbeck 1a4a887d4e chore(ldap): update formatting 2023-03-24 10:19:05 -04:00
Marshall Hallenbeck 08871f398e refactor(ldap): update some formatting 2023-03-24 09:48:40 -04:00
mpgn e83abe71be Update message and module for ntdsutil module 2023-03-23 23:59:17 -04:00
mpgn 4e6697b844 Update message and module for ntdsutil module 2023-03-23 23:59:14 -04:00
mpgn 0c50cd0962 add exist function to cmedb 2023-03-23 23:51:50 -04:00
mpgn e873efea35 Bump to 5.4.6 2023-03-23 23:51:50 -04:00
mpgn a55e49ee36 Update get-file output file 2023-03-23 23:51:50 -04:00
twosevenzero 8233c5bf48 Closes Issue #697. Added a flag to append self.host to the filename of the retrieved file from the get-file option. 2023-03-23 23:51:49 -04:00
Bebzounette 433107ba6d Ported reg.py from Impacket to CME to add, delete, modify and query registry keys remotly 2023-03-23 23:51:49 -04:00
mpgn ac057065fb Update message and module for ntdsutil module 2023-03-23 23:51:49 -04:00
mpgn 61c4738e00 Update message and module for ntdsutil module 2023-03-23 23:51:49 -04:00
famos0 b9f0b25938 update ntdsutil db interactions 2023-03-23 23:51:49 -04:00
famos0 f9f87b1cc4 finish ntdsutil.py module 2023-03-23 23:51:49 -04:00
famos0 7840d0050e add random outputdir 2023-03-23 23:51:49 -04:00
famos0 13ae941d34 add ntdsutil module 2023-03-23 23:51:49 -04:00
Marshall Hallenbeck 66c9c5ee13 replace deprecated imp with importlib 2023-03-23 23:31:49 -04:00
Marshall Hallenbeck b6f54b4ad7 refactor(modules): fix some code reuse and formatting 2023-03-23 23:25:26 -04:00
Marshall Hallenbeck ddb5d54c95 update nopac module to catch error connecting to Kerberos and fix formatting 2023-03-23 23:21:43 -04:00
Marshall Hallenbeck 89cd804e10 update install_elevated module to catch login cleanup and fix formatting 2023-03-23 23:21:16 -04:00
mpgn 771f002c53 add exist function to cmedb 2023-03-23 16:13:44 -04:00
mpgn 25d2049f60 Bump to 5.4.6 2023-03-23 15:58:41 -04:00
Marshall Hallenbeck 84e239c139 fix(modules): return and compare lowercase modules names, since case should not matter 2023-03-23 13:52:36 -04:00
mpgn e791c817f6 Update get-file output file 2023-03-23 07:13:18 -04:00
twosevenzero c725094bd9 Closes Issue #697. Added a flag to append self.host to the filename of the retrieved file from the get-file option. 2023-03-23 07:04:07 -04:00
Bebzounette 6c8edf2b7c Ported reg.py from Impacket to CME to add, delete, modify and query registry keys remotly 2023-03-23 06:58:46 -04:00
mpgn d47ba0f1d0 Update message and module for ntdsutil module 2023-03-23 06:44:26 -04:00
mpgn 028fee2185 Update message and module for ntdsutil module 2023-03-23 06:43:13 -04:00
famos0 9bbd4486bc update ntdsutil db interactions 2023-03-23 10:24:57 +01:00
famos0 42c85b5eb6 Merge branch 'master' into ntdsutil 2023-03-23 10:21:39 +01:00
Marshall Hallenbeck e7fcea0851 feat(modules): allow multiple modules to be ran 2023-03-22 16:51:08 -04:00
Marshall Hallenbeck 2c762989eb fix: check if ntds attribute exists properly 2023-03-22 12:10:00 -04:00
Marshall Hallenbeck 3cdb3cdf0b fix(cmedb): update error message to instruct user to only delete the workspaces folder 2023-03-22 11:58:49 -04:00
Marshall Hallenbeck 772986c0fa fix(cmedb): display error if DB reflection fails for new schema and tell user how to fix it 2023-03-22 11:51:24 -04:00
famos0 cebb70cb6f finish ntdsutil.py module 2023-03-22 12:40:04 +01:00
mpgn 5c5a9bb3c9
Update context.py 2023-03-22 12:23:20 +01:00
mpgn d79cb7d62b
Merge branch 'master' into cmedb_marshall 2023-03-22 12:22:33 +01:00
mpgn 0a06696daf
Merge pull request #14 from mpgn/fix_log
fix log for modules
2023-03-22 10:49:07 +01:00
famos0 710a7559c2 add random outputdir 2023-03-22 10:45:02 +01:00
famos0 8545e76f04 fix log for modules 2023-03-22 10:36:08 +01:00
famos0 0482a98ff5 add ntdsutil module 2023-03-22 10:35:18 +01:00
mpgn e4cc4974a2
Merge branch 'master' into cmedb_marshall 2023-03-21 23:09:18 +01:00
mpgn 7af90207a8 add warning when dumping ntds 2023-03-21 17:07:18 -04:00
famos0 ab5b85e7ad add dpapi export option + handle wrong args 2023-03-21 11:17:44 +01:00
famos0 a2fa196cc8 fix pool error when exit 2023-03-21 10:42:14 +01:00
famos0 3980362dd1 add helper for cmedb dpapi 2023-03-21 10:41:10 +01:00
Marshall Hallenbeck 9b16a5bd4e feat(cmedb): add ability to export IPs of hosts with signing disabled, different implementation from pull #758 2023-03-20 22:03:23 -04:00
Marshall Hallenbeck 928d26a428 feat(cmedb): add exit command 2023-03-20 17:14:07 -04:00
Marshall Hallenbeck c60cc1ec38 feat(cmedb): update vnc protocol to match updated cmedb database loading 2023-03-18 18:15:30 -04:00
Marshall Hallenbeck 4adb335a58 fix(smb): update add_share() to ignore if the share already exists 2023-03-17 20:33:03 -04:00
Marshall Hallenbeck 119677364c fix(zerologon): remove old debug logging format that isnt supported in newer Python versions 2023-03-17 20:19:24 -04:00
Marshall Hallenbeck f6ff5ec37c fix(dpapi): do nothing if dpapi secret is already in database 2023-03-17 14:36:19 -04:00
Marshall Hallenbeck b69e070674 fix(mssql): remove group references since mssql db doesnt have groups 2023-03-17 13:03:13 -04:00
Marshall Hallenbeck d59c107350 return updated host ids if any were updated 2023-03-17 13:02:46 -04:00
Marshall Hallenbeck 915062b420 fix(smb): groups functionality again returns inserted or updated group ids 2023-03-17 12:56:20 -04:00
mpgn 4879895a02 add version option 2023-03-17 11:19:06 -04:00
Marshall Hallenbeck 192203972e chore(imports): remove unused imports 2023-03-17 10:52:30 -04:00
Marshall Hallenbeck b5493295c8 fix(smb): readd functionality to add loggedin_relation to db without RETURNING clause 2023-03-17 09:58:12 -04:00
Marshall Hallenbeck 10efcc9d42 fix: remove remaining returned ids from sqlalchemy queries due to RETURNING clause 2023-03-17 09:13:16 -04:00