Commit Graph

221 Commits (7267aae73ad63e927e8b5bfcfcd4b82370decd85)

Author SHA1 Message Date
mpgn d154627633 Add new Windows LAPS 2023-04-21 06:14:12 -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