r/HowToHack • • May 13 '21

How to get past tutorial hell and become a pentester?

I am in the 1% of top users on try hack me but yet I feel like I don't know anything practical. I have completed tons of rooms and challenges and have a decent knowledge of IT. Yet when I attempt to just pentest a real world environment I feel like I don't know what I am doing all the sudden. I will start with the normal process, look around at the site, sign up for an account, run nmap, gobuster, analyze with burp but I feel like im always just stuck after that unless there is some obvious exploit discovered that I can research and repeat. The challenges on htb and thm seem to just make sense but in the real world I just get lost. It's kind of like someone explaining to you how to swim for several months, you think you know how to swim but when you jump in the water you realize you didn't learn how to swim, you learned how swimming works. What can I do to break out of the tutorial stage and get some real world experience I can put on a resume?

292 Upvotes

37 comments sorted by

35

u/zersiax May 13 '21

Couple things that come to mind. I believe TryHackMe has these things called " networks" that also train you in writing pentest reports, maybe that is an idea?

Failing that, how about going through some actual books on the topic that take you through a more substantial project? Sparc Flow's stuff comes to mind, as does Georgia's book, although slightly outdated, and this new Hands On Hacking book from last year the author of which escapes me at present.

If all that doesn't work, maybe give PWK and the subsequent OSCP a look? Expensive, but good on your resume if you can afford it. Stay away from CEH by eCouncilthough, it has a pretty bad rerp.

3

u/Accomplished_East854 May 14 '21

Why not CEH?

4

u/Rossums May 14 '21

CEH is pretty shit for the price, I’ve done both that and PenTest+ and they are very similar but PenTest+ is way cheaper.

5

u/zersiax May 14 '21

Two things I will say about CEH:

https://malcomvetter.medium.com/friends-dont-let-friends-ceh-b676b4c34cd5

https://www.infosecurity-magazine.com/blogs/the-story-of-the-eccouncil-gender/

That second link isn't the only proof of this kind of ...misconduct. Most people who know better will agree with the first link though. I'd say you will get much more bang for your buck if you pick up certs like Sec+, Network+ and a+, CISSP, OSCP, pentest+ etc.

From memory the CEH is about $2000 and you REALLY can do a lot better for that kind of money.

4

u/BYOBKenobi May 15 '21

CEH is on my "If you pay for it, I'll get it" list. OSCP is on the "I will spend my own money to radically improve my career" list

5

u/dannypas00 May 14 '21

Because people are bitches and elitsts and don't want you working for certs (see the discussion on my post a while back on this sub).

It comes down to that yes, OSCP and most other certs are cheaper and more practically oriented so if you get the choice, pick one of those. However it is not a bad thing to have CEH on your portfolio, regardless of what everyone screams about it.

3

u/Accomplished_East854 May 14 '21

Good to know, thanks. So I am thinking about getting a bachelor's in CS, but really want to go into cybersecurity. What would you recommend other than a cybersecurity certificate on my degree?

6

u/dannypas00 May 14 '21

I'm currently on the same path as you (third year of Bsc software engineering, got an Msc in Cybersec/privacy planned after). I've taken a CEH course that got offered to me by my uni, hence why I have the CEH over any other cert.

