Browse Author: dayz

Hey welcome to my lab!My name is Kamil and I do a lot of repetitive things when it comes to my projects. I decided to make a blog about the things I do, so that I can find the things I do constantly easier. Since this is on the web you all will be able to benefit from this and learn news things as I learn them.The site will focus on arduino and raspberry pi tutorials as well as some basic hacking and programming. Thanks for visiting!

How to disable WPS on the Netgear JNR3210 Router

About: WPS stands for Wi-Fi Protected Setup and it is a wireless networking standard that tries to make connections between a router and wireless devices faster and easier. It works only for wireless networks that have WPA/WPA2 security. That’s great, however there is a problem with WPS, it can easily be cracked and allow a hacker access to your home WiFi network.

WPA2 security is very secure and there really is no way of hacking WPA2 without using a dictonary attack which can take months depending on the hardware you are using to bruteforce. It can also be a waste of time if your password is very long and includes many special characters, however if you have WPS enabled on your router (which it usually is by default) there is a faster way to hack your WiFi and it can be usually done in a maximum of 12 hours.

Objective: To disable WPS on our Netgear JNR3210 router to improve WiFi security.

Material: You will need the following:

Instructions: You will need to begin by opening your browser and typing in the IP address for your router. The default is usually http://192.168.1.1 on Netgear routers. Type in the username and password. The default username is ‘admin’ and the default password is ‘password’.

Netgear3210_1
Login to your Netgear JNR3210 router

Continue Reading

Cracking WEP WiFi using the Raspberry Pi

About: WEP WiFi security has been debunked for years but thankfully for us there are still people who have never switched to the more secure WPA2 protocol. These are either older businesses who never invested in updating their security or have older equipment which is not compatible with the WPA2 security protocol. You will see how unsecured the WEP protocol is and how quickly it can be cracked. The Raspberry Pi I will be using is overclocked to 900 MHz so it will speed up the cracking process a little bit. I plan on writing a separate article on how the different overclock settings and how they compare.

Objective: To demonstrate how insecure the WEP security protocol is and how easily it can be cracked.

Material: You will need the following:

Instructions: In this tutorial I will be cracking my own WiFi router. I have set it up to WEP protocol and have a few phones connected to my network. If you will be doing this you will need to make sure that there is something connected to your network so that there is information being passed back and forth. We will be monitoring all the data and storing it to a file which we will be cracking afterwards. The more data we collect the better our success rate will be. I will also show you how to speed this process up by requesting data from the WiFi router without connecting to it. Continue Reading

How to install Kali Linux on the Raspberry Pi

About: Kali Linux is a OS that is based off of Debian. It is the successor to Backtrak and includes many tools that are used in penetration testing. Penetration testing is the act of testing a system, network or Web application to find vulnerabilities that could be exploited. The Raspberry Pi may not be the most powerful system to do penetration testing on, but it is cheap and is very easy to use. After installing Kali Linux you can set up scripts and perform attacks in the wild, and since a Raspberry Pi is very easy to hide the low cost makes it disposable.

Objective: To install Kali Linux 2.0.1 onto a Raspberry Pi B+ Model. I will be using Linux Mint to format the SD card.

Material: You will need the following:

  • Raspberry Pi
  • 8GB or larger SD card. Class 10 works best on the Raspberry Pi

Instructions: I will assume you know some basic linux terminal commands. If not this guide will be very clear regardless.

You must begin my downloading the Kali Linux Image. There is a compiled image for the Raspberry Pi located at the Offensive Security website. The download page can be found here. Scroll down half way and download the image for your Raspberry Pi. At the time of writing the current version was 2.0.1. Continue Reading

Setup the LM335 Therometer using the Arduino

About: The LM335 is a simple thermometer with only 3 pins. It can be easily interfaced to the arduino or any other microcontroller. The LM335 is pretty much just a diode in a TO-92 case. The voltage rises 10mv for every degree in Kelvins. You will pretty much need to convert the kelvin temperature to Celsius or Fahrenheit using simple calculations.

Objective: To build a simple digital thermometer using a LM335 and an Arduino.

Material: You will need the following:

Instructions: The connections are very simple, you will only need to use 2 of the 3 pins on the LM335. Pins 2 and 3 will only be used. Refer to the breadboard diagram below for connections. The resistors connects to the middle pin of the LM335. The middle pin then connects to the arduino analog0. Pin 3 of the LM335 is connected to ground. Continue Reading

24LC256 EEPROM on Arduino

About: I picked up a few 24LC256 eeproms to get some more external memory for future projects. These eeproms hold around 32Kbytes which is more than enough for a basic data-logger or for storing specific values. You can hookup 4 of these chips together to get a whopping total of 128Kbytes of external memory. These chips are great not only for the memory but also because they are I2C. Don’t let this scare you, there are many libraries for I2C eeprom chips. I2C is also great because it only uses 2 analog pins of your arduino. The I2C pins on the arduino are analog pin 4 and analog pin 5. For this tutorial I followed Hkhijhe example and his functions.

Objective: To connect a I2C eeprom to the Arduino Uno.

Instructions: For the breadboard schematic below for how to connect the 24LC256 to the Arduino. Continue Reading

How to make a basic standalone Arduino

About: When you are done with your arduino projects and are ready to make them more permanent you have to take your arduino off its programmer and build it on a breadboard or PCB. This makes the circuit more final and permanent. It is very simple to build the standalone arduino and it shouldn’t be intimidating at all. You just need a few basic parts that you might already have laying around. This tutorial will not include a serial connector so you will have to continue to burn new code to the arduino on the programmer and transfer the chip to your breadboard or PCB. You should always use a dip socket so you don’t solder your arduino to the PCB allowing you easy access to swap programs or chips.

Objective: To build a basic bone-dry standalone arduino on a breadboard or PCB.

Material:

  • ATMega168/ATMega328 (Your Arduino Microcontroller)
  • 16Mhz Oscillator Crystal
  • 7805 Voltage Regulator (5V Voltage Regulator)
  • 2x 22pF Capacitors
  • 2x 10uF Capacitors

Instructions: Follow the schematic in the reference section. This will show you how to build a basic standalone arduino. Refer to the pin mapping diagram after you are done to connect your pins. Remember this won’t let you upload code to the arduino. You will have to continue to use your arduino programmer and place the chip in the circuit. Continue Reading