#modules

1 messages · Page 430 of 1

fathom pendant
#

i suggest not doing multiple modules at the same time, as you'll only end up compounding your frustrations

junior fjord
#

what can i do ? 😔 i successfully wasted 4 days on it but not getting anything

#

difficult module ever had

faint hamlet
#

an easy way is to ffuf it, /usr/share/wordlists/seclists/Fuzzing/4-digits-0000-9999.txt. Or you can even script it yourself.

faint geode
#

If you PC freezes after 5000 could you alter the script to start from 5000 instead @junior fjord ? 🙂

#

Or do what Faiz said ? 🙂

junior fjord
#

ya trying

fathom pendant
#

if it's the skill assessment, i just listed out the vague enough hints to progress here

#

@junior fjord try spraying the credentials across all the known hosts

#

you can use a list/txt file with nxc

junior fjord
#

ok RDP and SMB right ? any other in list ?

fathom pendant
#

the list isn't for protocols

#

the list is for the host ips

faint hamlet
fathom pendant
#

nxc <protocol here> <host_list> -u 'username' -p 'password' (additional options)

junior fjord
#

ya but execpt SMB and RDP is there any other service for do stuff ?

fathom pendant
#

focus on stuff you know first

#

before worrying about what you don't know

faint hamlet
junior fjord
#

OK i am trying again

junior fjord
faint hamlet
fathom pendant
fathom pendant
waxen totem
fathom pendant
#

we've given more than enough information for you to be able to find the next step, and my handy dandy list of hints should be enough to point in potential right directions

#

obviously it's not directly step/by/step hints

#

but enough to nudge forward in thinking

rapid lichen
#

Thank you for your pointers with this. I've now cracked Q3! Now onto Q4 🙂

fathom pendant
#

but much more pain

waxen totem
fathom pendant
#

chisel?

waxen totem
junior fjord
#

I USE SOCAT AND PROXYCHAIN

fathom pendant
#

or did you just raw ssh -D ?

junior fjord
#

socat is also good

fathom pendant
fathom pendant
waxen totem
fathom pendant
fathom pendant
mild badger
#

Not sure if this is the right spot to ask, but I'm working on the Linux Fundamentals modules. I'm on the section Find Files and Directions and I'm stuck on the first question:
What is the name of the config file that has been created after 2020-03-03 and is smaller than 28k but larger than 25k?
This is the command I tried using:
find / -type f -name *.config -size +25k -size -28k -newermt 2020-03-03 -exec ls -al {} ; 2>/dev/null

fathom pendant
#

:)

mild badger
#

i did ssh in.

fathom pendant
#

and are you running that command in the ssh session?

fathom pendant
mild badger
fathom pendant
#

you don't have image embed perms to send it here

#

that's why i asked to dm it to me; if you want perms there's instructions in #welcome to link your htb account to the discord

#

dm means direct message btw; so send it to me directly lol

mild badger
#

how do i send the dm? i clicked on ur profile picture but it wont let me past the pic in the msg spot.

waxen totem
mild badger
#

thank you.

mild badger
fathom pendant
#

ye

mild badger
fathom pendant
#

so your size isn't specific enough

#

also you need the *.config

fathom pendant
#

when specifying size, it's important to add the size type i.e. kilobyte,megabyte,gigabyte, etc

fathom pendant
#

your minimum size isn't correct

#

you're missing something important

faint hamlet
mild badger
#

when i put the k after the 25, now i get nothing.

fathom pendant
#

the assessment provides you a list of hosts

fathom pendant
faint hamlet
fathom pendant
#

sometimes they're named something.conf or .cfg

fathom pendant
bright marlin
#

Does anyone know why I get the message Request validation failed when I start a new instance of pwnbox? I've tried changing servers, logging out and back in, and using a different browser, but nothing.

fathom pendant
#

spray and pray with protocols

faint hamlet
fathom pendant
#

if that doesn't work you'll need to reach out to htb support

compact patrolBOT
mild badger
bright marlin
#

and still doesnt work

fathom pendant
bright marlin
#

Okay ty

bright marlin
split hearth
#

Can smb help me with Password Attacks -> Attacking Windows Credential Manager? I think I did everything correctly, but still cannot find that password

idle thicket
#

Hello guys, I'm doing Skills Assessment - Password Attacks
I got access to jump01 as admin, dumped, sam,security,security files and lsas.
what to do now, where to head from here?
thank you in advance

split hearth
#

nope

#

did runas and UAC upgrade, with mimikatz credman I can only see one password that is not the correct one, and with cred::vault I see nothing

sacred rock
#

What other tools can you use apart from mimikatz?

fathom pendant
split hearth
#

I tried meterpreter with load_kiwi credsall and kiwi_cmd and got the same results

split hearth
sacred rock
fathom pendant
#

if you have a privileged shell at least

#

because you have to think, the user you have doesn't have the same credkey access (no matter how much you elevate) as the user they can impersonate (runas)

split hearth
fathom pendant
#

i think the issue partly lies in the fact that you're trying to do stuff via meterpreter. But you're also gonna look at the wrong thing with rundll32

split hearth
fathom pendant
#

the note just above the question segment/pwnbox spawn area

#

it gives another tool 😉 one that bakes pretty well without the need for UAC bypasses

split hearth
#

But isn't it weird that mimikatz is not working? In a machine without having this question I would have thought that vault was empty

fathom pendant
#

you're likely just missing a key component

split hearth
#

LaZagne works! Still don't get why mimikatz didn't

fathom pendant
#

because i'm assuming you got the cmd running as admin before runas with <person>

split hearth
fathom pendant
# split hearth

but i can't answer why it's not working the way you think/want it to

split hearth
#

okk thanks anyway!

junior fjord
#

and try my hard to enumerate the windows

#

RDP really works

fathom pendant
#

i appreciate when you reply to a message completely unrelated to what you're saying

junior fjord
#

?

#

i taken RDP access to JUMP01 FROM DMZ01

#

via RDP ! now i have to go into FILE01

fathom pendant
#

congrats; i was more saying that the message you replied to regarding you telling me you got access had nothing to do with it

junior fjord
fathom pendant
#

that's not what i'm saying at all

#

what i'm saying is Don't reply to unrelated messages

junior fjord
fathom pendant
#

the message you replied to before had NOTHING to do with you, and was in response to a different user on a different section

junior fjord
#

ok sorry

fathom pendant
#

I suggest you keep digging around don't just jump to the discord for validation. Because it comes off as you just fishing around for hints to move forward. Gotta learn how to unstick yourself or move forward on your own

uneven obsidian
#

Module: Attacking Common Applications
Section: Application Discovery & Enumeration

I am facing issues with eyewtiness. the hostnames inside the /etc/hosts file and the web_discovery.xml is the output I received from the nmap scan
Does somebody know how to resolve it ?

eyewitness --web -x web_discovery.xml -d inlanefreight_eyewitness
Starting Web Requests (17 Hosts)
Message: Process unexpectedly closed with status 1

Finished in 1.82088041305542 seconds
[*] No report files found to open, perhaps no hosts were successful

fathom pendant
#

without knowing where it errored at (i think eyewitness as a verbose mode or debug mode) it's hard for us to tell you what's going on

uneven obsidian
#

okay thanks, i think it might be an arch issue because i am suing kali linux arm64

fathom pendant
#

try disconnecting from the vpn and trying the same thing on the pwnbox then ¯_(ツ)_/¯

#

basic troubleshooting 101

uneven obsidian
#

okay thank you so much 🙂

severe inlet
#

is anyone having a problem with the EU vpn? when i ping only one reaches and the rest don't

fathom pendant
#

have you tried changing vpn regions?

severe inlet
#

i tried chaning from UK to DE and still nothing works

fathom pendant
#

so UK/DE those are pwnbox regions, not VPN regions

#

at least if you're referring to HTB academy

severe inlet
#

oh you mean the ones above? i still tried changing it

#

i tried the one that says recommended which didn't work then i tried changing to EU 6

fathom pendant
#

when you change you have to download a new one. If you're using the vpn, you shouldn't be using the pwnbox at the same time

#

that will cause problems

severe inlet
#

i actually never noticed that the UK/DE thing is for pwnbox only so thank you lol

fathom pendant
#

start instance != spawn target

severe inlet
#

i think i should try the UDP vpn its been a while since ive used it

fathom pendant
#

tcp is generally more reliable

#

and works better with most tools

#

udp is generally better if you have bad internet

#

so higher rates of potential packet loss

#

but in short: you should not be pressing this button if you're using your own vm/machine

severe inlet
#

Thank you so much i think pwnbox was making the problems i actually never knew about having them both on at the same time that it will get me problems

