Short Answer UEBA, or user and entity behavior analytics, is a security method that learns how people and devices normally act. It then flags actions that look out of place. For example, say a staff account normally works 9 to 6 in Mumbai. If it suddenly downloads thousands of files at 2 a.m. from another country, UEBA warns your security team.
What is UEBA?
UEBA stands for user and entity behavior analytics. Many people shorten it to behavior analytics. In cybersecurity, it means watching the everyday actions of users and machines, so you can spot the strange ones. A user is a person with a login, such as an employee. An entity is anything else that acts on your network, such as a laptop, a server or an app.
Most security tools look for things that are already known to be bad, such as a known virus. UEBA works the other way round. First, it learns what normal looks like for each user and entity. Then it raises a flag when something breaks that pattern, even if no rule says it is harmful.
Think of a bank manager who knows his regular customers. He does not need a list of thieves. If a customer who always takes out small sums suddenly asks for a huge amount, he notices at once. UEBA brings that same instinct to your computer systems.
Key Words to Know
- Baseline: the normal pattern of activity for a user or entity, such as usual login times, places and files.
- Anomaly: an action that does not fit the baseline, for example a first-ever login from a new country.
- Risk score: a number that shows how unusual or risky an action looks, so teams can check the worst cases first.
- Logs: records that systems keep of who did what and when, such as sign-ins and file downloads.
- Peer group: a set of people with similar jobs, such as everyone in the finance team, used for comparison.
- Machine learning: software that learns patterns from data instead of following only fixed rules. Read more in our guide to machine learning.
What Counts as an Entity?
An entity is any non-human thing that can act in your systems. Each staff member may use several of them every day. Common examples include:
- Devices: laptops, phones and printers that connect to the network.
- Servers: the computers that run email, files, billing or websites.
- Apps: business software, both on your own servers and in the cloud.
- Service accounts: logins that programs use to talk to each other, with no person typing a password.
- IP addresses: the number that identifies each device on a network or the internet.
Entities matter because attackers often hide behind them. For example, a stolen service account may run quietly at night for weeks. No person complains, so only a change in its behavior gives it away.
How Does UEBA Work?
Every product differs in the details, but most UEBA follows the same basic flow. It needs data and time to learn what is normal before it can judge what looks unusual.
- Collect logs: the system gathers activity records from sign-in services, servers, cloud accounts, laptops and network devices.
- Build a baseline: over days and weeks, it learns what is normal for each user, each entity and each peer group.
- Spot unusual behavior: it compares new activity with the baseline, the peer group and the whole company.
- Give a risk score: it scores each unusual action. A first login from a new city may score low, but that same login followed by a mass download scores high.
- Alert and investigate: high scores reach the security team, often inside a SIEM, the central tool that collects security records. The alert shows the steps that led to it, such as the sign-in, the device and the files touched.

An Example From a Chennai Office
For example, an accounts executive at a Chennai firm usually signs in from the office between 9 a.m. and 7 p.m. She opens about 30 invoice files a day. One Saturday night, her account signs in from an unknown device abroad. Then it opens 4,000 files and copies them to a personal cloud folder. Each single action might pass a simple rule check. However, UEBA sees that the time, the place, the device and the volume all break her normal pattern. So it gives a high risk score, and the security team locks the account within minutes.
What Does UEBA Detect?
UEBA is best at threats that look like normal work at first glance. These attacks often use real logins, so tools that only look for known harmful files can miss them. The main threats it helps find are:
- Insider threats: a staff member or contractor who misuses the access they already have. Learn more about the insider threat.
- Stolen accounts: an attacker who signs in with a real user’s password. This is called account takeover.
- Data theft: large or odd downloads, uploads or email forwarding. Security teams call this data exfiltration.
- Moving between systems: an attacker who jumps from one computer to the next to reach valuable data, known as lateral movement.
- Privilege misuse: an administrator (a user with extra powers) who suddenly changes settings or creates accounts they never touched before.
UEBA also helps cut alert fatigue. That is the tiredness security teams feel when tools send far too many alerts. Because UEBA ranks events by risk, analysts can start with the few that matter most.
Talk to an ExpertWould you spot a stolen account that acts like a real user? Talk to our team about behavior analytics.How Behavior Analytics Compares With Other Tools
People often confuse behavior analytics with other security tools, because they share data and screens. In short, each tool answers a different question. The sections below explain the most common comparisons.
UEBA vs UBA
UBA means user behavior analytics. It was the older idea, and it watched only people. UEBA adds entities, so it also tracks devices, servers, apps and service accounts. This matters because many attacks today run through machines and cloud accounts, not only through a person at a keyboard. In practice, most modern tools use the UEBA name.
UEBA vs SIEM
A SIEM, short for security information and event management, collects logs from across the company, stores them and runs rules on them. A rule might say “alert after 10 failed logins in a row.” In contrast, UEBA does not need someone to write every rule. It learns normal behavior and flags changes. The two do different jobs, so they work best together. The SIEM gathers and stores the data, and UEBA adds the behavior view on top. Many SIEM products now include UEBA as a built-in feature.
UEBA vs EDR and XDR
Endpoint detection and response (EDR) watches each laptop and server closely. It can stop harmful programs on that device. XDR, or extended detection and response, joins warning signs from laptops, email, cloud services and sign-in systems into one view. Both focus on finding and stopping attacks. UEBA, however, focuses on whether a user or entity is acting like itself. So it often feeds its risk scores into these tools rather than replacing them.

