Skip to content
ShankarStack

Operating systems for testers

Windows essentials for security testers

Enterprises run on Windows and Active Directory, so even web-focused testers need a working Windows model. This lesson builds the identity-and-privilege intuition the Active Directory course later depends on.

Why Windows matters

The desktops, file servers and identity systems of most organisations are Windows, tied together by Active Directory. If your career touches enterprise environments — and it will — you need to understand how Windows handles identity, privilege and configuration. The good news: you need the model, not deep internals, to be effective early on.

Identity: SIDs, accounts and groups

Windows identifies every user, group and computer with a Security Identifier (SID) — a unique string like S-1-5-21-…. Usernames are friendly labels; SIDs are what the system actually checks. Accounts belong to groups, and groups are how privilege is granted at scale (e.g. membership in Administrators or, in a domain, Domain Admins).

Privileges and tokens

When you log in, Windows builds an access token that carries your SID, your group memberships, and your privileges (specific rights like "back up files" or "debug programs"). Every action is checked against this token. This is different from Linux's simpler rwx bits: Windows access control is richer and more granular, expressed through tokens and access-control lists (ACLs) on objects.

The practical takeaway: what you can do is determined by your token's SIDs and privileges, and privilege escalation on Windows is usually about obtaining a token (or the ability to act as an identity) that has more of them.

Services, scheduled tasks and the registry

  • Services are background programs (like Linux daemons) that often run with high privilege — a frequent focus in hardening and assessment.
  • Scheduled tasks run programs on a timer or trigger.
  • The registry is a hierarchical configuration database (HKLM for machine-wide settings, HKCU for the current user). Much of Windows' security-relevant configuration lives here.

Misconfigured services, tasks and registry permissions are common sources of local privilege escalation — which is why configuration, not just missing patches, drives so much enterprise risk.

PowerShell: the modern way to work

PowerShell is Windows' scripting shell and the standard way to enumerate and administer a host. It works with objects, not just text, which makes it powerful for asking precise questions: what users exist, what services run, what's listening, who's in which group. Getting comfortable with a few PowerShell commands now pays off across every infrastructure and Active Directory lesson.

How Windows authenticates (conceptually)

Two mechanisms you'll meet constantly:

  • Kerberos — the modern, ticket-based protocol used within a domain. You prove your identity once and receive tickets to access services.
  • NTLM — an older challenge-response mechanism kept for backward compatibility. It's harder to monitor and is a frequent focus of hardening because of how credentials are handled.

You'll study both properly in the Active Directory course; for now, know that domain authentication is ticket-based (Kerberos) with NTLM as a legacy fallback.

Where the logs are

Windows records security events in the Event Log (Security, System and Application logs). Logon events, privilege use and account changes are recorded here — the raw material for detection and for a defender catching an intrusion.

Key takeaways

  • Windows identifies everything by SID; privilege comes from group membership and token privileges.
  • Access control is richer than Linux — think tokens and ACLs, not just rwx.
  • Services, scheduled tasks and the registry are common configuration-driven risk and escalation sources.
  • PowerShell is the modern tool for enumerating and managing Windows.
  • Domain authentication is Kerberos (ticket-based) with NTLM as a legacy fallback.
  • The Event Log is where security-relevant activity is recorded.

Reporting mindset: for every observation, record what you did, what you saw, the business impact, and a clear, verifiable remediation. Evidence and clear writing are what turn testing into value.

This is a free preview. Sign in to track progress and unlock the full course.

Sign in