Tag: kali

Quick USB console to Raspberry Pi setup.

The Setup

Setting up console in Linux for the Raspberry pi is super easy. The main idea is you have two configurations that need to meet in order for the devices to talk to each other. On the Raspberry Pi side you make a small change to a file in the boot partition and on the Linux workstation you run a command in Terminal to match the speed and location setting.

So you need to download one package on your Linux workstation. The package is called “screen” and it is simple to use and download.

On your Linux workstation

For Fedora:  sudo dnf install screen

Other versions:  sudo apt-get install screen

Once screen is installed you can test it by typing screen and look for the Terminal top bar to change.

On the Pi

On the Raspberry Pi (Or Any Pi) you need to configure the cmdline.txt

Just add:  console=ttyAMA0,115200

Run in Terminal

In Terminal:  sudo screen /dev/ttyUSB0 115200




 

 

The Pin Out

USB console cable would be:

  • Black cable (Ground) to pin 6
  • White cable (Transmits) to pin 8
  • Green cable (Receive) to pin 10
  • Red cable (Power) For now leave disconnected.
2016-03-20-18_22_58-Untitled-Diagram.xml-draw.io_

Click to enlarge – Pin out for USB serial to Raspberry Pi

 

 

 


Kali Linux Metapackages – Getting the missing tools properly.

Kali Linux ARM images.

When the developers of Kali Linux approached porting the OS to the Raspberry Pi 2 they came up with a unique strategy of offering a base system and then creating an apt-get process to download bundled and preconfigured tool sets. Most researchers won’t fully use the Raspberry Pi as sole Kali product but researchers will use the Raspberry Pi version of Kali as an extension of their own shell, such as a remote wireless auditor. So once we download the base OS you will immediately notice how streamline and easy it is to add the Kali tools and removing them as bundles using the same method.

What are Metapackages!

As mentioned in our quick video, Metapackages are repository packages of tools packed together, with the same kind or likeness, for easy installation. These Metapackages can be used not just for the Raspberry Pi but most ARM or Slim versions of Kali Linux, also another trick you can do is add the Kali Linux distro repository links to say another Debian based Linux and add the same packages, like adding wireless hacks to Ubuntu, it can be done but that requires a bit of Linux skill and more time to explain. Anyway…  on to our Raspberry Pi example.

New installations of Kali OS Images on ARM chipsets will only have the basic top 10 Kali tools installed. You should research and configure your new installation to add the Metapackages of attack tools you will be using. Not all tools will be available but most of them are there. Tools that are not available are only missing due to the compatibility of the tool and the ARM chipset architecture. The installation is SUPER easy by using the apt-get method. For instance the command to install all wireless hacking tools is just:

apt-get install kali-linux-wireless

Links to Metapackages 

Please check out all the Kali Metapackages:

Kali Metapackages – Link includes basic name and installation size in GB.

Kali Metapackages detailed description – Basic name and detailed package content.

So you have to calculate the base image size with the add on Metapackages. In my case the uncompressed Kali image was just over 3GB and the wireless hacking tools Metapackage was 6.6GB thus totaling just under 10GB. So you will want a nice big MicroSD card to store your various Metapackages on Kali.

Special Kali Metapackages

apt-get install kali-linux-full – 9 GB

apt-get install kali-linux-all – 15GB

There are full and All versions of Metapackages, if you want to strip and slim down your Kali system and then reinstall you can. This is helpful in some instances where you want to refresh a Kali desktop environment (Yes, these same Metapackages can be installed on Kali desktop :-))

Now it’s incredibly important that I let you know if you decide to go with a full install it may take over several hours. I did manage to install the full and it took over 3 hrs, It took 40 min alone to download the packages and the a few hours to unpack and install them and after the install the OS was kind of funky.

 



 

Uninstall Kali Metapackages.

You can also uninstall packages in this method. Say you just want the wireless auditing Metapackage but you have decided not to use the SDR-RTL Metapackage. Well all you have to do is uninstall that Metapackage group something like this:

apt-get remove kali-linux-sdr or apt-get purge kali-linux-sdr 

Coming up next!

Please tune in to our YouTube channel series on installing the Kali Linux OS on the Raspberry Pi. We understand that there are many tutorials out there in the hacking community but we feel we can bring a simple common sense approach to installing. Subscribe to our channel and like our vids!




Next Tutorial

Check out this tutorial (video in the works.) How to install Kali Vr 2 for Raspberry Pi with all tools.

Also once we complete the installation series we will dive into tool tutorials with what is used in Kali OS. We will also give examples using the Raspberry Pi in real world situations.

Thanks!

-Mytho


OSOYOO / KeDei 3.5 inch TFTLCD touch screen for RASPBERRY PI – Including Drivers for download.

wp-1452661601662-e1452661948709

This is my Raspberry Pi connected to the  OSOYOO / KeDei 3.5 display I picked up for like $10. They sell these on eBay and Amazon. After installing it I quickly questioned the need for this as a display. Unless you have it just pipe some notifications to the display. Holding it in hand I think I will never use something this small as a full-blown monitor..

I had envisioned mine as running as just status and visual alerts…Like, Say I’m running Kali and I just want to peak at what it is doing while it’s in my bag at the local coffee shop.

Buyer Beware: It’s hard to find drivers for this LCD Manufacture. If you plan on purchasing one go bigger and look for a display that can run Notro’s LCD driver fbtft scripts.

It’s running here with what the sellers are calling a “driver” but the driver they pass around is really is a complete raspberry image which to me… kind of blows. So I went on a quest to find all the drivers and I had the hardest time searching the web  but I did eventually find them on a Chinese manufactures site. Hopefully we can all benefit from this find. I will link them here and you can download them from our GoAttack Mega Account.

So in the future I will have some Raspberry Pi images with the LCD / TFTLCD drivers set but until then Here are the links to the drivers.

OSOYOO / KeDei 3.5 inch Drivers:

 




 

Resource Blogs that are very helpful with this display:

 

Some additional pic’s of the LCD

  wp-1452661729086wp-1452661641119-e1452661939858wp-1452720359766wp-1452661667606-e1452661929370


Scroll Up