Blog/Business fraud

Payment file tampering: the gap between approval and the bank

Every control sits before approval. The payment file is edited afterwards, between the finance system and the bank, and almost nobody checks what was sent.

CyberWatch AI25 November 2026 · 6 min read
A laptop on a desk displaying a spreadsheet of numbers next to a bank card

Draw the payment process as a line. At the left, an invoice arrives. It is matched to a purchase order, coded, approved by one person, approved by a second, and the supplier's bank details are verified against an independent record. Every control an organization has invested in sits in that stretch of the line.

At the right-hand end, the bank debits the account. Between those two points there is usually a file: a single document containing every payment in the run, generated by the finance system and uploaded to the bank. In a great many organizations, nothing whatsoever checks that the file matches what was approved.

That gap is where payment file tampering lives. It is not a glamorous fraud and it is rarely written about, which is part of its appeal. All the authorizations in the finance system are genuine, because nobody touched them.

What the file is and where it sits

The formats differ by country and bank. It may be an ACH file in the United States, a bank-specific CSV layout, a pain.001 message under ISO 20022, or a spreadsheet template the bank happens to accept. What they share is structure: a header with a count and a value total, then one line per payment with a payee name, an account number, a sort code or routing number, an amount and a reference.

What also tends to be shared is where the file lives between generation and upload. Common answers include a folder on a shared network drive, a local folder on a finance workstation, an email attachment sent from the person who generated it to the person who uploads it, and a cloud storage folder shared across the finance team. Each of those is accessible to more people than the payment approval workflow is.

The important detail is that the file is almost always plain text or something close to it. A payee name and an account number can be changed in a text editor by anybody, with no specialist knowledge and no trace in the finance system.

The variants

Line substitution

One line is edited so a legitimate payment goes to a different account. The payee name may be left intact, since many clearing systems do not check that the name matches the account, which is precisely why account name verification services were introduced in some countries. The amount is unchanged, so the control total for value still reconciles. Only the count-and-total check plus a line-level comparison would catch it.

Line insertion

An extra payment is added. This changes both the count and the total, so it is the easiest variant to detect and the one that depends most on nobody looking. It is typically attempted where the file header is regenerated automatically on upload, or where nobody compares the bank's acknowledgement against the approved run.

Amount manipulation

A figure is increased, with the expectation that the supplier will be asked to refund the difference outside normal channels, or that the excess sits in a suspense account nobody reconciles. Changing a single digit in a large payment is less visible than adding a line.

Re-submission of a prior file

An old approved file is uploaded again. Every line is legitimate and was once authorized, which makes it look like an administrative error rather than a fraud, and which overlaps directly with the pattern described in duplicate invoicing. If a payee's bank details have changed since, the duplicate goes to the old account.

Interception in transit

Where the file travels by email, it can be altered by anyone with access to either mailbox. This is the same compromise route as vendor email compromise, pointed at an internal handoff rather than a supplier conversation. The giveaway in incidents of this type is a resent attachment with an explanation about the first one being corrupted.

Tampering on the endpoint

Malware that modifies payment data on the machine used for banking has existed for many years and has not gone away. It is also the reason the upload workstation deserves different treatment from an ordinary laptop. Where the same machine is used for email and general browsing, a credential-stealing infection gives an attacker both the file and the bank login.

The controls that close the gap

None of this requires a new platform. It requires treating the file as an object that must be verified rather than an internal by-product.

  1. Reconcile control totals at three points. Record the count of payments and the total value when the file is generated, when it is uploaded, and when the bank acknowledges it. Compare all three, by a person who did not generate the file. Insertion and amount manipulation both fail this check immediately.
  2. Separate generation from release, at the bank. The person who produces the file must not be the person whose credentials release it. Most business banking platforms support this, and a surprising number of organizations have it switched off because it was inconvenient during an implementation. This is the same logic as dual approval for payments, applied one step further down the line.
  3. Review the payee list at release, not just the total. The releasing person should see payee names and new accounts, with first-time payees flagged. A total tells you nothing about substitution.
  4. Remove the writable intermediate location. Direct integration between the finance system and the bank, or a transfer path where the file is written once and cannot be edited, eliminates the entire category. Where a folder is unavoidable, restrict write access to the service account and log every access.
  5. Never move payment files by email or consumer file sharing. If a file has to be handed over, use a location with access control and an audit trail.
  6. Harden and isolate the banking workstation. A dedicated machine or a dedicated browser profile, phishing-resistant multi-factor authentication on the bank portal, no email client, and no general browsing. The limits of weaker MFA factors matter here, because a one-time code can be relayed by an attacker in real time while a security key cannot.
  7. Enable bank-side confirmations and read them. Payment confirmation reports, prenotification alerts for new payees and positive pay style services all exist to catch exactly this. Switching them on and routing them to somebody who checks them is the cheap half of the work.

Payment file arrived as an email attachment you were not expecting? Paste the message into CyberWatch AI Scan for a free check before you upload anything.

The small-organization version

Organizations without a payment file have the same risk in a different shape. One person takes a list of approved invoices, logs into online banking and keys in the payments. There is no file to tamper with, and there is also no record of what was entered beyond the bank's own statement.

The equivalent control is a short, boring comparison. Once the batch is entered and before it is released, somebody other than the person who entered it compares the payee names, accounts and amounts on the bank screen against the approved invoice list. It takes a few minutes, it catches substitution and transposition errors as well as fraud, and it is the single most useful control available to an organization too small to separate duties any other way.

Detecting it after the fact

Two monthly checks will surface historic tampering.

Compare, for each payment run, the list of payees and amounts in the finance system against the bank statement line by line. Differences are either tampering, a bank error or a posting mistake, and all three are worth knowing about. Second, run a report of all payments made to accounts that do not appear in the supplier master file. In a healthy process that report is empty.

If a discrepancy appears, resist the instinct to correct it quietly. Preserve the generated file, the uploaded file, the bank acknowledgement and the access logs for wherever the file was stored, then follow the sequence in what to do when a business payment goes to a fraudster. Where the editing happened inside your network rather than in a supplier's mailbox, the question of who had write access to that folder becomes the investigation, which puts it alongside insider-assisted payment fraud rather than ordinary business email compromise.

Frequently asked questions

What is a payment file?

A single file produced by a finance system containing many payment instructions, uploaded to the bank in one action. Formats vary by country and bank, and include ACH files, bank-specific CSV layouts and ISO 20022 messages.

What is payment file tampering?

Editing the file after it has been approved and before the bank receives it, so the payments the bank executes differ from the payments that were authorized. The approvals in the finance system remain genuine and untouched.

Why do normal controls miss it?

Because dual approval, purchase order matching and supplier verification all operate on the invoice before the file is produced. Once a file exists, most organizations treat it as a settled artifact and nobody compares it back to what was approved.

Who can tamper with a file?

Anyone who can write to the folder the file sits in, anyone with access to the machine used to upload it, and anyone who can intercept it if it travels by email or a shared drive. That is usually a wider group than the payment approvers.

Is malware involved?

Sometimes. Banking trojans that alter payment data on an infected machine are a long-established technique, which is one reason the upload machine should be tightly controlled and not used for general browsing or email.

What is a control total?

The count of payments and the sum of their values in a file. Comparing the approved control totals against what the bank confirms it received is the simplest effective detection, because any edit changes one or both.

What should the bank side look like?

Separate credentials for file upload and file release, with the releasing person not the person who generated the file, and the bank portal configured to display counts and totals for confirmation before release.

Does this apply to small organizations?

Yes, in a simpler form. The equivalent risk is one person building a list of payments in a spreadsheet and keying them into online banking alone, with nobody ever comparing the entered payees to the approved invoices.

Sources

  1. Business Email Compromise: The $50 Billion Scam, FBI Internet Crime Complaint Center
  2. Internet Crime Report 2024, FBI Internet Crime Complaint Center
  3. Nacha: ACH Network rules and resources, Nacha
  4. Fraud against payment systems, Europol
  5. NIST Special Publication 800-53 Revision 5: Security and Privacy Controls, National Institute of Standards and Technology
  6. 10 Steps to Cyber Security, UK National Cyber Security Centre
  7. Multi-factor authentication for your corporate online services, UK National Cyber Security Centre
  8. Report to the Nations: occupational fraud research, Association of Certified Fraud Examiners
Share this article
LinkedIn WhatsApp X
For organizations

Your people get these messages at work too.

CyberWatch AI sends your staff realistic practice attacks, trains the gaps it finds, and shows management exactly where the organization stands.