#modules

1 messages · Page 165 of 1

restive basin
#

oh maybe im still looking at the same file? i thought it would overwrite

fathom pendant
#

it might

supple gorge
#

Just use curl. Without the o

fathom pendant
#

yeah it'll overwrite

#

if it's successful

#

can you visit that webpage in firefox

restive basin
#

output without the -o flag

fathom pendant
#

can you visit http://94.237.54.27:58867

restive basin
#

no it times out

supple gorge
#

Im doing it on my host, not on their pwn box, not sure if that matters

fathom pendant
#

you might need to buy some cubes for pwnbox to have full internet access then

#

or use your own vm/other device

supple gorge
#

Can you curl on windows?

fathom pendant
#

i think curl is a thing on windows

restive basin
#

ok ill just do my own VM instead. i should be doing that anyway

fathom pendant
restive basin
#

will my vpn profile for labs work?

fathom pendant
#

no

#

a vpn isn't needed for this

#

you'll be prompted to download the vpn profile for academy whenever it's needed

#

(you don't need to download every time)

restive basin
#

oh ok

fathom pendant
#

reason: it's a public IP: hence why ALL of us could do it

#

and tell you that it's you not giving htb money is why your pwnbox isn't connecting to internet

#

it's hyper limited to free users

restive basin
#

yeah that makes sense

fathom pendant
#

well it makes sense because the ip schema is public not private LOL

restive basin
#

heres my result from powershell

fathom pendant
restive basin
#

i appreciate the help btw

fathom pendant
#

that's not the answer btw ¯_(ツ)_/¯

supple gorge
#

he cut it out

fathom pendant
#

oh it wasn't obvious

restive basin
#

i dont understand

fathom pendant
#

the answer will be an HTB flag HTB{..}

supple gorge
#

windows curl won't work

#

the webserver responds with "please use cURL"

restive basin
#

i got it from my kali vm 🙂

#

worked perfectly

#

i didnt realize the ip they were giving for the target was public

rustic sage
#

sorry to prod on this again, but dnsenum looks like it doesn't go beyond the SOA you specify. that means the best workflow would be to use dig to find any possible zone transfers and then use the dnsenum tool bruteforce hosts in each subdomain. Thought id comment idk lol

supple gorge
#

Marcie, did you do the CPTS path? just a bit curious what you got going on/working on

fathom pendant
#

been busy with life the universe and the theory of everything

supple gorge
#

shame there isn't a MarcieLee for CDSA haha, maybe payloadbunny

fathom pendant
#

I haven't taken a crack at those modules yet

rustic sage
#

footprinting is quite a beefed up module. but i would imagine knowing the stuff on it could save your life ;c

fathom pendant
#

thought about it but i wanna finish a before i start b

fathom pendant
fathom pendant
#

attacking common services goes over ways to attack them and common paths to escalate

#

mssql was the one that fought my brain in one of the assessments LOL

#

it wasn't until i went back and looked at all the things from the section did I get it

rustic sage
fathom pendant
#

there's a section on mysql

#

but again they focus on different aspects lol

rustic sage
fathom pendant
#

different methods and such

#

much like IMAP(s) and POP3(s)

#

¯_(ツ)_/¯

#

once i learned how to navigate via terminal it made the GUI version feel slow

fleet tide
#

Same, no reply yet

lusty thicket
#

same

shrewd wasp
#

Hello, I need help with the same section but now with priviledge escalation

|| I noticed that "www-data" can execute with sudo "php" but I dont know what to do ||

hazy grotto
#

IDK whats wrong. Ive used different vms, different vpn keys, but i seem to always have issues with rdp shutting down for no reason

lusty thicket
#

404 FeelsBadMan

#

you know what i mean

shrewd wasp
#

And what should I search there?

#

Or where?

lusty thicket
shrewd wasp
#

But how do I execute these snippets with php in the CLI?

lusty thicket
shrewd wasp
#

Yeah, but how do I execute it? Some combination?

#

I copy and paste it, press enter and it Just jumps to another line without doing anything

#

Also I cant create files

shrewd wasp
#

-

#

-

shrewd wasp
#

Idk what to do

fathom pendant
lusty thicket
fathom pendant
#

as soon as you enter it it should elevate you to root

#

whoami to confirm

shrewd wasp
fathom pendant
#

then you must have missed a closing quote

#

paste what you copied into a text editor to see if you missed it

#

do ctrl-c to cancel it

#

you'll likely have to drop back into the shell again

shrewd wasp
#

Give me a second, everything crashed for some reason

#

And yes, the shell drops

fathom pendant
#

if you wanna be sure you can do the PHP stuff one line at a time, just don't forget the quotes

#

though if you wanna be sure a command is going

#

you can do python3 -c 'import pty;pty.spawn("/bin/bash")'

shrewd wasp
#

that is what I copy

dusk portal
#

So if anyone has trouble with using XSS-ing on this module, check to see if your personal/home router is blocking XSS. My router does block this. Pwnbox was used as a work around.

shrewd wasp
#

it worked, but why?

solid python
#

If the binary is allowed to run as superuser by sudo, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access.

#

That's why!

shrewd wasp
#

no, what i mean is why php didnt respond before

solid python
#

Well I don't know what your prior shell was

#

Likely something got lost in translation when you attempted to upload your php webshell before

fathom pendant
fathom pendant
solid python
#

Yeah I've not seen that kind of php webshell before

#

Ah

shrewd wasp
#

||I wasn't meant to copy it after executing php?||

fathom pendant
#

once you execute the php command once you're elevated

#

you can check if it works by well... doing whoami

solid python
#

Making the web page reply with root

#

If it's running as root that is

fathom pendant
#

it's the RCE one

#

¯_(ツ)_/¯

solid python
#

I know, but it's RCE via PHP

fathom pendant
#

true

#

technically it just drops a revshell in php

solid python
#

Yeh

#

There's a lot of boxes and practice stuff around that involves PHP revshells

#

Or webshells, where you execute commands via the page itself or by the URL parameters

#

Rather than just getting a shell callback

fathom pendant
#

but theoretically you could just have it run arbitrary code without a shell

solid python
#

Bingo dingo, which is why I mentioned webshells

fathom pendant
#

(but you would do a test upload first, then do the callback)

#

test being the standard whoami stuff

#

once you're in the shell then you just work you way up

#

or around

#

technically speaking you could throw a second shell through meterpreter and netcat (which is silly)

shrewd wasp
#

The worst thing is that I was stuck there for 3 hours and I already knew what I had to do but it didn't work

#

thx people

solid python
#

It's okay to be stuck

#

Getting up again after being stuck is how progress is made peepoLove

fathom pendant
#

^

#

we all start somewhere

shrewd wasp
#

yep, i guess so

sullen cedar
#

Hellboy667 is back

#

Ssup marcie

#

U banned me

prisma spruce
#

@wooden igloo They would be out of their minds if they don't think that a community designed around getting around certain rules and gaming things wouldn't think about how to game a system so they can get the best price.

wooden igloo
prisma spruce
#

Though maybe it's intentional and HTB wants users to stay on a monthly subscription over a yearly subscription, because lol cashflow

wooden igloo
#

On the books, the monthly subscriptions will cause less fluctuations on a quarterly earnings reports. Likely they saw that annual subscriptions are more costly to have. I can't deny that as an user, we should stick with monthly subscriptions. The annual ones are less flexible and as you said slightly higher cost.

prisma spruce
#

It can be completely within their intentions to have multiple offerings for the illusion of choice, and that they know that it's a bad offering. But if they don't, then they should really rework their annual subscription plans.

wooden igloo
#

Just so we are clear here, which htb site are we talking about? the labs or academy

prisma spruce
#

Academy.

woeful stone
#

I don't compare academy, but most places try to incentivize annual plans. They advertise if you get the annual how much it is per month compared to the monthly plan.

prisma spruce
#

If it's not their intention to offer something so bad, the subscription plans do not make sense at all.

wooden igloo
#

I remember some textbooks in the college/university where it is more expensive to buy the two semester access instead of buying the one semester twice.

prisma spruce
#

Sometimes two of a smaller item can be cheaper than one of a larger item when the total size is the same or larger than the one larger item. Somehow. There's a reason for that too.

wooden igloo
#

reason smidgon, the world is silly and most of it has no logic applied to it. chaos theory and all that

woeful stone
prisma spruce
wooden igloo
#

so what you are saying is that getting gold annual is cheapest option out there

prisma spruce
#

Only if you're getting the early bird price.

wooden igloo
#

Early bird discount: Senior Web Penetration Tester path & cert!
The early bird discount is just them giving the cert and training for free though.

prisma spruce
#

The early bird discount is 25% off gold annual.

wooden igloo
#

You may not realize that the annual includes paying for the

- Direct access to the entire Bug Bounty Hunter job role path
- Direct access to the entire Penetration Tester job role path
- Direct access to the entire SOC Analyst job role path

The monthy plans dont include this, or at least dont mention including this in their cost

wooden igloo
#

why are you even asking that? why would I be here for? to troll?

woeful stone
#

I mean we are online, lol

prisma spruce
#

Yes, because you don't seem to understand that those job roles are made up of modules that you can purchase with the monthly plans.

wooden igloo
#

The gold annual includes an exam voucher. am I wrong?

prisma spruce
#

Yes, and you can purchase an exam voucher. I've factored that into the cost.

wooden igloo
#

What does this mean in their benefits section then?

✅ Lab exercise guidance via Discord
✅ No waiting to unlock modules
✅ Pay less than buying through cubes
✅ Exam voucher switching (applies to unused exam vouchers)```
#

Its not in the monthly?

prisma spruce
#

We know the exact cost of a cert for a consumer, and that is why I've deducted the price from my calculations.

wooden igloo
#

how about the rest, aside from the exam voucher

prisma spruce
#

People already get help when they post in this room, and many have said that there's no point in getting the additional help.

naive wadi
#

Thanks for clarifying, makes it alot clearer now.

prisma spruce
#

the third point is already covered by the fact that I'm using the monthly subscriptions as a comparison. It's baked into the idea.

#

#4 is only true in a very strict sense (it is indeed cheaper, but it's not worth it. Spending $1260 to save $53? Really?), or if you compare it to the base unsubscribed price of $5=50 cubes.

#

And the fifth point from my understanding is already the default when you purchase a cert. It's not really a selling point even if it wasn't.

wooden igloo
prisma spruce
#

I would not be surprised if someone thought it was a great idea to not do the calculations and force the purchase of a cert (and calling it a bundle) when you get an annual subscription. "You know, I think giving our customers a 5-8% discount is too much. Let's give them a 4-5% discount instead." is what you get as a result.

wooden igloo
#

So what you are saying is that the monthly subscription should offer less cubes.

#

Wait, If this is true:

- Direct access to the entire Bug Bounty Hunter job role path
- Direct access to the entire Penetration Tester job role path
- Direct access to the entire SOC Analyst job role path```
Then they are offering the entire path pro bono, So in reality there are less modules to spend your cubes on
naive wadi
#

Why are you talking about this in modules? Move it to general etc?

wooden igloo
#

idk its where @prisma spruce wanted to talk in.

prisma spruce
naive wadi
lusty thicket
naive wadi
prisma spruce
wooden igloo
prisma spruce
prisma spruce
#

If you're starting out from scratch and you have done tier 0, you're spending $516 with the discount price instead of $884. Go get it if you can't get a student subscription. You can use your remaining cubes on three of the four tier iv courses (to make things perfectly clear, the cubes you get back are baked into the price you paid. That's the $219/$234 above). This is a great price.

