Join our Newsletter — 33% off our NHI Course
Home› Guides› Data Exfiltration Playbook: Confirming, Containing and Reporting Data…
Template Incident Response & Forensics

Data Exfiltration Playbook: Confirming, Containing and Reporting Data Theft

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 26 October 2026 13 min read
On this page

When data leaves without permission, the clock for regulators and customers starts the moment you become aware, yet most teams lose the first day arguing about whether exfiltration actually happened. This template gives [Organisation] a ready-to-adopt playbook for suspected or confirmed theft of data by an external attacker: bulk downloads from cloud storage and SaaS, transfers over command-and-control channels, uploads to attacker-controlled cloud accounts, and exports through stolen API keys or OAuth tokens. Background on techniques and preventive controls sits in the Data Exfiltration Guide; theft by an employee or contractor follows the Insider Data Theft Response Playbook. Replace every [bracketed] placeholder and exercise it before you need it.

How to use this template

  • Adopt, then tailor: copy sections 1 to 8 into your incident response plan alongside the Incident Response Plan Template, and fill in named owners, log sources and retention periods.
  • Turn on the logs first: this playbook only works if object-level logging exists before the incident. AWS CloudTrail does not log data events such as S3 GetObject by default, and Google Cloud Data Access audit logs are disabled by default for every service except BigQuery.
  • Treat the identity as the exfiltration channel: most cloud and SaaS theft uses valid credentials (T1078.004 Cloud Accounts), API keys or OAuth grants. Section 4 revokes them before anything else.
  • Review annually and after every exfiltration incident, cloud platform change or new SaaS data store. Owner: [Head of Security Operations].

1. Scope and triggers

1.1 This playbook applies to suspected or confirmed unauthorised transfer of [Organisation] data, or data [Organisation] holds for others, to a location outside its control, by an external actor or by a compromised account or non-human identity (NHI). It covers on-premises systems, cloud storage, SaaS applications, data warehouses and email.

1.2 Exfiltration paths in scope.

PathATT&CK v20Where it showsFirst containment lever
Over the command-and-control channelT1041 Exfiltration Over C2 ChannelEDR network events, proxy and firewall egress volume per hostIsolate the host, block the C2 destination
To a web service or cloud storage (for example file-sharing or sync sites)T1567 Exfiltration Over Web Service; T1567.002 Exfiltration to Cloud StorageProxy and CASB logs, DLP alerts, large POST or PUT uploadsBlock the destination domain or tenant, revoke the session
Over another protocol (FTP, DNS, SMTP)T1048 Exfiltration Over Alternative ProtocolFirewall logs, DNS query volume and length, mail gateway logsBlock the protocol outbound from the source segment
Direct reads from cloud storage with stolen keysT1530 Data from Cloud StorageCloudTrail S3 data events, Azure Storage logs, GCS Data Access logsDeactivate the key, deny the principal, block public access
Copy or snapshot shared to another cloud accountT1537 Transfer Data to Cloud AccountSnapshot sharing and cross-account copy events in the control plane logRemove the share, revoke the role, lock the account
Bulk export from SaaS, wikis, CRM or code repositoriesT1213 Data from Information RepositoriesSaaS audit log export and report API calls, OAuth app activityRevoke the OAuth grant and refresh tokens, disable the app
Mailbox harvestingT1114.002 Remote Email CollectionMailbox audit events (for example MailItemsAccessed), mail forwarding rulesRevoke sessions, remove forwarding rules and app consents

1.3 Triggers: a DLP or CASB alert on sensitive data leaving; egress from one host or identity above [5] times its 30-day baseline; staged archives on servers (T1074 Data Staged, T1560 Archive Collected Data); a cloud key or token used from an unknown network; a supplier or researcher reporting [Organisation] data online; an extortion email (follow the Extortion Email Playbook in parallel); or ransomware, where theft before encryption is now usual.

1.4 Out of scope: data published by misconfiguration with no evidence of access uses the Cloud Storage Exposure Playbook unless logs show downloads; theft by a current or former insider uses the Insider Data Theft Response Playbook.

2. Roles and contacts

RoleNamed ownerResponsibilities
Incident Lead[Security Operations Manager]Declares the incident, sets severity, owns the decision log and the awareness timestamp
Cloud and SaaS Lead[Cloud Security Lead]Log exports, key and role actions, storage policies, SaaS admin actions
Identity Lead[IAM Lead]Session, token, OAuth grant and NHI revocation and rotation
Forensics Lead[DFIR Lead or retained provider]Evidence preservation, volume and object reconstruction, root cause
Data Owner[Business owner of the affected data set]Says what the data is, whose it is and how sensitive it is
Data Protection Officer[DPO]Risk to individuals, regulator notification, breach register entry
Legal and Communications[General Counsel], [Head of Communications]Privilege, contracts, insurer, law enforcement, customer and media messages

