Active Directory, defender viewHackBlue

Enabled admins nobody uses

Filter a user export with awk to find enabled privileged accounts whose passwords never expire and that have not logged on in over a year, the kind attackers love to borrow.

  • Terminal mission
  • Intermediate
  • 3 questions
  • 0 of 3 solved

Your goal

Your goalList the enabled admin accounts with passwords that never expire, and find the oldest and the one already turned off.

An old admin account with a password set years ago is valuable to an intruder: nobody notices it logging on, and its password may be in an old breach. The export below was produced with Get-ADUser on Mar 14, 2026.

adminCount 1 marks accounts that are, or once were, in a protected group. awk -F, lets you filter on columns.

What’s on screen
Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
Walkthrough
the numbered path. Each step says what to type and what you should see. Hints open one at a time.
Answer boxes
under each question step. Type what you found and press Check.

analyst@admin-ws

admin-ws · Active Directory, defender view

Type help for the command list and objectives for your tasks. Everything runs in this browser.

Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.