Skip to content

Overview

Magstripe is not dead, it is just no longer at the front door. It is on the parking garage card, the elevator fob’s backup, the cafeteria badge, the old wing nobody re-badged, and the temporary visitor pass the receptionist hands you. Those are the credentials a client has forgotten they issue, which is exactly why they are worth testing.

The MAG tab drives an MSRX6-BLE over Bluetooth or USB. Four chips run it, READ, CLONE, WRITE and ERASE, one page each, and the one thing that governs all four is that the reader does nothing until a card physically moves through the slot.

Everything on these pages was done on a swipe badge encoded for an access control system. Site code 114, badge number 048592, holder MARTINEZ/D.

1 Arm
A banner reading Swipe card now with a spinner, every chip and the READ CARD button grayed out while the reader waits
2 Read
The badge decoded, showing an ACCESS CONTROL tag, HiCo, the number 114048592, D MARTINEZ, 9 digits on Track 2, and green dots on tracks 1 and 2
3 Save
The SAVE MAGSTRIPE CARD dialog with CREDENTIAL 114048592, HOLDER D MARTINEZ, the Cypress Ridge project picked, and a note reading Loading dock badge recovered from visitor lot
4 Write
A WRITE TO CARD dialog warning IMPORTANT Use a BLANK card for writing, with CANCEL and WRITE buttons
The whole job. Arm the reader, swipe, file it against the project, then put it on a blank.
  1. The banner is the only sign the reader is live. It holds about ten seconds.
  2. Every chip goes inactive while it waits, so nothing else can be started underneath.
  3. Classified as a credential, not a bank card, from the number alone.
  4. The Track 2 digit count, which sets the format a door reader emits.
  5. The credential, unmasked, because it is what you report.
  6. Filed against the engagement rather than loose in the database.
  7. The warning is about the blank. Writing over an encoded card can wreck it.
  8. Confirming only arms the reader. Nothing is written until the card moves.

Four steps, four swipes of the slot in total. Each section below takes one of them apart.

Coercivity is how much magnetic field it takes to write the stripe, and it is a property of the blank, not of the encoding.

LoCoHiCo
Coercivityabout 300 oerstedabout 2750 oersted
Stripe colorusually brownusually black
Typical usehotel keys, transit tickets, short-lived passesemployee badges, bank cards, anything carried daily
Durabilityerases easily near magnets and phone casesholds up to incidental fields
Writing itneeds less field, and a HiCo writer set to HiCo will overdrive itneeds a writer that can actually reach 2750 oersted

The MSRX6-BLE writes both and the app always sets HiCo mode before writing, which is what the device requires to write either kind. What you still have to get right is the blank. Match the coercivity the summary reported for the source.

Access control and payment stripes are not the same thing

Section titled “Access control and payment stripes are not the same thing”

Both are ISO 7811 stripes and both are read by the same hardware. The difference is what the digits mean.

Access control badgePayment card
The numbera site code and a badge number, assigned by whoever runs the door systeman account number, assigned under an issuer prefix
Lengthcommonly 8 to 16 digits13 to 19 digits
Checksumusually noneLuhn, usually
Expirynoneencoded on the stripe
Service codenonethree digits, present
Which track is usedTrack 2 almost always, Track 1 sometimes for a nameTracks 1 and 2 both
What the reader doesconverts Track 2 digits to Wiegand and hands them to a panelruns an authorization

ATLAS decides which it is from the number alone, and the test has two arms. A stripe is filed as a payment card when the number is 13 to 19 digits and then either begins with a known issuer prefix or passes a Luhn check. Either arm on its own is enough. Luhn is not required, because bench and test cards carry real issuer prefixes with deliberately bad checksums, and demanding Luhn filed a 15 digit Amex under access control. An access control badge number is short and matches no issuer, so it fails on length before the second half of the test is reached.

Issuer recognizedLeading digits
Visa4
Mastercard5 or 2
Amex34 or 37
Discover6011 or 65
JCB35
Diners30, 36 or 38

The verdict then changes what the read shows, in two places.

The summary at the top of the screen carries an ACCESS CONTROL tag, the credential number unmasked, the holder name if the stripe had one, and a line counting the digits on Track 2. A payment card gets the card type in that tag, a masked number, the name, and an expiry on a line beginning Exp:. Neither summary carries a service code, and neither puts a label beside the number.

The expanded track rows and the SAVE MAGSTRIPE CARD dialog are where the labels appear. An access control read is broken out as Credential and Holder on Track 1, Credential on Track 2, and Credential and Holder in the save dialog. A payment read is broken out as PAN, Name, Expiry and Service Code on Track 1, PAN, Expiry and Service Code on Track 2, and Card Number, Name and Expiry in the save dialog.