Join our Newsletter — 33% off our NHI Course
Home› Guides› If your managed file transfer (MFT) is compromised:…
Guide Data Security

If your managed file transfer (MFT) is compromised: containment, rotation and partner 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 15 min read
On this page

When a managed file transfer (MFT) platform is compromised, the attacker holds the files waiting for collection, the partner accounts that send them and the stored credentials the platform uses to reach your storage, directory and partners. MFT servers are internet-facing by design and have been exploited at scale, so the incident usually starts with an exploited web tier and ends with a question that only transfer logs can answer: what left, and whose data was it? This playbook covers how the compromise shows up, the first-hour triage, containment in priority order, the rebuild decision, credential rotation sequenced by blast radius, partner coordination, evidence and notification triggers. It is vendor-neutral and written for incident responders, MFT administrators and the partner and supplier managers who will field the calls. Platform hardening is in the Managed File Transfer (MFT) Security Guide and connector design is in the Managed file transfer (MFT) integration security guide; this page is the response.

Key takeaways

  • Cut internet reachability, keep the host running. Block inbound traffic at the gateway or firewall so the attacker loses the web tier, but do not power off: memory, web directories and the database are your evidence.
  • The database is the persistence layer. CISA warns that rebuilding the web server while leaving the database intact keeps the attacker's accounts in place; audit users, API clients and partner keys in the data store itself.
  • Every stored credential is exposed. Rotate in blast-radius order: cloud storage and directory first, then outbound partner credentials, then inbound partner keys and passwords, then everything else.
  • Scope by transfer record, not by guesswork. File-level download records for the attack window decide which partners and data subjects you notify, and the clocks run from the moment you become aware.
  • Partners are part of the incident. They must replace keys, accept new host keys or certificates and check their own systems for files you pushed; agree a reconnection wave plan with them early.

What an attacker gets from an MFT platform

The impact depends less on the exploit than on what the platform stores and can reach. Use this table in the first hour to size the incident.

Asset on or reachable from the platformWhat the attacker can doFirst response action
Files at rest awaiting pickup or retained after deliveryBulk download of partner and customer data (ATT&CK T1048 Exfiltration Over Alternative Protocol)Block internet access; snapshot storage; list files present in the window
Application database (users, keys, transfer metadata)Read hashed or encrypted partner credentials, create rogue administrators (T1136.001 Local Account)Copy the database before any change; audit active administrators
Cloud object storage settingsRead the storage account key and container directly from the internet, bypassing the MFT (T1530 Data from Cloud Storage)Rotate the storage key or revoke the role now; review storage access logs
Directory bind or service accountEnumerate users and groups, try the password elsewhere (T1078 Valid Accounts)Reset and restrict the account; check its sign-ins outside the MFT host
Outbound partner credentials (SFTP keys, AS2 certificates, partner API clients)Push or pull files at partner sites as you (T1199 Trusted Relationship)Warn partners; ask them to suspend your account or key
Admin API clients and automation keysChange partner endpoints and workflows so future files go elsewhereRevoke clients; freeze workflow changes
Web root and application binariesWeb shell persistence (T1505.003 Web Shell)Preserve, then remove only after imaging

How the compromise shows up

SignalWhere you see itWhat it can mean
Vendor security notice or a public exploitation report for your MFT softwareVendor advisories, national CERT alertsAssume exploitation if the platform was internet-facing and unpatched in the window
New file in the web root with a name close to a legitimate pageFile integrity monitoring, EDRWeb shell; the 2023 campaign used a file named to resemble a legitimate page
Administrator account you did not create, or one created and later deletedApplication user table, admin audit logAttacker-created access; AA23-158A describes accounts with the display name "Health Check Service" that the web shell could also delete
Large downloads by an admin or service account that never downloadsTransfer log, web server access logBulk collection
Storage key or bind account used from an address that is not the MFT serverCloud storage logs, directory sign-in logsStolen connector credential in use elsewhere
Partner reports unexpected logins or files from your accountPartner contactOutbound partner credentials stolen
Gaps in the audit trail or syslog streamSIEM source healthLog tampering (T1070 Indicator Removal) or a stopped forwarder (T1685 Disable or Modify Tools)

Extortion contact naming your organisation and attaching a sample file is also a common first signal. Treat the sample as evidence for scoping: match it to a transfer record.

Triage: the first hour

  1. Is the platform still reachable? Record which listeners (HTTPS portal, SFTP, FTPS, AS2, API) face the internet and from which addresses.
  2. Which version and patch level? Compare with the vendor advisory and the CISA Known Exploited Vulnerabilities catalogue to set the earliest likely date of compromise.
  3. What is the attack window? Take the earlier of the published exploitation start date and your first anomaly; files retained since then are in scope.
  4. What is stored? Count files on disk and in connected storage, by partner and data class. A short retention setting shrinks this list dramatically.
  5. Which credentials does the platform hold? Export the connector, partner and API client inventory; if none exists, query the configuration and the database tables directly.
  6. Are logs intact and off the host? Confirm the SIEM holds transfer, admin and web logs for the window before anything on the server changes.
  7. Is the platform hosted by a provider? If so, open a case, ask for their scope statement, and confirm which steps are yours (partner accounts, connectors, API clients) and which are theirs (patching, the web tier).

Containment by priority

  1. Isolate from the internet. Block inbound traffic to all listeners at the perimeter or the gateway tier, and block outbound traffic except to your logging and evidence collection hosts. Keep the server powered on.
  2. Kill the stolen cloud storage path. Rotate the storage account key or remove the role binding the platform uses. AA23-158A reports that the 2023 web shell retrieved storage account, key and container settings, so the attacker may read storage without touching the MFT again.
  3. Disable rogue and unneeded administrators. Query the user table for active administrators and compare with your list. Disable, do not delete, so the records remain for forensics.
  4. Revoke API clients and automation keys. Freeze workflow and partner endpoint changes until a reviewed baseline is restored.
  5. Warn partners whose credentials you hold. Ask each to suspend your outbound account or key at their end until you issue a new one.
  6. Reset the directory bind and other internal service accounts. Check their sign-ins from anywhere other than the MFT host for the whole window.
  7. Stop scheduled outbound jobs so the platform does not deliver files to an endpoint the attacker may have altered.

Rollback: keep a list of every block and disablement with its prior state. Partners reconnect to rebuilt infrastructure with new credentials, so rollback never means re-enabling the old accounts.

Rebuild or clean in place

SituationRecommended pathTrade-off
Web shell found, code execution confirmedRebuild hosts from known-good media; migrate configuration by export and review, not by restoring the old database wholesaleDays of work and partner retesting, but no hidden persistence
Exploitable version exposed, no indicators found after huntingPatch, rotate high-value credentials, keep heightened monitoring for 30 days (our recommendation)Faster; relies on the quality of logs and indicators
Hosted or SaaS MFTFollow the provider's remediation; you rebuild partner accounts, API clients and connectorsLimited forensic access; ask the provider for logs early
End-of-life or unsupported versionRebuild on a supported platform; see the MFT migration playbookLarger project during an incident; isolate the old host meanwhile

If you must reuse the database, audit it table by table first: administrators, API clients, partner accounts, SSH public keys attached to accounts (T1098.004 SSH Authorized Keys), workflow destinations and notification addresses. CISA's warning about rebuilt web servers with intact databases applies to any platform that keeps users in its data store.

Credential rotation sequence

Rotate in the order below, which follows blast radius and what an attacker can use without the MFT. The connector inventory format comes from the integration guide; here the point is order and verification.

OrderCredentialActionVerify
1Cloud storage keys and rolesRotate keys, or replace with short-lived role credentials scoped to one containerOld key fails; no storage reads from unknown addresses after rotation
2Directory bind and internal service accountsReset passwords, restrict logon rights, review group membershipsNo sign-ins except from the rebuilt host
3Outbound partner credentialsGenerate new SSH key pairs and AS2 certificates; send public parts through a verified channelPartner confirms the old key or certificate is removed
4Inbound partner passwords and keysForce reset; ask partners to generate new key pairs rather than reuse ones stored on their sideOld credentials rejected at the listener
5Server host keys and TLS certificatesNew SSH host keys and certificates on rebuilt servers; tell partners the new fingerprints in advancePartners pin the new fingerprint; no trust-on-first-use prompts accepted blindly
6Encryption keys for files at rest and OpenPGP keysRotate and re-encrypt retained files, or delete files no longer neededOld keys revoked and published where partners consume them
7Admin, SSO and break-glass credentials, API clients, SIEM and ticketing tokensReset, reissue with minimum scopeInventory shows a new credential for every connector

Host key rotation matters: if partners accept a changed SSH host key without checking it, an attacker who stole the old private key could impersonate your server. Publish new fingerprints by a channel the attacker does not control. See the SSH Key Management Guide.

Partner coordination and data scoping

  • Build the affected-file list: join transfer records, web server access logs and storage logs for the window. For each file record partner, data class, upload time, any download outside normal recipients and the account that downloaded it.
  • Treat unknown as accessed: where logs were tampered with or are missing, every file present during the window is presumed exposed. This is often the largest driver of notification volume.
  • Segment partners into three groups: data confirmed taken, data present but no evidence of access, no data in the window. Each group gets a different message.
  • Agree a reconnection wave plan: start with internal flows, then a few cooperative partners, then the rest. Each wave gets new credentials, a test file and a confirmation before production traffic.
  • Ask partners to check inward: if outbound credentials were stolen, partners should review files received from you and logins as you during the window.
  • Use the contract: data processing and notification clauses decide who tells whom. See the Third-Party Incident Notification Clauses Guide.

Evidence to preserve and notification

  • Host images and memory of web, application and gateway servers, taken before patching.
  • The application database as a full copy, including user, transfer and audit tables.
  • Web server access logs, transfer logs and admin audit logs from the host and from the SIEM, so tampered local logs can be compared with forwarded copies.
  • Cloud storage and directory logs for connector credentials, and the network flow and firewall logs for the window.
  • Extortion communications and any sample files, plus vendor and partner correspondence with case numbers.

Notification triggers depend on your role. Under the GDPR, a controller notifies the supervisory authority without undue delay and, where feasible, not later than 72 hours after becoming aware of a personal data breach (Article 33(1)), and informs data subjects when the breach is likely to result in a high risk to them (Article 34(1)). An MFT operator that moves partners' personal data is often a processor for it, and Article 33(2) requires the processor to notify the controller without undue delay. Entities in scope of NIS2 send an early warning within 24 hours of becoming aware of a significant incident and an incident notification within 72 hours (Article 23(4)). See the Cyber Incident Reporting Requirements Map and the Breach Notification Laws by Country Guide.

Where identity fits

An MFT compromise is largely a non-human identity incident. Partner accounts, SSH keys, AS2 certificates, storage keys and API clients are machine identities, and the platform stores most of them. Three identity questions shorten recovery:

  • Does each partner flow have its own identity? Shared keys force a simultaneous outage for every partner that uses them.
  • Is each credential owned and dated? Owner and expiry fields tell you who to call and which credentials are already stale enough to delete instead of rotate.
  • Can the credential be used without the MFT? Storage keys and passwords can; workload identity bound to the rebuilt host cannot. Moving connectors to the second type is the most useful structural change after the incident.

The Third-Party Incident Response Playbook covers the reverse case, when the compromised MFT belongs to a supplier that holds your files.

Decision guidance

SituationChooseTrade-off
Mass exploitation reported, you were exposed in the windowIsolate, hunt and rotate high-value credentials before you have proofShort outage versus losing days while evidence is gathered
Logs incomplete for the windowPresume access to every retained file and notify on that basisLarger notification versus an unprovable "no evidence" claim
Small estate, under 20 partnersRotate every partner credential in one change window, call each partnerQuick, but needs a written partner contact list
Large estate, hundreds of partnersWave plan by data sensitivity and contract; scripted credential issue; a partner hotlineWeeks of reconnection; low-risk partners wait longest
Business pressure to restore quicklyTemporary transfer through a separate, clean service for priority flows onlyExtra cost and a second service to retire afterwards

Detection and measurement

After recovery keep these alerts at high priority for at least one quarter: administrator or API client creation without a change ticket, file creation in web directories, downloads by an account above its baseline, use of any rotated credential (old keys should fail and the failure is worth an alert) and loss of the log stream. Measure the response itself:

  • Time to isolate: from first credible signal to internet listeners blocked.
  • Time to full rotation: from isolation to every stored credential replaced and verified.
  • Scoping completeness: share of files in the window with a definitive accessed or not accessed status.
  • Partner reconnection rate: partners live on new credentials, by wave.
  • Retention exposure: files older than the retention policy found on the platform, target zero after recovery.

Framework mapping

FrameworkReferenceWhere it applies
NIST CSF 2.0RS.MA-01, RS.AN-03, RS.MI-01, RS.MI-02, RS.CO-02, RC.RP-03, RC.RP-05Coordinated response with partners, root cause, containment, eradication, notification, verified restore
NIST SP 800-53 Rev. 5IR-4, IR-6, IR-8, IA-5, AC-2, AU-9, CP-10, SA-9Incident handling and reporting, authenticators, accounts, log protection, reconstitution, external services
CIS Controls v8.1Control 8, Control 15, Control 17Audit log management, service provider management, incident response management
ISO/IEC 27001:2022 Annex A5.19, 5.24 to 5.28, 8.15Supplier relationships, incident management and evidence, logging
MITRE ATT&CK v20T1190, T1505.003, T1136.001, T1552.001, T1530, T1048, T1199, T1070Exploitation, web shell, rogue accounts, stored credentials, storage access, exfiltration, partner pivot, log tampering

Common failure patterns

  • Rebuilding the server and restoring the database as it was. Attacker-created administrators and keys come back with it, the exact case CISA's 2023 advisory warns about.
  • Patching first, imaging later. The update overwrites web directories and logs that would have shown the web shell and the attack window.
  • Rotating partner passwords but not the storage key. The attacker reads cloud storage directly, without needing the MFT at all.
  • Telling partners "no evidence of access" when logs were tampered with. Later forensic findings then force a second, more damaging notification.
  • Accepting new host keys without verification. Partners click through a changed fingerprint, which is exactly what an impersonation attempt needs.
  • Years of retained files. Retention set to forever turns a one-day exploit into a multi-year data breach; see the Data Exfiltration Guide.

Practitioner checklist

  • Block internet listeners at the perimeter; keep the hosts running for imaging.
  • Copy the database and logs, and confirm forwarded logs cover the window.
  • Rotate cloud storage keys or roles before anything else.
  • Audit active administrators, API clients and attached SSH keys in the database.
  • Warn partners holding your outbound credentials and ask them to suspend them.
  • Decide rebuild or clean in place, and never restore an unaudited database.
  • Rotate in blast-radius order and verify each step.
  • Publish new host key fingerprints and certificates through a verified channel.
  • Build the affected-file list and segment partners for notification.
  • Check GDPR, NIS2 and contract clocks from the time of awareness.

Standards and references

Related NHI Mgmt Group resources: Managed File Transfer (MFT) Security Guide · Managed file transfer (MFT) integration security guide · Managed file transfer (MFT) health check · Third-Party Incident Response Playbook · 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.

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.