Guide · UEBA
UEBA, explained.
User and entity behavior analytics promised to find the threats that rules cannot describe. A decade on, most deployments produce anomaly scores nobody acts on. This guide covers what UEBA is, how it works, what it catches, how it compares with the tools around it, why the first generation disappointed, and what the second one has to do differently.
UEBA (user and entity behavior analytics) is a security analytics approach that builds a baseline of normal behavior for each user and entity, such as a device, service account or AI agent, and scores deviations from that baseline to surface threats that no rule or signature describes.
What UEBA is
What UEBA is, and where it came from
Signature-based security asks whether an event matches a known bad pattern. Behavior analytics asks a different question: is this normal for this person, this device, this account? The second question catches what the first cannot, because a compromised credential, a departing employee and a misconfigured agent all generate events that are individually legitimate.
User behavior analytics (UBA) applied that idea to people. Gartner extended the term to user and entity behavior analytics in 2015 to include the non-human actors on a network: devices, servers, applications and service accounts. The addition mattered because attackers move through entities, and because the fastest-growing class of entity today is the AI agent acting under a person’s identity.
UEBA was sold first as a standalone product, then absorbed into SIEM platforms as a feature, and is now reappearing as a capability inside insider risk management and identity threat detection products. The name has stayed; the implementation has changed completely.
How it works
How UEBA works
1. Collect
UEBA consumes activity from identity providers, endpoints, SaaS applications, cloud platforms, email and network: logins, file access, downloads, shares, permission changes, OAuth grants, process activity, agent actions. The breadth of sources decides what the system can see; a UEBA fed only by the SIEM sees only what someone chose to forward.
2. Baseline
For each user and entity, the system learns what normal looks like: typical working hours, locations, devices, applications, data volumes, peers interacted with. The good implementations baseline against two references, the actor’s own history and a peer group with the same role, because a sales engineer downloading 500 files is normal for the role and abnormal for an accountant.
3. Score
Each new event is scored for deviation from baseline. Scores aggregate over time into a risk level per actor, so that a single unusual login means little and a login from a new country, followed by a mass download, followed by an upload to a personal drive, means a lot. Aggregation is where most of the value lives, and where most first-generation products stopped.
4. Explain and respond
A score is not a finding. The analyst needs the narrative: which events, in what order, against which baseline, and what it most likely means. Modern systems write that narrative, attach the evidence, and offer a response: revoke a session, remove an OAuth grant, open a case, notify a manager. First-generation systems handed over a number and a dashboard.
Data sources, ranked
The data sources that matter, ranked
A behavior model is only as good as what it can see. These are the sources in rough order of value for insider and identity use cases, with what each one uniquely contributes.
| Source | What it uniquely shows | Examples |
|---|---|---|
| Identity provider | Who is who, what role, which groups, every login and MFA event; the spine every other signal attaches to | Okta, Microsoft Entra ID, Google Workspace, Active Directory |
| HR system | Leaver and mover status, the single strongest context signal for insider risk | Workday, BambooHR, SAP SuccessFactors |
| Collaboration and file platforms | Downloads, shares, external sharing, bulk access | Microsoft 365, Google Drive, Box, Slack |
| Endpoint tool you already run | Process, file and USB activity without a second agent | CrowdStrike, SentinelOne, Microsoft Defender, Jamf |
| SaaS applications | Exports and permission changes in the systems that hold the valuable data | Salesforce, GitHub, Snowflake, ServiceNow |
| Cloud platforms | Service-account and workload behavior, storage access | AWS, Google Cloud, Azure |
| Forwarding rules, external recipients, attachment volume | Microsoft 365, Google Workspace | |
| AI tools and agents | Prompts, uploads, OAuth grants, agent actions and standing access | Enterprise AI tenants, browser uploads, MCP servers |
Notice what is not on the list: packet captures and keystroke logs. Both were staples of first-generation deployments, and both generate more privacy objection than detection value. Metadata from the systems above is enough to see almost every insider and identity scenario that matters.
What it catches
What UEBA catches
- Compromised credentials. A valid login that behaves wrong: new geography, impossible travel, unfamiliar device, access to systems the account never touched.
- Insider data exfiltration. A departing employee collecting files over weeks, a contractor syncing a share to a personal drive, a bulk export from the CRM before a resignation.
- Privilege misuse and escalation. An admin granting themselves access outside a change window, a service account used interactively, permissions that creep without a ticket.
- Lateral movement. An entity reaching systems its peers never reach, in a sequence that looks like discovery.
- AI agent and non-human identity anomalies. An agent with standing access that starts reading repositories outside its task, or posting to endpoints it never used. The entity half of UEBA was built for exactly this.
- Policy evasion. Obfuscated file names, archive-then-upload, splitting a transfer across channels, the signs a person is working around a control.
The common thread: none of these contain a string a DLP rule can match. That is why UEBA exists alongside DLP rather than instead of it. The insider risk scenarios on our test cases page are behavioral tests of exactly this kind.
UEBA vs SIEM, DLP, IRM
UEBA vs SIEM, DLP and insider risk management
| What it does | What it misses | Relationship to UEBA | |
|---|---|---|---|
| SIEM | Collects and correlates logs, runs rules, keeps evidence | Threats without a rule; anything not forwarded to it | UEBA is often a SIEM add-on. Works only as well as the data the SIEM holds. |
| DLP | Matches content against patterns at email, endpoint and web boundaries | Legitimate-looking actions with no sensitive string; AI prompts; agents | Complementary. UEBA supplies the behavioral context that cuts DLP false positives. |
| UBA | Behavior baselines for people | Devices, service accounts, applications, agents | UEBA is UBA plus entities. |
| Identity threat detection (ITDR) | Detects attacks on identity systems and credentials | Insider misuse by a valid, uncompromised user | Overlapping data, different question. UEBA asks is this normal; ITDR asks is this an attack. |
| Insider risk management | Finds, investigates and resolves risk from trusted insiders, with business context | Nothing by design; it is the program UEBA feeds | Modern IRM platforms embed UEBA as the detection layer and add investigation and response. |
A reasonable summary: SIEM is where the logs live, DLP is where the content rules live, UEBA is how you notice behavior, and insider risk management is the program that turns what you noticed into a decision.
Why it disappointed
Why the first generation disappointed
Ask a SOC lead about the UEBA they bought five years ago and you will usually hear a version of the same five complaints.
- Anomalies are not threats. People behave unusually all the time: new project, new role, a deadline. A system that scores unusual as risky buries the rare real case under thousands of benign ones.
- Thresholds age. Baselines tuned at deployment drift as the business changes. Nobody re-tunes, so the alert volume grows until the feed is muted.
- No narrative. A risk score of 87 tells the analyst nothing about what to do. Every alert becomes an investigation from scratch across six consoles.
- The data tax. SIEM-bound UEBA is priced by ingestion. Teams forward less data to save money, and the model sees less, and the detection gets worse.
- Agents everywhere. Endpoint-based approaches required software on every device, which took quarters to roll out, degraded performance and raised privacy objections from the people being monitored.
The result was a product category that most organizations own and few rely on. The term survived because the underlying idea is right. The implementation had to change.
What modern UEBA does differently
What modern UEBA does differently
- Agentless collection. Reads identity, SaaS, cloud and endpoint signals from the systems you already run through their APIs, with nothing installed on devices. Deployment is measured in hours, and the data is metadata, which answers most privacy objections before they are raised.
- Peer-group baselines. Normal is defined against people with the same role, not a global threshold. A spike is a spike relative to peers, which is what an analyst would check by hand.
- Context before score. Leaver status, data classification, destination account, device posture and role are inputs to the score, not things the analyst looks up afterwards. Two identical downloads get different scores when one person resigned yesterday.
- Entities include agents. AI agents, assistants and MCP servers are modelled as entities with owners, baselines and standing access, and their actions are attributed to the person who runs them.
- A case, not a number. The output is a written investigation: what happened, in order, against which baseline, with evidence attached and a recommended action. Investigation agents do the assembly so the analyst reads instead of reconstructs.
- Response built in. Revoke the session, remove the grant, notify the manager, open the HR case, from the same screen.
A worked example
A worked example: the agent that wandered
An engineer sets up a coding agent with a personal access token scoped to the repositories she works in, plus an MCP server that gives it read access to the team’s shared drive so it can pull design documents. For three weeks the agent behaves: it reads the two repositories, opens pull requests, reads the occasional document.
On a Tuesday it reads 40 repositories in an hour, including two marked internal-only that the engineer has never opened herself, and posts a summary to a webhook endpoint that no entity in the company has used before.
A rule-based system has nothing to match. The token is valid, the repositories are readable by the token, the webhook is not on any blocklist. A content rule might fire on a string in one of the summaries, if it happens to contain one.
A UEBA system that models the agent as an entity sees four deviations at once: repository breadth against the agent’s own baseline, access to repositories outside the owner’s baseline, a destination with no history, and timing that does not match the owner’s working pattern. Aggregated, they produce a high score. A modern system writes the case: which token, which repositories, what left, where to, attributed to the engineer as owner, with the recommended action to revoke the token and the MCP server’s grant. Whether the cause was a prompt injection in a document the agent read or a misconfigured task, the response is the same, and it takes minutes instead of a day of log archaeology.
How to evaluate it
How to evaluate a UEBA product
- Run the behavioral scenarios. A leaver collecting files, an auto-forward rule, an OAuth grant to an assistant, an agent reading outside its task. There is no string to match, so these test the analytics, not the regex. The six scenarios on our test cases page are a ready-made set.
- Ask what normal means. Self baseline only, or peers too? How is a peer group defined, and does it update when someone changes role?
- Look at the artifact. Ask to see what an analyst receives when something fires. A score and a timeline means you are buying the investigation labor. A written case means you are not.
- Count the sources. Which identity providers, SaaS apps, cloud platforms and endpoint tools does it read natively? A UEBA that sees only the SIEM sees only what someone chose to forward.
- Check the entity model. Are service accounts and AI agents first-class, with owners and standing-access inventories, or are they noise in the user table?
- Measure time to value. Days to first baseline, days to first useful finding, and what had to be installed to get there.
How Anzenna does it
How Anzenna approaches UEBA
Anzenna is the modern kind. It is agentless, reads more than 130 identity, SaaS, cloud and endpoint sources, baselines every user and entity against its own history and its peers, and treats AI agents and MCP servers as entities with owners and standing access. Leaver status, data class, destination and role are inputs to the score. The output is an investigated case with a recommended action, and the same platform runs insider risk management, identity threat detection and AI DLP on the one graph. See the UEBA solution page, or how it compares with DTEX and Teramind.
FAQ
Common questions
What is UEBA?
UEBA, user and entity behavior analytics, is a security analytics approach that builds a baseline of normal behavior for each user and each entity, such as a device, service account or AI agent, and scores deviations from that baseline to surface threats that no rule or signature describes: compromised credentials, insider data theft, privilege misuse, lateral movement and misbehaving agents.
What is the difference between UBA and UEBA?
UBA, user behavior analytics, baselines people. UEBA extends the same approach to entities: devices, servers, applications, service accounts and, increasingly, AI agents and MCP servers. Gartner introduced the broader term in 2015 because attackers and automated processes move through entities as much as through user accounts.
Is UEBA the same as SIEM?
No. A SIEM collects and correlates logs and runs rules. UEBA models behavior and scores deviations from it. Many SIEM platforms sell UEBA as an add-on, in which case it can only see the data forwarded to the SIEM. Standalone and agentless UEBA read sources directly.
How does UEBA differ from DLP?
DLP matches content against patterns at boundaries such as email, endpoint and web. UEBA looks at behavior, which catches actions that contain no sensitive string: a leaver downloading ordinary files, an auto-forward rule, an OAuth grant. The two complement each other, and the behavioral context from UEBA is what cuts DLP’s false positives.
Does UEBA need agents on endpoints?
Not any more. Modern UEBA reads identity, SaaS, cloud and endpoint signals through the APIs of the systems you already run, including your existing endpoint tool. That removes the rollout, the performance cost and most privacy objections, and it is why deployment is now measured in hours rather than quarters.
Can UEBA monitor AI agents?
Yes, if the product models agents as entities. An agent with standing access has a baseline like any other actor, and reading repositories or posting to endpoints outside its task is a deviation. Look for products that inventory agents and MCP servers, assign owners, and attribute agent actions to the person who runs them.