Join our Newsletter — 33% off our NHI Course
Home› Guides› If your ERP platform is compromised: containment, credential…
Guide Data Security

If your ERP platform is compromised: containment, credential rotation and financial data recovery steps

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 14 November 2026 13 min read
On this page

An ERP compromise is a security incident and a financial controls failure at the same time: the attacker can read your ledgers and personal data, and can also change supplier bank details, release payments and alter records that feed your financial statements. The compromise may begin with a stolen user or administrator login, an integration or interface account whose password sits in a middleware configuration, an unpatched internet-facing component, abuse of an emergency (firefighter) privileged session, or a partner connection. This playbook is vendor-neutral and covers on-premises, hosted and cloud ERP suites, including the finance, procurement, payroll and supply chain modules that run on them. It is for incident responders, ERP technical and security teams, finance controls and internal audit. Platform-specific steps for one major suite are in the SAP and ERP Compromise Response Playbook, and hardening is covered in Securing the enterprise resource planning (ERP) platform itself; neither is repeated here.

Key takeaways

  • Stop the money before you chase the attacker. Hold outgoing payment runs and bank file transmission until master data changes in the window are verified, then ask banks to recall anything suspicious.
  • Run two investigations in parallel. A technical one (how they got in, which identities they used) and a business one (what they changed in master data, postings and authorisations). Recovery needs both signed off.
  • Integration accounts are the widest door. Interface, batch and connector identities often have broad rights, no MFA and passwords stored on other systems; rotate them at source and fix every consumer.
  • Emergency access is a target, not a safeguard. Review every firefighter session in the window against its ticket and log, and suspend self-service emergency access during the incident.
  • Reconcile, then restore. Fraudulent changes are usually reversed by controlled accounting entries with an audit trail; restoring a database backup loses legitimate transactions and is a last resort.

What an ERP compromise exposes

AssetWhat an attacker gainsFirst containment action
Supplier, customer and employee master dataChange bank accounts and payee details so legitimate payments go to the attacker (ATT&CK T1657 Financial Theft)Freeze master data changes; list all changes in the window
Payment runs, bank file interfaces and payrollRelease or redirect payments, insert payees, alter bank files after approvalHold payment runs and outbound bank files
Ledgers, postings and reportsAlter or hide records that feed financial reporting (T1565.001 Stored Data Manipulation)Snapshot journal and change logs for the window
Administrator and security rolesCreate users, assign powerful roles, change audit settingsLock, do not delete, users changed in the window
Emergency (firefighter) privileged accessTime-boxed superuser rights that bypass normal approvalsSuspend self-service checkout; require incident lead approval
Integration, interface and batch accountsReach into connected systems (HR, banking, procurement portals, data warehouse) and back (T1199 Trusted Relationship)Inventory every integration identity and where its secret is stored
Bulk data: personal, payroll, pricing, contractsExfiltration of regulated and commercially sensitive data (T1213 Data from Information Repositories)Check report, export and download logs
Change and transport pipeline, custom codePlant code that runs in production or changes calculationsFreeze the production change route except for incident fixes

See the ERP platform integration security guide for how integration identities should be designed and scoped.

How the compromise shows up

SignalWhere you see itWhat it can mean
Supplier or employee bank details changed and paid in the same or next runMaster data change reports, payment proposal reviewPayment redirection (T1657)
Interactive logon by an integration, batch or system accountERP security audit log, identity provider logsStolen machine credential reused by a person (T1078 Valid Accounts)
New users or powerful role assignments outside the request processUser and authorisation change logs, IGA reconciliationPersistence (T1098 Account Manipulation)
Emergency access sessions with no ticket, unusual length or unusual transactionsEmergency access logs and session reviewsAbuse of privileged break-glass rights
Large report runs, table exports or downloads by unusual usersReport and export logs, data loss preventionBulk data theft (T1213)
Audit logging switched off, log retention shortened, log files deletedERP system parameters, missing SIEM volumeDefence impairment (T1685 Disable or Modify Tools)
Unscheduled changes or code moved into productionChange pipeline logs, change calendarPlanted logic or tampered calculations (T1565 Data Manipulation)
Suppliers asking why payments have not arrivedAccounts payable inbox and call logsLate discovery of redirection, often the first sign

MITRE ATT&CK's detection guidance for stored data manipulation focuses on unauthorised changes to business-critical data and on processes that change data outside expected workflows. In an ERP that means comparing changes against approved requests, not just watching for errors.

