#offensive-pentesting-path

1 messages · Page 10 of 1

valid tundra
#

so in "real life" we'd have to wait for the backup job to happen

dense root
#

Yep! In the box too you have to wait for the job to happen

valid tundra
#

ok thank you, it's clear now

dense root
#

Any time 🙂

ruby tulip
#

So in this Lord of the root box, after i got the "hidden service" port, it's supposed to have some "user credentials" on there

#

this is what i've enumerated so far, and i'm running a nikto scan

#

i've looked into /images directory and downloaded and ran steghide with no passphrase on them

#

anything else im missing?

dense root
#

have you gone out to the website and tried visiting some other directories?

ruby tulip
#

the index is blank with a single image on it

dense root
#

did you look anywhere else besides the index?

ruby tulip
#

in the /images

dense root
#

anywhere else?

ruby tulip
#

the /server-status returns 403 forbidden

dense root
#

how about a common directory that maybe has a login page or something

ruby tulip
#

well i only know the directories

#

that gobuster returned and there are only 3

dense root
#

mmk, so maybe try one that gobuster didnt return?

#

gobuster isnt omniscient

ruby tulip
#

okay imma run /usr/share/dirb/wordlists/big.txt then come back

dense root
#

you dont need to directory bust more

#

just do some manual enumeration

#

on random directories

ruby tulip
#

how should i do that

#

type /admin /login /stuff?

#

that's what you mean?

dense root
#

try it and see what happens

#

it is a lord of the rings theme

#

maybe try something LOTR related

ruby tulip
#

well

#

there's a picture that shows insted of a 404 error

#

in the source code there's a flag

#

or something

dense root
#

sounds like progress to me 🙂

ruby tulip
#

yea it's base64 and after decoding that

#

haha

#

you know how the base64 has the == at the end

#

they used it to make it look like this = closer! and that's also a flag

#

thats funny

#

brb

ruby tulip
#

okay pwned

#

@dense root can you explain me what this is talking about "what's the method to exploit the system for privilege escalation"

#

i've exploited the kernel since it was outdate

#

but this is looking for a specific answer like Kernel explotigin or stuff like that isn't right

wet sierra
#

It’s more of general term for the type of exploit

#

if you actually look at the source code you can tell what it is

dense root
#

^, i think they also actually intended people to exploit it a different way through ||those binaries|| @wet sierra

ruby tulip
#

yea

#

they have also a buffer overflow

#

in there

#

let me check that see if that works

#

lmao

dense root
#

😄

ruby tulip
#

that was the answer

dense root
#

yea, i think that was the intended path

ruby tulip
#

yea

#

i don't know buffer overflow

#

i need to study that

#

im so affraid of it tho

dense root
#

lol nothing to be afraid of

ruby tulip
#

god i hate oracle virtualbox so much

#

it blocks when i click stuff

#

it starts to bug after 2h of using

covert scarab
#

Maybe it’s your install. Nothing occurred for me and I use it for hours at a time.

valid tundra
#

my virtualbox is working very fine

haughty isle
#

Anyone in mood to help?

#

If you have access to a sysadmin (sa) account on mssql but realize it's running as "nt service\mssqlserver". Is there a way to elevate the privs if bind/reverse shelling is not an option?

noble glacier
#

@haughty isle Have you tried something like xp_cmdshell? Maybe create a new user through it 🤔

#

Enumerate the db using msf too while you're at it

haughty isle
#

Yes, however the nt service\mssqlserver account runs in lower privs at the system level

noble glacier
#

Enumerate the db using msf

haughty isle
#

I have full access to sysadmin(sa) account already

noble glacier
#

Still, make sure to enum the db

#

Through, may I ask what machine this is? I don't believe this is a THM machine? Is it one from HTB?

haughty isle
#

No mate, am on a live client engagement

#

Gained access via fortissl vpn. There is limited traffic on the internal LAN and both bind/reverse shell can't work. The MSSQL server is my only foothold ATM. However it's very restricted since it's running as nt service\mssqlserver and not nt system

smoky blaze
#

why the name change from OSCP to Offensive Pentesting?

keen iris
#

Because it doesn't focus on oscp

#

Because there are more certs

frigid socket
#

Hello, is there anyone on Learning Path following the web fundamentals Path that could give me a hand on an issue I’m facing with the Authenticate Room Task 4? Is this the right room for help 1st of all?

dense root
#

This is for the offensive pentesting path

#

You can ask over in room help/hints 🙂

frigid socket
#

got you, thank you sir

cosmic veldt
#

Hello all, I’m in the openvpn room, from access page it’s showing that I’m connecting to the network but I’m not able to access the machine that I have deployed in task 6
any idea what’s the issue?

keen iris
cosmic veldt
#

@keen iris it’s showing connected and I get response when I ping the this IP

keen iris
#

That's pinging your machine from your machine

#

Which tends to work

#

Don't trust the access page

#

Ever.

cosmic veldt
#

okay then, thanks @keen iris

haughty isle
#

Is there a way i recursively download file via xp_cmdshell in mssql?

dense root
#

Google knows

haughty isle
#

Coming here is a sign that can't find anything from him

dense root
haughty isle
#

That's from an ftp server.......what am looking for is via xp_cmdshell local to remote with no option for running a webserver from the mssql server

dense root
#

🤷

#

i got nothin else then

#

sorry

noble glacier
#

Upload nc.exe and transfer files using it? 🤔

rancid vine
#

What room does this pertain to?

noble glacier
#

It's not a room, I don't think any of the rooms have something like xp_cmdshell,
Yeah, they told me earlier it was a pentest engagement 🤷

haughty isle
#

Yes.... it's a pentest engagement

topaz yoke
#

We don't offer advice on items outside of TryHackMe, let alone pentest engagements. You can ask elsewhere for that

#

@haughty isle

haughty isle
#

Noted

#

If i get the time i would love to build a box with similar challenges. If anyone is to apply knowledge from THM in real life engagements they will quickly notice that a lot changes. However the knowledge one gains from such is invaluable.

twilit field
#

which one i should choose to improve network pentest skills?

wet kernel
#

I really don't think you need to take a networking certification for your pen testing needs

wet sierra
#

he’s not talking about certs I think he’s either talking about rooms or paths and Id have to disagree with that statement as a lot of networking certs can be very useful for penetration testing

wet kernel
#

I thought this was career channel and yeah they are useful but not necessary to get started at the beginner stage

twilit field
#

sorry I didn't say it clearly. I'm looking for rooms in tryhackme that focuses more on network pentest

tawdry wharf
#

Im connecting to VPN but i cant seem to ping Jenkins in the offensive path

#

any idea why?

rancid vine
#

Did you read the description for the machine?

wet kernel
tawdry wharf
#

So is that the reason why i cant even nmap?

covert scarab
#

No you should still be able to use nmap

wet kernel
#

nmap tells you what you need to do if the machine doesn't respond to pings

rancid vine
#

If you haven't figured it out yet, try using the -Pn flag.

sinful willow
#

evening all 🙂

midnight birch
#

Can anyone answer a question regarding the Brainpan-1 room? There's a note on the "Offensive Pentesting" path which says "This room has been locked until flags are implemented." It doesn't seem like the room is locked, because I was able to join it and deploy a box and get pretty far into it, but based on my results (it's true there don't seem to be any flags), I'm wondering if the room can actually be completed? I guess my confusion stems from there seeming to be more challenges/stages in the actual box than there are associated tasks on the room's page.

dense root
#

@midnight birch that’s correct you can still do the box it just doesn’t have flags

#

Just pretend it does and you’ll be fine 🙂

midnight birch
#

Great, thanks. It seemed to be going in a confusing direction and I got worried I was putting my efforts into a WIP kind of situation. 🙂

dense root
#

if you ask some questions, i can help you if you want

#

the box still has the normal foothold/privesc type deal, it just is lacking flags to prove youve done it

midnight birch
#

I don't feel stymied yet. I hadn't been paying close enough attention so what I thought was going to be a privesc to root was instead to a non-root account, I assume there's just more steps from there that I need to take

dense root
#

so you already successfully completed the BoF, right?

midnight birch
#

yeah and then similar BoF on the setuid binary

#

or maybe that's not even the direction to go in, idk. it stuck out to me so I went for it 😄

dense root
#

you dont need to do a BoF on the binary

#

just look at what it does

midnight birch
#

do you mind if I PM you

dense root
#

sure

valid sandal
#

how do I update my level manually?

covert scarab
#

!verify dm to the bot

