Modern Card Testing: Strategies to Catch Rotational Attacks — Ayzal AI FRM
Traditional fraud rules rely on grouping by IP, email, or card number. Modern attackers rotate all three. Learn how to use BIN grouping, device fingerprints, and aggregate velocity to catch distributed card testing rings before they drain your revenue.
Modern Card Testing: Strategies to Catch Rotational Attacks
Card testing is one of the most persistent threats in payment fraud. Attackers use stolen card details to make small purchases or test if a card is active before attempting a larger cash out.
Historically, fraud systems caught this by looking at a single identifier: an IP address hitting multiple cards, or an email address making numerous rapid fire attempts. But the attack surface has evolved. Modern fraudsters use rotational attacks. They change the email, the IP address, and the card number with every single transaction.
When an attacker rotates everything, a traditional rule that counts how many times a single IP address appears will never trigger. You have to shift your strategy from tracking single identifiers to tracking non rotatable traits and aggregate behavior.
Strategy 1: Group by the Bank Identification Number
Attackers typically acquire stolen cards in batches. While they can easily generate new email addresses and rotate through proxy IPs, the cards themselves often belong to the same issuing bank. The first six to eight digits of a card number represent the Bank Identification Number, or BIN.
If you are using an entity graph, you can link transactions by the BIN rather than the full card number.
How to configure this in Ayzal AI FRM:
- Rule Type:
entity_fanout - Source Entity:
Card_BIN - Target Entity:
Transaction_ID - Condition:
Amountless than 2.00 andStatusequalsfailed - Threshold: Distinct Count greater than 50
- Time Window: 1 hour
Even if every transaction originates from a different email and IP address, the shared BIN range will force the system to group them together. A sudden spike in failures against a single BIN range is a strong indicator of a batch test.
Strategy 2: The Device Fingerprint
While attackers can spoof network addresses and generate infinite email accounts, they are usually operating from a physical device or an automated server infrastructure that leaves a trace. If your checkout process or signup flow captures a device fingerprint or a persistent session identifier, that data becomes the constant.
How to configure this in Ayzal AI FRM:
- Rule Type:
entity_fanout - Source Entity:
Device_Fingerprint - Target Entity:
Card_Number - Condition:
Amountless than 1.00 - Threshold: Distinct Count greater than 10
- Time Window: 15 minutes
If a single device fingerprint attempts transactions on ten different cards, it does not matter what IP or email the attacker used. The device is the anchor point for the ring.
Strategy 3: Aggregate Velocity by Product
Sometimes you cannot rely on any individual identifier. The attacker might use highly sophisticated residential proxies and physical devices that look entirely unique. In these scenarios, you have to look at the health of the checkout process as a whole.
This is known as a subslice velocity check. Instead of asking if one IP is making too many requests, you ask if the product is suddenly seeing an abnormal volume of micro transactions and declines.
How to configure this in Ayzal AI FRM:
- Rule Type:
cumulative - Group By:
Product_Code - Condition:
Amountless than 1.00 andStatusequalsfailed - Time Window: 5 minutes
- Threshold: Count greater than 100
You are not trying to catch the individual attacker. You are detecting the attack event itself. If your entire checkout suddenly records one hundred failed micro transactions in five minutes, a system wide alert should trigger regardless of how many unique IP addresses were used.
Why Traditional Entity Fanout Fails
The standard entity_fanout rule links one source entity to multiple target entities. When you set the source to the IP address and the target to the card number, you are asking the system to count how many distinct cards appear behind a single IP.
In a rotational attack, the count is always one. The IP changes, the card changes, and the email changes. The fanout graph never clusters the activity. To catch rotational attacks, you must change the source entity to something that does not rotate, such as the BIN or the device fingerprint.
Implementing This in Your Platform
To build these rules, your ingest payload must include the necessary fields. Ensure that your transaction JSON contains the card BIN, a device identifier, and the transaction status.
Ayzal AI FRM automatically maps any custom field in your JSON payload into a ruleable parameter. You do not need a database migration to start grouping by a new field. Simply send the data, open the rule composer, and select your new entity.
