Commit Graph

  • 5d2ae44deb fix(ssh): add NoValidConnectionsError to auth check Marshall Hallenbeck 2023-04-26 11:53:44 -04:00
  • 8b57cdef25 feat(ssh): update SSH protocol to use the CMEDB and add some additional functionality for determining total logins for SSH users Marshall Hallenbeck 2023-04-26 11:43:49 -04:00
  • 58c10bb11e feat(ssh): add additional check for root level access after login and update formatting Marshall Hallenbeck 2023-04-25 19:45:56 -04:00
  • 3a7f0305e0 feat(ssh): initial db update for SSH to properly add in hosts Marshall Hallenbeck 2023-04-25 19:45:18 -04:00
  • 3798682ed7 fix(mssql): fix hacky printing of admin check query and handle error if the domain is None for impacket Marshall Hallenbeck 2023-04-25 13:54:49 -04:00
  • c8c571cde4 Merge branch 'master' of github.com:mpgn/cme Marshall Hallenbeck 2023-04-25 09:56:06 -04:00
  • aaa5642338 fix(console): soft wrap and set tab size to 4 Marshall Hallenbeck 2023-04-25 09:49:44 -04:00
  • 4e4bb9d841 update daclread module mpgn 2023-04-25 09:47:33 -04:00
  • 603092134d update lsassy module mpgn 2023-04-25 09:29:14 -04:00
  • 41ebc9bba4 replace cme_logger by the real oneé mpgn 2023-04-25 06:58:01 -04:00
  • 5674c73094 Fix lsa MD4 error mpgn 2023-04-25 06:41:44 -04:00
  • b2ec26a757 fix(ldap): fix string formatting Marshall Hallenbeck 2023-04-23 19:20:09 -04:00
  • 5c12a5524b Creds from db now not owned per default - logic flaw Alexander Neff 2023-04-23 14:12:01 +02:00
  • 05f7e244cb Bug fixing Alexander Neff 2023-04-23 14:07:02 +02:00
  • a7d727c795 Formating Alexander Neff 2023-04-23 13:45:42 +02:00
  • d50dfad42f Remove self.args.continue_on_success from connection protocols and formating Alexander Neff 2023-04-23 13:45:16 +02:00
  • 9a5fc0fa9e Fix #660 and add documentation Alexander Neff 2023-04-23 13:34:08 +02:00
  • d66c77ed34 Merge pull request #21 from mpgn/console_marshall mpgn 2023-04-23 12:04:44 +02:00
  • 6da074e73b update f-strings Marshall Hallenbeck 2023-04-22 13:48:07 -04:00
  • 88aeb3c04c Merge branch 'master' into console_marshall Marshall Hallenbeck 2023-04-22 13:45:10 -04:00
  • 4516e79d44 Fixed pulling credentials from db Alexander Neff 2023-04-22 18:48:05 +02:00
  • c13f69107b Finished new login and removed old code Alexander Neff 2023-04-22 17:47:19 +02:00
  • 32edee27e7 Add password/secret parsing Alexander Neff 2023-04-21 18:58:08 +02:00
  • 92094355c1 Formating Alexander Neff 2023-04-21 18:57:47 +02:00
  • ab935b8c00 fix error with conf never set mpgn 2023-04-21 07:30:18 -04:00
  • 6c132af27b fix laps core option with winrm mpgn 2023-04-21 07:25:25 -04:00
  • 059c6af3c2 fix laps core option with smb mpgn 2023-04-21 07:23:15 -04:00
  • 45effc625a core switch to fail instead of error function mpgn 2023-04-21 06:20:47 -04:00
  • 7267aae73a module switch to fail instead of error function mpgn 2023-04-21 06:17:50 -04:00
  • d154627633 Add new Windows LAPS mpgn 2023-04-15 09:41:49 -04:00
  • 5a01ad25ae ldap switch to diplay mpgn 2023-04-21 06:10:11 -04:00
  • c72aeaffba add timeout rdp mpgn 2023-04-21 06:08:24 -04:00
  • 9d158f847d Reimplement get_credentials for login Alexander Neff 2023-04-21 11:44:17 +02:00
  • cd6d364f94 Merge pull request #22 from mpgn/console_neff Marshall Hallenbeck 2023-04-20 07:56:34 -04:00
  • b3b2cde392 Resolve merge conflicts Alexander Neff 2023-04-20 13:07:59 +02:00
  • f0aee81400 Remove -v so everybody's happy Alex 2023-04-19 20:37:32 +02:00
  • d1a22e8c98 fix(modules): only display modules for the protocol requested Marshall Hallenbeck 2023-04-19 14:02:36 -04:00
  • 95da356e3b Add new Windows LAPS mpgn 2023-04-15 09:41:49 -04:00
  • 63c0954323 Revert poetry.lock file Alexander Neff 2023-04-15 16:47:23 +02:00
  • 58c0bd0d2d Remove if statement that is always true and fix indent Alexander Neff 2023-04-15 15:01:03 +02:00
  • a2e56f1b24 Small bugfix for --darrell Alexander Neff 2023-04-15 14:45:00 +02:00
  • 7250f63b67 Fix option --darrell :D Alexander Neff 2023-04-15 14:32:57 +02:00
  • 4d70cd085f Add "-v" tag to version cli Alexander Neff 2023-04-15 13:43:47 +02:00
  • 4e5daefcfb Add indication on which target an error occured Alexander Neff 2023-04-15 13:13:57 +02:00
  • 632a19fcaf Update poetry.lock file Alexander Neff 2023-04-15 13:12:09 +02:00
  • 10ac9d22d2 fix(logging): fix logger assignment Marshall Hallenbeck 2023-04-14 15:15:23 -04:00
  • 9bec78ac53 fix(modules): properly error out if module isnt supported under the protocol Marshall Hallenbeck 2023-04-14 15:12:32 -04:00
  • e7bb581eb0 remove unnecessary import Marshall Hallenbeck 2023-04-14 15:12:10 -04:00
  • 13302234cc fix(smb): fix f-string for rid-brute Marshall Hallenbeck 2023-04-14 15:11:43 -04:00
  • bb5df5160d fix(samruser): properly set logger Marshall Hallenbeck 2023-04-14 15:11:12 -04:00
  • cfbeeda0ba define logger before setting it Marshall Hallenbeck 2023-04-14 11:55:06 -04:00
  • 763a4f72ed fix(cmedb): cherry pick adding NoSuchTableError Marshall Hallenbeck 2023-04-14 11:44:07 -04:00
  • 295a1edd15 fix(cmedb): check for NoSuchTableError while reflecting tables Marshall Hallenbeck 2023-04-14 11:44:07 -04:00
  • 2f333bde0f Merge branch 'master' into console_marshall Marshall Hallenbeck 2023-04-14 10:19:31 -04:00
  • b0f44f0b41 feat(logging): add rich tracebacks with locals for exceptions Marshall Hallenbeck 2023-04-12 16:34:32 -04:00
  • 02d6ad938d fix: catch exceptions from proto_flow() and throw them higher Marshall Hallenbeck 2023-04-12 16:33:58 -04:00
  • 14bc33b866 more PEP8 and formatting fixes, also fix connection's kerberos_auth function definition Marshall Hallenbeck 2023-04-12 12:37:19 -04:00
  • e386d3852d quotation update and formatting Marshall Hallenbeck 2023-04-12 12:12:51 -04:00
  • ce6253fe10 feat(kcache): check if KRB5CCNAME is set when specifying the 'use kcache' option Marshall Hallenbeck 2023-04-12 12:10:38 -04:00
  • aac704937d fix(ldap): remove setting smb fileshare property that doesnt exist, crashing ldap module on run Marshall Hallenbeck 2023-04-12 11:28:46 -04:00
  • e6079e4ddf convert format() to f-string, update single quote to double, and some PEP8 fixes Marshall Hallenbeck 2023-04-12 00:25:38 -04:00
  • 18c20f116a more f-string conversion Marshall Hallenbeck 2023-04-11 23:55:11 -04:00
  • 291c68c700 update format to f-strings Marshall Hallenbeck 2023-04-11 23:49:04 -04:00
  • 87d60671af update first_run_setup() not requiring log to be passed in and fix checking configuration section. also add in process_secret function. Marshall Hallenbeck 2023-04-11 22:17:12 -04:00
  • de35fc5abd finalize double quote normalization and f-string conversion Marshall Hallenbeck 2023-04-11 20:03:58 -04:00
  • 15f8e25f23 normalize to double quotes for params Marshall Hallenbeck 2023-04-11 19:53:20 -04:00
  • f804ec7059 f-string conversions and PEP8 fixes Marshall Hallenbeck 2023-04-11 19:43:15 -04:00
  • 6cde0a2dbb f-string conversions and PEP8 fixes Marshall Hallenbeck 2023-04-11 19:40:35 -04:00
  • a0880742a3 more formatting fixes Marshall Hallenbeck 2023-04-11 11:54:06 -04:00
  • 47ab04b178 clean up logging statements in smb.py Marshall Hallenbeck 2023-04-11 11:48:45 -04:00
  • e4005c6095 PEP8 work Marshall Hallenbeck 2023-04-11 11:37:44 -04:00
  • 0b46d28459 complete doc string for TermEscapeCodeFormatter Marshall Hallenbeck 2023-04-10 10:06:15 -04:00
  • 9f1388971f update lsassy module to be OPSEC unsafe, as it writes temporary files to disk Marshall Hallenbeck 2023-04-08 15:12:33 -04:00
  • 37cc981a2c docs(met_inject): update met_inject options to specify that more handlers are supported, and set RAND to optional Marshall Hallenbeck 2023-04-08 15:10:39 -04:00
  • b945d51312 feat(opsec): allow configuration to disable opsec prompts. If this option is set and an opsec unsafe module is loaded, a display and log message are created; resolves #213 Marshall Hallenbeck 2023-04-08 14:39:27 -04:00
  • 1ae3c828de fix(cmedb): remove winrm db functionality trying to get groups, since that does not exist for winrm Marshall Hallenbeck 2023-04-08 14:16:50 -04:00
  • 8c3b6e8add update lsassy to 3.1.8 Marshall Hallenbeck 2023-04-08 14:06:18 -04:00
  • c8fa1efb90 fix(tests): update masky command, but this requires setting the CA to the user's CA Marshall Hallenbeck 2023-04-08 13:53:58 -04:00
  • f350c2a89c fix(tests): update keepass_trigger command to reference default KeePass config Marshall Hallenbeck 2023-04-08 13:28:58 -04:00
  • ed1916e348 PEP8 formatting & commenting fixes Marshall Hallenbeck 2023-04-08 13:24:25 -04:00
  • 150a13889f PEP8 formatting Marshall Hallenbeck 2023-04-08 13:09:41 -04:00
  • 04df9211b7 display failure if bloodhound is not enabled in config Marshall Hallenbeck 2023-04-08 13:04:25 -04:00
  • 47c8c335d4 feat(tests): allow for printing errors from command ran. This allows us to view connection or other errors that arent fatal, but still lead to bugs Marshall Hallenbeck 2023-04-08 12:39:49 -04:00
  • b013e303b9 formatting Marshall Hallenbeck 2023-04-08 12:35:41 -04:00
  • af880a0119 remove commented out try/except - the removal of these allows exceptions to be thrown from where they occur Marshall Hallenbeck 2023-04-08 12:33:58 -04:00
  • 3f92c8bbe7 fix logger reference Marshall Hallenbeck 2023-04-08 12:24:42 -04:00
  • 61f4e67f6b fix(tests): fix wmi query Marshall Hallenbeck 2023-04-07 18:24:45 -04:00
  • 474aeedce9 remove unneeded print Marshall Hallenbeck 2023-04-07 16:44:09 -04:00
  • 184a9d1871 feat(logging): use specific cme logger adapter, log printed information to log files if needed Marshall Hallenbeck 2023-04-07 15:33:10 -04:00
  • aa51102d82 remove debugging and unnecessary logs Marshall Hallenbeck 2023-04-07 15:32:07 -04:00
  • f565b33143 fix(logging): remove redundant file logging call Marshall Hallenbeck 2023-04-07 15:31:15 -04:00
  • 713f4bcd9d clean up imports Marshall Hallenbeck 2023-04-07 13:12:56 -04:00
  • a9b7529796 fix(docs): replace single quote doc strings with double quote Marshall Hallenbeck 2023-04-07 12:40:48 -04:00
  • a11dc0d3b3 fix rpctransport name that I broke Marshall Hallenbeck 2023-04-07 12:37:18 -04:00
  • e30d629d73 WIP: issue with logging to --log file (it doesnt output to console as well) Marshall Hallenbeck 2023-04-07 12:32:30 -04:00
  • 47cf9c9264 fix conflict mpgn 2023-04-07 11:26:20 -04:00
  • 81915c09b9 Fix kerberos auth with local-group function mpgn 2023-04-07 11:12:40 -04:00
  • 34cc0290a4 Fix issue with DCE and kerberos mpgn 2023-04-07 10:49:39 -04:00
  • fd64bd075e update to lsassy 3.1.7 for logging improvements Marshall Hallenbeck 2023-04-07 10:31:56 -04:00
  • 7785505a19 feat(tests): allow specifying verbose option for tests to see results Marshall Hallenbeck 2023-04-07 10:31:23 -04:00