PING 10.129.82.71 (10.129.82.71) 56(84) bytes of data.
64 bytes from 10.129.82.71: icmp_seq=1 ttl=63 time=103 ms
64 bytes from 10.129.82.71: icmp_seq=2 ttl=63 time=86.6 ms
64 bytes from 10.129.82.71: icmp_seq=3 ttl=63 time=117 ms
64 bytes from 10.129.82.71: icmp_seq=4 ttl=63 time=86.8 ms
64 bytes from 10.129.82.71: icmp_seq=5 ttl=63 time=86.2 ms
64 bytes from 10.129.82.71: icmp_seq=6 ttl=63 time=145 ms
64 bytes from 10.129.82.71: icmp_seq=7 ttl=63 time=119 ms

Now it works

fathom pendant
glacial remnant
#

Im working on "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." in the "Attacking DNS" section in the "Attacking common services" module.

So far im using the subbrute tool as suggested and found 4 subdomains so far. i tried querying them with dig and so far nothing that stands out as a flag. ive been running for ~20 min should i except it to take this long or am i missing something here?

fathom pendant
#

Attacking DNS isn't a module, it's a section in a module

glacial remnant
#

k, fixd

#

any other adivce? looks like the script just errored out after finding the four subdomains, so either something i need to check with the script or one of these domains have the answer though not finding anything after i dig each one

fathom pendant
glacial remnant
#

yep i put the IP there and after running for about 30 min it finally ended with

ProcessLookupError: [Errno 3] No such process

looks like it just tried to killproc so my guess is its just not ending gracefully

fathom pendant
#

give me one moment to sanity check you 👍

#

also make sure you're doing a zone transfer request on the subdomains you find

#

not just a blank dig request i.e. dig something.inlanefreight.htb @target_ip

glacial remnant
#

useful=the flag

#

thanks for the help

fathom pendant
#

np

rustic sage
#

im so lost in Password Attacks skills assesment. I gained access to hw* user but i cant get past that user. i have looked into every smb file on every share, look through the users desktop and i found a cred but that cred doesnt work anywhere

fathom pendant
#

LMAO i was messing around with libreoffice to open the xslx file that's from the protected file section kek some pretty great confidential info in there

#

as a note for everyone; if you're using pwnbox or parrot and are having issues opening protected files; just do sudo apt install libreoffice --reinstall --fix-broken that'll force it to fix any broken dependencies and reinstall libreoffice. I only really figured it out bc i was curious why i wasn't getting a pw prompt (and therefore couldn't open files)

severe inlet
#

Find another valid user on the target GitLab instance. (Attacking Common Applications: Attacking Gitlab Section)

Guys any help on this question? i tried xato 10 million and Names/names.txt for like 10 minutes each and nothing worked

low seal
quiet portal
#

"What host is running "Microsoft SQL Server 2019 15.00.2000.00"? (IP address, not Resolved name)" Please teach me this question

#

AD module

#

Initial Enumeration of the Domai

fathom pendant
#

they give you a jump host that has parrot installed to scan from

quiet portal
viscid epoch
#

Any tips on HTTP Response Splitting works on the use but nothing with the admin, the key steps are there 1. no location 2. header 3. script tried all kind of encoding https://academy.hackthebox.com/module/191/section/2056

Any tips appreciated, all variations seem to work for the user but not the admin, any hints of where is the catch

quiet portal
#

Is this channel the right place to ask these questions?

fathom pendant
#

if you want to sanity check a flag there's a few different ways i'm a fan of doing:
echo -n 'flag_here' | md5sum in your linux machine which will give the md5 hash of the flag with minimal risk of leaking it

quiet portal
#

👍

fathom pendant
#

