1. Gain access to the system
Last updated
Last updated
LLMNR (link local multicast name resolution) and NBT-NS (netbios namer service) are used to performe name resolution on the local link.
Responder is LLMNR, NBT-NS, MDNS poisoner. By default the tool only responds to SMB.
check the interfaces
Now run responder on the interface.
Now when a user on the LAN try to access the unavailable share, responder will capture the hash.
logs are stored in /usr/share/responder folder. We will have a hash. Now crack it with John.
on ubuntu you can install john as
windows tool. Can crack other password on remote machine if you know a single account utilizing SMB. Use password auditing. use password auditing wizard.
create msfvenom payload
using apache to transfer the file
Now run msfconsole
set the payload type, port and IP and visit the IP to download the executable. Run it you will get the shell
You can run the following commands in meterpreter.
upload file through meterpreter
the powersploit priv escaltion script./usr/share/windows-resources/powersploit
Now get shell
Now execute the script
Now exit it and to get a VNC from meterpreter use the following command.
GUI based msf
Now run armitage from Applications menu. Run intense scan. and then we can create a payload according to our target.
Once the victim opens the payload, we get the session.
Ninja is installed on target and Jonin on attacker machine.
We need to edit its config file to change the ip and port.
Open the Jonin listenere. it will catch the sessions.
Tools required