Reading width
Wide uses the full column for everything, text, diagrams, code, and exercises. Narrow keeps the standard reading width.
Text size
Scales the body text. Headings and code blocks keep their size.
In this section
0.4 Attempted Activity, Successful Execution and Business Impact
Introduction
"The attacker tried to sign in." "The attacker signed in." "The attacker read the finance mailbox." These are three different claims, and each needs its own evidence. The first says an action was attempted. The second says it succeeded. The third says it had an effect that matters to the organization. Investigations go wrong when a record that supports one of them is reported as if it supported the next.
The mistake runs in both directions. An analyst sees thousands of failed sign-ins and reports a breach, when nothing succeeded. Or an analyst sees one successful sign-in among them and reports that data was stolen, when the records show only that a password was guessed. Both reports will be acted on. The first wastes a night. The second sends a company to its lawyers over something nobody has established.
Three claims and the evidence each one needs. Reaching one step implies nothing about the next.
The rule the figure draws is simple to state and hard to keep under pressure: a claim is supported only by evidence of its own kind. Evidence that something was tried doesn't show that it worked.
Evidence that it worked doesn't show what was done with it. The rest of this lesson teaches what evidence of each kind looks like, starting with a real intrusion in which the three were months apart.
As Attackers Executed It: Many Attempts, One Success
Microsoft's account of a password spray against its own systems, read for the three standardsIn January 2024 Microsoft published an account of an intrusion into its own corporate systems by the actor it tracks as Midnight Blizzard, which it had detected on 12 January. The account is unusually useful for this lesson, because it describes the attempts, the success and the impact as separate stages.
The attempts were a password spray. Microsoft's post defines the method as trying to sign in to a large number of accounts with a small set of the most likely passwords. This operator did it carefully.
According to the post, the spray was aimed at a limited number of accounts and used a low number of attempts, to avoid detection, and it was sent through residential proxy networks, so the sign-ins came from addresses that ordinary users also use.
One attempt worked. The account was a legacy, non-production test tenant account, and it had no multifactor authentication. Notice what that success gave the operator: access to a test account. That is a long way from corporate email.
The distance was covered in further steps, each of which the post describes.
The operator used the account to find and compromise an old test application that held elevated access to the corporate environment. It created more applications, and a new user account to grant them consent. It then used the test application to give those applications a role that allows access to mailboxes. Only then were corporate email accounts read.
Attempts, successes and impact in one intrusion.
Read as a list of techniques, this is one intrusion. Read against the three standards, it is a very large number of attempts that failed, one sign-in that succeeded, a series of further successes, and finally an impact. A defender who caught the spray would have seen attempts.
A defender who caught the one successful sign-in would have seen a success with no impact yet, and time to prevent it. Microsoft says it found the activity later still, by reviewing how mailboxes were being accessed, which is evidence of impact.
How It Works: Why Operators Attempt, and Why Most Attempts Fail
Attempts are cheap, a single success is enough, and the ratio between them is the operator's methodOperators attempt far more than they achieve, and they plan it that way. A password spray is the clearest case. Trying one likely password against a thousand accounts costs almost nothing, and the operator needs only one account to have that password. The failures aren't a sign of an operation going badly. They're the method.
The same holds across an intrusion. An operator tries an escalation route and finds it closed. They request a credential and can't crack it. They attempt a connection to a server that refuses them.
A lure goes to six people, a control stops it for one, and it runs for another. In each case the operator moves on to the option that worked, and the records hold both the failures and the success.
Each bar is a subset of the one above it, and a different kind of evidence.
This gives every attempt one of four endings, and you should be able to say which. It can be blocked by a control, which means the control worked and tells you the operator was there.
It can be refused by the target, because the account lacked the rights or the password was wrong. It can succeed and lead nowhere, because what it gained was of no use. Or it can succeed and be used. Only the last moves the operation forward.
Here is an attempt of the refused kind, from the fourth day of the intrusion this course investigates. A process in a finance user's session ran one command:
C:\Users\j.okafor>sc stop Sysmon64
[SC] OpenService FAILED 5:
Access is denied.
The operator tried to stop Sysmon, the service that was recording their commands, and was refused at once. You don't get to see that screen. The process record holds the command and nothing about its result, so a defender has to read the result from what came next: the same service wrote 53 more records from that laptop in the following hour.
The request didn't take effect. The session belonged to a standard user, which is the likely reason, and the operator now knew what was watching that machine.
That question matters because controls themselves write records that look like failures and mean the opposite. Many security controls can run in a mode that records what they would have blocked without blocking it. A record written in that mode describes something that ran. Before you count an event as a blocked attempt, find out what mode the control was in and what the event means in that mode.
Failed attempts are still worth your time, for what they reveal. They show which accounts and systems the operator knows about. They show what the operator expected to work, which tells you what they believed about your environment. And the moment the failures stop is often the moment something succeeded.
The Evidence of an Attempt
What a failure record establishes, and why the vendor's own documentation is where its meaning livesAn attempt is established by a record that something was tried. The record usually comes from whatever refused it, and its meaning is specific to that system, so the first job is always to find out exactly what the record says.
Take a failed sign-in to Microsoft's cloud identity service. The sign-in log carries an error code, and Microsoft documents each one. Code 50126 means the credentials couldn't be validated because of an invalid username or password.
Microsoft's reference adds a sentence worth remembering: expect to see some number of these in your logs, because users make mistakes. One failure with that code is a person mistyping. The same code from one address against fifty accounts in an hour is something else, and the code alone can't tell you which you have.
Application control gives a second example. When AppLocker stops a script from running, it writes an error event, and when it allows one it writes an information event. In between is the audit-only mode that the last section's question turned on. Microsoft's reference numbers the three.
Event 8005 is information: a rule allowed the script or installer to run. Event 8006 is a warning, written in audit-only mode: the file ran, and enforcement would have blocked it. Event 8007 is an error: with rules enforced, AppLocker blocked the file.
Three outcomes of one check, and the event each one writes.
Three records, one of which looks like a refusal and reports a success. The reference also says what each event contains: the file and its path, whether it was allowed or blocked, and the rule that decided. That tells you what you can claim from a block record: this file was stopped on this machine, under this rule. It doesn't tell you that the same file was stopped anywhere else.
That last limit is the one that catches people. A control is configured machine by machine and group by group.
A lure that was blocked on one workstation may have gone to five others where the rule doesn't apply. So when you find evidence of a blocked attempt, treat it as the start of a search, and ask where else the same thing was tried and whether the control was in force there. A block proves the operator was present and proves nothing about the places you haven't looked.
The Evidence of Success
Positive evidence of the result, and the successes that leave no record at allSuccess needs positive evidence of the result. The absence of a failure record is not that evidence. Logs have gaps, controls have exceptions, and an action that left no failure may equally have left no record of any kind.
For a sign-in, the evidence is a record of a successful authentication for the account. For a program, it's a record that the process started, and better, records of what it then did. For a remote connection, it's a session on the destination. In each case you're looking for the system that was acted on confirming that the action completed.
Read the detail in a success record, because it describes the conditions the success happened under. A cloud sign-in record says whether a second factor was required and whether a conditional access policy applied. A sign-in that succeeded with a single factor, from a place the user has never been, with no policy applied, is telling you why the attempt worked as well as that it did.
In Microsoft's sign-in log, four fields carry that detail. ResultType is 0 when the authentication completed. AuthenticationRequirement says whether one factor was enough or a second was required. ConditionalAccessStatus says whether a policy was applied to the sign-in. IPAddress and Location say where it came from.
A record with those fields answers two questions at once: whether the operator got in, and which control wasn't in their way.
From a successful sign-in to impact. Only the first box is established by the sign-in record.
Two kinds of success are easy to miss. The first happens somewhere you can't see. When an operator takes away material to work on, such as an encrypted credential to crack on their own hardware, the attempt to obtain it may be recorded, and the cracking is not.
You learn whether it succeeded only when the cracked credential is used. Until then the honest statement is that the operator obtained the material and the outcome is unknown.
The second is a success that looks like routine. The operators in Microsoft's account sprayed through addresses that ordinary users also use, so the one successful sign-in didn't stand out by where it came from.
A success record is easy to find once you know which account to look at, and nearly invisible among a day's legitimate sign-ins if you don't. This is why the attempts matter. The failed sign-ins around a success are what mark it.
The Evidence of Impact
What the operator did with a success, and how to report before you knowImpact is what the organization lost or now has to deal with: data read or taken, systems changed, services interrupted. It's the claim people most want from an investigation, and the one most often made without evidence.
Impact has its own records, separate from those of access. That an account could read a mailbox is a fact about permissions. That it did read the mailbox is in the mailbox's access records.
That a file server was reachable is a fact about the network, and that files were opened is in the file access audit, if that audit was enabled. Microsoft's account makes the point by example: it identified the intrusion by reviewing mailbox access activity, the record of the impact itself.
When those records exist, you can state impact precisely: these mailboxes, these files, in this period. When they don't, you can't, and it helps to have words for the states in between. Demonstrated impact is supported by records of the action.
Potential exposure is what the operator's access would have allowed, where no record shows whether they used it. No evidence of impact means you looked in records that would have shown it and found nothing. The three are different, and a report should say which one it means.
Under pressure, the wording of an interim report matters as much as the analysis, and an assistant can help draft it if you tell it what you actually know.
During a password spray against our cloud tenant, one account signed in successfully from an address we don't recognize, with a single factor. My manager is asking what the attacker got. What can I say from the sign-in alone, what evidence would establish impact, and how should I word the report in the meantime? Say what you can't know.
From the sign-in alone you can say one thing with confidence: someone who knew the password authenticated as that account, at that time, from that address. You can't say what they did next.
| Claim | Evidence it needs |
|---|---|
| They read mail or files | Mailbox and file access records for that account after the sign-in |
| They changed something | Audit records of rules, forwarding, app consents or new credentials |
| They reached other systems | Later sign-ins or connections that use this account or what it could reach |
For the report: "One account was signed in to by an unauthorized party at this time. We are reviewing what the account accessed afterward. Impact is not yet established." That is accurate, and it won't need withdrawing.
I can't know which audit logs your tenant keeps or for how long, or what this account had access to. Both decide how much of the table you can fill in.
You check
An illustrative exchange, written for this lesson: run the prompt yourself and expect different wording. The report wording is the part to keep: it states the success, names the work in progress and makes no claim about impact.
The table in that answer is the method. Each claim about impact is paired with the record that would support it, so the investigation becomes a list of records to obtain, and the report can say which have been checked.
If a record that would have shown the impact was never collected, say that. "We can't determine whether the mailbox was read, because mailbox auditing wasn't enabled" is a finding, and it's a different finding from "the mailbox wasn't read."
The Mistakes Each Standard Invites
Four ways a record for one claim gets reported as anotherEach standard has a characteristic error, and it helps to know them by name.
The first is volume mistaken for success. Fifty failed sign-ins look like an emergency and establish that fifty attempts failed. Report them as attempts, find out whether any succeeded, and keep the two numbers separate.
The second is the ordinary failure mistaken for an attack. People mistype passwords, scripts run with expired credentials, and Microsoft's own reference tells you to expect some of these errors every day. A failure becomes interesting through its pattern: one source against many accounts, one try each, in a short time.
The third is the block mistaken for the end. A control stopped something, the ticket says "prevented," and nobody asks whether the operator had a second route. A blocked attempt is evidence that someone is trying. The right response to it is to look for the attempts that weren't blocked.
The fourth is success mistaken for impact, and it's the costly one. "The account was compromised, so its data was stolen" joins two claims with a word that the evidence doesn't supply. Sometimes the operator did take the data. Sometimes the account was a stepping stone and its mailbox was never opened. The difference decides whether customers are notified, and only the records of what was accessed can settle it.
The mistake each standard invites.
Three questions keep a status report honest. What was tried, against what, and how many times? Which attempts worked, and what did each one give the operator? What was done with it, and what must the business now do?
Answer those three separately in everything you write, even when an answer is "not yet known." A report in that shape can be corrected one line at a time as evidence arrives. A report that says "we were breached" can only be withdrawn.
There's a matching discipline for reading other people's reports. When a vendor alert or a colleague says an attack "occurred," ask which of the three it means, because alerts are usually raised on attempts, and the people reading them usually hear impact.
How to Interrupt It
Make attempts fail, make successes visible and short, and limit what a success is worthThe three standards are also three places to defend, and Microsoft's recommendations after its own intrusion fall neatly into them.
Make attempts fail. A password spray works only where some account has a guessable password and nothing else in the way. The recommendations start there: eliminate insecure passwords, and require a second factor, which the one account that fell did not have.
Make successes visible and short-lived. You won't prevent every success, so the aim is to notice one quickly and take it back.
Microsoft recommends resetting the passwords of accounts targeted in a spray, and using risk detections to force a second factor or a password change when a sign-in looks wrong. Both act on a success after it has happened and before it has been used, which is the only window in which a success costs nothing.
Limit what a success is worth. This is the lever that decides whether a success becomes impact, and it's the one that failed in the intrusion Microsoft described. A test account's sign-in mattered because an old application within its reach held far more access than a test application should.
The recommendations here are about privilege: audit how much access every identity and application holds, remove permissions that are no longer needed, and limit applications to the specific mailboxes they require.
Put the three together when you assess your own exposure. For any important system, ask what an attempt against it would look like and whether it would fail.
Ask how you would know if one succeeded. Then ask what a success would be worth: what the compromised account or machine could reach, and whether anything would record its use. Most organizations have invested in the first question, some in the second, and the third is where one guessed password turns into a board-level incident.
The Same Reading on One Intrusion
A week of cloud sign-ins: one address that fails like people do, eight that fail like a spray, and one successThe intrusion this course investigates includes the company's Microsoft 365 tenant. This search takes every sign-in in the week, counts failures with the invalid-password code and successes for each source address, and keeps the addresses with more than three failures:
SigninLogs
| summarize Failed = countif(ResultType == "50126"),
Succeeded = countif(ResultType == "0"),
Users = dcount(UserPrincipalName) by IPAddress
| where Failed > 3
| order by Succeeded asc
It returns nine rows, and the last one is the control. The address 203.0.113.10 had 27 failures and 1,083 successes across 57 users. That is the office: a whole company signing in all week and occasionally mistyping. Failures alone would have put it at the top of the list.
The other eight rows are different in every respect. Each address is in the same range, each had between six and eight failures, and the number of users equals the number of sign-ins: one try per account. Together they made 57 sign-ins in 59 minutes, between 06:02 and 07:01 UTC on 7 October. That is a password spray, spread across addresses and held to one attempt per account.
One of those addresses has a success. Here is that sign-in:
TimeGenerated 2026-10-07T06:04:08.869Z
UserPrincipalName o.lindqvist@brennick.example
IPAddress 198.51.100.63
Location NL
AppDisplayName OfficeHome
ResultType 0
AuthenticationRequirement singleFactorAuthentication
ConditionalAccessStatus notApplied
Apply the three standards. Attempted: 56 sign-ins failed, which establishes a spray and tells you which accounts the operator knew. Succeeded: one, for o.lindqvist, and the record says why it worked: a single factor was enough and no conditional access policy applied.
Impact: nothing in the sign-in log establishes any. What the operator did as that account is in other records, and until you've read them the accurate statement is that one account was signed in to by an unauthorized party.
Notice what the office row did for the analysis. Without it you'd have no measure of what ordinary failure looks like on this tenant, and the spray rows would have nothing to be compared with. Always find the legitimate pattern before you judge the unusual one.
Practice
Practice
Separate attempts, successes and impact in one event the campaign recordsYou've read the spray as a summary. Now write it up the way you'd report it, with the three standards kept apart.
- Run the search. Run the search in section 8 and confirm the office row, the spray rows and the single success.
- Time the spray. Replace the summarize, where and order lines with
| where IPAddress startswith "198.51.100."and| project TimeGenerated, UserPrincipalName, ResultType, and find where the success falls in the sequence. - Answer the three questions. Using the three lines from section 6, write what was attempted, what succeeded and what impact the sign-in log establishes.
- List the records you need. Name the records that would show what the account was used for after the sign-in.
- Write the interim line. Write one sentence for a manager that states the success and makes no claim about impact.
In your own environment, pull a week of failed sign-ins and group them by source address. Find your own office row first, so you know what ordinary failure looks like for you. Then check whether your tenant keeps the records that would show what an account did after a sign-in, and for how long. If it doesn't, that's the gap to raise before you need it.
The next lesson takes the habit this one depends on, saying only what the evidence supports, and gives it a structure: facts, inferences, hypotheses and how confident you're entitled to be in each.