Cloud threat hunting is the proactive, hypothesis-driven search for attacker activity in cloud environments that automated detection missed. Instead of waiting for an alert, a hunter forms a hypothesis about how an attacker would operate — for example, abusing a stolen cloud role — then searches control-plane logs like AWS CloudTrail, Azure activity logs and Google Cloud audit logs for evidence.
Key takeaways
- Cloud threat hunting starts from a hypothesis, not an alert, and assumes an attacker may already be inside.
- The richest hunting data is control-plane telemetry: API calls, identity events and configuration changes.
- Every hunt should end in a new detection rule, so the next occurrence raises an alert on its own.
Picture this: an attacker logs in with real credentials, calls sts:AssumeRole, lists a few storage buckets, and reads data the account was technically allowed to read. Every API call is valid. Every credential is real. No alarm fires, because nothing matched a signature — and the activity sat inside permissions the account already held.
That is the gap cloud threat hunting exists to close. It is the proactive, hypothesis-driven search for attacker activity in cloud environments that evaded the alerts. A hunter does not wait for a rule to fire. They form a hypothesis about how an attacker would operate against this specific account, pull the telemetry that would show it, and look.
What is cloud threat hunting?
Cloud threat hunting is the practice of proactively searching cloud environments for threats that automated detection did not catch, driven by a hypothesis rather than an alert. The starting point is an assumption: that a capable attacker is already inside, or could be, and that the existing detections would not see them.
The hunter's job is to test that assumption against real telemetry and either find the activity or rule it out with evidence. As the CyberDefenders practitioner guide puts it, the hunt follows the shift in the environment itself: instead of hunting for a malicious process on an endpoint, you hunt for an anomalous sequence of API calls in an audit log, a new credential on an old role, or a resource made reachable from the public internet.
Cloud threat hunting is not the same as cloud detection, and it is not a replacement for it. Detection catches the known bad; hunting finds the unknown bad, then turns it into detection. SANS describes the same idea in its hunting guidance: hunting is a human-led, proactive effort to discover malicious activity that slips past existing controls, and it is not an alert queue with a different name.
How is cloud threat hunting different from hunting on-premises?
The core idea is the same — start from a hypothesis, search the data, prove or disprove it — but almost everything about the environment changes. The telemetry, the asset model and the boundary of what you can even see are all different.
| On-premises hunting | Cloud hunting | |
|---|---|---|
| Primary evidence | Endpoint process logs, EDR telemetry, Windows events | Control-plane API audit logs (CloudTrail, Azure, GCP) |
| Main artifact | A malicious process tree on a host | An anomalous sequence of API calls |
| Identity | Domain accounts and workstations | IAM roles, service accounts, access keys |
| Infrastructure | Servers you own, lasting years | Ephemeral containers, serverless functions |
| Network view | Packets you can capture | Flow logs and config history |
| Biggest blind spot | Unmonitored endpoints | Disabled logging, over-permissive roles |
Three differences matter most. First, the telemetry is API-shaped, not host-shaped: in the cloud, the richest source is the control-plane audit log, and the hunter's primary artifact is the API call, not the process. Second, identity is the perimeter — a stolen role is a stolen network. Third, infrastructure is ephemeral: a container that lived for nine minutes leaves no disk to image, only logs, which is why logging must be on before the incident, not after.
There is also a visibility limit newcomers miss: you can only hunt in data you actually collect. If CloudTrail is off in a region, or logs are deleted after seven days, no amount of skill recovers that history. Our guide to how to change DNS covers a related visibility point — DNS lookups are evidence too, and attackers abuse them in cloud environments as well.
What are the three types of cloud threat hunting?
Hunts fall into three types based on what starts them. Most teams use all three, but structured hunting is the best place to begin because it is the easiest to repeat.
Structured (hypothesis-driven)
Starts from a tactic, technique or procedure in the MITRE ATT&CK cloud matrix. One example hypothesis looks for lambda:CreateFunction followed by cloudtrail:StopLogging — a backdoor that blinds its own logging. Because the technique list is finite, a team can work through it systematically and measure coverage over time.
Unstructured (indicator-driven)
Starts from a known indicator of compromise, such as a malicious IP address, domain or file hash, and searches CloudTrail, GuardDuty findings, Azure activity logs and Google Cloud audit logs for it. This is the fastest hunt to run when fresh threat intelligence lands, but it only finds what someone else already identified.
Situational (entity-driven)
Starts from a risk assessment or a high-value asset, such as a privileged role or a production data store. The hunter asks what an attacker would do with this specific asset and searches for exactly that. This type finds the threats that matter most to the business, but it needs good asset knowledge to work.
Coralogix's getting-started guide recommends structured hunting against a finite list of ATT&CK techniques as the workable entry point for a new team. MITRE's own TTP-based hunting report argues the same: techniques hold up better than indicator sweeps, because the environment constrains which techniques an attacker can use after compromise. The Coralogix guide walks through the same three types with worked examples.
How does the cloud threat hunting loop work?
A cloud hunt runs as a loop with five steps. A hunt that finds nothing still ends in a better baseline and a new rule, so the effort is never wasted.
1. Form a hypothesis
Write a hypothesis that is specific and falsifiable, such as "a service account's access keys are being used from outside our cloud provider's IP ranges", and tie it to threat intelligence or an ATT&CK technique. Name the technique, the expected evidence, and where that evidence lives — before you touch any data.
2. Gather telemetry
Pull the logs scoped to the hypothesis into one queryable store: CloudTrail management and data events, VPC flow logs, container runtime logs and identity provider sign-ins. Scope tightly — a hunt across all logs at once drowns in noise.
3. Analyze
Baseline normal first, then surface the deviation: a new IP, a new region, a new API call, a role used at 3 a.m. for the first time. Hunters use pattern matching and statistical counts, and some teams add user and entity behavior analytics to flag outliers automatically.
4. Confirm or respond
Correlate across data types until the activity is ruled benign or fully mapped. If it is a real threat, preserve the logs and hand it to incident response. If it is benign, document why — that reasoning is evidence too.
5. Operationalize
Turn the result into a durable detection rule, update the baseline, and record the hunt so the next person does not repeat it. Then run the loop again with the next hypothesis.
What data do cloud threat hunters use?
Hunting lives or dies on telemetry. These are the sources that matter, and what each one reveals.
| Telemetry source | Cloud | What it shows |
|---|---|---|
| CloudTrail | AWS | Every API call: who, what, when, from where |
| Activity and sign-in logs | Azure | Portal and API activity, login success and failure |
| Cloud Audit Logs | Google Cloud | Admin activity, data access and system events |
| VPC flow logs | All three | Network traffic between resources |
| Config history | AWS Config, Azure Policy | When a resource or policy changed |
| GuardDuty / Defender / SCC findings | All three | What automated detection already flagged |
| IdP sign-in logs | Okta, Entra ID, Google | Human logins, MFA results, impossible travel |
The control-plane audit log is the foundation: without it, there is no hunt. That is why the first recommendation in every cloud hunting guide is the least glamorous one — turn on logging everywhere, in every region, and keep it somewhere searchable for at least 90 days. Attackers know this too, which is why disabling logging is itself a technique hunters look for.
For a small team, the practical stack is simple: native audit logs shipped to a central store, a SIEM or log search tool to query them, and the cloud provider's own detective service (GuardDuty, Microsoft Defender for Cloud, Security Command Center) as a second opinion. You can check your own public-facing posture with our free security headers checker while you are at it.
What are some example cloud hunts?
These four hunts are anchored in MITRE ATT&CK for cloud, and each one maps to a technique attackers actually use. They are good first hunts because the evidence is specific and the false-positive rate is manageable.
Anomalous role assumption (T1078.004)
Hypothesis: a cloud role is being assumed from an unusual place. Look for AssumeRole calls from IP addresses or regions the role has never used, at hours it never operates. A service account that only ever runs inside your VPC suddenly assuming a role from a residential ISP is worth investigating immediately.
New credentials on an old role (T1098.001)
Hypothesis: an attacker who stole a role created a backup way in. Search for new access keys, new console passwords or new federated credentials added to roles and users, especially roles that have been quiet for months. Persistence is the attacker's goal; a new credential on a dormant identity is the signature.
Activity in unused regions (T1535)
Hypothesis: an attacker is operating where you never do. If your company only uses two AWS regions, any API call in the other twenty-odd regions is suspicious by definition. This is one of the cheapest high-value hunts: the baseline is a simple allow-list, and the query is trivial.
Disabled logging (T1562.008)
Hypothesis: someone turned off the cameras. Search for StopLogging, DeleteTrail, DeleteDetector and similar calls, plus configuration changes that reduce log retention. Legitimate admins do this rarely, and usually with a change ticket — an unannounced logging change is a red flag on its own.
Each of these hunts follows the same pattern: a behavior from the MITRE ATT&CK knowledge base, a log source that would record it, and a baseline that makes the anomaly visible. The CyberDefenders guide lists the same four techniques as anchor hunts for cloud teams.
What tools and skills does cloud threat hunting need?
The tooling is less exotic than people expect. What matters is query skill, cloud knowledge and discipline about documentation.
- A queryable log store: a SIEM, a data lake, or the cloud provider's own log analytics. If you cannot query across weeks of logs in seconds, hunting is painful.
- Cloud fluency: hunters must know how IAM roles, policies, storage buckets and serverless functions actually work in the cloud they hunt. Without it, everything looks suspicious.
- ATT&CK for cloud: the shared language for naming techniques and measuring coverage. It turns hunts from one-off inspiration into a program.
- Threat intelligence: reports on current campaigns supply hypotheses. A new report about a group abusing storage buckets becomes tomorrow's hunt.
- Scripting: Python or the cloud CLI for pulling and shaping data that the console cannot. Most hunts are 80% querying, 20% scripting.
- Writing: a hunt that is not documented cannot become a detection. The report is part of the hunt, not an afterthought.
Managed detection and response providers can supply the tooling and the hunters for teams that cannot hire them. What they cannot supply is knowledge of your environment — which roles matter, which regions you use, what normal looks like. That part is yours either way, and it is the part that makes hunts accurate.
How do you start cloud threat hunting as a small team?
Start small and boring. SANS recommends a three-phase starter plan: establish the foundation, run a few guided hunts, then build the habit. In practice, that looks like this:
- Turn on logging everywhere and confirm logs actually arrive in one searchable place. Hunt in a region with logging off and you will find nothing — because there is nothing to find.
- Write down your baseline: which regions you use, which roles exist, which service accounts are active, what normal hours look like. A hunt without a baseline is guesswork.
- Pick one hypothesis from the example hunts above — unused regions is the easiest — and run it end to end, including the write-up.
- Turn the result into a detection, even if the hunt found nothing. A rule that alerts on activity in unused regions is worth having permanently.
- Repeat weekly. One hunt a week, documented and converted to detection, builds a library fast. After three months you have a dozen detections that did not exist before.
Keep hunts time-boxed. A hunt that drags on for two weeks without a finding is a hunt with a bad hypothesis, not a patient hunter. Time-box to a day, write up what you learned, and move on.
If you are building the broader security baseline at the same time, our small business cybersecurity checklist covers logging, backups, updates and access control together — the foundation hunting stands on.
What mistakes do new cloud hunting teams make?
The most common mistake is hunting without a baseline. If you do not know what normal looks like, every anomaly is a potential incident, and the team burns out on false positives within a month. Baseline first, hunt second.
The second is treating hunting as alert triage. If the work starts from a queue of alerts, it is detection, not hunting — useful work, but it will never find the attacker who never tripped a rule. Protect hunting time as separate from the queue.
The third is never operationalizing. A hunt that finds a technique and produces no detection, no ticket and no write-up will have to be repeated from scratch next time. The loop's fifth step is the whole point.
The fourth is hunting in data you do not retain. Short retention windows are the quiet killer of cloud investigations: by the time someone notices the anomaly, the logs are gone. Ninety days is a reasonable minimum for audit logs.
The bottom line
Cloud threat hunting is how you find the attacker your alarms missed. It starts from a hypothesis, runs on control-plane logs, and ends in a new detection rule. The four example hunts in this guide — anomalous role use, new credentials, unused regions and disabled logging — are a solid first month for any team.
Start with the prerequisite: logging on everywhere, kept for at least 90 days. Then run one hunt a week. You can track your public-facing exposure while you build the program with the free security headers checker.
Frequently asked questions
What is cloud threat hunting in simple terms?
It is deliberately searching your cloud accounts for an attacker who slipped past your alarms. You guess how an attacker would behave, then look through the logs for signs of it, instead of waiting for a security tool to warn you.
How is cloud threat hunting different from threat detection?
Detection is automated: a rule fires when it sees something known to be bad. Hunting is human-led: an analyst searches for activity that no rule covers. A good hunt ends by turning what was found into a new detection rule.
Do small businesses need cloud threat hunting?
Most small businesses do not need a dedicated hunter, but they do need the basics hunting depends on: audit logging turned on, logs kept somewhere searchable, and someone reviewing unusual identity activity regularly. Managed detection services can cover the rest.
What logs do you need for cloud threat hunting?
At minimum, the control-plane audit log: AWS CloudTrail, Azure activity and sign-in logs, or Google Cloud audit logs. Add identity provider sign-ins, VPC flow logs, and configuration history such as AWS Config for the full picture.
What is a hypothesis in threat hunting?
A testable statement about attacker behavior, such as a service account's access keys being used from outside your cloud provider's IP ranges. A good hypothesis names the technique, the evidence it would leave, and where that evidence lives.
How long does a cloud threat hunt take?
A focused hunt on one hypothesis typically takes a few hours to a couple of days, including writing it up. Program-level hunting is ongoing: teams run one or two hunts per week and build a library of detections over time.
Is cloud threat hunting the same as penetration testing?
No. Penetration testing tries to break in with permission to find weaknesses. Threat hunting assumes someone may already be in and searches historical data for evidence. Both improve security, but they answer different questions.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against CyberDefenders' practitioner guide, Coralogix's getting-started guide, SANS hunting guidance and MITRE ATT&CK for cloud.
How we write and fact-check →