Skip to content

Curriculum

Payment Systems: Magstripe, Tokenization, NFC and EMV

The 16-hour course taught at Black Hat USA, extended to cover what changed since.

Sign in to buy · $350

The course is tied to your account, so you sign in first and come straight back here.

Pay in Bitcoin insteadRead module 1 free →

No hardware is sold here, and none is needed to read the course.

Payments are final. Module 1 is free so you can judge the course before you pay. Terms

What you get

Modules written
22
Diagrams
166
Graded exercises
5
Sanitized captures
5
  • Transaction lab — Drive a transaction and change it as it moves
  • Search — Across everything you are enrolled in
  • Certificate of completion — Issued once you mark every written module complete

22 modules, from the stripe to the issuer

  1. Level 1

    Foundations

    I know security. I don't know payments.

  2. Level 2

    Practitioner

    I can read a trace. Now interpret it.

  3. Level 3

    Operator

    Show me the attack, end to end.

  4. Level 4

    Researcher

    I want to find something new.

The terms

One payment, one course
The price buys this course, not a subscription. There is nothing to renew and nothing to cancel.
Access for life
Every module, capture, exercise and lab in the course stays open to you for as long as the course exists.
Updates and new research included
When a module is revised or a new research strand lands in this course, it is yours at no further cost. The price you paid is the last one you pay for it.
Level 1

Foundations

  1. 01

    The fundamentals: how a transaction is verified and processed against the terminal, why the APDU protocol is not encrypted, and what protects the transaction instead.

    Read it free →
  2. 02

    Toolset environments

    120 minWith the course

    The laboratory: how it is organized, how to navigate it, and which tool suits each payment technology.

    Read the module →
  3. 03

    Magnetic stripe data

    75 minWith the course

    Track encoding and the security thinking of the era, then MagSpoof, part by part, and the unsigned field on the stripe that tells a terminal to prefer the chip.

    Read the module →
Level 2

Practitioner

  1. 04
  2. 05

    EMV technology

    120 minWith the course

    Contact transactions and the advanced APDU mechanisms behind them: the certificate chain a card carries, offline data authentication, and the cryptogram only the issuer can check.

    Read the module →
  3. 06

    The CVM List in tag 8E, how a terminal walks it to choose a method, what tag 9F34 records afterward, and the man-in-the-middle that let a terminal believe a PIN was verified while the card was never asked for one.

    Read the module →
  4. 07

    The part of EMV that decides rather than authenticates: the TVR in tag 95, Terminal and Issuer Action Codes, the zero floor limit, and Visa's published action codes decoded bit by bit, then the 2026 result showing one of those bits was never bound to anything.

    Read the module →
  5. 08
  6. 09

    Tokenization process

    60 minWith the course

    The opposite of static magstripe data: a token is a different, independently valid card number, not an encrypted or seeded one, and how digital wallets implement it.

    Read the module →
  7. 10

    Tokenization in depth

    90 minWith the course

    DPAN versus FPAN, the Token Service Provider role, provisioning, and where the keys live, then the 2021 research that paid from locked phones by flipping one byte, and the signed field that said so and was never read.

    Read the module →
  8. 11

    Instant payments and QR

    60 minWith the course

    EMVCo QR, SPEI, CoDi, Pix and FedNow: static versus dynamic codes, settlement finality, and the fraud that followed the money out of the card rails.

    Read the module →
  9. 12

    Scoping, segmentation and what an assessor looks for, framed for someone attacking the environment rather than documenting it.

    Read the module →
Level 3

Operator

  1. 13
  2. 14

    Tag 9F37 is the terminal's only contribution of freshness, and some terminals supplied a counter. What that made possible, why it is neither a replay nor a clone, and how to measure a terminal for yourself.

    Read the module →
  3. 15

    Why tapping stops after five times and asks for a PIN, where that counter really lives, and two pieces of published research that got past it: one resetting the counter without ever knowing a PIN, one making a plastic card present as a phone to an ordinary unattended terminal.

    Read the module →
  4. 16

    Relay: magstripe, NFC and EMV

    120 minWith the course

    Relaying APDU data locally, over the internet and by MQTT, and what actually limits how much delay a relay can get away with. The countermeasure protocols themselves are module 17's job.

    Read the module →
  5. 17

    Mastercard's Relay Resistance Protocol, Visa's very different Level 1 approach, and where formal verification broke both. The sequel to module 16.

    Read the module →
  6. 18

    SoftPOS and Tap to Phone

    60 minWith the course

    Commercial phones as contactless terminals: where PCI CPoC and MPoC sit, attestation, and what breaks when the terminal is an app on untrusted hardware.

    Read the module →
  7. 19

    Beyond the terminal

    60 minWith the course

    ISO 8583, switches and acquirer hosts, HSMs, DUKPT key derivation, ISO 9564 PIN block formats and key ceremonies: the other half of the rail.

    Read the module →
  8. 20

    Anyone can buy a certified EMV reader now, and some of them take a payment with no network. A protocol-level walkthrough of four 2025 attacks: a loyalty protocol standing in for identity, a status word misread for years, and a signature over the copy nobody compares.

    Read the module →
Level 4

Researcher

  1. 21

    The card signs an amount it cannot verify, and the message that carries it restates that amount in a second place nobody signed. Following one cryptogram out through field 55 to the issuer and back as an ARPC, and a real message that admits nineteen different readings.

    Read the module →
  2. 22

    Research in progress

    30 minWith the course

    Three strands of original work that are not in the course yet, written as questions rather than results, each one saying plainly what has been demonstrated and what has only ever run in a unit test. The module is expected to change.

    Read the module →
Sign in to buy · $350

The course is tied to your account, so you sign in first and come straight back here.

Pay in Bitcoin insteadRead module 1 free →

No hardware is sold here, and none is needed to read the course.

Payments are final. Module 1 is free so you can judge the course before you pay. Terms

Questions before you buy

Is it live, or self-paced?

Self-paced. The course is written, with graded exercises and real captures, and you work through it on your own schedule. The in-person version is the training I teach at Black Hat USA.

Do I need hardware?

Not to start. The first several modules need none, and the workbench and the decoder run in the browser. The study plan shows what each device adds and what you can do without any.

Open the study plan
Is it in Spanish too?

Yes. Every module, exercise and figure caption is in English and in Spanish, and you can switch at any time from the header.

How long do I keep access?

For as long as the course exists, with every revision and new research module included. It is one payment, not a subscription.

Can I get a refund?

No. Payments are final, which is why module 1 is free and needs no account: read it first and judge the depth before you pay.

Read the terms
What does the certificate say?

That you read every written module, as you marked them while reading. It is not an examination result: the exercises are practice and are not scored or recorded.

Buying for a team, or for your employer?

Write to me at sal@salmg.net before you buy.

Ask for an in-person course
Can I pay with Bitcoin?

Yes. The Bitcoin page has the address, the amount and what to send me once you have paid.

Pay with Bitcoin