another way is doing HTB{ab..90} (or if the flag isn't in HTB{} format, ab..90)

#

it's not particularly rare for you to have the right flag/answer but it doesn't accept, then you refresh the page and it accepts kek

#

sometimes it is a case of having an extra space or invisible character at the start/end

glacial minnow
#

hello, is anyone currently doing the password attacks skill assesment? i managed to obtain credentials to login to jump host and i was looking for assistance from there, i could help with previous steps

#

the catch with this lab is that there's no writeups/forum posts about the updated version

viscid epoch
#

Hey any tips on this one if you completed it

wild valve
#

but there is no target to scan ?

fathom pendant
wild valve
#

yes i just find it

#

thanks

fathom pendant
fathom pendant
#

if so; sharing is caring would be the hint

pulsar needle
wild valve
wooden bridge
#

Hey guys, what does grep -P do ?

low seal
waxen totem
low seal
#

see what other services are running on the machines

wooden bridge
#

I know that, I have read the man page and googled it

low seal
#

and if you can reuse the credentuals

fathom pendant
wooden bridge
#

Thx. I will have a look at that

fathom pendant
#

There's also the quick start guide that's just a good cheat-sheet

rigid anvil
#

I am beginner in here some body please give some course

compact patrolBOT
glacial minnow
noble current
rigid anvil
#

Can 0$ can some give 1 month redeem code

bronze wharf
#

hello guys , anyone know how to rdp to the windows target , Remote/Reverse Port Forwarding with SSH , What IP address is used on the attack host to ensure the handler is listening on all IP addresses assigned to the host? (Format: x.x.x.x) ?

wooden bridge
storm elk
valid gull
acoustic owl
forest tendon
#

Need Help ! guys i'm stuck at the task 3 of the module assesment for "Intro to windows CLI" , i've found the hostname for the user2 although i cannot seem to find the flag itself, i tried searching with this command for any .txt file containing the hostname "||where /R C:\ *.txt | findstr /i "ACADEMY-ICL11||"" still no luck

#

what should i do ? any clues?

forest tendon
#

anyone there to help?

valid gull
indigo roost
#

Need some help w/ Pivoting/Tunneling/Port forwaring, specifically ||w/ the SocksOverRDP section. When i copy the SocksOverRDPx64.zip over to the windows machine and extract it, the dll inside it disappears after a few seconds and im unable to load the SocksOverRDP-Plugin.dll with regsvr32.exe; it fails every time and keeps saying to debug/make sure its in the right directory, etc.|| Has anyone encountered this?

forest tendon
#

i might be the dumbest person right now ! Got the answer to the task 3 though ! xD

snow spoke
river epoch
#

Yo just finished the cyber security 101 path in tryhackme
Wondering if i should continue in htb and what to continue with

acoustic owl
upbeat solar
#

I so wish you could test out of sections of the path. I’m in this awkward intermediate-but-not-senior position, meaning I know plenty about basics and understanding them very well having to repeat them for their paths is challenging

cloud urchin
#

You will generally learn something even on the most basic modules

upbeat solar
cloud urchin
#

I haven't done that section yet. That said, if you have a password it's trivial to convert it to a hash, you can google "convert ntlm to hash" and find some online resource to do it I'm sure.

#

You'll have to be patient for someone to help. As it's a skill assessment you should probably also take it to DM's. I haven't done the updated module yet.

faint hamlet
#

DM

subtle bay
#

Do I need mathematics for programming and hacking, If so then what mathematics do I need? I'm totally beginner in this field so this is a question out of curiosity. Please be kind enough to answer my questions 🙏

#

Do I need mathematics for programming and hacking, If so then what mathematics do I need? I'm totally beginner in this field so this is a question out of curiosity. Please be kind enough to answer my questions 🙏

glad flicker
#

getting very frustrated. Idk why nmap thru proxychains is taking so long (Skills Assessment on Password Attacks)

at 0.90% done after 2 minutes. Scan no more complex than -sT even. (Have tried multiple different scans at different performance settings and they all make no difference, this same sub 0.5% p/minute speed no matter what

#

Have tried swapping from UDP vpn to TCP.

running -v I see a lot of these events during the scan attempt:

adjust_timeouts2: packet supposedly had rtt of 15015035 microseconds.  Ignoring time.
adjust_timeouts2: packet supposedly had rtt of 15015035 microseconds.  Ignoring time.
adjust_timeouts2: packet supposedly had rtt of 15015113 microseconds.  Ignoring time.
 
faint hamlet
glad flicker
#

I kind of want to diagnose what the issue is here though. If this happens during exam I'm probably boned

crimson leaf
#

Nmap over proxychains/tunnel is almost always temperamental.

glad flicker
#

3hr duration for nmap scan of a single host lol

crimson leaf
#

If you can just upload the binary or live off the land, that's always better

subtle bay
#

Do I need mathematics for programming and hacking, If so then what mathematics do I need? I'm totally beginner in this field so this is a question out of curiosity. Please be kind enough to answer my questions 🙏

glad flicker
#

And transfering the nmap binary isn't really the kind of luxury I expect to have very often

faint hamlet
glad flicker
#

the module expects you to be able to scan via nmap thru proxychains, so that's what I'm trying to stick to. I just wish it would, ya know, work :)

faint hamlet
subtle bay
#

@faint hamlet boolean algebra helps in low level and you said general mathematics is helpful in programming but it depends. Can you explain it in a bit details please.

glad flicker
sharp torrent
#

For the password assessment and connecting to rdp as h*, do i have to configure my krb5.conf file to connect properly through the tunnel ?

cloud urchin
sharp torrent
#

help would be appreciated.

#

for the password assessment i have h* creds and b* creds but stuck 😦

gray yacht
jolly oasis
#

I ran into the same exact thing so it's not just you!

fathom pendant
fathom pendant
#

also ligolo-ng is a great pivoting tool; it'll generally be more useful in terms of getting nmap to cooperate through a pivot than chisel/proxychains. (this is because it works at a different layer, so it allows TCP and ICMP traffic through)

#

also nxc can be just as valuable at enumerating through proxychains

#

but if you're gonna nmap through proxychains you'll need to add -Pn to the nmap command

glad flicker
fathom pendant
#

why are you so bent on using nmap to try and enumerate? and what are you doing with nmap to try and enumerate would be my question

glad flicker
#

I'm already long past it now (instead wrestling with system cannot find the path specified when trying to copy a .dit after shadow copy :) )

But I just wanted to get it to work because the module described it (and included it in its cheat sheet). So i just wanted to confirm for myself that I could get it going in a sane way, but can't.

fathom pendant
#

proxychains and nmap famously get along like oil and water;

#

also the proxychains bit is assuming you're using a pivoting tool that uses socksproxy/proxychains

sleek idol
#

Best ai for pentesting?

fathom pendant
#

AIs aren't fully at the level of autonomous pentesting just yet. But that's irrelevant to this channel. I suggest reading and following #welcome to access #general and other channels

clear seal
# sleek idol Best ai for pentesting?

AI is a tool, and why would you want to submit your critical and creative thinking to AI? I mean I get it. I use it to adjust a switch in commands here and there, but man…

fathom pendant
#

This is off-topic for this channel

fathom pendant
#

I prefer ligolo-ng as my pivoting tool, way more user friendly

#

Aside from that nxc is a hard carry

clear seal
#

I’m sorry, I’m dropping it as I said what I had to say about it. Just tired of everyone thinking AI is the end all be all with everything. It’s over rated.

fathom pendant
#

Lets try not to spoil things

clear seal
#

I love Ligolo.

#

It’s extremely useful to learn, and fun.

fathom pendant
#

have you connected to jump01 or is that what you're stuck on @rustic sage

clear seal
#

And way less frustrating than normal pivoting

fathom pendant
#

ah

#

yeah

#

here's my general hints for the different stages

#

also don't forget: the assessment briefing gives you the various internal IPs

#

cat << EOF > hosts.list
ip1
ip2
ip3
ip4
EOF

#

nxc <protocol> hosts.list -u <username> -p <password>

#

nxc is netexec

#

it's the replacement to crackmapexec

#

...netexec is gone over in the module

#

nxc is just the shorthand for it

#

if you're gonna do the dynamic port forwarding you'll need to set up your /etc/proxychains.conf or /etc/proxychains4.conf to use socks4 9050

#

and add proxychains to the front of the nxc command

#

generally proxychains -q to suppress the proxychains messages

#

proxychains -q [other command here]

glad flicker
#

finally done with that dang module

#

not sure I solved it in any of the intended ways or not but i got the admin hash so that's all that matters i can move onw ith my life

fathom pendant
#

i used a dump tool to get the secrets/hash, for instance

fathom pendant
#

jw

#

yeah the host itself can be included in the list of ips

#

yep it'll happen

#

well don't just stick to one protocol, try figuring out if there's a way to make it easier to parse. maybe remote access 😉

#

try nxc with other common windows protocols 😉

tough ravine
#

Does any one know a few machines i can take to test if i am ready to take the CPTS exam

hexed oyster
#

Chrome is frustrating me very much. that is all.

fathom pendant
hexed oyster
tough ravine
#

Bet thanks a lot

opal cape
#

i ask because using the breakpoint "b *0x11b0" does not work

glad flicker
#

but would say they were a bit overkill really lol

opal cape
bronze wharf
#

hello guys , anyone know how to rdp to the windows target , module: Remote/Reverse Port Forwarding with SSH , What IP address is used on the attack host to ensure the handler is listening on all IP addresses assigned to the host? (Format: x.x.x.x) ?

glad flicker
sacred ermine
#

anyone available to ask a question regarding NTLM Relay Attacks - Skills Assessment Q4 ?

bronze wharf
glad flicker
#

well the question you asked is concerned with the attack host so that seems a bit irrelevant in the immediate

gray yacht
glad flicker
# fathom pendant why are you so bent on using nmap to try and enumerate? and what are you doing w...

Now that i'm less frustrated I have a clearer way of answering this.

It's just the way I learn really. I want to familiarize myself with the given tool (in this case, the combo of proxychains + nmap) to the point of not feeling like i have unanswered questions about it. Being able to sidestep it or use a different tool doesn't achieve my personal learning objective. It might sound kinda silly, but just how I operate with such things.

gray yacht
bronze wharf
bronze wharf
gray yacht
bronze wharf
gray yacht
rustic sage
#

yo

#

can someone teach me how to hckkk

#

?

quasi wave
#

hi guys I am trying to crack this password for the LLMNR / NBT-NS Poisoning Section - Linuxof AD Enumeration and Attacks module and the exact command to crack the password won't work. This is for the section question in the section. I think the file I am using is not formatted correctly.

#

Can someone help me correct the file?

#

its a formatting issue I think

compact patrolBOT
gray yacht
gray yacht
quasi wave
#

@gray yacht hey can I DM you and maybe we can chat? I don't know how to get any more specific with my question without spoiling.

cloud urchin
rustic sage
#

ok

gray yacht
quasi wave
gray yacht
quasi wave
#

I think there's some stupid formatting detail I'm missing

quasi wave
cloud urchin
#

SMB is just a file share. If you upload a file to the file share and then run the binary, the binary will run on whatever machine you executed it on.

#

Not sure what you mean really. NetExec will execute commands on the remote machine.

#

it's better to just say which module/section/question you're on rather than random questions

#

in that case best to take it to DM's if you need a nudge as that's a skill assessment

#

i haven't done that so i can't help

glad flicker
#

Seems like this module makes up the vast majority of requests for help lol

waxen totem
gray yacht
#

You can send a DM if you are stuck here. I actually just pushed out a netexec video today. It might help you.

faint hamlet
# opal cape hey in Attacking Applications Connecting to Services, after running octopus_chec...

The difference is there because that binary has not started running yet. 0x55* address is the full address the binary got allotted while 0x11b0 is relative address to base address.

b *0x11b0 should have worked. You can also try b*main+some number, you can see that when you disassemble the binary.

If you want to do b *0x55*, do b *main, then run and then disassemble to see the full address.

waxen totem
#

They're two different tools alltogether, while yes there's some overlap, especially in the case of SMB because SMB communicates through RPC, they're not used for completely the same purpose.

dapper mason
#

sqlmap essentials, attack tunning question 2 any one willing to point me in hte right direction ?

fickle thicket
#

Does anyone knows whether signal strength plays a huge role in determining the success of KARMA/MANA attack? will the karma/mana attack fail if the rogue AP has weaker signal than the legitimate AP?

fathom pendant
#

There's a tool showcased in the module to help enumerate shares. There definitely is a file thats useful that you may have overlooked

#

To add on, the desktop comment is to do with the found file

#

@trim bough Even with spoiler text I encourage you to redact things. But i am telling you: ||sharing is caring|| <-- this is the hint to move forward

#

As i have settings to not show the spoiler blocking (on desktop), and anyone can enable/disable that setting

#

There's a reason I redacted info in my general hints

#

My redaction in my initial h* was the username, not the sharename

spring kindle
#

./

trim bough
#

But nonetheless, thank you for helping out 🙏

fathom pendant
#

But there's tools to help enumerate shares showcased in the module

trim bough
#

Yup, I am looking into that now.

#

Thank you

fathom pendant
#

Also you're generally not gonna find online information for the module because:

  • the module was updated
  • any writeup or guide of the module is against ToS
  • the forums are being axed
#

Nope

#

It's in one of the credential hunting sections though

silent ivy
fathom pendant
#

If you find a website/video that's spoiling content/breaking the content guidelines you can report with /spoiler

#

Make sure to tap the hackster /spoiler one

trim bough
fathom pendant
#

It even categorizes the findings

trim bough
#

And I assume I need to run on the file01 host right?
But I do not have access to that machine

#

And I also did try running the tool on JUMP01, it could not find anything

fathom pendant
#

You don't have to run it on FILE01, the tool enumerates shares available to the user.

silent ivy
#

No.

past glen
#

🙈

silent ivy
#

And to be clear, no one on this server will. This is an educational platform, if you're not here to learn, its not the place for you.

wooden seal
#

is there anyone who knows alternative for mimikatz (like pwdump or something)?

cloud urchin
#

which module and section is this about

icy egret
#

I love LaZagneeeeeee. Thank you for the support. I did it.

icy egret
wooden seal
icy egret
#

which section are you in?

mossy totem
#

Hello everyone. I stuck at the last part in Skills Assessment - Password Attacks. I can get every host's administrator NTLM hash but they look like local administrator. How can I get domain administrator?

stone zephyr
#

anyone able to give some pointers on 'credentialed enum - from linux' (the ad set) struggling with bloodhound a bit

shadow latch
#

NTLM relay on SMB only works for adminsitrator accounts?

junior phoenix
#

I’m using my laptop on windows with CMD terminal and Linux
subset . Can’t get the dancing on penetration basics to work on WiFi and I don’t want to be on wired connection. It just sits there

#

Sudo is turned on

#

Even tried unprivileged

brave niche
#

Did u find out ??I don't understand what is required here

flint palm
#

Guys hello in Linux Priv Escalation in Python Library Hijacking section which file should be modified can someone explain?

#

The question in the module is explained in a quite weird way I to be honest can't understand which file I have to modify and how

ember dune
#

COMMAND:
bloodhound-ce-python -d dc01.tomwatcher.htb. -c All -u henry -p 'H3nry_987TGV!' -ns 10.10.11.72 --dns-timeout 15
INFO: BloodHound.py for BloodHound Community Edition

Traceback (most recent call last):
....................<REDACTED>
File "/home/kali/.local/share/pipx/venvs/bloodhound-ce/lib/python3.13/site-packages/dns/resolver.py", line 764, in next_nameserver
raise NoNameservers(request=self.request, errors=self.errors)
dns.resolver.NoNameservers: All nameservers failed to answer the query _ldap._tcp.pdc._msdcs.dc01.tomwatcher.htb. IN SRV: Server Do53:10.10.11.72@53 answered SERVFAIL

getting nameserver error while solving tomwatcher.htb (already got user flag but stuck now). can anyone help me out!

rotund scarab
#

Hey, i need some help with a module relating to privesc, i started ssh with user1, moved to user2 and got the flag, now am not sure where to go in order for me to get to the root flag, any help?

spring viper
hallow folio
#

Alright this one is making me feel stupid. Im doing the footprinting mod and im in the snmp section. I am looking at /usr/share/flag.sh with my eyes. But I have no idea how to get it onto my machine or how to run it remotely and receive output. And after Google searching for 2 hours im clearly the only person to have ever had this issue. Any nudge would be appreciated.

hallow folio
junior phoenix
forest tendon
#

Any one who just completed the windows cli module? #windowscli

#

I completed the skills assessment with a few holes in my skill set, where should i go from here? any suggestions?

fathom pendant
forest tendon
#

Thanks for the suggestion bruv, i'll work on AD soon as well, and by holes i mean usage of powershell in basic scripting while utilizing loops like foreach-object and a good understanding of variables in powershell.

fathom pendant
#

Thats just something you practice and get good at, it's not really something you can just read and immediately get

meager phoenix
#

hi, im working on the footprinting module medium lab and ive managed to mount the share and get alex's credentials. was wondering how others were able to connect the dots and use these credentials for RDP? Was unsure what to do with them before checking some forums/guides online

indigo roost
#

Am stuck on the skills assessment for pivoting/tunneling/port forwarding. ||For Q3, im fairly certain that we should need to nmap the other subnet to find the other IP. I tried doing a ping sweep but the shell just failed a bunch and it never worked. We can't use the mlefay user creds yet until we get to presumably the next pivot host. What am i missing here?||

fathom pendant
meager phoenix
fathom pendant
flint palm
#

Guys hello in Linux Privilege Escalation who has completed the sudo?

#

I am trying everything and nothing works

olive niche
#

Can anyone teach me how to hack?

forest tendon
#

study!

#

start with tier 0 on htb

compact patrolBOT
fathom pendant
#

@olive niche ^

knotty hamlet
#

Hey folks! Probably a basic question but i'm a bit too sleep deprived to grasp maybe.... i've been trying to use xfreerdp for getting through some of the intro to windows and other courses but it rarely seems to stay open? It connects, but then closes seconds later and I cant for the life of me understand why. I've tried in the pwnbox and my own setup and get the same results

olive niche
fathom pendant
fathom pendant
olive niche
fathom pendant
#

that's why i said start from the beginning, the basics

olive niche
knotty hamlet
olive niche
#

When i click on like ''spawn machine'' it says ''Error!

You already have an active instance'

fathom pendant
#

don't put yourself down my guy, around this same time 2-3 years ago now i didn't even know what NMAP even was/did/for

fathom pendant
olive niche
#

o

olive niche
fathom pendant
#

well to be more specific, the "you already have an active instance" is very much more specific to the main labs site, the academy has a "smarter" method, it terminates any existing lab running for you and starts a new one

fathom pendant
#

if that is your end goal, then this server isn't for you.

olive niche
#

I just want to stop them, and protect myselfs and stuff.

fathom pendant
#

If you read #welcome it contains instructions on how to link your account in order to access more of the server

fathom pendant
#

it's not a thing where they just guess your password and they're in.

olive niche
#

ik.

fathom pendant
#

also if you have proof of them admitting to these things you can report them to discord lol

#

but this is veering heavily off-topic

#

if your only goal is to learn how to protect yourself, learning hacking really isn't the way. It's just general internet safety:

  • Don't trust random files sent to you
  • Don't trust any bit of urgency from random people
  • Don't join random discord servers that have you sign in to discord off-app
olive niche
#

I want to HACK HACK, not in the bad way. But good way.

fathom pendant
#

but as i said, this is veering off-topic of the channel; you can link your account via the instructions in #welcome and gain access to more channels

#

such as the starting point (#starting-point) channel, which are sets of machines that have guides and are free to learn with (even if they may be a bit outdated)

#

don't spoil modules above tier 0 @flint palm ;

#

i suggest utilizing gtfobins to help solve your issues

flint palm
#

I utilized already and still no way

knotty hamlet
#

@fathom pendant Follow up to the freerdp item. Still not opening and giving me connection failed errors now.... should I just switch over to using remmia or something else? A bit confused why its not working since the module specifically shows freerdp getting used

fathom pendant
fathom pendant
olive niche
#

I think im hacked.

#

I heard voices in my headset.

fathom pendant
#

or a game running that just had a random audio

olive niche
flint palm
#

possibly it is white noise such things happen or some video

olive niche
fathom pendant
#

yes, fortnite does sometimes

olive niche
#

No, not when u turned voice chat off.

fathom pendant
#

either way

#

it's irrelevant to this chat

mighty valve
#

hey guys, im stuck on the skills assessment for web services and api attacks, i have my soap request made but cannot get the sql injection. would appreciate some help

fathom pendant
#

Pull the file to your own machine, web shells are notoriously finicky

#

Deleting the messages btw, even though you're using spoiler text you should still be redacting information. Seeing as anyone can click on the spoiler text and read it. It's why I try and be vague enough to point forward

#

Also ww* isn't the user to ssh as

#

Hint: what /home/ are you in?

indigo roost
fathom pendant
indigo roost
#

WOW WE ARE SO BACK IN BUSINESS we are ssh'd thx a bunch for sticking with me

fathom pendant
indigo roost
fathom pendant
indigo roost
#

odd that it works in the academy "labs" but not here

fathom pendant
#

? Proxychains doesn't generally forward icmp (ping) requests

indigo roost
#

tcp connect scan shows it'll take 3hrs 🔥

fathom pendant
#

There's other ways to check (from the host)

indigo roost
#

how so

#

||should i like send an nmap binary to the remote machine and scan there||

fathom pendant
indigo roost
fathom pendant
#

Google "bash ping sweep" though I'm sure its covered in one of the sections

fathom pendant
indigo roost
#

BAHAHAHA THAT WAS INSTANT

ornate gazelle
#

Hey everybody!
I have got an unusual question I guess, it's about note-takinga

I take modules in obsidian as Md format and start highlighting what I think is important, type notes beside, etc...
but I feel like say I wanna get back to that at some point it might feel difficult after progressing far in the path for example

but then when I make a seperate file for just note taking, I struggle to find what to type there.

anyone got any tips for note-taking in general through the modules?

indigo roost
#

web sucks

indigo roost
#

i leave a callout at the root of each heading with a tldr statement abt important stuff as needed

fathom pendant
fathom pendant
#

Definitions should be verbatim ofc

stone grotto
#

hey what should we learn to start htb

compact patrolBOT
fathom pendant
#

The general skill floor for htb "easy" is fundamentals and research skills

stone grotto
fathom pendant
#

The best way to start is just to start

night oak
night oak
fathom pendant
#

I'm not trying to fear monger

#

And it's off-topic for this channel

stone grotto
#

wdym by just start you mean like just learn by myself from tier 0

stone grotto
#

Thanks for helping me

night oak
fathom pendant
#

Also using writeups for retired machines isn't inherently a bad thing. It's when you start relying on them that it becomes a problem

tiny oriole
#

Hi guys, after failing oscp few times, will cpts module be a helpful one before next attempt?
I feel lost and don't know which area of knowledge I should improve.

wintry fossil
#

Hi, I don't know if anyone can help me. I'm trying to log into my Hack the Box account, and when I enter valid credentials, it tells me "We think you're a bot, please resubmit the form." It's repeated several times.

storm elk
#

Some extensions get marked as being a supposed bot

fathom pendant
#

but that's a question more for #careers-and-certs (and you can look for they keywords OSCP and CPTS there)

wintry fossil
storm elk
#

Might wanna contact support to troubleshoot

wintry fossil
#

I was thinking about that, thank you very much for your time and help.

next musk
#

So i know this migh be a dumb question

#

Analyzing Evil With Sysmon & Event Logs , im trynig to run the reflective DLL hack lol

#

and when i try to move calc it says i need permission from the trusted installer

#

I got it to work yesterday but im not sure how

tiny oriole
next musk
#

you and me both brother lol, someteimes computers make us feel dumb as hell

fathom pendant
#

Failures are all in how you approach the problem

next musk
#

the only advice Ill ever give is, once you know how to do something, it was always a simple fix , you just didn't know where to look

fathom pendant
#

It's why I'm always in favor of documenting when you run into errors (even user ones) and how you resolved them

next musk
#

when i started help desk it was all scary and new, and then even the hardest shit you just needed to know where to look and what to do once you got there

sullen wind
#

so im in the user management section of the linux fundamentals module and one of the questions is "Which option needs to be set to create a home directory for a new user using "useradd" command?

I know the answer but i dont think anything in this module has gone over that option.

Are we expected to just google these questions if we dont know?

tiny oriole
fathom pendant
#

whether it's some simple fundamental understanding of the issue, or some command syntax that makes you go "oh, duh"

next musk
#

Lol, like for some reason im stuck trying to get reflective dll to override calc and its not working =[

#

I literally googled this and not even getting the same questions as other people

stone grotto
#

Hey I just used yt to complete meom that's not bad right ?

next musk
#

Like most computer problems, Im now watching a youtube of someone speaking a completely different language 🤣

#

lol what the hell

#

I had to move the dll to the desktop, copy the calculator to that, put the dll into the recycling bin and pull it out ? makes no sense

fathom pendant
#

my best guess is that the "trusted installer" is because you're trying to move it somewhere "protected"

#

but i haven't done that module so i couldn't tell you

next musk
#

I thought for some reason you couldn't copy it from sys32 but had to move it

#

but copy worked, you just had to move the DLL to recycling bin then bring it back to desktop and then it overrode the calc.exe on desktop, dunno why

fathom pendant
#

likely something with windows updating things when you move files

knotty hamlet
fathom pendant
knotty hamlet
#

I did haha since it specified "tech difficulties" - I was unsure if something was truly broken

#

it could 1000% be user error

fathom pendant
#

well, next time "technical difficulties" would be more appropriate if the error is in the pwnbox as well

knotty hamlet
#

Duly noted

#

thank you!

reef sonnet
#

in the module AD enumeration & attacks in Kerberoasting - from Linux
do i need to find valid creds by myself to launch GetUsersSpns.py or i am missing something

fathom pendant
#

the general syntax is GetUserSPNs.py --dc-ip <insert-ip> domain/user (it'll prompt for a password)

#

you'll need to statically compile chisel

reef sonnet
fathom pendant
#

yeah and the target system doesn't have that same glib

fathom pendant
reef sonnet
fathom pendant
#

i believe you can add the --static flag to the build

#

took a few seconds to find using ctrl+f

flint palm
#

guys when make is not found and you can't install it with what i can be replaced?

odd scroll
#

Academy > Job role path > PT path > getting started > Privilege escalation

The First mission is connecting through ssh to user1 with password1
I used
"ssh -i key user1@83.136.253.59 -p 41730"
and it ask me for user1 password, and its worked!
how really howwww it worked?
For this command work means my public key must be at the athurized keys file on the victim machine ,
I never do something like that before, I never put my pub key to there, so who did?
and I hate just to solved rooms without understand the logic behind
Please someone help and tell me what's going on

fathom pendant
odd scroll
#

oohhh

fathom pendant
#

public key authentication should not prompt for a password (unless the private key is password protected, otherwise it'll ask for the pw to the private key)

odd scroll
#

But. why when I used simple command like "ssh user1@83.136.253.59 -p 41730" without "i key" he let me nnly "yes" or "no" and when I choose "yes" he said the key not good, means he didnt let me even try password
only when I use "i key"

fathom pendant
#

if you provide a private key here's the flow:

  • it checks if the private key matches the public key in the authorized_users file
    • if that succeeds then you're good
    • if it fails -> if the settings allow, it'll fall back on password authentication
      • if password auth isn't allowed then it gives you the error with the authentication method
odd scroll
#

In my case the key fall under Permission denied (publickey), and not fall back on password authentication , just
Permission denied (publickey) @fathom pendant

fathom pendant
#

i was able to log in just fine with user1 @odd scroll

odd scroll
#

like this? "ssh user1@83.136.253.59 -p 41730"

crimson leaf
#

is SSH on port 41730?

flint palm
#

Very cool thing in Linux Priv Escalation Sudo section on half of targets I can't cd I don't see where I am moving and where I am. Command make doesn't exist and as I am not root I can't install it. On several targets even ls wasn't working

fathom pendant
#

it didn't fail on me

odd scroll
#

thanks ok

shut lintel
#

On what do password recovery functionalities provided by web applications typically rely to allow users to recover their accounts?

odd scroll
#

good to know

fathom pendant
#

and what section

shut lintel
crimson leaf
shut lintel
#

incorrect answer!

crimson leaf
#

remove the s

shut lintel
#

yo

#

thanks

fathom pendant
runic rampart
#

Hi everyone!
I’m working on an Android application static analysis challenge and I’m a bit stuck. There’s an APK file inside a ZIP archive. The task is to analyze the APK and find out what the value of the "message" key is after logging into the remote service using the debugging code.

Could anyone please give me some advice or point me in the right direction?
Thanks in advance!

odd scroll
#

I got user2 flag
but I stuck with root's flag mission
I read about Enumeration Scripts but there is no way out to WAN from HTB box, I should download "LinEnum" tool localy? to my machine? and use it?

fathom pendant
#

but i suggest seeing if user2 can see anything they're not supposed to before running an enumeration tool like LinEnum or LinPeas

odd scroll
#

what is scp? 🙄

fathom pendant
#

secure copy; it uses ssh to transfer files

odd scroll
#

wait wait I think I'v got it

fathom pendant
#

well the bash history of user1 isn't that important for user2

odd scroll
#

No I dont

odd scroll
#

I turn back to read the module 2-3 times!

#

looking for hint

fathom pendant
#

i believe the section may refer to hidden files

odd scroll
#

hidden files hmmm 🤔

#

I remember something like that

#

But it was about web server

fathom pendant
#

you had a right idea regarding the -i option

odd scroll
#

that is the moment I start to sweat and my mouth is dry

#

-i option?

fathom pendant
#

-i is for an identity file (like the id_rsa file)

#

ssh -i id_rsa username@host [-p port]

odd scroll
#

I will try

#

what happened to me right now?

#

Connection closed? I did something wrong? 🫣 Or just the time pass.. and I need to refresh ?

icy ibex
# odd scroll

The reason is due to the other host closed the ssh connection.

odd scroll
#

Just because the time passed right?

fathom pendant
odd scroll
#

ok

icy ibex
#

What can I do if I'm stuck in one machine?

#

Like artificial.

crimson leaf
fathom pendant
icy ibex
#

It says to the link "No Access"

fathom pendant
#

lol caught it before you typed it out, see the message just above

icy ibex
#

Still, "No Access".

fathom pendant
crimson leaf
#

Your account isn't linked yet

fathom pendant
#

you'll need to link your account :)

icy ibex
#

Okay, that makes sense. thanks.

fathom pendant
#

soon.tm (like within the next couple weeks) they're revamping the account link process

icy ibex
#

Why??

#

Just done it, bruh.

crimson leaf
#

Probably to make it easier, lot's of people don't do it/don't realise how to do it

fathom pendant
#

rn it's just a button that looks pretty

crimson leaf
#

I didn't even realise there was a button for it on that page

#

Had enough problems, just getting the work account linked

rustic dew
#

Does anyone here have any solutions for pth with RDP? xfreerdp version 2 is not available on newer kali machines, and it doesn't look like there's a straight forward way to install it, and xfreerdp3 is absolutely awful, I've not been able to connect to any machines using it, with or without pass the hash?

odd scroll
#

Is there enough information in the module itself to guide me to the solution?
reading the module thoroughly actually lead me to the solution?
for example, in the case of SUID the only time it's mentioned is as part of the output from a script (LinPEAS), but there's almost no explanation or focus on what SUID is or how to use it for privilege escalation.

I just want to understand if I expected to recognize this on my own from external knowledge, or was there supposed to be a clearer hint inside the module?

Because I considering to read it all from the beginning the fourth time thanks a lot 💗

narrow mist
fathom pendant
#

You don't need to exploit anything to move forward. Consider that user2 may be an administrator of some kind, and can see a file in /root/

odd scroll
#

ok I will go in this way, Linpeas i mean

#

I saw the flag

#

but when I want to read it with cat

fathom pendant
odd scroll
#

it ask for password for user2

#

I thought this is the "hidden" we are talking about LOL because I didnt mannage to see it with user1

odd scroll
fathom pendant
odd scroll
#

la -a you mean

#

ls -a

fathom pendant
#

So the .ssh/ directory would be a hidden directory

#

.bash_history,.bashrc

odd scroll
#

OMG RIGHT

flint palm
#

Guys if anyone can guide me how to pass linux priv escalation sudo section please dm me

fathom pendant
pulsar needle
#

Easy just do sudo -l and when you see something, look it up on GTFObins

flint palm
#

have done many times

fathom pendant
#

the user's password, yes

flint palm
#

yes and when I enter user's password tells me sorry it is incorrect

fathom pendant
#

"sudo rights abuse" section yeah?

#

or which section specifically?

flint palm
#

no just SUDO

#

0 days

crimson leaf
#

Sounds like you aren't using the right password

fathom pendant
pulsar needle
fathom pendant
#

use one of the methods described

crimson leaf
fathom pendant
flint palm
#

make command is not working on machine so I going to compile it and transfer

#

on target machine

odd scroll
#

First of all thanks! I managed to read the private SSH key for root eventully
But I only did it because the hint you gave me, and because you helped me.
I'm really grateful for that first of all
but what I want to say is that I feel kind of disappointed from myself Honestly, I’m even a little sad Frustrated.

because this is something I should have figured out on my own.
At least, I feel like I should have had the intuition to try checking if I could peek at root's private key.
Isn’t that supposed to be an instinct?
or am I too hard on myself?

And sometimes I have this moment of confusion like:
"Wait... where even am I right now? Hold on a sec..."
I'm on my host machine > running VMware > inside that I have Kali Linux > inside that, I'm connected to HTB with box with VPN > SSH (with IP and port).
Inside that, I'm logged in as user2 from user1
And now I'm trying to SSH again as root from within there?!
I’m basically in SSH inside SSH inside SSH inside SSH.
And I just feel totally disoriented.
I’m really sorry if this isn’t the right place to share this, and I know I’m writing a lot but my pont is I should feel like that?
I want to use this Discord and this community to ask about these feelings if its OK and natural to have these struggles in this profession.

Is it natural to feel like this?
Is this a normal part of the learning process?

fathom pendant
fathom pendant
flint palm
#

I read the very last example and found what can be executed as root but when I try to do it I am asked for password and even have entered b and c and other things but still no shell

fathom pendant
flint palm
#

yes

fathom pendant
#

also make sure to specify the full path

flint palm
#

yes there was a full path I user whereis command to find a full path

fathom pendant
#

typically to find the full path which binaryname

#

i.e. which sudo

fathom pendant
#

try copying/pasting the password again

#

tried again without specifying the full path and it also worked just fine

ivory flame
#

Hey, guys. Does anyone here tried doing Windows File Transfer Methods from WSL especially during the RDP question?

flint palm
fathom pendant
flint palm
#

aaaa

fathom pendant
#

@sharp torrent redact usernames better, even behind spoiler text

#

consider that anyone can click on the spoiler text (or just disable it in their settings)

sharp torrent
#

sorry about that i'll edit the question.

flint palm
#

ok I am pressing b and it just types b))))

#

aaa lol

fathom pendant
flint palm
#

got it

#

hehe

fathom pendant
#

basically spray protocols whenever you get new credentials

flint palm
#

b was for return )))

