How to use foremost to recover deleted files on a USB thumb drive with Kali Linux.

Below is a snippet of output from my Kali Linux session. I am trying to recover files from a USB thumb drive and I am having some success. root@kali:/home/root/Desktop/files# foremost /dev/sdb1 -v -o /home/root/Desktop/files/ Foremost version 1.5.7 by Jesse Kornblum, Kris Kendall, and Nick Mikus Audit File   Foremost started at Thu Mar 12 11:12:06 … Read more

How to list users on a WordPress website with the Kali Linux distribution and wpscan.

Kali Linux has available to it a Ruby script that may be used to list all users on a WordPress website. Use the command below to scan a website for security vulnerabilties and see if there are any problems with the website. root@kali:~# wpscan –url mywordpresssite.com –enumerate userroot@kali:~# wpscan –url mywordpresssite.com –enumerate user Use this … Read more

Another way to listen to Wi-Fi traffic using Kali Linux and a wireless adaptor.

The p0f command for Kali Linux allows a user to listen in on traffic passing over a wireless network. I am using a Netgear WLAN adapter and I am listening in on an open Access Point. This is the command to use: p0f -i wlan0 this will start the p0f traffic sniffer. root@kali:~# p0f -i … Read more

How to update the grub menu manually on Kali Linux.

The update-grub command will update the grub menu on Kali Linux. root@kali:~# update-grub Generating grub.cfg … Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.12-kali1-amd64 Found initrd image: /boot/initrd.img-3.12-kali1-amd64 Found memtest86+ image: /boot/memtest86+.bin Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin No volume groups found doneroot@kali:~# update-grub Generating grub.cfg … Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.12-kali1-amd64 Found … Read more

How to scan your Kali Linux system for security vulnerabilities using the lynis tool.

The lynis tool for Kali Linux allows you to scan your computer system for security vulnerabilities. Execute this command as root and this will allow you to find out if you have any problems with your installation. root@kali:/home/homer# lynis –check-all   [ Lynis 1.4.1 ]   ################################################################################ Lynis comes with ABSOLUTELY NO WARRANTY. This is … Read more

How to scan for vulnerable ports on a host with the Kali Linux distribution.

Scanning for vulnerable ports is easy with the Kali Linux distribution. Here is a simple port scan of my Windows Server 2012 R2 laptop host OS using Kali Linux. homer@kali:~$ sudo nmap 192.168.1.6   Starting Nmap 6.46 ( http://nmap.org ) at 2014-05-28 20:44 EST Nmap scan report for 192.168.1.6 Host is up (1.0s latency). Not … Read more

WordPress testing with Kali Linux. Find problems with your site before the bad guys do.

The new Kali Linux distribution allows installation in a VMware virtual machine. This enables integration with a local area network and scanning of vulnerabilities. One good vulnerability scanner is wpscan. This is a vulnerability scanner that is used to scan websites running WordPress for security vulnerabilities. This makes it very useful for a webmaster. You … Read more

How to add the proper repository information to Kali Linux to install kernel headers.

Installing the kernel headers for Kali Linux allows the installation of Virtualbox Guest Additions and other software that relies upon the kernel headers, but the /etc/apt/sources.lst is not filled out by default. Paste this code into the /etc/apt/sources.lst at the bottom of the file. deb http://http.kali.org/ /kali main contrib non-free deb http://http.kali.org/ /wheezy main contrib … Read more

The new penetration testing distribution that has taken over from Backtrack.

There is a new Linux distribution that has taken over from Backtrack. This is Kali, a distribution based upon the Debian distro. This uses the Gnome fallback desktop component of the Gnome 3 desktop and offers something that was lacking from the Backtrack distribution, a networking icon for changing your settings. All of the familiar … Read more