dreamy yew
#

hey guys, just wanna check if its possible to troubleshoot the laggy connection from the openvpn connection (on local kali vm) to the htb-academy labs

autumn pilot
#

reach out to support

compact patrolBOT
dreamy yew
#

yep i have reached out, and I was wondering if it was because the only available vpn server is EU and US, but I am based in SG

next bronze
#

you're gonna have high ping, that's just how it is

dreamy yew
#

i guess there is no way around this issue?

next bronze
#

nope, you're connecting to servers halfway across the globe

wooden igloo
#

Your connection to the pwnbox will be slow but the pwnbox's connection to the htb servers will be minimal

wooden igloo
#

where is the 20% rebate coming from and why is it 1.25 instead of 1.2

#

Plus this is inaccurate as you will get back cubes, after completing them.

12 tier I - 600 cubes
35 tier II - 3500 cubes
24 tier III - 12000 cubes
4 tier IV - 4000 cubes

Total cost up to tier II/III/IV= 4100/16100/20100 cubes```
It should be instead:
```22 tier 0 modules -220 cubes + 220 Cubes
12 tier I -600 cubes +120 Cubes
35 tier II -3500 cubes +700 Cubes
24 tier III -12000 cubes +2400 Cubes
4 tier IV -4000 cubes +800 Cubes

