XenonStack

Security Operations

XenonStack Blog Behavioural Analytics for SOC Automation: UEBA

| Published | Updated

Behavioural Analytics for SOC Automation: UEBA
10:02

Key takeaway

  • User and entity behaviour analytics (UEBA) learns normal activity and scores deviations to cut SOC alert noise. See how it works and where agents help.

User and entity behaviour analytics (UEBA) uses machine learning to build a baseline of normal activity for users, hosts and other entities, then flags activity that deviates from it so a security operations centre (SOC) can triage and automate response. It is aimed at threats that look legitimate on the surface, such as compromised accounts, insider attacks and lateral movement.

This guide is for SOC managers, detection engineers and security architects. It covers how UEBA builds baselines and scores, what data it needs, which behaviours it surfaces, how it feeds SOC automation, and where AI agents add and remove risk.

What is UEBA and how does it differ from other detection?

Microsoft's documentation on UEBA in Microsoft Sentinel says UEBA "continuously learn[s] from your data to surface meaningful anomalies" and is natively integrated into Microsoft Sentinel and the Defender portal. Rule-based detection fires on a known pattern. Behavioural analytics asks a different question: is this normal for this entity? It sits beside, not in place of, your SIEM, endpoint and identity tooling. For the wider SOC picture, see our guides to the security operations centre and to automating SOC work.

ApproachDetectsNeeds
Rule or signature detectionKnown patterns and indicatorsA rule or signature for each pattern
User and entity behaviour analyticsDeviation from an entity's own and its peers' normal activityEnough history and quality data to form a baseline
Network behaviour analyticsUnusual traffic patterns on the networkNetwork and flow telemetry

How does UEBA build a baseline and score anomalies?

Per the Sentinel page, UEBA builds dynamic behavioural profiles for users, hosts, IP addresses, applications and other entities, and detects anomalies by comparing current activity to established baselines. It weighs deviations across locations, devices and environments, changes over time and frequency against the entity's own history, differences from peer groups, and deviations from organisation-wide patterns.

Two-column diagram. Detection: collect data, build baselines, spot deviations, score anomalies. Response: open incident, agent gathers context, analyst approves, tune and learn.

Peer groups matter because "normal" depends on role. The Sentinel documentation says peer groups are calculated dynamically from security group membership, mailing lists and other associations. The page does not state how long the learning period is, so ask your vendor rather than assuming.

ScoreRangePurpose
Investigation priority (BehaviorAnalytics)0 to 10Event-level triage in near real time
Anomaly score (Anomalies table)0 to 1Behaviour-level, batch, ML-based patterns over time

Microsoft notes the two scores can correlate but do not always. Its example is a first-time Azure operation, which can show a high investigation priority and a low anomaly score. Treat scores as triage input, not a verdict.

What data does UEBA need?

The UEBA reference lists the sources the engine uses to train its models and set baselines, including Microsoft Entra ID sign-in and audit logs, Azure activity, Windows security events, firewall logs from vendors such as Check Point, Fortinet and Zscaler, AWS CloudTrail and GuardDuty, GCP audit logs and Okta. Output depends on enabled connectors, so a gap in sign-in data is a gap in baselines.

Identity context matters too. Identity information is synchronised from Entra ID and, through Defender for Identity, on-premises Active Directory, with enrichment such as whether an account is dormant, new or a local admin.

Which behaviours does UEBA surface?

The Sentinel reference describes activity comparisons such as a first-time action by a user, an action uncommonly performed by that user, and a country uncommonly connected from among peers. Common SOC use cases follow the same logic.

BehaviourWhat it may indicateWhy a baseline helps
Sign-in from an unfamiliar country, device or IPCompromised credentialsCompares to the user's and peers' history
Unusual access to privileged resourcesPrivilege abuseFlags access outside the role's normal pattern
Large or unusual downloads and transfersPossible data exfiltrationVolume is judged against the entity's own norm
Scripts or queries unusual for the roleMisuse or compromiseRole and peer context separate normal from odd
Scanning or lateral movement across hostsIntruder looking for accessTraffic differs from a host's usual connections

