Introduction: Getting Started With MagSpoof

Picture of Getting Started With MagSpoof

Hola amigos

Hoy les voy a mostrar como iniciar con el MagSpoof una herramienta creada por Samy Kamkar para hacer pruebas de seguridad en métodos de pagos con tarjetas de crédito de banda magnética, para ver con mayor detalle como funciona puedes checar el siguiente video:

Si eres muy nuevo en esta área este instructable te guiara por cada uno de los pasos para tener funcionando tu MagSpoof fabricado por Electronic Cats.


Hi friends

This time we're gonna show you, how to begin with the MagSpoof a tool created by Samy Kamkar in order to do security tests on paid methods, with credit cards which has a magnetic band, if you want to understand better how this works, you may check out the video behind

If you're new in this topic this instructable will guide you by every step in order to get working your MagSpoof made by Electronic Cats

Lets get started

Step 1: Material

Picture of Material

El material necesario para crear un MagSpoof es el siguiente:

  • 1 Attiny85
  • 1 TC4424 Microchip
  • 2 Capacitores 100uF
  • 1 Button
  • 1 Capacitor 0.1uF
  • 1 Led rojo
  • 1 Resistencia 330 ohms
  • 2 Bases 8 pines
  • 10 mts de cable magnético 24AWS (bobina)
  • 1 Bateria Lipo 3.7V 100mAh ~2000mAh
  • 1 Tira de pines 2x3

También puedes comprar el kit completo en la tienda de Electronic Cats (LINK)

The material needed to make your MagSpoof is the next:

  • 1 Attiny85
  • 1 TC4424 Microchip
  • 2 Capacitors 100uF
  • 1 Capacitor 0.1uF
  • 1 Button
  • 1 Red LED
  • 1 330 ohm Resistor
  • 2 8-pin base
  • 10 meters magnetic wire (32.8084 fts)
  • 1 LiPo battery 3.7V 100mAh~2000mAh
  • 1 Pin Strip 2x3

Also you can buy the complete kit at Electronic Cats store (LINK)

Step 2: Armado

Picture of Armado

Step 3: Arduino IDE

Picture of Arduino IDE

Para poder compilar el firmware al MagSpoof debemos instalar la ultima versión de Arduino IDE e ir al siguiente menú

Archivo --> Preferencias --> Gestor URL Adicionales

Agregar la siguiente URL:


Después ir a Herramientas --> Placa --> Gestor de Tarjetas --> Seleccionar "Attiny por David A." e instalar el paquete.

Con eso tendremos instalado el compilador para el firmware del Attiny85, solo debemos dejar la configuración como en la ultima foto

Placa: Attiny/25/45/85

Procesador: Attiny85

Clock: 8Mhz

El código necesario para su funcionamiento se encuentra en:


To compile the firmware of the MagSpoof we need to install the latest version of Arduino IDE and go to the next menu

File --> Preferences --> additional boards manager URLs

And add the next URL

<p><<<<<<<a href="" rel="nofollow"></a>>>>></p>

After this go to Tools -->Board --> Boards manager --> Select "Attiny by David A." and install the pakage.

With this we'll have installed the compiler pf the firmware for the Attiny85, now just configure it like the last photo

Board: Attiny/25/45/85

Processor: Attiny85

Clock: 8Mhz

The necessary codec it's on this link


Step 4: Programming MagSpoof

Picture of Programming MagSpoof

Para cargar el firmware al MagSpoof usaremos como programador en esta ocasión un Arduino UNO (puedes usar cualquier programador AVR) solo debemos cargar el sketch "ArduinoISP" que se encuentra en la sección de ejemplos del Arduino IDE.

Seleccionar programador como: "Arduino as ISP"

Ahora debes conectar los pines correspondientes del Arduino UNO al header de programación de la tarjeta

MagSpoofArduino UNO

1 MISO ---------> 12

3 SCK ---------> 13

5 RST ---------> 10

4 MOSI ---------> 11

6 GND ----------> GND

2 VCC ----------> 5V

Una vez lista la conexión debemos solo cargar el sketch

To program the MagSpoof firmware were gonna use Arduino uno as programmer, (You can use any AVR programmer) we just need to charge the sketch "ArduinoISP" which is on the examples sections on the arduino IDE