Triage: the first hour

  1. When is the next payment run or payroll? If it is within 48 hours, the payment hold decision comes before anything else.
  2. What is the entry point? A credential (user, admin, integration account), an exploited component, a partner connection or emergency access.
  3. Which identities acted in the window? Human users, integration and batch accounts, emergency access IDs and administrator accounts.
  4. What changed in business data? Bank details, payees, credit limits, payment terms, journals, payroll data, prices.
  5. Where do this system's stored credentials lead? Connections to banking, HR, procurement portals and data platforms may extend the incident.
  6. Is this one tenant or company code, or the whole landscape? Shared integration accounts and shared administrators usually mean the whole landscape.

Roles and decision points

RoleOwnsKey decision
Incident leadOverall response, link to the main incident planWhether the ERP keeps running under monitoring or is taken offline
ERP technical leadSystem isolation, logs, patching, change freezeWhich interfaces to shut and in what order
ERP security leadUsers, roles, integration accounts, emergency accessRotation order that does not stop critical batch processing
Finance controls leadPayment holds, master data verification, bank liaison, reconciliationWhen to release payments, company by company
Internal audit and external auditor liaisonControl impact, evidence for auditWhether the incident is a control deficiency to report
Legal and privacyRegulator, employee and customer notificationWhether personal or payroll data exposure is notifiable

Taking a finance system offline is a business decision the incident lead records with the risk owner. Leaving a known attacker path open while it runs is not an acceptable option.

Containment by priority

  1. Hold the money: stop outgoing payment runs and bank file transmission for affected entities, verify every bank detail change in the window with the supplier or employee through a contact already on file, and ask banks to recall suspicious transfers. The FBI IC3 advises contacting your financial institution immediately to request a recall and filing a complaint, whatever the amount; IC3 may help freeze funds.
  2. Cut the entry point: remove internet exposure of the vulnerable component, block the partner connection or disable the compromised account.
  3. Lock, do not delete: lock users created or changed in the window and compromised user accounts, preserving their history.
  4. Restrict emergency access: suspend self-service emergency access checkout and require approval from the incident lead for each session, with live review.
  5. Close trust paths: disable or restrict integration connections with stored credentials from the affected system, starting with banking and payroll interfaces.
  6. Freeze change: lock the route into production and set production to non-modifiable except for approved incident fixes.
  7. Protect the logs: copy audit, change and security logs off the system before size or retention limits overwrite them.

Credential rotation

OrderCredentialNotes
1ERP administrator and security administrator accountsNamed accounts only, phishing-resistant MFA, new values in the privileged access vault
2Emergency access identitiesRotate and reissue; confirm session logging works before reuse. See the Break Glass Access Procedure Template
3Banking and payroll interface accounts, keys and certificatesCoordinate with banks for certificate or key replacement; test with a small file first
4Other integration, interface and batch accountsRotate at source, update every consumer (middleware, scripts, schedulers) and record each breakage
5Database, operating system and application server service accountsTreat as exposed if the host was reachable
6Single sign-on and identity federation trustReissue signing certificates if the trust configuration could have been changed
7End users active in the windowForce reset and MFA re-registration for those whose sessions appear in the attacker timeline

Integration accounts are non-human identities and the step most often skipped because rotation breaks overnight batches. Plan the change with the batch schedule rather than deferring it. The guide to detecting interactive logons by service accounts shows how to monitor their reuse afterwards.

Eradication and rebuild

  1. Preserve evidence first, then patch or remove the exploited component and retest the path.
  2. Remove attacker artefacts: unauthorised users, roles and role assignments; scheduled background jobs; changed system parameters; files in web-accessible paths on application servers.
  3. Reverse unauthorised code and configuration through the normal change route with code review, so the fix itself is audited.
  4. Rebuild application servers from trusted images where operating system level access is confirmed, rather than cleaning them.
  5. Re-certify access: run an out-of-cycle review of administrator, security, emergency access and payment-related roles, with segregation of duties conflicts reported to finance.

Financial data recovery

  • Master data: finance confirms each bank detail and payee change in the window with the counterparty and reverts unverified changes, with the reason recorded.
  • Payments: list payments made since the earliest attacker activity, mark those to suspect payees, and track recall status per bank.
  • Postings: review manual journals and postings by unusual users; reverse fraudulent entries through standard accounting procedures so the trail stays complete.
  • Restore only as a last resort: restore from backup only where integrity cannot be re-established by reconciliation, and agree the recovery point with finance, because later legitimate transactions must be re-entered. NIST CSF 2.0 RC.RP-03 requires backups to be verified before use.
  • Release payments gradually: entity by entity, after four-eyes review of each payment proposal.