#

Thanks Marcie

odd scroll
#

Your opinion matter for me

fathom pendant
#

and then when the answer turns out to be "simple" you get even more frustrated in yourself because you feel like you somehow should have known that

pulsar needle
fathom pendant
#

my message (in context) is if you have the user:pass credentials of another user: spray with a tool like nxc (which allows you to test multiple hosts at once) to see if maybe nxc tells you pwn3d! for something like rdp or winrm, which tells you the user has admin access

alpine ingot
#

the attacking gitlab section for attacking common services is not finding the user even when using xato and the provided scripts.

pulsar needle
glad flicker
# fathom pendant my message (in context) is if you have the user:pass credentials of another user...

there's another problem where once you've done enough CTFs / boxes on platforms like this and get kind of wise to what you're likely to be able to "get away with" and what the box's creator is likely to have thought of to stop you doing that, you get a bit lazy. "surely root won't be accessible, so I'll just look somewhere else".

So there's a lesson in there about being really disciplined with your enumeration because you just never know what simple thing is actually available. Especially if a module teaches you a bunch of more complex concepts and you trick yourself into thinking you need to execute those, when the easier concepts will suffice

alpine ingot
#

ok im seeing that people trying the attacking gitlab module are saying its 7 MILLION users into xato..

odd scroll
fathom pendant
#

