惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News | PayPal Newsroom
P
Proofpoint News Feed
Cyberwarzone
Cyberwarzone
C
Cisco Blogs
SecWiki News
SecWiki News
Know Your Adversary
Know Your Adversary
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
NISL@THU
NISL@THU
WordPress大学
WordPress大学
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Threat Research - Cisco Blogs
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
Security Archives - TechRepublic
Security Archives - TechRepublic
有赞技术团队
有赞技术团队
L
LINUX DO - 热门话题
Hacker News: Ask HN
Hacker News: Ask HN
V
V2EX
G
GRAHAM CLULEY
TaoSecurity Blog
TaoSecurity Blog
Hugging Face - Blog
Hugging Face - Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
F
Fortinet All Blogs
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
云风的 BLOG
云风的 BLOG
Recorded Future
Recorded Future
Latest news
Latest news
The Hacker News
The Hacker News
aimingoo的专栏
aimingoo的专栏
T
Troy Hunt's Blog
S
Schneier on Security
I
Intezer
Google DeepMind News
Google DeepMind News
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threatpost
爱范儿
爱范儿
The Register - Security
The Register - Security
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
宝玉的分享
宝玉的分享
Recent Commits to openclaw:main
Recent Commits to openclaw:main
美团技术团队
B
Blog RSS Feed

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
From on-prem to cloud: Detect lateral movement in hybrid Azure environments
Mallory Mooney · 2024-10-25 · via Datadog | The Monitor blog

There are several tactics that threat actors can use to access cloud environments, services, and data. A common example is lateral movement, which involves techniques that enable a threat actor to pivot from one host to the next within an environment. This type of activity often uses other tactics, such as initial access and privilege escalation, as part of a larger attack flow.

As an example, a threat actor will first gather information about which entry points—hosts, services, or accounts—are available and what they have access to. Entry points can include sources that provide a threat actor with an initial foothold (i.e., initial access) in an environment, such as a compromised account, or access to new areas within an environment, such as a different availability zone. Threat actors will also look for ways to upgrade their permissions (i.e., privilege escalation) in order to access more resources. This cycle of researching, accessing, and manipulating various environment sources continues until a threat actor reaches their end goal, such as gaining access to sensitive data.

Threat actors can move to other hosts, services, and accounts within an environment quickly after they’ve gained a foothold, which means that you often have limited time to determine how a lateral movement attack was initiated and how to prevent it from advancing. Being familiar with your systems’ typical behavior is key in detecting and stopping lateral movement before it progresses to a critical stage, like data exfiltration.

Though a threat actor’s methods for moving laterally may vary depending on your cloud platform, we’ll look at the ways they can take advantage of Microsoft Entra ID (formerly known as Azure Active Directory) and its managed identities to move within hybrid Azure environments, including:

  • Understanding the common techniques for executing lateral movement via Entra ID

  • Spotting initial signs of unusual activity and tracking them to determine a threat actor’s next steps

  • Following lateral movement from end to end

Common lateral movement paths via Entra ID and its managed identities

Microsoft Entra ID is a cloud-based directory, identity, and access management service that enables users to connect to other organizational resources, such as the Azure portal and intranets. It is the central identity provider for an organization’s digital identities, which are entities that require authentication and authorization mechanisms—account credentials, secret keys, or certificates—to access Azure resources. For hybrid environments, supporting authentication and authorization through Entra ID requires managing identities for both on-prem and cloud-based hosts, accounts, and services.

Entra ID provides the following human and non-human base identities for organizations:

  • Human: employees, contractors, and vendors

  • Workload: containers, virtual machines, applications, and services

  • Device: mobile devices, IoT sensors and managed devices, and computers

To authenticate these identities, Entra ID uses primary refresh tokens (PRT), access tokens, and refresh tokens, depending on your environment’s configuration. These artifacts provide the foundational mechanisms for connecting users, workloads, and devices to other resources within their environment, both on-prem and cloud-based.

Though there are multiple ways a threat actor can take advantage of any available Entra-managed identity, some of the most common entry points for lateral movement include misconfigurations in devices; overly permissive service accounts; and exposed secrets, keys, and user credentials. Threat actors tend to be more successful in environments with simple misconfigurations, such as highly privileged domain, user, or service accounts and local administrative accounts that also have respective cloud accounts. For example, an on-prem account with over-privileged access could enable a threat actor to create a backdoor into the Azure cloud.

Less straightforward—but more difficult to detect—paths involve taking advantage of Entra ID’s authentication artifacts, including PRTs, access tokens, and refresh tokens. A threat actor can move laterally between on-premises hosts by using a pass-the-hash (PtH) technique, which uses the session of a compromised account to access a resource to which that account has authenticated access or elevated privileges. Another example is a pass-the-PRT attack, which obtains a compromised account’s PRT and session key. In this type of attack, the attacker can move laterally from an on-premises host to cloud resources by importing a PRT cookie into a session for long-term access to resources, bypassing login and MFA prompts. This kind of activity is especially difficult to detect in identities like Azure workloads, which are often created with the intention of running repetitive tasks on on-premises hosts and are therefore not monitored as closely as other types of accounts; these identities can also use multiple credentials to access a variety of resources, which creates a larger attack surface. Long-lived credentials in particular, such as access keys for Entra ID applications, are the most common causes of data breaches.

Because of the combination of on-prem and cloud-based sources that make up a hybrid environment, a threat actor has multiple entry points and techniques for lateral movement. That’s why knowing how to spot initial signs of this activity is critical to prevent it from advancing.

Detect initial signs of unusual activity

Techniques like PtH and pass-the-PRT are difficult to detect on their own because they take advantage of an account’s valid, authorized sessions—even bypassing MFA in some cases. That’s why it’s important to be familiar with the typical behavior of your users, services, and systems to detect other steps in a threat actor’s lateral movement path. The following questions can serve as a foundation for understanding the different ways a threat actor can move laterally, once they have initial access to your environment:

  • Does the non-human identity show atypical sign-in activity, such as from a different geographic location or an unusual time?

  • Have the credentials for a non-human identity changed, including via the addition of new credentials?

  • Has a non-human identity acquired new permissions or roles?

  • Who are the administrators and who has admin-level permissions for the host that was accessed?

  • How would a threat actor get access to admin-level permissions from a potentially compromised host?

To help you answer these questions, Azure generates several types of logs that can provide visibility into unusual activity on both on-prem and cloud hosts. The following logs are a few examples that offer a sufficient starting place for monitoring:

To show how these logs provide valuable insight into activity, let’s look at an example of lateral movement from a host to a cloud resource, such as Azure Key Vault. As a starting point, a threat actor uses the Pass-the-PRT attack to access a user account logged into an on-premises host. The threat actor discovers that the host’s ~/.azure directory has cached secrets (e.g., a client secret or certificate) for a service principal, which is a security identity used by applications or automated tools to access Azure resources. Using one of the available secrets, the threat actor successfully authenticates as the service principal and moves laterally to access Azure Key Vault. Because the attack used a service principal secret that was already authenticated with Entra ID, the threat actor could access the vault. Service principals within an Entra ID tenant have also been used to access business email and additional cloud resources, once a threat actor gained control of the service principal credentials or associated session tokens.

What would this activity look like in Azure logs? For the initial account that the threat actor compromised, you may see activity like what’s captured in the following example log about sign-ins from atypical, geographic locations or IPs, which Azure’s Identity Protection considers a “risky sign-in.”

Track anomalies captured from your Entra ID sign-in logs.
Signal for an Azure risky sign-in
Track anomalies captured from your Entra ID sign-in logs.

Since the lateral movement path included authenticating as a service principle, you can also look for events related to risky sign-in events for service principles, which Azure’s Identity Protection logs will also capture.

Be aware of a threat actor’s next steps

Knowing which accounts and hosts a threat actor accesses provides high-level visibility into lateral movement activity. But it’s important to also be aware of their next steps once they take advantage of authorized sessions, such as activity associated with system files, administrative utilities, or credential dumping tools.

Consider another example of a threat actor with initial access to an account logged in to a domain controller. Through credential dumping or similar techniques, they discover service account credentials or vulnerable secrets tied to a workload identity, which provides access to sensitive cloud resources, such as an SMB file share. File shares are particularly vulnerable because they are cloud-based but connected to on-premises hosts, which makes them easy targets for lateral movement to the cloud.

