Card Testing Log Analysis: A Comprehensive Guide
Learn how to effectively analyze card testing logs for accurate and secure transactions.
Redeem your gift cards at any of our Merchants
Onyx Gift Cards is a Grenadian company designed to introduce, market and manage gift cards systems in Grenada for retailers and corporations. We are enthusiastic about the effect and influence we will have on the local market. We intend to expand our systems regionally with a range of product offerings and services.
Gift cards are the preferred way of giving and receiving gifts. They carry a monetary value that can be redeemed for gifts at your favorite store.
Onyx GiftCards are “Open Gift Cards” which means that they can be redeemed at multiple merchant locations. They are standard credit card size, can fit into the average wallet and made of PVC plastic. Onyx GiftCards are Barcoded for security and safety for the consumer and bear a disclaimer at the back.
Onyx Giftcards can be bought with a branded Card backer which is black in colour and is designed to fit the card. There is an area to write a brief message to the recipient as well.
The card testing log analysis process is the routine of pulling authorization, gateway, and web server logs, filtering for bursts of failed card validations, and correlating the surviving events by IP, device, timing, and card attributes. Done well, it answers three questions: did an attack occur, how large was it, and which control needs to change so it does not happen again.
An attacker who is validating stolen card numbers needs to know which ones are live. That produces a distinctive trace: many small attempts, most of them declined, spread across many cards from a small set of sources. The payment page and the authorization response record every one of those attempts. By the time chargebacks arrive weeks later, the logs have already told the whole story.
That is why log review sits at the front of fraud response. It is also a compliance expectation. PCI DSS requires that logs be retained and reviewed for anomalies and suspicious activity, so a documented analysis process serves both security and audit purposes.
You cannot detect a pattern you never recorded. Assemble these feeds before you start filtering:
Normalize timestamps to UTC and confirm you are logging the true client IP rather than a proxy or load balancer address. Most analysis failures trace back to this step.
Start broad, then narrow. A useful first pass keeps events that meet any of these conditions within a rolling window:
Set the window to 10 to 30 minutes. Longer windows dilute the burst pattern; shorter ones fragment it.
A single decline means nothing. The signal lives in the relationships between events. Group your filtered set by IP, then by device fingerprint, then by BIN range, and look for overlap. Attackers rotate one identifier while leaving another exposed, so the pair that stays constant is usually the one worth blocking.
Pay attention to the sequencing too. Human shoppers pause, mistype, and abandon. Scripted traffic moves at a metronome pace and rarely revisits the cart page.
Assign each cluster a simple score built from countable facts: number of distinct cards, decline ratio, request rate, age of the account, and whether the device signature has appeared in prior incidents. Rank the clusters and work from the top. You are looking for the two or three sources responsible for most of the attempts, not a complete inventory of every suspicious request.
Response options scale with confidence. A low-scoring cluster may only need a rate limit. A high-scoring one warrants an IP or ASN block, a CAPTCHA challenge on the checkout endpoint, and a rule change such as requiring CVV re-entry or 3-D Secure for flagged sessions.
After every action, write down what you changed and what happened. That record turns a one-off investigation into a repeatable process, and it is the artifact an auditor or a payment processor will ask for.
Ignoring logs that sit outside the payment stack is the most common one. Card testing often starts with a scraper hitting the product catalog, and that traffic appears in web logs days before the authorization attempts begin. Treating authorization codes as binary is another. A decline is not always a decline; issuer-specific response codes carry different meanings, and misreading them hides real patterns.
Finally, do not run the analysis once and move on. Card testing campaigns retool within hours, so schedule the review on a fixed cadence and keep the queries versioned alongside your other detection rules.