Select the programmer as "Arduino as ISP"

Now you need to connect the correspondig pin from the arduino to the connector on the board

MagSpoof Arduino UNO

1 MISO ---------> 12

3 SCK ---------> 13

5 RST ---------> 10

4 MOSI ---------> 11

6 GND ----------> GND

2 VCC ----------> 5V

Once connected just load the sketch and its done!

Step 5: Work

Picture of Work

Para terminar debemos crear la bobina con cerca de 50 vueltas del tamaño de la PCB y soldar a la tarjeta.

Con eso tendremos todo listo para que el MagSpoof funcione, ahora solo debemos presionar el botón y probar con un lector de tarjetas.

Video demo working

Happy Hacking!!

Finally we must create the coil with about 50 laps on the size of the PCB and soldered to the card.

With this we will have everything done to get working our MagSpoof, now the ony thing you need to do is press the botton and test it with a card reader

Video demo working
Happy Hacking!!


cheeseandcereal made it! (author)2017-04-29

Nice kit, works great!

P.S. Remember to strip your magnet wire BEFORE you solder it in lol.

Its really cool to know that you have realized it well!

chris2opher113 (author)2017-02-27

i have received my magspoof today and i am having the same problem as r41nm4kr. any solutions to this?

Check my reply to r41nm4kr's comment and see if that helps!

R41nM4kr (author)2016-10-15

I'm having issues getting the code to the device. I have the proper Arduino, pin settings, but I'm lost after that. When I try to verify the ArduinoISP example, it says 'Serial1' was not declared in this scope. Additionally, I'm not sure where I add the source-code from the github site. Any assistance would really be appreciated. Thanks.

cheeseandcereal (author)R41nM4kr2017-04-29

Instructions were not super clear in the instructions here.

In order to program, first you have to set your arduino to ISP mode.

In order to do this, go to tools->board->Arduino/Genuino Uno (assuming you're using an arduino uno. You can select another board if you're not using an uno).

Make sure that your arduino is plugged in, then in tools->port make sure that your port with the arduino is selected.

Once you've done this, go to file->examples->ArduinoISP->ArduinoISP

This will load up a new sketch window, where you can simply click "upload" (the right arrow). If you get the error "serial1 was not declared in this scope", it means that you need to change your board in tools->board to be the arduino, NOT the ATtiny

Once it says done uploading, now go to tools->board->ATtiny25/45/85

then tools->processor->ATtiny85

then tools->clock->Internal 8mhz

then tools->programmer->Arduino as ISP

then finally tools->Burn Bootloader

This will load the bootloader. Once this is done, you can now program the code to the ATtiny.

Now copy and paste the magspoof.c code and replace all of the text in the current sketch (so the ONLY thing in the sketch is the magspoof code).

Then simply click sketch->Upload Using Programmer

And that should finally program your ATtiny with the magspoof code.

Hope that helps!

chris2opher113 (author)R41nM4kr2017-02-27

any luck figuring this out ?

R41nM4kr (author)chris2opher1132017-02-27

Nope. No one responded to assist. :(

rysccorp made it! (author)2017-02-22

We made a few small convenience improvements. More at and

sabas1080 (author)rysccorp2017-03-06

Sorry for the delay we have been busy, did you figured out?

luisfranco1990 (author)2016-07-06

hola estoy un poco interesado con este proyecto... tengo mas o menos de 5 a 6 tarjetas de credio en mi billetera y es un poco molesto.. con esto podria hacer una multi tarjeta? es decir unificar todas en una sola?

sabas1080 (author)luisfranco19902016-07-06

Si, con el codigo adecuado pudiera funcionar asi

ThomasK19 (author)2016-07-06

Hu, that's really scary! Thanks for sharing this information! However, I wouldn't dare to show up at my local dealer with one of those spoofies xD

About This Instructable




Bio: Fundador de The Inventor's House Hackerspace, Movimiento Maker y Hardware Libre, DIY, Workaholic
More by sabas1080:WiFi Jamming with ESP8266LoRaCatKitty Build IoT Applications With LoRaWAN in 3 StepsGetting Started With MagSpoof
Add instructable to: