Identity, Authentication, and Access Management Questions
Designing and operating identity and access control systems. Covers authentication protocols and standards (OAuth, SAML, OIDC, MFA), authorization models (RBAC, ABAC), identity lifecycle and privilege management, IAM architecture and automation, and access control across cloud and on-premises environments. The 'who can do what' control plane, distinct from cryptographic key management.
Walk me through the steps you would use (ADUC GUI or PowerShell) to create a new domain user account for a contractor who needs file-share access only: create the account, set initial password and 'User must change password at next logon' flag, place the account in an 'Contractors' OU, and add the account to a security group that grants the proper share access. List exact ADUC steps or the PowerShell commands you would use.
Sample Answer
Direct answer
Both paths, the Active Directory Users and Computers (ADUC) graphical console and PowerShell, do the same four things in the same order: create the account directly inside the Contractors organizational unit (OU) rather than somewhere else and moving it later, set a temporary password with the "user must change password at next logon" flag so the administrator's password is never the contractor's real working credential, enable the account, and finally add it to the existing security group that already carries the needed file-share access, rather than attaching permissions to the individual account.
Structured elaboration
Why create the account directly in the Contractors OU, rather than create it elsewhere and move it. An account's OU location determines which Group Policy Objects (GPOs) apply to it. If the account is briefly created in a default location and moved afterward, it inherits whatever policy applies there first, even if only for a few minutes, which for a contractor OU commonly carries stricter baselines (tighter logon-hour restrictions, contractor-specific security settings) than the default. Setting the location at creation time avoids that gap entirely.
Why the password flag matters. "User must change password at next logon" forces the contractor to set their own password on first sign-in, so the temporary value the administrator typed never becomes the account's actual long-term credential, limiting the window in which two people know the same password to essentially zero.
Why group membership, not a direct permission grant. Adding the account to the security group that already has the file-share access (rather than granting the contractor's individual account a permission entry on the share) keeps access removal simple at offboarding: removing group membership, or disabling the account outright, is enough, instead of hunting down a one-off access control entry tied to a single person on a shared resource somewhere.
Why the order matters. Doing group membership last, after the account is created, correctly placed, and has its real password policy configured, avoids a brief window where an account already has file-share access but is still sitting on a default or predictable password.
Worked example
ADUC steps:
- Open Active Directory Users and Computers (
dsa.msc). - Expand the domain, right-click the "Contractors" OU, choose New, then User.
- Enter the first name, last name, and user logon name (the
sAMAccountName), for examplej.contractor. - Click Next, enter the initial temporary password, check "User must change password at next logon," leave "Account is disabled" unchecked so the account is active, click Next, then Finish.
- Confirm the account now appears under the Contractors OU (it will, since it was created there directly).
- Locate the existing security group that grants the required file-share access, for example "FileShare-ProjectX-ReadOnly," open its Properties, go to the Members tab, click Add, type the contractor's account name, and click OK.
Equivalent PowerShell (ActiveDirectory module):
$SecurePassword = ConvertTo-SecureString "TempP@ssw0rd!23" -AsPlainText -Force
New-ADUser -Name "J. Contractor" `
-SamAccountName "j.contractor" `
-UserPrincipalName "j.contractor@corp.example.com" `
-Path "OU=Contractors,DC=corp,DC=example,DC=com" `
-AccountPassword $SecurePassword `
-ChangePasswordAtLogon $true `
-Enabled $true
Add-ADGroupMember -Identity "FileShare-ProjectX-ReadOnly" -Members "j.contractor"
-Path sets the organizational unit (as a distinguished name) at the moment of creation, which is what avoids the brief-wrong-policy window described above. -AccountPassword takes a SecureString, which is why the plaintext value is first passed through ConvertTo-SecureString; the plaintext literal shown here is only for walkthrough clarity, and in a real rollout the value would be a randomly generated password delivered out of band, never typed into a script. -ChangePasswordAtLogon $true is the exact scripted equivalent of the ADUC checkbox. -Enabled $true is easy to forget: New-ADUser creates the account in a disabled state unless this switch is explicitly set, which otherwise leaves a silently unusable account and a confused first-day helpdesk ticket. Add-ADGroupMember is run last, after the account already has its real password policy and is enabled, so it is never in a state where it holds file-share access without also having its password properly configured.
Trade-offs and pitfalls
The most direct pitfall in the script above is illustrative only: hard-coding a plaintext password, even a temporary one, into a script or ticket is bad practice in a real rollout; the password should be generated randomly and handed to the contractor through an out-of-band channel (verbally, a sealed one-time link, a password manager share), never stored in a script file, ticketing system, or chat log in plaintext. A second common mistake is omitting -Enabled $true and assuming the account works once created, since New-ADUser defaults to a disabled account without it. A third is creating the account somewhere other than the Contractors OU and moving it afterward with Move-ADObject; this works, but it is an extra step that reintroduces the brief-wrong-policy window the direct-creation approach avoids for free. A fourth, easy to overlook because it's not explicit in this walkthrough's steps, is assuming the target group's own permissions on the file share are already correctly scoped to exactly "read-only on this project" before adding the contractor to it; adding someone to a group only grants what that group's own access control entry actually says, so the group's effective permissions are worth a quick check the first time this workflow is used against it, rather than assuming its name matches its actual grant. Finally, a contractor account with no expiration date relies entirely on someone remembering to disable it at contract end; setting -AccountExpirationDate at creation time is a natural hardening step beyond the letter of this question that turns offboarding into something that happens automatically rather than something that depends on a person not forgetting.
When designing audit trails for identity and access management, which access-related events must be logged (authentication, authorization failures, role changes, provisioning events, token issuance/revocation), what metadata should each event include (who, what, when, where, why, correlation IDs), how long should logs be retained, what measures ensure log integrity/tamper-resistance, and how to make logs actionable inside a SIEM or for compliance requests?
Sample Answer
Direct answer
An identity and access management (IAM) audit trail needs to log every state change that affects who can act as whom and what they can then do: authentication attempts (success and failure), authorization failures, role and permission changes, provisioning events, and token issuance and revocation. Each event needs enough metadata (who, what, when, where, why, and a correlation ID tying related events together) to answer an investigator's question without a second lookup, has to be retained long enough to matter for both incident response and whichever compliance regime applies, and has to be tamper-evident, because a log an attacker (or a rogue insider) can quietly edit after the fact is not actually evidence.
Structured elaboration
What to log. Five event families cover the IAM surface: authentication events (both successes and failures, since a run of failures followed by a success is itself a signal); authorization failures (a request denied by policy, which is often the earliest visible trace of privilege escalation or a misconfigured client); role and permission changes (a grant, a revoke, or a role assignment change, regardless of whether it was made through the normal workflow or an emergency path); provisioning events (account creation, deprovisioning, and the HR-triggered lifecycle events that drive them); and token issuance and revocation (every access, refresh, or session token minted or explicitly invalidated, since a revoked-but-still-accepted token is exactly the failure mode a security review needs to be able to rule out from the log alone).
Metadata per event. Every event should carry: who (the identity or service principal that took or attempted the action), what (the specific action and target resource), when (a precise, consistently-timezoned timestamp), where (source IP, device, or originating service), why (the business or technical context, such as which workflow or API call triggered it), and a correlation ID (a value shared across every event in one logical operation, such as a single login session or one approval-to-provisioning chain) so an investigator can pull the entire related sequence with one query instead of reconstructing it from timestamps alone.
Retention. How long to keep logs is driven by whichever compliance regime, contract, or internal policy applies to the organization, not a single universal number, but a common shape is a shorter "hot," searchable tier (commonly on the order of 90 days to a year) for active investigation and alerting, backed by a longer, cheaper "cold" archive tier (commonly multiple years) that satisfies audit and legal-hold requirements without needing to stay in an expensive, fully-indexed store the whole time.
Log integrity and tamper resistance. Write logs to an append-only store (object-lock storage, or a dedicated log database that has no update or delete API exposed to normal operators) so that even a compromised application account cannot alter history. Strengthen this with cryptographic signing, either per-event signatures or a periodically-published hash chain (a Merkle-tree-style root computed over a batch of events and published somewhere outside the log store itself), so that a tampering attempt is mathematically detectable rather than merely against policy. Just as importantly, the identities that can administer the logging pipeline should be different from the identities that administer the systems being logged, so a single compromised account cannot both take the action and erase its own trace.
Making logs actionable. A consistent, structured event schema (the same "who/what/when/where/why/correlation ID" shape across every event family) is what makes both real-time alerting and after-the-fact compliance response possible from the same data: a security information and event management (SIEM) platform can write correlation rules once against a stable schema instead of per-source-system parsers, and a compliance request ("show every access change for this employee over the last year") becomes a structured query rather than a manual log archaeology exercise.
Worked example
flowchart LR
AUTH[Authentication and authorization events] --> COL[Collector or log shipper]
PROV[Provisioning and token issuance or revocation events] --> COL
ADCH[On-prem: AD privileged group changes and odd-hour logons] --> COL
COL --> SIGN[Append-only store with per-event signing]
SIGN --> SIEM[SIEM ingestion and correlation rules]
SIGN --> COMP[Compliance export or attestation reports]
SIEM --> ALERT[Alerting and playbooks]
An on-premises worked example fills in the "role and permission change" family concretely: integrating Active Directory (AD) account auditing means capturing, at minimum, additions to privileged groups (someone added to Domain Admins) and logons occurring at unusual hours relative to that account's normal pattern. A single event record might read: who = CONTOSO\jdoe, what = "added to Domain Admins," when = 2026-03-14T02:11:00Z, where = "administrative workstation ADM-07," why = "change ticket CHG-4471" (or blank, which is itself a finding), correlation ID = the same ID shared with the change-ticket-approval event that authorized it. The odd-hour signal here (02:11 local time, outside this account's typical 9-to-6 pattern) and the privileged-group-change signal reinforce each other: either alone might be routine, but logged together with a shared correlation ID they are exactly the kind of combination a SIEM correlation rule should escalate rather than a human having to notice by cross-referencing two separate reports.
The same design also has to satisfy a stricter compliance-attestation requirement in some domains: consider a campaign-operations platform (a system tracking access to sensitive, high-stakes operational data) that must produce not just logs but generate attestations for compliance audits, a signed statement that a given set of access events is complete and unaltered for a specific period. That requirement is exactly what the append-only, cryptographically-signed store above is built to support: the compliance export is a query against the same immutable log, with the per-event or batch signatures serving as the proof the attestation can point to, rather than a separate manual sign-off process bolted on afterward.
Trade-offs and pitfalls
The main trade-off is volume versus usefulness: logging every authentication success as well as failure, every token refresh, and every authorization check at high granularity produces a very large volume of low-information events, which raises both storage cost and the noise a SIEM correlation rule has to filter through. The fix is not to log less of the IAM-relevant surface, but to route high-volume, low-signal events (routine successful token refreshes, for instance) to the cheaper cold tier immediately while keeping the genuinely decision-relevant events (failures, role changes, provisioning, revocations) in the actively-searched hot tier.
A common pitfall is logging the event but not the "why": a role-change record that shows who was granted what and when, but not which request or ticket authorized it, cannot answer the question an auditor actually asks, which is whether the change was authorized, not merely whether it happened. A second pitfall is treating the logging pipeline's own access control as an afterthought: if the same administrators who manage the identity systems being audited also have unrestricted write access to the audit store, the tamper-resistance guarantee is only as strong as that overlap, no matter how good the cryptographic signing scheme is on paper.
Explain the roles and differences of these Linux files in a production environment: /etc/passwd, /etc/shadow, /etc/group, and /etc/gshadow. For each file describe what data it holds, who can read or write it, and the security implications (for example, why hashed passwords live where they do and what an administrator must protect).
Sample Answer
Direct answer
These four files are Linux's local identity and authorization database. /etc/passwd holds user account metadata, but not password hashes, and is world-readable by design. /etc/shadow holds the actual password hashes and password-aging settings, and is restricted to root. /etc/group holds group membership and is also world-readable. /etc/gshadow holds a rarely-used group password hash plus group administrators, and is restricted like /etc/shadow. Hashes were split out of /etc/passwd into /etc/shadow decades ago precisely because /etc/passwd has to stay world-readable for ordinary tools to work, and leaving password hashes in a world-readable file made offline cracking trivial for any local user.
Structured elaboration
| File | What it holds | Typical permissions | Security implication |
|---|---|---|---|
/etc/passwd | One line per user: username, a placeholder x where the password hash used to live, numeric user ID (UID), numeric group ID (GID), a comment/full-name field, home directory, login shell | World-readable (commonly mode 644), owned by root | Must stay world-readable because countless everyday tools (ls -l, ps, the login process itself) resolve a numeric UID to a username by reading it. It can never hold anything secret, which is exactly why the password hash was moved out of it. |
/etc/shadow | The password hash itself (using whatever hashing algorithm the distribution configures, commonly SHA-512 or a memory-hard function like Argon2), plus password-aging fields: last-change date, minimum and maximum password age, a warning period, an inactivity period, and an expiration date | Readable only by root (commonly mode 640 or stricter, owned by root:shadow), never world-readable | This is the file that protects the system from offline password cracking. If it becomes world-readable, a common outcome of a careless bulk permission change or a backup-and-restore that resets ownership, every local password hash is exposed for an attacker to crack offline at leisure, with no rate limiting at all. |
/etc/group | One line per group: group name, a placeholder x, numeric GID, and a comma-separated list of member usernames | World-readable (commonly mode 644), owned by root | Must stay world-readable for the same UID/GID-resolution reason as /etc/passwd. Membership itself is not secret, but it is real reconnaissance value: it tells an attacker exactly who belongs to privileged groups (for example sudo or wheel) even without ever seeing a password. |
/etc/gshadow | A group password hash, used only by the rarely-invoked feature that lets a user temporarily join a group via newgrp with a group password, plus a list of group administrators who may add or remove members without needing root | Root-only, the same restrictive model as /etc/shadow | Rarely exercised in modern practice, most environments manage group membership through /etc/group plus sudo policy rather than group passwords, but it still must be protected exactly like /etc/shadow, because it can hold a crackable hash of its own. |
Worked example
Representative lines from each file for a user alice who belongs to the sudo group (illustrative format, following the standard passwd(5)/shadow(5)/group(5)/gshadow(5) layouts, not output captured from a live system):
# /etc/passwd
alice:x:1001:1001:Alice Doe:/home/alice:/bin/bash
# /etc/shadow
alice:$6$randomsalt$examplehashvalue:19000:0:99999:7:::
# /etc/group
sudo:x:27:alice,bob
# /etc/gshadow
sudo:!::alice,bob
Reading the /etc/shadow line field by field: alice (username), $6$randomsalt$examplehashvalue (the hash itself, where $6$ identifies the SHA-512 crypt scheme and the salt prevents two identical passwords from producing the same hash), 19000 (days since the epoch that the password was last changed), 0 (minimum age before it can be changed again), 99999 (maximum age, a value this large is the conventional way of saying "does not expire"), 7 (warning period in days before expiration), and the remaining fields (inactivity period, expiration date) left blank, meaning neither applies to this account. On the /etc/gshadow line, ! in the password field means no group password is set (locked), there are no listed group administrators, and alice and bob are ordinary members.
Trade-offs and pitfalls
- The most damaging real-world mistake is
/etc/shadowbecoming world-readable, often from an errant recursive permission change or a backup/restore tool that does not preserve ownership and mode. Any bulk permission operation or system restore should include an explicit check that this file's permissions came back correctly. - Relying on
/etc/gshadow's group-password feature as an access-control mechanism is considered poor practice today. Modern systems delegate group administration throughsudopolicy rather than a shared group password, so an administrator should understand what the field means without treating it as a real security boundary. - Assuming that moving the hash out of
/etc/passwdmade the file itself harmless is a common misunderstanding./etc/passwdstill discloses account existence, UID and GID mappings, and each account's shell and home directory, genuine reconnaissance value even with no hash present. - Misreading the password-aging fields in
/etc/shadowcan lead to a wrong diagnosis. An account that looks locked out from a bad password may actually be expired or marked inactive, encoded entirely in those aging fields rather than in anything about the password itself.
Behavioral: Tell me about a time when you had to remove or reduce administrative privileges because of a security concern. Describe the situation, the actions you took to implement least privilege, how you communicated the change to stakeholders, and what the outcome was.
Sample Answer
Direct answer
A strong answer here uses the STAR structure (Situation, Task, Action, Result) built around one real, specific incident, and treats each of the four things this question asks for as its own beat rather than folding them together: how the excess privilege was actually discovered, the concrete steps taken to reduce it to least privilege (the minimum access needed to do the job), how the change was communicated to the people affected before it landed, and an honest account of what happened afterward, including any friction, not just a clean success.
Structured elaboration
Situation. Ground the story in a concrete discovery mechanism, not a vague sense that "there was too much access." Common, credible triggers: a periodic access review or attestation surfacing standing privileged-group membership nobody could justify, a compliance or audit requirement forcing a review of a specific privileged role, or an incident where excess privilege was implicated even if it wasn't the direct cause of a breach. The more specific the trigger, the more it reads as something that actually happened rather than a generic talking point.
Actions taken to implement least privilege. The credible version of this beat has a clear sequence: first gather evidence of what privilege is actually exercised (sign-in and audit logs, access-review data, group-membership analysis) rather than deciding what to remove based on job title or assumption alone; then separate accounts that genuinely need standing privileged access from ones that only need it occasionally, which is where a just-in-time elevation model (grant privilege for a limited time, on request, rather than permanently) often replaces a chunk of what used to be permanent membership; then design and stage the change, piloting the reduction with a subset of accounts and verifying no legitimate workflow breaks before rolling it out to everyone affected. Skipping straight to "I removed the access" without describing this investigation step is the single most common way this story sounds arbitrary rather than principled.
Communicating the change to stakeholders. This is asked as its own distinct part of the question, and it belongs BEFORE the change lands, not only after: identify who is actually affected (the account holders themselves, their managers, and any downstream team whose workflow might depend on that access existing), explain the specific finding and risk that motivated the change rather than just announcing a policy, give a clear heads-up window, and provide an explicit path for someone to request a legitimate exception instead of quietly finding another broad account to route around the change. After the change lands, closing the loop with a short follow-up (what changed, confirmation nothing broke, or how an exception was handled) is what separates a one-way announcement from real change management.
Outcome. State plainly what changed structurally (standing privileged membership reduced, an elevation process put in place, or an ownerless account retired) and be honest about friction: a change at any real organizational scale that broke absolutely nothing is a less convincing story than one where a legitimate use case surfaced and was handled through the proper exception path rather than causing the whole change to be reverted.
Worked example
The following is an illustrative story shape to adapt with a candidate's own real details, not a script to memorize: during a quarterly access review, a search of privileged-group membership against sign-in and audit logs shows that a database-administrator group has 16 standing members, but only 4 of them have actually exercised elevated rights in the trailing 90 days. Investigating further, several of the other 12 are accounts left over from a completed migration project and one is a departed contractor's account that was never removed from the group. The action taken: build the group down to the 4 active members, convert the group from standing membership to a request-based, time-boxed elevation process for the handful of people who need occasional (not constant) elevated access, and formally decommission the departed contractor's account entirely. Before making the change, the team's manager and the two upcoming on-call engineers were told specifically why (the review finding, not just "a new policy"), given a two-week window, and shown exactly how to request temporary elevation when they actually needed it. After rollout, one engineer who used to rely on standing access for a rarely-run maintenance script needed to request elevation for the first time; rather than reverting the change, that request was approved through the new process within the same day, which became the proof that the process worked as intended instead of just removing access and hoping nothing broke.
Trade-offs and pitfalls
The most common mistake candidates make on this question is describing the removal itself in detail while skipping the investigation step that justified it, which reads as an arbitrary cleanup rather than a principled least-privilege exercise; the interviewer is listening for evidence that usage was checked before privilege was pulled, not just that it eventually was. The second is treating communication as an afterthought, an announcement sent once the change was already live, when the question is specifically probing stakeholder management as its own skill, separate from the technical action. The third is claiming a perfectly frictionless result: real privilege reductions almost always surface at least one legitimate use case that needs a proper exception, and a story that has no such moment either wasn't investigated carefully enough to find it, or is being told with the rough edges smoothed away, both of which read as less credible than acknowledging the friction and how it was resolved through the process rather than by reverting it. Finally, picking a story where the "privilege" being reduced isn't really an access-control artifact (a vague process improvement rather than an actual group membership, role, or access grant) misses what this specific question is testing; the interviewer wants to hear about real identity and access mechanics, not a generic efficiency story repurposed to fit.
You suspect a privileged domain account was used to access sensitive shares and exfiltrate data. Detail the incident response steps you would take specific to Windows account and access management: containment actions, forensic evidence collection (which logs and artifacts), account remediation (rotation/disable), and steps to determine scope of access.
Sample Answer
Direct answer
Treat a suspected privileged Active Directory (AD, Microsoft's enterprise directory service that stores accounts, groups, and policy) account compromise as an active incident, not a password-reset ticket. Contain the account's ability to act while evidence is still fresh, collect the specific Windows and AD logs that reconstruct what it touched, and only rotate or disable the credential once you have captured what an immediate reset would destroy.
Structured elaboration
1. Containment actions. Disable the account rather than delete it, deleting destroys the security identifier (SID) history you need for forensic correlation later. Force logoff any active sessions on domain controllers (DCs) and member servers the account is logged into. Purge or invalidate its Kerberos tickets (Windows' default authentication protocol, which issues time-limited tickets instead of repeatedly sending a password): a full ticket invalidation ultimately requires a password reset, but that reset should happen after evidence capture, not before, since it tears down the very session artifacts you are trying to preserve. If the account was actively logged into a specific endpoint, isolate that endpoint from the network (not power it off) so you preserve volatile memory for later analysis while stopping further lateral movement.
2. Forensic evidence collection: which logs and artifacts. This is the part that determines whether the rest of the investigation is even possible, so specific event IDs matter:
- Domain controller Security event log: Event ID 4624 (successful logon), checking the Logon Type (3 = network, 10 = RDP, 2 = interactive) to tell remote exploitation from console access; 4625 (failed logon) to look for a preceding brute-force attempt; 4672 (special privileges assigned to new logon, confirming admin-equivalent rights were actually exercised, not just held); 4768/4769 (Kerberos ticket-granting-ticket and service-ticket requests, which trace which resources were requested even without a fresh interactive logon); 4720/4722/4738 (account created, enabled, or changed, in case the attacker used the account to plant persistence).
- File and share access: Event ID 4663 (an attempt was made to access an object) only fires if a System Access Control List (SACL) was configured on the sensitive share ahead of time. If it was not, that absence is itself a finding, no reconstruction of exactly which files were read is possible, and the team falls back to file-system access timestamps (often disabled for performance) or a file-integrity monitoring tool if one exists.
- AD change auditing: Event ID 5136 (a directory service object was modified) to catch unexpected changes to Group Policy Objects (GPOs) or security group membership, for example an unexpected addition to Domain Admins.
- Endpoint artifacts on any host the account authenticated to: the PowerShell operational log's Event ID 4104 (script block logging, which catches obfuscated or encoded commands), Sysmon process-creation and network-connection events if deployed, and any Endpoint Detection and Response (EDR) telemetry from that host.
3. Account remediation. Rotate the credential immediately after evidence capture, disable the account if it is not required for ongoing operations, and review every group membership and delegated permission it held, a reused or synced credential elsewhere can otherwise re-grant the same access even after this specific account is fixed.
4. Determining scope of access. Correlate every log source above by timestamp and source host to build a session timeline from first suspicious logon to containment. Enumerate every share, host, and object touched during that window using the file-access and Kerberos service-ticket logs. The strongest signal is deviation from baseline: a privileged account that normally touches the same three file servers suddenly touching a dozen new ones in one session is the thing to chase, not the raw fact that a privileged account has broad access (it is supposed to).
Worked example
A realistic timeline for a service account, svc-backup-admin, holding domain-admin-equivalent rights, flagged because a security information and event management (SIEM) system alerted on an unusual logon source:
| Time | Event | Source |
|---|---|---|
| 02:03 | Event 4624, Logon Type 3, from WKSTN-114, a workstation this account has never authenticated from before | DC1 Security log |
| 02:04 | Event 4769, Kerberos service ticket requested for cifs/FS-FINANCE | DC1 |
| 02:04 | Event 4672, special privileges logon on FS-FINANCE (fires at the same time as the network logon that establishes the share session, not later), confirming elevated rights were exercised, not just present | FS-FINANCE |
| 02:04-02:47 | Multiple Event 4663 object-access entries under \\FS-FINANCE\Payroll\* (only visible because that share had a SACL configured) | FS-FINANCE |
| 03:10 | Large outbound transfer originating from WKSTN-114 | Firewall / DLP (data loss prevention) logs |
Reading this timeline: the anomaly (4624 Logon Type 3 from an unfamiliar workstation, paired with 4672) is detectable by 02:10 in an instrumented environment, well before the 03:10 exfiltration. Scope is the Payroll share, for that time window, originating from WKSTN-114. Remediation is not just disabling svc-backup-admin, it is also treating WKSTN-114 as the likely actual entry point: the account's credential had to come from somewhere, and a workstation with a cached privileged credential (harvestable by a credential-dumping tool if that account had ever logged into it interactively) is a common root cause that would keep producing new compromised accounts if left unaddressed.
Trade-offs and pitfalls
- Resetting the password before capturing ticket and session artifacts destroys evidence. The default order should be capture first, then remediate, but under confirmed active exfiltration that order can reasonably flip. Whichever way it goes, the decision should be a documented judgment call, not a reflex.
- Object-access auditing has to be turned on before the incident, not during it. Event ID 4663 requires a SACL configured on the object ahead of time. Teams that skipped this cannot reconstruct which files were actually read after the fact, only that a logon happened, and this gap is usually discovered mid-incident, when it is too late to fix for this event.
- Treating the compromised account as the root cause instead of a symptom is the most common wrong turn. A privileged domain account rarely "goes rogue" on its own; the actual initial-access vector (phishing, a cached credential, an unpatched service on the endpoint it logged in from) is what needs fixing, or the same technique compromises the next privileged account.
- Disabling immediately versus monitoring briefly is a real trade-off, not a checklist item. Immediate disable stops the bleeding but ends your visibility into what the attacker is actually doing. A short monitored window can reveal additional footholds, but only makes sense once you are confident you are not watching active, ongoing data exfiltration.
Unlock Full Question Bank
Get access to all 37 Identity, Authentication, and Access Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.