SecurityMicrosoft 3658 min read

Why endpoint detection (EDR) does not see identity attacks

Endpoint detection looks for malicious software on computers you manage. In an identity attack, the attacker signs in with a stolen password or session and uses normal apps from their own computer, so there is nothing for the endpoint tool to find. This post explains the gap and which signals help you close it.

Published by 1Security TeamJuly 14, 2026
The identity attack blind spot in endpoint detection

Endpoint detection and response, usually called EDR, is software that runs on laptops and servers and looks for malicious code. It works well. Over the past ten years it has become very good at finding malicious code on computers that you manage.

Because it works so well, many attackers have stopped using malicious code. They steal a password or a signed-in session and then use Microsoft 365 the same way an employee would. This is called an identity attack. This post explains why an endpoint tool doesn't see it, and what does.

What an identity attack looks like to an endpoint tool

In a typical identity attack, the attacker gets a user's password through phishing, or copies a session token from the user's browser. A session token is a small piece of data that proves the user has already signed in. The attacker puts the token into their own browser and opens Outlook on the web, SharePoint or Teams. They read email. They search a document library. They download a few thousand files. They create some sharing links. They add a rule that forwards email.

Consider what an endpoint tool sees in each place.

On the victim's computer it sees nothing, because the attack isn't happening there. The token may have been taken weeks ago. Sometimes it was taken by malware called an infostealer, and the endpoint tool did find and remove that malware. Removing the malware does not cancel the token it already sent out.

On the attacker's computer it also sees nothing. You don't have an agent on that computer, and you never will.

On the service side, where the damage happens, there is no program to inspect. Every request that reaches Microsoft 365 is a valid, authenticated request from a legitimate app. There is no malicious file, nothing installed on a disk, and no attempt to gain extra privileges. Downloading several thousand documents is the most sensitive step in the attack. It is a series of normal HTTPS requests, and it looks the same as a person syncing their files.

People often say "the credential is the malware". In practice this means there is no file for a signature to match. There is also no unusual behaviour on a computer for the endpoint tool to flag, because the malicious behaviour doesn't happen on a computer you manage.

Three assumptions that attackers can now avoid

EDR is based on three assumptions. Each one was reasonable. An attacker can now avoid each of them.

"The attack runs on a machine." It does run on a machine, but that machine is often a virtual server the attacker rented for an afternoon. Your endpoint agents don't cover a device you will never own.

"Malicious activity looks different from normal activity." Each single action looks the same as normal activity. Every download the attacker made was something the user was allowed to do, and nothing in the request shows who was really behind it. The only difference is the volume, for example three thousand downloads in twenty minutes. An endpoint agent can't see that volume, because it didn't build up on the endpoint.

"Compromise means code execution." Today it can simply mean that someone else has the credential. There are incidents where no malicious code ran anywhere in the organisation. The whole incident was an attacker using a valid token in the normal way.

When the malware is removed but the stolen session still works

There is one sequence that many teams have been through without recognising it.

An infostealer gets onto a laptop. The endpoint tool detects it, quarantines it and closes the ticket. The detection was correct and so was the response.

However, the infostealer finished its work in the first few seconds. It read the cookies stored in the browser and sent the session tokens to the attacker. Those tokens are now somewhere else, and they are still valid. Stopping the malware doesn't bring them back. Resetting the password often doesn't cancel them either, depending on how the sessions were issued. The account looks fine, the laptop looks fine and the ticket is closed. Meanwhile someone else is signed in as your user.

The risk is that the closed ticket stops people from looking further. The endpoint tool did its job and reported a success. The success is real, and the compromise still continues.

Check where your incident process ends. If it ends when the malware is removed, you have this gap. It should end after the sessions have been revoked and the account's later activity has been reviewed.

Which signals close the gap

The attack has no program, no file and no managed computer. So detection has to happen where the attack does leave traces, which is the service side. Three signals do most of the work. An endpoint agent can't provide any of them.

The device, worked out from activity. An inventory based on enrolled devices can't describe a machine that was never enrolled, and the attacker's machine is never enrolled. If you build the device list from what appears in audit activity, an unknown machine shows up as a row with a history. You can see how many users it was used with, how many addresses it came from, and whether it ever signed in at all. That last point is the most useful single signal. If a machine accessed data and was never seen signing in, then the credential is being used somewhere other than where the sign-in happened. That is what token theft looks like in the logs.

