Commit Graph

281 Commits (67c99b87dd4a6b80cdea36abe44435849ecad8d3)

Author SHA1 Message Date
mpgn 41ebc9bba4 replace cme_logger by the real oneé 2023-04-25 06:58:01 -04:00
mpgn 5674c73094 Fix lsa MD4 error 2023-04-25 06:41:44 -04:00
Alexander Neff 05f7e244cb Bug fixing 2023-04-23 14:07:02 +02:00
Alexander Neff a7d727c795 Formating 2023-04-23 13:45:42 +02:00
Alexander Neff d50dfad42f Remove self.args.continue_on_success from connection protocols and formating 2023-04-23 13:45:16 +02:00
Marshall Hallenbeck 6da074e73b update f-strings 2023-04-22 13:48:07 -04:00
Marshall Hallenbeck 88aeb3c04c
Merge branch 'master' into console_marshall 2023-04-22 13:45:10 -04:00
mpgn 059c6af3c2 fix laps core option with smb 2023-04-21 07:23:15 -04:00
mpgn 45effc625a core switch to fail instead of error function 2023-04-21 06:20:47 -04:00
mpgn d154627633 Add new Windows LAPS 2023-04-21 06:14:12 -04:00
mpgn 95da356e3b Add new Windows LAPS 2023-04-16 15:05:06 -04:00
Marshall Hallenbeck 13302234cc fix(smb): fix f-string for rid-brute 2023-04-14 15:11:43 -04:00
Marshall Hallenbeck 14bc33b866 more PEP8 and formatting fixes, also fix connection's kerberos_auth function definition 2023-04-12 12:37:19 -04:00
Marshall Hallenbeck 18c20f116a more f-string conversion 2023-04-11 23:55:11 -04:00
Marshall Hallenbeck de35fc5abd finalize double quote normalization and f-string conversion 2023-04-11 20:03:58 -04:00
Marshall Hallenbeck 15f8e25f23 normalize to double quotes for params 2023-04-11 19:53:20 -04:00
Marshall Hallenbeck a0880742a3 more formatting fixes 2023-04-11 11:54:06 -04:00
Marshall Hallenbeck 47ab04b178 clean up logging statements in smb.py 2023-04-11 11:48:45 -04:00
Marshall Hallenbeck e4005c6095 PEP8 work 2023-04-11 11:37:44 -04:00
mpgn 47cf9c9264 fix conflict 2023-04-07 11:26:20 -04:00
mpgn 81915c09b9 Fix kerberos auth with local-group function 2023-04-07 11:12:40 -04:00
Marshall Hallenbeck 908d72159e update logging and formatting 2023-04-07 10:30:31 -04:00
mpgn 82bf27f8b1 Fix issue with rid-brute and kerberos 2023-04-07 10:28:39 -04:00
Marshall Hallenbeck 1bc4150ea1 fix(logging): add fail log message for printing out to console and update smb to use 2023-04-04 23:01:20 -04:00
Marshall Hallenbeck fec7a667d2 fix(logging): update logging to use cme_logger and fix some formatting 2023-03-30 16:36:58 -04:00
Marshall Hallenbeck 9db621380b more logging and formatting fixes 2023-03-30 00:33:57 -04:00
Marshall Hallenbeck 26c026d003 feat(console): complete log overhaul, allowing more granular debug messages, and logging to console 2023-03-29 23:59:22 -04:00
Marshall Hallenbeck c42f9bcd3d feat(console): progress on dropping in console logging while keeping everything else the same 2023-03-29 14:19:31 -04:00
Marshall Hallenbeck 26db2ca3ed feat(console): properly print normal messages to console 2023-03-28 22:58:26 -04:00
Marshall Hallenbeck 1ade25cc10 feat(console): initial console implementation with progress bar 2023-03-27 12:18:29 -04:00
mpgn 51752f8e29 update wording on dump users function 2023-03-26 06:14:18 -04:00
mpgn 87e9fc4cce remove useless code from users function on smb proto 2023-03-26 06:08:52 -04:00
mpgn c7679c7acf revert some changes on smb 2023-03-25 16:10:31 -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
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
Marshall Hallenbeck 915062b420 fix(smb): groups functionality again returns inserted or updated group ids 2023-03-17 12:56:20 -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 1a71bb2e0b fix(sqlite): remove all RETURNING clauses from queries due to sqlite not supporting until 3.35 2023-03-16 18:02:20 -04:00
Marshall Hallenbeck c52a8566eb fix(dpapi): revert my 'fix', properly connect to DC via domain query 2023-03-16 08:34:52 -04:00
Marshall Hallenbeck 941efd353a fix(dpapi): update target to be the host instead of domain 2023-03-14 01:26:08 -04:00
Marshall Hallenbeck da99886ca8 fix(dpapi): update dpapi feature to sqlalchmey and update formatting 2023-03-14 01:25:20 -04:00
Marshall Hallenbeck 4f3759cdce feat(smb): add functionality to query SAMR for local groups if DC query fails; closes #687 2023-03-13 16:12:44 -04:00
Marshall Hallenbeck 735e230945 fix(smb): update smb protocol to properly insert AdminRelations, GroupRelations, and LoggedinRelations to the database 2023-03-13 16:12:44 -04:00
Marshall Hallenbeck 4891750af7 refactor: standardize nomenclature to uses 'hosts' instead of 'computers' 2023-03-13 16:12:30 -04:00
Marshall Hallenbeck ca0ab3b98c fix some major bugs and add in proper admin relations to the database functionality 2023-03-13 16:12:20 -04:00
Marshall Hallenbeck 4b4e2126cd fix: catch BrokenPipeErrors when connecting via SMB 2023-03-13 16:10:59 -04:00
Marshall Hallenbeck fba8559049 fix: change back variable names for nthash and lmhash 2023-03-13 16:10:28 -04:00
Marshall Hallenbeck a955a7d7ab fix(cmedb): fix LIKE queries to properly work 2023-03-13 16:10:07 -04:00
Marshall Hallenbeck 1d33c58059 refactor(smbdb): change all add_user references to add_credential and refactor some if statements 2023-03-13 16:06:18 -04:00
Marshall Hallenbeck 8463829b5b feat(database): working on making database operations more async, reducing write concurrency issues, and fixing sqlalchemy query formats 2023-03-13 16:05:57 -04:00
Marshall Hallenbeck a634530128 feat(cmedb): add database column for count of members of groups from AD, and the last queried time of it. Additionally transition to sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck c8b472321a feat(cmedb): update queries and fix parameter names 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 3dd7134898 chore(smb): fix formatting for smb.py 2023-03-13 16:03:50 -04:00
Marshall Hallenbeck 3c62a58008 fix(smb): update logging for shares 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck 18d2b273af feat(cmedb): update cmedb.groups sql queries to use sqlalchemy 2023-03-13 15:58:38 -04:00
mpgn 9ca90fcecc is_admin check wrong 2023-02-23 04:38:44 -05:00
mpgn c0b1d71cc8
Merge branch 'master' into dpapi 2023-02-22 20:43:47 +01:00
mpgn 26e0393a31 Add check to verify if latest version of cmedb is used 2023-02-22 14:41:58 -05:00
zblurx 7bfdd0a75d store dpapi secrets in cmedb 2023-02-22 13:58:53 +01:00
zblurx 393dfc3987 store domain backup key 2023-02-22 12:56:24 +01:00
mpgn 602e7bb020 add option to dump cookie dpapi 2023-02-19 15:35:37 -05:00
mpgn f381728740 add message when dumping dpapi 2023-02-19 08:33:05 -05:00
mpgn 681e821514 fix local auth dpapi check 2023-02-19 08:06:02 -05:00
mpgn 63c49c0895 add check if da 2023-02-16 08:33:26 -05:00
mpgn 9a1e52f176 change logic for masterkey 2023-02-16 08:09:21 -05:00
mpgn 19a6c3887f merge master into pr 2023-02-16 08:04:23 -05:00
zblurx ffae9abf49 fix trycatch in dpapi 2023-02-14 11:15:14 +01:00
mpgn 3e2abb9e1e improve share filter 2023-02-13 15:53:55 -05:00
zblurx 6f198372ca merge firefox into dpapi core option 2023-02-13 11:48:12 +01:00
mpgn a551244f38 Add option to only view readable/writable shares credit to @jenaye 2023-02-12 17:19:46 -05:00
Alexandre ZANNI c05d27b8d2 [chore] better grep 2023-02-12 09:18:41 -05:00
mpgn 3b5d719d24 Simplify check 2023-02-12 08:52:22 -05:00
zblurx a0832f2190 add firefox module 2023-02-10 15:16:10 +01:00
zblurx 194499533d modify output 2023-02-09 15:34:25 +01:00
zblurx 5263a4647d modify output 2023-02-09 15:33:14 +01:00
zblurx aeb0c0ea5a fix bugs 2023-02-08 12:16:07 +01:00
zblurx 0d39dff6e9 upgrade version of dploot 2023-02-08 09:53:40 +01:00
zblurx 9aa4675032 added try catch 2023-02-08 09:14:18 +01:00
zblurx 10e3b32b62 fix kerberos auth 2023-02-07 22:22:40 +01:00
zblurx 3086559501 auto export of domain backup key 2023-02-07 15:32:19 +01:00
zblurx 33093c2d49 fix dpapi harversting 2023-02-07 14:51:01 +01:00
zblurx f790d95613 pass it to core option 2023-02-07 12:06:42 +01:00
mpgn 5696026ba0 Fix exec method with kerberos 2023-02-05 08:00:46 -05:00
mpgn 0c02ed4c0b Add GMSA print id 2023-02-05 04:44:07 -05:00
mpgn af8cfa8011 Add new gmsa function <3 2022-12-14 15:45:51 -05:00
mpgn 1051ec2e69 Fix smb nthash not display with kerberos 2022-12-12 14:39:29 -05:00
Julio Ureña 4bab776011 Fix --enabled option to dump only enabled accounts
This change allows the option to work as expected and also includes an option to grep a list of users.
2022-12-12 14:39:29 -05:00
Julio Ureña 59b953c3f7 Add - Retrieve username when using Kerberos Auth
This change allows the program to return the name of the user being authenticated when using Kerberos.
2022-12-12 14:39:29 -05:00
Julio Ureña 42a3d9375b Add - Retrieve username when using Kerberos Auth
This change allows the program to return the name of the user being authenticated when using Kerberos.
2022-12-12 14:39:29 -05:00
mpgn 31542973d7 Fix smb nthash not display with kerberos 2022-11-29 17:05:15 -05:00
mpgn 99cea583e9 Add kerberos compatibility for laps option 2022-11-29 16:46:25 -05:00
Julio Ureña 7c684bcffb
Fix --enabled option to dump only enabled accounts
This change allows the option to work as expected and also includes an option to grep a list of users.
2022-11-22 14:28:57 -04:00
Julio Ureña bd5a3fe91d
Add - Retrieve username when using Kerberos Auth
This change allows the program to return the name of the user being authenticated when using Kerberos.
2022-11-16 16:15:30 -04:00
Julio Ureña baceb06afd
Add - Retrieve username when using Kerberos Auth
This change allows the program to return the name of the user being authenticated when using Kerberos.
2022-11-16 16:06:43 -04:00
mpgn 9d6c3fe67e Add kerberos compatibility for laps option 2022-11-10 16:07:41 -05:00
mpgn 25978c0be0
Update smb.py 2022-11-10 22:06:35 +01:00