fallen herald
#

is the intro x86 room helpful for learning buffer overflow techniques?

keen iris
#

It's designed for RE IIRC

#

RE is a part of BoF, learning assembly and how functions work

#

Calling conventions etc

fleet wedge
#

Yeah, it helps a lot to understand Assembly/how machines work if you want to learn BOF

#

Technically introx86 could teach you assembly, but only as far as you're willing to research into it

#

Just know though, RE and Assembly is not for the faint of heart.

#

You probably will give up- and that's kinda normal. Don't be afraid to ask questions if you get stuck or become clueless!

fallen herald
#

@fleet wedge funny u mention that cus i just gave up on the if statements task lol. ill have to revist when i have some more patience to research 😞 still pretty ignorant with assembly

fleet wedge
#

Haha, told ya

#

Feel free to ask questions in #room-help if you need a bit of pushing

crimson jungle
#

My internet was out today what did I miss I am not sure which room I should have signed up for

keen iris
#

??

#

For the bootcamp?

crimson jungle
#

Yes that’s correct

keen iris
#

@chrome valve can you follow that up?

chrome valve
#

@crimson jungle Do you have a link to the TryHackCIT discord server?

#

The resources that were used are all in there

#

(Including a full recording)

fleet wedge
#

Also, if you go to the TryHackCIT twitch, the VOD of today's broadcast is still there

crimson jungle
#

I think I am on the sever right now if I’m not mistaken

chrome valve
#

You're in the TryHackMe discord server

#

There's a separate one for the event

crimson jungle
#

Where would I find it

chrome valve
#

I can message you a link if you'd like?

crimson jungle
#

That would be nice

chrome valve
#

There you go 🙂

crimson jungle
#

I can’t see the link

#

I think I found it

elfin lagoon
#

Hi,

I am on my second attempt to gain root on Kenobi and either missing a step or the box isn't playing ball!

I have identified the SUID as /usr/bin/menu

Used echo, chmod, and exported the PATH:

echo /bin/sh > curl | chmod 777 curl | export PATH=/tmp:$PATH

Now this should give me root? Instead this does not escalate my privs.

I think may be I am not understanding the $PATH correctly should this be something personal to my machine? (like kenobi's ip)

fleet wedge
#

No, the /tmp:$PATH appends /tmp to the rest of the original $PATH

#

so /tmp will be a part of $PATH

#

I'm not familiar with Kenobi but you probably have to do something with the menu file

elfin lagoon
#

Ok thanks, so the export PATH=/tmp:$PATH is adding /bin/sh to the path of the user (kenobi not root) allowing root privs?

Currently:

#

This is the stage I believe it should be escalated

dense root
#

Look at where you put curl and then look at what you’re adding to the path

#

Is your curl on the path you’ve added?

#

@elfin lagoon

elfin lagoon
#

ill fire it up again, so should the be something like PATH=/kenobi:$PATH

#

Great thank you manage to see where i was going wrong, as i suspected didnt fully understand the PATH=/<PWD>:$PATH

#

Thank you both for replies 🙂 wont ping you as not sure if that will annoy you ha

fierce kettle
#

Question on retro box , can t login with xfreerdp /u:wade /p:farzaval /v:10.10.16.176 ( gives cert error, and does not work when click Yes , on msrdp i gat similar error

dense root
#

@elfin lagoon you can always ping me. Glad you got it figured out, do you understand what’s going on better now?

#

@fierce kettle double check your credentials

fierce kettle
dense root
#

Look at your rdp command now. Specifically the password you tried to use

noble glacier
#

Try using something like remmina 🤔

elfin lagoon
#

I think so, earlier in the walkthrough i made a dir called kenobiNFS and not /mnt/kenobiNFS so this confused me a little.

But for this section by exporting the path of /bin/sh to kenobi PWD then running the command /usr/bin/menu they system uses /usr/bin/menu privileges? Prob not a good description but ball parkish

dense root
#

Yes, it basically uses the privileges given to menu. Which I’m this case menu has the SUID bit set so it’s running as root. And since menu is calling curl, menu runs curl as root

#

But it’s not calling the absolute path and so you prepended that path with your own curl

#

So then it ran your curl from menu with the SUID, so it ran as root

#

@elfin lagoon

elfin lagoon
#

ah ok, which explains why it wasnt working originally as i was pretending to be someone without root privs

dense root
#

No it wasn’t working originally because the path you were prepending didn’t have your curl in it

#

So it was still calling the original curl

#

You made curl in the users home directory and then you add /tmp to the path

#

So it looked in tmp, found nothing and moved on to the regular path

elfin lagoon
#

right im with you, hmm on the successful attempt i used
echo /bin/sh > curl chmod 777 curl export PATH=/home/kenobi:$PATH

So now curl can be found in kenobi's path?

dense root
#

It depends where you executed that echo command

#

If you did it in /home/kenobi then yes

elfin lagoon
#

Great makes more sense now, thanks again!

dense root
#

Any time

fleet wedge
#

I am redoing VulnUniversity and getting a weird result on the burp fuzzing part

#

It says "success" for .phtml extension but also says "not allowed". Any ideas?

#

What does the request look like?

#

It looks like you've set up multiple payload positions

#

so the first one of "Not Allowed" probably put the .phtml in the wrong place.

#

hmm, YOu may be right

#

let me try again

#

It helps to clear all payload positions, then just manually add in the weird looking $ symbols where the file-name is

#

That did the trick!

#

Thanks for the quick reply and for the advice.

#

No problem!

fleet wedge
#

can someone please give me a nudge with Vulnversity priv escalation?

#

I don't really know what should I do with the SUID

dense root
#

Have you done the common Linux privesc room?

fleet wedge
#

was looking for a more straight answer about this particular box

#

No, I can take a look later, but would like to get a nudge on this one 1st

rancid vine
#

Have you looked at a writeup for the room?

fleet wedge
#

Thanks for reply. I watched the video and it was not clear. He basically uses the exploit to read the flag but does not escalate priv to root

rancid vine
#

Might check that out as well.

fierce kettle
#

@dense root can you confirm that parzival is the wrong rdp password for wade at retro, because i still can wp-login.php as that user, but rdp,xfreerdp and remmina all fail on connecting with a credssp error.

wet kernel
#

Unless the room broke in last couple weeks, that password is right

dense root
#

Can you show the exact command you’re using

#

@fierce kettle

fierce kettle
dense root
#

Can you try xfreerdp and show the exact syntax you’re using please?

fierce kettle
dense root
#

i think you were using the wrong credentials

fierce kettle
#

Nope credssp-encryption-oracle-remediation/ was the solution for me on retro

dense root
#

That’s a local VM problem then is all I’m saying

#

The box is working fine

fleet wedge
#

anyone done Lord of the root?

noble glacier
#

Yes

dense root
#

just ask your question 🙂

fleet wedge
#

okay cool : D

#

well

#

need a little push for root

#

i see this file script, it doesnt give me any output whatsoever apart from:

./file <input strings> if you run it by itself

#

but giviing it /etc/passwd or any gibberish gives blank outputs

#

ran ltrace and strace to see if i see anything but it just looks like the actual "file" binary

dense root
#

@noble glacier doesnt that take a little RE if you choose to go down that path?

noble glacier
#

Pwn to be precise.

fleet wedge
#

oh if theres multiple ways and this one is RE - im definitely looking for the other method lool

noble glacier
#

If you are just starting out with pwn I don't recommend doing it.

fleet wedge
#

I will never touch RE for many years to come

dense root
#

you should give it a shot

fleet wedge
#

il look for another route, this one stuck out like a sore thumb due to the SECRET folder

dense root
#

not on that box, but just in general

noble glacier
#

RE and pwn are very important

fleet wedge
#

lol nah true you're right - definitely want to learn it at a basic level at least but not anytime soon 🙂

#

thank u guys for clarification

undone jacinth
#

did new OSCP get rid of bonus from completing lab report

real sandal
#

No

hardy wing
#

does any1 know if lord of the root got locked indefinitely or is just down for some kind of maintenance?

keen iris
#

It's been removed, at least for now, probably forever. Rooms don't have maintenance, you don't share instances so there's nothing to do maintenance on

hardy wing
#

oh ok, I though maybe the kernel vuln is getting patched that RE is the only way to root it

#

at least i downloaded the binaries yesterday and can further try to exploit them

wet kernel
#

It's been removed, at least for now, probably forever. Rooms don't have maintenance, you don't share instances so there's nothing to do maintenance on
whaaaaat. I was just about it start is sometime soon

keen iris
#

It's still available on VulnHub afaik

wet kernel
#

awesome

brave shuttle
#

Is that before or after mordor?

true spoke
#

Hello can anyone please tell me what does 38 hours signify in offensive pentesting learning path and is this path for OSCP preparation?

keen iris
#

38 hours is the approximate time that the path will take

#

And no, it's not specifically for OSCP preparation. It's designed to be versatile and apply to a number of different certs.

true spoke
#

Ohkay thank you very much👍:thumbsup:

brittle escarp
#

Hello everyone

#

I'm new here

dense root
#

Hi! Head on over to #general if you just wanna talk 🙂

#

Or if the box is on this path then feel free to ask here

dire robin
#

Um following this guides after doing fg

#

when i press enter twice it shows ^M^M

covert scarab
#

I’m presuming this it to stabilise your shell?

dire robin
#

Yes

#

The shell gets borken and i gotta open new one everytime

covert scarab
#

Possibly you can stabilise that way

#

Have you tried any other stabilisation methods to see if they work?

dire robin
#

um i see ippsec and many other doing in this way tried but happens 😶

rancid vine
#

I always have bad luck with those.

#

Just usually go with as much functionality as I can get with a regular command shell.

dire robin
#

yeah but i tend to control c 😅

covert scarab
#

There’s actually tons of ways to stabilise

#

Because sometimes you’re unable to

rancid vine
#

If I can't get SSH I usually just go with whatever I have.

dire robin
#

um can you link me some because if i see most of the people doing this way

#

if there's a better way

covert scarab
#

Okay so

dire robin
#

yeah i m waiting 🙃

covert scarab
#

You’ll have to give me a few minutes can’t remember the link for the life of me 😂

rancid vine
#

Might try stty raw -echo rather than -ech0 like in your notes.

dire robin
#

i followed this only

#

used that-echoonly

rancid vine
#

There are only so many ways to do it.

#

I've never had much luck with them in a way that wasn't completely annoying in my terminal.

dire robin
#

me too

#

now after fg is bork again

covert scarab
#

Yeah I literally can’t find the link 😂

dire robin
#

^M^M again on pressing enter twice as said in article

covert scarab
#

Give me an hour once I’m home I’ll @ you and link it

dire robin
#

👍

covert scarab
#

This took forever to find, I couldn’t remember which website it was haha.

https://netsec.ws/?p=337

All of these are ways to get that initial /bin/bash shell. To follow it up, background the session with CTRL + Z type stty raw -echo then foreground the session and type export TERM=xterm which will then get you all the functionality. As you may have written down

@dire robin

#

(Make sure when foregrounding the session you hit enter a few times to get the prompt back)

dense root
#

yea, the full commands to run as @covert scarab said. @dire robin

covert scarab
#

You foregrounded 2x?

dense root
#

you have to

covert scarab
#

No??

dense root
#

si

covert scarab
#

I only foreground once then you hit enter twice and the prompt will load

dense root
#

oh i guess the second foreground is me just hitting enter then haha

covert scarab
#

Haha

tropic quartz
#

fg
Enter
Enter
Enter(one more for good measure)

covert scarab
#

Unless you’re me and you press it about 8 times

midnight blade
#

unless you're me and don't stabilize it at all Kappa

covert scarab
#

Depends on how the day is

#

Lately I’m too lazy to stabilise I just do with what I got

tropic quartz
#

Sometimes i avoid that whole thing because once session is dead, that window becomes a headache if stty -echoed

#

Lol

dense root
#

I mean, you can just close that session and open another one

#

its well worth it imo, cuz you get a fully interactive shell and can just close it when you're done

tropic quartz
#

Hoarder here

keen iris
#

@slate reef No invite links.

pulsar shale
#

lol why is the first part of the path marked as incomplete

dense root
#

Cuz new questions got added to those rooms

#

Go in and complete the new questions

keen iris
#

@spark iron when you're back, probably worth removing the kali room and pointing them to my-machine instead?

spark iron
#

Yess good idea:))

