aboutsummaryrefslogtreecommitdiff
path: root/Recon
AgeCommit message (Collapse)AuthorFilesLines
2018-07-02swapped default kerberoasting output formatsHarmJ0y1-14/+27
2017-11-12re-added -Domain to Get-DomainForeignUser/GroupMemberHarmJ0y1-0/+2
2017-10-29-Redid the default DC bindserver logic for Get-DomainSearcherHarmJ0y1-67/+56
-fixed Get-DomainForeignUser / Get-DomainForeignGroupMember when using a global catalog -target group/member domains are now extracted from found DN names
2017-10-15-changed default enumeration method for Get-DomainTrust to LDAPHarmJ0y1-55/+64
-Added WhenCreated/WhenChanged as default output for Get-DomainTrust
2017-10-15Added mod to Get-DomainSPNTicket from @leechristensen to better parse ticketsHarmJ0y1-20/+55
2017-09-17corrected verbose output for some PowerView functionsHarmJ0y1-3/+3
2017-09-17Added Remove-DomainObjectAclHarmJ0y1-0/+283
2017-09-17Fixed Kerberoasting output so it at least cracks now for john's new format ↵HarmJ0y1-36/+11
change.
2017-09-17Fixed New-ADObjectAccessControlEntry so -PrincipalIdentity now accepts ↵HarmJ0y1-16/+23
built-in sids.
2017-09-17Merge pull request #243 from cfalta/masterWill1-0/+61
Host parsing extension for IP ranges
2017-09-17Add Remove-DomainGroupMember functionAndy Robbins1-0/+122
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-07-22Typo fixb33f1-1/+1
2017-07-22+Region check on Find-DomainLocalGroupMemberb33f1-0/+6
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-17Merge pull request #241 from byt3bl33d3r/devb33f1-1/+1
Fixed alias typo for Find-GPOComputerAdmin
2017-06-18-Added the dynamic -UACFilter parameter that completes based on the $UACEnum ↵HarmJ0y1-13/+466
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-17For any "-Identity" values formatted as distinguishednames passed to ↵HarmJ0y1-1/+110
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-17Added Sacl enumeration to Get-DomainObjectACLHarmJ0y1-5/+23
2017-06-16Convert-LDAPProperty now properly parses sidHistory with multiple valuesHarmJ0y1-3/+3
2017-06-13-Added Get-DomainObjectAttributeHistory to retrieve attribute replication ↵HarmJ0y1-2/+686
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-13Updated Find-DomainObjectPropertyOutlier approach.HarmJ0y1-24/+17
2017-05-31Fixed alias typo for Find-GPOComputerAdminbyt3bl33d3r1-1/+1
2017-05-25-Added negations to some -GroupScope and -GroupProperty valuesHarmJ0y1-9/+14
2017-05-25-Added "-GroupScope [DomainLocal/Global/Universal]" to Get-DomainGroupHarmJ0y1-0/+36
-Added "-GroupProperty [Security/Distribution/CreatedBySystem]" to Get-DomainGroup
2017-05-24-added parsing of the 'useraccountcontrol' property into human readable formatHarmJ0y1-24/+101
-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-24Merge branch 'dev' of github.com:PowerShellMafia/PowerSploit into devHarmJ0y1-0/+62
2017-05-23Merge pull request #236 from MrAnde7son/patch-3Will1-0/+62
Get-GPODelegation
2017-05-20Get-DomainPolicyData now returns proper object output instead of hashtable.HarmJ0y1-53/+92
Modified Get-IniContent and Get-GptTmpl to accept '-OutputObject' to output a PSObject instead of a hashtable
2017-05-08fixed quotesHarmJ0y1-5/+5
2017-05-07Update PowerView.ps1Itamar1-7/+9
Fixed null access control entry in results.
2017-05-04Host parsing extension for IP rangesChristoph Falta1-0/+61
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-04Get-GPODelegationItamar1-0/+60
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-04-28Get-DomainGPO - fixed enumerations of 'enforced' GPOs, andHarmJ0y1-5/+20
bug fix for nested OUs with similar starting names.
2017-04-27Generalized ACE creation and added LDAP logonhours conversionLee Christensen1-9/+324
Added ConvertFrom-LDAPLogonHours and New-ADObjectAccessControlEntry
2017-04-26Renamed Get-DomainPolicy to Get-DomainPolicyData and generalized theHarmJ0y1-57/+59
function to accept any policy.
2017-04-26Merge pull request #214 from mbrancato/devWill1-16/+18
Fix for impersonation in Get-NetLocalGroup*
2017-04-26Merge pull request #215 from api0cradle/masterWill1-0/+1044
Invoke-CompareAttributesForClass.ps1
2017-04-26Merge pull request #226 from joncave/dn_commasWill1-115/+80
Support for DNs containing commas
2017-04-26Merge pull request #227 from joncave/dfs_domainWill1-4/+4
The DFS subfunctions only accept a single $Domain
2017-04-17Set explicit LDAP SecurityMask settingsLee Christensen1-0/+2
Changed the LDAP SecurityMasks settings so that you can change the Owner/DACL if you only have WriteOwner/WriteDacl permissions on the object (Default SecurityMasks is "Owner, Group, Dacl")
2017-04-05Support for DNs containing commasJon Cave1-115/+80
If an object's distinguished name contains a comma then it ends up quoted: CN=Smith\, John,OU=Admins,DC=example,DC=com This breaks a number of functions which attempt to identify DOMAIN\name by matching on a \ anywhere in the specified identity before checking if the identity was a DN (or SID or GUID). For example, attempting to list members of "Domain Admins" using Get-DomainGroupMember gives the following: VERBOSE: [Convert-ADName] Error initializing translation for 'CN=Smith\, John,OU=Admins,DC=example,DC=com' : Exception calling "InvokeMember" with "5" argument(s): "The specified domain either does not exist or could not be contacted. (Exception from HRESULT: 0x8007054B)" VERBOSE: [Convert-ADName] Error translating 'CN=Smith\, John,OU=Admins,DC=example,DC=com' : The specified domain either does not exist or could not be contacted. (Exception from HRESULT: 0x8007054B) VERBOSE: [Get-DomainObject] Get-DomainObject filter string: (objectClass=*) The fix implemented here is to perform more specific pattern matching prior to falling back to looking for a \. The order is SID, DN, GUID, qualified name (DOMAIN\name), and then plain name.
2017-04-05The DFS subfunctions only accept a single $DomainJon Cave1-4/+4
Specifying the type as an array of strings results in an error when passing on the parameter to Get-DomainSearcher: C:\> Get-DomainDFSShare -Domain test Get-DomainSearcher : Cannot process argument transformation on parameter 'Domain'. Cannot convert value to type System.String. At PowerView.ps1:10242 char:46
2017-01-23Added Invoke-CompareAttributesForClass.ps1Oddvar Moe1-0/+1044
2017-01-16Changed -KerberosPreauthNotRequired to -PreauthNotRequiredHarmJ0y1-3/+4
2017-01-16Fix for impersonation in Get-NetLocalGroup*Mike Brancato1-16/+18
Removed unnecessary warning about the 'WinNT' method Fixed Get-NetLocalGroup* to use impersonation - netapi32 functions weren't working.
2017-01-11Standardized output from Find-InterestingDomainAclHarmJ0y1-11/+40
2017-01-11Merge branch 'dev' of github.com:PowerShellMafia/PowerSploit into devHarmJ0y1-1/+1
2017-01-11Added displayname to the default filter set for Get-DomainObject[ACL]HarmJ0y1-2/+2
2017-01-11Merge pull request #210 from leechristensen/patch-3HarmJ0y1-1/+1
Fixed KerberosPreauthNotRequired
2017-01-11Parenthesis for additional LDAP functionsHarmJ0y1-45/+51
2017-01-11Parenthesis escaping for Get-DomainObject DN searchesHarmJ0y1-14/+17