Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Privileged User Groups #126

Closed
rebelinux opened this issue Jul 10, 2023 · 0 comments · Fixed by #129
Closed

Add Privileged User Groups #126

rebelinux opened this issue Jul 10, 2023 · 0 comments · Fixed by #129

Comments

@rebelinux
Copy link
Collaborator

Microsoft recommends that Enterprise Admins and Schema Admins contain no members and that Domain Admins contain no more than five members.

Table design:

Domain Admins (1 members)

Name SamAccountName Password Last Changed Password Never Expires Account Enabled
Administrator Administrator 6/10/2018 True True

Enterprise Admins

Schema Admins

Health Check recommendation:

Unless an account is doing specific tasks needing those highly elevated permissions, every account should be removed from Enterprise Admins (EA) and Schema Admins (SA). Domain Admins should be reviewed, and all disabled accounts removed. Also, membership in Domain Admins should be thoroughly reviewed as membership to that group can be a potential security issue.

Health Check Rules:

if ($HealthCheck.Jobs.Status) {
    $OutObj | Where-Object { $_.'Password Last Changed ' -lt '30 days' } | Set-Style -Style Critical -Property 'Password Last Changed '
    $OutObj | Where-Object { $_.'Password Never Expires' -eq 'True' } | Set-Style -Style Warning -Property 'Password Never Expires'
    $OutObj | Where-Object { $_.'Account Enabled' -eq 'False' } | Set-Style -Style Warning -Property 'Account Enabled'
}
rebelinux added a commit to rebelinux/AsBuiltReport.Microsoft.AD that referenced this issue Jul 22, 2023
rebelinux added a commit to rebelinux/AsBuiltReport.Microsoft.AD that referenced this issue Jul 22, 2023
@rebelinux rebelinux mentioned this issue Jul 26, 2023
7 tasks
@rebelinux rebelinux mentioned this issue Jul 26, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant