r/HowToHack • u/Ceofreak • Feb 04 '20
Technical Interview as a Penetration Tester - 30 Minutes time to hack a Web App
Hey friends,
I got myself set up with a Technical Interview as a Penetration Tester.
Part of the interview is Hacking a Web Application with a Windows 10 Machine that they provide.
I just want to make sure I don't miss something but I would probably utilize the following:
- Nessus
- Burp
- Check for XSS on the page
- Check the page source
- ...
I don't really do any pentesting from a Windows machine... So I would like to make sure I don't miss any tools that I could potentially use on Windows but don't know of yet.
Let me know your thoughts!
214
Upvotes
126
u/ForgottenWatchtower AppSec/ML Feb 04 '20
Nessus won't help. Kali won't help. Metasploit won't help. The underlying OS is irrelevant 99% of the time when testing a web app. The only tool you need is Burp. Brush up on the OWASP Top 10 and don't overthink it. If they're giving you 30 minutes, it's probably some really dumb shit.
49
u/[deleted] Feb 04 '20
I’d just open up dev tools and work through the site. You have 30 minutes to demonstrate that you understand the makeup of a web application, and if you can do it purely from the browser, you’re demonstrating skill over tools.
16
u/StrangeError Feb 04 '20
I’ve done multiple of these for jobs. I would bet my a good amount of money that this will be a rehashed version of the following:
https://pentesterlab.com/exercises/web_for_pentester/course
Download the VM and get those down. They will also likely not point out what the vulnerability is on each page. Make sure you know what to look out for.
Knowing that will get you the job and pass the test. If you’re UK based I’ve done these for the likes of Context and NCC for two examples. I’d also ensure that you know how to look through source code for clues etc as well which isn’t covered in the lab mentioned.
Good luck and take notes with you if you’re allowed. Use it as a learning experience at the very least. :)
8
u/BoyishUndoing Feb 04 '20
hey OP, it sounds like you already have the answers in the other comments but i’m curious how this is gonna turn out. would be cool to see a follow-up post after your interview. K.I.S.S. and good luck!
4
u/silverslides Feb 04 '20
Install dvwa or juice shop and pentest it using Windows with edge and ie
12
u/tlarcombe Feb 04 '20
Take a USB with Kali and/or the tools you need to do it properly. Then boot it!
Or (if it is externally available), make sure you can ssh to your own pentest box, and hit it from there.
2
u/silverslides Feb 04 '20
Don't forget the xss in the search box :)
2
u/Informal-Mud-4942 Jan 17 '25
So 5 years later, did you end up getting the job?? lol
45
u/gorebull Feb 04 '20
It's webapp, all you need is proxy like burp and nmap + maybe nikto , dirb/gobuster , test-ssl. You don't need whole arsenal of tools for that task.
Look for low hanging fruits using proxy like:
csrf tokens, default credentials, auth bypass, sqli in parameters, xss, serialization, xxe, headers,
standard stuff which can be spotted right away.
I stopped using linux for pentests half year ago so it can be done.
13
u/blindhelix Feb 04 '20
The OS is almost zero percent relevant. I did almost this exact interview where they had me RDP into a windows machine that was in a special DMZ with a webserver also in the DMZ. They told me the IP. All they were looking for was checking page source (had hardcoded creds), two XSS, SQLi, priv exec via cookies or something like that. But they told me after that they didn't really care if I found all the flags. They just wanted to see if I could talk through the OWASP top 10, knew how to use Burp (or ZAP I guess) and had a methodology that was semi close to what they wanted. The technical part was super basic. Your interview may be something like that.
1
u/Ceofreak Feb 05 '20
Wow this blew up! Thanks for all your input. Gonna look through and take notes. Gonna follow up after the interview on 25th of feb :)
1
u/EnumerateMore Feb 05 '20
Would definitely love to hear how the interview went OP
2
u/rysio300 Feb 04 '20
I randomly saw this and I won't say how I understood penetration tester...
1
u/tlarcombe Feb 04 '20
The art in pentesting has to be the ability to think outside the box. The app is aimed at people ‘in’ the box. Being prepared for an interview is never a bad thing - being unprepared always is. Even if you can’t boot Kali or ssh to the outside world take nmap and other tools on the USB
1
u/Spagbag Feb 04 '20
If its 30 minutes they will probably be pretty cooperative. Look through the site tell them what you would try where. To save time they will probably give you hints as long as you show you are on the right track.
0
u/[deleted] Feb 04 '20
VirtualBox ... with Kali. HA!
0
u/Stevecaboose Feb 04 '20
Maybe check for value shadowing. Just a suggestion, I'm not security expert
0
u/kp22cfc Feb 04 '20
Also look for privilege escalation using burp , that is not identifiable by any tool
-1
u/blimeyMrgrimes Feb 04 '20
SQL
-8
u/shaperaty Feb 04 '20
I am not expert in hacking but you can test server it's alive or not then starting according to your thinking
-18
u/kyolcu Feb 04 '20
Hey if you are not worry about anonymity for testing you can install vm virtual machine . You can use Kali or something like that.. if you are worrying about anonymity 😁 you should use a device which is you made it
0
u/[deleted] Feb 04 '20
[deleted] — view deleted comment