Commit Graph

591 Commits

Author SHA1 Message Date
harmj0y d943001a7d Updated README.md 2020-08-17 16:13:56 -07:00
HarmJ0y f94a5d298a swapped default kerberoasting output formats 2018-07-02 13:08:36 -04:00
HarmJ0y be932ce2be re-added -Domain to Get-DomainForeignUser/GroupMember 2017-11-12 13:28:17 -08:00
HarmJ0y 398b0f2246 -Redid the default DC bindserver logic for Get-DomainSearcher
-fixed Get-DomainForeignUser / Get-DomainForeignGroupMember when using a global catalog
    -target group/member domains are now extracted from found DN names
2017-10-29 17:44:25 -07:00
HarmJ0y 50e18ef8ab -changed default enumeration method for Get-DomainTrust to LDAP
-Added WhenCreated/WhenChanged as default output for Get-DomainTrust
2017-10-15 21:21:44 -07:00
HarmJ0y f6e6c09b8b Added mod to Get-DomainSPNTicket from @leechristensen to better parse tickets 2017-10-15 20:46:13 -07:00
HarmJ0y c5eb994f84 corrected verbose output for some PowerView functions 2017-09-17 12:55:10 -07:00
HarmJ0y fe7746f030 Added Remove-DomainObjectAcl 2017-09-17 12:53:21 -07:00
HarmJ0y 35452ce62f Fixed Kerberoasting output so it at least cracks now for john's new format change. 2017-09-17 12:11:06 -07:00
HarmJ0y a4a3ae5492 Fixed New-ADObjectAccessControlEntry so -PrincipalIdentity now accepts built-in sids. 2017-09-17 12:03:22 -07:00
Will 428d9061a4 Merge pull request #238 from hackjammer/dev
Improve output of Invoke-PrivescAudit
2017-09-17 14:27:25 -04:00
Will e24d64224b Merge pull request #243 from cfalta/master
Host parsing extension for IP ranges
2017-09-17 14:25:57 -04:00
Will 41cef58b75 Merge pull request #253 from davehull/dev
Adds dlls from knowndll paths to knowndlls
2017-09-17 14:25:04 -04:00
Will 1864095c2e Merge pull request #254 from andyrobbins/patch-1
Add Remove-DomainGroupMember function
2017-09-17 14:24:42 -04:00
Andy Robbins fcc35ac7e7 Add Remove-DomainGroupMember function
Add-DomainGroupMember allows for adding users to a group, and is especially useful given its ability to supply alternate credentials when establishing the connection to the DC. Remove-DomainGroupMember is intended to act as a "cleanup" function for attack paths that abuse DACL misconfigurations, where we need to remove a principal from a group after we are done abusing that group's existing permissions.
2017-09-17 10:40:55 -07:00
Dave Hull 0a894991dc Adds tolower() as it was dropping .DLL files in my local 2017-09-08 16:36:26 -05:00
Dave Hull 6eb3c6f281 Merge branch 'dev' of github.com:PowerShellMafia/PowerSploit into dev 2017-09-08 16:33:11 -05:00
Dave Hull bf652bcd26 Adds dlls from knowndll paths to knowndlls 2017-09-08 16:30:06 -05:00
b33f 3d0d32d9ee Path array fix for Get-ModifiablePath
This is a fix for:
https://github.com/PowerShellMafia/PowerSploit/issues/248
2017-08-10 22:05:41 +01:00
b33f 1950a169e3 +Version check fix
Changed version check to be of type "System.Version". This fixes:
https://github.com/PowerShellMafia/PowerSploit/issues/163
2017-08-09 21:15:34 +01:00
b33f b038f09ceb Typo fix 2017-07-22 17:04:44 +01:00
b33f d5c0abc9fa Fix for profile cleanup
When removing the persistence, the profile is not cleaned up. This is a temporary fix for that which should leave any legitemate profile content in tact. This psm may need a rework though.

Related to:
https://github.com/PowerShellMafia/PowerSploit/issues/165
2017-07-22 16:51:30 +01:00
b33f 7a3e16ace5 +Region check on Find-DomainLocalGroupMember
If a user does not manually specify $GroupName it defaults to "Administrators" which may not be valid in specific regions. I added a check to pull out the Group Name from the Admin SID, see:
https://github.com/PowerShellMafia/PowerSploit/issues/176
2017-07-22 14:33:20 +01:00
b33f 41cad0ee9f Fix for edge case where System.Core is not loaded
Make sure System.Core is loaded before creating an AES object. https://github.com/PowerShellMafia/PowerSploit/issues/247
2017-07-18 13:08:31 +01:00
b33f 0bbf86e021 Merge pull request #241 from byt3bl33d3r/dev
Fixed alias typo for Find-GPOComputerAdmin
2017-07-17 23:14:12 +01:00
b33f fc43eb8cb7 Typo fix 2017-07-17 23:11:24 +01:00
b33f e47c52a090 + PSv2 Compatibility
Fix for unable to index into object of type System.Diagnostic.Process on PSv2.
2017-07-17 21:32:22 +01:00
b33f b895866c3b + Invalid Cast Fix
This is a fix for https://github.com/PowerShellMafia/PowerSploit/issues/151
2017-07-17 21:26:04 +01:00
HarmJ0y 872f711e3d -Added the dynamic -UACFilter parameter that completes based on the $UACEnum enumeration
Example: Get-DomainUser -UACFilter DONT_REQ_PREAUTH,NOT_PASSWORD_EXPIRED
        Returns users with kerberos preauth not set AND where the password isn't expired
