Decode Your License
Intro: Decode Your License
..................................................................................................................................................................................
Using a cool little program I dug up on the web, and a scanner I was able to decode the barcodes on the back of my NY drivers license, and find out what information people get when they scan it. I'm pretty sure that just decoding the barcode is not illegal, but some of the other things I describe probably are, so let those be just proof of concept.
All the times my license (well technically my permit, but its all the same) appears, I mess up the barcodes a bit so (hopefully) no one can get my information. Personally I don't care, but theres probably some good reasons why I should not let it out so I'm just being safe.
Using a cool little program I dug up on the web, and a scanner I was able to decode the barcodes on the back of my NY drivers license, and find out what information people get when they scan it. I'm pretty sure that just decoding the barcode is not illegal, but some of the other things I describe probably are, so let those be just proof of concept.
All the times my license (well technically my permit, but its all the same) appears, I mess up the barcodes a bit so (hopefully) no one can get my information. Personally I don't care, but theres probably some good reasons why I should not let it out so I'm just being safe.
STEP 1: Materials
Most people probably have this stuff:
1. Scanner
2. License/Permit from any state ( I think there are a few states ids that do not work, but most should)
3. Swipe Barcode Program
4. A Hex converter (more on this later)
5. Photoshop or similar program
6. Optional 1d barcode decoder
1. Scanner
2. License/Permit from any state ( I think there are a few states ids that do not work, but most should)
3. Swipe Barcode Program
4. A Hex converter (more on this later)
5. Photoshop or similar program
6. Optional 1d barcode decoder
STEP 2: Procedure
All of this is fairly straight forward.
1. Scan the back of your license / permit using a medium - high resolution. The resolution should be set so that the 2d barcode is about 2000 pixels long.
2. Open up the image in Photoshop and cut out the 2d barcode. The 2d barcode is the one on the bottom in the picture. Most states use the PDF-417 (Portable Data File, with 17 modules each containing 4 bars and spaces, thus 417). Edit the barcode so that it is exactly 2000 or less pixels long because that is the maximum the program will allow, and save it.
3. Open swipe toolkit pdf417 barcode reader, available to download in the last step, and load your barcode into it. Click decode image, and a window with all your information should pop up. The picture shows the window that I got ( I removed thinks I should probably care about). As you can see, you can view the information processed, in raw bytes, or in hex. An interesting thing to note is if your card contains your social security number, some states put it on and some states don't.
1. Scan the back of your license / permit using a medium - high resolution. The resolution should be set so that the 2d barcode is about 2000 pixels long.
2. Open up the image in Photoshop and cut out the 2d barcode. The 2d barcode is the one on the bottom in the picture. Most states use the PDF-417 (Portable Data File, with 17 modules each containing 4 bars and spaces, thus 417). Edit the barcode so that it is exactly 2000 or less pixels long because that is the maximum the program will allow, and save it.
3. Open swipe toolkit pdf417 barcode reader, available to download in the last step, and load your barcode into it. Click decode image, and a window with all your information should pop up. The picture shows the window that I got ( I removed thinks I should probably care about). As you can see, you can view the information processed, in raw bytes, or in hex. An interesting thing to note is if your card contains your social security number, some states put it on and some states don't.
STEP 3: Legality Becomes Iffy Here
http://www.cyanosoft.com/download/index.htm
Cyansoft makes a pdf 417 barcode encoder, which you can use to modify the barcode.
If you select raw bytes(you can also select hex if you want to use a hex editor to edit the information) on how the decoded information is shown in the pdf 417 reader, examine it and you should be able to pick out your information such as d.o.b, name, license number, etc. You can edit that information, copy the selection into cyansoft's barcode encoder, and tweak it to look like the original barcode. Some of the settings you may need to change are the Error correction level, the number of columns and rows, and the bar width. The overall purpose of tweaking the barcode is to get it to look and read the same before, just with the modified data.
To test out the modded barcode, export it as an image and run it through the decoder again, if it works great, if not just keep tweaking the settings in the encoder until it looks exactly like the original. You now have your modded barcode, but what should you do with it?
Cyansoft makes a pdf 417 barcode encoder, which you can use to modify the barcode.
If you select raw bytes(you can also select hex if you want to use a hex editor to edit the information) on how the decoded information is shown in the pdf 417 reader, examine it and you should be able to pick out your information such as d.o.b, name, license number, etc. You can edit that information, copy the selection into cyansoft's barcode encoder, and tweak it to look like the original barcode. Some of the settings you may need to change are the Error correction level, the number of columns and rows, and the bar width. The overall purpose of tweaking the barcode is to get it to look and read the same before, just with the modified data.
To test out the modded barcode, export it as an image and run it through the decoder again, if it works great, if not just keep tweaking the settings in the encoder until it looks exactly like the original. You now have your modded barcode, but what should you do with it?
STEP 4: From This Point on Everythings Definitely Illegal
Ive never tried these, so don't blame me if you screw up and ruin your license.
If you want to use the fake barcode you just make on your license, there are many possible ways to transfer it. The easiest is probably to erase the old barcode with some acetone and paper towels, and when your sure its completely erased, carefully print directly onto the license. The only problem with this method is that you would need a high density printer (thermal transfer or laser), and would have to be extremely careful that it printed in the right spot nice and cleanly.
Another method could be to clean off the old barcode with acetone, and then print out the new one on a transparency and affix it to your license. The problem with this method are that it would be easy to tell its fake, unless done really carefully.
Remember if you are changing a piece of information that is on the front you have to change it on the license too. It doesn't matter if the id scans 21, if it says 18 on the front they are not going to accept it.
(Note: Most licenses also have a 1d barcode on the back too. It contains much less information then the 2d barcode. To edit it you will need to find out what specific type of barcode it is, there are many sites online with pictures of different barcodes that can help you. Then download a decoder for that type, and decipher the information they give you, see if it matches up with your license number, dob, etc. Then change it and re encode it using a program for that type of barcode.)
If you want to use the fake barcode you just make on your license, there are many possible ways to transfer it. The easiest is probably to erase the old barcode with some acetone and paper towels, and when your sure its completely erased, carefully print directly onto the license. The only problem with this method is that you would need a high density printer (thermal transfer or laser), and would have to be extremely careful that it printed in the right spot nice and cleanly.
Another method could be to clean off the old barcode with acetone, and then print out the new one on a transparency and affix it to your license. The problem with this method are that it would be easy to tell its fake, unless done really carefully.
Remember if you are changing a piece of information that is on the front you have to change it on the license too. It doesn't matter if the id scans 21, if it says 18 on the front they are not going to accept it.
(Note: Most licenses also have a 1d barcode on the back too. It contains much less information then the 2d barcode. To edit it you will need to find out what specific type of barcode it is, there are many sites online with pictures of different barcodes that can help you. Then download a decoder for that type, and decipher the information they give you, see if it matches up with your license number, dob, etc. Then change it and re encode it using a program for that type of barcode.)
96 Comments
gerreromaria301 3 years ago
WilliamEdward89 4 years ago
WilliamEdward89 4 years ago
kallyfok 6 years ago
This result seems good.
Jessa81 4 years ago
Jessa81 4 years ago
RachealT3 7 years ago
JoeA92 7 years ago
I know this is an old post, but all the info I've read in the comments is wrong.....
License barcodes DO NOT contain pictures, or anything but the data any barcode scanner reads. Its encoded with certain bytes of data and a specific header to make it read properly in a scanner. Search the net for "aamva license standards" for all the info you need. Its best to find a barcode creator which can edit the hex values and make sure you encode it exactly to the aamva specifications. Also the x and y dim, and error correction need to be correct for any store/bar scanner to read properly.
cpushrod 12 years ago
ZachB27 8 years ago
ChristopherO26 8 years ago
Too good
redxine 11 years ago
The exception to this rule (which is allowed by U.S. federal law) is when you open a Target Visa. The information verifies your line of credit and is easier than typing a name and address on the already difficult to use signature pad.
You should also consider that any time you swipe a card, sign a pad, enter a PIN, or pay with a cheque, you're trusting that very same machine to handle your financial data.... When you pay with cash, you're also trusting that the cash point you withdrew it from didn't have a skimmer installed.
Since American POS systems have yet to adapt Chip and PIN card readers completely, scanning your ID for an age-restricted product doesn't reveal any more personal information that swiping a credit card doesn't already.
ElvenChild 10 years ago
Think about it, getting your movie "Content Rated" by the MPAA, by law,is completely optional. However to be displayed in a theater, it must be. However theres also not a law that says minors can not go to an "R" rated movie, however the theaters have an agreement with the production companies that they won't let unaccompanied minors in.
It's really all up to store policy.
Luannes6 8 years ago
SolidSilver 15 years ago
pcooper2 10 years ago
I suspect the PDF417 code contains exactly the same data as the magnetic stripe, if the license is so equipped. My state driver license has both.
jknutson1978 9 years ago
pcooper2, actually, their could be a picture in the bar code. The PDF417 can have photographs, fingerprints, signatures, text, numbers or graphics.
"PDF417 barcodes are special in that they can hold upwards of 1.1 kilobytes of machine-readable data, making them much more powerful than other 2D barcodes. This storage space has been utilized in cases which require the storage of photographs, fingerprints, signatures, text, numbers or graphics."
Reference: http://www.scandit.com/products/barcode-scanner/symbologies/pdf417/
ZzWy 9 years ago
I've tested several PDF417 barcode reader toolkit, but most of them cannot recognize rotated barcodes. Then, tried this good PDF417 barcode reader software.
Dean AAron 12 years ago
It provides barcode solutions for .NET, Java, and Smartphones. Easy and efficient to use, so try them at following web sites. I do believe they are helpful to solve problems.
http://www.onbarcode.com/software/barcode_generator.html
http://www.onbarcode.com/products/net_barcode/
http://www.onbarcode.com/products/java_barcode/
lil parka 12 years ago