Join our Newsletter — 33% off our NHI Course
Home› Guides› Treasury and Corporate Payment System Security Guide: Protecting…
Guide Fraud Prevention

Treasury and Corporate Payment System Security Guide: Protecting TMS, Bank Links and Payment Files

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 11 November 2026 15 min read
On this page

A corporate payment can be stolen without touching the bank at all: change a supplier's bank details, edit a payment file after approval, or reuse a signer's credentials, and the bank will faithfully pay the attacker. Treasury management systems (TMS), ERP payment runs, bank portals and the file or API links between them form a chain where every hand-off is a place to alter the payee, the amount or the approval. This guide covers how to secure that chain end to end: the TMS and ERP payment modules, bank connectivity (host-to-host SFTP, EBICS, Swift, bank APIs and portals), payment file integrity, approval and signing controls, and payee verification schemes. It is written for treasury operations, finance systems owners and the security architects who support them. Email fraud awareness is covered elsewhere; this page is about the systems and controls that stop a fooled human, or a compromised account, from moving money.

Key takeaways

  • Protect the payment, not just the systems. Most losses come from legitimate systems used to send correctly formatted payments to the wrong account, so controls must check payee, amount and approval at each hand-off.
  • The file between approval and the bank is the weakest link. A payment file sitting unsigned in a shared folder or SFTP outbox can be edited after approval; sign or hash it at the point of approval and verify before transmission.
  • Bank detail changes are the highest-risk transaction. Treat any new or changed beneficiary account as a payment in its own right: separate requester and approver, call-back to a known number, and a cooling-off period.
  • Bank connectivity credentials are non-human identities. SFTP keys, EBICS keys, API client certificates and portal tokens move money and need owners, rotation, vaulting and monitoring like any privileged credential.
  • Use the payee checks the payment schemes now give you. UK Confirmation of Payee, EU Verification of Payee under Regulation (EU) 2024/886 and US Nacha fraud monitoring rules change what banks check; do not opt out of bulk checks without a compensating control.

The corporate payment chain and where it is attacked

A typical corporate payment passes through five stages. Each one has a different owner and a different attack.

StageTypical systemsHow it is attackedATT&CK reference
1. Payee master dataERP vendor master, TMS beneficiary list, payrollFraudulent change of supplier bank details after a phishing or impersonation request; insider adds a beneficiaryT1566 Phishing, T1534 Internal Spearphishing
2. Payment proposal and approvalERP payment run, TMS workflow, bank portalCompromised approver account, approval rules bypassed, self-approvalT1078 Valid Accounts
3. Payment file generation and storageERP export, TMS output folder, middleware, managed file transferFile edited after approval (account number or amount swapped), file injected into outboxT1565.001 Stored Data Manipulation
4. Transmission to the bankHost-to-host SFTP, EBICS, Swift, bank API, portal uploadStolen transport credentials or keys, file altered in transit through a compromised intermediaryT1565.002 Transmitted Data Manipulation
5. Bank execution and reportingBank statements (camt.053, MT940), reconciliationMailbox rules hide bank alerts, statements not reconciled quickly enough to recall fundsT1114.003 Email Forwarding Rule, T1657 Financial Theft

The scale of stage 1 and 2 fraud is well documented. The FBI's Internet Crime Complaint Center reported exposed losses of more than $55 billion in business email compromise incidents worldwide between October 2013 and December 2023, and its prevention advice starts with using secondary channels to verify requests to change account information. See the Business Email Compromise and Fraud Statistics Guide for current figures.

Securing the TMS and ERP payment modules

The TMS (or the ERP's payment and bank communication modules) is where payees are held, payments proposed and approvals recorded. Harden it as a financial control system, not a general business application.

  • Authentication: single sign-on with phishing-resistant MFA for every user who can create, change or approve payments or beneficiaries. Remove local accounts except one break-glass account held in a vault. See the Phishing-Resistant MFA Guide.
  • Roles and segregation of duties: separate the roles that maintain beneficiaries, create payments, approve payments, administer workflow rules and administer users. A system administrator who can also approve payments, or change approval limits, defeats every other control. Map conflicts in a Segregation of Duties Matrix Template.
  • Approval rules: dual approval for every payment, with a second senior approver above thresholds you set by currency and payee type. Approval rules should be enforced by the system, not by procedure, and changes to rules should themselves need dual approval.
  • Beneficiary controls: new or changed beneficiaries cannot be paid until a second person has approved the change and a call-back has been recorded. Many organisations add a cooling-off period (for example 24 to 72 hours, an NHI Mgmt Group recommendation) before the first payment to a new account.
  • Configuration change control: payment formats, bank connectivity settings and file paths are high-risk configuration. Changes go through change management with test evidence and are logged.
  • Hosting: SaaS TMS shifts patching to the provider but keeps identity, roles and integrations with you. On-premises TMS needs the server, database and file shares hardened as a tier-zero financial system.

Where the ERP drives payments, review the ERP side too: vendor master change workflows, payment run authorisations and the technical users that export files. See the ERP platform integration security guide and the SAP and ERP Security Buyer's Guide.

Bank connectivity options and their security trade-offs

How you connect to banks determines which credentials exist, where files are exposed and what the bank can verify.

ChannelHow it worksSecurity strengthsWhat to watch
Bank web portalUsers key or upload payments in each bank's portalBank-side MFA and approval workflows; no file sitting on your networkMany separate logins per bank, inconsistent approval rules, uploads from desktops, leaver accounts left active
Host-to-host SFTPERP or TMS drops files on an SFTP server; files often PGP-encrypted and signedAutomated, no manual handling; payload signing possibleSSH and PGP keys on servers, files waiting in outbox folders, signing often skipped
EBICSStandard bank-customer protocol used mainly in Germany, France, Switzerland and AustriaTransport and application-level encryption; Electronic Distributed Signature lets several signers authorise one orderKey initialisation letters and signer keys must be protected; signature keys stored on servers weaken user-level authorisation
Swift (corporate access or service bureau)Corporate sends payments over the Swift network, directly or via a bureauOne channel to many banks; Swift Customer Security Programme controls apply to the local footprintAnnual CSCF attestation, operator accounts and the Swift interface host become high-value targets
Bank APIsTMS calls bank REST APIs for payments, status and balancesReal-time status, fine-grained scopes, mutual TLS and signed requests where the bank supports themClient certificates and OAuth tokens become payment credentials; each bank's API security model differs

The EBICS standard is maintained by the EBICS company; specification version 3.0.2 has been valid since 30 December 2022, and its security annex was renamed "TLS and KMS" in March 2026 to add key management security. In EBICS, orders are signed with the subscriber's bank-technical signature key, and the distributed signature lets a second signer approve an order later from elsewhere. Keep signature keys with the people who authorise, not in a shared technical account, or you lose the four-eyes principle the protocol was designed to give you. For Swift users, see the SWIFT Customer Security Programme (CSP) Guide.

Payment file integrity from approval to bank

Most organisations approve a payment in one system and transmit a file from another. The integrity gap between those points is where an attacker with file share access can change an IBAN without touching any approval record.

  1. Generate as late as possible: create the payment file (for example an ISO 20022 pain.001 credit transfer initiation) from the approved batch, immediately before transmission, by a system process rather than a person.
  2. Bind the file to the approval: record a hash of the file contents (or a control total of amounts and a hash of beneficiary accounts) at approval time, and verify it again in the transmission step. Any mismatch stops the run.
  3. Sign the payload: use payload signing the bank supports (PGP signing on SFTP, EBICS order signatures, signed API requests) so the bank can detect alteration in transit. Keep signing keys in an HSM or key vault, not on the file server. See the Payment HSMs guide.
  4. Remove manual touch points: no editable files on user drives, no "download, check, upload" steps in portals. If manual upload cannot be avoided, the uploader should not be able to edit the file and the portal should require approval by a second user.
  5. Lock down outbox folders: only the generating service writes, only the transfer service reads, and nobody browses interactively. Monitor the folders with file integrity monitoring and alert on any write by another account. See the File Integrity Monitoring Guide.
  6. Reconcile fast: pull bank status and statement messages (for example pain.002 status reports and camt.053 statements) automatically and compare executed payments with approved batches the same day.

A managed file transfer platform can centralise these steps, but only if it is itself protected. See the Managed File Transfer Buyer's Guide.

Where identity fits: bank credentials are machine identities

Every automated bank link runs on non-human credentials: SSH keys for SFTP, PGP keys for signing and encryption, EBICS authentication, encryption and signature keys, client certificates for mutual TLS, and OAuth client secrets for bank APIs. Each one can move money or read cash positions. Treat them as privileged credentials:

  • Inventory: list every bank connection with its credential type, location, owner, expiry and the bank contact who can revoke it.
  • Storage: keys in an HSM or secrets vault, never in scripts, job definitions or configuration files. See the SSH Key Management Guide and API Key Management Guide.
  • Rotation and revocation: agreed procedures with each bank, tested before you need them in an incident. Know how long a bank takes to deactivate a key.
  • Human signers: payment signatory rights at the bank must match the current approval matrix. Leavers must be removed from bank mandates and portals, not only from the TMS.

Access to the wider payment estate (TMS admin, ERP technical users, file servers) should go through privileged access management. See the Privileged Access Management Guide.

Payee verification and scheme rules

Payment schemes have added payee checks that corporates should build into their process rather than bypass.

Scheme or ruleWhat it doesStatus (checked November 2026)What corporates should do
Verification of Payee, Regulation (EU) 2024/886, Article 5cThe payer's PSP must check payee name (or a registration identifier such as LEI for legal persons) against the account before the payer authorises a credit transferApplies to euro area PSPs from 9 October 2025 and to non-euro Member States from 9 July 2027PSPs must let non-consumers opt out for bulk packages; only opt out if you run your own equivalent check, and handle "no match" and "close match" results in your workflow
Confirmation of Payee (UK, Pay.UK)API-based account name check before a payment, including a personal or business account indicatorOperating overlay serviceUse it when setting up new beneficiaries and for changed bank details; Payer Name Verification covers Bacs Direct Debit set-up
Nacha fraud monitoring rules (US ACH)Non-consumer originators, third-party senders and ODFIs must have risk-based processes to identify entries that are unauthorised or authorised under false pretenses, reviewed at least annuallyPhase 1 from 20 March 2026 (larger originators and all ODFIs), Phase 2 from 19 June 2026, with a practical effective date of 22 June 2026 because 19 June is a US federal holiday, per Nacha (all others)Document your monitoring of outgoing ACH credits, including beneficiary change controls, and review it yearly

A payee check does not replace a call-back. Attackers open accounts in names that pass the check, and some payments fall outside the schemes. See the Payment Verification Policy Template.

Implementation approach

  1. Map the chain: for each bank and payment type, record the systems, files, credentials, people and approvals involved. This is usually the first time anyone has seen it whole.
  2. Fix beneficiary controls first: dual control and call-back on bank detail changes give the largest reduction in loss for the least effort. Pilot with accounts payable, then payroll and treasury.
  3. Enforce MFA and SoD in the TMS and portals: remove shared logins, apply role separation, and review who can approve at each bank.
  4. Close the file gap: introduce hashing or control totals between approval and transmission. Run it in alert-only mode for a month to find legitimate mismatches (format conversions, re-generations), then switch to blocking.
  5. Vault and rotate bank credentials: move keys off servers, agree rotation with each bank, and test revocation.
  6. Add monitoring: stream TMS, ERP, SFTP and portal logs to your SIEM with the use cases below.
  7. Rehearse: run a tabletop for a fraudulent payment, covering recall requests, bank contacts and evidence. See the Business Email Compromise Response Playbook.

Rollback: every new blocking control should have a documented manual fallback (for example, a dual-signed portal payment) so that urgent payments are not forced through uncontrolled channels when a control fails.

Detection and measurement

Monitor for these events:

  • Beneficiary or vendor bank detail created or changed, especially followed by a payment within days.
  • Approval rule, limit or role changes in the TMS or bank portal.
  • Logins to TMS or bank portals from new devices, countries or at unusual times, and MFA resets for payment users.
  • Writes to payment outbox folders by any account other than the generating service; hash mismatches at transmission.
  • Use of bank transmission credentials from unexpected hosts, and new SSH or PGP keys added.
  • Mailbox rules in finance mailboxes that move or delete bank notifications.

Metrics that show the programme works:

MetricTarget direction
Percentage of beneficiary changes with recorded call-back and second approver100%
Payment users and bank signers with phishing-resistant MFA100%
Bank connections with keys in an HSM or vault and a named ownerRising to 100%
Payment batches verified by hash or control total before transmission100%
Time from payment execution to reconciliationSame day
Leavers removed from bank mandates within agreed daysWithin policy

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0ISO/IEC 27001:2022 Annex A
Segregation of duties in payment rolesAC-5, AC-6PR.AA-055.3 Segregation of duties
Strong authentication for payment usersIA-2PR.AA-018.5 Secure authentication
Payment file integritySI-7, SC-8PR.DS-01, PR.DS-028.24 Use of cryptography
Bank connection keysSC-12, SC-13PR.AA-018.24 Use of cryptography
Change control of formats and workflowsCM-3PR.PS-018.32 Change management
Monitoring and log reviewAU-2, AU-6DE.CM-098.15 Logging, 8.16 Monitoring activities

Common failure patterns

  • Bank detail changes accepted by email: a supplier "update" is processed by one clerk and paid in the next run. Call-back to a number from the master record, not the request, is the fix. See Business Email Compromise Awareness for Finance Teams Guide.
  • Approval in one system, file in another: payments are approved in the ERP but the file sits editable on a share for hours before an SFTP job picks it up.
  • Technical signer keys: EBICS or portal signing keys held by a service account so that "dual approval" is performed by one process.
  • Forgotten bank access: former employees remain on bank mandates or portal user lists because the bank side is not part of the leaver process.
  • Bulk opt-out without a substitute: verification of payee is switched off for bulk files to avoid friction, with no internal check in its place.
  • Cloud credentials used for payment fraud: stolen keys can be used to send convincing mail from your own domains, as in TruffleNet 2025, so finance teams cannot rely on sender domain alone.

Practitioner checklist

  • Map every payment path from payee master data to bank execution, with systems, files, credentials and approvers.
  • Enforce dual control, call-back and a cooling-off period on new and changed beneficiaries.
  • Require phishing-resistant MFA for everyone who can change payees or approve payments, in the TMS, ERP and bank portals.
  • Separate payee maintenance, payment creation, approval and system administration roles, and review conflicts quarterly.
  • Hash or control-total payment files at approval and verify before transmission.
  • Sign payment payloads and keep signing and transport keys in an HSM or vault with named owners.
  • Agree key rotation and emergency revocation procedures with every bank, and test them.
  • Use Verification of Payee or Confirmation of Payee results in your workflow and avoid bulk opt-outs without an equivalent control.
  • Reconcile bank statements against approved batches the same day and alert on differences.
  • Remove leavers from bank mandates and portals as part of the standard leaver process.

Standards and references

Related NHI Mgmt Group resources: Payment Fraud Guide · Email Identity and BEC Guide · Segregation of Duties Guide · SWIFT Customer Security Programme (CSP) Guide · Multisig Treasury Operations Guide for Protocols and Companies

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 11 November 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.