Commit Graph

208 Commits (02cfaa90ac123dc6d02033f8be3faaf69fd851a0)

Author SHA1 Message Date
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