the feelings are legitimate; it's all in how you choose to learn from those feelings that matters. You can sit in the feelings of self doubt or see it as just another thing to keep an eye out for in the future

frail grove
#

Stuck on Pentest role path module "Writing Custom Wordlists and Rules - Finding Marks Password" I even tried the walkthrough and it didn't work. Originally I tried creating my own custom wordlists based off the information provided and custom hashcat rule list. Still couldn't crack the hash.

fathom pendant
#

you'll need to create your own custom hashcat rule for this

#

consider the year and common endings; bonus points for taking into consideration other information about the password complexity requirements

odd scroll
frail grove
fathom pendant
#

i mean for some people yeah

fathom pendant
ivory flame
#

Upload the attached file named upload_win.zip to the target using the method of your choice. Once uploaded, unzip the archive, and run "hasher upload_win.txt" from the command line. Submit the generated hash as your answer.

Has anyone done this part in the Windows File Transfers part of the File Transfers module? I cannot get the RDP to work

quasi wave
#

hi hashcat isn't working for the section I'm on. this is for the LLMNR/NBT-NS Poisoning - from Linux section of AD Enumeration and Attacks

#
┌──(kali㉿kali)-[~/Documents]
└─$ hashcat -m 5600 backup2.hash /usr/share/wordlists/rockyou.txt -O
hashcat (v6.2.6) starting

