#modules

1 messages · Page 227 of 1

steady dust
#

are there other services on the machine?

fathom pendant
#

There should be

ripe anvil
#

yes, rdp, smb, ssh, winrm and so on

i am doing the module of passwords attack section 4 "Network services"

fathom pendant
#

^

#

It doesn't sound like ssh is even running on this Window's server

timber hatch
#

ok will try. thanks

ripe anvil
#

Thank you so much , it works for me . You make my day !

i got the ssh credentials

hard pier
#

Hello everyone, I'm passing the zephyr
I’m faced with the fact that I can’t go beyond ZPH-SVRCA01.ZSM.LOCAL, I received a session on behalf of Jamie, but I don’t understand further that ESC7 is simply not being done.
help me please

timber hatch
#

should'nt it only execute when i write go;?

fathom pendant
#

With mssqlclient it goes immediately

#

You can do it as one big multi-line thing

#

Or on the windows host: sqlcmd in the command line

timber hatch
#

aaah. 😆

#

both of them do not have admin priviliges? idont get it...

fathom pendant
#

Well they don't have admin privs... on that server

#

Also be careful pasting steps, as it can still be spoiler (spoiler text does nothing)

rustic sage
#

hey, can i store a hash inside a file with no extension to use it with hashcat

fathom pendant
#

The file extension really doesn't mean anything

#

It's just an organization thing

rustic sage
fathom pendant
#

So you know it's the hash(es) for x thing

timber hatch
fathom pendant
void kayak
#

hey there! I got stuck but was able to retrieve the file and complete the challenge. However, I'm trying to figure out why I can't use the regular command to display and read the file while other files work. Any idea why specifically flag.txt cannot be displayed?

rustic sage
#

hey can someone explain what the -1 stands for

hashcat -a 3 -m 0 md5_mask_example_hash -1 01 'RANDOM?l?l?l?l?l20?1?d'

cosmic obsidian
#

Password Attacks Lab - Hard
Examine the third target and submit the contents of flag.txt in C:\Users\Administrator\Desktop\ as the answer.
Hey guys i am stuck in this section, they said that there is user named Johanna. I am able to bruteforce and able to find the password for johanna and i am logged into RDP. there i got a File named Logins.kdbx i tranfered that file to my machine using FTP. and i used keepass2john and got hash for that file. I am trying to bruteforce with the passwordlist which is provided in resources, from yesterday i am stuck in this phase. I even tried mutating the password list with custom rule provided in the resources alos tried rockyou.txt. Thankyou for any help!x

fathom pendant
#

Should be in rockyou iirc

cosmic obsidian
#

i even tried rockyou but no use

fathom pendant
#

¯_(ツ)_/¯

#

It should be there

#

Also make sure you didn't get an empty file in the 2john file

cosmic obsidian
#

ok let me try again

fathom pendant
#

Also you may need to run it with python2

cosmic obsidian
fathom pendant
#

A lot of the 2john python things are written in python2.7

cosmic obsidian
fathom pendant
#

Sounds like potentially your network connection

cosmic obsidian
#

yeah i am also not able to connect to rdp using my own machine whenever i need to use rdp i use pwnbox

fathom pendant
#

I've had little to no issues with rdp via my own vm

cosmic obsidian
#

yeah in my case

fathom pendant
#

When encountering issues, changing regions often fixes it

#

¯_(ツ)_/¯

#

If you're constantly facing issues: reaching out to support is the best way to resolve them

timber hatch
#

what pain
SQL (WIN-HARD\Fiona guest@master)> EXECUTE ('SELECT @@servername, @@version, system_user, is_srvrolemember(''sysadmin'')') AT [LOCAL.TEST.LINKED.SRV];
[-] ERROR(WIN-HARD\SQLEXPRESS): Line 1: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

timber hatch
#

any last hint before i quit?

fathom pendant
#

Execute as

timber hatch
#

did also not work treid before

fringe urchin
# rustic sage hey can someone explain what the -1 stands for hashcat -a 3 -m 0 md5_mask_exam...

if you in the Footprinting module dont bruteforce the acuired Hash.
there is a footprinting word list under resources that would help you out!

so about the -1 thats the custom charset im pretty sure
For example, if you specify -1 ?l?d, hashcat will use lowercase letters (?l) and digits (?d) for the first position in the password, and then follow it with characters according to other specified character sets or rules.
?l: Lowercase letters (a-z)
?d: Digits (0-9)

So, when you use -1, you're defining the character set for the first position

so in your example:
-1 01 'RANDOM?l?l?l?l?l20?1?d'

-1 01: This specifies that the first position in the password will be either '0' or '1'. This means that the password will start with either '0' or '1'.
'RANDOM?l?l?l?l?l20?1?d': This part defines the character set for the rest of the password. Let's break it down further:
RANDOM: This indicates that hashcat should use a random character for the position.
?l?l?l?l?l: This specifies that the next 5 characters should be lowercase letters (a-z).
20: This indicates that the next two characters can be any characters (since '20' is not a special placeholder).
?1?d: This specifies that the next character should be either '0' or '1', followed by a digit (0-9).

I hope that helps a little bit. I hope i didnt accidently missed something or missunderstood

https://hashcat.net/wiki/doku.php?id=mask_attack
here is the wiki link to it

timber hatch
# fathom pendant Execute as

EXECUTE AS LOGIN = 'sa'; SELECT SYSTEM_USER; SELECT IS_SRVROLEMEMBER('sysadmin'); REVERT;
[-] ERROR(WIN-HARD\SQLEXPRESS): Line 1: Cannot execute as the server principal because the principal "sa" does not exist, this type of principal cannot be impersonated, or you do not have permission.

fathom pendant
#

Linked server is the right step too

timber hatch
#

ok thanks, but i am out

fathom pendant
#

Execute as n at b

#

It's mostly explained in the sql section

timber hatch
#

my life is too short for that

fathom pendant
#

well all I can say is you're close to the answer ¯_(ツ)_/¯

rustic sage
old vector
autumn pilot
#

Refresh the tab

#

and call an exorcist

old vector
#

I’ve reset it multiple times all the same

#

I need pwnbox for this exercise will be to slow on my computer

autumn pilot
#

Probably is not a good idea to nest VNC sessions in an VNC session

#

Open the section/module in one tab and keep pwnbox in another

old vector
#

Well I can’t get the password list to paste thru the bin

autumn pilot
#

Download the file, use wget

old vector
#

I have it downloaded

autumn pilot
#

Then there is no reason for you to open/access academy from pwnbox

old vector
#

K

tranquil gull
#

Hey - Basic Bypasses section for File Inclusion. Im stuck on the challenge

#

I have tried URL encoding. I have tried languages/....////....////. I am aware of the languages approved path

half nimbus
#

Parse the MFT file (not USN journal) and take a look at all files with a zone identifier. In the MFT the zone identifier contains the full original download path, including filename, and it stays when you rename the file. So if you find a file named 1.exe but the zone identifier says someip/virus.exe you know it has been renamed.

The question is worded confusingly because while you used the USN j to see the filerename stream, the actual information you need to see what it has been renamed to is not in USN j but in the MFT.

soft cedar
tranquil gull
#

See the below picture. Discord filters lol

tranquil gull
soft cedar
fringe urchin
#

Helen Walter?

soft cedar
#

hes back

solid python
#

Helen pls

languid dawn
#

hellen Keller didn't see that one coming

half nimbus
#

Parse the MFT file (not USN journal) and take a look at all files with a zone identifier. In the MFT the zone identifier contains the full original download path, including filename, and it stays when you rename the file. So if you find a file named 1.exe but the zone identifier says someip/virus.exe you know it has been renamed.

The question is worded confusingly because while you used the USN j to see the filerename stream, the actual information you need to see what it has been renamed to is not in USN j but in the MFT.

