#modules
1 messages · Page 131 of 1
yes
Using the concepts taught in this section, connect to the web server on the internal network. Submit the flag presented on the home page as the answer.
how did you guys answer this question cuz i cannot find the flag on home page on the web server
ther is only index.html
page
i reset the target see what happens
what module and section is this?
did you check the source code / enumerate the web server?
the pivoting module is like 90% following what they show you exactly ¯_(ツ)_/¯
no flag XD
ye si did
hang on i'm redoing the lab for you
It's this module right? https://academy.hackthebox.com/module/158/section/1425
And you're doing proxy chains to the internal webserver yes?
yeah
This one 172.16.5.135:80
127.0.0.1:9050 ... 172.16.5.129:80 ... OK
Hello guys, I am new to the system and I can't tell why these two answers are marked as incorrect
Did you check the hint. Sometimes they're picky about the answer
i shoud of wait for the nmap scan to end
Yes, I did. I actually followed the pattern
okay i figured it out @orchid pine .. sorry that took so long i hate rpivot...
dm and i can help you further
./subbrute.py inlanefreight.htb -s names.txt -r resolvers.txt
i restarted the server
you can chain the -c onto the first lot of switches with the first one.
The second you need to do the whole command sudo tcpdump etc.
i found 2 subdomain with dnsenum
but subbrute is just hanging like this for over 5 minutes now
try -v? can also use -c to increase threads
rejected nameserver
Did you put the ip in resolvers.txt
yes
And it should really be the only thing in there
just that 1 ip? the other two that i found?
attacking DNS
i found two subdomains with dnsenum on two different ips
Thats irrelevant youre tasked with finding the subdomains period
One of them will have the answer
you shouldn't have to dive deep
FUGE
You OK kid? Do you need a stable figure in your life?
Like I'm genuinely curious how many people you randomly dmed
Anyone know how to use the open VPN I'm new to htb
just follow the provided vpn instructions
Ight
MARCIELEE DON,T HURT ME PLEAS
can someone ban this kid
SORRY
Just kindly fuck off :)
how do install linux
<@&861185840277487616>
what dont know the difference between your green, light green, other light green, and tealish green?
oh and the other other light green
i said mb
^ gonna have this shit fixed as it's rediculious
Tbh I think the mod/admin/staff should be in a separate color pool from htb rank
i taught its a rank btw
it was a joke, just ribbing ya, no worries
mostly making fun of all the slightly diff green roles
^
ig just adding a mod logo with the name it can be much better
i did just help someone with the same issue with the automated tool but doing it manually work just fine for him maybe you can try doing this manually
If you are as successful with it as with DNS, better leave it alone 🤪
Do you still need help?
dont overthink
is it an unrealistic goal to be able to do insane or hard level HTB Main Platform boxes independently in a few years?
I don't think so.
totally feasible , always depends on individual
but your statement is not close to unrealistic
a machine that is declared as “insane” can be easier than a “medium” for some people, depending on their knowledge about the whole process to solve it
just start learning and if you keep working day by day and step by step, in 2-3 years you can be quite good
as happens in every field of knowledge
RafaJurado is right on this, it's completely depends on you and which box you do, E.g for me the new Rebound box isn't that hard because i'm familiar with the core components of that box, but for something like the Response box which you have to create a fucking ssh key out of a screenshot there is no chance my dumb ass can do that even though both box are on the same level
Guys how did i get 400 cubes overnight?😆
Cbbh grants you cubes upon completion? Some updates? May be some modules became cheaper?
student and anual plans unlock the modules
did you refer a friend or forgot to cancel a subscription?
Did you do the Intro to Assembly module earlier? I think this module used to cost 500 cubes, now only 100
Ok. Does that mean I could be good at HTB Academy, HTB Main Platform, and four or five types of hacking as taught on Pentester Academy?
Oh yes i did. That must be it. Thanks
it means that there is nothing unrealistic or impossible in a learning context
What I really mean is I want to be good at several types of hacking and you are saying that can be done in 2-3 years. How is that possible? I guess if I work super hard I believe its possible but do people ever actually do that?
all i can say is that people that are super good at 1 field are better paid xD
ok thanks
dont try to learn everything
so better to just get good at Hack the Box. ok
HTB is 1 source of information, its a practice and learning application
Why do people tell me that most penetration testers have several areas of hacking they practice?
just start learning and you will discover what you like most
ok
some people tell me to specialize but other people say every serious pentester is familiar with, for-example, hacking wifi networks
it can be lot of different things tho, from Offensive to Defensive to non-technical stuff like Risk Management and governance
yes you have to know the fundamentals and basics
but as i said, Red Teamers are the most paid and they know a lot about specifics niches
(in offensive part)
Ok yes. I want to know the fundamentals and the basics of many things but be good at web application hacking, social engineering, and OSINT.
well, then go ahead start learning and then try to learn a lot about web pentesting
is Hack the Box a good platform for web pentesting?
for sure, but also check Portswigger labs
I'm starting with CPTS just to learn fundamentals. I'm thinking between CPTS and CBBH
Best content related to black box web pentesting
is BSCP
but CBBH is super good starting point
nice
finished it now on final section of Intro to Nmap module
do CBBH path before CPTS
because web
ok true
also a lot of CBBH modules are also in CPTS' one
its like completing both at the same time
Ya and I want to start bug bounties anyways. Ya I know and vice versa.
web pentesting is fundamental nowadays
So CBBH is more fundamental than CPTS?
not more fundamental
this isn't a bad choice if you have some free time to do it
just necessary to know xD
every company who is going to request an offensive pentest will have a web app
or several ones
also bug bounty programs are a good source of income
Aren't bug bounty programs very hard to make a good income on unless you are the best?
they are
that's what I keep reading
np ! 
I will do CBBH first then ya. I will just finish this Nmap module first and shit but ya good idea.
Then can come back to finish CPTS
will Nmap be useful for CBBH?
go on, im working on it if u need smth we are around
thanks
Can I dm you? I’m stuck too
do you need help?
hi quick question
is Nmap useful for CBBH?
or will I have to relearn it?
I almost completed the Nmap module that's why
not too big of a deal but I thought I would ask
nmap is a port scanner basically, with a lot of functions but not relevant to web pentesting
you're not scanning ports in a web pentest xD
it can be defined in a better way as a network discovery tool
its scripting Lua based engine can be useful sometimes
but i'd rather learn BurpSuite, ffuf and other tools more related to Web pentest
as you can see there are several categories of default scripts that can maybe be useful in a web pentest, but yea not a must to learn for CBBH path
you certainly can be if you're trying to find multiple webapps
if they're running on uncommon ports you mean?
the most usual way to host multiple webapps is virtual hosting, since its easier and cheaper
but yea you can find situations where a webapp is running under a random port (we've seen that in a lot of HTB machines)
Can anyone help me on this , Really appreciate any help , I'm in Introduction to Python3 , Section Conditional Statements and Loops , Question that's killing me is the Last One = What is the result of running the code in "Code block 3"?
what is the problem?
Cant find the answer to this one But cant RUN the CODE either , it wont go through ????
why you can't run the code? You can do it even online
Don't Know , for some reason its not going through ??????? Ive tried on different Panels also
Well I solved it by just reading the code I'm not saying that you need to do so. Anyway you can use something like this to run Python code:
https://www.programiz.com/python-programming/online-compiler/
Write and run Python code using our online compiler (interpreter). You can use Python Shell like IDLE, and take inputs from the user in our Python compiler.
Ok will give it a Try THANKS
Put print in front of it but wont go through , That ONLINE Compler worked
At least the Online compiler worked thanks
GOT IT , THANK YOU AUTOM4il , OWE you A CASE OF BEER
YES SIR THANKS
The NFS nohide option is giving me hard time. I cannot understand what it means. Googling didn't help.
https://academy.hackthebox.com/module/112/section/1068
which module is?
Hello Guys, I'm taking CREST CRT next month. Any suggestions/Advices? Could you please message me in a private chat.
https://discord.com/channels/473760315293696010/482659243456200705 I believe this would be the best place to ask this.
I'm unable to access that link
Verify your account in #welcome
I am currently doing the network enumeration with nmap module -> service enumeration and I'm on the question of " Enumerate all ports and their services. One of the services contains the flag you have to submit as the answer." I have performed a full port scan and found all open ports along with their services. However even after performing || nc -nv *target_ip* *port* ||on every single port while having || sudo tcpdump -i tun0 host 10.10.15.173 and 10.129.183.0 ||open in a different terminal window, I fail to find anything resembling a flag. Can anyone advise? I made sure to wait at least 1 minute per each nc command before moving on to the next
Note that I am receiving some logs in my tcpdump when I ||nc -nv *target_ip* *service_port*|| but I dont get any sort of flag
what the fuck doing the same thing thrice worked, I hate it here
Then submit the error to #858470491676737536 with a suggested fix
Hi there 🙌🏻 I’m interested in taking on the Penetration Tester Job Role Path Training on the platform. Is the any cost or fees involved?
the exam itself costs $210
then you have to unlock the modules which does cost money. cheapest path is if you’re a student, which unlocks everything (while subscribed) for $8/mn
it’s still cheaper than other certs on the market
Yeah.. Thanks 🙏🏼 for student, means you need a “edu” mail domain?
so if you sign up with a .edu you should have access to that tier automatically, if not you’ll have to message support to see if it’s a valid college/university.
Alrite. Thanks for the infos. 🫡💯
Hello everyone, i have a question about a windows system, what is difference betwen lsass and system/sam? Why i cant read a hash of a user that is not logued in lsass but in system/sam i can? Please help me!
I'm on Attacking Common Services, attacking FTP, got a username and password and a flag, but none of those are accepted as answers, any chance I could DM someone to double check so I don't spoil things here?
somehow I got the details for the next section on SMB instead...
nevermind, I got it
can somebody help how to get CLSID for JuicyPotato running script \testclsid.bat in Windows Privilege Escalation Skills Assessment - Part I . i dont get any output
Hi everyone, im doing the Linux Privilege Escalation and doing the Logrotate box. I know what i need to do but the exploit rarely works. Nothing gets written i /etc/bash_completion.d/ and if it does its usually an empty file that i can't write anything into. Anyone else had a similar problem?
I was able to get the flag using the manual approach. I'm not sure what I did differently to get it to work. I just tried it three times, and it finally worked. I think maybe I had too many tabs in the XML code I added to the POST request. In any case, thanks for your help!
im starting to see some of these boxes just dont wwork correctly
im trying to SSH into a machine that the problem is tellign me to and it keeps saying permission denied
havent even entered the passsword yet
the error you get should be telling you what the issue is
are there more resources for ctf style games with pcaps i can analyze? the network analysis module was fun
I did the lab earlier today, it works as it should
you could look at the forensic challenges on HTB's main platform🧐 i know some of those involve pcaps
oooh cool thanks
do you want to dm me? we can try to diagnose what's going on
yA
Hi! Guys! i am doint the Attacking Common Services Easy lab. I managed to get user and password, logged into mysql, found the cve to upload shell.
SELECT "<?php system($_GET[‘cmd’]); ?>" into outfile "C:\xampp\htdocs\1.php";
i used this command to upload it
i cant acces the shell though
what did i do wrong?
U need to escape the back slash
////
I dot the exact same thing but still arent able to find Kira's password, I mutated Kira's password from hint using hashcat. and ran hydra -l Kira -P kira-mut.txt ftp://10.129.188.235 -t 48. Can you give me a tip pls
recheck your c: syntax
C:\\xampp\\htdocs\\backdoor.php';
What web shell did you use?
thx
I use mysql and it works for me
Try dir C:\
i'm sure the mysql way works, but like i said it's not necessary if it's not working
Idk maybe there's other ways
there is 😉
not working
for disregard, operator error
Web Attacks - Blind Data Exfiltration I got the flag but academy isn't accepting it. Checked for spaces in the answer field etc. is it a decoy flag or a bug maybe?
had the wrong file path in my code
Are you sure you’re uploading to the right path?
Hello everyone, please help me with the skill assessment in the Kerberos attack module. I can't solve the last question. I tried all the vairants, but I either get access denied or the plan is not working. I realized that this is Unconstrained Delegation through the computer and that I need to somehow use the jake ticket. When I request a service ticket on cifs, I receive it, but as I said, I am denied access. The hint that came with the task was more misleading. Please tell me what I'm doing wrong or which way to think.
1.Rubeus.exe monitor /interval:5 /nowrap
2.Rubeus.exe asktgs /ticket:j*** /service:cifs/dc01.il.loc /ptt
3. renew
4.dir \dc01\c$ <= access is denied
yes.
on the webpage FAQ it says xampp/htdocs
did you check your c: syntax?
i did i tried it like 6-7 different ways
am i this stupid tell me?
or what am i not seeing
Try / instead of \ maybe
tried that also
I think you’re single quotes around cmd are messed up too
Need '
<@&861185840277487616>
In #858470491676737536 too
Maybe there's other paths
Dealt with.

@fading oracle did this work?
i tried it with both single and double quotes
The single quotes in your screenshot aren’t good
You use ‘ instead of '
Got it?
Alright, let me know
No you're meant to upload to the web root on this one
Was it a quote issue?
yes i think because of i copy pasted it from a CVE

so, who thinks that he is a potato and will face the same problem, here is an instruction for you, do not use the C drive and you are doing everything right
You need the secret share, you don’t have access to c
so, for the second time, pass-the-hash with xfreerdp works only from the pwnbox for me, does anyone have any ideas as to why that might be?
Sorry, I didn’t see your question
Is the Linux attack host given in the active directory module joined to the domain?
exactly, I already guessed)
🤘🏽
You could’ve also checked with psexec
It would’ve shown the available secret share
what error do you get when you xfrdp from vpn?
cool, I'll try it, thanks)
it just demands the password anyway even though I've added the required registry key
but works without issue from the Pwnbox
Try not running it as root
thanks for the suggestion, this is what I get
I had that issue with xfreerdp before I forget how I permanently fixed it
Ik you can set the $DISPLAY variable to 1 which should work
strange, followed the steps but keep getting the error
Hi, Anyone can help me with the Skills assessment file upload
so far,
I have found the source code of upload.php file with XXE attacks. stuck on upload the php code.
Display name could be different. Also, just in case, what machine are you using?
Kali Linux VM
yeah, I'm googling and trying to find a solution
Could also be a case of uninstall/reinstall
Because the password portion really should pop up in gui
if you want to dm i can help 🙂
Thanks
Hi guys I have a problem with the module named "Introduction to assembly language"
I'm at the functions section, I tried to run the code with this given command
nasm -f elf64 functions.s && ld functions.o -o functions -lc --dynamic-linker /lib64/ld-linux-x86-64.so.2 ./functions
But when I try to open it with gdb, I have that error : functions.s:(.text+0x23): undefined reference to “printf”
how can I fix that ?
oh well, can't find a fix, hope that doesn't screw me over on the exam
So how did you made to do the skill assessments ? 😅
it works on the pwnbox, I just really hate using it
Did you try to reinstalling xfreerdp
now I did, it resulted in extra errors 🥲
unless someone knows first-hand how to fix it, it's best I not experiment anymore in case I end up not being able to use it at all
@hallow kiln is your system updated?
xD damn
hello everybody, I'm doing the chisel exercise into Pivoting module, and I'm receiving this error message in the jump host:
can I ask you how did you solved it?, had to download the lib file then upload to the jump host or what?
if you do xdpyinfo what do you get?
ah you did it
i solved it someway for an INE lab
maybe try from Parrot OS
yup, I keep it updated
What error does it give now
it works from the Pwnbox, I'm not ditching Kali for Parrot cause of one tool though
from my experience Kali Linux has given me a lot of problems with several tools 🤷
all of this before logging in normally with a password, same as before when trying to pass the hash
Can you restart your machine, and reset the target?
I had the same issue with another target a day or so ago, it's not that
I've heard Parrot can be pretty buggy too tbh, it's all personal preference in the end
I doubt that
it’s weird that for some people Kali is not viable and Parrot is, and vice versa
this thread has some interesting posts
btw do you have a desktop installed?
Active Directory Terminology section in intro to AD is infinite
has this type of error happened to anyone?
you are trying to run a go file btw
read the documentation at least
one option is to compile it yourself go build <main go file> -ldflags="-s -w"
flags are for size reduction
or download compiled binaries according to the system
yes, I did
done, also upx brute chisel
now the binary is 3.3MB
but you can’t run a go file
is a compiled language
./chisel if you run it you should be getting the help panel
one sec, when you say "Use the binary obtained" you mean just move to jump host the chisel file not the the whole folder?
do you even know what is a compiled language
go
That wasn't the question lol
i think it has to be really well explained within the module
that you have to upload the binary
and run there in client mode
^
as usual read better 🤣
ok., let see what I'm doing wrong or misunderstanding in the documentation:
Cloning into 'chisel'...
remote: Enumerating objects: 2269, done.
remote: Counting objects: 100% (107/107), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 2269 (delta 50), reused 66 (delta 28), pack-reused 2162
Receiving objects: 100% (2269/2269), 3.50 MiB | 5.32 MiB/s, done.
Resolving deltas: 100% (1075/1075), done.
2.- cd chisel
go build
go build -ldflags="-s -w"
du -hs chisel
7.9M chisel
3.- upx brute chisel
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2020
UPX 3.96 Markus Oberhumer, Laszlo Molnar & John Reiser Jan 23rd 2020
File size Ratio Format Name
-------------------- ------ ----------- -----------
upx: brute: FileNotFoundException: brute: No such file or directory
8257536 -> 3309780 40.08% linux/amd64 chisel
Packed 1 file.
4.- du -hs chisel
3.2M chisel
5.- scp chisel ubuntu@10.129.183.15:~/
ubuntu@10.129.183.15's password:
scp: /home/ubuntu//chisel: Is a directory```
just share it with a http server
ok.
php -S 0.0.0.0:80
You need to do -r btw to scp a directory
I know, but if move the whole directory is not working either
hmm ok., let me try it
Also your upx failed
why?
Read what you sent and you tell me
Your upx is reading "brute" as a file
Which is giving the file not found error
ok. looking in the ippsec video, he got the same message
and got a similar compression ratio
you have to run it as a flag
upx —brute chisel
ippsec is human and as human he can be wrong
you got one chisel file that weights 3.2M just upload it to the pivot machine 😭
it isn’t that difficult you got it
^
it's not....
i followed to you....
now I'm receiving this error message:
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./chisel)
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./chisel)```
what is WEB01?
Try downloading an older version of chisel
what is the architecture of WEB01 machine?
Linux WEB01 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
v1.9.1 is the latest, what is your recomendation?
An older version idk which exactly
ok
how do you get HTB pro hacker role inside this server?
also post it in erratum
By doing boxes
WEB01 needs to be updated
in this server
Read #welcome
👍
Can you show please which version and type of chisel did you install?
I mean sometimes versions like arm64 don't work properly
I downloaded 1.8.1 and works, thanks btw
which should work
Great
if you build it static, the binary does not rely on system libraries
good enough
the module route you to https://github.com/jpillora/chisel and the version is 1.9.1
Got you, in my case it did work🙂
coz probably you used 1.9.0 or earlier one
the module just needs an erratum
the 1.9.1 is quite young
ok., did you apply the go build -ldflags="-s -w" and then upx brute chisel ..???
from Aug 23rd
No, 1.9.1
Yeah
just compile is statically
No idea
Wait a while, which module is it?😂
Pivoting, tunneling and port forwarding
Okay, if this one, it was always working
1.9.1
cant be 🤷
I was doing pivoting not a long time ago...
maybe there are different instances of WEB01
ok., my question is, did you have to reduce the binary size or just copied to jump host?
there isnt
golang changed how binaries are built
and now people need to learn how to statically compile
No, just scp
Yeah, the amd64
ok., you moved the original binary, understood
the compression does not matter
idk just a couple months back is when I started seeing everyone complain about GLIBC when transferring gobins to targets
the one from releases is compressed
learn to statically compile though and youll be fine for just about any tool, not just chisel
the releases one is from Aug 23rd
I was doing the same stuff which was mentioned in password attacks module, but with the newest version of chisel
Don't know if this is the right channel to ask but
Would you advise beginner users (like myself) to use guided mode when doing machines?
sweet
how is working for one guy and not for another
Life is strange)))
Dont know, dont care. Its a very solvable problem with three seconds of google
it should not work for T3p3s if WEB01 is the same machine
CGOENABLED=0 go build -ldflags="-s -w -linkmode 'external' -extldflags '-static'"
or the releases one is statically compiled
Youre thinking way too hard about this
i want to understand how it works for one person and not for another
Heres a hint: someone fucked up
HAJAJAJA
Its not worth losing sleep over
theres a correct known solution to the issue
lets continue with our day
exactly
Madfox can i DM you with an issue i'm having with pivot module?
what did u use to bypass the error
I downloaded an older version of chisel and moved to the jump host, BUT I'm gonna try it with the latest release as well
Update, I think it cannot be opened with gdb. We use C fonctions in .asm or .s extension so gdb is lost because we use printf inside a ASM file
I think that the only way to execute it is with the given command. But we cannot inspect memories affectation.
Why I think that ? Because when I inspect the executable file with GDB I didn't have any errors and I can inspect the executed code
can some one tell me what im doing worng
yes u can
what i should run the server on the attack host
as usual in pivoting xD
wait
im confused
Running the Chisel Server on the Pivot Host
Running the Chisel Server on the Pivot Host
ubuntu@WEB01:~$ ./chisel server -v -p 1234 --socks5
2022/05/05 18:16:25 server: Fingerprint Viry7WRyvJIOPveDzSI2piuIvtu9QehWw9TzA3zspac=
2022/05/05 18:16:25 server: Listening on http://0.0.0.0:1234
this is on academy i need to start the server on the pivot
well idk then
but it is really weird because the client is the one who redirects the traffic
im so confused right noiw
and the proxychains ALWAYS is the same machine than the server
or the module is wrong or you are missing something
I guess the server provides the traffic to client
the server just listens
cuz he is the server on this sitaution
i’ve always done server in my attacker machine and client on pivot
Then you need reverse mode activated
yea
Also provide fingerprint on client
but reverse flag in chisel is for reverse forwarding
iirc
i dont use chisel since i discovered ligolo-ng
Summary Recently I’ve completed the Hack The Box Dante Pro Labs and really enjoyed it. One of the most crucial pieces to being successful in the lab is understanding how to pivot properly. So I wanted to write up a blog post explaining how to properly pivot.
Yeah but if we run server on attacker , we need it to be in reverse forwarding
https://jh.live/7a-john40 || 7ASecurity offers training and penetration tests with a free fix verification -- get 40% off training with JOHN40, $1000 off a pentest, or a enter their contest to win a completely FREE pentest! https://jh.live/7a-freepentest
00:00 - Chisel
00:23 - Setup
01:30 - Recon
05:55 - On static binaries
12:44 - Using...
--reverse, Allow clients to specify reverse port forwarding remotes in addition to normal remotes.
this?
Yea
Idk
i see you did not specify a port in the client
Hi, can you give me a hint please. I am having same problem
Resolved?
its missing the port in the client such as PORT:socks
It’s because that 5**** port is just an arbitrary port which is selected at random for a connection
the connect established 2023/09/27 20:03:22 server: session#2: Handshaking with 10.10.15.56:36938...
Not the port for your socks.
The port for connecting to socks should have showed in your client output
Not in server.
In your case, it didn’t (not sure why)
But by default chisel chooses 1080 and you could have seen it with ss tulpn command
I believe you also have an option to choose a port for your socks proxy
ok then
Yup
It didn’t show but it started socks on 1080
there is a differnce between the port that use proxy to forward the packet and the one used to eastablishc onnection
┌──(shadowalker㉿kali)-[~]
└─$ ./chisel_1.8.1_linux_amd64 client -v 10.129.250.155:1234 socks
2023/09/27 15:03:21 client: tun: Bound proxies
2023/09/27 15:03:21 client: Handshaking...
2023/09/27 15:03:22 client: Sending config
2023/09/27 15:03:22 client: tun: SSH connected
ofc
i told tou the syntax
PORT:socks
instead of just socks
and declare the same PORT in proxychains conf
A communication established is just a handshake (tcp in this case) it chooses a random port for that establishing the connection. Tldr yes.
now i understand
thank you guys
for make things clear for m,e
the proxy is using another port to frward the traffic to the sevver side
thats the intention behind this server
thx
is Nmap useful for bug bounties? I am finishing Nmap module but I just want to make sure I didn't waste my time if I'm switching to finish CBBH first before doing rest of CPTS
because I don't want my time learning Nmap to be wasted
just subscribed to HTB Main Platform so I guess I can practice Nmap there even in web application heavy boxes right?
anyways you’re gonna need the nmap module
even in the bug bounty path?
in your whole career
ok thanks
right ok I know that but I want to make sure I keep using my Nmap skills so I don't forget
and I'm scared if I switch to CBBH I will forget. However, I also want to do bug bounties
to get some real world experience and have something to put on my resume
and because I'm interested in hacking websites anyways and bug bounties let me do that legally and safely
you wont forget nmap skills
take good notes
also you do not need to know every single flag and option from nmap by heart
I have taken notes on entire Nmap module
you have Google and manuals
ok thanks
true true ok
it is ok to use google
ok cool ya
it is ok to ask questions to others
ok ya I see
finish the module and continue with cbbh
ok thanks
in cbbh we do not use nmap
Ok thanks. Would it be good to do PentesterLab on top of CBBH?
to reinforce skills?
I'm already subscribed to HTB Main Platform
so I'm just wondering
dont try to learn and use all platforms
the required knowledge for CBBH is within the HTB academy
just set a goal
for example, CBBH or CPTS
when you get it you can go for another source of knowledge, usually certifications are a good source of knowledge
ok so is doing HTB Main Platform and Academy both a bad idea? My goal for the next two years is to get through CBBH and CPTS and earn both certs
maybe to go beyond that
no but id stick to academy first
boxes challenges and tracks on the main platform are a very good way to test your knowledge
but day is limited to 24h
you cant do all
Ok, so ya point taken.
so should I cancel HTB Main Platform subscription?
because I just subscribed
maybe just focus on CBBH > CPTS > more advanced Academy stuff?
if you are not using it ofc xD
ok thanks
using it or not is your choice
maybe you can save some hours a day to practice retired machines or challenges idk
it is something personal
Ok, but since you recommend just focusing on Academy I think I will do that for the time being
the active boxes are always free so you don’t need a VIP subscription, unless you want to do retired content or early access to endgames
yyy
i guess VIP always gives Pwnbox access so if you’re traveling or don’t have a dedicated hacking machine / vm that’s nice too
what is your goal?
cbbh and cpts, just stick to academy o.O
also certs exam are NOT a CTF
boxes usually have another approach
I guess my goal for next year and a half is to earn both CBBH and CPTS. Beyond that my long term goal for the next 2-3 years is to be able to do the hard or insane Academy stuff
like from the CREST paths tho I'm not interested in getting CREST certs
just want to practice paths to gain advanced skills
and do bug bounties
check BSCP certification
that’s is completely doable, but yes focus on Academy and its modules. especially if you’re on a tight budget don’t be paying for HTB and Academy
ok thanks
if web is your passion i’d go for CBBH and BSCP
ok thanks
focus on Academy, as i said above, all active boxes are free on HTB anyways so you can always test your skills on active content
Ok thanks
the only reason i pay VIP+ is the exclusive instances 🤣
hate when people remove stuff or randomly reset the machines
eventually I do have other hacking skills I want to learn but I think Academy + bug bounties + maybe BSCP would be good for 2-3 years. Maybe even just in 2 years. Once I'm there then from there if I am good with Python which I am learning then from there I'm hoping that I could add in another area of hacking like Wireless or something but I don't want to focus on that if its too scattered.
I also think Academy covers what I generally need in terms of core skills.
So I'm getting good at Academy.
this is a huge plus
Then once I'm really good at HTB Academy I'm thinking from there there are a few other types of hacking it would be good to know basics of so from there I could test skills with active boxes and if I'm ok at it then maybe I could add in different platform that covers other kinds of hacking, but probably not before.
The only other platform I probably need is Pentester Academy tho tbh because covers basics of other areas I am interested in.
But I feel like HTB Academy covers the core skills really well
then from there everything else I can learn ezpz anyways since that's most of the hard stuff
windows, linux, web
network to some extent
I also like the foundation academy provides because I feel like other stuff could flow from it
except for social engineering but I'll deal with learning that a different way just by socializing and practicing elicitation and ethical pretexting lmao
which is totally doable
i’m bias, but i’ve tried a few other websites and academies, but nothing really stuck or got me as motivated as HTB Academy🤷🏼♂️ prefect blend of learning and being challenged
I know. I agree. That's why I'm doing HTB Academy first in order to milk its value for web, linux, windows, networking. Then from there if I could learn basics of other stuff such as wireless hacking, network, IoT, and social engineering, that would be great.
but I don't want to spread myself thin so only basics and only after I get very good at HTB Academy
and maybe cloud hacking would be good to know
like AWS, Google Cloud, etc.
and be good at Python and C programming to help with hacking
but problem is I want to know everything (which is not realistic) so I think Academy is a more realistic focus
then in 2-3 years I'll see where I go from there
once I master academy stuff
is that a bad idea for a goal in five years?
I mean I am told I can do Academy goal in 2-3 years so then from there the next step would be to learn basics or other stuff
I know being advanced at everything is not realistic but to know some of basics of some other stuff
Hi, did you solve it? I am having the same problem, it asks me what goes after user.name in the KQL query for the field that contains the word "admin", I add admin* and I get an error
Ez
Also asking others for help with these training exercises really defeats the purpose

I knew you could do it. Asking others for help is sometimes a nessesary tool as well, as you will learn in a later (almost impossible) exercise. It was made for people to learn that sometimes asking for help is the way to go.
Someone breached the 7th firewall, gotta go!
can some one explain the disffrence btween using chisel in reverse mode and normalmod
"In the previous example, we used the compromised machine (Ubuntu) as our Chisel server, listing on port 1234. Still, there may be scenarios where firewall rules restrict inbound connections to our compromised target. In such cases, we can use Chisel with the reverse option."
for example imagine there is an internal web server thats only accessible from internal network (iptables), in order to see it from your machine you have to reverse port forward it
its like reverse and bind shells
reverse ones go from “victim” to attacker and this way they are outbound traffic which usually is less restricted than inbound
ty bro, I was thinking inside the box
we need to be the client on this situation no ?
the easier way to understand it is comparing with reverse and bind shells or with the direction of the traffic
if your machine is the client the traffic goes from your machine to the victim
which is inbound traffic, usually restricted
then we use it to buy pass restriction
That's the whole point of this channel my guy
we use it in reverse mode to reverse the direction of the traffic
which allows you to reverse port forwarding for example
can someone help me for Attacking Active Directory & NTDS.dit in Password Attacks for the last question Capture the NTDS.dit file and dump the hashes. Use the techniques taught in this section to crack Jennifer Stapleton's password. Submit her clear-text password as the answer. (Format: Case-Sensitive)i cant copy the ntds.dit file on my local machine everytime i get this error
I'm doing the XSS Module, Phishing Lesson and having problem with the URL encoding...
So.. which part should I encode, cus if I encode the whole url I keep having issues..
you can see your payload
holyy how fun was Javascript Deobfuscation module
the double pivot
section
was not explained in a good way
anyone has a resourcesn where i can understand this well
if you don’t understand a section/module it’s always i would advised to reread it once you finish the path or a few days later
i personally would recommend redoing pivoting and AD once you complete the path no matter how good you are
can anyone help with WINDOWS EVENT LOGS & FINDING EVIL mini module Get-WinEvent section?
yeah but i dindt understand the concept properly
i am skiddyphus and my boulder is green cube modules
anyone who has done the ptunnel-ng section into Pivoting module..!!!
ptunnel-ng is not running into the jump host
I tried compile an older ptunnel-ng version and move to the jump host and not worked either
Howdy folks! Running into an issue with the SocksOverRDP section of the Pivoting module, specifically related to Proxifier. When Proxifier is running on the initial host, it fails to route traffic from mstsc.exe correctly, and it does not appear to realize mstsc is running. Is there a common error somewhere in my setup perhaps?
I ran xsstrike.py and found '><a%0doNpOINteREnter+=+a=prompt,a()>v3dm0s as the payload
It seems I just needed the '> to be added to the JavaScript piece of code with the login form. Problem is Im not fully understanding the output of xsstrike and how to use it..
If anyone else can help me with that I'd be thankful..
I'm talking about XSS easy module, Phishing Exercise
anyone who can give me a hint how to run ptunnel-ng into the jump host?
cuz, I did exactly what is explained in the module/section and I'm receiving a dependency error from jump host
ubuntu@WEB01:~/ptunnel-ng-1.1/src$ sudo ./ptunnel-ng -r10.129.59.40 -R22
./ptunnel-ng: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./ptunnel-ng)```
How do I know which plugin rules to select for this nessus assessment exercise?
so im doing the Active directory part, and im pretty sure im getting the answer right but its saying wrong
What role ensures that objects in a domain are not assigned the same SID? (full name)
Relative ID (RID) Master - The RID Master assigns blocks of RIDs to other DCs within the domain that can be used for new objects. The RID Master helps ensure that multiple objects are not assigned the same SID. Domain object SIDs are the domain SID combined with the RID number assigned to the object to make the unique SID.
Hey! Is anyone able to help me with the Attacking Common Services SQL module? I literally cannot login to the SQL server no matter what i do. I am using the correct command with mssqlclient.py but am getting this error no matter what "Password:
[*] Encryption required, switching to TLS
[-] ERROR(WIN-02\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.
I am seriously pulling my hair out on this one. Been about 2 hours on my own so far.
It shows you, but the jump host they provide already has pre-populated scans
I also cant scan the server with NMAP. It is blocking my pings and with the -Pn command it is stating the host is down. But normal pings show status as up
use the mssqlclient.py -windows-auth
I am
mssqlclient.py -p 1433 htbdbuser@10.129.34.59 -windows-auth
Impacket v0.10.1.dev1+20230316.112532.f0ac44bd - Copyright 2022 Fortra
Password:
[*] Encryption required, switching to TLS
[-] ERROR(WIN-02\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.
have you read the error?
Yes
hvae yo ugoogled the error?
Yes - From what i gathered i need to be doing exactly what i am doing.
into RDP and SOCKS Tunneling with SocksOverRDP how to fix that restriction error?
Hmmmm
That is interesting. I think i figured it out. Removing the -windows-auth actually helped.
There is another protection service running
ok., thank you
@fathom pendant do you know why is this error into ICMP Tunneling with SOCKS :
./ptunnel-ng: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by ./ptunnel-ng)`
?
I think you need to statically compile it. That's been stated like a dozen times in this channel
ok., could you please point me out to some documentation?
Also potentially this
Google is fantastic https://github.com/utoni/ptunnel-ng
thanks
XSS module also super fun !
do we have any CSRF module/section in the academy?
i could not find
from mssqlclient help panel
windows auth requires an user in the domain btw (such as service account)
now think a bit
It is possible to buy a whole path in once, like let say bbh path cost me approx 1300 cubes, isnt an option to buy them directly without paying 1000 cubes this months and 500 the next one?
you can buy cubes without paying for a subscription
Hello everyone im DOCUMENTATION & REPORTING module in Notetaking & Organization
im stucking in question 2
Steve is learning about the tool that can make logging a session easier. He messages you for help mentioning that he would like to try to split the panes vertically. What do you tell him? (Answer format: [key] + [key] + [key], i.e., fill in the values for "key" and leave the brackets and + signs.)
I have the answer but im puting it and the format is wrong, somebody could help me?
the rdp issue is finally hitting me 🥲 😂
It's why I got used to remmina
i've tried remmina even rdp from my windows machine
F
Reminna is good only if you don't need to pass the hash
You can pth in remmina there's a section to put a hash in
Oh wait let me see
Oh my god
thanks bro
Dude I had the same reaction to finding out
guys
i wanted a help with installing mysql , while installing its actually giving an error saying that mysql-server doesnt have a installation candidate
how to solve this problem
anyone could help?
Google it
yeah i did i couldnt fine any solution
This really isn't the place to ask for general support
#1024429874246590575 make a post there
Hi I have been trying to solve this question for days now its for (SOC Path) any Hints seems something off. I literally tried everything possible
________________________By examining the logs located in the "C:\Logs\PowershellExec" directory, determine the process that injected into the process that executed unmanaged PowerShell code. Enter the process name as your answer. Answer format: _.exe
Hi for question 3, I answered as 34460 as the answer to the question " What is the plugin ID of the highest criticality vulnerability for the Windows authenticated scan? " and it was wrong even though I thought it showed the highest vulnerability
Hello everyone, i'm trying to do the question Crack this user's password hash and submit the cleartext password as your answer. from Assessement 2 of Active Directory lab:
- I found the string hash from CT... user
- But I don't know what i'm doing wrong trying to crack with correct -m option and rockyou exhausts
What Even ID or Filter I have to pick
wrong answer, must be another one
Well obviously . I want to know how you determine what the highest critical vulnerability might be if not by score
strange, it worked for me. I'm going to dm you so you can show me the hash just to double check
well, its exactly the first one you see when you filter by "Score" even though the second one listed has the same score
the second one is 9.8 . I tried looking at the Windows one and tried both the plugin IDs with a score of 8.1(the highest one for windows) and I still got the plug in ID wrong
it can't be I just looked at scan, give me a another sec to spawn the machine
did you look at the "Windows_basic_authed"?
click "Back to My Scans", there is one scan named "Windows_basic_authed"
Oh okay, I see it now
click on it, see the first vuln? It must be the one to answer the question
Yes
Strange
This is the way "Nessus" sort out the vuln based on the score. It may be a question for the dev team
It worked
can anyone help? i cant login to HTB account even though i know my password is correct. when i tried clicking on 'forgot password' and put in my email. im not getting any password reset link. the email works because HTB sends me an email to the associated email address
but i do not receive it from my email
can anyone help me please with Credential Hunting in Windows section in password attacks module, i don't know how to transfer the exe LaZagne to the windows host, i tried with scp,smb but it doesn't work
<@&861185840277487616>
thanks
no probs
i found how, just add /drive:linux,<path> in the xfreerdp command
what are these program tasks guys
I think it's about completing modules.
oh hmm
Oh my god just finished AD enumeration & attacks, the hardest module since i started CPTS: https://academy.hackthebox.com/achievement/737/143
Active Directory (AD) is the leading enterprise domain management suite, providing identity and access management, centralized domain administration, authentication, and much more. Due to the many features and complexity of AD, it presents a large attack surface that is difficult to secure properly. To be successful as infosec professionals, we ...
It was a very very good module, thanks for all who created it
that is the referral page. you'll get rewards based on the actions of people you refer and they'll show up there
Is the information security foundations path a good start point on academy? My background Is minimal started an IT roll this January as an apprentice managed services engineer doing level 3 azure cloud. Got my ISC2 cc exam next month and just looking to get more technical skills specially around networking & os fundamentals with the idea of transitioning internally from help desk to cyber next year or so
make sure to add /dynamic-resolution, but yes /drive: is huuge as well
hmm
oh I finished that one yesterday
I thought they were pretty helpful overall. as someone with no active directory experience it felt like a lot to get through but bash scripting was fun -- it probably depends on your experience level. It's a lot of walls of text so for stuff I didnt understand I went to youtube and watched videos and then went back to the module
also the cheatsheets are fantastic
Awesome skills assessment on the LFI module 🔥
Thank you for the informative response based on your experience, I appreciate that
The only active directory experience I have is low level user and security group management etc on domain controllers for clients
you're golden then
the networkchuck free ccna playlist goes well with the intro to networking module, subnetting was really easy with both resources
Interesting. I am sure it will be beneficial then. I have covered the basics in my apprenticeship but networking is something I feel that I need to put some more effort into for sure.
Quick pointer for people trying to run smb_delivery from Metasploit and finding it not working with the pwnbox: trying start it with sudo msfconsole -q
This just had me in circles for the last hour
Thank you for all the suggestions, without this discord channel. I would have taken ages to complete it.
Hi I’m new to HTB could anyone help with a question on the into to Nmap module?
don't ask to ask, just ask 😛
Ok cool wanted to double check it’s allowed 😄 I’m on the first question: based on the last result, find out which operating system it belongs to. Submit the name of the OS.
So far I determined the target host after going through all the examples in this section and that’s what I’ve been running my scans against. I’m using the packet trace flag to look at the TTL to find out which OS but my results keep showing NSOCK info and I’m not sure where to go or if I’m running it against the right target
check the default ttl
in the future it's very helpful if you list the section you're on as well! i believe you're in the host discovery section?
||you're on the right path with TTL|| feel free to reach out if you need more help
im on attacking sql section lol
use google
¯_(ツ)_/¯
you can dm me
it works for me with impacket 0.11.0
maybe consider update if you see a tool which states it is from 2020
Anybody having an issue getting the windows.acquisition to work in the DFIR module?
i get the same error, i search and the solution tells edit code in something lines, i try it but doesnt work for me, finally i uninstallit and install it using ansible-script of ippsec
do you have a solution somewhre i can review to try
replaced ctx = SSL.Context(SSL.TLSv1_METHOD) with ctx = SSL.Context(SSL.TLSv1_2_METHOD) both at line 911 & 663 and now mssqlclient.py works
Tell me if this works for u please
how do i even do that lol
```sudo nano /usr/local/lib/python3.9/dist-packages/impacket-0.9.23-py3.9.egg/impacket/tds.py````
Here hit (control + f ) and search SSL.Context and change it
if you dont know where is your tds.py search it
find / -name "tds.py" 2>/dev/null
locate tds.py
👍
jajajajaja sure this will work
because your path is using the previous version
you have to give them the absolute route of the .11 or uninstall the previous version and add the new in the path
you have to install dsinternal
open chatgpt and paste you error, he will tells how to solve it
i just git clone https://github.com/MichaelGrafnetter/DSInternals.git
that didnt work
hmmm
i tell you the ipsec scripts its the best solution
whats that
Github Repo: https://github.com/ippsec/parrot-build
This is a quick video just to show how to run my Ansible Playbook to build out my Parrot VM. Check out the Building Parrot Playlist to see how this all works, so you can customize things to your liking.
ahhh
uninstall impacket and run this
execute it on you vm!
so use ansible?
yeah
Can someone explain me why autoroute in metasploit doesn't work for windows hosts
when you do AD module or Windows privesc you gonna see the stars ajajjajajaja
i installed dsinternals still same error
Collecting dsinternals
Downloading dsinternals-1.2.4.tar.gz (174 kB)
|████████████████████████████████| 174 kB 9.9 MB/s
ERROR: Package 'dsinternals' requires a different Python: 2.7.18 not in '>=3.4'
python --version
try to install it manually and use python3 instead of python
i guess im confused because i have python3 installed
wouldnt that be the most updated
but still throwing that 2.7.18 error
maybe your path is first to python and then to python3
coudl be how would i check that
echo $PATH
└─# echo $PATH
/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/root/go/bin
python -c "import sys; print(sys.executable)"
/usr/bin/python
start using python virtual environments
cd /opt && mkdir impacket && cd impacket
python3 -m venv impacket && source impacket/bin/activate
and from there install it with pip3 install -r requirements.txt after cloning the repo
OR a better approach
install it with pipx which does all of that automatically and install the scripts system-wide
just read documentation
theres a dependencuy broken in my system
i was able to fix it i had to change the alias of pythonto python3
then i could install dsinternals
alias python=python3.4
can some one recommend me best modules apart from pentest pathway
probably the Tier III modules based on what you want to learn / where you're struggling
i have only student sub :(
Hi guys, i'm doing hard lab in attacking common services modules. I tried to bruteforce in every service, found that smb service is open to guest but i'm unable to get any usefull info from the shares available... any nudges ?
click on Modules and then click on Tier II there are a ton of useful modules that aren't in the path
Hacking WordPress
Cracking Password with Hashcat
Anything from CBBH path (web will help if your goal is CPTS)
Intermediate Network Traffic Analysis
oh okay thanks
||take another look at SMB|| if you need further help, feel free to DM
anyone else not able to go to the academy at the moment?
Yep
for the academy?
Yep
Nice ! Work well my friend
is the academt down? again?
yeah
academy down?
why is there no down detector for it lol
its working for me
503 bad gateway? happened like 2 minutes ago
refresh
Down for me too.
Host error so reports cloudflair.
there is non official for the academy but there is a lot of site that can check this https://downforeveryoneorjustme.com/academy.hackthebox.com?proto=https
Academy.hackthebox.com won't load? Or, having problems with Academy.hackthebox.com? Check the status here and report any issues!
hello, the academy seems down right>=?
ah ty
my pwnbox minimizes its size everytime i switch tabs in my browser is there a fix to it?
refresh
apart from that, that solves it but is there a way to prevent it
it's Fing annoying and unfortunately nope
yep very annoying
bruh it died again
can anyone assist with SQSH commands
No way to prevent it - but you can fix it without refreshing by either slightly resizing your window(on your full screen view), or moving the browser tab around rq
ohh ok, will try it
it seems like a javascript-y kinda thing -- where "on load" and "on window resize", the fullscreen view resizes itself to match
are the machines loading hard ori is it just me?
where should I notify about an error? I was just looking way back at linux fundamentals trying to help a freind with something, and noticed this error.
Error:
"In addition to providing basic information like the current user and working directory, we can customize to display other information in the prompt, such as the date and time, IP address, date, time, "
You can see here that it shows that you are able to grab date and time twice
You can find it here:https://academy.hackthebox.com/module/18/section/66
thanks\
which module?
@acoustic owl when i do ping sweep and found 4 hosts if the gateway(192.168.0.1) found also is this 5 hosts within the internal network?
Or the gateway doesn't count
Why shouldn't the gateway be one of them? It is a router and therefore a network device. If you can control it, various attacks are possible.
So it is 5 hosts not 4?
hello guys, I'm still having this issue with ptunnel-ng :
reading the documentation I followed the instruction of "./configure && make" (edited)
but the issue still persist, any idea, suggestion?
@digital pewter I saw you shared some info related to this issue before, could you please share it one more time?
Download the compiled version
https://github.com/utoni/ptunnel-ng/releases/tag/v1.42
Sure, you can modify autogen.sh to the following to have it statically compile:
#!/bin/bash
set -x
OLD_WD="$(pwd)"
NEW_WD="$(dirname ${0})"
cd "${NEW_WD}"
if ! autoreconf -fi; then
aclocal
autoheader
automake --force-missing --add-missing
autoconf
fi
cd "${OLD_WD}"
LDFLAGS=-static "${NEW_WD}/configure" --enable-static $@ && make clean && make -j${BUILDJOBS:-4} all
thank u both
Hi everyone! Just one question about AD: Let's say attacker host A compromises a remote Linux server B, which can reach the hosts from the internal AD network. Right now it's not possible to install Responder on Linux server B, but is there a way to run Responder on attacker host A to capture NTLM hashes from the internal network?
What exactly does a VPN have to do with file transfer?
everything works at layer 2, so I haven't seen this case yet reported somewhere but maybe this article is what are you looking for:
https://ijustwannared.team/2017/05/27/responder-and-layer-2-pivots/
I had a quick look so I actually don't know if the content is good or not
GOTCHA
could def use help with the sql part of that section
Thank you, I'll take a look 🙂
hey man, I really appreciate your help, I could finish the ICMP tunneling thanks to you....
hi. I'm new here.
this is for module discussion not introductions
read #welcome
🤙
Has anyone tried listing accessible SMB shares using Kerberos authentication from Linux?