OpenCL API (OpenCL 3.0 PoCL 6.0+debian  Linux, None+Asserts, RELOC, SPIR-V, LLVM 18.1.8, SLEEF, DISTRO, POCL_DEBUG) - Platform #1 [The pocl project]
====================================================================================================================================================
* Device #1: cpu-sandybridge-Intel(R) Core(TM) Ultra 7 155H, 708/1480 MB (256 MB allocatable), 2MCU

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 27

Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Optimizers applied:
* Optimized-Kernel
* Zero-Byte
* Not-Iterated
* Single-Hash
* Single-Salt

Watchdog: Temperature abort trigger set to 90c

* Device #1: Not enough allocatable device memory for this attack.

Started: Sat Jun 28 17:13:52 2025
Stopped: Sat Jun 28 17:13:53 2025
alpine ingot
#

I figured out the attacking gitlab thing, its the ||cirt wordlist||.

quasi wave
#

I tried updating and upgrading kali

#

it will won't work even if I use -O

#

I have a laptop with a fuckton of memory should I allocate more to kali?

glad flicker
#

how much ram are you giving it

quasi wave
#

2048MB so that's like very little GB

alpine ingot
quasi wave
#

settings has RAM slider greyed out

fathom pendant
#

RAM slider will be greyed out when the vm is in use

#

you can't "hotswap" (adjust on the fly) the RAM

quasi wave
#

right I turned VM off

#

but its still greyed out

steep forum
#

Does it normally work?

quasi wave
#

ok just adjusted RAM

#

now turning VM back on

#

yep that fixed it

#

hashcat is running I think soon I will get the hash

frail grove
#

Is there a way to transfer a file to my PwnBox from my PC?

quasi wave
#

yep hashcat cracked it a minute ago got the flag

steep forum
fathom pendant
fickle siren
#

if we use cubes to purchase the detection & opsec cyber range, does this mean we get continued access to the cyber range indefinitely?

#

as opposed to using cubes from the subscriptions

fathom pendant
#

i'll let you in on a secret, they're the same cubes

#

modules unlocked with cubes are yours indefinitely

junior fjord
#

Hello, 👋

I successfully gained access to JUMP01 in skill assessment of password attacks !

But after doing enumeration and all I still stuck !

Please help 🙏

fathom pendant
full echo
junior fjord
#

Like in FILE01 there is a file ________.xlsx ?

fathom pendant
#

well if you have the h* user, an enumeration tool can be useful

runic rampart
sudden owl
#

both my machine and pwnbox cant ping my target

#

what do i do? i restarted my vpn and even changed it i cant fix it on my part let alone the pwnbox itself