old vector
#

On my pc it works fine not pwnbox but is so slow with brute forcing I want to use this and cannot wget whet to work

solid python
#

Ctrl shift S brother

#

Er, win shift s

#

For screenshots

#

So you don't have to take bathroom mirror selfies with your terminal kek

old vector
#

Not answering my question

patent oak
#

When you're trying to exploit the login form but the creds are in the assessment question. sadglas

heavy edge
#

so is port 2121 supposed to be closed in the ftp section of common services

#

the last 3 ips have the port as closed

fathom pendant
heavy edge
#

yes and when i used -p 2121 to scan the specific port it comes up as closed

#

the last 3 IPs were closed.

fathom pendant
#

Sometimes it takes a few spawns

toxic apex
#

can someone give me a hint to what the gotcha is in the SMTP part of http attacks. I've already tried writing a script that tests all the mentioned headers etc. only clue that i have is the "disconnected" status of the mailhog that would mean it's a broken question?

gray chasm
#

Use NSE and its scripts to find the flag that one of the services contain and submit it as the answer.Our client wants to know if we can identify which operating system their provided machine is running on. Submit the OS name as the answer

oak girder
#

Good evening masters, I would like to ask a question (file upload attack: blacklist filter) I think there is a problem with his source code, I used webfuzz to traverse his suffix name, uploaded successfully, but not executed, I see the tutorial is used (phtml) but I upload this is filtered

#

The reproduction process is a bit inconsistent, do the masters know what's going on?

cloud urchin
#

The example is just showing you an example, you need to find your own extension that will work.

heavy edge
#

how is it i found the smb section stuff before the FTP stuff...

topaz locust
#

anyone available for some questions regarding the http attacks skill assessment?

topaz locust
#

how are you trying to connect?

#

oh theres a second picture 😄

grim marlin
#

ssh htb-student@ip

topaz locust
#

unless they specifically stated that the ssh port is somewhere else, I would reset the box

grim marlin
#

well it worked now but i was trying it before and it didnt worked so idk (propably i typed ip wrong or username idk now) but thanks

fathom pendant
#

If you want to embed pictures you can read and follow #welcome

old vector
#

Is there a secret to getting multiple connections over ssh with dictionary cuz this is taking forever already been hrs had to reset machin change list etc

cloud urchin
#

best to say what module/question you're working on. nothing is going to require you to brute force for hours so you're probably doing something wrong.

old vector
#

I’m on passwords module with mutated password list it goes one by one haven’t done anything wrong

cloud urchin
#

then why are you asking for help

fathom pendant
cloud urchin
#

if you know you're doing it right

old vector
#

Because it’s slow

fathom pendant
#

Because ssh is slow

cloud urchin
#

and we're telling you, you're doing it wrong

fathom pendant
#

We understand what the question states

old vector
#

I’m using crackmapexec because hydra is updated to fullest version won’t ssh

fathom pendant
#

But try a different service that's running

old vector
#

Ok

#

Thanks for the help without bashing

fathom pendant
#

Rule 0: don't just assume the question is telling you everything

old vector
#

Ok

#

Thanks I seen ssh in I should of read more carefully could have saved me a lot of time

fathom pendant
#

Many times, in this module especially, the question gives you the last step

old vector
#

Ok

#

I don’t understand why ppl like to point out how stupid you are without pointing you in the right direction I could do without that. Thanks marcilee for answering without the typical social media bash

fathom pendant
cloud urchin
#

no one bashed you

fathom pendant
#

They're saying thanks for not bashing

brazen saffron
#

How may I get base64 encoded version but without running var env ?

#

Well I used base64 -w 0, I don't know if it's the good tech.

soft cedar
brazen saffron
#

Last payload: || fIND${IFS}${PATH:0:1}usr${PATH:0:1}share${PATH:0:1}${IFS}%0a${IFS}gREp${IFS}root${IFS}%0a${IFS}gREp${IFS}mysql${IFS}%0a${IFS}%0a${IFS}tAIl${IFS}-n${IFS}1 ||

cloud urchin
#

what module and question

brazen saffron
#

My problem is |.

#

I tried it as well as encoded char : %7c

#

But not working.

cloud urchin
#

are you able to inject a simple command like 'whoami' or 'id'

brazen saffron
#

Yep.

#

But not gettting the valid answer.

#

Just ping.

#

Or I found maybe something.

soft cedar
cloud urchin
#

if you think about it, where is the filter being applied. on the web application, or on the system?

brazen saffron
#

I was doing this but I restarted to try to find the basic commands who were passing.

#

I found something I use strings.

#

Just I have a lot of lines so maybe the last cmd isn't working...

soft cedar
brazen saffron
#

To replace | ?

soft cedar
#

yes pretty sure that runs through the whole module

cloud urchin
#

you're making this a lot more complicated than ti has to be. again, where is the filter being applied, the web app or the system?

soft cedar
#

except the skills assessment ofc.

brazen saffron
#

Just I have a big result and not only one line.

soft cedar
#

then you are doing something wrong.

brazen saffron
#

Yeah I am trying to fix the cmd.

soft cedar
#

how did you encode the string in bs64?

brazen saffron
#

I didn't.

#

Firstly, I think greps are not working & tail no as well.

soft cedar
brazen saffron
#

Yes.

#

4 cmds with |.

latent frigate
#

can i write u here?
Im trying to use the module drop_sc. It worked, But when I used ntmlrelax i get connection received.
I see that J...s is trying to connect. Would be possible to give a hint on that?

soft cedar
brazen saffron
#

?

soft cedar
#

just know that b64 method is simpler cuz' you might break the code.

brazen saffron
#

???

#

And my deducation was good, its due to |... 😭

#

find ... | grep ... | grep ... | ...

#

