Install Bison Kali Linux
- [2020-10-30] bison 2:3.7.3+dfsg-1 imported into kali-rolling (Kali Repository)
- [2020-09-14] bison 2:3.7.2+dfsg-1 imported into kali-rolling (Kali Repository)
- [2020-08-03] bison 2:3.7+dfsg-1 imported into kali-rolling (Kali Repository)
- [2020-06-15] bison 2:3.6.3+dfsg-1 imported into kali-rolling (Kali Repository)
- [2020-05-18] bison 2:3.6.1+dfsg-2 imported into kali-rolling (Kali Repository)
- [2020-03-26] bison 2:3.5.3+dfsg-1 imported into kali-rolling (Kali Repository)
- [2020-01-27] bison 2:3.5.1+dfsg-1 imported into kali-rolling (Kali Repository)
- [2019-09-27] bison 2:3.4.2+dfsg-1 imported into kali-rolling (Kali Repository)
- [2019-08-19] bison 2:3.4.1+dfsg-4 imported into kali-rolling (Kali Repository)
- [2019-02-10] bison 2:3.3.2.dfsg-1 imported into kali-rolling (Kali Repository)
- [2019-01-09] bison 2:3.2.4.dfsg-1 imported into kali-rolling (Kali Repository)
- [2018-12-01] bison 2:3.2.2.dfsg-1 imported into kali-rolling (Kali Repository)
- [2015-12-07] bison 2:3.0.4.dfsg-1 migrated to Kali Safi
- [2015-09-12] bison 2:3.0.4.dfsg-1 has been added to Kali Devel
- [2015-09-12] bison 2:3.0.4.dfsg-1 has been added to Kali Rolling
- [2015-08-27] bison 1:2.5.dfsg-2.1 migrated to Kali Moto
- [2015-08-11] bison 2:3.0.2.dfsg-2 migrated to Kali Moto
- [2015-07-21] bison 2:3.0.2.dfsg-2 migrated to Kali Sana
- [2014-10-22] bison 2:3.0.2.dfsg-2 migrated to Kali Rolling
So far, we have downloaded, and installed our Kali Linux virtual machine and we have installed updates and taken some measures to secure our Kali image. We are almost ready to start firing off scans, popping some shells and cracking some passwords. But before we do that, there is one more thing we should go over before we get started. We are going to go over how to install some tools on Kali Linux.
Kali Linux contains several penetration testing tools installed by default as well as some that are pre-installed. However, there are some really good tools that are do not come installed in the image. We are going to install some of them to give you a feel on how to do this when you find a tool you want to use in your Kali Linux image. There are a couple methods we can use to install these tools.
- Flex and Bison are Unix utilities that can help you to write very fast parsers for arbitrary file formats. If your synaptic package manager currently does not include these packages, you can install Flex and Bison through a simple terminal command.
- Jul 14, 2019 15. Once you receive the message Installation is complete, click Continue to reboot your VM. With this, you have successfully installed Kali Linux on VirtualBox. After rebooting, the Kali login screen appears. Type in a username (root) and password you entered in the previous steps. Finally, the interface of Kali Linux appears on your screen.
Here are my notes to make a successful install of Impacket on Kali Linux version 2020. These were taken from tryhackme.com. Step by step commands to run in terminal.
- Using the apt-get install command. The advancedpackage tool (apt) allows you to install tools and their dependencies veryquickly.
- Using git clone and downloading it from GitHub.Git clone is a git command that creates a clone of a target tool repository
Now that we know what we are going to use, let’s startdownloading some tools!
The first tool we are going to install is the Discover script. Discover is a script that automates several passive and active penetration testing tasks. The Discover script was created by Lee Baird. Installation is a simple process. Open a command terminal in Kali Linux and do the following:
- Type “sudo apt-get update && apt-get upgrade
- Type “sudo git clone https://github.com/leebaird/discover.git”
- Navigate to the discover folder with the command cd discover
- Run the command ./update.sh. If you run into any errors, you may need to run the command as an elevated user. Try sudo ./update.sh again
- Several tools will install but when it is complete, type ./discover.sh
The next tool we are going to install isn’t necessarily a tool, it is more of a resource. Cracking passwords and performing fuzzing techniques are very crucial skills to know in penetration testing. However, these skills and tools will never be successful without the proper lists to assist in the process. Kali Linux does come with some wordlists already installed, but there are several more you can find over the internet.
One of the more popular wordlists is Daniel Miessler’s SecLists. We are going to download this wordlist the same way we downloaded the Discover script using the git clone command. However, this time we are going to direct where we want the file to download which will be the wordlist folder. Open a new command terminal or type “clear” in your existing terminal to clear the screen. Then do the following:
- Type “sudo apt-get update && apt-get upgrade
- Type “sudo git clone https://github.com/danielmiessler/SecLists.git /usr/share/wordlists/seclists”. What we just did was clone the file, but we created a folder named “seclists” in the wordlists folder
- List contents of wordlists folder with the command “ls /usr/share/wordlists”
- Confirm seclists folder is there.
Finally, we are going to download and install the OpenVas scanner. OpenVas is an open source vulnerability scanner developed by the team at Greenbone Networks. To install this, we need to do the following steps:
- Type “sudo apt-get update && apt-get upgrade
- Type “sudo apt-get install -y openvas
- Once it downloads, type “openvas-setup”. This will take a while to install.
However, once it does, make a note of the password (copy and paste it to a document) and url address given to you to launch and login to the scanner.
- Log in to OpenVas site (https://127.0.0.1:9392) with your username of admin and your password. (You may need to add a security exception to access the site.
- Go to the Administration tab and select “Users”. Find your “admin” username and click the “Edit User” button on the right side (blue with a wrench).
- Go to the Authentication section and enter the password you want to use to log into this scanner. Click save.
We have now installed some tools for our Kali Linux machine. However, these tools barely scratch the surface of what you can install and use in the wild. There are several more tools and resources out there that can be useful on your journey. You can find many of them on Github, other websites or with a good Google search. You can also find them in several books (like the ones I mention here) or you can even write your own scripts and tools!
However, you must be be careful and make sure the sources you are downloading from are trusted. There are some malicious attackers out there who put malware in their apps and tools and trick users into downloading them. Find and create some great, safe tools and Happy Hacking!
To see what will be using these tools against and why, check out my article on my experience with the OSCP.
There are also several books and equipment I recommend to help you on your way learning hacking skills and techniques.
Finally, check out my previous article about how I related the phases of a penetration test to the Infinity Stones from “The Avengers: Endgame” Mbo parts manual.
Enter your email address to subscribe to this blog and receive notifications of new posts by email.