cloud urchin
#

omit the port when pinging

fathom pendant
#

well i see the problem now

#

but you shouldn't be running your own machine and the pwnbox at the same time.

the issue isn't vpn related though, as that target is a public_ip:port; so the scope is gonna be the given ip:port

sudden owl
#

Yes i just tested it

#

If it can ping on the pawnbox too but my other problem was i cant open it on web

fathom pendant
#

well does the question for the section give you any directions?

#

Also to visit in the webpage you have to specify the port as http://ip:port

#

(If it's running as a web server)

sudden owl
#

Its just white page

#

This is the last stage in web request

fathom pendant
#

Well it'd be helpful if you told us the module and section you're working on

sudden owl
#

For crud api

fathom pendant
#

Does the question tell you to visit an /endpoint or perform tasks?

#

Ah the CRUD api, you won't be interacting much with the browser then

sudden owl
#

Ah i see alright

fathom pendant
#

I suggest following along with the section examples

#

This section is all about interacting with the CRUD (Create, Read, Update, Delete) api

#

And generally api interaction is done via command line (or tools a dev made for it)

sudden owl
#

Yea thats why when i checked it on browser it was empty and i also cant ping it even tho in the previous "stages" i could even with port i panicked a little

#

Because pwnbox cant also ping it

fathom pendant
#

i wouldn't necesssarily worry too much if it doesn't respond to pings

#

the section shows you specifically how to interact with the machine

autumn pilot
#

Pinging the IP address of the docker container is not actually the way of verifying your target working

#

To have a better understanding if it is working you can either:
a) Visit it through the browser depending on the module/section
b) Do banner grabbing with netcat or other tools

#

The types of targets (VM or Docker) have been explained in the Intro to Academy module

languid verge
#

Hii

cloud urchin
# languid verge Hii

Hi, welcome. Please read the #rules and follow the instructions in #welcome to gain access to other channels like #general where you can say hi, etc. This channel is dedicated for discussion of the various modules on HTB's Academy platform.

junior fjord
junior fjord
fathom pendant
#

sharing is the key word

junior fjord
noble kestrel
#

Is there a troubleshooting section here? I'm trying to follow aa hack the box module, but I keep getting connection errors within the lab and then I run out of time and can't connect to the instance because I've used it. Help?

cloud urchin
#

you can ask for module help here. your issue sounds connection related. are you using the pwnbox, the vpn, or both?

full patio
#

Hello! I'm working on https://academy.hackthebox.com/module/147/section/3714 - Password Attacks - Attacking Windows Credential Manager

I've got mimikatz running ||(having bypassed UAC)|| as per the module info, however when I run it to dump creds using sekurlsa::credman, I don't see anything for OneDrive 🥺

Am I missing something here?

crimson leaf
#

@full patio What user/level of privilege are you running mimikatz as?

full patio
#

🤦‍♂️

crimson leaf
#

Aha, it happens. Figured something like that may have been the case 🙂

junior fjord
#

Hey using ligolo is better because till now I am just using proxychains and ssh to do remotel for forward ⏩ or DYNAMIC port forward ⏩

#

And I found thses esay, because, i think ligolo want go language on system to run properly, which is not available in most of the cases,

BTW :- In PENTESTER PATH HTB also don't teach ligolo-ng into its port forwarding and pivoting module ! 😁😁😁😁

rustic sage
#

Are u asking or telling? Are you in favor of ligolo or opposition?

frozen mesa
#

Bloodhound module --> assessment, last question: Find the percentage of users with a path to GLOBAL ADMINISTRATOR. Submit the number as your answer (to two decimal points, i.e., 11.78).
Found users is 13, one without path but that does not work. ANyone a nudge?

marsh galleon
#

Hi

junior fjord
rustic sage
#

I currently have a ligolo double pivot running in background lol.
Absolutely recommend it

#

I haven't looked back ever since I started using it

junior fjord
rustic sage
#

Not sure. I don't remember it having any dependency problems at all

#

Even works fine on whatever target HTB gives

junior fjord
#

OK 👌 then it's looks like good deal to learn this tool

obtuse wing
sharp torrent
#

Anyone available for a nudge on credential hunting in network shares? I’m using manspider and only found non working creds. I’ve used the reading material search keywords with no success. I’m trying to answer the second question in the lab. Any tips or nudges would be appreciated.

obtuse wing
gray yacht
dim reef
#

Hello there! I am trying to start learning using HTB Academy. I am unsure where to ask, so please be kind :)

So, i am at the Linux Fundamentals Module and right now trying the "System Information" Section. I need to connect to a target using ssh, but it does not work. I am using the vpn, i can ping the target, but using ssh just gets stuck and nothing happens. Some time later i get the message connection closed by [Target IP]. On the pwnbox i can connect, but i do want to use my own VM, as i am more familiar with Kali Linux. Did someone encounter the same issue?

fathom pendant
#

change vpn regions, ensure you're not using the pwnbox at the same time

dim reef
#

Okay i tried that, same result. The pwnbox is not running.

fathom pendant
#

also ensure you don't have multiple vpn processes running

dim reef
#

Ah okay, changing the protocol from udp to tcp solves my issue. Just in case, do you know why that might be? Are there any downsides to changing the protocol? Still, thank you very much for offering your help 🙏

fathom pendant
#

too many external factors to say what the issue could be

#

tcp is generally more reliable

dim reef
#

okay, thank you very much!

royal bay
#

trying to do proxy chains skill assessment. Everytime I try to copy and paste the IP address of the pivot machine into the web browser, I get a cannot connect error message

#

how come?

#

this has been going on for a couple of days and really frustrating

#

it looks like the HTB academy servers are buggy

junior fjord
#

Hey one more problem :-
Scenario :- I want to transfer xyz.psafe3 file into my attacking host Kali from my target which is an internal network ( PC 3 ) WHICH IS only accessible by my pivot ( PC 2)

INSHORT :- I want to transfer a file from Windows to Linux, I am not administrative user, I am not able to spawn http server via powershell, also python is not installed into that window machine now, and while using nc binary to transfer it shows transfer successfully but the file bytes are 0 ! ?

vernal tapir
#

That will open up a share upon connecting. You're welcome

rare owl
#

yoooooo , hello guys
recently i have faced a problem which is in the LLMNR and NTB-NS Poisoning
the problem is after executing the responder and retrive the hashes i want to crack it with hashcat but i can't find where the responder save these hashes ???

anyone can help ??

vernal tapir
#

In the output

faint hamlet
wise steeple
#

Why are there so many content errors on HTB? It seems like every single fricken time I try to learn with it, there are problems which prevent completion.

waxen totem
#

I mean, you could ask him dogekek
but if you're looking for other means, you better read #rules

lilac mortar
#

Hello I need help with the deobfuscation skill assessment

#

I get the flag variable and input but it it keeps saying incorrect answer

#

Can anyone help ??

faint hamlet
#

Contact rainbolt

lilac mortar
#

???

cerulean swallow
#

Hello y'all!

#

I'm currently at the File Upload Attacks - Blacklist Filters but facing an issue in solving the challenge

#

Which asks for uploading a web shell in order to get the flag

#

so i tried fuzzing for the allowed extensions

#

but burp suite shows them all as allowed

faint hamlet
cerulean swallow
#

i found that it is possible with .php2, but when i upload the web shell the php code is put in comments

lilac mortar
cerulean swallow
junior fjord
#

@faint hamlet hey will i DM you ? I am also having 1 issue in module hunting in network shares,

I found the password of user :- j__d_r but not getting anything about, how can I find password of administrator user !

Can we discuss in DM ?

cedar flame
#

Is Academy a good place to start if you want to do mostly practical learning? I'm trying to get through the free stuff but it's just reading, which the academy itself said only has like 10% retention. I would prefer to learn by doing instead.

waxen totem
#

but when you get to a job role path it gets pretty practical pretty quickly

cedar flame
waxen totem
harsh latch
#

Hey there, I'm having challenges on the last 2 question in the module of Linux fundamentals on Filter Contents. Questions are the following " Determine what user the ProFTPd server is running under. Submit the username as the answer." and the second question is "Use cURL from your Pwnbox (not the target machine) to obtain the source code of the "https://www.inlanefreight.com" website and filter all unique paths (https://www.inlanefreight.com/directory" or "/another/directory") of that domain. Submit the number of these paths as the answer." May you please provide an answer and a small explanation on these question?

novel badge
#

Where can I get hacking course for free

frozen mesa
faint hamlet
acoustic owl
forest tendon
#

I'm going through the Windows OS fundamentals module , can hackers inject logic into built-in classes which are deprecated like Win32_<deprecatedclass>, since i've come to believe that they are zombie/ghost classes with no logic/code inside, OR am i wrong?

fathom pendant
#

deprecated != they have no code

#

deprecated means that they are no longer used/are replaced by something else

#

but they still do the thing they're built for

forest tendon
#