| Question | UEBA | SIEM | EDR and XDR |
|---|---|---|---|
| Main job | Spot unusual behavior | Collect logs and run rules | Find and stop attacks on devices, email and cloud |
| How it decides | Learned baselines and risk scores | Rules written by people | Known attack patterns plus device signals |
| Best at | Stolen accounts and insiders | Search, storage and reports | Harmful programs and fast response |
| Works alone? | Rarely. It needs data from other tools | Yes, as the central log store | Yes, on the devices it covers |
UEBA in Microsoft Sentinel
Microsoft Sentinel is Microsoft’s cloud SIEM, and UEBA is one of its built-in features. According to Microsoft Learn, it uses machine learning to build profiles for users, computers (hosts), IP addresses, apps and other entities. Then it compares current activity with those profiles to find compromised accounts, insider attacks and lateral movement.
Here is what it does in simple terms:
- Data it learns from: sign-in and audit records from Microsoft Entra ID, Microsoft’s sign-in service. It also uses Azure activity and Windows security events. In the Microsoft Defender portal, you can add more sources, such as device sign-in events and AWS CloudTrail, a record of actions in an AWS account.
- Peer groups: it finds each user’s 20 closest peers from shared security groups (groups that control who can open what) and mailing lists. Then it compares the user with them.
- Two scores: an investigation priority score from 0 to 10 rates single events. An anomaly score from 0 to 1 rates patterns across many events. On both, a higher number means more unusual, so analysts check those first.
- User pages: in the Defender portal, each user page shows its top three UEBA anomalies from the past 30 days.
One more change is coming. Microsoft says that after March 31, 2027, Sentinel will work only in the Microsoft Defender portal, not in the Azure portal. So it makes sense to start any new setup in the Defender portal.
What the Behaviors Layer Adds
Microsoft has also added a separate, optional “behaviors layer.” It works only when Sentinel runs in the Defender portal. It turns large volumes of raw logs into short, plain-language summaries of “who did what to whom.” Each summary links to the MITRE ATT&CK framework, a public list of known attacker methods. Microsoft says these behaviors are neutral records, not alerts. In other words, a behavior means “this happened,” and UEBA anomalies still decide what looks risky.
What Are the Limits of Behavior Analytics?
UEBA is useful, but it has a few limits that every buyer should know:
- It needs good data: if key systems do not send logs, the baseline has gaps and attacks there stay hidden.
- It needs time: a new system has no history, so early results can be noisy until it learns.
- Normal changes too: a new job, a business trip or year-end closing can look unusual, which causes false alarms.
- People still decide: a high score is a lead, not proof. Someone must check it and act.
- Privacy: watching staff activity touches personal data. Tell employees clearly what is tracked and why, and check your duties under India’s Digital Personal Data Protection Act, 2023.
On the plus side, behavior analytics fits well with zero trust, the idea that you trust no user or device by default. For instance, NIST, the US standards body, has a zero trust guide called SP 800-207. It says a change from a user’s normal behavior could trigger extra sign-in checks. Similarly, CISA, the US cybersecurity agency, places behavior-based analysis of user activity at the top level of its Zero Trust Maturity Model.
How to Get Started
First, pick the few systems that matter most, such as sign-ins, email and file storage, and send their logs to your SIEM. Then give the system a few weeks to learn. During that time, tune the alerts and tell staff what is monitored. Finally, agree who checks high scores and how fast they act.
Frequently Asked Questions About UEBA
What is the full form of UEBA?
What is UEBA in cyber security?
What do user and entity behavior analytics tools do?
How do SOAR and UEBA work together?
What is a UEBA system?
How does user and entity behavior analytics help enterprise security?
References
- UEBA in Microsoft Sentinel: Microsoft Learn, Advanced threat detection with User and Entity Behavior Analytics (UEBA) in Microsoft Sentinel
- Behavior in zero trust decisions: NIST, SP 800-207 Zero Trust Architecture
- Behavior-based analytics: CISA, Zero Trust Maturity Model, Version 2.0
Get the Latest Terms & Insights.
New encyclopedia terms, threat intelligence, and architecture decisions, by email.