2.1 Pre-authorisation. While a trigger in 1.3 is active, the Identity Lead may revoke any session, token, key or OAuth grant, and the Cloud and SaaS Lead may block any outbound destination, without further approval. Disabling a production integration used by customers needs the Data Owner, reachable within [30] minutes.

2.2 Keep 24/7 contacts for cloud and SaaS support, the retainer, the insurer, outside counsel and the data protection authority offline.

3. Detection and triage

  1. Record the awareness time. Note in the decision log when [Organisation] had a reasonable degree of certainty that a breach occurred. This is the point the ICO and GDPR 72-hour period runs from, so record it carefully.
  2. Confirm transfer, not just access. Correlate three views: the source (storage, SaaS or database audit logs showing reads or exports), the identity (who or what made the calls, from where) and the egress (proxy, firewall, NetFlow or cloud VPC flow logs showing bytes leaving). One view is suspicion; two that agree on time and volume is confirmation.
  3. Find the identity. List every principal involved: user, service account, access key, role session, OAuth app, personal access token. Check where its secret lived and who else could read it.
  4. Scope the data. From object-level logs, build a list of objects, tables, mailboxes or record types read during the window. Where object logs are missing, treat everything the identity could read as exposed until proven otherwise, and say so in the log.
  5. Scope whose data. The Data Owner and DPO classify it: personal data (and special category data), customer confidential data under contract, credentials, regulated data (payment card, health) and intellectual property. Use the Data Classification Guide labels.
  6. Look for secrets inside the stolen data. Scan exported records, tickets and files for keys, passwords and tokens. In the Salesloft Drift breach the attacker searched exported Salesforce support cases for AWS keys and Snowflake tokens, which turned one theft into many.

Decision point A: if transfer is still in progress, go to section 4 immediately and finish scoping afterwards. Stopping the flow comes before a complete picture.

Evidence to preserve: cloud control plane and data event logs, SaaS audit logs and API logs exported to write-once storage before their retention expires (Microsoft Purview Audit Standard keeps records for 180 days by default); proxy, DNS, firewall and flow logs; DLP and CASB alert detail; EDR telemetry and memory images from any staging hosts; copies of any extortion messages with full headers. Follow the Evidence Handling and Chain of Custody Guide and the Cloud Forensics Guide.

4. Containment

  1. Revoke the identity doing the transfer: disable the user, deactivate (then delete) the access key, revoke role sessions, revoke OAuth access and refresh tokens and disable the connected app or service principal. Resetting a password alone leaves issued tokens valid.
  2. Block the destination: add the domain, IP range, storage tenant or cloud account to proxy, DNS and firewall blocks. Remove external shares, public links and cross-account snapshot permissions created in the window.
  3. Isolate staging hosts with EDR containment, keeping the agent connected so memory and files can still be collected.
  4. Tighten the data store: apply a deny statement for the compromised principal in the bucket or resource policy, enable block public access, and restrict the store to known networks.
  5. Protect the logs: confirm logging is still on and that the attacker has not altered trails or retention (T1685 Disable or Modify Tools covers tampering with security tools).

Decision point B: watch or cut. Monitoring to learn more is acceptable only when no further regulated data can leave; the Incident Lead and General Counsel decide and record why.

Decision point C: if the identity is an integration many customers rely on, the Data Owner chooses between disabling it now or restricting its scopes and network range while a replacement credential is issued.

5. Eradication

5.1 Close the initial access route: the phished account, the exposed key in a repository, the exploited server, or the compromised third-party integration.

5.2 Credential and NHI resets.

CredentialWhenAction
Cloud access keys and role trust used in the theftAlwaysDelete keys, review and narrow trust policies, replace long-lived keys with federated or workload identity
OAuth grants and refresh tokensIf any SaaS export was involvedRevoke all tokens for the app, review consent grants tenant-wide, reissue with least scopes
Secrets found inside the stolen dataAlwaysRotate every one, then check its logs for use since the theft
Data warehouse and database service accountsIf readable by the attackerMove to key pair or federated authentication, enforce network policies, assign an owner
Personal access tokens and SSH keysIf repositories were readRevoke, reissue with expiry, enable secret scanning
User accounts used from attacker infrastructureAlwaysReset, revoke sessions, re-register phishing-resistant MFA

5.3 The Snowflake breach shows why section 5.2 matters: Mandiant found accounts without MFA, credentials not rotated for years and no network allow lists. See the Leaked Credential Response Playbook for rotation at scale.