pulsar shale
#

alright thanks all

#

@keen iris what is your machine? is it better to use than the in browser kali one

noble glacier
keen iris
#

my-machine is the replacement for the kali room

#

It is the in browser kali

dense root
#

Skidy also remove the access page connected rowwwwwwww

noble glacier
#

blobno I think Skidy added a disclaimer, probably hasn't pushed the code yet 🤔

keen iris
#

I can confirm the change was made in dev

toxic mirage
#

Hi Everyone!
I have started solving CTF 1 month ago from different platforms, apart from that I have good knowledge in Web Application Testing. Now I am preparing for OSCP.
I am thinking to go for tryhackme subscription for Offensive Pentesting Path.
I need some guidance here

rancid vine
#

Generally speaking, the pathway is good for preparing.

#

I think the platform in general is worth the subscription cost if you can afford it. I benefitted greatly from it.

toxic mirage
#

Thanks a lot. Sure I want to try this site.

fallen herald
#

are any of these rooms windows machines? im trying to make a list but dont wanna spoil anything from a writeup

  • peak hill
  • pepega
  • year of the rabbit
  • boilerctf
  • cmess
    if not can anyone suggest some non buffer overflow windows machines? ive done blueprint, hackpark, ice, blaster, anthem, AD, corp, blue, steel mountain, alfred so far
dense root
#

But to answer your question I haven’t done pepega or boiler

#

But I think the other 3 are Linux

#

Don’t entirely remember

mighty jay
#

So I’m doing the offensive path but had to do the burp part real quick. I’m doing burp suite and I get to a step that states “with the burp proxy on submit feedback. Once this is done find the post request in your http history in burp and send it to repeater”

#

Where is the submit feedback option for burpsuite?

keen iris
#

Submit feedback in the webapp

mighty jay
#

Thanks. It didn’t seem clear to me. Maybe it means I need to head to bed 😂

keen iris
#

I really recommend sleep

#

Sleep deprivation is very bad

rancid vine
#

Slickmmarek a new Windows room is coming on the 20th. I know it's a couple weeks away

keen iris
#

21st for yours?

rancid vine
#

One of those

dense root
#

I really recommend sleep
@keen iris ironic

loud badger
#

Sleep is good

gentle blaze
#

Sleep ? What is this thing ?

keen iris
#

ironic
@dense root I sleep 8-10 hours a night

noble glacier
#

😴

dense root
#

@dense root I sleep 8-10 hours a day
@keen iris

#

FTFY

keen iris
#

I mean, per 24 hour span

#

It's night somewhere

dense root
#

I used to get 9 hours of sleep a night

#

Then I got dog

#

Now 7-8

noble glacier
#

🐱

silk oyster
#

HI i'm a beginner in this domain, I need help !

dense root
#

read channel descriptions please 🙂

silk oyster
#

Thank you very much !

#

read channel descriptions please 🙂
@dense root Want to be my friend ?

dense root
#

i like friends, so yea ill be your virtual friend. But still please head over to #general

silk oyster
#

i like friends, so yea ill be your virtual friend. But still please head over to #general
@dense root Okay I understood

#

i like friends, so yea ill be your virtual friend. But still please head over to #general
@dense root Please accept my friend request !

#

🙂

dense root
#

@noble glacier assist with your blob no plz

noble glacier
silk oyster
#

@noble glacier assist with your blob no plz
@dense root What is blob ?

keen iris
silk oyster
#

blobno
You are not so cool !

#

#general
@keen iris Please accept my friend request !

covert scarab
#

I doubt James will accept you if you keep going against his instructions of moving to General.

silk oyster
#

Okey I obey right now !

marble ivy
#

Doing the Skynet room. Worked out great till I tried to escalate, anyone I can talk with so as not to spoil things?

#

hmm.. ofc the moment I say this...

#

I think I may have found a typo

#

lol yep

#

nevermind 😄

carmine wagon
#

anyone pls help me
Hackpark - Task 4 Question 2
nothing from sysinfo fits in answer form. maybe a little hint available for input formatting? thanks in advance

dense root
#

Did you run the enumeration scripts?

carmine wagon
#

yes, windows-exploit-suggester

#

oh, maybe it's not enough

dense root
#

Should be

#

Did you look at the information you passed to exploit suggester?

carmine wagon
#

sure, 'OS Version' doesn't fit in answer form

dense root
#

What does it say for that?

carmine wagon
#

it says :
OS Version: x.3.xx00 N/A Build xx00

ornate flax
#

Can someone help me with Retro? I am in privesc but the exploit doesn’t seem to work

wet kernel
past basin
#

hi

rancid vine
#

@keen iris

noble glacier
#

👀

keen iris
#

@past basin Please don't post flags.

noble glacier
#

@past basin Where did you find that room? It was made private if I recall 🤔

past basin
#

sorry

#

i joined through tryhackme

noble glacier
#

It doesn't show up on hacktivities👀

keen iris
#

...is there any other way to join?

mighty jay
#

So I am doing the burp suite room. I am on task 10. It states to click around till you get a request header that includes “set-cookie”. I’ve clicked on everything and didn’t see this type of request under the proxy/http history tab

keen iris
#

You need to be looking at responses

#

Set-Cookie is a header set in responses, not requests

mighty jay
#

Thank you for the help.

median spade
#

hi

rancid vine
#

Hello shub. Do you have a question about a room in the Offensive Pentesting path?

median spade
#

need help related to
OSCP Buffer Overflow Prep

rancid vine
#

Please be specific about which Room task, and your question in the future when asking. 🙂

#

Also, keep in mind that it's a brand new room, and we may not have an answer yet..

#

That said, what is the issue you're having?

median spade
#

its about the room "oscp buffer overflow prep" in overflow1 its about the bad characters

rancid vine
#

Ok. What about them?

median spade
#

i have checked twice

#

its wrong

rancid vine
#

What is wrong?

median spade
#

the bad characters i am getting are not the flags

#

i mean to say ans

#

can i tell you the bad characters i am getting ?

#

just want to verify i am wrong to right

#

i am new

rancid vine
#

Can you take a screenshot of the dump?

#

I can take a look, otherwise I have to spawn the machine and do it myself.

median spade
#

yes just a min

rancid vine
#

Can you take a screenshot of the dump, not the way the room has you do it?

#

You will have to right click on ESP in the Registers in Immunity Debugger, and select Follow in Dump.

median spade
#

yes

rancid vine
#

Ok, I figured it out with the above.

#

I really don't like that method.

#

Whatever the room has you doing with that mona module, it spits out a correct bad character, and an incorrect one. The hint says that bad characters affect the next byte as well, so the tool responds with the correct bad character, followed by one that isn't bad.

#

So in this case, the correct answer is \x00\x07\x2e\xa0

\x00 is always considered a bad character. The next three are correct, while the ones that come after each one respectively are incorrect.

median spade
#

ok got it

#

i was considering all 7 bad characters

rancid vine
#

I don't like that way. I would consider both of them bad characters.

median spade
#

thaks

#

y i did the same

#

ya

#

but in dump 07 and 08 ?

#

is 0A and 0D

#

ok iwill try thanks

rancid vine
#

So I had to use all of those bad characters in order to get the payload to work and get a shell.

#

That said, it worked without the entire string of bad charactres as well.

long vector
#

trying to do Daily Bugle, and I download and run joomblah.py to try and get credentials and I run into this error, any tips?

#

I'm downloading the same file everyone else in on write ups and videos...

dense root
#

@long vector

long vector
#

@dense root oh my gosh thank you!

dense root
#

Oh my lawdy you’re welcome 😉

wild quest
#

Hi, can someone recommend the next path after Complete Beginner? Can we start with Offensive Pentesting?

dense root
#

you can 🙂

#

it depends what you wanna do

#

but this path isnt a bad place to go 😄

wild quest
#

Just wanted to know if there are some other rooms recommended before I start with this path

keen iris
#

I'd do the primer rooms tbh

#

At least the red primer

wild quest
#

ok. thanks

arctic raptor
#

Hi, Im doing "Kenobi" Room.

I have queries on the privilege escalation portion. Why is it that when "/usr/bin/menu" was run, it will look for the curl binary we created in the tmp folder ? Shouldn't it look for menu binary instead? Can anyone help me understand me the logic behind this ?

covert scarab
#

When you run /usr/bin/menu it gives three options. I’m sure that two of those options use curl to get information that you have requested by selecting a number.

All this is done as root so what you are doing is creating a file named curl with your netcat reverse shell in it. When you run the /usr/bin/menu file a second time, the file is finding your fake “curl” binary and is running whatever is inside as root. This then sends you the reverse shell for privilege escalation.

@arctic raptor

arctic raptor
#

When you run /usr/bin/menu it gives three options. I’m sure that two of those options use curl to get information that you have requested by selecting a number.

All this is done as root so what you are doing is creating a file named curl with your netcat reverse shell in it. When you run the /usr/bin/menu file a second time, the file is finding your fake “curl” binary and is running whatever is inside as root. This then sends you the reverse shell for privilege escalation.

@arctic raptor
@covert scarab Many thanks for the clear explanation. I appreciate it very much. :))

bright oxide
#

Rooms path to OSCP? Guys? There's some recommendation? I have this one

keen iris
#

Have you checked the Offensive Pentesting Path?

rancid vine
#

Bunch of stuff on there for THM, and what helped me.

#

Alfred isn't on my list, but it's a good one.

I have a couple rooms coming in the near future as well geared specifically for eCPPT/OSCP prep. And Tib3rius just released a BoF room.

keen iris
#

@bright oxide I'd recommend Tib and TCM's privesc rooms, as walkthroughs

rancid vine
#

Definitely.

bright oxide
#

Nice!!! Thank you guys! 🙂

rancid vine
#

Welcome. Best of luck. 🙂

bright oxide
#

Have you checked the Offensive Pentesting Path?
@keen iris Not really, but it's one of my goals 🙂

#

@rancid vine what means VHL, vulnhub?

dense root
#

Virtual hacking lands

keen iris
#

Virtual Hacking Labs

rancid vine
#

virtual hacking land. Love it.

keen iris
#

Virtual Hacking Land seems like a cool place TBH

dense root
#

I’ll put it back for yalls satisfaction

#

Jeez phone autocorrec

bright oxide
#

Oh wow I didn't know that place

#

thank you then 🙂

dense root
#

Yes it’s a great land

bright oxide
#

A little expensive 😅

rancid vine
#

It is. But if you can afford it it is worth it.

bright oxide
#

Compared to THM or HTB

sterile peak
#

anyone have issues with Retro? Tried coming in from two different VPNs, nmap finding no open ports (even with -p-). Resorted to looking at a writeup, open ports should of shown up from the basic initial nmap scan.

#

n/m let the box sit for about 15 mins, could get to it then.

keen iris
#

What do you mean by two different VPNs?

#

@sterile peak There's only one VPN you can use. It needs to be the tryhackme VPN.

wet kernel
#

I think he means different configs

sterile peak
#

Yea, can come in via us vpn, or europe. I find some boxes just don't work right, so you have to try both.

#

So far retro has just been an unstable pos.

keen iris
#

That's not something that other people struggle with, now that the VPN routing issue is fixed. Retro isn't reported to be unstable, other than potentially dying after an hour like other windows machines sometimes do

#

I'd recommend running the troubleshooting script

sterile peak
#

@keen iris Apologies for the ignorance. What/where can I find that script?

#

n/m, just pulled the source code from github. That's a bit of "am I an idiot".

fallen herald
#

does anyone else keep a list evaluating comfort level for each OSCP objective? its really helping me pinpoint my weak areas

frank pewter
#

So, I've worked my way through the 8 default rooms. I've then moved on to the Learning Path entitled "Offensive Pentesting" and I was doing great until I hit Gatekeeper.

Having taken this path, I was particularly alarmed that I was at a TOTAL loss on how to approach the room once I had the executable. I mean, literally, a dead stop.

Is this worrying, or should I simply divert at this stage to another learning path? (The path does warn that if you're struggling with "basic reverse engineering concepts" then you ought to divert, but I'm so blind I don't even know if that's my issue.)

Grateful for any help.

keen iris
#

It's a buffer overflow

frank pewter
#

Right. So, my learning path so far has taken me nowhere near this. Just a little concerned, that's all. Is the sensible thing to do to divert my learning at this stage?

keen iris
#

To go learn buffer overflow in order to complete a buffer overflow? Sounds sensible to me

frank pewter
#

Yeah, fair enough. I was just wondering whether or not it was expected knowledge given the path I'd already taken. My question was more of a sanity check than anything. Cheers!

rancid vine
#

You can use my writeup for the room as well.

trail aspen
#

Linux privesc: This one looks up scanned SUIDs in gtfobins. https://github.com/Anon-Exploiter/SUID3NUM

If anyone knows other time-savers for the privesc checklist, please share. 🙂

noble glacier
#

It has an auto-pwn flag if I recall, wouldn't recommend it for OSCP, might disqualify you since, tools that automatically pwn aren't allowed
Through you could simply not use the flag, why risk it? 🤔
Through this is now the offensive pentesting path so 🤷

rancid vine
#

That is -e I believe.

#

Never heard of the tool until now. Kind of neat.

trail aspen
#

It has an auto-pwn flag if I recall, wouldn't recommend it for OSCP, might disqualify you since, tools that automatically pwn aren't allowed
@noble glacier Good point. I just do this as a hobby though. 🙂

rancid vine
#

The real world doesn't care if you auto pwn things.

#

Just the try harder parrot.

smoky stratus
#

hi

near ginkgo
#

Lol

shadow zealot
#

s

lament nacelle
#

taking the PATH now. prepare for oscp.

#

wanna ask a question about how long it will take to get the certificate? generally speaking

fleet wedge
#

It all depends on you. You can buy 30 days lab access or 90 days lab access.

#

Or 60

lament nacelle
#

sorry didn't make it clear

#

i meant the time before buying the PWK entry.

#

the time spent on THM or htb

#

100hrs, 200hrs?

flat linden
#

hard to say, it all depends on your initial skill level. I have not taken the OSCP myself but have close friends which have both succeeded and failed and they are very clear that it is all about how well you structure your routines and if are good at spotting rabbitholes and go on.

#

I would definitively try to get to a level where you can nail 2-3 boxes on HTB on a daily basis before going for the OSCP. On that path remember that there are some really good pentest certs out there which benefit your path greatly.

potent belfry
#

I did 99% of OSCP and spent a good amount of time. I'd say around 120 hours maybe? I started from a good understanding.

#

I'd suggest trying something like eJPT first to make sure you've got your chops up. If you're confident and blasting THM medium/hard rooms and can do the same on HTB (maybe just medium boxes on there). Maybe u could go straight to OSCP

real sandal
#

Hard to give an hour count, everyone comes into PWK with a different background/understanding even if they may have sunk the same amount of hours specifically prepping for OSCP.

Just go through the prepping resources like the offensive pentesting path, checking the PWK syllabus every now and then to see how comfortable you are with some of the topics.

You also don't have to understand everything in the syllabus to sign up (it's an entry-level course designed to teach you that stuff after all). ie: watch out for overprepping

rancid vine
#

I spent around three months preparing, but I took a different path and not the Offensive Security way. I didn't utilize the PWK or their lab environment, and instead chose to use a ton of TryHackMe, Virtual Hacking Labs, and CSL.

toxic mirage
#

Why in Offensive Pentesting Path there are so many windows machines and very few linux machine?

keen iris
#

Because typically Windows is harder for people

toxic mirage
#

That's true for sure. When I started in the path, solvings windows machine feels to be hard and as I went on it kept getting easier and interesting too.

rancid vine
#

We have another Linux machine coming this week.

#

Should actually be two being added to the path.

idle cloak
#

@toxic mirage Real environments are about 90% windows anyways, and most of that being AD focused too.

north snow
#

That depends though. What about corporate environments? Doesn’t Linux see more usage there? Especially for servers? Or is it overwhelmingly Windows dominated?

lament nacelle
#

cool, thanks guys

gusty pine
#

I work at a massive company and most of our servers are linux, just sayin'

#

windows is mostly used for end user computing (desktops...)

fleet wedge
#

Excellent guys. TryHackMe just upgraded the Offensive Pentesting Path with some more content and tasks.

rancid vine
#

Shh, it's a secret. 😛

fleet wedge
#

I just realized an hour ago while training hahaha

rancid vine
#

I've been working with Skidy to revamp and update the path. Two additional rooms that release this Friday will also be added.

spring thicket
#

for the OSCP prep BOF room. I'm trying to get the "oscp" program to move onto the second buffer overflow, but it never changes. I nc to the host and type "OVERFLOW2 test" but it remains on overflow 1's offset. What am I doing wrong?

near ginkgo
#

Nice. You just finished the OSCP too didn’t you Mayor?

rancid vine
#

Yea about a month ago.

fleet wedge
#

Is there a new machine on this path?

rancid vine
#

There are a couple, and more to come later this week.

near ginkgo
#

I'm prepping for OSCP. Testing in December. Signed up woefully unprepared man.

#

THM is helping a lot though. Dunno if I'll pass on the first try, but it is what it is. I'll learn something from it either way.

rancid vine
#

Check the pinned messages for my prep list.

#

I also wrote that as well if you want to check it out.

covert scarab
#

And remember, don't force yourself into it. Take your time and do it when you're ready!

near ginkgo
#

Thank you

#

Appreciate the article. Its a good read.

rancid vine
#

Thanks 🙂

lament nacelle
#

good article, thanks for sharing

lament nacelle
#

currently preparing with VirtualBox. is it necessary switch to VMware player for future exam? virtualbox👀

near ginkgo
#

No I don’t believe so. They won’t provide tech support if you are using virtual box.

#

But you can use it. I intend on using it.

hasty flume
#

for Steel Mountain, I have everything complete except the question "What Powershell -c Command could we run to manually find out the service name". Its extremely vague and I have googled the hell out of it, any leads?..

keen iris
#

You need a powershell verb that will get services

hasty flume
#

Get-Service cmdlet

#

but its format answer is *********** ** *************

#

well that didnt work ^ but it needs more tahn that, I have googled so hard and nothing really answers this super vague question.

keen iris
#

it says powershell -c command

#

How would you run that cmdlet with powershell -c

hasty flume
#

Zero Idea.

#

99% done with this box but I have googled so hard for this last question and I dont find a good way to find this answer out

keen iris
#

*Format is "powershell -c "command here"*

#

...

#

get-Service has to be ran from powershell, won't work from CMD

#

So you're running it with powershell -c

#

I disagree, but OK

sterile elk
#

How to decrypt BCRYPT password?

covert scarab
rancid vine
#

So does john the ripper

idle cloak
#

@sterile elk Just FYI, bcrypt is a hard password hash to crack (NOT decrypt, different meanings, you can’t decrypt a hash). The hashing algorithm is slow, making it take longer to attempt each iteration when cracking.

keen iris
#

It can be quite fast with a low round count

#

But it's designed to be about the same speed on CPUs or GPUs so that it's harder to crack

idle cloak
#

@keen iris good point 👍

keen iris
#

There's a nice room on this, made by a great content creator. I think his name is "NinjaJc01" or something

noble glacier
#

👀

lament nacelle
#

about the Game Zone room in oscp path. It feel some of the tools already been banned like SQLmap

rancid vine
#

Offensive Pentesting isn't just an OSCP prep path.

#

That's why tools like SQLmap are used and permitted. 🙂

lament nacelle
#

good to know, thanks

#

although, hope there is a path for oscp only. that'll make it easier 🍻

keen iris
#

You can always choose to follow the restrictions

lament nacelle
#

yeah, but that'll take you more time for recognize which tool is restricted

rancid vine
#

Most of the rooms give you the opportunity to do it both with and without metasploit.

keen iris
#

yeah, but that'll take you more time for recognize which tool is restricted
@lament nacelle you should get familiar with the list mow

#

Not a long list

real sandal
#

It's easy to understand which tools you can't use in the exam and you can prevent yourself from using in the offensive path: commercial vuln scanners (Nessus), auto exploit tools (sqlmap), metasploit (besides multihandler)

#

Probably good practice to not touch them by accident too 😉

rancid vine
#

I just revamped the path so that it's more up to date and aligned a bit more with some of those things. Two brand new rooms that I made, Relevant and Internal, will be added to the path very soon as well.

#

But as Ninja said, it's really a good idea for you find those restrictions and base your plan of action on them.

lament nacelle
#

thank you guys, i'll find a list

fleet nest
#

Helloa, Can anybody recommend me an preperation path for ECCPT?

I have heard there are some differences between OSCP and ECCPT. For example the Pivoting part.

wet sierra
#

I think the offensive path is a good place to start after that moving onto a course like Throwback will teach more advanced techniques and methodology. I would then complete boxes from tjnulls list and practice your report writing with the boxes as you complete

rancid vine
fleet nest
#

Hey I did'nt knew Tjnull's path was updated nice!

#

Thnx !

#

found a little more updated version 🙂

wet sierra
#

There's so many lists and crap out there I don't even know anymore

rancid vine
#

Well, it wasn't until I started reviewing OSCP that THM was added to the list. 🙂 So it's been diversified beyond the TJNull HTB stuff. Which I think is vital to learning.

fleet nest
#

Agreed. The truth imo is people have to find out for them self what suits them the best. Platform, learning style etc.

fiery stump
#

any order for thoses path or it's from top to bottow , left to right ?

rancid vine
#

I only did the VHL, TryHackMe and CyberSecLabs stuff.

#

I didn't do any HTB or Vulnhub.

#

I also didn't use the PWK labs.

modest hatch
#

passed both VHL cert it was excellent 🙂 tryharder Labs

rancid vine
#

Yea I really enjoyed VHL

modest hatch
#

🙂 Yeah was fun.

#

here to do the tryhackme Path. 😉

vernal timber
#

anybody did overflow 7? wanted to chat a bit about it

dense root
#

Is this specific to that overflow or a general bof question?

#

If the latter I can help

#

If the former I haven’t done that specific one yet

carmine wagon
#

in OSCP BOF Prep - OVERFLOW5: bad_chars form doesn't accept right answer (it's right because I got reverse-shell using them)
maybe there is some bug here?

dense root
#

You can put extra bad chars when creating your reverse shell payload and it’ll still work

#

It doesn’t necessarily mean they’re all bad

carmine wagon
#

understand, thanks

grand bone
#

Hey 🙂 Where did some of you guys found a pre-compiled version of 'PrintSpoofer.exe'? Can't find it anywhere and compiling it by myself gives me some errors

rancid vine
#

I have it in there.

grand bone
#

Thank you very much 👍

rancid vine
#

🙂

surreal holly
#

In SMB what is IPC$ share? On net it shows it used for RPC . I have connected to IPC$ share but how to make RPC from there? Any body can explain. Thank you

dense root
#

You just asked this in the TCM discord and someone was kind enough to answer you

#

Please check their response

fleet wedge
#