How does UEBA feed SOC automation?

In an automated SOC, behavioural scores decide what an analyst or playbook sees first. A high-priority anomaly can open an incident with entity context attached, while low-priority events stay in the data for hunting. Microsoft describes a separate behaviours layer that aggregates raw logs into "who did what to whom" objects mapped to MITRE ATT&CK, which you enable independently of UEBA.

Pricing and storage need planning. The Sentinel page says UEBA is included with Microsoft Sentinel at no extra cost, but its data is stored in Log Analytics tables and follows standard Sentinel pricing. Other platforms differ, so check yours.

How do AI agents change behavioural analytics in the SOC?

UEBA tells you that something deviates. An AI agent can then gather the surrounding context, such as the user's recent sign-ins, the host involved and related alerts, draft an assessment and propose a response for an analyst to approve. That shortens the path from signal to decision without removing the analyst from it.

Agents also create new entities to baseline: their own service accounts and tool calls. Give each agent a scoped identity, log every action and keep a human approval step for containment actions. ElixirClaw is the AI agents computing platform XenonStack uses to build and run such agents. For adjacent reading, see security operations vs network operations, setting up security operations using Azure Sentinel and edge computing in autonomous SOCs.

What should you do first?

  1. List the identity, cloud, endpoint and network sources a baseline would need, and fix the gaps.
  2. Pick two or three high-value use cases, such as compromised credentials and data exfiltration.
  3. Enable UEBA for those sources and review scores with analysts before automating anything.
  4. Define which scores open an incident automatically and which only enrich.
  5. Give any AI agent a scoped identity and require approval for containment actions.

To map one decision your SOC agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.

data-integration-1

Data Collection and Integration

UEBA uses data from various sources to build a big picture of the network's activity. These sources include Network devices such as firewalls and VPNs, security tools such as antivirus software, EDR, and SIEM, and identity and access management (IAM) databases such as Active Directory.

machine-learning-1

Machine Learning and Baseline Modeling

UEBA uses machine learning to calculate baseline behaviour models by analysing users’ activity data. This sets a general reference that can be used to determine any variation.

speedometer

Risk Scoring and Alerting

UEBA provides risk scores for anomalous behaviour. A low-risk score suggests that the issue differs slightly from normalcy, while a high-risk score suggests the opposite. The risk score acts as an alert list that guides the SOC analyst on what actions to take.

processor

Threat Intelligence Integration

External threat intelligence feeds are known to be useful and can be integrated into UEBA systems to boost the recognition of identified threats, including those presented in MITRE ATTACK.

Next Steps with SOC Automation

Talk to our experts about implementing compound AI system, How Industries and different departments use Agentic Workflows and Decision Intelligence to Become Decision Centric. Utilizes AI to automate and optimize IT support and operations, improving efficiency and responsiveness.

Frequently asked questions

What does UEBA stand for?

UEBA stands for user and entity behaviour analytics. It profiles users, hosts and other entities and flags deviations from their normal activity.

How does UEBA reduce alert noise?

It ranks activity by how far it deviates from an entity's baseline, so analysts can start with high-priority anomalies. Scores are triage input and need analyst review.

What data does UEBA need?

It needs identity, sign-in, audit, cloud and security logs. In Microsoft Sentinel, output depends on which connectors are enabled.

Is UEBA the same as a SIEM?

No. A SIEM collects and correlates events. UEBA adds behavioural baselines and anomaly scoring, and in Microsoft Sentinel it is built into the SIEM.

Can AI agents act on UEBA alerts?

They can gather context and propose a response, but they need scoped identities, logging and human approval for actions such as containment.

Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.

Ready to put AI agents to work? Explore ElixirClaw, the agentic OS platform to build, orchestrate and govern AI agents.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in Solving your Challenges with XenonStack Team
Get Started

Get Started with your requirements and primary focus, that will help us to make your solution

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Proceed Next