Total cost up to tier II/III/IV= 3280/12880/16080 cubes```
#

oh so that is where you got the adjusted sum from

#

my bad

prisma spruce
wooden igloo
#

I see it now

#

Yeah, The HTB team should really take your advice and reduce the 1260 price to a more reasonable one or offer something that the monthly do not have.

#

Cuz at the moment, you can keep the cubes from doing the platinum monthly and spend them on the modules when ever you are comfortable. Its just a better a deal than the annual where to save money you have to literally do all the tier 0-3 modules in one year time.

prisma spruce
#

It's actually pretty funny because it takes 13 months to have all the tier iii and below modules unlocked, which is a bit over a year

wooden igloo
#

so true lol

#

Even less time if you are a student too

prisma spruce
#

if you see that it's slightly over 12, you can tell yourself "wait, the numbers are that close and I don't have to stress myself out, and I'm only losing out on $53?"

naive wadi
#

I cannot seem to get anything union based to work

#

I'm not sure if it's me or there is an actual issue

#

order by clauses work but union don't....

wooden igloo
naive wadi
#

okay so this interesting, works via pwnbox but not my vm, so strange, just continually spins as if the request is pending

#

so that's the mystery solved of that

#

not proxying my traffic and vpn seems fine

wooden igloo
#

I seem to always have strange problems with the openvpn connection. Sometimes I am connected to the vpn but any connection outside of the htb network(like to the internet) is not working. Other times the vpn says connected but I cant ping the htb machine, but have internet working

placid edge
#

i think i broke it

#

i used to save a temp string that was in fact that string that was "accepted"

naive wadi
#

Like you would expect there to be errors in complex pivoting scenarious etc but here we are with a simple post & get request and it's shitting the bed

next bronze
#

I've never had problems with the vpn, probably reset the connection and the target and try again

next bronze
naive wadi
#

I didn't even realise, I just do everything in a vm and start the vpn on launch

#

thanks, the troubleshooting continues

wooden igloo
naive wadi
#

Okay, so the plot thickens. I now run this from my base OS and have the same issue however not in the pwnbox

wooden igloo
naive wadi
#

so it's not the vpn connection

#

its something that is happening locally on my machine

#

I can live with this using the pwnbox for the moment but have to figure this out before the exam

wooden igloo
#

maybe, internet is a trust that everything from physical connection to software to work

#

htb is a course at your college?

lusty thicket
sudden kite
#

hello can someone help me with my mistake
dig ANY inlanefreight.htb @10.129.78.249
ParserError:
Line |
1 | dig ANY inlanefreight.htb @10.129.78.249
| ~
| Missing property name after reference operator.
whenever I put @IP_address I got this error ^

tawdry hazel
#

Hello, i have an issue with module/112/section/1245 this is the IPMI section, I got the password hash for the user, but my hashcat could not find the password based on the settings in the module: hashcat -m 7300 ipmi.txt -a 3 ?1?1?1?1?1?1?1?1 -1 ?d?u The hash I had put in my ipmi file is 53159....:df3...Or is there a specific wordlist we should use ?

autumn pilot
#

Ask yourself do you actually need to execute this type of password cracking attack

marsh echo
vestal merlin
#

hi guys. I'm at cracking passwords with hashcat module. I installed hashcat in my vm but whenever I do anykind of cracking, i get errors. I think I'm missing some settings. Please help. Thanks 😊

paper gust
#

First two screenshots actually look ok

#

Third shows a crash on illegal instructions

#

This is a runtime issue

marsh echo
#

i want to upload my payload but his click is not

vestal merlin
paper gust
#

Not in a VM hopefully

vestal merlin
paper gust
#

In general, using a VM for hashcat is a bad idea, but it can work

#

You just need to ensure you have a good runtime installed for whatever hardware is exposed, which in a VM will only be your cpu

#

POCL can be hit or miss, the Intel OneAPI OpenCL runtime has been more consistent for us

#

But running on your host is always preferable because it gives hashcat access to your GPU

#

Which will usually make a big difference

next bronze
#

pwnbox also only has 4 vcores allocated, you're not gonna get much speed out of them

wooden summit
#

hey there guys,

eth.addr == XX:XX:XX:XX:XX:XX && arp.opcode ==1

this should be giving me ARP request count for specified MAC Addr on wireshark yes? Am I doing smth wrong here?

strong tide
#

Easy question: on Nessus Skill Assessment, the text says "Navigate to the web interface at the end of this section and log in with the provided credentials." but I cannot find the web interface at the end of the section. If it refers to the generated target IP address, when I use it, it does not seem to have a running HTTP service. Furthermore, for "web interface", it means the web interface of Nessus?

vestal merlin
paper gust
#

Well, really ANY communication with those devices

#

And we need low level access to the GPU runtime/driver since we invoke runtime specific compilers to JIT compile our kernels

wooden summit
#

INTERMEDIATE NETWORK TRAFFIC ANALYSIS
ARP Spoofing & Abnormality Detection

can t get the right answer on how many counts of ARP requests the reference MAC address does.

my filtering on wireshark is correct I think:
eth.addr == XX:XX:XX:XX:XX:XX && arp.opcode ==1

any insights?

vestal merlin
next bronze
#

you don't need to abandon vm entirely, just run hashcat on your host

paper gust
#

^^

paper gust
#

Just run hashcat on your host, everything else is fine in a vm

marsh echo
#

someone for me explain for what i've got this error ?

naive wadi
next bronze
next bronze
marsh echo
#

shiit omg thx

vestal merlin
vestal merlin
next bronze
#

install cuda toolkit

paper gust
#

Yeah, the toolkit will clear that warning, though it should still be working with the primary driver

marsh echo
#

Do we agree that I must create a reverse shell with an extension php and not in sh?

naive wadi
#

If that fails to shed some light it's packet capture time

marsh echo
#

lets's go it's good i flag it

wooden summit
#

huys could you plz spare sometime? n00b alert here..

next bronze
#

haven't done that module mate, sorry

wooden summit
north narwhal
#

guyyys i need help with a hashcat task for school could someone help me out a lil bit?

naive wadi
north narwhal
#

oh okay okay then task is to do a rule based attack on a sha2-256 hash. password is in the rockyou.txt. User writes the word EITHER with a small OR capital initial letter (initial letter = letter at position 0 of the word. For other characters this should be ignored)
User replaces in the word EITHER every e with a 3 OR every i with a 1 (note: only small e or i!)
User replaces every t in the word with a / OR s with a $ (note: only small t or s!)
User appends a digit between 0 and 9 to the end of the word (even if the word already ends with a digit).

#

first hash the teach gave us was this: f894f194cec07991acc7a39b22527618dc21f0a903b7fd958cba6016c1d4fea7

naive wadi
#

so just to double check if the pass word is in rockyou then the rest can be ignored?

#

or are they saying it is in rockyou but with these variations then applied?

north narwhal
#

i mean the cracked password is in rockyou and u are jsut brute forcing the hhash for it

naive wadi
#

what?

north narwhal
#

idk man thats how the task is 😭

#

hashcat -a 0 -m 1400 f894f194cec07991acc7a39b22527618dc21f0a903b7fd958cba6016c1d4fea7 Desktop/Exploits_PasswordCracking/rockyou.txt -r Desktop/regelnPass.rule

#

the command seems to be right but i am struggling with creating the rule itself!

naive wadi
#

I can't really tell what the question is my dude, sorry. If they are saying it's in rock you then you can just run the hash against rockyou. But if the password is a variation of a password in rock you that contains the keyword EITHER it's a different thing entirely.

north narwhal
#

i am sorry man i dont know either sadly tho 😭

next bronze
#

write a custom rule for it

north narwhal
#

it just says that the original word is in rockyou

north narwhal
next bronze
#

if it's sha256 and you have a decent gpu, I'd first just try onerule and see if I get lucky

north narwhal
#

my rules so far are:
c
l
se3 si1 st/ ss$

#

then for the number at the end idk if u can just say $0-9 or something like that

#

so i just did it like this: $0
$1
...

#

i suppose the task is to modify the rockyou word with the rules and try and crack it with the rule based attack

#

cuz the rockyou.txt is all with lowercase letters

next bronze
north narwhal
#

status is exhausted

#

everything worked but like theres no password 😔

#

i mean the command is for sure right

#

basically task is to just write the command down. cracking the hash is just for u to see if u did the rules right

wooden summit
#

hey there guys anyone with wireshark filtering knowledge? need some help with it plz PM

paper gust
#

I ask because you are the second person I’ve helped with exactly this problem haha

north narwhal
#

on the schools virtual system

#

he gives us an insight of how a hacker gets their way in

paper gust
#

Is it for a university class?

north narwhal
#

yes yes

#

so far it went well with trying out the brute force attack and the straight one

paper gust
#

Ahh, where at? I’m used to getting questions every year from a few classes/professors’ students

north narwhal
#

the command and stuff i know too and did research to how to do a rule based one

paper gust
#

Interesting

#

Not one of the usual ones

north narwhal
#

exactly

paper gust
#

Well, easy enough to fix

north narwhal
#

ACTUALLY?

paper gust
#

Yeah, you have the same issue someone else had who asked me this already

next bronze
north narwhal
#

i suppose i am doing something wrong with the rules urrghh

paper gust
#

Yes

north narwhal
#

THATS COOL

paper gust
#

It’s the rules

north narwhal
#

AHAH

paper gust
#

Same exact issue as the other guy, it’s actually really interesting

#

I think it’s a problem with the way your assignment is worded vs how the rule engine works

north narwhal
#

okay okay i mean the EITHER OR is confusing

paper gust
#

Right

north narwhal
#

cuz for me i would have jsut listed all the rules down

paper gust
#

Exactly

#

So here’s the issue, rules are formed from discrete “rule operations”

#

You’ve defined the different rule operations you think you will need

#

But you’ve not formed them into rules

#

Rules are read left to right, one rule per line

#

So a rule that needs to toggle the case of the first character AND swap e to 3 AND swap s to $ would look like “T0 se3 ss$”

#

3 operations, one line, one complete rule

north narwhal
#

okay okkay okay

paper gust
#

For your case, you have several operations to do, and you know that some can be one operation OR the other

#

So you need to define all the possible rules that can make

north narwhal
#

so its more than jsut 5 rules

paper gust
#

Yes

#

Iirc it’s 40

north narwhal
#

💀

#

oh well

paper gust
#

They are easy to define though

#

Just build out the different cases

north narwhal
#

okay i gotta try out then

paper gust
#

T0 se3 ss$ $1 would be one rule, then T0 se3 ss$ $2 would be the next one, and so on

north narwhal
#

another question is y what factor does the number of guess attempts in hashcat increase compared to the standard variant. thats why i wanted to like crack teh hash to see the differences

paper gust
#

Not exactly sure what you mean there honestly

north narwhal
#

T0 se3 $1 could be another rule

#

right? and also do i need to add the T0 cuz in the rules orrr

paper gust
#

Not for your specific word problem I think

#

Your rules have 4 operations each

north narwhal
#

well a task before that

paper gust
#

First character is toggled, 2 replacements, and a number append

north narwhal
#

was to brute force a hash witha wordlist

paper gust
#

Ah ok

north narwhal
#

nothing more nothing less

#

that was a task i did well i am just struggling with the rules rn

paper gust
#

Yeah someone else in your class got to the same part and asked the same question

north narwhal
#

and the rockyou.txt its all lower letters no particular rules right so the amount of guesses would increase by a lot

#

RLY?

#

LMFAOOOO

paper gust
#

Yeah I already helped someone on this exact problem which is why I was curious what school

#

Rules increase the amount of work as you might expect

#

(Words in wordlist) * (rules)

#

But that doesn’t mean it will take longer or be slower just because there’s more to do

#

It will usually be much faster actually

covert galleon
#

Having issues copy/pasting from HTB to pwnbox, running Firefox, any knowledge of what stops that from going through?

paper gust
#

Because we can better take advantage of the parallel capabilities of the GPU with rules than we can without them

north narwhal
paper gust
#

It’s multiplied

north narwhal
#

so the factor is in this case multiplied by the rules

paper gust
#

For each word in the wordlist, it will try it with each rule

north narwhal
#

yess

#

the more rules the higher the amount

paper gust
#

Yup

#

But again, that’s per COMPLETE RULE

#

Not per rule operation

north narwhal
#

yep

#

so i gotta try out all variations of the rule

paper gust
#

Yeah

north narwhal
#

can i do

#

se3 si1 ss$ st/ all in one line?

paper gust
#

You will, unfortunately, have to write out all 40 rules

north narwhal
#

or is that another line itself with combinations

#

it prolly is

paper gust
#

Since se3 and si1 are OR rules, they can’t be in the same rule

north narwhal
#

aaaahhhh

#

but what if both letters appear?

paper gust
#

You would need to make rules like “T0 se3 ss$ $1” and “T0 si1 ss$ $1”

north narwhal
#

okay okay

paper gust
north narwhal
#

true true

#

makes sense

#

but then i can do se3 st/ tho

#

right?

paper gust
#

Right, you will ALSO need to have rules like “T0 se3 st/ $1” and so on

north narwhal
#

yes

#

jsut as long as the defined rules are together

#

se3 ss$ would work

#

too

paper gust
#

Right, each line in the file contains 1 complete rule

north narwhal
#

do i need to add the TO at the beginning?

#

or jsut the rule directly

wooden summit
paper gust
#

So because you have [toggle case][se3 OR si1][ss$ OR st/][append number] you need to define all the possible rules that that can create

#

T0 is a rule operation

#

It means toggle the case of the character in spot 0

north narwhal
#

aaaaaaaaaahh

#

OKAY

#

i will try then but sadly later since i have to go to work before

paper gust
#

Ok

north narwhal
#

but i can jsut write down the rules at work and then copy them at home

#

hey i apprecaite the help a lot man

#

thank u so much :D

paper gust
#

Yup 🙂

north narwhal
#

OH

#

i need to add the c and l rules too tho right?

#

TO c se3 ss$ $1

paper gust
#

Why?

#

c and l don’t accomplish any of the changes your original problem describes

north narwhal
#

wasnt there a rule

#

The user writes the word EITHER with a small OR capital initial letter (initial letter = letter at position 0 of the word. For other characters this should be ignored)

paper gust
#

Right, that’s what T0 is for

north narwhal
#

ohhhh okay

paper gust
#

It toggles the case of the initial char

north narwhal
#

ahhhhh

#

so TO is in every line

#

if it matches then boom

#

if not then ignored i seeeee

paper gust
#

The wording of the problem is to give you exact rule operations to use

#

Also it’s T0 not TO

north narwhal
#

OH

#

yes yes

paper gust
#

0 being an index number

north narwhal
#

0 index

#

yes yessss

paper gust
#

Yup

north narwhal
#

got it sir 😎

#

thank uuuuu

paper gust
#

🙂

covert galleon
wooden summit
sterile epoch
#

hi need some help in password attacks-medium module
[ERROR] does not support SMBv1
I am encountering this error when I try to brute force smb here. I tried to attack ssh but it was a waste of time. only 2 of them were running when I scanned. need some help please

#

smb version is 4.6.2 I tried finding some metasploit script but no results

supple gorge
#

Not sure if I'll get an answer, but module says getaddrinfo (performs resolution from node name to IP) return zero indicating success...

Then it goes to say if sucessful, display sandbox detected, if not continue... does successful mean the function returned 0? and why would that indicate there's a sandbox?

vestal merlin
paper gust
#

May not be a bad idea to run with -d1 added

#

Also CUDA toolkit seems not to be registered properly but that’s not a huge deal

supple patio
#

Hi guys I need some help with module Broken Authentication, section Predictable Reset Token Q1. I have no idea what's the problem, here's the code:
||from hashlib import md5
from time import time

now = int(time() * 1000)

start_time = now - 120

file_path = "md5_tokens.txt"

with open(file_path, "w") as file:

for x in range(start_time, now + 1):

    # Get token md5
    total_str = "htbadmin" + str(x)
    md5_token = md5(total_str.encode()).hexdigest()

    file.write(md5_token + "\n")

print(f"MD5 tokens written to {file_path}")
||

paper crag
#

Any idea why there are still instructions in some course modules to install python2.7 when it will not install in current versions of Parrot OS?

quasi jungle
#

https://academy.hackthebox.com/module/147/section/1639
For the inital access via rdp using the credentials provided

xfreerdp /v:10.129.201.180 /u:Administrator /p:AnotherC0mpl3xP4$$
The credentials don't seem to be working

[13:18:47:213] [2569:2570] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server

autumn pilot
#

Put them in single quotes

quasi jungle
#

will try

#

Worked, Thanks

vestal merlin
rustic sage
#

How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)

#

linux fundementals

#

can anyone give me a hint

fathom pendant
#

no :) look at the commands provided by the section

rustic sage
#

its a section on filtering contents, i dont know where to look for the services s

#

i read it all lol

fathom pendant
#

click the cheatsheet

#

and browse those commands

#

note: those commands were all given to you earlier in the module

#

if you need help understanding the command: there's the man [command] that will usually give you a help manual (if the creator made one) or sometimes [command] -h or [command] --help

rustic sage
#

my terminal keeps freezing

#

one second

#

im so confused

#

nothing in the cheat sheet mentions services or listening

#

and the network ones dont look rightr

fathom pendant
#

Did you try them?

molten prawn
#

It’s very simple

tiny ember
silver iris
#

Hey guys, still stuck on the last question of the "Pass the Ticket (PtT) from Linux". I have a root shell and found the keytab file, but i keep getting the error "kinit: Keytab contains no suitable keys for LINUX01INLANEFREIGHT.HTB@INLANEFREIGHT.HTB while getting initial credentials".
I´m running the command: kinit LINUX01$@INLANEFREIGHT.HTB -k -t /etc/krb5.keytab

What am i missing ?

fathom pendant
#

hint: check the section again - there might be a tool as well to help you find it

#

(i found it by manually looking around, spent about 15 more minutes than needed)

#

if you want to find it manually: look for the daemon that runs the realm

silver iris
#

OK thanks for the hints, i will try that later 🙂

languid wharf
#

Hi, I just did the lab on the Passwd, Shadow & Opasswd of the Password Attacks Module. In the last step we needed to crack the root password and I got stuck in that. I've read on HTB forums that using the provided password and rule file from the module will crack it, but why does it help?
I assume that usually, when cracking passwords in HTB boxes/ the CPTS exam I'll use the rockyou wordlist, and not a custom crafted password list and rule.

vestal merlin
#

hi. I tried hashcat on my host machine, also installed cuda toolkit and simple cracking worked fine. But when I do mask attack, I get this. I tried -d 3, returning status:aborted. but sometimes returned status:exhausted. Others like -d 1 and -d 2 returned status:exhausted. The command I used was .\hashcat -a 7 -m 100 .\hash.txt -1 01 '?d?s' "D:\Softwares\wordlists\rockyou.txt" -d 3 How should I solve this? Thanks.

fathom pendant
fathom pendant
#

and sometimes in engagements you will need to craft a password list: and since most everything from the path is on the exam i wouldn't rule it out

languid wharf
#

Okay, thanks! but I guess that on the exam I'd have to perform enumeration and maybe use OSINT to craft such a pass/user list.

fathom pendant
#

there's no real OSINT for the exam everything you find will be internal

sterile epoch
#

any idea why I cannot bruteforce it?

#

not only that I cannot even ping the host

north narwhal
#

@paper gust what do u think abt this:

#

okay it got autoblocked

paper gust
#

about what?

grizzled schooner
north narwhal
#

the rules i weote

sterile epoch
paper gust
north narwhal
#

basically i seperated all single ones first like T0 se3 $num

sterile epoch
#

I will try once again reseting the pwnbox and victim

north narwhal
#

T0 si1 $num
t0 ss$ $num
t0 st/ $num

paper gust
#

be aware, the rules per your assignment is for [toggle case][replace OR replace][replace OR replace]{append number], so as far as i know only 4 op rules make sense, not 3 op rules

north narwhal
#

and then 2 like
t0 se3 ss$ $num
t0 se3 st/ $num
t0 si1 ss$ $num
t0 si1 st/ $num

paper gust
#

yes, those look correct

#

though syntax matters

sterile epoch
#

I have not even started

north narwhal
#

cuz it can happen that for example e or i isnt in the password but only like a 't'

#

for those cases

paper gust
#

you dont need to

north narwhal
#

ohhhhhh okay i see

paper gust
#

rules will no-op safely

north narwhal
#

but it looks perhaps better ykyk

paper gust
#

so if you specify se3 and there's no e, nothing happens

#

you should have 40 total rules when you are done, FYI

north narwhal
#

that is also vrry true but does it just skip it?

paper gust
#

rules are operated on left to right, and rules that no-op just continue the loop

#

so T0 se3 st/ $4 will work even if the first character isnt toggleable, there's no e, and there's no t

#

it will simply append 4

analog spoke
# sterile epoch I have not even started

Which module is this? I had a similar situation and it was related to firewall blocking my connection. Firewall from the box itself. It was part of an exercise.

sterile epoch
#

Password attacks Lab - Hard, module password attacks

north narwhal
analog spoke
crisp remnant
#

Is there someone with sufficient javascript knowledge that i can ping for a quick question ?

north narwhal
#

okay so u say T0 se3 $4 would be useless?

north narwhal
#

so u rly just need those for operators each 9 times since u wanna get the numbers

#

so basically 36 rules

paper gust
#

0 - 9 is 10 different numbers 🙂

analog spoke
north narwhal
#

yes 10 times oopsie

#

OKAY NICE HEH THANK UUUUU

worthy laurel
#

MODULE: AD Enumeration & Attacks - Skills Assessment Part II
QUESTION: (7) Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host.
ISSUE: I get this error message. What is wrong with this? Can someone help?

bright quiver
#

anyone help with why i am getting this error? i tried running powerview and sharpview but nothing on having the command run through ok...

PS C:> Get-NetUser -ComputerName ACADEMY-EA-MS01 -GroupName "Remote Management Users"
The term 'Get-NetUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • Get-NetUser -ComputerName ACADEMY-EA-MS01 -GroupName "Remote Manageme ...
  •   + CategoryInfo          : ObjectNotFound: (Get-NetUser:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

This is for AD enumeration and privilege access section

#

can anyone assist on why nothing in PS is working for this section? i did importing commands, too

hasty solar
#

Can i dm anyone at Injection attacks skill assesment?

#

can I dm you?

stiff moon
dull thistle
#

Hi, I need some direction here .. I'm on the Skill Assessment - Website of Login Brute Forcing (2nd Question: Once you access the login page, you are tasked to brute force your way into this page as well. What is the flag hidden inside?)

This is the command I've been using (with the wordlists of the cheatsheet also)
|| hydra -l user -P /opt/useful/SecLists/Passwords/Default-Credentials/ftp-betterdefaultpasslist.txt -f 94.237.60.78 -s 30908 http-post-form "/admin_login.php:username=^USER^&password=^PASS^:F=<form name='log-in'" ||

The rockyou file just times out (the pwnbox) due to not finding anything. What am I doing wrong here?

Some questions from me: Just to confirm some things:

    1. || form name has to be log-in right? With the dash in between? ||
    1. || the URI should be /admin_login.php right? ||

Feel free to reply here or in a DM if it would contain to many spoilers
EDIT: Found it 😛 || I messed up the parameters of the form ||

rare swan
#

Why are you using username "user"?

#

sry didnt saw ure on skills assemssment

dull thistle
#

All good, I just found it! ... I knew when I was gonna post the question, I would Jynx it 😄

silver iris
bright quiver
#

Can someone give me a hand with the privilege access section for ad enumeration module? I am wondering why powershell is not working at all...using this Get-NetLocalGroupMember -ComputerName ACADEMY-EA-MS01 -GroupName "Remote Management Users" for example - it says Get-NetLocalGroupMember -ComputerName ACADEMY-EA-MS01 -GroupName "Remote Management Users"
Get-NetLocalGroupMember : The term 'Get-NetLocalGroupMember' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1

  • Get-NetLocalGroupMember -ComputerName ACADEMY-EA-MS01 -GroupName "Rem ...
  •   + CategoryInfo          : ObjectNotFound: (Get-NetLocalGroupMember:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
grizzled schooner
#

Footprinting hard assessment found the ||snmpv3 that's open|| but I'm having a hard time enumerating it.. the module doesn't mention anything about that version... Do I have to install another tool?

fathom pendant
#

nmap is wrong

#

use the regular tools

hallow remnant
#

Module: Introduction to NoSQL Injection
Section: Skills Assessment II

I'm a little muddled on next steps, and I'm wondering if it's perhaps due to my payload formatting.

  • I've enumerated a valid username.
  • I've identified a password reset functionality requiring a token I don't know the value to.
  • URL-encoded payloads (e.g. param[$regex]) are throwing 500 error codes about missing parameters.

Could anyone help with a nudge?

grizzled schooner
fathom pendant
grizzled schooner
#

ah ok gotcha thanks, that gave me what I needed

#

although I do have what is probably a dumb question... in this case I went felt as though I had tried everything so I looked at the forum and found that I had to enumerate ||snmp|| which I hadn't thought to do... if there's ever ||imap or pop3|| is it common to enumerate ||snmp|| or is that a case-by-case basis

rough thicket
#

just got into HTB wondering if someone can help me with a box

#

tried to google but it just gave me walkthroughs

fathom pendant
fathom pendant
rough thicket
#

oh sorry

bright quiver
#

Can someone give me a hand with the privilege access module of ad enumeration - i keep getting this - and not sure why it won't work -

next bronze
#

you need to import it instead of just calling it

tight mesa
#

hello y'all, anyone who is willing to give me a hand with IIS-ShortName-Scanner 'cause I'm having this issue:

$ java -jar /opt/IIS-ShortName-Scanner/release/iis_shortname_scanner.jar 0 5 http://10.129.82.253/ Error: config file was not found: config.xml An error has occurred: null

grizzled schooner
#

any hint to listing a whole emails contents for imaps? I tried ||1 fetch 1 (BODY[HEADER.FIELDS (Subject)]) and variations of this|| but it didn't give me what I needed

fathom pendant
#

it'll grab it all

grizzled schooner
#

thanks 'ppreciate it

fathom pendant
#

since it's only 1 email anyway

#

yes, that is the question

frozen mesa
#

INTRODUCTION TO C# --> Declare a byte variable aByte and assign it the maximum value that a byte can hold.
My code ||
#include <iostream>
#include <limits>

int main() {
unsigned char maxByte = std::numeric_limits<unsigned char>::max();

std::cout << "The maximum value of a byte is: " << static_cast<int>(aByte) << std::endl;

return 0;

}
||
Output is 255 but that is not the correct answer. What am i doing wrong?

bright quiver
#

for privilege access all i am finding for remote users is|| forend|| - any advice or how to tweak the PS query to find other users maybe?

grizzled schooner
#

command get not found in ssh?

#

wat

slender chasm
#

Try use python -m http.server to send files from VM to Citrix….

fathom pendant
grizzled schooner
#

huh... good to know

fathom pendant
#

for some protocols like ftp and file transfer stuff get is a command

grizzled schooner
#

ahhhhh see I got confused there

#

makes sense now

sterile epoch
#

any idea what i should do here?

fathom pendant
#

Do dir to make sure it's titled Backup and not backup

sterile epoch
rustic sage
#

hey guys. In this module it states the following...

"For example, the above script showed us the Linux version to be 3.9.0-73-generic. If we Google exploits for this version or use searchsploit, we would find a CVE-2016-5195, otherwise known as DirtyCow."

When I google things like "3.9.0-73-generic exploit" or "linux kernal 3.9 cve" or any other variation like this, I cannot get any site which states CVE-2016-5195 to come up? What's the trick to find good exploits when googling, or even a full list?

grizzled schooner
#

could try using exploitdb

#

Marcie, I gained access to the ssh, and I have done literally everything... am I missing something? I've ||checked /etc/passwd for the user, nothing, went through both the available users that I was allowed to access, and nothing...|| I couldn't gain access to root. Do I have to have root priv's to find the answer?

rustic sage
#

it comes up in exploitdb but only because it matches a keyword in the range
"Linux Kernel 2.6.22 < 3.9"
I used 3.9 in my keywords.
But what if I was looking for an exploit for version 3.8. It wont return this cve becuase the keyword doesnt match. (Even though its in the range)

analog dock
sterile epoch
#

its smb and i only have the creds to the account

analog dock
#

And yes I can see it’s smb..

sterile epoch
#

I can rdp to another user I will try mounting it there

rustic sage
#

Hi guys anyone have any hints for the Working with Web Services module, specifically the question regarding a web server using a php command, thought I had it with php -S localhost:8080

bright quiver
#

can someone help me figure out how to or the command to use to find what user has access to the host ||ACADEMY-EA-DC01|| for the section privilege access / ad enumeration module? I have tried a few methods but nothing works. Like - $hostname = ||"ACADEMY-EA-DC01||"; Get-WmiObject -Class Win32_ComputerSystem -ComputerName $hostname | ForEach-Object { Get-WmiObject -Class Win32_ComputerSystem -ComputerName $_.Name -Credential (Get-Credential) | Select-Object UserName

grizzled schooner
#

I hate life... go looking through every damn ssh directory of 3 users to think ||why dont I try just logging in as root without a pass|| only for that to work

prisma spruce
#

If you know the flag's format you can try running grep -rnw . -e firstfewchars

sterile epoch
fathom pendant
fathom pendant
#

There's links to resources on how to mount the vhd once you crack it

sterile epoch
sterile epoch
prisma spruce
#

It would have been in the sql database then.

hallow remnant
thorn urchin
#

Granted I havnt done the module, but I would be looking for either a way to bypass the token check, or trying to leak a generated token

#

and then use that to issue a password reset to log in

#

also you said url params, are you able to issue the requests as a post request? I find NoSQL stuff easier to mess with as post requests for some reason. Could just be a personal psychological reason though, not sure if theres a technical reason behind it.

fathom pendant
thorn urchin
#

oh also usually with NoSQL if youve gotten an error 500 that means youve successfully messed with the backend, your syntax/formatting for your payload is just bad

grizzled schooner
#

with me now having the footprinting module done, is there any retired machines that would be similar to module lab content without being too extraordinarily difficult?

fathom pendant
#

Footprinting covers a wide range

thorn urchin
#

Honestly? Id just wait till after youve done the course minus the final module before doing any boxes

fathom pendant
#

Most boxes cover 1-2 protocols

thorn urchin
#

most boxes that are doable are gunna tap into a wide variety of possible subjects that will be spread throughout the course

grizzled schooner
#

Ok, cool thanks! I didn't know if there were any retired boxes, that would allow me to keep refining what I've learned through footprinting, but I'll keep going for a little bit before attempting any

fathom pendant
#

Attacking common services taps more into how to effectively attack a service

grizzled schooner
#

Ok, cool thanks

thorn urchin
grizzled schooner
#

Noted

thorn urchin
#

cause youll likely just end up doing the little bit you know and then get hard stuck on the box making little progress

#

assuming you dont have prior experience before CPTS

#

<@&861185840277487616>

supple gorge
#

Need help for introduction to Malware Analysis, skills assessment:

After which function in x64dbg should a breakpoint be placed to unveil the decrypted content of the .tmp file? Answer format: C__________t

I got the right answer, I'm just struggling for the pasw few minutes to make the decryption actually work and fild out what the decrypted text is

I'm giving up for now, but if anyone ever got this to work, please let me know

jolly cradle
thorn urchin
#

np

#

its in a few other channels too

hollow lake
#

Skills Assessment - Using Web Proxies . Once you decode the cookie, you will notice that it is only 31 characters long, which appears to be an md5 hash missing its last character. So, try to fuzz the last character of the decoded md5 cookie with all alpha-numeric characters, while encoding each request with the encoding methods you identified above. (You may use the "alphanum-case.txt" wordlist from Seclist for the payload). I think I did well but it says it's not correct, I'm stuck. Can anyone help without spoiling too much? Or DM me (if it's allowed)

hallow remnant
# thorn urchin Granted I havnt done the module, but I would be looking for either a way to bypa...

Yeah, I ended up sorting it out.

What you said was what I was intuiting/trying; the trouble I was having was finding an appropriate vector that I could work with. That particular assessment is pretty tricky in obfuscating the vulnerability. I ended up relying on a third-party tool to help ID the vulnerable injection point (and class of NoSQL vulnerability, which ended up being the part of my problem).

Thanks.

thorn urchin
#

np glad you sorted it out

royal current
#

Hey y'all! A question. I would like to give my report for a review (as part of the Documentation and Reporting module). To whom I can be a burden 😁 ?

hollow lake
chilly cosmos
#

Hello, at windows command line - Skills Assessment the second question the password don't work for the ssh

chilly cosmos
#

previous flag cannot be a password i think because of the space

fathom pendant
#

It can

#

Passwords can contain spaces

chilly cosmos
#

I will try again

thorn urchin
#

You dont necessarily need it

woven copper
iron solstice
#

Hello

#

Is this the support page?

#

I've been fucked around HTB twice now to the point Ive authenticated my account yet I still cannot login due to Unauthenticated user

#

I've already had to create a new account I do not want to create it again

#

Please fix this bullshit

#

Can't even come back and tackle a box perhaps without fixing my account

thorn urchin
#

this is not support

slender shoal
compact patrolBOT
supple gorge
clever dew
#

Anyone able to help steer me in the right direction with this question please? Not entirely sure what to input as the answer.

Working with IDS/IPS > Skills Assessment - Snort

There is a file named wannamine.pcap in the /home/htb-student/pcaps directory, which contains network traffic related to the Overpass-the-hash technique which involves Kerberos encryption type downgrading. Replace XX with the appropriate value in the last content keyword of the rule with sid XXXXXXX within the local.rules file so that an alert is triggered as your answer.

hazy grotto
#
[19:35:25:950] [11583:11584] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[19:35:25:950] [11583:11584] [WARN][com.freerdp.crypto] - CN = WS001.eagle.local
[19:35:25:232] [11583:11584] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_TRUSTED_RELATIONSHIP_FAILURE [0xC000018D] from server
[19:35:25:232] [11583:11584] [ERROR][com.freerdp.core.nla] - SPNEGO failed with NTSTATUS: STATUS_TRUSTED_RELATIONSHIP_FAILURE [0xC000018D]
[19:35:25:232] [11583:11584] [ERROR][com.freerdp.core] - nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_AUTHENTICATION_FAILED [0x00020009]
[19:35:25:232] [11583:11584] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[19:35:25:232] [11583:11584] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
hazy grotto
#

second time

supple gorge
hazy grotto
#

ah jesus it works now

#

the problem is itll prolly disconnect after a bit.

clever dew
supple gorge
hazy grotto
#

Im trying to figure out how to upload a file to a windows machine. wget wont work. I use the drive feature in rdp and it just keeps disconnecting for no reason on me

supple gorge
#

try to go into the packet, identify what it's looking for, try to understand it, then figure out what's supposed to go on those XX

supple gorge
#

can you post the full rule?

#

oh, you got the alert to work?

clever dew
#

I removed the XX to broaden the scope and allow the alert to work so I could work backwards however when I use either of the above no alert is generated.

supple gorge
hazy grotto
#
┌──(ruderaph㉿kali)-[~/academy/windows_attacks_and_defense]
└─$ xfreerdp /v:10.129.125.40 /u:bob /p:Slavi123 /drive:home,"/home/ruderaph/sharedrive"
[19:40:18:496] [14022:14023] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[19:40:18:496] [14022:14023] [WARN][com.freerdp.crypto] - CN = WS001.eagle.local
[19:40:19:143] [14022:14023] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[19:40:19:143] [14022:14023] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[19:40:19:156] [14022:14023] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[19:40:19:156] [14022:14057] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[19:40:19:156] [14022:14023] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[19:40:21:014] [14022:14057] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: home (type=8 id=1)
[19:42:08:571] [14022:14023] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 110: Connection timed out
[19:42:08:571] [14022:14023] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[19:42:08:571] [14022:14023] [INFO][com.freerdp.client.common] - Network disconnect!
#

OK so it was running good, but whever i search for powershell using explorer. Its like it freezes and disconnects

supple gorge
#

think of the offset 12 and depth 10... also each is a byte, a byte is a group of 2 hex

supple gorge
hazy grotto
supple gorge
clever dew
slender shoal
#

This is not the channel for this. Please keep the channel on topic. You will need to wait for a response from the support team. Thank you.

iron solstice
#

K

slender shoal
vestal merlin
iron solstice
#

Okay

#

Sorry about that mod

iron solstice
#

Question, do you guys utilise a VM or use your NATIVE OS? I've got a Mac but haven't tried HTB on it yet

#

Moved from windows

fathom pendant
solar zodiac
#

❤️ the new adcs module

#

🙂

#

would love to see a cloud module too 😄

west stratus
#

hey guys im thinking of maybe getting an academy subscription. Can anyone here who took a sub tell me how worth it was?

hallow remnant
fathom pendant
hallow remnant
#

Currently is doing the technical heavy lifting in that sentence

#

Since the CWEE isn't released

#

But I figured since they're just getting started with the platform, that wasn't an imminent target for them

fathom pendant
#

advanced web cert from HTB

#

they haven't released it yet

#

the path for it though contains tier3 modules

#

student sub only goes up through tier2

west stratus
#

I'm not just starting I have some htb experience, like I can do easy boxes. I wanted to know if by doing the academy stuff I can do medium and hard stuff

#

I do have edu email

fathom pendant
#

then student sub is your best bet tbh

west stratus
#

How advanced is stuff below t3

fathom pendant
#

it assumes basic levels of experience

#

nothing crazy

#

like attacking services and basic enumeration stuff

#

there's the Job Role paths which are the cert paths that are more structured

west stratus
fathom pendant
#

or you can just search for a topic and do the module that has it in it

#

there's a bunch, and you might learn something you didn't know before

#

it's not ALL that t2 is

#

there's a fair bit of tier2 that is hard to sum up briefly

#

some of tier 2 includes active directory attacks, XSS, Web attacks in general, Command injections

#

some of the tier0 stuff includes stack based buffer overflow

prisma spruce
#

If you do, you have until the end of the year to decide if you want to go for gold annual.

fathom pendant
#

yes

rustic sage
#

Hello. Guys I just solved a question from the footprinting module ftp htb machine: I just want to know why I couldn't do it on my own vm. Thanks in advance!

fathom pendant
#

the auth key that you get from a windows hash is rc4_hmac (some pth techniques will use rc4 as their argument instead of pth)

fickle thicket
#

thank you

fathom pendant
#

but reality; sometimes it's dumb

#

you can get it to work sometimes

rustic sage
#

I'm not sure I typed the same command

#

on htb machine

fathom pendant
#

again it's just dumb

rustic sage
#

So you have no idea?

fathom pendant
#

it's hard to narrow down the exact reason why it's not consistent on a vm versus the pwnbox

rustic sage
#

I see

fathom pendant
#

too many variables to consider ¯_(ツ)_/¯

fickle thicket
fathom pendant
fickle thicket
#

Oo. the password hash

fathom pendant
#

yes

fickle thicket
#

okok thank you so much

#

very helpful community here

fathom pendant
#

technically speaking the hash you get from responder is an auth challenge key with the LM and NT hashparts for NTLMv2

#

there's only one actual part of that response which is the NT/LM hash for authentication purposes

#

i believe that section diagrams the parts of the hash

#

yes

fickle thicket
#

i haven't reach the lateral movement module LOL. but thanks though

fathom pendant
#

One of the modules I know talks about it

#

and diagrams all parts of the response token

kind turret
fickle thicket
#

ah. i am on student subscription. don't have access to tier 3 module

kind turret
#

The preview is free to access

#

of any first section within a module

#

Use incognito to prevent redirects

fickle thicket
#

ok thanks. i'll take a look

#

Mimikatz - does Pass the Key or OverPass the Hash
uses the same command as Pass The Hash? which is sekurlsa::pth

fathom pendant
#

it's a pth

#

passthehash

fickle thicket
#

i see. so i guess is the same. since both uses pth

next bronze
kind turret
#

Yeah absolutely. I remember I researched how to do that with meterpreter and it was something definitly worth knowing about. I will discuss it with @mild mango and see how it goes.

next bronze
next bronze
fickle thicket
kind turret
#

@next bronze I am working on updating the section about Coercer, going to beef it up by also adding techniques to coerce authentication with LOLBAS

fickle thicket
#

and julio kek

fathom pendant
next bronze
fickle thicket
fathom pendant
#

the command is the same for simplicity sake

fickle thicket
#

so the only difference is the pass the key uses kerberos and pass the key uses NTLM authentication protocol.

#

ah i have alot more to learn

fathom pendant
#

also try not to ask questions BEFORE you finish reading something that's likely gonna explain it more

fickle thicket
#

ok. noted. sorry about that

main spear
#

Hi guys, i'm currently doint the Windows privilege escalation of HTB Academy. So i have to connect through RDP to the machine to do a privilege escalation but i have this error message

fathom pendant
#

i forget the syntax

#

but it's definitely covered in one of the earlier modules

main spear
#

Yeah i remember it was in a module, i didn't know if i had to do it or not

#

thank you

fathom pendant
#

they did have you do it for one of the sections in an earlier module

#

for sure

#

and if the section says "RDP to IP with CREDS" then yeah

main spear
#

Alright, thank you

rustic sage
#

might be off topic - is there a way to connect academy to roles/details on this server or just htb?

hallow kiln
rustic sage
hallow kiln
umbral fulcrum
next bronze
#

there's a list of methods you can expain in the repo

upper ruin
#

Hello, kind people of HTB. I need assistance with the followning thingy:
Password Attacks - Linux -> Passwd,Shadow,Opasswd

I found the root hash, and now I am using the custom.list that I made by modifying the regular password.list with the custom rule.

Am I on the right path?

royal coral
#

Hey guys

#

Just joined here wanted some assistance on ESCAPE machine

#

Is anybody free ?

next bronze
umbral fulcrum
faint rampart
umbral fulcrum
#

oppss 😅
I guess I underrated breaks ...

umbral fulcrum
sinful crypt
#

Hello all, I'm stuck connecting to the kali vm in WINDOWS ATTACKS & DEFENSE module, kerberoast worked, via vpn to WS001, but don't know how to find the ip address for the kali vm, anyone have any ideas? tried rdp and ssh from my parrot to 172.16.8.25 and tried the same from WS001

supple gorge
hazy grotto
#

Anybody got any advice? I need to connect to DC1. no port 22 on the system so i can't port forward. When i try to connect on the computer i get this.

supple gorge
#

oh, you already have a console session? rdp to DC1 from WS001

supple gorge
hazy grotto
#

have you done this module? Windows attacks and defense

#

Do you have notes on Credentials in Object Properties

supple gorge
#

probably, but you gotta ask a specific question

hazy grotto
#

DM?

sinful crypt
supple gorge
supple gorge
sinful crypt
swift forge
#

Anyone familiar with the DNS page of the Footprinting module? I'm stuck on the first question and don't really know what I'm looking for/how to proceed

rare swan
#

Module: Network Enum Nmap Medium-Assessment --- redoing assessment but im not sure if the answer changed over time --- does it still starts with HTB{...}

surreal heron
#

Can someone help me with this skill assesment WINDOWS LOGS AND FINDING EVILS stuck for a long time any hints??

rare swan
#

Or is it now starting with: NL......

gray jay
#

Do you retain access to modules you've completed?
Even if subscription expires?

hallow kiln
gray jay
rare swan
#

Module: Network Enum Nmap Medium-Assessment -- can anyone tell me if this is the right version for the answer:

#

Actually think this is the right answer, but i cant submit it to check it, because i have already given a correct answer once --- guessing that the answer changed over time which is quite annoying

thin mauve
sullen cedar
#

Ssup guys

supple gorge
rare swan
#

Why isnt anybody responding to my simple question -- is it because the answer is obvious -- maybe it is -- nevertheless im to unexpierienced and uncertain to be totally sure it is correct

supple gorge
rare swan
#

ok

supple gorge
ripe portal
#

hey guys, there's literally no other export func that starts with attach in kernel32.dll. Module is intro to malware analysis

rare swan
#

@supple gorge dont know how i could give more specific details to my question because there isnt much more to do than finding out the DNS version with a nmap scan -- fairly simple process

#

Im to 99.999% sure its correct, but i dont understand why they have to change the answer

supple gorge
#

Maybe extra space

rare swan
#

I have already submitted the answer once

supple gorge
#

Or maybe the question changed how they expect the answer, can you put the question here, or at least the part where it asks the question and says how it wants it?

rare swan
rare swan
supple gorge
# rare swan Module: Network Enum Nmap Medium-Assessment -- can anyone tell me if this is th...

Gotcha, I don't wanna submit it without doing the course (I tried with my meager knwoeldge of nmap and the simple scan didn't work), you're probably on the right, you could reach out to support for a more sure answer

In a browser that doesn't block pop ups or ads and stuff, there should be a button in the bottom right corner where you can reach out to support, I've done it before

supple gorge
#

Sorry for not being much help

rare swan
#

actually its not the first answer which has changed -- i know you could argue it doesnt matter, because the process is the same -- nevertheless if your new to this stuff and therefore having a certain uncertanity i think it matters

#

@supple gorge thx for you effort

supple gorge
tranquil axle
languid wharf
#

Hi, I'm stuck on the last question in the Password Attacks Module -> PtT in linux lab. I tried using PtH with the NTLM hash of the LINUX01$ (discovered from /etc/krb5.keytab), and tried generating a ticket using rubeus but it doesn't work for me. Any suggestions?

rustic sage
#

How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)

i tried ||netstat -l | wc -l|| and the result is incorrect, what am i doing wrong

crisp remnant
#

Is there someone that have finished the Advanced XSS and CSRF Exploitation module ?

echo roost
#

This doesn't work - ||ffuf -w ids.txt:FUZZ -u http://admin.academy.htb:51718/admin/admin.php -X POST -d 'id=FUZZ' -H 'Content-Type: application/x-www-form-urlencoded' -fs 768||

#

No response at all

rustic sage
#

bruh

rough acorn
#

I am currently doing footprinting medium lab and I am having an issue with accessing the NFS (if that's even what we should do). The rest of the open ports are winrm and rpd. Not much to do until you have creds.

I did a "showmount -e 10.129.228.163" and I get that there's a share with (everyone) appended to it. I mount it but then I get that only the nobody user can access it. I tried changing the nobody user when mounting to my own user. it shows up as me but I still can't access it.
Any ways to trouble shoot this?

rustic sage
#

Use cURL from your Pwnbox (not the target machine) to obtain the source code of the "https://www.inlanefreight.com" website and filter all unique paths of that domain. Submit the number of these paths as the answer.

#

thats the question

swift forge
#

I have no idea what to do to enumerate the user from the SMTP on the footprinting module. Can someone assist?

rustic sage
#

Testing

swift forge
swift forge
swift forge
swift forge
fathom pendant
#

Don't use the default time

#

Do -W 15

#

Also why don't you use idk man smtp-user-enum or smtp-user-enum --help

swift forge
fathom pendant
#

well if you downloaded footprinting-wordlist

#

...

echo roost
swift forge
# fathom pendant ...

So I've run that previously and it turns up no results. Command I ran was smtp-user-enum -M VRFY -U footprinting-wordlist.txt -t (IP) -W 15

#

Getting 0 results with that

fathom pendant
#

Increase timing then

swift forge
#

I realized the timing wasn't actually increasing and the --help always showed the ip last as well as having case specific options

languid wharf
#

Hi, I'm was stuck on the last question in the Password Attacks Module -> PtT in linux lab. I solved it finally, but I think I did an unintended way because of the hint they provided (didn't use it at all). Can someone DM/guide me in the intended way?

fathom pendant
languid wharf
#

I tried with linikatz but when I tried to export it and connect via evil-winrm I got an error and couldn't connect

fathom pendant
#

Why export and connect?

#

Just transfer it over via the many transfer protocols

languid wharf
#

Just as in the previous question I found julio's Kerberos ticket, exported it from the ssh session as root and used from there evil-winrm. Tried to do the same with the LINUX01$ ticket that linkatz found but with no success

fathom pendant
#

You're referring to the ccache file?

languid wharf
#

yeah

fathom pendant
#

Or am I misunderstanding

#

Ik there's 2 cache files one is old/expired the other is current

languid wharf
fathom pendant
#

Navigate to the directory its found in and see

languid wharf
#

Going to check it out, Thanks!

mild valve
#

OH MY DAYS FK OFF fatty-server.jar

#

Whoeevr created this module want ppl to suffer

fathom pendant
#

Maybe I'll have to double check

fathom pendant
languid wharf
#

It'll very be helpful if you could

mild valve
fathom pendant
fathom pendant
languid wharf
fathom pendant
#

¯_(ツ)_/¯

#

Should probably delete the comment about the filename btw

languid wharf
#

Yeah, I wondered why it didn't censor it

rare swan
#

Hi again. No matter which vpn file i use and no matter wich connection (home/mobile)-- cant reach any target within any section anymore! Whats going on......

obtuse falcon
#

Maybe this can solve your issue

rare swan
#

@obtuse falcon thx for your advice --- tried to connect to boxes from HTB Lab and there arent any connection issuses --- actually only on HTB Academy and suddenly from one moment to another

#

Maybe i should reach out to support?

molten prawn
rare swan
#

@molten prawn thx -- actually worked

molten prawn
#

You’re welcome man

inner sand
#

hey guysss

#

missed all of ya

lusty hearth
#

Exploitation of PDF Generation Vulnerabilities
Injection attacks

I am trying to find this blasted internal port to complete the SSRF. I have found the internal ip, just cannot retrieve information through the PDF

echo roost
prisma spruce
prisma spruce
#

Really.

echo roost
#

I barely use it. I use wfuzz, gobuster or feroxbuster. It's throwing me off.

#

How do you scan multiple hosts like my example?

prisma spruce
#

As far as I know, you can't.

echo roost
prisma spruce
#

Yeah. The default is FUZZ.

sly dome
#

automate it with a simple shell script

prisma spruce
#

@mortal basin Going to ping you here. For your Value Fuzzing section in the ffuf module, you might want to tell users about one of ffuf's poorly documented features: -

echo roost
prisma spruce
echo roost
#

Now I want to learn Golang to contribute

sly dome
#

ffuf is right now the best fuzzer

#

you should get used to it

#

use the '-ic' flag to get rid of the comments

echo roost
#

Yeah it's not so bad

sly dome
#

of the dictionary

echo roost
#

ty

sly dome
prisma spruce
#

v0.10: 0295abb Wordlist standard input mode (#36)

#

Instead of running for i in $(seq 1 1000); do echo $i >> ids.txt; done; ffuf -u http://admin.academy.htb/FUZZ -w ids.txt..., you can simply run seq 1 1000 | ffuf -u http://admin.academy.htb/FUZZ -w -

sly dome
#

yea xD

#

i use it along with cook for custom wordlists

prisma spruce
#

I'm not sure how people would find out about the feature otherwise. The default is to not tell you about standard input mode (I guess it's really standard output mode)

sly dome
#

i think its a common functionality on shell programs

#

i tried it without even know about it in the changelog or docs

#

and it worked xD

#

i use it a lot with python scripts from git/exploitdb, curl <url for raw python code here> | python3 -

chilly cosmos
#

Hello, i have been trying to ssh but this password "previous flag" don't work other to do it.

sly dome
#

use the actual previous flag

chilly cosmos
#

yes i did

#

i copy and paste

#

windows command line - skills assessment

sly dome
#

i dont know

#

it works for me

#

double check everything

prisma spruce
sly dome
#

i was not saying that.

prisma spruce
#

Oh, I know.

sly dome
#

what i mean is that maybe it doesnt need to be documented

#

not like a special ffuf feature

prisma spruce
sly dome
#

yyy

#

i know

prisma spruce
#

I don't think you can do echo http://sitename | ffuf -w wordlist -u - either.

heady surge
#

My Youtube Channel anyone cares to suscribe to it

lusty hearth
#

nah

prisma spruce
#

No.

heady surge
#

I know I haven't Posted any video

#

But I just opened it today

heady surge
sly dome
#

only used it for the wordlist

prisma spruce
sly dome
#

but for that just automate with shell 😄

autumn pilot
#

@heady surge keep the channel on topic