The origin, shown as a place. This means the country, the city and the network that owns the connection, and not only an IP address. A hosting provider in a country where you don't operate is one of the easiest warning signs to check, and it costs nothing to calculate. It is also the signal that most often gets buried in noise. Many Microsoft 365 operations record the address of a Microsoft datacenter instead of the user's address. Teams that get a lot of false foreign sign-in alerts often switch the alert off. That is the same category of alert the attacker shows up in.

The volume, compared with that identity's own history. Each of the attacker's actions is legitimate on its own. Together they are far outside what is normal. Take an account that normally reads forty documents a day and reads two thousand this morning. That difference is the detection. It only works if the baseline, meaning the record of what is normal for that account, already existed before today.

EDR still does its job

We want to be fair here. We are not saying that endpoint tools are bad.

Endpoint detection answers the question "is something malicious running on this machine?" That question still matters, and the tools answer it well. Identity attacks raise a different question, which is whether this identity is behaving the way it normally does.

To answer that, you need data that the endpoint doesn't have. You need the identity's own history. You need the machine's history across sessions and users. You need the origin of each action. You also need the permission graph, which shows what the identity could reach. All of this is on the service side, in audit activity. It is collected in a completely different place from endpoint data.

So we are not arguing that one should replace the other. They cover different things. Endpoint tools cover the machines you own. Identity monitoring covers the sessions that use your data, including sessions from machines you will never own. Many current incidents happen in those sessions.

A test you can run

This is a short exercise that helps settle the discussion inside a team.

Take a real user account. Imagine that someone in another country has had a valid session token for it since Monday and has been reading files ever since.

Then go through your current tools and ask which of them would have raised an alert.

  • The endpoint agent on the user's laptop: no. The activity isn't happening there.
  • Access control: no. Every request was authorised.
  • DLP (data loss prevention): maybe, if the content matched a policy and the operation was one that DLP watches. Often not, because reading a file isn't exfiltration until something leaves.
  • Sign-in risk detection: possibly, depending on your licence tier and on whether the origin looked unusual enough.
  • Anything that compares today's volume with the account's own normal: only if you have such a tool.

For many organisations the answer is that nothing would have raised an alert. Usually this isn't because the tools are configured wrongly. The tools were built for a different kind of attack.

How 1Security fits

1Security is built for attacks where the attacker looks like an employee. It works on the service side and puts the three signals above on one timeline.

It builds the device list from real activity and classifies each device as registered, unregistered or shadow. Shadow means the device accessed data and was never seen signing in. Every action is linked to a stable location with a country, a city and a network owner. Microsoft's own infrastructure is recognised and labelled, so real foreign origins stay visible and don't get switched off together with the noise. Every identity has a baseline that is kept up to date, including applications and AI agents. A jump in volume is compared with that account's own normal, and not with a threshold that someone guessed.

1Security also helps with the response. It works out the permission graph in advance. As soon as an account looks compromised, you can look up every file, site and mailbox it could reach. You don't have to spend a week putting that together from logs.

It runs read-only, on standard Microsoft 365 licences, and there is no agent to install.

Frequently asked questions

Should we stop using EDR? No. It covers a real type of attack that still happens. It is also often the tool that catches the infostealer at the start of an identity incident. Our point is that it can't cover identity attacks, so if you rely on it for that, you have a gap.

Doesn't MFA solve token theft? MFA protects the sign-in. A stolen session token comes from a sign-in that already succeeded, which is why attackers go after tokens. Phishing-resistant methods and shorter session lifetimes both help. Neither of them shows you what happens after the sign-in.

Isn't this what Defender or a sign-in risk engine does? Partly, and if you have those tiers, use them. They score the sign-in. To decide whether an account is compromised you need four more things next to that score: which machine was used, where the action came from as a place, what is normal for that identity, and what the account could reach. 1Security adds those four.

Which signal should we add first? Device discovery from activity. It is the signal that shows the attacker's machine, and it needs no premium licence. On most tenants the first run finds unregistered devices accessing data that nobody knew about.


SecurityMicrosoft 365

Latest Blog Posts

Discover more insights about Microsoft 365 security, governance, and compliance.

View all posts

Take control of Microsoft 365 access today

Stop guessing who has access to your sensitive data. With 1Security, you gain the visibility, automations, and confidence needed to protect your Microsoft 365 environment.