{"id":15221,"date":"2021-09-28T12:30:19","date_gmt":"2021-09-28T10:30:19","guid":{"rendered":"https:\/\/www.secuinfra.com\/?p=15221"},"modified":"2022-04-01T09:19:21","modified_gmt":"2022-04-01T07:19:21","slug":"adsisearcher-resolve-groups-recursively","status":"publish","type":"post","link":"https:\/\/www.secuinfra.com\/en\/techtalk\/adsisearcher-resolve-groups-recursively\/","title":{"rendered":"Adsisearcher &#8211; Resolve groups recursively"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-flat ez-toc-counter ez-toc-white ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">[inhalt_uebersetzt]<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.secuinfra.com\/en\/techtalk\/adsisearcher-resolve-groups-recursively\/#Direct_group_membership\" >Direct group membership<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.secuinfra.com\/en\/techtalk\/adsisearcher-resolve-groups-recursively\/#Admin_or_not\" >Admin or not?<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.secuinfra.com\/en\/techtalk\/adsisearcher-resolve-groups-recursively\/#Resolve_group_memberships_recursively\" >Resolve group memberships recursively<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.secuinfra.com\/en\/techtalk\/adsisearcher-resolve-groups-recursively\/#Series_Overview\" >Series Overview<\/a><\/li><\/ul><\/nav><\/div>\n<p>First of all, it is therefore important to understand why groups and group memberships are relevant.<\/p>\n<p>In Active Directory, groups are used to group user accounts and computer accounts into entities that are then easier to manage. There are 2 types of groups: Distribution groups, which can be used only with email applications to create email distribution lists, and security groups, by means of which the assignment of permissions to shared resources can be handled. In addition, groups are further distinguished by their scope, which specifies the extent to which the group is applied in the domain structure or forest. The scope defines where the group or its members can be granted permissions. In Active Directory there are the following three scopes:<\/p>\n<ul>\n<li>Universal: can grant permissions in any domain in the same forest or in trusted forests.<\/li>\n<li>Global: can grant permissions in any domain in the same forest or in trusted domains or forests.<\/li>\n<li>Domain Local: can grant permissions within the same domain[1].<\/li>\n<\/ul>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\" wp-image-15213 aligncenter\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/blog03_pic_group_options-300x89.png\" alt=\"\" width=\"597\" height=\"177\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_group_options-300x89.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_group_options-24x7.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_group_options-36x11.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_group_options-48x14.png 48w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_group_options.png 668w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><\/p>\n<p><em>Fig. 1: Options when creating a group<\/em><\/p>\n<p>Security groups are of particular interest because the user rights assigned to them can be used to determine what members of this group can do in the domain or forest. During the installation of Active Directory, user rights are automatically assigned to some security groups. This allows, for example, to define the administrator role of a person in the domain. Users added to the Domain Admins group are given administrative rights in the domain. The Domain Admins group is assigned user rights for administrative activities by default, and members of the group inherit these rights. When another group becomes a member of the Domain Admins group, all members of that other group also receive administrative rights. So it is important not only to be able to read direct group members, but also to be able to resolve groups recursively to really capture every effective member.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Direct_group_membership\"><\/span>Direct group membership<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A direct group membership is stored directly in the attributes of the respective group. Direct membership means that a user is directly a member of a group and not a member of the group. Basically, it is first useful to know how to search for all groups. This can be done with the attribute objectClass in the search filter, as is already the case with user or computer searches:<\/p>\n<p><img decoding=\"async\" class=\"wp-image-15211 alignnone\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/2-300x16.png\" alt=\"\" width=\"1032\" height=\"55\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-300x16.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-1024x56.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-768x42.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-1536x84.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-2048x112.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-24x1.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-36x2.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/2-48x3.png 48w\" sizes=\"(max-width: 1032px) 100vw, 1032px\" \/><\/p>\n<p>When a group is assigned members, it has the attribute member &#8211; in this attribute all direct members of the group are listed with their respective distinguished name. You can therefore search for all groups that have members:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-15210\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/3-300x16.png\" alt=\"\" width=\"1031\" height=\"55\" \/><\/p>\n<p>as well as all groups that have no members:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15209\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/4-300x17.png\" alt=\"\" width=\"1024\" height=\"58\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-300x17.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-1024x58.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-768x43.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-1536x87.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-2048x116.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-24x1.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-36x2.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/4-48x3.png 48w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>If you want to query all <strong>direct members<\/strong> of a group, you can do this simply by filtering for the distinguishedName or the sAMAccountName of a group, for example, and then using .properties.member to output the contents of the member attribute:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15208\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/5-300x25.png\" alt=\"\" width=\"1032\" height=\"86\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-300x25.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-1024x86.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-768x65.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-1536x129.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-2048x172.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-24x2.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-36x3.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/5-48x4.png 48w\" sizes=\"(max-width: 1032px) 100vw, 1032px\" \/><\/p>\n<p>It is also possible to check for a particular user which groups he directly belongs to by querying the user&#8217;s memberof attribute:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15207\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/6-300x26.png\" alt=\"\" width=\"1027\" height=\"89\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-300x26.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-1024x88.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-768x66.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-1536x132.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-2048x176.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-24x2.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-36x3.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/6-48x4.png 48w\" sizes=\"(max-width: 1027px) 100vw, 1027px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Admin_or_not\"><\/span>Admin or not?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It is always an advantage to know &#8211; or to know how to find out &#8211; who has administrative rights in an Active Directory. This can of course be done with the right search filters via adsisearcher. If you search the Internet for a simple solution, relatively simple searches like the one for direct group membership are often suggested, but as already mentioned, this only covers direct members. Another approach that is encountered is to determine whether someone is an administrator based on the adminCount attribute. A search for it looks like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15206\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/7-300x26.png\" alt=\"\" width=\"1027\" height=\"89\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-300x26.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-1024x88.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-768x66.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-1536x132.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-2048x176.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-24x2.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-36x3.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/7-48x4.png 48w\" sizes=\"(max-width: 1027px) 100vw, 1027px\" \/><\/p>\n<p>AdminCount indicates whether an account is a so-called protected object. If this is the case, the attribute is present with the value 1.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15214\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/blog03_pic_admincount-300x72.png\" alt=\"\" width=\"1021\" height=\"245\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_admincount-300x72.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_admincount-768x185.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_admincount-24x6.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_admincount-36x9.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_admincount-48x12.png 48w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_admincount.png 980w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><\/p>\n<p>Protected Objects are highly privileged administrative groups (e.g. Domain Admins, Schema Admins, etc.) and their members. Here, indirect members are also Protected Objects. Protected Objects are specially protected in that their permissions cannot be easily changed. A background process protects them by periodically searching for and applying a specific security descriptor &#8211; located on the AdminSDHolder object. The descriptor contains security information about the protected object, and if unauthorized changes are made to the object, the process overwrites the settings with the information contained in the descriptor. If one wants to change permissions on a Protected Object, one must change the security descriptor for the AdminSDHolder object so that it is then applied consistently.<\/p>\n<p>Care must be taken at this point. Searching for adminCount may return a result that does not contain the accounts you are actually looking for, or expecting. This is due to the fact that adminCount does not only indicate the current status of an account, but also that of the past. When administrative privileges are assigned to an account (e.g. by adding it to the Domain Admins group), the account is assigned the attribute adminCount=1 &#8211; the account is now a protected object. If these privileges are revoked again (e.g. account is removed from group), the attribute is still present in the account.<\/p>\n<p>If you want to search for all administrators, a recursive search of the group memberships is better suited instead of searching with the adminCount filter. To do this, you need to know which group to search for. At this point, accounts should be searched that have administrative privileges in the domain. In principle, the groups Administrators, Domain Admins and Enterprise Admins are of interest. The groups differ in some points and are partly nested with each other. To find all members, you have to perform a recursive query.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Resolve_group_memberships_recursively\"><\/span>Resolve group memberships recursively<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To find out which users are members of groups that are in turn contained in other groups, one could write a script that queries direct members of groups, checks which of them are in turn groups again, and then retrieves the direct members again, and so on, until one has queried the last subgroup as well. Fortunately this is not necessary, because in LDAP there are so called OID (Object Identifier) Matching Rules. In LDAP 3 different OID Matching Rules are implemented, which can be seen in the following table:<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td width=\"189\"><strong>Matching rule OID<\/strong><\/td>\n<td width=\"151\"><strong>String identifier (von Ntldap.h)<\/strong><\/td>\n<td width=\"287\"><strong>Beschreibung<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"189\">1.2.840.113556.1.4.803<\/td>\n<td width=\"151\">LDAP_MATCHING_RULE_BIT_AND<\/td>\n<td width=\"287\">A match is found if <strong>all<\/strong> bits from the attribute match the value. This rule is equivalent to a bitwise AND operator.<\/td>\n<\/tr>\n<tr>\n<td width=\"189\">1.2.840.113556.1.4.804<\/td>\n<td width=\"151\">LDAP_MATCHING_RULE_BIT_OR<\/td>\n<td width=\"287\">A match is found if any bits of the attribute match the value. This rule is equivalent to a bitwise OR operator.<\/td>\n<\/tr>\n<tr>\n<td width=\"189\">1.2.840.113556.1.4.1941<\/td>\n<td width=\"151\">LDAP_MATCHING_RULE_IN_CHAIN<\/td>\n<td width=\"287\">This rule is limited to filters that refer to the DN (Distinguished Name). It is a special &#8220;extended&#8221; match operator that traverses the lineage chain in objects up to the root until it finds a match.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For a recursive query of the group membership, one uses the matching rule IN CHAIN and needs the distinguished name of the group. A clear list of the Common Names and corresponding Distinguished Names of all groups with members can easily be displayed with the following command:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15204\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/9-300x26.png\" alt=\"\" width=\"1085\" height=\"94\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-300x26.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-1024x88.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-768x66.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-1536x132.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-2048x176.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-24x2.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-36x3.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/9-48x4.png 48w\" sizes=\"(max-width: 1085px) 100vw, 1085px\" \/><\/p>\n<p>Example output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15212\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/blog03_pic_sample_output_cn_dn-300x91.png\" alt=\"\" width=\"1085\" height=\"329\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_sample_output_cn_dn-300x91.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_sample_output_cn_dn-768x232.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_sample_output_cn_dn-24x7.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_sample_output_cn_dn-36x11.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_sample_output_cn_dn-48x15.png 48w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/blog03_pic_sample_output_cn_dn.png 1440w\" sizes=\"(max-width: 1085px) 100vw, 1085px\" \/><\/p>\n<p>The matching rule is used in the search filter as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15203\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/10-300x17.png\" alt=\"\" width=\"1094\" height=\"62\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-300x17.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-1024x58.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-768x43.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-1536x87.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-2048x116.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-24x1.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-36x2.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/10-48x3.png 48w\" sizes=\"(max-width: 1094px) 100vw, 1094px\" \/><\/p>\n<p>It is important to remember that you want to have user objects as a result. This means that you are looking for the sAMAccountType=805306368 again and want to know if it is a member of a group. So the matching rule is applied to the memberOf attribute. A search for the members of the Domain Admins group from the sample output would look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15202\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/11-300x26.png\" alt=\"\" width=\"1085\" height=\"94\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-300x26.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-1024x88.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-768x66.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-1536x132.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-2048x176.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-24x2.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-36x3.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/11-48x4.png 48w\" sizes=\"(max-width: 1085px) 100vw, 1085px\" \/><\/p>\n<p>If you want to make it a bit easier, you can also store the value of the distinguishedname attribute in a variable and then call this in the search filter:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15201\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/12-300x67.png\" alt=\"\" width=\"1088\" height=\"243\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-300x67.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-1024x228.png 1024w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-768x171.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-1536x342.png 1536w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-2048x456.png 2048w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-24x5.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-36x8.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/12-48x11.png 48w\" sizes=\"(max-width: 1088px) 100vw, 1088px\" \/><\/p>\n<p>The same principle can be used to resolve which groups a specific user is in. You need the distinguished name of the user and use the OID matching rule IN CHAIN with the member attribute. For an assumed example user John Doe, one would make the following query:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15200\" src=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/13-300x66.png\" alt=\"\" width=\"1082\" height=\"238\" srcset=\"https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/13-300x66.png 300w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/13-768x170.png 768w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/13-24x5.png 24w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/13-36x8.png 36w, https:\/\/www.secuinfra.com\/wp-content\/uploads\/\/13-48x11.png 48w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" \/><\/p>\n<p>The described searches show that the use of matching rules in the search filter are enormously useful if you know how and with which attributes to use them. You can also use matching rules to query information in bitmasks, but that will be covered in the next adsisearcher blogpost.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Series_Overview\"><\/span>Series Overview<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><a href=\"https:\/\/www.secuinfra.com\/en\/news\/active-directory-ldap-and-adsisearcher-driving-on-sight-or-having-perspective\/\">Active Directory, LDAP and adsisearcher &#8211; Driving on sight, or having perspective?<\/a><\/li>\n<li><a href=\"https:\/\/www.secuinfra.com\/en\/news\/adsisearcher-get-the-object-of-interest-search-for-specific-users-and-computers\/\">Adsisearcher &#8211; Get the Object of Interest: Search for specific users and computers<\/a><\/li>\n<li>Adsisearcher &#8211; Resolve groups recursively<\/li>\n<li>Adsisearcher &#8211; No hiding: Discover user information in the bitmask<\/li>\n<\/ul>\n<p><a href=\"#_ednref1\" name=\"_edn1\">[1]<\/a> Active Directory Security Groups, Microsoft Documentation, <a href=\"https:\/\/docs.microsoft.com\/en-gb\/windows\/security\/identity-protection\/access-control\/active-directory-security-groups\">https:\/\/docs.microsoft.com\/en-gb\/windows\/security\/identity-protection\/access-control\/active-directory-security-groups<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Active Directory, groups are used to group user accounts and computer accounts into units that are then easier to manage. First, it is important to understand why groups and group memberships are relevant.<\/p>\n","protected":false},"author":12,"featured_media":27626,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[98,89,81],"tags":[],"dpc_coauthors":[],"class_list":["post-15221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adsisearcher","category-ldap","category-techtalk"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/posts\/15221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/comments?post=15221"}],"version-history":[{"count":0,"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/posts\/15221\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/media\/27626"}],"wp:attachment":[{"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/media?parent=15221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/categories?post=15221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/tags?post=15221"},{"taxonomy":"dpc_coauthors","embeddable":true,"href":"https:\/\/www.secuinfra.com\/en\/wp-json\/wp\/v2\/dpc_coauthors?post=15221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}