Evidence to preserve and notification

  • System evidence: security audit log, user and authorisation change logs, system and application server logs, interface and batch logs, change pipeline history.
  • Business evidence: master data change reports, payment proposals and runs, bank files sent, journal listings for the window, emergency access session logs and tickets.
  • Handling: store copies outside the ERP landscape with hashes, restricted access and a chain-of-custody record.
  • Data protection: under UK GDPR the ICO guidance requires notifiable personal data breaches to be reported without undue delay and not later than 72 hours after becoming aware, with high-risk breaches also communicated to individuals; payroll and HR data often meet that bar. Record every breach even when not reported.
  • Financial reporting and law enforcement: involve auditors where reported figures may be affected, and report payment fraud to the police or national fraud reporting service as well as the banks.

Decision guidance

SituationChooseTrade-off
Payment redirection only, single compromised userPayment hold for affected entities, verify master data, reset the user, keep the system runningLimited disruption; depends on audit logs showing no admin activity
Administrator or integration account used by the attackerLandscape-wide rotation and access re-certification, change freezeBatch disruption during rotation, but shared accounts cross every boundary
Operating system access or exploited component on an application serverRebuild servers, rotate host and database accounts, full evidence capturePlanned outage; cleaning in place leaves implants
Cloud ERP tenantUse the provider's incident and log export routes; you own users, roles, integrations and dataLess host evidence available; contract and shared responsibility terms set what the provider supplies
Small organisation without separate finance controls staffBring in the external accountant or auditor early to verify payments and reconcileCost, but self-review of fraudulent changes is weak evidence

Detection and measurement

  • Time to payment hold: hours from declaration to confirmed hold on all affected entities.
  • Master data changes verified: percentage of bank and payee changes in the window confirmed with the counterparty, target 100% before release.
  • Funds recovered: value recalled as a share of value redirected, reported per bank.
  • Integration accounts rotated with a named owner and minimum role: target 100% before interfaces reconnect.
  • Emergency access sessions reviewed within 24 hours: target 100% during heightened monitoring.
  • Detection coverage: alerts for interactive logon by technical accounts, bank detail changes, audit setting changes and unscheduled production changes, each tested quarterly.

Framework mapping

ActivityNIST CSF 2.0NIST SP 800-53 Rev. 5ATT&CK v20
Incident handling and coordinationRS.MA-01IR-4 Incident HandlingT1078 Valid Accounts
Segregation of duties and least privilegePR.AA-05AC-5 Separation of Duties, AC-6 Least PrivilegeT1098 Account Manipulation
Integration credential rotationPR.AA-05IA-5 Authenticator ManagementT1199 Trusted Relationship, T1552 Unsecured Credentials
Change controlPR.PS-01CM-3 Configuration Change ControlT1565 Data Manipulation
Monitoring and log protectionDE.CM-09AU-9 Protection of Audit InformationT1685 Disable or Modify Tools
Financial and data recoveryRC.RP-01, RC.RP-03CP-10 System Recovery and ReconstitutionT1657 Financial Theft, T1565.001 Stored Data Manipulation

Common failure patterns

  • Releasing the payment run on schedule: the technical team contains the account while redirected payments still leave that night.
  • Verifying bank changes by replying to the requesting email: the attacker confirms their own details. Use a contact already on file.
  • Skipping integration accounts because rotation breaks batches: the attacker keeps a working credential stored in middleware.
  • Deleting suspicious users: their change history, needed for the business investigation, goes with them.
  • Restoring the database to undo fraud: legitimate transactions are lost and the audit trail of what the attacker did is overwritten.
  • Treating emergency access logs as self-evidently clean: sessions without tickets go unreviewed because the access was "approved".

Practitioner checklist

  • Hold payment runs and bank files for affected entities and contact banks to recall suspect transfers.
  • Verify every bank and payee change in the window through contacts already on file.
  • Copy audit, change, interface and emergency access logs off the system before any fix.
  • Lock users changed in the window, suspend self-service emergency access and freeze production change.
  • Disable integration connections with stored credentials, banking and payroll first.
  • Rotate in order: admins, emergency IDs, banking and payroll interfaces, other integrations, service accounts, federation trust, end users.
  • Reverse fraudulent postings through controlled entries and restore only where reconciliation cannot work.
  • Run an out-of-cycle access re-certification with segregation of duties conflicts reported to finance.
  • Assess personal and payroll data exposure against the 72-hour reporting rule and brief auditors.

Standards and references

Related NHI Mgmt Group resources: SAP and ERP Compromise Response Playbook · Securing the enterprise resource planning (ERP) platform itself · ERP platform health check · ERP platform integration security 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.

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 both boxes to continue.