Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Built-in administrator last logon details should be investigated

AD-USER-24InfoActive DirectoryUsers

Part of Active Directory · Active Directory · Users · All checks

Run this check
Invoke-Maester -TestId AD-USER-24

Knowing when built-in administrator style accounts last authenticated is critical for detecting stale privileged access and spotting suspicious activity.

  • Unexpected use detection: Recent logons on sensitive accounts may warrant investigation.
  • Stale privilege cleanup: Dormant privileged accounts should be reviewed or disabled.
  • Incident response: Last logon data helps reconstruct privileged account activity.

Operational

  • Investigate interactive or unexpected usage of RID 500 accounts.
  • Disable or tightly restrict privileged accounts with no valid business need.
  • Correlate recent logons with change windows, tickets, and admin workflows.

This test lists built-in administrator style accounts and returns their LastLogonDate plus the number of days since the recorded logon.

  • Test-MtAdUserBuiltInAdminEnabledDetails
  • Test-MtAdUserBuiltInAdminPasswordAgeDetails
Every attribute of this check
FieldValue
Test IDAD-USER-24
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaPrivileged access
Resource typeUser
MITRE ATT&CKT1078.001 Default Accounts
PowerShell testTest-MtAdUserBuiltInAdminLastLogonDetails
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty