Skip to main content

Posts

Showing posts from April 18, 2017

Hacking and Gaining Access to Linux by Exploiting SAMBA Service (exploit/multi/samba/usermap_script)

Hacking and Gaining Access to Linux by Exploiting SAMBA Service we are using kali linux 2016.2 with backtrack wallpaper    this attack work on linux os which have open port in  samba becouce we are using exploit/multi/samba/usermap_script and this script work on linux .. Step 1) First, we need to find out the ports and services running on the target system. To find the open ports and services, the command is: Command: nmap -sS -Pn -A 192.168.2.142 Step 2: Once you find the open ports and service like the samba port and service ready, get set for sending an exploit through that port to create a meterpreter session. To perform this attack, you need to open metasploit. Step 3: Once you open metasploit, first we need to find the version of samba Command: – msf> search scanner/samba (This command used to finding the scanner parameter to find samba version) Step 3: Once you find the scanners to find the samba version of the target, use the s