i tried running a win32 class with wmi and ciminstance in powershell but they both return an empty response ||get-ciminstance Win32_TokenPrivileges||

#

i tried to check for multiple classes via get-wmiobject and get-ciminstance both return an empty reponse so just concluded that they may be deprecated and may not have any code

#

so i'm stomped

fathom pendant
tranquil sluice
#

Hey, can anyone help me with a small sanity check for the XSS & CSRF skill assessment on CWEE course? My exploit works but is not triggered by the bot

full patio
#

Hey all. Can anyone help me with https://academy.hackthebox.com/module/109/section/1042 - Skills Assessment for Command Injection?

I've been going at this for about 7 hours 🥵

  • I've found the vulnerable parameter I believe.
  • I'm able to trigger the warning for malicious input detected.
  • At this point, I've tried all sorts of obfuscation techniques and I feel like I'm going in circles.
  • I'm not entirely sure if the solution involves moving the flag file or just reading the contents.

If anyone's able to offer some advice (possibly reach out via DM) I'd be most appreciative.

fathom pendant
wise crystal
#

Can I get help in the footprinting module? Please

#

I’ve been stuck on the DNS section for 4 days because I cannot figure out how to get my final flag
Im brute forcing the DNS for the octet .203 but any wordlist I run against the DNS doesn’t return a FQDN with that ip. When I tried asking on here I got told the wordlist is very short but any wordlist I’ve tried whether 5000 or 3000000 doesn’t return what I need and I’m just now at a total loss

acoustic owl
wise crystal
fathom pendant
lunar spear
#

.

fathom pendant
#

also: subdomains of subdomains

lunar spear
#

Can anyone help me

storm elk
#

With what?

lunar spear
#

Help*

storm elk
#

With what? Don’t ask to ask. Just ask your stuff

lunar spear
#

Ok

storm elk
#

Just an fyi, there’s no requests to be made for illegal stuff

wise crystal
fathom pendant
#

and it'll brute wordlist.sub.domain.htb

#

also with dnsenum you can specify the nameserver

#

is that fqdn in your /etc/hosts file? you can also use the ip for the --dnsserver

acoustic owl
#

.htb is not an official TLD. Therefore, the domain cannot be resolved.

#

Simply use the IP address instead of the domain

fathom pendant
#

also as a note: whenever you do a zone transfer, you are reading the records from the frame of reference of what you're querying; so anything mapped to 127.0.0.1 in the DNS record means it's on the same server that you're querying

#

i suggest looking at all subdomains, especially ones that you haven't enumerated yet

fathom pendant
#

you can also zone transfer the base domain

#

things to bear in mind:
even if you can't access/axfr to a sub.domain.htb; if you zone transfer to a valid.sub.domain.htb then you'll get the record of that specific valid.sub.domain.htb

#

this is basically what dnsenum is doing behind the scenes with the wordlist

#

again you're thinking well within a box here

#

just because you can't INITIALLY zone transfer to another domain, doesn't mean there's more beneath the surface

#

you're trapped in the case of "what you can see"

junior fjord
#

What is this top 10%

#

Tihis is my transcript

fathom pendant
#

also removing the messages as they're spoilers; this module is tier 2

#

to sum up @wise crystal don't let yourself be limited by what is purely visible; and yes the bruteforcing part of the dnsenum script will do stuff (if possible) so you gotta have some level of patience to let it do its thing; everything in the A record section (aside from what you already enumerated for previous questions) are potential brute force subdomains. Don't discount anything until you've fully exhausted options; just because sub1.inlanefreight.htb and sub2.inlanefreight.htb fail doesn't mean sub3.inlanefreight.htb will

#

the reason i'm telling you you're thinking too inside the box is because you already enumerated the one subdomain, so push that aside

balmy iris
#

Hello I am a little stuck on Introduction to Windows Command Line, Skill Assessment, last but one question. I don't really understand what is awaited.
What I understand is that we have to log as user9, perform a tasklist, sort the output and give process Image Name starting by "vm" but there are actually 2 and both doesn't work as an answer

#

Hint is "read tasklist /?" but I tried /? + learn.microsoft.com documentation and I still can't figure out what I am missing

fathom pendant
#

well /? is just the help page for tasklist; if you're trying to run it in poweshell you'll need to specify tasklist.exe /? iirc to get the help docs

#

but i suggest looking to sort the list

balmy iris
#

I am running a cmd session

fathom pendant
#

it's expecting the answer as the full .exe

balmy iris
#

O_o thanks

#

I thought I tried with both but not for both processes

fathom pendant
#

yeah i spun it up and got the expected answer

#

there's a couple methods you can use to get the answers to the last question; you can either scroll through the logs or output to a file and basically search for strings (i.e. the specific field like Account Name) to make it a bit better (only a bit)

wise crystal
# fathom pendant the reason i'm telling you you're thinking too inside the box is because you alr...

I think I’m understanding a little better but still am lost, so I zone transferred the primary domain being inlanefreight.htb @ip and got some subdomains, but those subdomains do not allow zone transfer other than internal, and all internal.inlanefreight.htb subdomains don’t allow zone transfer either

So I think that’s where I’m lost, is there a way to reveal hidden subdomains? Is that what dnsenum would be for? But you also said subdomains of subdomains, but the only one I can zone transfer is internal which doesn’t have the .203 octet, so am I able to brute force those sub domains that don’t allow zone transfers?

fathom pendant
#

once you get the answer i implore you to try
dig axfr answer @ip so you can get more of an idea of what's going on in the background

wise crystal
fathom pendant
wise crystal
#

If I put say for example “app.inlanefreight.htb” it fails

fathom pendant
#

just replace inlanefreight.htb with sub.inlanefreight.htb

fathom pendant
#

:)

#

but not ALL

oak raptor
#

Hello i think I'm stuck in password attack skill assessment. || found .pcap and filtered all non encrypted protocols and searched for passwords and tried all of them and it didn't work||

fathom pendant
oak raptor
#

okay i will try it. thanks

fathom pendant
#

yes, you're focused too hard on that

#

try other subdomains

#

not all of them will fail. inluding that one. also, please be mindful of spoilers

#

the general thought of: If you had to discover it, it's a spoiler

#

stop digging deeper into that subdomain

#

and again: i've told you to mind the spoilers. The subdomain name is a spoiler.

wise crystal
#

My bad I thought that was directed at somebody else

fathom pendant
#

Footprinting is a tier 2 module. as i stated earlier. so specifics about the sections would be spoilers

wise crystal
#

Okay that’s my bad I didn’t even realize my questions were getting deleted until then because they were violating

fathom pendant
#

the way forward lies in the base subdomains you found.

wise crystal
fathom pendant
#

ls -lSr /path/to/seclists/Discovery/DNS will list all the files in ascending size order

#

-S is sort by descending size
-r reverses sorting order

wise crystal
fathom pendant
#

it helps sometimes to drive out of the tunnel to move forward 😉

wise crystal
#

How to get to that goal though was very difficult to get down, I don’t know how to explain why I thought it was difficult because I don’t want to spoil on purpose

fathom pendant
#

it's super easy to get tunnel visioned, just gotta break out of that

wise crystal
#

Other than saying picking the right subdomain and the right wordlist In conjunction was incredibly difficult

fathom pendant
#

also did you try dig axfr answerhere @ip?

#

if that puts it more into perspective of what's going on

wise crystal
#

Yeah I can’t zone transfer to it, huh, now that’s interesting

fathom pendant
#

well yes, you can't transfer, but there's more to it

#

also sorry i misspoke

#

don't do a zone transfer just dig answerhere @ip

wise crystal
#

It gives me the target ip? I don’t think I understand

#

I did the command just don’t know what to look for

fathom pendant
#

by answerhere i mean the answer to the question

#

and the ip is the target ip

#

you'll see it gives you the ip hinted at in the question (x.x.x.203) in the response

wise crystal
#

Right I did that and that’s what I mean it gave me the target ip

#

I was just hoping I wasn’t missing something else in its response 😅

fathom pendant
#

it shouldn't give you the target ip; dm me with screenshots lol

wise crystal
#

I’m very likely misspeaking lol
I’m meaning the .203 ip

#

Target objective ip 😅 (.203)

fathom pendant
#

the question ip is not the target ip

wise crystal
fathom pendant
harsh latch
#

Hey there, I'm having challenges on the last 2 question in the module of Linux fundamentals on Filter Contents. Questions are the following " Determine what user the ProFTPd server is running under. Submit the username as the answer." and the second question is "Use cURL from your Pwnbox (not the target machine) to obtain the source code of the "https://www.inlanefreight.com/" website and filter all unique paths (https://www.inlanefreight.com/directory" or "/another/directory") of that domain. Submit the number of these paths as the answer." May you please provide an answer and a small explanation on these question? @fathom pendant

wise crystal
fathom pendant
#

next time though, don't directly @ me :)

#

just because i'm helping one person doesn't make me obligated to help everyone