Commit Graph

354 Commits (50a74951c884f2b8a77984f9e8aa7f34b15071b1)

Author SHA1 Message Date
mpgn 86823c90be Add try catch 2022-12-12 14:39:29 -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 c2993a5888 Modify remove_credentials to allow "creds remove"
`creds remove CredID` was not working because the method was commented on, I also changed the table name from credentials to users.
2022-12-12 14:39:29 -05:00
Julio Ureña c04b2ba465 Fix cmedb displayed credentials for mssql
The columns were not in the correct order, which caused them to be displayed incorrectly. This change properly orders the way CMEDB displays credentials in the mssql protocol.
2022-12-12 14:39:29 -05:00
Julio Ureña 7f65c0eccb mssql - Retrieve username when using Kerberos Auth
This change allows the program to return the name of the user being authenticated when using Kerberos with the protocol mssql.
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 81b53b9652
Modify remove_credentials to allow "creds remove"
`creds remove CredID` was not working because the method was commented on, I also changed the table name from credentials to users.
2022-11-17 11:18:13 -04:00
Julio Ureña 2c4be7b9e4
Fix cmedb displayed credentials for mssql
The columns were not in the correct order, which caused them to be displayed incorrectly. This change properly orders the way CMEDB displays credentials in the mssql protocol.
2022-11-17 09:27:01 -04:00
Julio Ureña 4a12e437fa
mssql - Retrieve username when using Kerberos Auth
This change allows the program to return the name of the user being authenticated when using Kerberos with the protocol mssql.
2022-11-16 16:39:44 -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
mpgn 193ce4128e SMB kerberos better you can put ip whithout fqdn 2022-11-10 04:17:09 -05:00
mpgn a88a6e8552 Add catch for kerberos use-kcache option with error message 2022-11-09 16:59:53 -05:00
mpgn 667faa0d7b Add catch for kerberos use-kcache option 2022-11-09 16:56:57 -05:00
mpgn be6b0edd42
Merge pull request #662 from Porchetta-Industries/rdp
Bump aardwolf to version 0.2.0
2022-11-08 09:31:58 +01:00
mpgn 8fedcc48b7
Update rdp.py 2022-11-08 09:25:59 +01:00
Julio Ureña 47a92590a6
Remove @requires_admin flag for WMI queries
Although not common, it is possible for a user to be assigned WMI privileges. Removing @requires_admin in case we do not have privileges to make queries to WMI we will receive an access denied error, which makes it clearer what is happening.
2022-11-04 07:45:47 -04:00
mpgn b2bcbe0ade Fix issue #667 with use-kcache option 2022-11-03 16:04:46 -04:00
mpgn 83180a6b68 ldap better error message 2022-11-03 15:56:38 -04:00
mpgn 49d68e0269 fix error with connection outside dc 2022-11-03 15:29:56 -04:00
mpgn 37f2555ab7 Merge branch 'screenrdp' into rdp 2022-11-02 15:39:17 -04:00
mpgn 33a3c61242 update rdp proto 2022-11-02 15:39:14 -04:00
lap1nou 4fabd0843a Added an NLA disabled screenshot function 2022-11-02 18:47:32 +01:00
mpgn 6a31c588a2 update ldap proto and add func get domain sid 2022-11-01 18:20:14 -04:00
Julio Ureña 3eb80ae534
Modify logging output when putting files
Added \\ to match the correct display of the file and path.
2022-11-01 08:10:55 -04:00
Julio Ureña cc72c6c868
Remove @requires_admin from get_file and put_file
The @requires_admin flag prevents non-admin users who have Read and Write access to a shared folder from performing any operations.
2022-11-01 07:29:56 -04:00
mpgn a36d3145e1
Merge pull request #655 from zblurx/master
Fix kerberos authentication and add kerbrute
2022-10-31 13:34:03 +01:00
mpgn 3942eab31b update a little bit 2022-10-31 08:33:41 -04:00
mpgn 9c66f29474
Merge branch 'master' into rdp 2022-10-28 15:22:28 +02:00
mpgn dc6b023456 update RDP protocol 2022-10-27 16:43:52 -04:00
mpgn fedbfaf1f5 Change default order of exec method for smb 2022-10-27 15:40:34 -04:00
mpgn abc288234b Fix ldap with null binding thx @juliourena 2022-10-26 08:58:51 -04:00
mpgn 87108d4878
Merge pull request #658 from Porchetta-Industries/mssql-uaht
Fix regression for mssql with local_auth thx @juliourena
2022-10-24 21:26:55 +02:00
mpgn a3b3ab9e92 Fix regression for mssql with local_auth thx @juliourena 2022-10-24 15:20:14 -04:00
mpgn e2130c658c Bump aardwolf to 0.2.0 2022-10-24 15:02:42 -04:00
mpgn 132332a8fd add new color for asreproast account smb 2022-10-24 10:02:01 -04:00
mpgn d61d6f0339 add new color for asreproast account 2022-10-24 09:59:43 -04:00
mpgn b62bd670e0 Don't block if account not green 2022-10-24 09:11:45 -04:00
mpgn 70f8d973cf add KDC_ERR_PREAUTH_FAILED error 2022-10-24 09:01:30 -04:00
mpgn 5040ab6b40 ldap try catch + magenta 2022-10-24 08:55:48 -04:00
zblurx b9699ab078 fix output modifs on smb protocol 2022-10-24 14:55:07 +02:00
zblurx 53b612d317 adapt outputed creds 2022-10-24 14:12:32 +02:00
zblurx 3fb117d23a Merge branch 'master' of github.com:zblurx/CrackMapExec 2022-10-24 13:31:03 +02:00
zblurx b42cb70cd8 enhance kerberos auth to mssql 2022-10-24 13:30:07 +02:00
mpgn 0a218c534f add magenta color if user exist but connection KO 2022-10-24 05:43:52 -04:00
mpgn ef349a5309 refactor check if admin func to be comptatible with kerberos 2022-10-24 05:26:53 -04:00
mpgn fb1d7b181f add mssql kerberos login 2022-10-24 04:24:21 -04:00
mpgn 7dc90669d7 starting to add mssql kerberos login 2022-10-24 04:10:46 -04:00
mpgn 8e09a273d2
Merge branch 'master' into master 2022-10-23 21:29:30 +02:00
mpgn f796a5f2f2 add port 636 if gmsa 2022-10-23 07:08:39 -04:00
mpgn 0a284bd2b0 remove message CCache file is not found + fix exec method with kerberos 2022-10-22 17:29:56 -04:00
mpgn ed2b2b261a fix for kerberoast function 2022-10-22 16:38:29 -04:00
mpgn 7b712dc3c0 fix check on arg gmsa 2022-10-21 04:02:34 -04:00
mpgn 7e0613c883 fix username to send to bh 2022-10-20 17:18:22 -04:00
mpgn 53f5791e7c Fix a lot things but good pr 2022-10-20 15:40:53 -04:00
zblurx f4485ff279 fix kerberos authentication 2022-10-20 18:08:30 +02:00
mpgn 507d872c3d Update gmsa core function 2022-10-19 05:48:22 -04:00
Swissky 35cb0545e3
Merge branch 'master' into master 2022-10-14 19:17:04 +02:00
Swissky 42a4d7efbb GMSA moved in LDAP core 2022-10-14 19:13:17 +02:00
mpgn fcbd406773
Merge pull request #650 from jdouliez/master
fix(#649) : Fix Wrong filename on RDP screenshot issue
2022-10-13 14:58:14 +02:00
mpgn 4ec7a2b4e9
Merge pull request #643 from ILightThings/cme_db_detailed
Improved cmedb export function
2022-10-13 14:56:59 +02:00
mpgn 247de78541
Merge pull request #597 from guervild/mssql-upload-download
Mssql upload / download
2022-10-13 14:55:20 +02:00
mpgn 0fc010b0d5 Fix except error 2022-10-13 08:20:22 -04:00
Jordan DOULIEZ f3c9d5fbc6 fix(#649) : Fix Wrong filename on RDP screenshot (Mission extension) issue 2022-10-12 15:05:21 +02:00
mpgn fc57723678
Merge pull request #642 from nurfed1/master
LDAP protocol improvements and scan-network module bugfix
2022-10-05 17:34:56 +02:00
mpgn 21b5adb138
Merge pull request #639 from RomanRII/master
FTP Protocol Addition
2022-09-25 18:21:15 +02:00
iLightThings c005d844e0
Merge branch 'master' into cme_db_detailed 2022-09-23 12:02:40 -04:00
mpgn 105ad97947 quick fix cmedb export share 2022-09-22 18:24:27 -04:00
mpgn 65796271c0 Merge branch 'export' 2022-09-22 18:06:37 -04:00
mpgn 018bd9608a Update cmedb for shares 2022-09-22 18:05:18 -04:00
iLightThings ba5a421b3e Added local admins. Made CSV write function. 2022-09-22 08:31:02 -04:00
Bryan De Houwer b11bc43380 Fix cross domain kerberos authentication, kerberoasting and asreproasting issues 2022-09-21 15:08:31 +02:00
Bryan De Houwer 286d8c2aca Fix inconsistencies between ldap login functions 2022-09-19 12:02:58 +02:00
nurfed1 b0731f6f2c
Merge branch 'master' into master 2022-09-19 09:06:23 +02:00
Bryan De Houwer f5ada644a9 Ensure --domain is provided with --no-smb argument 2022-09-19 01:12:22 +02:00
mpgn eaf7096bde Update FTP proto 2022-09-18 07:35:29 -04:00
mpgn b277cd3b06 Better LDAP error message 2022-09-18 07:04:14 -04:00
Dramelac a4936729fe
Fix success logging when using LDAPS 2022-09-16 17:44:59 +02:00
mpgn fad860df43 Update ntds dump with option user and enabled #455 2022-09-11 12:49:28 -04:00
Roman Rivas II f671ef1871
Add files via upload 2022-09-10 16:06:14 -07:00
Bryan De Houwer 81d2061102 Fix identation 2022-09-08 20:15:31 +02:00
Bryan De Houwer 032945221f KerberosLogin resolve username 2022-09-08 20:14:50 +02:00
Bryan De Houwer 6a37fdca86 Fix ldap baseDN lookup and kdchost assumptions 2022-09-08 20:07:31 +02:00
Wlayzz b57ba767f8 Adding shebang and encoding utf-8 for all python files 2022-07-19 01:59:14 +02:00
mpgn 6a447a581c remove try catch #602 2022-07-06 11:17:24 -04:00
mpgn 94a28cd184 revert back to pywerview 0.3.3 for better compatibility 2022-07-06 09:52:53 -04:00
mpgn 560eae7e49 fix small bug with kerberoasting 2022-07-06 09:35:20 -04:00
guervild 6e27377b90
Update mssql database.py 2022-06-29 14:14:03 +02:00
guervild d09e68fd6d
Add upload/download function to mssql 2022-06-29 13:44:41 +02:00
lap1nou 24cd26cca9 Fixed LDAPS with Kerberos 2022-06-28 21:12:09 +02:00
XiaoliChan 5423728d15
[rdp.py] port redirect to "self.args.port" 2022-06-23 21:16:36 +08:00
mpgn 0e91f0467f Use forked impacket for mssql 2022-06-23 06:02:00 -04:00
mpgn e82955b7e8 Remove print from rdp 2022-06-22 04:25:01 -04:00