Wednesday, 1 March 2017

4 Steps to install flash player plugin in Mozilla – Kali Linux

Today I updated my Kali Linux in latest version 2016.2 and I found flash player plugin is not working in Mozilla Firefox. Flash Player mostly used to play videos and flash content in a browser. so if you don’t have the latest version of Flash Player many flash content will not visible. I open a website which have some flash content, I got follwwing error.
plash player error
So I decided to write an article on how to update and install Flash player plugin in Mozilla on Kali Linux Operating System. So this article also will helpful for those, who are facing the same problem. By the way it’s a very easy to update Flash Player. download from the official websites of the flash player and extracted and copy libflashplayer.so into /usr/lib/mozilla/plugins . If you don’t know how you can install flash player plugin in Mozilla, so you can follow the steps given below

STEP 1: Download Flash player plugin

Go to the official website of Adobe flash player and download appropriate file (.tar.gz) for your Kali Linux version. After some time downloading will be completed then go for the next step.

STEP 2: Extract or unzip downloaded file

Go to the download folder and you will find .gz file. You need to extract it .just right click on the file and select option extract here
download folder in kali

STEP 3: Install flash player plugin in mozilla

After the extracting just run the following commands
commands to install flash player plugin in mozilla - kali linux

STEP 4: restart Firefox browser

If you have any suggestion or question please post into comment box.
Cheers!

Friday, 24 February 2017

How to reset Windows password with Kali Linux

Download Kali Linux and burn the ISO to a CD/DVD. Boot Windows machine with the LiveCD. On the boot menu of Kali Linux, select Live (forensic mode). Kali Linux initialize and when it loads, it will open a terminal window and navigate to the Windows password database file. Almost all versions of windows password is saved in SAM file. This file is usually located under /Windows/System32/config. On your system it may look something like this: /media/hda1/Windows/System32/config. Below is the screenshot.
The SAM database is usually in the /media/name_of_hard_drive/Windows/System32/config
The screen shot below lists the SAM database file on my hard drive. The screen shot below lists the SAM database file on my hard drive.
Type command chntpw -l SAM and it will list out all the usernames that are contained on the Windows system.
The command gives us a list of usernames on the system. When we have the username we want to modify and we simply run the command chntpw -u “username” SAM

In the example below we typed: chntpw -u “Administrator” SAM and we get the following menu:
We now have the option of clearing the password, changing the password, or promoting the user to administrator. Changing the password does not always work on Windows 7 systems, so it is recommended to clear the password. Therefore you will be able to log in with a blank password. You can also promote the user to a local administrator as well.

Installing Kali Linux- A step-by-step instruction

  • Minimum 8 GB of HDD space to install Kali Linux
  • For i386 or amd64 architecture, a minimum of 512 MB RAM (1024 MB RAM recommended)
  • An ISO or VMWare image can be downloaded from Kali Linux site
Here, I am going to guide you step by step to install Kali Linux (ver. 1.0.2) in a virtual machine. Procedure of installation is very much similar to Backtrack.
Click on the above link to download Kali Linux. When you goto this link it will ask you to register, however registration is not mandatory to download Kali Linux. Either, you can register by giving your name or email address to receive information updates or simply you can skip this step and click on "No thanks, just want to download!". Depending on the type, you can customize your download in ISO or VMWare format. Click on "Download Kali". Once Kali Linux is downloaded you are ready to install it in a virtual machine. I am using VMWare Player version: 5.0.2 build-1031769 here.

1. Open VMWare Player and click on Click a New Virtual Machine. It will open New Virtual Machine Wizard.
2. On this screen select I will install the operating system later and the click on Next.
3. Select Guest operating system as Linux (kernel of Kali Linux is based on Linux) and then select Version as Ubuntu. Click on Next to goto next screen
4. Type Virtual machine name and specify the Location where you want install Kali Linux, however you can leave the default Virtual machine name and Location. Click on Next to proceed to the next screen
5. Specify Disk Capacity. Default is 20 GB. Select Split virtual disk into multiple files where file transfer is a major issue. Click on Next
6. On this screen, either you can click on Customize Hardware to customize settings and then to goto step no. 8 or click on Finish to complete the process of creating virtual machine
7. Click on Edit virtual machine settings
8. This is the screen where you can customize or edit your Hardware Settings. As mentioned above, the minimum system requirement is uni-processor of i386 or amd64 architecture processor, so click on 
(a) Memory, to select minimum 1024 MB of RAM;
(b) Processors, as 1 or 2 (depending upon the processing speed) and Preferred mode as Automatic;
(c) Click on CD/DVD IDE. Now, on right hand panel you will Connection. It has two options: 
      Use physical drive- select this option if you have Kali Linux is in your CD or DVD drive; or
      Use ISO image file- select this option if you have downloaded Kali Linux on your hard drive. Click on Browse to locate the ISO file 
(d) Floppy drive is optional, as now a days most of the computers do not floppy drive
(e) Select NAT if you have network adapter for Internet
Other Hardware settings can be modified once installation process is completed. Now click on OK.
9. Select kali linux on left side panel screen and then click on Play virtual machine
10 VMWare setup will startup
11. You will be greeted with Kali Linux boot screen. Choose either Graphical or Text-Mode install and press Enter to boot
12. Select your preferred language and click on Continue
13. Select your location and click on Continue
14. Select option to configure your keyboard and click on Continue
15. Once disc is detected by operating system, it will copy the image to your hard disk and probe your network interfaces
16. Enter hostname to configure your network and click on Continue
17. If you have a domain name, then enter here in the box. Make sure that you have a correct domain name. You can enter the domain name later and leave this box blank. Click on Continue
18. Enter robust password for your root account
19. It will auto-detect time from network time server
20. Installer will probe hard disk and offer you four choices of partitioning of disk. Beginner can select Guided- use entire disk however experienced user can setup partition as Manual
21. Below are the screenshots of manual partition. I have created three partitions
      a. /boot (a partition from where your operating system will boot)
      b. / (root partition for super user or admin)
      c. swap (a portion where buffering is done)
22. This is the screen where you’ll have last chance to review your disk configuration before the installer makes irreversible changes. After you click Continue, the installer will go to work and you’ll have an almost finished installation.

23. Configure network mirror to give additional software that is included on the CD-ROM
24. Install GRUB boot loader
25. Finally, click on Finish to reboot Kali Linux installation

26. Login screen of Kali Linux