Skip to main content

Install Kali Linux - Right from creating bootable USB drive to resolve wifi not connected issue post Kali installation

Install Kali Linux as Dual boot mode in Windows

Table of Contents

Create a bootable USB pen drive

  1. Download the following files
  2. Open Rufus exe as Administrator
  3. Select the USB drive location
  4. Select the Kali ISO image
  5. Set Volume name - any name
  6. Click Start and set write mode as "DD" not "ISO" mode to avoid any installation error
Now your bootable USB drive is ready

Set up partition for Kali OS using Kali Live

You can use kali linux as live mode when you don't want to have a persistent install in your system. I would like to install it my PC in dual boot mode, So i can use GRUB bootloader to load kali or windows during system start

To install kali linux in your system, you need to partition your disk space, lets do that

  • Insert USB drive and boot kali linux during system start up using boot using option
  • Your default Kali linux username and password are 'root' and 'toor' respectively
  • You can refer to the below link to proceed further

This will install Grub bootloader in your system, your next step is to set your PC use this option whenever system boots up

Configure bootloader in BIOS

To go to bootloader option - Press Shift key while click on 'restart' button

  • Change the OS bootloader to use "Kali linux Grub Boot loader"
  • Restart and check now

Resolve Locate packages not found issue

If you get error "E: Unable to locate package" try following the steps below

  • Open sources.list file using this command - "leafpad /etc/apt/sources.list"
  • Remove the existing content and replace it the following entries
    • Copy the content from the Regular repositories & Sources repositories - Refer the link below
    • Kali Repositories
    • Save and exit the file

    Now you should be able to install any packages if you want

Resolve Wifi adapter not detected issue

Check out the solution below only if your Wifi is not working

To resolve the wifi issue, execute the following commands

  1. Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages:
    • # apt-get update # apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
  2. Unload conflicting modules:
    • # modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
  3. Load the wl module
    • # modprobe wl

Restart your PC to see wifi option available in the menu.

Resolve Bluetooth working issue

Check out the solution below only if your bluetooth is not working

To resolve the bluetooth issue, go through this blog

Restart your PC to see Bluetooth is ON in the menu. Happy Pentesting!

Comments

Popular posts from this blog

Analyse Battery Usage using Battery Historian Tool in Android Phones

Battery Historian: Battery Historian is a tool to inspect battery related information and events on an Android device running Android 5.0 Lollipop (API level 21) and later, while the device was not plugged in. Battery Historian Tool: Ideally you should be hosting this tool in local server, since that takes time we can use this tool freely available online https://bathist.ef.lc/ Steps to do before taking battery logs: To reset the existing battery logs for a phone adb shell dumpsys batterystats --reset Now use the application which you want to take the battery analytics. After you reach the desired time you can connect the phone to your PC to take the Bug Report file. Command to use: For devices Android 7.0 & higher $ adb bugreport bugreport.zip For devices Android 6.0 & lower $ adb bugreport > bugreport.txt Start Analyzing now Open  https://bathist.ef.lc/ Upload the bugreport.txt Filter the app using the package name to get ...

Run DVWA in a docker environment

DVWA is a Damn Vulnerable Web Application created for users to use (exploit) while learning web security testing. Requirement: Docker installed in your system Steps to install the DVWA app in Docker: Launch Docker Run 'docker pull vulnerables/web-dvwa' (To pull the DVWA file from Docker Hub) Once pull succeeds, Run the command 'docker run --rm -it -p 80:80 vulnerables/web-dvwa' Now your DVWA app is running in docker which can be accessed by 'localhost:80' or '127.0.0.1:80' Hit the URL to open the DVWA app in your browser   Just click on the Create / Reset database button and it will generate any additional configuration needed. Login with default credentials To login you can use the following credentials: Username : admin Password : password Set the difficulty level The default difficulty level is the impossible level, you can change it in DVWA Security item in the left menu. Happy Hacking!

Create Google Account Using your work email ID

Google allows user to create a google account using any work email ID Visit this URL https://support.google.com/accounts/answer/27441?hl=en Click on 'Create a Google Account' shown in Step 1 Enter first name, last name and desired email name And click on "Use my current email address instead" Now you should be able to create a google account using work email.