-Integrated New-DynamicParameter from beatcracker in order to accomplish the dynamic params
-Corrected from help typos
2017-06-18 20:00:12 -04:00
HarmJ0y 7dc41b6fe4 For any "-Identity" values formatted as distinguishednames passed to Verb-Domain* functions,
the object's domain is now extracted from the dn and the directory searcher is rebound to the proper domain.
2017-06-17 21:23:11 -04:00
HarmJ0y 7e4d7ee298 Added Sacl enumeration to Get-DomainObjectACL 2017-06-17 01:33:05 -04:00
HarmJ0y d0e4e270f1 Convert-LDAPProperty now properly parses sidHistory with multiple values 2017-06-16 16:43:23 -04:00
HarmJ0y 035166385e -Added Get-DomainObjectAttributeHistory to retrieve attribute replication metadata from domain objects
-Added Get-DomainObjectLinkedAttributeHistory to retrieve linked attribute replication metadata from domain objects (i.e. group memberships)
-Added Get-DomainGroupMemberDeleted to retrieve information on group members that were removed from a specified group at some point
2017-06-13 19:47:33 -04:00
HarmJ0y 1bfe3a2715 Updated Find-DomainObjectPropertyOutlier approach. 2017-06-13 17:13:17 -04:00
byt3bl33d3r 6889a8efab Fixed alias typo for Find-GPOComputerAdmin 2017-05-31 00:28:52 -06:00
HarmJ0y d9e9231755 -Added negations to some -GroupScope and -GroupProperty values 2017-05-25 01:30:25 -04:00
HarmJ0y 783bff3cc0 -Added "-GroupScope [DomainLocal/Global/Universal]" to Get-DomainGroup
-Added "-GroupProperty [Security/Distribution/CreatedBySystem]" to Get-DomainGroup
2017-05-25 01:14:40 -04:00
HarmJ0y 30c5177e92 -added parsing of the 'useraccountcontrol' property into human readable format
-added parsing of the 'accountexpires' property into human readable format
-added parsing of the 'grouptype' property into human readable format
-added parsing of the 'samaccounttype' property into a readable format
2017-05-24 02:12:42 -04:00
HarmJ0y 786793c298 Merge branch 'dev' of github.com:PowerShellMafia/PowerSploit into dev 2017-05-24 01:36:56 -04:00
Will 0e2daae1b4 Merge pull request #236 from MrAnde7son/patch-3
Get-GPODelegation
2017-05-23 22:34:04 -07:00
HarmJ0y 67891871f6 Get-DomainPolicyData now returns proper object output instead of hashtable.
Modified Get-IniContent and Get-GptTmpl to accept '-OutputObject' to output a PSObject instead of a hashtable
2017-05-20 02:00:41 -04:00
HarmJ0y d12e1516f8 increased PowerUp error checking 2017-05-20 01:54:55 -04:00
HackJammer a78474aa5c Add Name alias to PowerUp object properties for easier parsing 2017-05-10 00:50:42 +01:00
HackJammer 52289768a9 Default Invoke-PrivEscAudit to return objects for parsing 2017-05-10 00:31:44 +01:00
HarmJ0y f8d2a3474b fixed quotes 2017-05-08 23:44:57 -04:00
James McGinnigle f9b95c5cf2 Fix build for import and run of Invoke-PrivescAudit 2017-05-07 16:32:55 +01:00
Itamar 6a71a6e526 Update PowerView.ps1
Fixed null access control entry in results.
2017-05-07 11:21:56 +03:00
Christoph Falta 226c1c1cce Host parsing extension for IP ranges
Small extension of the host parsing function so you can also pass ranges
(e.g 172.16.0.1-172.16.2.254) as target
2017-05-04 16:08:44 +02:00
Itamar 2501e8e912 Get-GPODelegation
Hi,
I know you guys mentioned this before, but I've not this implemented.
I wrote Get-GPODelegation that finds users with write permissions on Group Policy objects, for a potential privilege escalation path.
As requested, moved into dev branch.
2017-05-04 16:11:12 +03:00
HarmJ0y 095988269b Get-DomainGPO - fixed enumerations of 'enforced' GPOs, and
bug fix for nested OUs with similar starting names.
2017-04-28 00:56:52 -04:00