Compromise Assessment: How to Check Whether You're Already Breached
What a compromise assessment is, how to scope and run one across identity, email, endpoints, cloud and edge devices, and how to use the findings.

A compromise assessment is a time-boxed investigation that answers one question: is an attacker inside our systems now, or were they in the past? Instead of waiting for an alert, investigators start from the assumption that a breach may already have happened, then search identity, email, endpoints, cloud services and internet-facing devices for evidence of it.
It is often called an "assume breach" exercise. The name describes the stance, not a belief that you have been hacked. You treat "someone got in" as a hypothesis and test it against the records you hold. We think every organisation that holds data worth stealing should run one, and this guide sets out how.
What is a compromise assessment, in plain terms?
Most security testing asks how an attacker could get in. A compromise assessment asks whether one already did, and what they touched.
The work is detective work on your own systems. Investigators read sign-in records, mailbox settings, server activity, cloud audit trails and device logs, looking for traces an intruder leaves behind: an account nobody created on purpose, a mail rule that hides messages, a program that starts itself every night, a login from a country where you have no staff.
| Exercise | The question it answers | What the defenders do | What you get |
|---|---|---|---|
| Compromise assessment | Has anyone already got in, and are they still here? | Search past and present evidence | A verdict with a confidence level, a coverage map, any intrusion timeline |
| Penetration test | Where could someone get in? | Usually nothing; testers probe | A list of weaknesses in a defined scope |
| Red team | Could a realistic attacker reach a business goal unnoticed? | Detect and respond, mostly unaware | An attack narrative and detection findings |
| Vulnerability scan | Which known flaws do our systems have? | Nothing | An automated list of missing patches and misconfigurations |
The last three are covered in our guide to red, blue and purple teams. A compromise assessment complements them. A clean penetration test says little about whether someone walked in through a flaw last spring.
Why should every organisation run a compromise assessment?
Two reasons: intruders often stay hidden for weeks or months, and a large share of victims hear about the intrusion from someone else.
Dwell time counts the days an intruder spends inside a network before anyone detects them.
Three annual reports, each measuring something different:
| Report (data year) | What it measured | Figure |
|---|---|---|
| Mandiant M-Trends 2026 (2025 investigations) | Median days from first access to detection, worldwide | 14 days, up from 11 |
| Same report | Median for the cases Mandiant categorises as cyber espionage and North Korean IT workers | 122 days |
| Same report | Share of intrusions organisations first spotted themselves | 52%, up from 43% in 2024 |
| IBM Cost of a Data Breach, India 2026 | Average days to identify a breach where no AI or security automation was used | 236 days (175 with extensive automation) |
| IBM Cost of a Data Breach 2026 (602 organisations, breaches March 2025 to February 2026) | Global average breach cost | $4.99 million |
| Verizon DBIR 2026 (2025 data) | Breaches that began with vulnerability exploitation | 31% |
Read the Mandiant figure the other way round: in 48% of its 2025 cases, the first sign came from outside the victim. That outside party can be a partner, a regulator, law enforcement or the attacker's own extortion note. A compromise assessment is a way to be the one who finds out first.
The Verizon figure matters for a different reason. When the way in is an exploited flaw, applying the patch closes the door but does nothing about anyone who already came through it. The assessment is how you check.
For how these clocks relate to each stage of an intrusion, see our data breach lifecycle hub. Published breach cost averages by region and year, each with its source, are on our breach costs by region page.
How do you scope a compromise assessment?
Scoping decides whether the result means anything. Six decisions, in order:
- Write the question and the look-back window. For example: "Is there evidence of unauthorised access to our identity platform, email or finance systems since 1 January?" The window can't be longer than your oldest useful logs.
- Name what matters most. List the systems and data an attacker would want: customer records, payment systems, the domain controllers, cloud admin accounts, backups. Count how many records each holds.
- Take stock of the evidence. For each area, note which logs exist, where they are kept and how far back they go. This step often produces the first finding: logs that roll over after 30 or 90 days.
- Choose the areas. A typical scope covers identity, email, endpoints and servers, cloud and SaaS, internet-facing devices, and the log platform itself.
- Set the rules. Keep the group that knows small. Agree how the team will talk out of band, how evidence will be stored, and who decides what happens if something is found.
- Write the hunting hypotheses. Each one is a specific, testable statement such as "an attacker has added a mail rule that hides messages from finance staff". Tie each to a technique in MITRE ATT&CK, the public catalogue of attacker behaviour, so coverage can be counted.
What should a compromise assessment cover?
Each area has its own traces. In plain terms:
- Identity. Sign-ins from unexpected places or devices, new administrator role assignments, accounts created outside the normal process, and third-party apps granted broad access.
- Email. Inbox rules that forward, delete or hide messages, mailboxes read by unfamiliar apps, and changes to who can send as whom.
- Endpoints and servers. Programs set to start on their own, new services, files dropped into web server folders, signs of password theft from memory, and remote logins between machines that never normally talk.
- Cloud and SaaS. Access keys or tokens used from new locations, bulk downloads from storage, and logging that was turned off.
- Internet-facing devices. VPNs, firewalls and email gateways: firmware integrity, unknown admin accounts, configuration changes outside change windows, and traffic from the device to the internet. These often can't run endpoint agents, which is why edge devices keep turning up in exploitation data.
- The logs themselves. Gaps, cleared event logs and disabled auditing are findings, not inconveniences.
What should a compromise assessment not be?
The exercise fails in predictable ways. Avoid these:
- Not a penetration test. Testers trying to break in generate the very noise investigators are trying to read. Run the two separately.
- Not a tool demonstration. An assessment built around installing one product and showing its dashboard measures that product, not your exposure. Judge any offer by the evidence it will examine and the look-back it can reach.
- Not a clean-up. Investigators should not delete suspicious files, rebuild machines or reset passwords mid-assessment. Each of those destroys evidence and can show an intruder they have been noticed.
- Not an announcement. Telling the whole company, or discussing it over email on a network that may be compromised, can tip off the person you are looking for.
- Not a certificate. "No evidence found" means no evidence in the data examined, for the period it covers. It is not proof that nobody was ever there.
What should you do if the assessment finds an intruder?
At that point it is an incident, and the work moves to your incident response plan. Our ISO/IEC 27035 guide explains how to structure that process.
The instinct is to act fast. A joint advisory from the cyber agencies of the US, UK, Canada, Australia and New Zealand, AA20-245A, lists the common mistakes that undo an investigation. Among them: "Mitigating the affected systems before responders can protect and recover data", "Touching adversary infrastructure (Pinging, NSlookup, Browsing, etc.)", "Preemptive credential resets", and "Communicating over the same network as the incident response is being conducted".
The advisory's order is to collect and preserve evidence first and decide on remediation after. It also warns against "Only fixing the symptoms, not the root cause": evict the intruder from one server and miss a second foothold, and they are back.
Legal clocks may also start once you know. Deadlines by country are in our breach notification table.
What does a good compromise assessment report contain?
Expect these, in this order:
- The verdict: compromise found, signs needing follow-up, or no evidence found, with a stated confidence level.
- A coverage map: each area, the evidence examined, the dates it covered, and what could not be examined.
- For any intrusion found: a timeline from earliest evidence onward, the accounts and systems involved, and what data was reachable.
- Indicators: file hashes, addresses, account names and techniques, in a form your monitoring can use.
- Control and visibility gaps: missing logs, short retention, devices with no monitoring.
- Recommendations with owners, split into "do now" and "fix before the next assessment".
The coverage map is the part most worth reading closely. It tells you how much weight the verdict can bear.
How often should you run a compromise assessment?
No standard we found sets a frequency. In our view, once a year is a sensible baseline, plus an extra one after any of these:
- an exploited flaw is announced in a device you run on the internet;
- a key supplier or managed service provider reports a breach;
- you acquire a company and plan to connect its network to yours;
- a long-running incident is closed and you want to confirm the attacker is gone;
- before a cyber insurance renewal, so the answers you give an underwriter rest on evidence.
Should you run it in-house or hire an outside firm?
An in-house team knows the environment and what normal looks like. An outside firm can bring people who investigate intrusions every week and threat intelligence on current attacker techniques. It also brings independence, which matters if the result goes to a board or an insurer.
AA20-245A suggests organisations "consider soliciting incident response support from a third-party IT security organization" to provide expertise, make sure the actor is eradicated, and avoid issues that lead to follow-up compromise.
One workable split: your team prepares the log inventory and access in advance, and an outside firm runs the hunt. Whichever you choose, ask your lawyers before the work starts how the findings will be documented and shared. We don't give legal advice on that point.
How do the findings feed your breach cost estimate?
A compromise assessment produces facts that most cost estimates are missing. Our free breach value calculator asks for several of them:
- Records held. The assessment's list of what an intruder could reach is a better count than a guess.
- Days to restore. If investigators find backups were reachable from compromised accounts, your realistic restore time is longer than the plan says.
- The control questions. Answer them from what the assessment found, not from policy documents. The calculator treats "unknown" as "no".
- Critical assets. Enter the systems the assessment flagged as most exposed.
If the assessment finds an active intrusion, stop estimating and start responding. The estimate is for planning, and cyber insurance cover is sized before an incident, not during one.
Going deeper: for security and IT teams
Look-back is bounded by retention. Mandiant's M-Trends 2026 puts it plainly: "With threats like BRICKSTORM achieving dwell times of nearly 400 days, standard 90-day log retention policies leave organizations completely blind to the initial access vector and the full scope of the intrusion." It adds that organisations "must extend log retention policies well beyond standard 90-day windows." AA20-245A recommends you "Retain log data for at least one year." Record the actual retention per source in the coverage map, because it caps the window you can certify.
Hypotheses mapped to ATT&CK. A starting set, each tied to evidence you can pull:
| Area | Hypothesis | ATT&CK technique | Evidence to examine |
|---|---|---|---|
| Identity | Valid cloud credentials used by someone else | T1078.004 Valid Accounts: Cloud Accounts | Identity provider sign-in logs: new countries, ASNs, devices, legacy protocols |
| Identity | Privileges or credentials added for persistence | T1098 Account Manipulation | Directory audit logs: role assignments, new app credentials, MFA method changes |
| Rules hiding replies or alerts | T1564.008 Hide Artifacts: Email Hiding Rules | Inbox rule inventory across all mailboxes, rule-creation audit events | |
| Mail read through an API or app | T1114.002 Email Collection: Remote Email Collection | Mailbox access audit by client app and source address | |
| Cloud and SaaS | Stolen tokens replayed | T1550.001 Use Alternate Authentication Material: Application Access Token | Token use from addresses or devices that never completed an interactive sign-in |
| Cloud and SaaS | Bulk reads from storage | T1530 Data from Cloud Storage | Object-level access logs, egress volume by principal |
| Edge | Appliance exploited, attacker resident | T1190 Exploit Public-Facing Application, T1133 External Remote Services | Vendor integrity tool output, admin logins, config diffs, appliance-originated connections |
| Servers | Web shell on an internet-facing server | T1505.003 Server Software Component: Web Shell | New or modified files in web roots, web server processes spawning shells |
| Endpoints | Persistence as a service | T1543.003 Create or Modify System Process: Windows Service | Service installation events, unsigned service binaries |
| Domain | Credential theft and lateral movement | T1003 OS Credential Dumping, T1021 Remote Services | Domain controller and EDR telemetry, logon type patterns between hosts |
| Logs | Tracks covered | T1070 Indicator Removal | Cleared-log events, auditing policy changes, gaps in ingestion |
Technique IDs and names were checked against MITRE ATT&CK Enterprise, content version 20.1, on 15 November 2026.
Prioritise from current advisories for your sector. For living-off-the-land intrusions, the specific Volt Typhoon hunts from CISA's advisory are summarised in our fileless attacks guide; that group kept footholds in some victim networks "for at least five years", according to AA24-038A (7 February 2024).
In practice: an edge device's own check can be fooled. In AA24-060B (29 February 2024), CISA and partners reported that "Ivanti's internal and previous external ICT failed to detect compromise", and that an actor "may be able to gain root-level persistence despite issuing factory resets." The advisory tells defenders to "assume that user and service account credentials stored within the affected Ivanti VPN appliances are likely compromised." For any appliance in scope, a passing integrity check is one input, not a verdict. Pair it with the appliance's forwarded logs and network evidence, and treat credentials stored on the device as exposed if exploitation is plausible. Our write-up of the 2026 Ivanti Connect Secure flaws covers a later case on the same product line.
Evidence handling. AA20-245A's order is collect, then analyse, then act. Host artifacts it lists include running processes and services, installed applications, scheduled tasks, event logs and antivirus detections; network artifacts include remote access sessions, anomalous DNS and proxy data. Hash what you collect, record who handled it and when, and work from copies.
Score coverage, not just findings. For each hypothesis record: evidence available (yes, partial, no), date range examined, result. A hypothesis you couldn't test because the logs didn't exist goes in the report as a gap. That table is the input to your next logging budget, and it maps directly onto the detection tool blind spots you may need to close.
What to ask a provider: - Which data sources will you examine, and how far back can each go in our environment? - Do you need to install an agent, and is it removed afterwards? - How will you avoid alerting an intruder during collection? - At what point do you stop and escalate to incident response, and who decides? - Will the report include a per-hypothesis coverage table mapped to ATT&CK? - Who keeps the collected data, for how long, and how is it destroyed?
A compromise assessment checklist
- Write the question and the look-back window in one sentence.
- List the systems and data an intruder would want, with record counts.
- Inventory logs per area and note how far back each goes.
- Extend retention on identity, email, edge and cloud audit logs to at least a year.
- Pick ten to fifteen hunting hypotheses and map each to ATT&CK.
- Name the small group who knows, and set an out-of-band channel.
- Agree in advance who escalates to incident response if something is found.
- Collect and preserve before anyone changes a system.
- Insist on a coverage map, not just a verdict.
- Feed records, restore time and control gaps into your breach cost estimate.
- Book the next assessment, and list the triggers that bring it forward.
Key takeaways
- A compromise assessment looks for intruders who are already in, or were in; a penetration test looks for ways in.
- Mandiant's median time to detection was 14 days in 2025, and 122 days for its cyber espionage and North Korean IT worker categories; organisations found the intrusion themselves in 52% of its cases.
- The joint advisory AA20-245A warns against cleaning up, touching attacker infrastructure or resetting credentials before evidence is preserved.
- "No evidence found" is only as strong as the logs and look-back behind it.
Sources
- Google Cloud (Mandiant): M-Trends 2026, 24 March 2026 (2025 investigations)
- IBM: IBM Study: One in Four Malicious Breaches are AI-Enabled, Costing Companies $6 Million on Average, 29 July 2026
- IBM India: India Records Its Highest Average Cost of a Data Breach at INR 255 Million in 2026
- Verizon: 2026 Data Breach Investigations Report news release, 19 May 2026 (2025 data)
- CISA and partners: AA20-245A, Technical Approaches to Uncovering and Remediating Malicious Activity, 1 September 2020, revised 24 September 2020
- CISA and partners: AA24-060B, joint advisory on threat actors exploiting Ivanti Connect Secure and Policy Secure gateways, 29 February 2024
- CISA and partners: advisory AA24-038A (Volt Typhoon), 7 February 2024
- MITRE ATT&CK: Enterprise tactics and the technique pages linked in the table above
- CyphrQ: breach value calculator, breach costs by region
Spotted a mistake? Report a correction.