843 lines
45 KiB
Plaintext
843 lines
45 KiB
Plaintext
Card-O-Rama: Magnetic Stripe Technology and Beyond
|
||
or
|
||
"A Day in the Life of a Flux Reversal"
|
||
|
||
Written by
|
||
|
||
oooOO Count Zero OOooo
|
||
Restricted Data Transmissions
|
||
|
||
November 22, 1992
|
||
|
||
|
||
Look in your wallet. Chances are you own at least 3 cards that have magnetic
|
||
stripes on the back. ATM cards, credit cards, calling cards, frequent flyer
|
||
cards, ID cards, passcards,...cards, cards, cards! And chances are you have NO
|
||
idea what information is on those stripes or how they are encoded. This
|
||
detailed document will enlighten you and hopefully spark your interest in this
|
||
fascinating field. None of this info is "illegal"...but MANY organizations
|
||
(the government, credit card companies, security firms, etc.) would rather keep
|
||
you in the dark. Also, many people will IMMEDIATELY assume that you are a
|
||
CRIMINAL if you merely "mention" that you are "interested in how magnetic
|
||
stripe cards work." Watch yourself, ok? Just remember that there is nothing
|
||
wrong with wanting to know how things work, although in our present society,
|
||
you may be labelled a "deviant" (or worse, <gasp> a "hacker")!
|
||
|
||
Anyway, I will explain in detail how magstripes are encoded and give several
|
||
examples of the data found on some common cards. I will also cover the
|
||
technical theory behind magnetic encoding, and discuss magnetic encoding
|
||
alternatives to magstripes (Wiegand, barium ferrite). Non-magnetic card
|
||
technology (bar code, infrared, etc.) will be described. Finally, there will
|
||
be an end discussion on security systems and the ramifications of emergent
|
||
"smartcard" and biometric technologies.
|
||
|
||
*DISCLAIMER*
|
||
|
||
Use this info to EXPLORE, not to EXPLOIT. This text is presented for
|
||
informational purposes only, and I cannot be held responsible for anything you
|
||
do or any consequences thereof. I do not condone fraud, larceny, or any other
|
||
criminal activities.
|
||
|
||
*A WARNING*
|
||
|
||
Lately, I've noticed a few "books" and "magazines" for sale that were FILLED
|
||
with FILES on a variety of computer topics. These file were originally
|
||
released into the Net with the intention of distributing them for FREE.
|
||
HOWEVER, these files are now being PACKAGED and sold FOR PROFIT. This really
|
||
pisses me off. I am writing this to be SHARED for FREE, and I ask no payment.
|
||
Feel free to reprint this in hardcopy format and sell it if you must, but NO
|
||
PROFITS must be made. Not a fucking DIME! If ANYONE reprints this file and
|
||
tries to sell it FOR A PROFIT, I will hunt you down and make your life
|
||
miserable. How? Use your imagination. The reality will be worse.
|
||
|
||
|
||
** MAGSTRIPE FIELDS, HEADS, ENCODING/READING **
|
||
|
||
Now, I'll get down to business!
|
||
<EFBFBD>First, I am going to explain the basics behind fields, heads, encoding and
|
||
reading. Try and absorb the THEORY behind encoding/reading. This will help
|
||
you greatly if you ever decide to build your own encoder/reader from scratch
|
||
(more on that later). FERROMAGNETIC materials are substances that retain
|
||
magnetism after an external magnetizing field is removed. This principle is
|
||
the basis of ALL magnetic recording and playback. Magnetic POLES always occur
|
||
in pairs within magnetized material, and MAGNETIC FLUX lines emerge from the
|
||
NORTH pole and terminate at the SOUTH. The elemental parts of MAGSTRIPES are
|
||
ferromagnetic particles about 20 millionths of an inch long, each of which acts
|
||
like a tiny bar magnet. These particles are rigidly held together by a resin
|
||
binder. The magnetic particles are made by companies which make coloring
|
||
pigments for the paint industry, and are usually called pigments. When making
|
||
the magstripe media, the elemental magnetic particles are aligned with their
|
||
North-South axes parallel to the magnetic stripe by means of an external
|
||
magnetic fields while the binder hardens.
|
||
|
||
These particles are actually permanent bar magnets with TWO STABLE POLARITIES.
|
||
If a magnetic particle is placed in a strong external magnetic field of the
|
||
opposite polarity, it will FLIP its own polarity (North becomes South, South
|
||
becomes North). The external magnetic field strength required to produce this
|
||
flip is called the COERCIVE FORCE, or COERCIVITY of the particle. Magnetic
|
||
pigments are available in a variety of coercivities (more on that later on).
|
||
|
||
An unencoded magstripe is actually a series of North-South magnetic domains
|
||
(see Figure 1). The adjacent N-S fluxes merge, and the entire stripe acts as a
|
||
single bar magnet with North and South poles at its ends.
|
||
|
||
Figure 1: N-S.N-S.N-S.N-S.N-S.N-S.N-S.N-S <-particles in stripe
|
||
---------
|
||
represented as-> N-----------------------------S
|
||
|
||
|
||
However, if a S-S interface is created somewhere on the stripe, the fluxes will
|
||
REPEL, and we get a concentration of flux lines around the S-S interface (same
|
||
with N-N interface). ENCODING consists of creating S-S and N-N interfaces, and
|
||
READING consists of (you guessed it) detecting 'em. The S-S and N-N interfaces
|
||
are called FLUX REVERSALS.
|
||
|
||
||| ||| <-flux lines
|
||
Figure 2: N------------N-N-S-S-----------------S
|
||
--------- flux lines -> ||| |||
|
||
|
||
|
||
The external magnetic field used to flip the polarities is produced by a
|
||
SOLENOID, which can REVERSE its polarity by reversing the direction of CURRENT.
|
||
An ENCODING head solenoid looks like a bar magnet bent into the shape of a ring
|
||
so that the North/South poles are very close and face each other across a tiny
|
||
gap. The field of the solenoid is concentrated across this gap, and when
|
||
elemental magnetic particles of the magstripe are exposed to this field, they
|
||
polarize to the OPPOSITE (unlike poles attract). Movement of the stripe past
|
||
the solenoid gap during which the polarity of the solenoid is REVERSED will
|
||
produce a SINGLE flux reversal (see Figure 3). To erase a magstripe, the
|
||
encoding head is held at a CONSTANT polarity and the ENTIRE stripe is moved
|
||
past it. No flux reversals, no data.
|
||
|
||
| | <----wires leading to solenoid
|
||
| | (wrapped around ring)
|
||
/-|-|-\<5C> |