6. Recovery

  1. Restore integrations with new, narrowly scoped credentials and network restrictions, one at a time.
  2. Keep destination blocks and add detection rules for the volumes, user agents and destinations seen in this incident.
  3. Monitor for [90] days for use of rotated credentials, re-registration of OAuth apps and [Organisation] data appearing on leak sites or paste sites.

7. Communication and notification

7.1 Notification decision. The DPO and General Counsel decide, with the Data Owner, using the facts from section 3. Under UK and EU GDPR Article 33 a personal data breach must be reported to the supervisory authority without undue delay and, where feasible, within 72 hours of awareness unless it is unlikely to result in a risk to individuals; the ICO accepts reports in phases when details are incomplete. Where the risk is high, affected people must be told directly without undue delay (Article 34). Every breach goes in the breach register with the reasoning, whether reported or not. US state, sector and other national laws differ in triggers and deadlines: see the Breach Notification Laws by Country Guide, the Data Breach Notification Checklist and the GDPR Compliance Guide for Security Teams.

AudienceWhenOwnerContent
ExecutivesWithin [1] hour of confirmationIncident LeadWhat left, whose data, decisions needed
Data protection authorityWithin 72 hours of awareness where requiredDPONature, categories and approximate numbers, likely consequences, measures
Affected individualsWithout undue delay if high riskDPO and CommunicationsWhat happened, likely consequences, what they should do, contact point
Business customersPer contract, often [24] to [72] hoursLegal CounselFacts, data involved, indicators, contact point
Cyber insurerPer policy, before engaging any extortion actorLegal CounselNotice, request for panel support
Law enforcementFor criminal theft or extortionLegal CounselTimeline, indicators, extortion messages

7.2 Extortion overlap. If the attacker demands payment not to publish, run the Extortion Email Playbook alongside this one and read the Data Extortion Without Encryption Guide and the Ransomware Payments and Sanctions Guide. Paying does not remove a notification duty, and claims of deletion cannot be verified.

8. Post-incident review

8.1 Within [10] business days run a blameless review using the Post-Incident Review and Root Cause Analysis Template.

8.2 Ask: time from first transfer to detection and revocation; which logs were missing; was the identity over-privileged; how did the secret leak.

Implementation guidance

Confirmation sources compared.

SourceProvesGap
Object-level storage and SaaS audit logsWhich objects or records were read, by which identityOften off by default or short retention
Proxy, firewall and flow logsBytes leaving and to whereEncrypted content, cloud-to-cloud transfers never cross your edge
DLP and CASBSensitive content patterns in transitMisses encrypted archives and unmanaged paths
EDRStaging, archiving and the process that sent dataNo view of SaaS or API-only theft

Rollout.

  1. Inventory sensitive data stores and turn on object-level logging for them (CloudTrail S3 data events, GCS Data Access logs, SaaS audit logs), shipping to a SIEM with [12] months retention. See the Cloud Logging and Audit Trail Guide.
  2. Build per-identity egress and read-volume baselines and alerts, starting in alert-only mode for [30] days to tune.
  3. Pre-write revocation runbooks for each cloud and SaaS platform, and test them on a non-production key.
  4. Run a tabletop with the DPO using a cloud bulk-download scenario. See the Tabletop Exercise Guide.
  5. Rollback: document how to restore each blocked destination and disabled integration once replaced.

Small vs large organisations. A small organisation should at least enable SaaS and cloud audit logs, list OAuth apps with data access and name who makes the notification call. A large organisation needs per-platform revocation automation and a data inventory mapping stores to owners.

Metrics. Time from first transfer to detection; time from confirmation to revocation; percentage of sensitive data stores with object-level logging; percentage of NHIs with a named owner and expiry; notification decisions made within [48] hours of awareness; secrets found in stolen data rotated within [24] hours.

Framework mapping.

FrameworkReferences
NIST CSF 2.0 and SP 800-61 Rev. 3DE.AE-02 event analysis; RS.AN-03 analysis; RS.AN-07 evidence integrity; RS.AN-08 magnitude estimated; RS.MI-01 containment; RS.CO-02 notification
NIST SP 800-53 Rev. 5IR-4 Incident Handling; IR-6 Incident Reporting; SI-4 System Monitoring; SC-7 Boundary Protection; AC-4 Information Flow Enforcement; AU-11 Audit Record Retention; IA-5 Authenticator Management
UK and EU GDPRArticle 33 notification to the authority; Article 34 communication to data subjects
MITRE ATT&CK v20T1041, T1567, T1567.002, T1048, T1530, T1537, T1213, T1114.002, T1074, T1560, T1078.004

Standards and references

Related NHI Mgmt Group resources: Data Exfiltration Guide · Insider Data Theft Response Playbook · Extortion Email Playbook · Data Loss Prevention (DLP) Guide · Cloud Incident Response Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 26 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.