skip to content

A mailbox is still being read a week after the password rotation and MFA re-registration — what does the operator hold?

level: seniorimportance: should knowfreq 40%

answer

  1. the negative evidence is the evidence
  2. no authentication is happening at all
  3. one principal or every principal
  4. check where the application is registered
  5. scope-shaped reach, not network-shaped

basics

~20 s

Almost certainly a consent grant to an application the operator registered, not a credential. The next question is whether the grant covers one user or the whole tenant, because that decides whether one mailbox or every mailbox is exposed.

solid answer

~50 s

Reclassify before acting. Credential-shaped remediation has been done twice and the access persists, which rules out a stolen password and rules out a stolen session. What survives both is an authorization: a consent grant held by a registered application, with a refresh token that is redeemed without any sign-in. Two properties of the grant then decide the scale. First, the consent type: a grant consented by a single user covers that user, while an administrator-consented grant covers every principal in the tenant, so one record can mean four hundred mailboxes rather than one. Second, where the application is registered: if it is a multi-tenant application, the service principal is in your directory but the registration is in someone else's, and you can act on your side only. Note also what this shape predicts — no host was ever compromised, so there is nothing to reimage and no lateral movement to reconstruct. The blast radius is defined by scopes, not by network reach.

code

text · 9 lines
text
consent grant record (one entry, tenant grant store)
----------------------------------------------------
clientId        : 8f1c...c0d2     <- service principal of the registered application
consentType     : AllPrincipals   <- "Principal" would mean one consenting user only
principalId     : (empty)         <- populated only when consentType is Principal
resourceId      : 1b2e...aa41     <- the mail API the scopes are held against
scope           : Mail.Read Mail.Send offline_access
createdDateTime : 2026-08-14T09:02:11Z
...

go deeper

for a junior

Know the headline: access that survives a password change is authorization, not a credential. You are not expected to size the grant, but you should not propose another reset.

for a middle

Explain why neither remediation touched the access: the application redeems a refresh token at the token endpoint, so no credential and no factor is ever presented.

for a senior

Demonstrate the reclassification and then size it. Say which properties of the grant you would read, what a tenant-wide consent changes, and what the shape rules out — no host, no lateral movement, no reimage.

for a principal

Frame what this exposes about the organisation: an access-removal process built only around credentials, and a consent model that let one approval speak for everyone. Those are ownership questions, not incident questions.

## Read the negative evidence first Two remediations were performed and the access continued. That is not a failure of execution; it is information. - A **password rotation** invalidates a credential. Access continued, so a credential is not what is being used. - **Re-registering the second factor** changes what is required at authentication. Access continued, so no authentication is occurring at all. The set of access artefacts that survive both is small, and a delegated authorization held by an application is the leading member of it. A browser session cookie would be a plausible competitor for a few hours, but not a week, and a cookie belongs to a browser that has long since been reset. ## The two properties that set the scale Once you accept the classification, the interesting question is not *what is it* but *how big is it*. A consent grant record answers that. **Consent type.** A grant consented by an individual for themselves covers exactly that principal. A grant consented by an administrator on behalf of the organisation covers every principal, and the record shows this as a tenant-wide consent with no individual principal attached. The difference between those two values, in a mail-read scope, is the difference between one mailbox and the entire company's mail. Candidates who stop at "they have a grant" have not yet said anything actionable. **Where the application lives.** If the operator registered a multi-tenant application, your directory holds a service principal for it, but the application registration itself — its name, its owner, its redirect targets, its ability to be granted again tomorrow by a different user — lives in a directory you do not control. You can remove your side. You cannot remove theirs, and the same application can be re-consented by the next person who receives the lure. Also worth pulling from the record: when the grant was created, which tells you the real start of access rather than the date somebody noticed, and which scopes it carries, since a scope set including offline access is what gives the refresh token its long life. ## What this shape predicts about the rest of the estate This is where a senior answer separates from a competent one. The technique implies a position, and the position implies absences: - **No host was compromised.** No code ran on an endpoint, so there is nothing to reimage, no persistence mechanism to remove from a host, and no malware to identify. - **No lateral movement happened.** The operator never held network position. Reconstructing a path through the estate is wasted effort. - **The reach is scope-shaped, not network-shaped.** Ask what those scopes permit, not what subnet anything sits on. - **A crew operating this way is usually monetising data, not disruption.** Data-theft extortion without an encryptor is a coherent business: the leverage is publication, so the absence of anything destructive is not reassurance that the intrusion is minor. ## Getting the direction of each claim right Be precise about what the record proves. A grant record proves an authorization was recorded for a principal at a time. It does not prove the user understood the request, does not prove the operator has used it recently, and does not prove they have not also obtained something else by another route. Equally, the successful password rotation proves the credential changed; it proves nothing about outstanding authorizations, which is exactly why it did not help. ## Where this stops Removing the grant, cleaning up mail rules, and deciding when to declare the access ended are an access-removal exercise owned elsewhere in the response process. What belongs to the classification chair is naming the correct object, sizing it with the consent type, and telling the administrator who is about to act why the credential path removed nothing. ## Common wrong answers - "Rotate the password again and force sign-out everywhere." Sign-out ends sessions; the application is not in a session. - "Reimage their laptop." There is no evidence of anything on the laptop, and this shape of access does not require one. - "It is an insider, because it survived everything." Persistence through credential changes is a property of the artefact, not evidence of who holds it. - "One user consented, so one user is affected." Only true once you have read the consent type; the alternative value changes the answer by three orders of magnitude.

  • The grant record shows a tenant-wide consent type. What changed about your assessment?
    The scope of exposure, not the mechanism. A tenant-wide consent means the application can act for every principal in the directory within those scopes, so the affected population is the whole organisation rather than one user. It also implies an administrator approved it, which makes the original lure an administrator-targeted one and changes who else you must ask about.
  • The application is registered in a directory you do not own. What can you actually do?
    Act on your side of the relationship: the service principal in your directory and the grants held against it. The registration itself, its owner, and its availability to be consented again all sit in a tenant you have no authority over. Plan for re-consent by the next recipient of the lure rather than assuming removal is final.
  • Why is the absence of an encryptor not reassuring here?
    Data-theft extortion without encryption is a complete business model: the leverage is threatened publication, and it avoids the disruption that triggers a fast, well-rehearsed response. A crew that never deploys an encryptor is not a less capable crew; it has chosen a quieter conversion with a longer useful life.
  • How do you date the start of access?
    From the grant's creation time, not from when someone noticed. That timestamp is the earliest point the application could act within its scopes, and it usually predates the report by a wide margin. Treat everything within those scopes from that moment onward as reachable.

saying these in an interview costs you the question

  • Recommends another password reset and a global sign-out
  • Assumes the endpoint is compromised and orders a reimage
  • Stops at "they have a token" without sizing the grant
  • Ignores whether consent was per-user or tenant-wide
  • Treats the absence of ransomware as evidence of low impact
  • Dates the intrusion from the report rather than the grant

context