The relevant room was one for the books! I was able to download the binary from mayors Github and find the flags but hit a wall trying to learn how to compile the exploit on my kali box and other exploits such as juicy potato. Can an exploit like PrintSpoofer (https://github.com/itm4n/PrintSpoofer/tree/master/PrintSpoofer) be compiled using Kali or is an Windows environment required? I read through a few guides and attempted to compile using different tools such mingw32, wine, and g++ but continue to receive the same error below.
PrintSpoofer.cpp:3:10: fatal error: Windows.h: No such file or directory
3 | #include <Windows.h>
| ^~~~~~~~~~~
compilation terminated.

midnight blade
#

it probably requires windows-only libraries/headers which probably aren't distributed because legal reason but i might be wrong

willow sand
#

Hi all, I am stuck on privesc in Internal - if anyone could give me a nudge, I'd be very grateful

dense root
#

heya, what have you discovered or tried so far? @willow sand

#

oh on internal, jk i havent done that, you can still answer that and someone who has done it can answer you

rancid vine
#

Can DM me for help if you’d like.

fleet wedge
#

Senpai, have you tried using wpscan to Fingerprinting the version

rancid vine
#

We got it sorted out. It's not something wpscan could assist with.

fleet wedge
#

sounds good

shell yarrow
#

Anyone got a sec regarding Relative?

#

PE

rancid vine
#

Relevant?

#

Sure.

shell yarrow
#

Relevant sorry

#

So i was able to build the package in visual studio on a Win10 64 bit box, and it works flawlessly, but the binary doesnt appear to like the Server 2016 :/... Is there a trick to compile this bad boy?

#

when i say doesnt like i mean it doesnt do any thing 😮

#

tried both x86 and x64. maybe im missing something

#

Im referring to the Impersonate PE vector

#

I take back the questions. Im going to build it in a 2016 env... Didnt realize the evaluation OS exists. Try this again

rancid vine
shell yarrow
#

check check. Appreciate it. Im going to figure out how to compile this anyway. Thanks!

carmine wagon
#

guys, is brainstorm room still unstable and broken?
i got my exploit working on local, but not on remote machine

dense root
#

yes

#

sometimes it works, sometimes it doesnt

#

just try it a bunch of times if it doesnt work reboot the box, if it doesnt work chalk it up to the box being borked

carmine wagon
#

thanks, i'll try

#

ROOTED, finally 🙂

#

after 5-10 reboots

dense root
#

woot!

viral scroll
#

@rancid vine Is Threader3000 supposed to find the high port on the 'Relevant' box ?

midnight blade
#

@viral scroll it should since it loops through all ports

cosmic sandal
#

Anyone use a stand alone version of incognito - or does it only work through meterpreter?

rancid vine
#

You can use the executable version.

cosmic sandal
rancid vine
#

Might work

cosmic sandal
#

ok thanks! will try that

visual delta
#

is there a way to reset the completed learning paths?

dense root
#

not at the moment

modest hatch
#

Got 3month Gift Card for this One 🙂

ashen notch
#

off-topic question: is llmnr poisoning allowed in oscp exam?

midnight blade
#
You cannot use any of the following on the exam:

Spoofing (IP, ARP, DNS, NBNS, etc)
Commercial tools or services (Metasploit Pro, Burp Pro, etc.)
Automatic exploitation tools (e.g. db_autopwn, browser_autopwn, SQLmap, SQLninja etc.)
Mass vulnerability scanners (e.g. Nessus, NeXpose, OpenVAS, Canvas, Core Impact, SAINT, etc.)
Features in other tools that utilize either forbidden or restricted exam limitations

i think llmnr falls under the first one

keen pulsar
#

I think this is the right place to ask but, if it isn't, sorry, I'm new to the server. So, i've just started looking into some web penetration testing and I have a question: What is the difference beetween a directory bruteforce, a dns bruteforce and a vhost bruteforce. I used to use dirbuster in my attempts but i switched to gobuster recently and i saw these new things in the help menu. I'm afraid of forgeting to look for something during recon since I didn't even know there was a distinction between dns,directory and vhost bruteforce. Thanks in advance

keen iris
#

Do you know what a VHOST is?

#

Do you know what DNS is?

#

Do you understand the concept of directories on a webserver?

#

Those are questions you should find answers to. Learn the absolute basics about those topics, then the difference should be very clear to you.

keen pulsar
#

I thought I had a grasp of DNS but reading this made me think maybe I don't kkkk, okok I gonna look it up and find the magic

fleet wedge
#

can you guys recommend me some good courses/sites/thm boxes about buffer overflow? thanks in advance

dense root
#

Brainpan, brainstorm, gatekeeper, Buffer overflow prep @fleet wedge

rancid vine
#

The Offensive Pentesting path has several of these.

coarse swan
#

The Buffer Overflow Prep room really helped me out on BOFs, I completed that room the other day and have since completed Brainpan, Gatekeeper, and Brainstorm. Would highly recommend it.

proper tangle
#

I'm trying steel mountain. Both metasploit and python exploits doesn't work. Is there any I can reach out?

rancid vine
#

Someone ghost pinging me?

hexed solstice
#

speaking of the offensive pentesting path buffer overflow lab, the first one... is anyone running into an issue with the first fuzzing script?

carmine wagon
#

@hexed solstice what kind of issue?
as for me it was an issue with Python version I used to execute script. It should be just python not python3.

hexed solstice
#

i didn't check to see if python 1 was installed, but running just python still had the issue

#

it would immediately hit the excpetion

keen iris
#

*python2

#

Not python 1

hexed solstice
#

i didn't check which version, but running python or python3 didn't work. It hit the overflow string and failed, it ended up being a type error. I had to convert it to bytes

#

bobloblaaw helped me

carmine wagon
#

There was a beautiful VOD on twitch by room creator, but it was deleted, today I cant find it :(
It helped me a lot week ago

hexed solstice
#

ah, that's alright.

dense root
#

@shy stone

noble glacier
dense root
#

🤷‍♂️

noble glacier
#

Streams, videos, blog posts, etc of TryHackMe content
blobknife

dense root
#

man idk

noble glacier
fleet wedge
#

I did

#

It

#

I survived class on a book I didn't read

noble glacier
fleet wedge
#

Oh

#

I thought this was general

noble glacier
fleet wedge
#

!rule 15

frank troutBOT
#

Rule 15: Please leave any disciplinary measures to the discord staff (Trial Mods, Mods, and Admins). This is also known as no 'mini-modding'. If something is happening, please just let the staff know and we can take care of it <3

noble glacier
#

😛

fleet wedge
#

Let me dicipline myself smh

dense root
#

lmao

rancid vine
#

Nothing EC-Council should ever be equated to pentesting.

viral scroll
#

Anyone having trouble downloading JuicyPotato?

#

everytime I download it from github it results in zero bytes being downloaded

#

Im assuming it's a firewall/AV, but im in my VM, could my host AV be affecting the DL?

#

got around the problem

grizzled silo
#

hi

#

i need help

#

how can get start oscp path?

rancid vine
#

It isn't a OSCP path, however it would certainly help with that exam.

#

The Offensive Pentesting path on the platform requires a subscription. Do you have a subscription to TryHackMe?

grizzled silo
#

yes sir

#

i have subscription

dense root
#

So then you can enroll in the offensive pen testing path and follow the room order given 🙂

grizzled silo
#

yes

#

i trying 25%

#

i have no idea next

#

step

dense root
#

Keep going on the path?

sacred depot
#

So, i am not sure if that room fits for my question but as the paths are somewhat guided(?) i thought that i can try ask my beginner question here.
Just trying to wrap my way around reverse shells. I get the concept but... aren't these quite dangerous for the 'attacker' himself? Like, i guess someone could do a reverse-reverse shell (with NAT drawbacks and stuff)? Thats probably a thing i dont want to have in a KotH room?

covert scarab
#

I'm sure there's rules against doing that in Koth

sacred depot
#

Jeah, i guess so, but just wondering, the thing is a thing, right? 😄

#

Could be a thread in the wild as a honeypot too?

covert scarab
#

I mean I know you can mess with other shells but I'm not 200% sure. I'll do some research and get back to you on that

sacred depot
#

Thanks! Probably don't even need to mess with the shell but maybe just the active connection?

covert scarab
#

I mean, for them to spawn a reverse shell they would most likely need execution of some sort, having the active connection may be useless. Only top of that the attacker would probably use some sort of encrypted connection so getting a reverse connection (if possible) may be a tough one.

sacred depot
#

Hmm, i see - going to look that up though. Netcat is unencrypted and used pretty often for that so i guess that would make it possible to just write to the connection file? Interessting stuff anyway

keen iris
#

@sacred depot you're just listening for a raw TCP connection, an attacker won't be able to run commands on that

#

They can write to your listener sure

#

But no RCE

sacred depot
#

@keen iris Thanks for the info!

fleet wedge
#

watch out with tcp scanning guys ur ip will be reported very fast on abuseip web....u can use a vpn but still haha

#

oow tcp connection

#

ooowwww oke heheh

rancid vine
#

huh?

twin granite
#

^

#

Dont go around scanning random stuff on the internet

real sandal
#

Masscan go brrrr

mint pilot
#

scan 8.8.8.8 'for fun'

rancid vine
#

nooooooo

normal saddle
#

i have a question, i'm working on Steel Mountain, and are stuck on the final step to become root, my reverse shell is not keeping a stable connection for some reason, i've tried a few variants on my payload and ports and nothing is working. I get a connection, but it immediately fails

keen iris
#

What payload?

normal saddle
#

msfvenom windows/shell/reverse_tcp

keen iris
#

And how are you listening for it? @normal saddle

normal saddle
#

nc -lvnp

keen iris
#

Try using multi handler with the payload set correctly

rancid vine
#

Command shell works as well. But may want to consider an unstaged payload if the staged one isn't working.

keen iris
#

You need a multi/handler listener for staged shells for sure

rancid vine
#

Good habit to get in to, as well as checking for differences in architecture.

#

You can use Netcat with unstaged payloads.

normal saddle
#

unstagged payload worked, thank you

fleet wedge
#

anyone experienced this error with gatekeeper binary when opening with immunity? I can open chatserver from thm brainstorm room without errors

dense root
#

@fleet wedge

#

He says how to fix it

fleet wedge
#

@dense root thanks man , that helps

dense root
#

No problem 🙂

rancid vine
#

Yep, this is a Visual C issue. Glad you got it sorted.

fleet wedge
#

problem resolved!

rancid vine
#

@terse herald

terse herald
#

Absolutely not. @fleet wedge

#

!rule 9

frank troutBOT
#

Rule 9: No discussion of illegal topics or actions.

terse herald
#

We do not care for that sort of attitude nor mindset here.

#

Banned.

rancid vine
#

Well that escalated quickly.

fleet wedge
#

ah I missed the banned convo

crimson flame
#

@inner lake Again, final warning. Do not post random discord invite links.

noble glacier
#

@bronze zenith Looks like spooky warned them here as well, guess it's 3 invite links now

bronze zenith
#

Ban

#

Done

uneven shadow
#

I need a sub to access the other offsec path room 😂 those free room are interesting which i learn a lot

bright oxide
#

Hi guys do you think that done this Offensive path and eCCPT is enough to begin the OSCP certification? and if is enough, how many months of lab you would buy?

terse perch
#

I would also do VHL labs

bright oxide
#

I know that this could be more personal but in General

#

I would also do VHL labs
@terse perch is this really necessary or better HTB labs?

terse perch
#

Yes, it is more inline with the PWK/OSCP environment....and there is a really great discord community for it. @rancid vine had recommended it a couple months back, so I gave it a try...and it is definitely worth the $99 for a month.

rancid vine
#

VHL is leaps and bounds better than HTB

#

But it's also more expensive.

#

This path and the eCPPT are a good start. I wouldn't expect to get much better prepared using the PWK labs and manual.

Best way to prepare for that exam, at least in my opinion, is to immerse yourself in as many practical environments as you can. HTB isn't that. So you're left with THM, CyberSecLabs, and VHL.

terse perch
#

I am half way through VHL...and I wish I had done it so much earlier in my OSCP process...I have the OSCP scheduled for October 2nd...so I am trying to get through VHL as fast as possible

rancid vine
#

Hindsight suggests I should have wasted a month's worth of money on PWK rather than 3, and just spent 45 days before hand doing VHL.

#

Would have saved money in the long run.

terse perch
#

FWIW...I still highly recommend HTB. I think it is important to get exposure to as many scenarios as possible. Going through Ippsec's videos early on for as many videos as possible was really important for me.

bright oxide
#

Maybe I take a look to the VHL for a month and try to approach it all that I can

soft shuttle
#

What is VHL labs ?

#

Hi folks

#

I haved failed in my first attempt in OSCP certification

keen iris
#

A different company with real world focused labs

soft shuttle
#

Even doing the interally Offensive pentesting

#

I have failed, I think, because now the exam test much more misconfiguration on Services/Apps

#

And I was focused on CVE searching

#

What kind of rooms You recommend

#

?

keen iris
#

OSCP, from what I hear, also tests CTF skills 👀

#

But mayor's guide is real good

rancid vine
#

Sorry to hear about the failure. Oftentimes people get really lucky with easier boxes, or really hard boxes that are next to impossible to solve.

keen iris
#

Sorry to hear about the failure. Oftentimes people get really lucky with easier boxes, or really hard boxes that are next to impossible to solve.
I'm still convinced the RNG is a conspiracy to get more money out of people via retakes

rancid vine
#

Exam is 80% or more enumeration, 19% time management, and 1% actual exploitation.

#

I agree Ninja. Or some off the wall poor way to grab user metrics.

soft shuttle
#

Thanks about the condolences folks

#

hahahaha

rancid vine
#

snhbyt3, my best advice is to immerse yourself in as many labs as you possibly can.

soft shuttle
#

is very sad failure after many days of study

rancid vine
#

Stay practical for the most part. TryHackMe and CyberSecLabs do a good job of that.

#

VirtualHackingLabs is good if you can afford it.

soft shuttle
#

But what kind of rooms

#

of Try Hack Me

#

you recommend ?

keen iris
#

The path is good

soft shuttle
#

I cant spend more money

#

retake is very expensive for me

rancid vine
#

The 10 a month for the THM sub is worth it to get access to the path I think. I helped revamp it recently and bring in some more practical labs.

soft shuttle
#

But I have finished the path

#

Now I am stucked in continus learning

#

*continuous

rancid vine
#

That was my prep list. Didn't mess with the pwk labs

soft shuttle
#

Thanks BRO !!!

uneven shadow
#

Yeah i did vhl labs too

bright oxide
#

Finished Offensive Path it was very useful!

rough osprey
#

did not know about vhl labs and cyberseclabs, i guess i will give them a try too 🙂

visual shell
#

VHL looks good but pretty expensive

#

Do people use Attackbox or Kali linux on THM?

keen iris
#

my own VM

visual shell
#

Oh i was wondering if you could do that

#

Ive got kali on WSL2 so might try that, wont always lose my settings that way

keen iris
#

Run the VPN directly in WSL2

#

Seeing as WSL2 is a VM

wet sierra
#

This is not necessarily the place for that however I have not heard a lot of good things about it the only thing I could see being a redeeming factor for it is retired oscp boxes

bright oxide
#

You're right

#

Yes, I guess that the best factor it's the retired machines

#

thx for your answer

devout plinth
#

Hi there, someone would help me to understand a "feature" of hydra 🙂 ?

keen iris
#

Sure, ask away

#

I like to think my hydra knowledge is good

devout plinth
#

I did the room "Terminator" and did succeed to find the required login / password

#

However, when I try to bruteforce (with the correct login and a short list containing the correct password), I do not suceed to find the correct login / password

#

I think I might use an incorrect syntax or there is a bug. But i did read the documentation and did some research without any success

#

@keen iris do you want some screenshot / details ?

keen iris
#

Oh sorry I didn't see this

#

The Skynet room?

devout plinth
#

yup

keen iris
#

Can I see your command? For squirrel mail, people normally send the data to the wrong place

#

I can link you to a convo on it from the other day if that's the issue

devout plinth
#

I see 2 verbore "redirect" which IMO correspond to the correct password

keen iris
#

Probably your success condition

#

I'd change it to a failure condition, because that tends to work better

devout plinth
#

I did try different conditions

#

with same results

#

I'm a bit perplex

keen iris
#

Can I see your captured request real quick?

devout plinth
#

though burp ?

keen iris
#

Or browser devtools

devout plinth
#

a failed request ?

devout plinth
#

is that enough @keen iris ?

keen iris
#

Yeah I'm puzzled

devout plinth
#

My syntax is kinda correct !?

keen iris
#

It looks it

#

I'd honestly try fuzzing with Zap instead

devout plinth
#

I did RTFM and tried different syntaxes without success

keen iris
#

Hydra is... weird for web

devout plinth
#

Oh! good to know

#

It is indeed not the first time i have troubble with hydra in web

#

Thanks for the help anyway 😉 didn't knew Zap, will learn this new tool

keen iris
#

There's a room on it

devout plinth
#

Yeah just saw it

#

another rabbit hole to jump in 😄

opaque violet
#

Can anyone please point me in a direction where I can effectively learn how to use msf. Am having challenges figuring out which exploit to use and payload. Thank you

crimson flame
opaque violet
#

Thank you very much

devout plinth
#

Hi, someon would mind explain me something for OWASP-ZAP ?

rancid vine
#

Can try.

devout plinth
#

I launched a forced browse, i move in different menues

#

and the scan dissappear

#

I know it's still running thanks to the information above, but when I select the tab no results are showed aynmore

#

I would like to follow the scan but don't know where it went

rancid vine
#

Try pressing the play button?

devout plinth
#

Hmmm. scan finished apprently, I launched a second one.
Explored differents site in the context menu. The scan disappear and re appear normally. 😕

#

Maybe I stumbled into some bug, or a more realistic explanation is that i don't know how to properly use the tool yet 🙂 thanks for your help @rancid vine

rancid vine
#

You’re welcome.

weary pecan
#

yoo

#

wats good

#

im new

#

but why all the wiki links ded??

covert scarab
#

?

weary pecan
#

the hidden wiki lol

covert scarab
#

You're going to need to be more specific.

weary pecan
#

the hidden wiki?

#

the dark web

covert scarab
#

What hidden wiki

weary pecan
#

lol

#

you ever used tor before?

covert scarab
#

If you've come here to ask about the dark web you're in the wrong place

#

@grim pendant

weary pecan
#

shit yh sorry

#

where do i ask?

#

im new

covert scarab
#

Go ask people who use the dark web.............................

weary pecan
#

ok srry

dense root
#

Cuz a lot of them are illegal so people take them down. They’re not all removed you’re just looking in the wrong places @weary pecan

weary pecan
#

this never happened before this much tho

dense root
#

Idk what to tell you I have no authority over the dark web lol I’m just answering your question

coral badge
#

How can u get invited in ElearnSecurity for pentest student

rancid vine
coral badge
#

ok thanks mayor

#

@rancid vine Im in, thank you very much

solid edge
#

Hey, just got the subsciption, and want to get started on a pentesting path. On the thm subreddit I found this path that bee posted. Which one would u recommend I take, the one on site, or the one from bee?

covert scarab
#

@grim pendant

solid edge
#

https://blog.tryhackme.com/going-from-zero-to-hero/ this is the post he made about it in case the writing is too small on the picture

TryHackMe Blog

Hackers,

By now it is clear to both free members and subscribers, that TryHackMe has a
daunting amount of content. From rooms, to write-ups, to video walkthroughs it
can be difficult for new (and even seasoned) hackers to know where to start.
Speaking with members of my team ...

keen iris
#

That's still the old zero to hero

#

That wasn't bee's post

covert scarab
#

Yeah I’m sure bee just linked it

solid edge
#

Ah I see

#

So the default pentesting path on thm is more updated?

covert scarab
#

Yes definitely

solid edge
#

ok cool, thank you

covert scarab
#

I’ll try making an updated one if I get time and throw it on the subreddit

solid edge
#

sounds good. Ill get working on the one on site. Thank you for the help.

grim pendant
#

Yes for sure!

#

The paths from sub are better than anything I could make

#

Since they feature better rooms and are kept more up to date

#

I’m posting an article soon for a free path for people, but in the article i talk about how subscribing is better than anything i could make too 😛

somber coral
#

i need an analsyis/ network admin/ reverse engineer / digatial forenses help
like i installed an obvious do not install this will fuck ur shit up malwared out hacked new high end video game title and didnt do anything to it for about 6 months, when my laptop was getting to where it could have hurt its hardware and started to look at everything
and its been a nightmare
like ive done resets across multiple devices so many times
like i have the most crazy looking .pcap files
other wifi's in the area have duplicates running in the range of my pc
its fucked
like this has got to be some real deal hardcore pwnage
like im so pwned. my router login page is now gone. i discoverd that it had custom java script loaded into and has 3 wifi ids acossiated with it

#

sorry for the spam i love you all! ive spent a year trying to figure this out

mint pilot
#

Wrong place but you need to wipe everything clean

devout plinth
#

Is someone else having issue with the last kali update ? (in Virtualbox)

hardy copper
#

I am struggling too

modest hatch
#

Is someone else having issue with the last kali update ? (in Virtualbox)
@devout plinth Nope i don't

grave lion
modest hatch
#

aiit thanks mate

feral thorn
#

anyone having this same issue ?
@modest hatch yes I had the same issue too

modest hatch
#

Yeah

soft island
#

i think tryhackme is under a botnet attack

grave lion
#

What makes you think that because they're definitely not

merry sable
#

Just a query
The IP address doesn't redirect to the website
any ideas why?

#

@grave lion can you look into it?

grave lion
#

I'm not a mod and #site-support is the place to ask for any THM related technical issues

merry sable
#

@grave lion Nothing related to THM just asking

grave lion
#

Wait what are you trying to connect to?

merry sable
#

just a website

keen iris
#

Welp that sounds sketch

#

Also wat

merry sable
#

Nevermind

fleet wedge
#

80% certain Kernal wasn't on VPN lmao

merry crater
#

Good afternoon everyone. I'm on the buffer overflow prep section and I'm struggling with the syntax on the bad characters in mona. The instructions advise to update the !mona bytearray with the list of characters, however I can't figure out proper syntax for more than 1 bad character at a time. Can anyone advise?

#

And I might have just figured it out.

ashen hornet
#

And I might have just figured it out.
@merry crater Backslash.

sullen delta
#

Good afternoon everyone. I'm on the buffer overflow prep section and I'm struggling with the syntax on the bad characters in mona. The instructions advise to update the !mona bytearray with the list of characters, however I can't figure out proper syntax for more than 1 bad character at a time. Can anyone advise?
@merry crater just add the remaining bad chars in quotes "\x00\x07\x08....so on"

zenith moth
#

what OS are you guys using?

#

i'm thinking of switching form kali to Arch

rancid vine
#

Kali

zenith moth
#

aight

covert scarab
#

I use Manjaro which is an Arch based distro but there’s no harm in checking out different systems to see which one you like best

toxic ravine
#

i use ubuntu before, then install the tools that i only need

covert scarab
#

I didn't like Ubuntu's interface so I used Xubuntu