In this scenario, host activity that’s worth monitoring includes command line and network operations. For example, a threat actor may use built-in commands like ping or nmap to scan for open ports and services on connected hosts.

On top of these common operations, it’s also critical to monitor for commands or tools used to query or manipulate sensitive Active Directory files. For instance, a threat actor with elevated privileges on a domain controller may attempt to extract credentials from an NTDS.dit file—Active Directory’s database containing password hashes—using commands like ntdsutil) or tools like Mimikatz or Volume Shadow Copy Service (vssadmin).

Detect when threat actors attempt to access NTDS.dit files as part of their lateral movement paths.
Signal for Azure NTDS.dit usage
Detect when threat actors attempt to access NTDS.dit files as part of their lateral movement paths.

If you find and confirm signs of lateral movement, following its path back to a threat actor’s point of entry can help you discover which parts of your environment were vulnerable. Next, we’ll look at a few ways you can follow the lateral movement path in its entirety.

Follow lateral movement from end to end

After you’ve confirmed the initial signs of lateral movement, you can start from the point of detection and follow its path back to the threat actor’s starting point. As previously mentioned, being familiar with your environment’s typical behavior and infrastructure can help you understand how a threat actor would move from one account or resource to the next. Questions such as “Which resources and services would a compromised account have access to?” or “What would a threat actor want to access?” can provide a starting point for your investigation.

Threat actors can move into the cloud by first taking advantage of compromised resources, such as an employee laptop.
Diagram for Azure lateral movement
Threat actors can move into the cloud by first taking advantage of compromised resources, such as an employee laptop.

As illustrated in the diagram, if you discover signs of lateral movement from sources like workstations or workload identities, you should review their permissions and which resources they routinely access. Compromised accounts are the leading cause of cloud incidents, so keeping track of permissions and associated resources helps you identify which targets could become a part of a threat actor’s lateral movement path. For example, if a threat actor compromised the user account seen below via methods like phishing, they would have administrative access over multiple Azure resources, such as storage and virtual machines.

Keep track of an identity’s level of access to determine how a threat actor can laterally move to resources.
Signal for Azure user permissions
Keep track of an identity’s level of access to determine how a threat actor can laterally move to resources.

You can also track a potentially compromised identity’s recent activity to separate the threat actor’s movement from the identity’s typical behavior. In the following screenshot, you can see that a service principal performs scheduled updates to multiple virtual machines. However, the identity consistently failed to perform one task. It’s worth reviewing signals like these to determine if their activity is expected, the result of a transient error, or suspicious activity.

Track activity from potentially compromised identities, such as users or service principals, for suspicious events.
Azure Investigator for Service Principal
Track activity from potentially compromised identities, such as users or service principals, for suspicious events.

In addition to tracking lateral movement back to a threat actor’s initial point of entry, you should also look at the resources that a threat actor may try to access. Since the service principal has access to Azure resources, such as network components, storage, and virtual machines, you can review their configurations for vulnerabilities. In the following screenshot, you can see that logging may not be enabled for some blob storage resources, which would minimize your visibility into a threat actor’s interactions with them.

Determine which vulnerable Azure resources a threat actor could pivot to.
Azure compliance posture report
Determine which vulnerable Azure resources a threat actor could pivot to.

You can review these resources to determine if they are accessible by a compromised identity. In addition, you can track any recent changes to these configurations, which could indicate that the threat actor is attempting to exfiltrate data.

Detect lateral movement in Azure environments with confidence

In this post, we looked at the common ways threat actors can take advantage of hybrid Azure environments. Datadog Cloud SIEM can automatically surface malicious activity captured in your Entra ID and other logs. To track activity back to the source, Datadog Cloud Security Identity Risks links actions directly to specific identities, such as users or service principals. And with Datadog Cloud Security Misconfigurations, you can determine which resources a threat actor may move to once they have access to your environment.

For more information about how Datadog helps users detect, monitor, and respond to a threat actor’s lateral movement paths, check out our documentation. You can also learn more about Datadog’s Azure integration, which enables you to collect metrics, traces, and logs from all your Azure resources and monitor their activity. If you don’t already have an account, you can sign up for a free 14-day trial.

Acknowledgements

We’d like to thank Greg Foss and Katie Knowles of the Datadog Security Research team for their invaluable assistance with research and feedback on this article.