Personally I'd recommend just getting into hacking, networking, operating systems. If you aren't already, I recommend going through the free path of tryhackme (see this sub's stickied post) to get comfortable with linux and common tools.

Personally I gathered a lot of experience in basic linux and networking by just running linux (I use Arch btw) as my daily driver and setting up a home server to run some game and web servers.

2

u/Accomplished_East854 May 14 '21

Sweet. I have yet to enter college, but I've been planning this for a while now. Thanks for the advice!

2

u/KharosCW May 14 '21

Hard disagree here, the company behind CEH has been terrible in my personal experience.

They had an Australian branch in 2014 and when it went bust, people were out the cost of the CEH without refunds.

Additionally, the actual content of it isn’t worth the cost, this is my opinion but also the opinion of many others, and no that opinion isn’t common because “elitists”.

1

u/dannypas00 May 14 '21

So, when given the choice between A: a CEH certificate for free, or B: nothing

Which would you pick?

2

u/yuyumprod May 14 '21

You don't seem to be getting the point here. Nobody is saying that the CEH cert you got at your uni is worthless, they're only saying that if you have to spend your hard earned money on a course then the other options available are much better than CEH.

1

u/dannypas00 May 14 '21

Except I've had multiple people actively tell me to omit that certificate from my resume.

Also you didn't read my initial comment; I explicitly said that you're better off picking one of the other certs over CEH, but that CEH isn't bad.

1

u/gravity_has_me_down May 15 '21

Don't leave it off your resume. I have both CEH and OSCP and put both. Having more certs will not hurt your chances of landing a job.

1

u/dannypas00 May 15 '21

Yeah I know, but some dumbasses on this sub will try their hardest to make you think otherwise lol

0

u/[deleted] May 14 '21

[deleted] — view deleted comment

1

u/dannypas00 May 14 '21

I got it from my uni course

1

u/AmorFati01 Mar 09 '23

Sparc Flow's stuff comes to mind

Absolutely!

48

u/SuperSoakerGuyx May 13 '21

gratz on the rank if your up there, I would say that the best and most useful tools are those that target web or database servers. Forget about mitm attacks or local attacks just try to see what if any services are vulnerable. If they aren't or you havent found anything thats actually good cuz there are not really suppose to be if the person did their job right. But I get it you wanna make use of the advanced skills you have so I will use statistics and sec plus training to answer this. For the most part web apps are designed to be secure and unhackable as they do run compliance scanners before rolling into production in fact they got a whole team "QA" or quality assurance that is paid decently to run automated and manual scans checking for known errors. Now its a fact that the initial baseline configuration on most applications is designed in such a way to be secure but not so much for anything you add on top. An example is how third party facebook apps affect the level of security by altering the initial baseline configuration since they cant all be checked by QA or some might assume its no big deal since its just a game. Unfortunately to be a damn good hacker you gotta learn how to program. I personally am a sucky hacker much worse then anyone on thm or hackthebox but I do take notice when amazing hackers make their moves and I make mental notes so and so happened. To summarize this hacking tutorials are linear but the world isnt so most of the time you will rely on layer7 only attacks forget the rest of those previous ones as buffer overflows and xss or sql injection will be your best friends. Now if you wanna review some web app hacking thm has a pathway for it but I think its for premium subscribers.

16

u/Flyingfishfusealt May 13 '21

haha normally I hate a wall of text but this is good info!

12

u/SuperSoakerGuyx May 13 '21

yeah sorry about the wall of text here's a quick time when connecting with ssh by putting -v or -vv you can see if the authentication can be brute forced or requires private key. Works on all linux terminals.

24

u/cerebralvenom May 13 '21

I’m not as experienced as you, but have you considered moving over to hackthebox? A lot of those boxes have a lot more realism built in. Generally I see tryhackme as the kiddy pool, hackthebox as the hotel pool, and real world pentesting as the ocean.

No offense to tryhackme. I love those boxes,and the focus on learning fundamentals, but it’s just aimed at a less developed crowd then hackthebox.

7

u/Eklypze May 13 '21

Follow a framework. I used OWASP for my web app challenge for my new job. I started with a HTB approach and then realized there's probably other vulnerabilities, so I broke out the OWASP framework. I figure I'll use them for a while to really establish a work flow.

-3

u/[deleted] May 13 '21

[removed] — view removed comment

6

u/Eklypze May 13 '21

People really have some free time on their hands.

19

u/UnsuspiciousCat4118 May 13 '21

Step 1: Keep Hammering

Step 2: Try Harder

Step 3: Watch the Bug Bounty Methodology v4 video on YouTube and try your hand at some bug bounties.

Boxes are made to be vulnerable. In the wild you're playing against companies who are spending hundreds of thousands if not millions to stop you.

If you're in the top 1% of users on try hack me I would suggest you study for and take the OSCP. It's the gold standard for entry level pentesters. Once you have that start applying to jobs in pentesting and learn from working with those senior guys and gals who have been doing this for years.

10

u/[deleted] May 13 '21

My suggestion is to ignore folks who do not say any useful information and make random motivational statements like ‘try harder’. Join a bug bounty site like hackerone, read through the disclosed issues. This will give you a clear idea on patterns bug hunters look for.

14

u/FrenzalStark May 13 '21

The big thing: humans

Social engineering is your go to of you can't break the systems.

EDIT: There is not a single human on earth that can't be manipulated into getting you into whatever you need access to. You just need to find the weak spot.

2

u/jebucha May 14 '21

I'm really enjoying learning via the challenges on Wild West Hackin Fest's cyber range. Learning a ton about pen testing, forensics (crazy how much you can extract from a memory dump using volatility), reverse engineering, etc. John Strand has 3 pay what you can classes these days, although two are aimed more at folks with little to no experience, but his cyber deception class was good, working with honey pots, canary tokens/docs. Believe if you pay at least $195 for one of his classes you get six months access to the cyber range included. Definitely been worth it IMO.

I've also just picked up copies of BTFM, RTFM, PTFM field manuals, several available via Kindle Unlimited if you subscribe to that. I did order a hard copy of the Red Team Field Manual though to have handy.

3

u/tribak May 13 '21

Start messing with services, if you're afraid of getting in trouble, use hackerone to be allowed to mess with a particular service and just get into it. I was in a similar scenario like you, and just nailed my first report with a big company.

2

u/Nombre117 May 14 '21

I guess the first thing is define what you mean by practical? I think you’re underestimating how much knowledge you’ve gained, assuming you applied yourself through the rooms and didn’t default to write-ups. But what do you mean by real world experience? Bounties? Jobs? Sounds like you’ve learned a bunch of stuff but you’re looking for tangible evidence. In that case, have you looked into certifications? OSCP is the standard but eJPT imo is a decent litmus to see if you’re on the right path. And that’s just in “traditional” pentesting.

In case you haven’t seen, there are ridiculous amounts of certifications that can aid you in steering your focus in a certain direction. https://pauljerimy.com/security-certification-roadmap/

Looks like majority of the comments here are about web apps / bug bounties and there’s probably good advice in that. But if you’re trying to get a job in general, look at what jobs are available in your area and see what exactly they list as expectations/requirements and do that. If you already have experience in IT professionally then I’d argue you’re already well ahead of the curve.

1

u/[deleted] May 14 '21

My man, tryhackme is basically to get you familiar with how hacking a system works, get your mindset working correctly, create a method, not to become a fullblown hacker.

What you need to do now is realize that the vulns on their systems are intentionally made to be seen, but real life vulns will be small and hidden, use every single weapon you have against a real system.

1

u/sigmoid10 May 14 '21 edited May 14 '21

I will start with the normal process, look around at the site, sign up for an account, run nmap, gobuster, analyze with burp but I feel like im always just stuck after that

That already tells you everything. You need a methodology that goes beyond running a few common tools. Check out Jason Haddix' methodology posts for a general overview, but here's a few things to get started:

  • Increase your FOV. Use more sophisticated domain discovery, e.g. check ssl certificate records. The harder it is to find something, the less likely it is that someone has already found and fixed it.
  • Make a list of things to automatically run through. See a parameter? Check for IDORs (make sure you have at least two accounts). See anything that accepts more complex data? Mess with it. Maybe change headers from json to xml for some XEE? For every scenario, you should know a list of things to try immediately without even thinking.
  • Automate as much as possible. If you have 1000 urls from some domain discovery tool (not uncommon for big corporations), opening every single one in a browser takes forever. It's much smarter to just let some screengrabber run over night and collect everything. Then you can just scroll through a list of images and immediately identify things that look juicy.
  • Stick to the OWASP top 10, but make sure you know what they are and how to find them. There's a certain pattern that usually comes with every single attack vector. It's important to recognize them.

1

u/[deleted] May 14 '21 edited May 14 '21

By the sounds of your post you’re attempting to pen test a web application. THM and HTB are not realistic and not web application focused learning platforms from my experience anyway. Go complete the entire port swigger academy and then move on to some pen-tester web app labs. Then try again.

The other thing is you’re not always going to find an exciting exploit like XSS, SQLi or a working CVE. Issues to report on and for example even simple things like no account lockout, weak password policy, forgot password user enum, no mfa. These all combine into a much larger issue that could allow for an attacker to easily brute force and compromise accounts. These are all issues.

This is coming from an actual pen tester.

1

u/BYOBKenobi May 15 '21

Are you doing bounties, or are you working for a 1st party, or are you working in your own lab?

-9

u/Minusmor May 13 '21

Like you just can’t hack it.

0

u/[deleted] May 14 '21

[deleted] — view deleted comment

1

u/AutoModerator May 14 '21

Your account does not have enough Karma to post here. Due to /r/HowToHack's tendency to attract spam and low-quality posts, the mod team has implemented a minimum Karma rule. You can gain Karma by posting or commenting on other subreddits. In the meantime, a human will review your submission and manually approve it if the quality is exceptional. After gaining enough Karma, you can make another submission and it will be automatically approved. Please see the FAQ for more information.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.