← All notes

The 40-step bonus: how multi-step abuse slips past single-request defences

  • Fraud Prevention
  • API Security
  • Gaming
  • eCommerce

This is a composite scenario, assembled from recurring failure patterns rather than a single client incident. Names, amounts and timings are illustrative.

At 03:12 on a Tuesday, a gaming platform's payments dashboard showed a 4% lift in approved withdrawals. Nothing on the edge looked wrong. The WAF had blocked the usual scanners. Identity checks had passed. Every request was individually valid. By the time the daily risk review met at 09:00, roughly 1,400 accounts had cycled through a welcome bonus, a deposit, a low-risk wager and a withdrawal.

The loss was not caused by a clever exploit. It was caused by four controls that each worked exactly as designed, and never spoke to each other.

What the perimeter saw

From the edge, the traffic looked ordinary: new registrations from residential proxies, one device fingerprint per account, identity documents that matched the names on the accounts, and API calls within published rate limits. The WAF's job is to judge a request against known bad patterns. Every one of these requests was a good request.

The abuse lived in the sequence: register, verify, claim, deposit, wager once, withdraw. No single step was fraudulent enough to trip a rule. The pattern only becomes visible when you join the steps together and compare them across accounts.

Where the gap opened

1. Onboarding verified a person, not an intent

IDV confirmed that the document was genuine and matched the selfie. It did not ask whether the same device, bank account or payout beneficiary had appeared on forty other accounts in the previous week. Verification answered "is this a real person?" and left "is this person here to farm bonuses?" to someone else. Nobody had been given that job.

2. The promo engine was account-scoped

Bonus eligibility was evaluated per account. Device, payment instrument and payout beneficiary were stored, but not used as eligibility keys. A rule that said "one welcome bonus per customer" was implemented as "one per account id". The attacker's unit of scale was the account; the control's unit of protection was also the account. The gap was everything in between.

3. The API trusted a valid session too much

Once a session token was issued, the API accepted a wide set of state transitions without asking whether the sequence made sense: claim before deposit, withdraw immediately after a single wager, change payout details minutes after verification. Rate limits protected availability, not integrity. There was no notion of a per-session state machine or a step-up check at the value-moving step.

4. Payout monitoring was daily and aggregate

Withdrawal velocity was reviewed in aggregate the next morning. A cohort of 1,400 accounts moving together is obvious in a graph and invisible in a daily total. The monitoring was not wrong; it was late, and it was looking at the wrong altitude.

Why each point check missed it

The WAF sees one request. Abuse that is assembled from valid requests is, by construction, outside its model.

IDV sees a document and a face. It is not designed to see collusion, device reuse or beneficiary overlap, and it should not be asked to.

The rules engine sees the entity it is keyed on. If every rule is keyed on the account, every attacker who can create accounts is invisible.

Case management sees what analysts have time to review. Without sequence-level scoring, the queue fills with noise and the real cohort waits behind it.

Closing the loop

The fix is not a bigger WAF. It is a shared decision layer that joins identity, device, payment and behaviour into one view, and evaluates state transitions rather than isolated events.

  • Build an entity graph. Link accounts by device, document, phone, bank account, card fingerprint and payout beneficiary. Make the graph queryable at registration and at withdrawal.
  • Model the sequence. Define the legitimate state machine for bonus, deposit and payout flows. Flag transitions that skip states, repeat too fast, or change high-value attributes shortly after verification.
  • Score cohorts, not just accounts. Detect groups moving together: shared infrastructure, synchronised timing, similar amounts. Velocity controls should operate on the cohort as well as the individual.
  • Put a step-up at the value boundary. Withdrawals, payout-detail changes and large refunds deserve a fresh risk decision, not a reused session assertion.
  • Instrument the evidence. Log the decision, the inputs and the outcome for every high-value transition. If you cannot reconstruct why a payout was approved, you cannot tune the control or defend it in an audit.

What to do this quarter

  • Pick one revenue flow — bonus to withdrawal is usually the right one — and draw its real state machine.
  • List every control on that flow and the entity each is keyed on. The gaps are where the keys change.
  • Run a tabletop with fraud, risk and engineering in the same room, using a synthetic cohort. Time how long detection takes.
  • Add one cohort-level signal and one step-up check. Measure false positives before expanding.

Multi-step abuse is not a technology problem that one vendor closes. It is an architecture problem: identity, API logic and risk monitoring have to share a model of what is happening, not just a database of what happened.

If you are preparing for ICE Barcelona 2027 or reviewing a flow before a launch, a focused diagnostic is usually enough to find the first three gaps. Scope a diagnostic or bring the scenario to a conversation.