How may I encode it to have the 3 more cmds :(?

cloud urchin
#

again, this is very simple

soft cedar
#

^

cloud urchin
#

answer my question

brazen saffron
cloud urchin
#

where is the command being filtered from, the system, or the web application

cloud urchin
#

okay, so if the command is being filtered by the web app, why are you obfuscating the command on the system's side

soft cedar
cloud urchin
#

all you need to do is bypass the filter on the web app

brazen saffron
#

^((\d{1,2}|1\d\d|2[0-4]\d|25[0-5]).){3}(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$

cloud urchin
#

as Humangod said, the base64 method is a lot easier

brazen saffron
#

It's the pattern.

#

I juste encode the full cmd ,

#

?

soft cedar
#

yes

cloud urchin
#

if you utilize base64, you don't need to use the {IFS} etc bypasses, because those bypasses are only good for the web filter.

brazen saffron
#

In base64 & decode it in when sending?

cloud urchin
#

there's no reason to go crazy with command obfuscation if you're already able to send a command

soft cedar
cloud urchin
#

you see, the obfuscation only helps you get past the filter, which is the web app

brazen saffron
#

😭

#

I think the hardest always xd :(.

soft cedar
#

fr its a lot of work. cause you may not know that grep or | is blacklisted hence more obfuscation.

brazen saffron
#

I'll now pass the cmd to decode it when running, now I know how to bypass filter to run cmd.

cloud urchin
#

excellent

soft cedar
brazen saffron
#

Well it's working 😭, I lost 3HHHHH !!!

cloud urchin
#

but you learned a lot, so not really lost

soft cedar
#

agreed.

brazen saffron
#

Yes :(.

soft cedar
#

gl on the skills assessment!

brazen saffron
#

Thx xd.

cloud urchin
#

that dopamine hit when you get the flag FeelsGoodMan

brazen saffron
#

So if I see a pattern from code source, I can just use base64 / xxd or another encoder ?

soft cedar
#

or it wouldn't accept a space in the bs64 command but that should be enough to work.

brazen saffron
#

Yeah I know that :).

#

I saw it in the section :>.

#

And thx guys :).

rotund bobcat
#

The htb academy modules are necessary to be able to violate the "headless" machine.

fathom pendant
#

Huh?

rustic sage
#

can anyone help me out, test if the splunk machine works in the attacking common applications module?

cloud urchin
#

it works

rustic sage
#

can you actually check? I've been trying to access it and it seems down

#

i can ping and connect to the server but the webapp itself splunk seems to not be working

rotund bobcat
#

My English is basic, sorry. I need to know which modules are necessary to exploit the 'HEADLESS' machine.

cloud urchin
#

you can reboot the machine if you don't think it's functioning correctly, but the walkthrough gives you exact steps on how to complete the task

fathom pendant
rotund bobcat
#

yes.

fathom pendant
#

It's an active machine, so you won't receive any guidance or hints for it

rustic sage
cloud urchin
#

yep

#

reboot the machine, verify you're on the (correct) vpn, give it a minute to fire up, and try accessing it again

runic depot
#

quick question on scp

cloud urchin
#

also, use https not http

fathom pendant
#

It requires that the remote host is running ssh

runic depot
fathom pendant
#

And ofc that you have creds

cloud urchin
fathom pendant
#

Also just ask your question

runic depot
#

so yeah my pcap is on the ssh desktop right now and trying to get it on the pwnbox

rustic sage
#

alright

sinful drift
#

Friends, please, an important question that doesn't let me move forward:
How to open a .txt file that I found inside an XML file or HTML file. Anyone who knows?FeelsWeirdMan

cloud urchin
runic depot
#

htb is telling me to use this byevincent@htb[/htb]$ scp htb-student@[TARGET IP]:/home/htb-student/pcaps/patchwork.pcap . but it just lands the file back onto the ssh desktop

runic depot
#

thx ill try

sinful drift
cloud urchin
#

notice in the 'copy remote file to local pc' command the . at the end, replace that with whatever directory you want

cloud urchin
runic depot
#

is that file path the path you want the file to be placed on the local

cloud urchin
#

this isn't even probably what you need to achieve what you want. if it's a text file you can just copy/paste it over.

cloud urchin
#

that's why we need to know what you're actually working on instead of not knowing about scp

cloud urchin
#

alright well i didn't do that module so maybe it does need scp, i don't know, someone else can chime in for that.

#

based on the question alone, it sounds like you get the flag from running the correct NSE script rather than scp

fathom pendant
#

Likely did a -oX which outputs xml, which you can convert to html

#

Iirc the module shows how to do that

sinful drift
fathom pendant
#

Then do the xsltproc or whatever command to convert it to html as it shows

sinful drift
rustic sage
#

contacted support @cloud urchin i examined wireshark and it's throwing back at me rst flagged packets, I'm able to touch the port with nmap but something internal seems to be wrong with my acc idk.

cloud urchin
cloud urchin
#

try https, not http, like i mentioned earlier...

rustic sage
#

it worked

cloud urchin
#

awesome

rustic sage
#

the ssl/http part of the scan just flew past my eyes

cloud urchin
#

it happens

timber hatch
#

can i dm somebody i am stuck at the last question from the module attackiong common servies int he skill assesment: Submit the contents of the flag.txt file on the Administrator Desktop.

cloud urchin
#

sure

sinful drift
#

Hello, I'm stuck on the port enumeration module with Nmap.
In a question asks me to find a flag, I performed the scan with Nmap on the destination port 80 and I know that the flag is in _http-enum within a txt file
sudo nmap 10.129.2.49 -p 80 -sV --script vuln
The problem now is how to open that txt file that I found in an Nmap scan that contains the HTB flag, someone help me please

#

?

heavy edge
#

oops

#

idk how i typed that

raven lagoon
#

Hello im doing broken authentication module this section

Create a token on the web application exposed at subdirectory /question1/ using the Create a reset token for htbuser button. Within an interval of +-1 second a token for the htbadmin user will also be created. The algorithm used to generate both tokens is the same as the one shown when talking about the Apache OpenMeeting bug. Forge a valid token for htbadmin and login by pressing the "Check" button. What is the flag?

did i write the script wrong?

fathom pendant
sinful drift
fathom pendant
sinful drift
coarse schooner
#

I'm working on the final question for pivoting skills assessment. I've found the DC and ran a portscan against it. I've identified listening service that I can pth through. I've tried both users, but get the not permitted message. I suspect i need the-watcher's credentials; dcsync doesn't work either...any nudge?

cedar yew
#

hello guys, i need help

Module - Password attack
TAsk- Credential hunting in linux
My Problem - i use scp and i send lazagne.py file but lazagne need to python2.7, this machine have python3 and when i run this command not runing python3 lazagne.py all

fathom pendant
honest cove
#

Is anyone having issues with freerdp I am trying to finish intro to AD but I get a blank screen on win server or it disconnects really annoying

cloud urchin
#

no issues

fathom pendant
crystal steeple
#

im on thick client section, im redoing exact steps as in the module but executing the monta.ps1 to create the restart-service.exe doesnt work

#

i get this error, any help would be appreciated

#

powershell wont work

#

nvm worked when ran as administrator

#

still don't know why but whatever

austere sandal
#

try to question

crimson moon
#

In footprinting easy lab, I have gained access to ftp and proxy but when issuing commands it returns nothing.

crimson moon
#

After establishing connection with proxy;
proxy ls
proxy dir

soft cedar
crimson moon
#

Already done that only thing that returns is “Entering Passive mode and Transfer Complete”

soft cedar
crimson moon
#

Initially regular port 21 and then from there to its proxy

#

So it’s 2121

soft cedar
#

perhaps type the command passive before running ls -la.

crimson moon
#

Oh shoot I was only trying ls -l and dir. so dumb thanks

molten cove
#

Hi, anyone can help to clarify some queries i have on the module Kerberos Attacks?

cloud urchin
#

probably, just ask here

molten cove
#

I have managed to complete the assessment with some nudges

Am curious how do ppl get the intutition to complete the assessment w/o any nudges.

For example

  1. Finding out which user can RDP into the server (Bloodhound for example, didn't show any hints / clues on this)
  2. Finding out which user can access the fileshare on the DC? (Is this because only 1 user could be seen accessing the machine we're on?)
cloud urchin
#

Kerberos isn't really a beginner module, so I think it assumes you know things about AD already

#

a great tool for those specific things you mentioned would be CrackMapExec

molten cove
#

I completed the AD enumeration path previously, while i am definitely not an expert in AD related stuff, i hope i am conversant enough to know what's going on 😓

cloud urchin
#

i have to imagine the ad path covered finding shares, rdp, etc

molten cove
#

indeed, i didn't try to "enum" the shares once i got a new user (for example). point taken!

cloud urchin
#

right, especially those later modules it kind of expects you know some things, or to look them up

#

one of the first modules i did i felt that way, i did the adcs module and wasn't sure how to proceed, i had mimikatz and could dcsync but i thought i had to do it purely through certificate services, but no, you just dcsync and get it which it didn't really say

molten cove
#

yea i guess i had the impression / mindset of it being a standalone module, and not relying on knowledge from other modules. Since this is the first "advanced" module i took, i guess there is a need for some mindset shift

cloud urchin
#

yeah pretty much

molten cove
#

thank you! 😄

low vine
#

Working on CWEE - Attacking Authentication Mechanisms - JWT part. For insecure KID parameter processing it gives us 2 sort of "tests" to check for command injection but I'm not quite understanding the methodology I might use to fuzz for these types of erros and this particular thing

#

obviously in the instanced it gives it to me so I can follow along but I'm not following how I might actually fuzz this character set to confirm this vulnerability in this instance

#

and would love some additional explanation if anyone understands it better ❤️

rigid pewter
#

someone ?

heavy marsh
#

On the FFUF Skills Assessment, why is this command missing the /courses directory?

#

The recursive command found it right away

#

Recursion does not matter in this case because it's the first directory, so the first command should have worked too.

#

This wasn't reported on any of the github issues I searched through that seemed relevant.

#

I know this isn't a HTB problem, more of a FFUF problem, just wondering if there is a workaround for this if I'm not scanning recursively.

#

Okay that makes no sense at all, just throw a slash behind it and it shows up with courses, and oddly icons

#

WTF?!?!

#

WHAT. THE. FFUF?!?!?!

#

All jokes aside this tool is garbage. I'm going back to gobuster after this module.

next bronze
heavy marsh
next bronze
#

the extension

heavy marsh
#

php?

next bronze
#

the first command is php7, the second is php

heavy marsh
#

The non-recursive command doesn't work with the extension on it for some reason.

#

I tried without the slash at the end and that worked, also without the extension

#

There's really no rhyme or reason, that's why I'm experimenting with every option. Just frustrating, but I'm at least learning what to trust and what not to trust.

patent oak
#

Friends and mentors, I am yet again defeated. I'm on attacking WordPress. It's asking me to find another user whose shell is set /bin/bash I have the passwd file and have tried those users with said shell. Am I missing something here?

#

I have rce

patent oak
next bronze
heavy marsh
#

I'm done with the module, I'm on the skills assessment.

soft cedar
ruby whale
heavy marsh
#

Also I've found that DNS scanning kills my connection and errors out.

patent oak
soft cedar
#

or you can leverage the vuln plugin code for that xd.

next bronze
heavy marsh
#

At least that I was able to find a known issue on their github

patent oak
#

I'll check again

heavy marsh
#

One command worked and one didn't

patent oak
next bronze
heavy marsh
#

Also I was running DNS with the -sa flag and had immediate "[WARN] Receiving spurious errors, exiting."

#

Based on my research it seems like some people have that problem and some don't, but there wasn't really a fix for it and the logs didn't show much.

#

It was at least fun to try and go through the module. I'll probably stick with gobuster, but I've seen wfuzz mentioned so I might try that too.

dreamy solar
#

Hello can you help me please ?

#

I search I search I don't find

soft cedar
dreamy solar
#

I tested all the operators of the "black list" course, are there others?

soft cedar
#

try the url-encoded ones

#

you dont need to add the other commands yet, just try the operators until you get one that is working

patent oak
soft cedar
#

then you proceed.

patent oak
#

Yes, I was trying all sorts of full commands but when I went back to systematically getting an operator then a ce it all fell into place

dreamy solar
#

Okok man so I delete my big command and I search a operator correct for injection of my command "ls" for exemple ?

soft cedar
#

Injection operators are the |, ; and whatnots.

dreamy solar
#

yes it is my command I know

#

For moment I must to use my operator and this

soft cedar
dreamy solar
dreamy solar
#

I don't have any results, so what should I do?

patent oak
#

What do you consider to be a result?

dreamy solar
#

when I have a display other than all other displays? Or that I have malicious command injection alert

dreamy solar
#

euhh so my command injection it is okay ?

soft cedar
#

where did you capture this request in the web app?

dreamy solar
#

yes

soft cedar
dreamy solar
#

the one you told me to delete? okay I look

soft cedar
#

that's where the vulnerability is.

soft cedar
dreamy solar
soft cedar
#

you are very close.

soft cedar
dreamy solar
#

Yes I suspect it, I don't see where I'm blocking

soft cedar
#

so you only need to find a way to bypass that.

soft cedar
#

yup

#

replace the ${IFS}ls with the injection commands.

#

yes but no need to add the ls right now, we will gradually build the payload later. we want to see if %3b is accepted by the server.

#

if you still get the alert, you try the other characters.

#

you only use it on one parameter eg. from:xxxx.txt%3b not the others like to and move.

dreamy solar
#

okok now I know

#

Like this and I test all operators ?

soft cedar
#

yes,

#

you still have a trailing $ after the move, is it supposed to be there?

dreamy solar
#

no well seen

honest cove
soft cedar
#

its best to just capture another req.

dreamy solar
#

How so?

soft cedar
echo zephyr
#

Hello friends!
Faced with the problem of creating a python server

sudo python3 -m http.server -b 10.10.14.x

But it only works on a local network
The firewall is turned off. OS: mac OS Sonoma

soft cedar
#

something might be broken when you type the commands on all the parameters, thats why i suggest capturing another one.

#

you didnt click send btw.

dreamy solar
dreamy solar
#

I don't find and I'm demotivated

soft cedar
dreamy solar
#

I find

slate halo
#

im doing the Passwd, Shadow & Opasswd and I cannot access or edit the passwd file? What can I do to get the root password?

patent oak
patent oak
#

Make a note of which ones you've tried

#

Try them all! URL encoded too

#

This is all you have to do right now

#

No bypassing characters or anything yet

slate halo
#

how long should it take to crack the root hash?

#

because its showing me 1 hour and 48 mins

rustic sage
#

Guys I can't see any other Channesl

#

I joined this server today

cedar yew
#

what is your proble

latent frigate
#

question 3.
-M drop-sc = succedd
ntmlrelax = get a connection from J....s, but no hash

slate halo
#

rockyou.txt

latent frigate
#

the subsection ist called "Stealing Hashes with drop-sc Module"

slate halo
#

also made the mut_password and it gets exhausted

latent frigate
#

and Relaying Using NTLMRelayx and drop-sc

next bronze
#

if you want to capture the hash, why relay?

latent frigate
#

because that is the objective of the question.

cme -M drop-os -o OPTIONS

listen with ntmlrelax --relaylist
as i said i see tha user tries to connect but it come no hashes

next bronze
#

are you doing skills assessment or the section?

#

also again, ntmlrelax does not capture hashes

latent frigate
#

skills assessment

next bronze
#

no questions in the skills assessment specifically told you what to do

latent frigate
#

ok.

#

so could u help with me question 3 please?

next bronze
#

if you want to capture the hash, why relay?

latent frigate
#

thks bro ill find another way

#

hey, sorry for bothering you. were u able to finish the module? could I ask u a question?

next bronze
#

stareconfused I've already given you a hint

#

also, just ask your question, don't ask to ask

latent frigate
#

that was very kind of you, but i am reformulating my question to another person. but i really appreciate your help

slate halo
#

Is there a faster way to crack the root hash? Because with the rockyou.txt is 2hours

#

when i mutated the custom rule with the password.list

#

it sayed exhausted

#

im using hashcat

next bronze
#

it's in the mutated list

#

your mutated list should have 94k lines and make sure your hashcat command is correct

#

and you're trying to crack the right hash

slate halo
#

im using the command from course

#

and I have put the root hash in a single file

next bronze
#

send the hash here

slate halo
#

hashcat -m 1800 -a 0 unshadowed.hashes mut_password.list -o unshadowed.cracked

next bronze
#

the hash itself

slate halo
#

$6$XePuRx/4eO0WuuPS$a0t5vIuIrBDFx1LyxAozOu.cVaww01u.6dSvct8AYVVI6ClJmY8ZZuPDP7IoXRJhYz4U8.DJUlilUw2EfqhXg.

#

after the mutation i get 606 passwords

#

how to make 90k?

next bronze
#

told you to check that earlier

#

what's the command you used to mutate it

slate halo
#

hashcat --force password.list -r custom.rule --stdout > mut_password.list

next bronze
#

don't use --force

slate halo
#

ok

next bronze
#

and you're missing something from the command given in the module

slate halo
next bronze
#

yes, there's a section specifically for password mutations

fathom pendant
slate halo
#

thank you guys

#

cracked it

fathom pendant
#

Nah, the cheatsheet that has the mutation command is missing the one part

fathom pendant
#

Ye

cedar yew
next bronze
#

lazagne doesn't really work on linux, compile with pyinstaller if you want

#

but you can use other tools for that section

cedar yew
#

Do you have any suggestions similar to lazagne?

soft cedar
#

you can't cat /home try listing the files rather with ls

next bronze
dreamy solar
soft cedar
#

what do you mean?

#

you're typing Ls instead of ls. and you cant 'list' a flag either.

#

obfuscate the ls ¯_(ツ)_/¯

#

the same way you did for cat.

dreamy solar
soft cedar
#

just use a simple ' in between them

#

it has to be even. you did only one '.

next bronze
#

dude, instead of waiting for someone to guide you step by step, why don't you go through the module again to understand the techniques

#

who's doing the skills assessment here kekw

dreamy solar
soft cedar
#

apparently it's not bro.

next bronze
#

lmao

#

if you've done everything right then how are you not getting the flag

cedar yew
soft cedar
dreamy solar
#

Good question since I do everything for after they give me advice but it doesn't help me so I suppose that you are not more advanced than me currently not knowing why my orders do not go through

cedar yew
#

oky

dreamy solar
soft cedar
#

calm down mate. we know you're frustrated and we get it but this is the way to learn XD.

next bronze
#

my advice is to go through the module again to understand the techniques, simple as that

dreamy solar
#

I know but I'm just learning, he must take that into consideration as well. My goal is also to succeed and understand but I'm happy to bang my head against the wall but a little help from time to time doesn't hurt

soft cedar
soft cedar
soft cedar
#

I mean type xxxxx.txt(injector)l's' only and see if it list the files, then keep changing the injectors until you get the files listed

dreamy solar
#

So if I don't get the alert message, do we agree that my injection operator is working?

soft cedar
#

yes, and to be sure add it to l's' command.

#

that will show the files in the current dir if its working...

dreamy solar
#

Okay so as I said earlier, I have 3 operators that work, here they are as proof

soft cedar
#

dont add any other commands apart from these first

dreamy solar
#

okok

soft cedar
dreamy solar
soft cedar
dreamy solar
#

I find

cedar yew
#

Where am I making mistakes?

soft cedar
next bronze
cedar yew
#

yes

#

this tool

soft cedar
#

well from the output its working..

next bronze
cedar yew
soft cedar
#

now list the files in the / dir

dreamy solar
# soft cedar well from the output its working..

thanks you, it helps me a lot and I was able to understand something else thanks to you, other operators can pass but it is really necessary to test all the conditions before ordering with each of its functional operators in order to identify the one which will be useful for command injection. I think frustration played a big part too. THANKS

dreamy solar
soft cedar
#

you dont just start firing the commands.
the skill assessment builds on each section

urban wadi
#

is there way not to use the initial box and just do the rest from my own in shells and payloads

#

the rdp is slow and small af

next bronze
next bronze
cedar yew
#

ah okey

#

I was going to pull my files to myself and do that, but it worked, thank you.

outer urchin
#

Every time I have to run crackmap for a while my VM loses internet connection/seems to get throttled. Then starts working again after a couple minutes. Has anyone else dealt with this? I'm attacking rdp, running Kali on Virtualbox.

urban wadi
next bronze
#

that's not related to modules

urban wadi
pine dune
#

hi

#

I need help uploading a file to a windows machine

grand portal
#

ask

pine dune
next bronze
#

as I've said, include module, section and more details

pine dune
#

module is "file transfers" and the section is Windows File Transfer Methods and also it has ftp open but i cant connect to it for some reason

grand portal
#

Okay, Usually when windows host dont have internet connection. Along with xfreerdp, you can use ":drive" option to include files from the linux you are using the xfreerdp command.

#

I've not got to that module for now. I need help with

#

i got the answer but i dont think i got it the right way

next bronze
#

ftp isn't the only way you can transfer files, the seciton went through multiple methods

grand portal
outer urchin
shut nymph
#

hey , can anyone help me with the windows privesc skill assessment 2 , i am stuck in the first question , and solved the other two

haughty stirrup
#

can u send what you are typing in a screenshot

#

also as xreous said, it just wants you to transfer files, you can use other methods than ftp

#

like iwr, or wget from a local python server

#

i understand if you want to do the ftp method tho

next bronze
pine dune
grand portal
#

have any of you completed yara and sigma module?

next bronze
#

then again the section didn't go through ftp for windows

pine dune
#

this

haughty stirrup
#

ok so maybe they locked it down

pine dune
#

ahh

haughty stirrup
#

just try doing a iwr file transfer

#

since you have rdp access to machine

pine dune
haughty stirrup
#

or could just attach the drive in xfree

#

this is best way if you have rdp

grand portal
#

exactly

next bronze
pine dune
#

yeah i have frexrp

haughty stirrup
pine dune
grand portal
pine dune
#

but why is ftp open and u cant connect to it..very misleading to noobies like me

haughty stirrup
next bronze
#

there's literately a section on "PowerShell Web Downloads"

grand portal
pine dune
#

having problems

haughty stirrup
#

says address in use

pine dune
#

I havent used it anywhere

#

also i did a sudo killall smbclient

haughty stirrup
#

netstat -ano | grep 445

#

something is already listening on 445 it seems

pine dune
next bronze
#

(netstat -punta || ss --ntpu) | grep 445

haughty stirrup
#

i forgot its like nlp

#

nvm kek

#

that will tell u what process running

#

good job xreous

haughty stirrup
#

jk u have to use the paratheses

pine dune
spark radish
#

445 should be smb

haughty stirrup
#

sudo netstat -nlp | grep 445

#

that will list process

pine dune
haughty stirrup
#

yeah

next bronze
#

lmao just reboot

haughty stirrup
pine dune
#

cool

spark radish
#

'netstat-tulnp | grep -i LISTEN ' never gets me wrong

old vector
#

On the passwords module I ram thru all mutated passwords on smb with no success is there a timeout or jitter interval that will help me succeed

#

I’m looking thru old posts here but not finding anyone asking same question yet

tiny epoch
#

In Documentation and Reporting Skills practice lab, I'm looking for the command injections finding. I know it's not necessary for completion, but I'd Like to know what I am missing. Any help would be appreciated.

next bronze
#

the one in the linux machine?

tiny epoch
#

Yes

next bronze
#

it's very simple, don't overthink it

#

getting the source code would help

tiny epoch
#

Yeah that part i am blanking on as well.

next bronze
#

try the simplest thing

haughty stirrup
limber surge
#

any1 having difficulties when tryin to do splunk module, and when trying acccess the webpage, it say the connection was reset?

snow ridge
#

Anyone able to help with Advanced SQL Injection Attacks? Section: Reading and Writing Files

Question: There is a SQL injection inside the signup functionality that we haven't explored yet. Use it to create the file /var/lib/postgresql/proof.txt on the target over port 8080 and then check /server-info for your flag.

I'm pretty sure about the injection point and have tried many payloads and fiddling with that query but I just cant a payload to work. Would be nice if someone can explain me about my payloads and that injection point.

SOLVED: Hint for someone finding same problem: check logs

tiny epoch
#

@next bronze May I DM you questions about the Command Injection Finding

crystal steeple
#

in coldfusion section where we execute the payload to read password.properties file, we get an encrypted password, how can we decrypt it?

echo forge
#

Any hint at the Exploitation of Request Smuggling at http attacks? I'm not being able to get the admin cookie

echo forge
snow ridge
next bronze
echo forge
tiny epoch
#

thanks @next bronze I was overthinking it

latent frigate
#

hi, could i dm you a question about the third question

pseudo jackal
#

Good day. I have a question I have reecntly bought a VIP+ sub. But this does not give access to the Academy. is there a way to swap them or just drop and resub on academy?

next bronze
#

labs and academy are separate platforms, if you want to cancel it, contact support

naive imp
#

hey... i've been given a task to learn and prepare a report about how the ACTIVE DIRECTORY works and what are the different ways to attack an AD and how can i mitigate them... so i just want the list of relevant modules in serialized order to help me with this...

#

URGENT

dim wolf
#

what exactly is this for

#

just curious

next bronze
#

AD enum & attack, ADCS, kerberos, relay, dacl

#

the cme modules also has them, most of those are tier 3 tho

dim wolf
#

Introduction to Active Directory is also good

next bronze
#

yeah but don't think that covers attacks

dim wolf
#

he's apparently tasked with showing how AD works so it should also be beneficial

clear tree
#

Hi there, so how does the help in the academy work? Been trying to click on get help on discord but nothing to happen after that?

next bronze
#

you'll need to connect your discord in academy settings, provided you have the annual plans

clear tree
next bronze
#

if it's connected right you'll see the "academy user" role, and sure

radiant eagle
#

Hello, does anyone know how to request a restart of a machine that i pivot and got freeze, from the skill assessment of pivoting, tunneling and port forwarding. I already request help from the botom.

clear tree
#

I will relink my account just in case as well, not really sure why I dont have that role on here.

#

Just relinked my account with it

radiant eagle
clear tree
# next bronze if it's connected right you'll see the "academy user" role, and sure

As for the question, I was stuck on the user07 task, For this level, you must successfully authenticate to the Domain Controller host at 172.16.5.155 via SSH after first authenticating to the target host. This host seems to have several PowerShell modules loaded, and this user's flag is hidden in one of them.

I have sshed into the 172 machine, checked the loaded module list, there's one module that stands out, "Get-Flag", I get an output that says the flag youre looking for is "....."

But it doesnt accept that as the answer though

clear tree
next bronze
#

probably contact support to get it sorted

next bronze
sly moon
#

Ooooof! Question # 3 on the Web Proxy Skills Assessment had me bent. Stupid mistake on my part but hey I learned something! I'm just shouting into the void because it feels gooooooooood

clear tree
pseudo jackal
pseudo jackal
clear tree
shell ore
#

question abt Get-DomainObjectACL in powerview

#

when we do it it for a certain user, it show us there rights, right?

#

but this command used in the AD attacks module kinda confuses me, Get-DomainObjectACL -Identity * | ? {$_.SecurityIdentifier -eq $sid},
cuz here when we do it, we get what the user with $sid, have OVER the searched objects

#

so im fumbbling here, whats happening 😅

next bronze
#

what's wrong with that

shell ore
#

like let's say we do it with the wley user, it gives us what wley user can do right?

shell ore
#

just wanna make sure of it cuz idk am i getting right or what 😅

next bronze
#

Get-DomainObjectAcl -Identity targetUser | ?{$_.SecurityIdentifier -eq $controlledUser}

shell ore
next bronze
#

yes

shell ore
#

aha

#

thank you ❤️ prayge

umbral merlin
#

Hi, I'm working through the network enumeration with nmap and it says ack scans are harder to detect for firewalls. I took a look at the pictures and I don't see a reason to use the ack scan because the normal syn scan was also able to identify the same port was open. Can someone clarify the difference in the results of these 2 scans and ack scan's importance?

foggy mortar
#

Hey guys! I have a question. So I now pay for HTB academy and also for labs on their main platform. I feel that I’m really lacking in the pentesting domain….atleast not where I want to be. I want to work as an analyst, so I was going to go through the CDSA path but not sure if maybe I should study more of the pentesting stuff and then go through their CDSA path once I’m better at attacking. What do you guys think? Regardless I have crazy imposter syndrome.

nocturne reef
fathom pendant
# clear tree

it's broken at least for that bit if you're already linked, it's dumb af

potent ermine
cedar yew
#

We need to get the password from root and we know the hash. I use the rockyou.txt file but it takes too long. Am I proceeding correctly?

#

surprised it took so long

fathom pendant
#

this is the module section regarding the shadow/passwd/opasswd yeah?

cedar yew
#

yeap

fathom pendant
#

and you extracted the related files to your machine?

cedar yew
#

yes im copy the hash root my machine and use the hashcat

fathom pendant
#

did you copy the entire line? and also use the right mode?

next bronze
#

it should be in the mutated list

cedar yew
cedar yew
fathom pendant
#

yes, the root password should be in the mutated list

cedar yew
#

hm i use the rockyou

fathom pendant
#

well then if it's not in rockyou, try another list -- the mutated one

#

always start with the module resources then try others

noble hazel
#

Hi everyone, I am working in Intro to Deserialization Attacks. Skill Assessment II. I am inserting the auth= cookie but get the following error. Anyone can help me out?

cedar yew
#

oky im try

shell ore
#

anyone else facing connection issues or is it only me? 🥲

#

vpn and boxes are soo laggggy

snow ridge
cursive oriole
#

Do i need to be run powershell as admin to register the dll

marsh echo
#

hello i find the password of the mssqlsvc but when i try connect i doesn't work :/

fathom pendant
cursive oriole
fathom pendant
cursive oriole
#

Oh okay

fathom pendant
#

You have the ip/creds in the section

shell ore
#

connection bad sadglas

latent frigate
#

anyone online that could give a hint on crackmapexec? If you could write in private please. There may be some spoilers and I dont wnat to polute the groupe

cloud urchin
#

just ask your question here

clear tree
fathom pendant
#

Nope

#

/join

half stag
#

hey guys, why is crackmapexec not working, i even tried the github script : ┌──(kali㉿kali)-[~]
└─$ crackmapexec smb 10.129.42.197 -u username.list -p password.list
/home/kali/.local/lib/python3.11/site-packages/requests/init.py:102: RequestsDependencyWarning: urllib3 (1.26.18) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "

fathom pendant
#

Sounds like your python packages are out of date or something

half stag
#

i even tried updating and upgrading

fathom pendant
#

You'd need to update via pipx like pipx install urllib3 and see what it says

#

There's 3 python packages listed there

dim crag
#

i was able to compelet the file upload skill assesment by stealing the location of uploaded files from internet but i dont know how to find the location by my self. can some one help with that plz?

half stag
#

┌──(kali㉿kali)-[~]
└─$ pipx install urllib3

No apps associated with package urllib3 or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.

┌──(kali㉿kali)-[~]
└─$ crackmapexec smb 10.129.42.197 -u username.list -p password.list
/home/kali/.local/lib/python3.11/site-packages/requests/init.py:102: RequestsDependencyWarning: urllib3 (1.26.18) or chardet (5.2.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "

fathom pendant
#

Try installing the library with pip instead

#

If you read it tells you to try that instead

weak crow
#

Hello

#

How do i gain access to general

acoustic owl
half stag
dim crag
#

i tried xxe but it only returns the base64 enoding of the payload

spring hare
#

Cross-Site Scripting module

  • Session Hijacking section

Spawning the target http://10.129.11.67/ is not letting me access anything in the web browser. It's a white page, and if I navigate to the 'login.php' page or an 'index.php' page, the page is not found on the server.

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

So I'm a little confused how I'm supposed to find any injectable fields when I can't access the web page at all. Am I doing something wrong or is this something wrong on the HTB backend?

edit: the learning shows the /hijacking directory, and after navigating to /hijacking/, I see the input fields. I would recommend adding that clarification to the challenge description moving forward, or redirecting immediately to that directory. SuperNuts to answer your below question, no there was no port included.

cloud urchin
#

does the spawned victim machine include a port to use?

barren root
#

How did anybody finish the damn enterprise module

brazen saffron
#

http://SERVER_IP:PORT/hijacking/

barren root
#

Getting that damn exploit to work takes like 30 minutes because of the "quality" RDP connection

Is there a trick to getting a better one that I m missing or is it just a sad truth

tranquil gull
#

Hey for Log Poisoning module: Log Poisoning section: is it possible to get a reverse shell using &cmd= because I can only read files and run system commands. Encoded or not doesnt seem to make a difference. Even using revshells. Am I missing something or does this not allow for that? Thanks

cloud urchin
#

i have no idea about that module, but if you can execute commands on the system i don't see why you couldn't create a reverse shell

cedar yew
#

Hello everyone, there is something I don't understand about dumping with mimikatz.

#

The command he gives gives the user's ntlm hash, then we see that hash again in the command output. If we have the karma why are we trying to dump it again?

#

I dumped the lsa and sam file using cme, just I did not understand this usage of mimikatz.

cloud urchin
#

mimikatz can do that too

cedar yew
#

yes but the mimikatz command have ntlm hash

#

this hash we already have

cloud urchin
#

not sure what you're getting at

cedar yew
#

Do we need to have hashes to dump hashes with mimikatz?

cloud urchin
#

generally you need admin/system privs

cedar yew
#

for example i need the david hash how can i dump daved hash

#

yup im admin

cloud urchin
#

you can dump sam, secrets, ntlm from memory, etc

#

in your screen shot you have an incomplete command that's attempting to pass the hash

cedar yew
#

hm

#

mimikatz.exe privilege::debug "sekurlsa::pth /user:julio /rc4:64F12CDDAA88057E06A81B54E73B949B /domain:inlanefreight.htb /run:cmd.exe" exit

cloud urchin
#

you can also get tgt/tgs etc

cedar yew
#

Can I get David's hash with this command now?

#

i do think so bcs julio hash usage and output julio hash

cloud urchin
#

no, that command should open a new command window impersonating the user julio

cedar yew
#

yes new cmd

cloud urchin
#

yep

cedar yew
#

I guess what I don't understand is extracting user hashes with mimikatz.

cloud urchin
#

are you on the dc

cedar yew
#

yes and i have julio and administrator

cloud urchin
#

lsadump::sam

#

or lsadump::secrets

#

sekurlsa::logon passwords full

#

there are lots of commands you should look them up

cedar yew
#

ah oky sekurlsa::msv

#

understand thx

#

last question :9

#

this have 2 username but one username null

#

What should I learn from this output?

cloud urchin
#

the $ at the end of MS01$ means it's a computer, hence it's not a user, which is why there is no user name populated in that field

#

that is the NTLM hash of the machine

cedar yew
#

This karma won't work for me, right?

#

just hash machine

cloud urchin
#

karma?

cedar yew
#

hash

#

sometimes i use translate english sory

cloud urchin
#

computers need to authenticate too. that's why machines also have a hash.

#

so you can impersonate a computer as well as a user

cedar yew
#

oh understand

cloud urchin
#

or use the computer's hash, just as you can with a user's hash, etc

cedar yew
#

I am grateful

brazen saffron
#

I am using the dicts from SecLists.

cloud urchin
#

hard to tell by your screenshots exactly what you're doing, but it sends the data effectively the same way so if everything is the same it'll act the same

tranquil gull
#

Hey for File inclusion: Final Skills Assessment: I tried fuzzing with encodings and non encodings and I tried automated scanning. I know what the parameter is but having an issue triggering the vulnerability

cedar yew
#

this command not working on cmd

Import-Module .\Invoke-TheHash.psd1

#

module pass the hash usage invoke thehash

#

this scrreen htb panel its working but when im try runing my target machine in cmd not working

fathom pendant
#

PS indicates powershell

#

You can either type powershell in cmd or open a powershell window

cedar yew
#

im runing powershell true, but not opening second windows cmd on dc01 my target hostname dc01 my hostname ms01

fathom pendant
#

Oh that is a weird visual thing, try viewing the directory with the user

idle kestrel
#

I'm stuck on the Supply Chain Attacks skills assessment. I've got what I think is supposed to be the login, but it's not working. Anyone available for dm?

fathom pendant
#

dir \\dc01\

cedar yew
#

this question

fathom pendant
#

And you modified the reverse shell to use the appropriate ips yeah?

#

And are listening using nc.exe. as shown

cedar yew
#

yes i modified the target name local host vs but not runing actually i dont understand this questin i reading module but not understand

fathom pendant
#

And stated

#

You don't use localhost

#

You use the ip of the system you're using that shares the same network as the dc01

cedar yew
#

yes

#

PS c:\tools\Invoke-TheHash> Invoke-WMIExec -Target DC01 -Domain inlanefreight.htb -Username julio -Hash 64F12CDDAA88057E06A81B54E73B949B -Command "powershell -e BASE64 code

#

and im waiting with powershell

#

but not connect or new window

fathom pendant
#

In another window

#

You need to start the netcat listener

#

So you need to specify ip and port for the revshell

cedar yew
#

trying

tranquil gull
empty hedge
#

Guys which one is better to learn the htb academy or the htb labs? I don’t want to subscribe both of them..

cloud urchin
#

academy for learning

empty hedge
#

Idk i was trying the academy for a while and i always get stuck

cloud urchin
#

academy is literally their educational place that teaches you everything

#

the lab is to practice the skills you learned

soft cedar
cedar yew
empty hedge
#

The bad thing is they don’t have walkthroughs of their modules Questions! Or labs even in YouTube

soft cedar
#

you can utilize an automatic LFI fuzz

steel gorge
#

Did you manage to solve this @devout pelican ?
I'm currently on this one.
I also had an issue with this one. I managed to exfiltrate /home.php successfully for myself as a low-privileged user, then it started 404ing as exfiltrate.htb:PORT/home.php doesn't exist.
I'm not sure how it worked successfully initially, though perhaps it's cached something somewhere?
I can see why /home.php needs to be there (to avoid cross-site and CORS error) but I'm a bit stuck with this one. I might reset everything just to be sure.

cloud urchin
#

the module is the walkthrough, it teaches you how to do it, you need to apply the learning. the walkthrough in a lab doesn't actually TEACH you how

fathom pendant
cedar yew
#

im starting other window nc listener

cedar yew
#

and im run'ng th's command but base64 coding customize

empty hedge
empty hedge
#

Anyway thx guys

fathom pendant
empty hedge
fathom pendant
#

This field can be a lot of reading and research. If you can't cope with that, sorry

fathom pendant
#

I didn't need a video walk-through, all I did was re-read content and it clicked

tranquil gull
soft cedar
#

well maybe the flag is not named flag.txt

tranquil gull
#

Yeah I understand that but since I dont have RCE I cannot see what it would be called

tranquil gull
soft cedar
tranquil gull
#

Okay yeah I tried both default linux paths/

soft cedar
#

or curl the IP; curl -I http://IP.

tranquil gull
#

I had just initially assumed it could be either

echo forge
#

I'm still stuck at the Exploitation of Request Smuggling at http attacks. I'm not being able to get the admin cookie. Any hint? I already discover the CL size, but it does not return the cookie.

marsh echo
fathom pendant
crystal steeple
#

im "Attacking Applications Connecting to Services" , i've followed step by step of what shown in the section, but when i try to run the program after adding the breakpoint , i get this error

#

nvm

raven lagoon
#

Need help for Broken Authentication Skill Assessment, im trying to log-in with support user using the rockyou wordlist filtered with the password policy found but i cannot access, am i doint smth wrong?

marsh echo
#

I feel it works not :/

cloud urchin
#

The most common thing I see is people don't put the IP of the spawned server into resolvers.txt (it should be the only thing in there). resolverst.txt is being used as your nameservers so you can resolve the subdomains.

#

should just flat out work if you have that in there

crimson moon
#

In footprinting medium lab, even though I’m the owner and have appropriate permissions on that directory which I’m trying to access rwx it still throws “Permission denied” error I cross checked the UID as well and it matches with the directory but no access. Anybody has idea why this is so?
This directory is from a NFS share mounted on my local mount.

marsh echo
crystal steeple
#

attacking common applications, skill assessment I, i found .bat file and got rce, but i can't read the content of flag, tried more, cat,type, tried calling them from system32 but nothing seems to work aside from dir command, any help would be appreciated (i did replace dir with commands above, i just wanted to ltk that dir is working here)

crystal steeple
novel hinge
#

the example on the module shows they are inside a dir called "NTDS" why cant i cd into it? and why doesnt the command they provide work?

fathom pendant
#

Example won't always match the lab, but I would reset the lab and wait a few minutes to try again

#

Also the reason it's failing is bc the NTDS directory doesn't exist

novel hinge
#

yeah just realized it was the last part of the command w/ the C:\NTDS\NTDS.dit

fathom pendant
#

Try copying to C:\ or C:\temp

novel hinge
#

got it now, thank you!

tight hedge
#

Hi guys! I'm trying to find the "TargetSid" of the user "bonni".

I'm generating failed login attemps with the user"bonni" and passwords"432543".
After generating the failed attemps, I log into the server with another credentials and start searching into the Event Viewer.

The Hint said that I have to look into 4771 events, but I cannot find it there. So, I look for 4625 events and I find it, but the TargetSid seems incorrect.

My questions is, what do I need in order to generate the event 4771 and get the right TargetSid

fathom pendant
dim wolf
rustic sage
#

Pass the ticket in password attacks check Carlos ticket and authenticate to SVC. I was able to smb into SVC and pull the flag but the flag isn’t working. What is this about? Flag is keytab_script_files. I downloaded it from smb but it doesn’t work. I just smb dc01 svc -k -c

azure saffron
#

anyone else having issues trying to spawn targets? caught in an infinite loop

rustic sage
#

There is a bug with one of the flags this is 100% the flag

golden radish
#

Hi, in the /module/77/section/726 section, the user bob's pass appears as bob:{password}, however, I get the error session setup failed: NT_STATUS_LOGON_FAILURE. I have tried different ways smbclient -U bob \\x.x.x.x\users and with /

inland mesa
#

Is htb labs down for anyone else?

fathom pendant
#

@rustic sage

  1. I'm busy
  2. Don't dm without asking
rustic sage
#
  1. Sorry
crystal steeple
crimson moon
crystal steeple
rotund bobcat
#

In the module 'Analyzing Evil With Sysmon & Event Logs', on question number 1, I'd like some tips. I already changed the names to calc and its DLL to wininet.dll, but the event is not triggering

crimson moon
fathom pendant
#

You can use the creds to sign in as a powerful user as well

tiny horizon
#

Which module are you guys talking about.

rotund bobcat
#

Windows Event Logs & Finding Evil

fathom pendant
#

There's several modules people are working on at any given time

tiny horizon
#

Okay.

worn holly
#

how do i connect htb academy to my kali terminal?

cloud urchin
#

through openvpn

blissful elm
#

has exceeded 85% of the usage limit for one or more AWS Free Tier-eligible services for the month of March. What does it means ?like Internet or the usage time limit

#

Coz I only use 1 ec2

cloud urchin
#

academy has cloud modules?

blissful elm
#

No I can't type in general

worn holly
blissful elm
#

Nvm I can now

cloud urchin
tiny horizon
#

Where would I find about ctf on this server

#

Or am I at the right place.

tiny horizon
worn holly
cloud urchin
worn holly
#

it says error opening configuration to that file

cloud urchin
#

follow the module's instructions

fathom pendant
#

Are you in the file location you downloaded the openvpn file to?

charred ermine
#

Hello everyone I think I'm facing a box issue for Password Attack PtT Linux, I found the flag but when putting it in the answer via copy paste or typing, it doesn't work

#

where should I point this issue to?

fathom pendant
#

If so: sudo openvpn file.ovpn

fathom pendant
#

It's just bumping into the root@linux01

charred ermine
#

yep, but it doesnt accept it here

fathom pendant
#

Make sure no spaces before and after

#

Also delete the images, bc spoiler

charred ermine
#

oh alright

cloud urchin
#

the instructions say to read julio.txt, yet you're trying to use flag.txt

charred ermine
#

hmmmm you're right, i guess i gotta find it

cloud urchin
#

stay in scope 😛

#

believe it or not, straight to jail

grizzled cobalt
#

On Shells & Payloads: The Live Engagement, is there a way to compromise Host-02 without using metasploit?

#

Host-02 is the blog

crimson moon
fathom pendant
fathom pendant
grizzled cobalt
#

Thanks Marcie. I'll just throw the msf and call it good for now.

#

Was just wondering if I was missing something

fathom pendant
#

Nope

jade latch
#

0.06% of the way through

next bronze
jade latch
#

ahhhhhhh

#

thanks, didnt think of hashcat

jade latch
# next bronze use hashcat in your host, john in vm is too slow

hashcat -m 13400 keepass.txt /usr/share/wordlists/rockyou.txt
gives error :(
Hashfile 'keepass.txt' on line 1 (Logins...b5d4e3610e1a021be2f2f1018523c065): Salt-value exception

cat keepass.txt
Logins:$keepass$*2*60000*0*048f742ba4e83db43180a31b429023defcb09a2e4110956e218a498c90bfc39a*2f3c5560d95ead326c79f32988cbab81bafcabbd4cd69cd237a1d2fbadd7fb84*1eef873a28851d1fcd946d2b24bd29f6*d68c6859ae565c09ddc5b81c39d87565cc8c50338a3fb9e6e0a3425e55b0b7a3*35683df41573246ad58a3fdad9a764d7b5d4e3610e1a021be2f2f1018523c065```

transferred file through base64, md5sum hashes are the same. 
john syntax:
`keepass2john Logins.kdbx > keepass.txt`

doesn't seem like there is anything wrong. there was an article on it, and the salt part looks the same. im gonna just stick with my 14 cpus D:
next bronze
#

make sure youve copied the whole line and try with --username

tulip dragon
#

i knew it

next bronze
jade latch
#

--username works, thank you

tulip dragon
#

i am trying to get root shell with /bin/ncdu any hint , (tried it with lab_adm but didn't have its password )

cloud urchin
#

nah

tulip dragon
#

solved

cloud urchin
tulip dragon
#

then i tried academy given method

jovial wolf
#

where

#

i cant talk in off-topic

cloud urchin
#

you have to complete the steps in #welcome

jovial wolf
#

it asks me my fullname

#

it ASK ME MY full name wtf

acoustic owl
jovial wolf
#

why it asks personal information

#

why is that even normal in this community?

#

dude again?, like really?

cloud urchin
#

i mean, you give a lot more than your name to get the courses/modules/labs/machines etc

jovial wolf
#

i don't want to give personal info, i pay with CRYPTO, and i chat with hackers, "full name?"
so when i do my stuff, they get me through your database

#

dude, wtf... why you ask full name at registration¿?

#

what is the purpose of it

cloud urchin
#

if you don't like the terms don't sign up

jovial wolf
#

like why

cloud urchin
#

it's a business and it's their choice to not accept crypto

jovial wolf
#

what if i lie, you will ask for an ID then?, what if i don't have a government ID cause i don't believe in the superstition of the State

#

then i get rejected? isnt the hacking community a welcoming one, for hyper-capitalistic anon indivuduals like me?

#

well not really anon, you could doxx me if you want but please

#

can i do my account without full name?