#modules

1 messages · Page 107 of 1

pulsar needle
#

Loo

#

L

thorn urchin
#

I dont give a shit who he is.

#

And you didnt even read the article anyways

pine dagger
#

I was just amused. Was imagining that Rick and Morty scene with pizza, telephones and couches.

analog dock
#

He said it so it must be right

proud pine
#

If a tree falls in a forest, and nobody is around to hear it, are you still wrong?

analog dock
#

Just as you quoted the title of an article from 6 years ago

thorn urchin
#

Im a hacker, and I say youre wrong

pulsar needle
#

Wdym?

pine dagger
#

The guy that is pen tester, said that pentesting is a QA process... who you just called a hacker.... isnt a hacker?

#

Mental gymnastics there

pulsar needle
#

WHA i thought this was general

#

Lol

#

Wow, his code is so clean, he must be a cleaner then

analog dock
#

Wow he’s such a hacker

pine dagger
#

You have a narrow view on what a hacker is.
A hacker is a person skilled in information technology who uses their technical knowledge to achieve a goal or overcome an obstacle, within a computerized system by non-standard means.
Nothing there about requiring exploit development.

proud pine
#

I think it's best to just block him, my dudes. He does nothing but complain about modules all day, and ask for help. He's likely struggling with the idea that he won't ever pass the exam, and won't make it in the industry.

analog dock
#

There’s no challenge

pine dagger
proud pine
#

You're not even passing the assessments. =/

analog dock
#

Easily I’m sure, just make it a bit more straight forward

pulsar needle
#

Its like he wants to learn hacking but hates the process

#

And keeps going

#

Lol

pine dagger
#

Anyone, ignoring the trolly commentary.... anyone completed Injection Attacks? I could use a pointer on where to go next with Xpath injection.

pulsar needle
#

But

#

If you hate it

proud pine
#

I have literally seen you give up 30 seconds after getting to a question.

pulsar needle
#

Lol

proud pine
#

More than once.

royal sigil
#

hello guys can you help me for this question i'm stuck

#

We see in the above PHP code that '$conn' is not defined, so it must be imported using the PHP include command. Check the imported page to obtain the database password.

pulsar needle
#

You give up in the way that you ask for the answer

royal sigil
#

sql injection module (reading files )

thorn urchin
#

Im a native speaker and I didnt have issue understanding

pulsar needle
#

There are non native english speakers who have better grammar than native level speakers

pine dagger
#

While I have seen some slightly odd english in about one module, it was still perfectly understandable.

pulsar needle
#

Indeed

thorn urchin
#

honestly Im less offended by you calling it QA and more offended by you calling it 'not hacking'

misty current
errant iris
#

you can just stop using it if you dont like it

rare topaz
#

i like how this is still going XD

#

also i always thought QA was for products given to customers

royal sigil
#

ok i try

pine dagger
#

If you said that to Chris Kirsch, he would probably laugh you out of the room

keen compass
#

on **ACTIVE DIRECTORY ENUMERATION & ATTACKS ** > Kerberoasting - from Linux > What powerful local group on the Domain Controller is the SAPService user a member of? : I don't see any Linux Solution to directly enumerate group membership from the provided tools (I guess I could try ldapsearch but havn't learned how to use it yet). Did I miss sont explaination within the course or am I supposed to try to connect to the DC using the freshly cracked SAPService's credentials ?

rare topaz
#

ok cool buddy, but this is #modules go put your shit takes somewhere else.

errant iris
pine dagger
errant iris
keen compass
keen compass
pine dagger
#

Its in the AD LDAP module

keen compass
pine dagger
#

Uhhhhh

#

pass

misty current
#

If you've got creds, you can use crackmapexec to get down group information from linux.

keen compass
whole grotto
#

@thorn urchin I used mimikatz to dump the lsa, i found the user t*** but his password is not in cleartext is it normal ?

keen compass
misty current
#

you could specify a user to the --user parameter.

#

Doesn't drop that info huh.

keen compass
#

are you perhaps using a more recent version of the provided CME ?

misty current
#

Nope, I just made a suggestion based on the crackmapexec usage doc

keen compass
misty current
#

Lol

golden vortex
#

AD Enumeration & Attacks - Skills Assessment Part II :

Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host. connect to sql01 and have rev shell but im not sure how to transfer files over

pine dagger
misty current
#

I just had a feeling that cme might have something like that. I kinda still feel like it might. It's all just assumption tho

golden vortex
rustic sage
#

yelo

pine dagger
#

Well, you could fire up a simple http server on your attack machine, and then use something like invoke-webrequest if you can launch powershell from your nc session

golden vortex
pine dagger
#

That might be more of a challenge

#

I used meterpreter

golden vortex
#

what module did you use?

pine dagger
#

its an mssql server, which you got the creds for in the last question. Just search for modules that involve mssql and you can set a meterpreter payload 🙂

golden vortex
#

im trying to use windows/mssql/mssql_payload module which i think should work it uploads the payload then says Exploit completed, but no session was created.

golden vortex
deep owl
#

hello all

#

AD Enumeration & Attacks - Skills Assessment Part II

#

q6

#

Locate a configuration file containing an MSSQL connection string. What is the password for the user listed in this file?

#

i realize since there are no easy wins (kerberoasting etc) that now the right action is to use bloodhound

#

powerview is not working at the AB920 user machine

#

ran bloodhound on my htb-student machine

#

was not able to find anything

#

am i missing something

tidal mango
deep owl
tidal mango
#

Read the question again, does it say you need to be connected?

wheat garden
#

Module- Attacking Common Applications

Section- Attacking WordPress

question 4 - Following the steps in this section, obtain code execution on the host and submit the contents of the flag.txt file in the webroot.


I have a php reverse shell on the target and used "find" command to search the entire file system for "flag.txt" I can only find 1 flag but its for the previous module section. I see no other "flag.txt" Any one finish this section give me some direction on this?

tidal mango
wheat garden
thorn urchin
#

it does say "in the webroot" did you look at what files are there

tidal mango
wheat garden
thorn urchin
#

depends on the application'a configuration

fathom pendant
#

^

thorn urchin
#

but generally id start in something like /var/www first yeah

tidal mango
fathom pendant
#

If you know what the underlying application is you can Google "application webroot"

thorn urchin
#

if im not sure sometimes ill just check the apache/nginx/whatever configs

#

if I gained RCE through a web app very frequently the working dir it drops you into will be the webroot or only one or two levels below as well

#

proceed to do

ls -la
cd ..
ls -la
cd ..
ls -la

haha

wheat garden
wheat garden
thorn urchin
#

when Ive gotten really desperate Ill just grep the entire filesystem for the flag format lul

wheat garden
thorn urchin
#

its really slow

cunning nimbus
#

can someone help me out with finding the right exploit on metasploit? I have tried so many different ones, but none of them are working

restive hound
#

Would someone mind pointing me in the right direction please. I am on the Footprinting Medium lab in the MSSQL server. I have been clicking + and - for way too long lol. What I am I missing here?

steady hawk
restive hound
steady hawk
#

I mean the application

restive hound
steady hawk
#

dm if you'd like, I think i know where you're stuck but not 100% and don't wanna spoil

elfin cedar
#

Just curious, does anyone know like the average time it would take to finish the whole Pentester path?

proud pine
#

but it depends entirely on how much time you put into it, and how much you already know.

fresh yacht
quick crane
#

Could you elaborate on that

trail leaf
#

that message is from over a month ago lol

#

also, anyone free to DM for Attacking Common Services - Attacking RDP? Solved it, but the hint makes me think there was an alternate way that I should probably write down

#

could just be me being very sleepy though impacting my ability to read

chrome moth
#

Does anyone can help me with Attacking Common Services??

I'm trying to solve the challenge of Attacking DNS, I think I have all the information needed to answer but I don't know how to response.

What is the syntax of the flag?

acoustic owl
chrome moth
acoustic owl
heavy marsh
#

Any clues as to how to start the Footprinting hard lab?

#

I performed all of the scans an then did an -sV -sC on the open ports and I still have nothing. I saw something about SNMP in the forums, but there was nothing on those ports.

#

I'm confused

trail leaf
feral stump
#

And don’t forget there are two protocols

#

When scanning with nmap

trail leaf
#

I think there's some leftover artifacts from testing on Attacking Common Services - Easy. The C:\Windows\System32\Drivers\etc\hosts file is overwritten with something from a PoC. Not too big of a deal to report in #858470491676737536 imo, but thought I'd mention it.

#

also am a bit surprised at how involved the easy skill assessment is for that one, but it's good stuff

#

Nah, it was cool

#

definitely tricky if you're new to this stuff, which is why it makes for a good assessment

#

There are ways to figure this out 😉

#

sometimes spite drives us to just be better 😆

acoustic owl
#

I think you have accessed the "website" on port 443 (https).
This is a FTP server in this lab 😉

feral stump
#

U right thanks for that

acoustic owl
#

In the file you found, you saw two paths.
Also a scan with NMAP shows you what is running on which port.
Not everything is always as you would expect it to be.

subtle depot
#

You should use hashcat -m 1800 hash.txt mut_password.list and ensure your password list and hash files are correctly formatted with appropriate read permissions.

silver mesa
#

shall I DM you

thorn hawk
#

Hello to all. I am trying to understand this part of the sqlmap module:

User-agent Blacklisting Bypass for SQLmap

In case of immediate problems (e.g., HTTP error code 5XX from the start) while running SQLMap, one of the first things we should think of is the potential blacklisting of the default user-agent used by SQLMap (e.g. User-agent: sqlmap/1.4.9 (http://sqlmap.org)). --> How can I check if the normal UserAgent is giving a 5XX error?

The Burp request is well received when trying to tamper with the id parameter. Do I have to check this with curl? I can't seem to find any message from SQLmap that indicates we got a 5xx error prior using -random-agent. Is it because I have verbosity to low?

tranquil axle
#

You could try setting the user-agent in burp to sqlmap/1.4.9 and see if it returns 5xx

#

same can ofc be done with curl. I would assume sqlmap would warn you if its instantly 5xx, but I am not sure and you may be right that you'll have to mess with the verbosity setting (even though this sounds like a error that sqlmap should print even on lowest verbosity setting)

sharp grail
#

Hi, did anayone manage to use firefox_decrypt on the Password attack module (Credentials in Linux).

I managed to SSH through and now i am stuck as the python version is 3.8

fiery berry
rustic sage
#

Is there anyone who use writehat report tool, because i have some issue

proud pine
rustic sage
proud pine
fiery berry
rustic sage
fiery berry
fiery berry
alpine ridge
#

Hi can anyone give me a helping hand with the nmap firewall and ids evasion lab?

cosmic gazelle
#

Quick question, anyone knows why I'm getting these errors?

I'm doing Linux Fundamentals > Containerization, and it happens once I type the second "sudo apt update -y", after that nothing works.

This happens on both Pwnbox and my VM.

#

This is the entire script

tender lake
#

.

tender lake
alpine ridge
#

the medium lab can get the unfiltered version of port 53

tender lake
#

What commands have you tried thus far?

alpine ridge
#

currently trying, sudo nmap -sS <box ip> -p 53 -Pn -n --disable-arp-ping -D RND:20 --source-port 53 -sC -sV

tender lake
#

try with -T 2 as well

alpine ridge
#

i tried with -T1 still getting filtered

#

now trying with -T0

tender lake
#

Try dropping the source-port from you command

alpine ridge
#

no luck still filtered

tender lake
#

what happens when you use --max-retries 0?

#

maybe drop the -sC as well

#

just check that you are not locked out for the 5 minutes after generating too many alerts

alpine ridge
#

okay will do just waiting for a -T0 to run and im 17/100 requests at the minute

alpine ridge
tender lake
#

Try with this sudo nmap -sS -sV -p 53 -T 2 --reason --max-retries 0 --disable-arp-ping -Pn <ip>

alpine ridge
#

got filtered domain no response

tender lake
#

weird. That worked for me when I was doing the lab

dim hemlock
#

Hi guys, I am stuck on Passwd,Shadow & Opasswd module for a while. Is anyone free to help me on a private chat to not spoil any answers/

alpine ridge
dim hemlock
#

nvm I finally did it!!

analog dock
dim hemlock
#

I was trying to unshadow the|| .baks|| when the hash was inside the ||shadw.bak|| I was doing what the module said

faint rampart
#

Windapsearch is a cool alternative (the go version), you could use the members module and use the --group switch if you know the DN of the group you are enumerating to get the group membership. I haven't tried it out yet tho

slate palm
pine dagger
#

Has anyone done Whitebox Attacks? I'm having an issue with the Remote Command Execution chapter, where I can't make it do the described 2nd injection. Any ideas why the JSON proto injection isnt working?

pine dagger
slate palm
#

probably not

civic zenith
#

I do: smbclient //DC01/ -U julio
but I get no output. I am user julio@inlanefreight.htb

#

I have one last question to answer for this section which is: Check the /tmp directory and find Julio's Kerberos ticket (ccache file). Import the ticket and read the contents of julio.txt from the domain share folder \DC01\julio.

#

It's the Pass the Ticket from Linux module

#

What should I do here?

#

I already found the ccache file and used it to switch from root to julio

faint rampart
civic zenith
#

Weird, added those and it still give me zero output

faint rampart
#

apologies, checked my notes, it is -no-pass

civic zenith
#

Hmm not working still no output. I am going to run an errand. Be back later

faint rampart
civic zenith
#

gensec_spnego_client_negTokenInit_step: Could not find a suitable mechtype in NEG_TOKEN_INIT
session setup failed: NT_STATUS_INVALID_PARAMETER

#

brb

dawn agate
#

I'm doing the CPTS path, and so far, everything is going great. However, I'm kinda stuck at the "Password Attacks - Pass the Ticket (PtT) from Windows" section. I'm having a really hard time understanding the concepts in this section. Does anyone suggest external resources that will help cement the information discussed in this section better?

tender lake
#

Am I the only one that is/has been experiencing RDP connection failures? Im trying to do the Password Attacks: Pass the Ticket and Cant connect with the provided credentials, from either the pwnbox or my own vm.

#

The creds provided on the question

feral stump
#

Try remmina instead of xfreerdp

#

Worked for me sometimes

fathom pendant
#

$$ is a variable call, single quotes tells bash to interpret the input as text and not variable or anything else

tender lake
fathom pendant
dawn agate
golden vortex
#

AD Enumeration & Attacks Skill assesment2 Can someone help me with obtain credentials for CT###??? Im trying Inveight but it isnt working

tender lake
#

How can you set the connection to tcp?

fathom pendant
#

^

tender lake
fathom pendant
#

:p lab probably timed out while you were figuring it out

golden vortex
#

When using evil-winrm Inveigh doesnt listen and im not sure why. can anyone help?

autumn mirage
#

guys, i have trouble with pwnbox that after i spawned it i can't connect to the target machine by ssh, the same issue is after reset the machine. is anybody occured with it?

dusty sparrow
#

For the footprinting module for SMTP what's the intended method to enumerate the users in the list provided? I tried passing the list as an argument to the nmap smtp user enumeration script and also used the VRFY method and ran it with packet trace on and it shows as only hitting the first user in the list but when switching the method to RCPT it hits everyone. Regardless when I manually enumerated everyone to get the answer the user that I found still returned a status code of 252 so I'm not sure it'd even return a result if the nmap script did run as I intended it to.

trail leaf
#

You can actually still use Inveigh (kind of) from winrm, but it’s very scuffed and you should just use RDP if possible

dusty sparrow
#

Below is the nmap script I tried using ||sudo nmap -p25 10.129.42.195 --script smtp-enum-users --script-args userdb='/home/htb-ac-474810/plaintext.txt',smtp-enum-users.methods={VRFY} --packet-trace||

golden vortex
fathom pendant
#

Not the Nmap subscript

#

Because Nmap scripting is scuffed af

dusty sparrow
#

Thanks! Yeah it does seem pretty scuffed lol!

umbral wigeon
sly grotto
#

any help for Where is the SAM database located in the Windows registry? (Format: ****\****) ?!

knotty panther
#

can anyone explain me SQLMAP ESSENTIALS > Attack Tuning
case5 please
time base attack UNION ...took time and slow

golden vortex
#

nevermind i just got it

#

thanks for your help

knotty panther
#

i tried tuning best as i could but how can i know i got the right tuning

rich wraith
#

so I found a flag in the JS Deobfuscation module, but I dont understand what is that ,,%" at the end of the flag, can somebody tell me?

trail leaf
#

probably just some URL encoding things going on, you can probably ignore it

civic zenith
#

In password attacks, Pass the ticket from linux, I am user "julio," but when I do: smbclient //DC01/C$ -k -c ls -no-pass I get: gensec_spnego_client_negTokenInit_step: Could not find a suitable mechtype in NEG_TOKEN_INIT
session setup failed: NT_STATUS_INVALID_PARAMETER

civic zenith
#

Im thinking I have the wrong ticket

#

so Im switching it now

subtle flicker
#

there were 2 tickets from julio if i'm not wrong

#

BTW that module is a bit...frustrating 😂

golden vortex
#

AD Enumeration & Attacks Skill assesment 2. How do i Connect to DC01?

daring valley
#

I'm stuck on the linux buffer overflow skill ass, when i try to run my exploit i just get "Illegal instruction (core dumped)". does anyone know what the reason could be?

civic zenith
#

Im stuck as user julio

#

I should not have swicthed from root, now Ive got to back track a bunch haha

cobalt ruin
#

"Password Attacks - Credential Hunting in Linux." The question is: Examine the target and find out the password of the user Will. Then, submit the password as the answer.

#

[★]$ hydra -I -l Kira -P mut.pass.list ftp://10.129.202.64 -f -V
[ATTEMPT] target 10.129.202.64 - login "Kira" - pass "Willi@m99!" - 93972 of 93973 [child 4] (0/0)
[ATTEMPT] target 10.129.202.64 - login "Kira" - pass "Willi@m99!" - 93973 of 93973 [child 4] (0/0)
1 of 1 target completed, 0 valid password found

#

I have tried many times with hydra. But I can't crack the password. Anyone please help me?

subtle flicker
#

This module in particular, i mean the module facilitates a lot the job providing a passlist but generally speaking i hate doing bruteforce on services and waiting

#

Luckily i've finished it today. Gonna crash again into a wall for the AD part fro sure

civic zenith
#

@rustic sage Finally got the last flag

#

i had the wrong ticket

vocal tusk
#

hi guys im doing the skills assesment for hacking wordpress. i have all te flags exept one and cant find the bloody file im supposed to download with the flag from one of the plugins any chance of a nudge in right direction

acoustic owl
acoustic owl
golden vortex
acoustic owl
trail leaf
# golden vortex you log in with ct user correct?

It might be worth revisiting and rereading a lot of the material from the module, you’ve asked questions almost every step of the way for the skills assessment. I also think that it’s a tricky assessment, but definitely important to get a better grasp of these things instead of completing it as quickly as possible.

acoustic owl
vocal tusk
#

BOOM bughunter path now complete

#

😄

acoustic owl
acoustic owl
golden vortex
whole grotto
#

Hi everyone, I'm in the Skill assesment AD module and I've been looking for the password for t**** for hours now. I've used mimikatz and I can't crack the hash, I've used lazagne and nothing. please I need a clue or an indication to continue.

rustic sage
#

if its been running for a certain amount of hours, you might lose connection

thorn hawk
#

Hi to all. I was able to find the last flag of the sqlmap module by doing a copy of the http request and parsing this to sqlmap with a time base technique. When I try to do this manually withtout a txt file I can't seem to get the same results. I have in both cases a tamper setting also. Do you know maybe why is this? I can indicate the two lines here but this will give the exact answer to the module.

winter blaze
#

hello could somone help me in MSSQL , https://academy.hackthebox.com/module/116/section/1169mssqlclient.py the thing is that i tried to login with the credentials available but did no work for me, i tried in MSSQL and SQL as well, any hint ?htbduser@10.129.67.252 -windows-auth
Impacket v0.10.1.dev1+20230316.112532.f0ac44bd - Copyright 2022 Fortra

Password:
[*] Encryption required, switching to TLS
[-] ERROR(WIN-02\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.
┌─[root@htb-dzql6elch2]─[/home/htb-ac-395388]

vocal tusk
#

thank you kindly

#

im going to buy a voucher today and see what the cric is

acoustic owl
vocal tusk
#

craic

winter blaze
#

can someone please help me :C?

vocal tusk
winter blaze
#

for that reason i used this flags,"-windows-auth" do i missing something ?

#

i was using sudo

#

checking

acoustic owl
winter blaze
#

nope `mssqlclient.py htbduser@10.129.67.252 -local-auth
Impacket v0.10.1.dev1+20230316.112532.f0ac44bd - Copyright 2022 Fortra

usage: mssqlclient.py [-h] [-port PORT] [-db DB] [-windows-auth] [-debug]
[-show] [-file FILE] [-hashes LMHASH:NTHASH] [-no-pass]
[-k] [-aesKey hex key] [-dc-ip ip address]
target
mssqlclient.py: error: unrecognized arguments: -local-auth
`

#

sorry i was checking

whole grotto
winter blaze
#

thanks

#

ocate impacket-mssqlclient locate: warning: database ‘/var/cache/locate/locatedb’ is more than 8 days old (actual age is 79.6 days) /usr/bin/impacket-mssqlclient

#

it exists i am using the htb instance

#

checking with the full path command

thorn urchin
#

the path isnt the issue

acoustic owl
winter blaze
#

/usr/bin/impacket-mssqlclient htbduser@10.129.67.252 -windows-auth
Impacket v0.10.1.dev1+20230316.112532.f0ac44bd - Copyright 2022 Fortra

Password:
[*] Encryption required, switching to TLS
[-] ERROR(WIN-02\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.
┌─[root@htb-dzql6elch2]─[/home/htb-ac-395388]

#

nope

#

@thorn urchin so what could be the problem i am typing and copy pasting the password

#

so tha password is not the problem

#

the '

winter blaze
#

lol

restive hound
#

Would someone mind giving me a DM. I am on the Footprinting Lab-Hard. I am trying to log into the MSQL server and keep getting a ERROR 2002 (HY000) error. What am I doing wrong? Any help would be super appreciated.

winter blaze
#

you right

#

xD

#

jajjajaja

#

`/usr/bin/impacket-mssqlclient htbdbuser@10.129.67.252 -windows-auth
Impacket v0.10.1.dev1+20230316.112532.f0ac44bd - Copyright 2022 Fortra

Password:
[*] Encryption required, switching to TLS
[-] ERROR(WIN-02\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.
┌─[root@htb-dzql6elch2]─[/home/htb-ac-395388]
`

#

nope seems thats not the problem

#

i copied the one that @rustic sage sent us

#

jajajaja

#

tranquilo bro

#

se entiende

#

xD

thorn urchin
#

english only, before a mod sees

whole grotto
winter blaze
#

oh got it

#

but is not a user issue

#

an user issue*

acoustic owl
winter blaze
#

is it necessary ? a mean i checked but i was copy pasting

#

and i tried manually by typing and i checked as well

#

look

#

htbdbuser" and password "MSSQLAccess01! || /usr/bin/impacket-mssqlclient htbdbuser@10.129.67.252 -windows-auth >> password MSSQLAccess01! output >> [*] Encryption required, switching to TLS
[-] ERROR(WIN-02\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.

#

nope is not what i am typing or the copy paste method

#

checking

whole grotto
winter blaze
#

did not work xD let me show you the output

#

tmr

#

i can not send it

#

xD

#

a mean i could not

thorn urchin
acoustic owl
thorn urchin
#

I think I used secretsdump but idr for sure

whole grotto
thorn urchin
#

mimikatz def isnt the only thing that can touch lsa

whole grotto
#

yes

thorn urchin
#

humor me and try secretsdump

#

im at work so cant test myself right now

whole grotto
#

ahah okay i'll test secretsdump right now fingerguns

thorn urchin
#

also DM me your lazagne attempt output.

#

Non-zero chance you simply overlooked it

whole grotto
#

ok i send you it now

thorn urchin
hazy jungle
#

Hello. Im working on Documentation & Reporting Practice Lab. Im on question 1 and stuck can i get a nudge?

trail leaf
#

All of the answers are explicitly written in the section for that one

calm heath
#

Having alot of trouble with the file transfer module first section Upload the attached file named upload_win.zip to the target using the method of your choice. Once uploaded, RDP to the box, unzip the archive, and run “hasher upload_win.txt” from the command line. Submit the generated hash as your answer. Anyone have any advice on uploading the file to the windows target?

thorn urchin
#

so utilize the lessons of the module

civic zenith
#

john --wordlist=mut_pass2.list ~/notes.hash
Using default input encoding: UTF-8
Loaded 1 password hash (PKZIP [32/64])
Will run 4 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:00 DONE (2023-07-22 16:30) 0g/s 1995p/s 1995c/s 1995C/s L0vey0u1..LoveYou199!
Session completed
Why does this process end so soon? Its like it didnt even start

#

This is the zip2john section of password attacks protected archives

#

@rustic sage This is the hash here: Notes.zip/notes.txt:$pkzip2$1220261ad0ced23b043026d0ce7ef8b154046595e5f738ad20bd1cda08958a8814bd6c6153218183c0496d728da36461c0c7b77e1c$/pkzip2$:notes.txt:Notes.zip::Notes.zip

#

haha lol

#

hmm ok

#

its doing the same thing

#

Notes.zip/notes.txt:$pkzip2$1220261ad0ced23b043026d0ce7ef8b154046595e5f738ad20bd1cda08958a8814bd6c6153218183c0496d728da36461c0c7b77e1c$/pkzip2$

calm heath
#

@thorn urchin pm me if u got the time im so stuck

thorn urchin
#

youre better off just asking your question here

#

Im at work atm and can only offer limited help

#

ah I see you did ask your question

#

what file transfer method are you attempting that youre stuck with

civic zenith
#

@rustic sage and I removed everything after the third $ so it's Notes.zip/notes.txt:$pkzip2$1220261ad0ced23b043026d0ce7ef8b154046595e5f738ad20bd1cda08958a8814bd6c6153218183c0496d728da36461c0c7b77e1c

#

but that returns no password hashes loaded

#

I'll keep playing with the format until something works

#

yes

#

@rustic sage 🥹

tranquil axle
#

its so fast it can do all of rockyou in <1s

#

which means you need to use a different wordlist

civic zenith
#

@tranquil axle hmm yeah rockyou finishes in 2 seconds lol

pine dagger
#

Has anyone completed Whitebox Attacks? I've got a few questions on a couple chapters and would like to chat about it 🙂

rustic sage
#

This was by far the most difficult module I had ever done, if anyone needs help with AD enumeration & attacks, feel free to reach out.

pine dagger
#

Congrats! I agree, it's probably the most difficult. There's a few tier3/4 ones that come close though. 🙂

rustic sage
#

Yep, it's definitely worth re-doing again to understand better. I am gonna head towards windows privilege escalation now.

pine dagger
#

I'd recommend doing Active Directory LDAP/Active Directory PowerView as a follow on from AD Enum (when you're ready for it ofc). Fleshes out some extra bits of specific knowledge.

pine dagger
#

The high tier modules that focus on web and sql attacks are also quite tricky 🙂

thorn urchin
#

the only thing Id caution about diving into higher tier modules is that the exam only covers what the modules in the path covers

#

Ive witnessed multiple highly experienced people fail because they wasted time trying to do advanced stuff not covered by the course

#

I wasted a whole day trying for something more advanced than what the course covers

pulsar needle
#

💀

thorn urchin
#

hence my exam advice of when it doubt think dumber

rustic sage
pine dagger
rustic sage
#

I think those modules are part of CBBH, in CPTS we have SQL injection attacks but it doesn't go too deep

pine dagger
#

I'm doing the modules for the modules, not for the exams themselves 🙂

#

I may do the exams later on

rustic sage
pine dagger
#

78/81 modules. 🙂

rustic sage
#

You are so close!

subtle flicker
#

Wow u're doing all of them?

pine dagger
#

thats the goal

subtle flicker
#

That's cool

pine dagger
#

then smash through a bunch of boxes

subtle flicker
#

What do you left?

#

I think you're good enough to do boxes, atleast the easy ones

pine dagger
#

Whitebox Attacks, Working with IDS/IPS, Game Hacking Fundamentals

#

Whitebox Attacks is frustrating the crap out of me atm :3

subtle flicker
#

Ye i can understand the feeling

#

I think u got the most modules in order to do the boxes, but i can understand the greeding for the modules 😂

pine dagger
#

its coming up to a year since I started on the modules, so wanted to get them done before the anniversary 😄

hazy jungle
#

Im working on Documentation & Reporting Practice Lab. Im on question 1 and stuck can i get a nudge/DM? thanks

deep owl
#

hello

#

AD Enumeration & Attacks - Skills Assessment Part II

#

Locate a configuration file containing an MSSQL connection string. What is the password for the user listed in this file?

deep owl
#

guys i think am facing a problem with my account

#

when i ssh to the ip spawned in AD Enumeration & Attacks - Skills Assessment Part II

#

it shows me as the htb-student@skills-part01

#

not a helpful answer

thorn urchin
#

more so make sure you have the correct lab spawned

#

and?

clear mason
#

hello i am in the RFI from File inclusion module and for some reason the spawned ip doesnt have a port and i can't access the site i should try RFI on .. am i missing something ?

deep owl
#

spawned the right section part II but when is connect to the spawned ip it shows me as am htb-student@skills-part01

#

please if anyone can direct me to support team

#

that would be helpful

thorn urchin
#

did you reset the lab

fathom pendant
clear mason
fathom pendant
hazy jungle
#

Im working on Documentation & Reporting Practice Lab. Im on question 1. I crack the ipmi hash but I cant find where to use it. any nudges?

deep owl
#

this started happening like since two days ago

deep owl
thorn urchin
#

have you tried resetting the lab yet

deep owl
#

yes did that

thorn urchin
#

mmkay

zinc marsh
#

just 3 more bro

raw otter
#

Any advice or tips for academy beginner?

fathom pendant
trail leaf
#

pretty much this ^

livid zephyr
#

password attacks, Lab - Medium. Question, I don't know how to proceed. I got 'J' credential, logged in. I tried doing a privilege escalation, but couldn't find anything to grasp. There is not history in the account and I kept looking at mysql 's folder for any posssible credentials, however, I only found 'mysql' user, but not password. I tried loggin into mysql with blank password, 'j' credentials, and even tried all default credentials but all fail. The command I tried was 'mysql -u mysql' inside my logged session. I am not sure if that is the correct command. I also notice the otherr user, 'w', but I don't have access to any of his files. I will try to brute force ssh for this user, but that is my last resort, it takes forever. Any hints?

deft bison
#

Has anyone solved TE.CL seciton in the HTTP Attacks Module? If yes, can I DM someone?

livid zephyr
# fathom pendant What about it?

password attacks, Lab - Medium. Question, I don't know how to proceed. I got 'J' credential, logged in. I tried doing a privilege escalation, but couldn't find anything to grasp. There is not history in the account and I kept looking at mysql 's folder for any posssible credentials, however, I only found 'mysql' user, but not password. I tried loggin into mysql with blank password, 'j' credentials, and even tried all default credentials but all fail. The command I tried was 'mysql -u mysql' inside my logged session. I am not sure if that is the correct command. I also notice the otherr user, 'w', but I don't have access to any of his fi

fathom pendant
livid zephyr
#

i thought I tried that, but let me try.

fathom pendant
#

So logged in as j*

livid zephyr
fathom pendant
#

Like ssh

fathom pendant
#

I don't have my notes on me ¯_(ツ)_/¯

livid zephyr
livid zephyr
fathom pendant
#

Ye

livid zephyr
# fathom pendant Ye

thanks, I blame it on spending too much in front of the screen looking at the same problem over and over.

trail leaf
#

I usually do mysql -u root -p -h IP myself, and then enter the password at the prompt

pine dagger
#

Sometimes those mistakes are the best teachers.

trail leaf
#

just wait until you get to AD and have to fight DNS HYPERLUL

#

but it do be like that sometimes

pine dagger
#

Fight DNS?

next umbra
pine dagger
#

You mean you don't automatically edit your hosts file everytime you're working with AD? 😄

livid zephyr
trail leaf
pine dagger
#

Never had that problem, in any module.

trail leaf
#

just talking AD in general 🤷‍♂️

pine dagger
#

Mmm, can't think of a situation where that would be the case, except multiple DCs.

trail leaf
#

I also can't because it's been a while since it's happened to be but it definitely has happened to me before and/or I've read about it

#
pine dagger
#

Ah I see. I've always done it in that order. lol

rustic sage
#

i do not understand this can anyone send video explain it

upper lagoon
zinc marsh
#

it seems like copying the http request burpsuite? and pasting it to the console

rustic sage
pallid zodiac
#

I am doing the basic linux module and it says that I need to authenticate when I try to use systemctl enable ssh but I dont know what the password is. What password would it be?

zinc marsh
rustic sage
zinc marsh
#

oh u studying computer engineering

#

I am studying that in the university as well

zinc marsh
#

if u don't know what is something just search for it and learn what it is

unborn shard
# rustic sage i do not understand this can anyone send video explain it

In my honest opinion the issue is not even what you didn't understand rather what you asked for, a video, as many of those people who can't focus enough on reading things and understanding them. I would be able to provide you with a very good book about web requests that will explain in detail what you said to not understand, would you be willing to accept that?

zinc marsh
rustic sage
unborn shard
torpid frigate
#

hey guys is there any place i can post to ask for help with a question in a module.

upper lagoon
# rustic sage what is JSON ? and i shoul know it?

JSON put very simply is a file format, like PDF which you've probably heard of before.. JSON is primarily used in web development and has some strict rules regarding its content, that must be composed of pairs of keys and values (which together compose a JSON element) and the value can be a JS object, an array, a string, an integer, a string and so on
You should definitely know it, most web requests you will encounter are in the JSON format and if you continue with your hacking journey you will soon be asked to edit or forge your own web requests

upper lagoon
deep owl
#

hello all

hazy jungle
#

Im working on Documentation & Reporting Practice Lab. Im on question 1. I crack the ipmi hash but I cant find where to use it. any nudges?

umbral wigeon
umbral wigeon
#

if youre still stuck send me a dm

slim nova
#

@worthy pagoda and @onyx rapids Did you guys find out how to bypass the "LOG INJECTION" module's WAF? I can't get < or > to return. I've tried the common bypasses but no lucl.

Anyone reading this, did anyone solve this?

quaint hemlock
#

can anyone help me with this question? Connect to the testing VM using Xfreerdp and practice testing, documentation, and reporting against the target lab. Once the target spawns, browse to the WriteHat instance on port 443 and authenticate with the provided admin credentials. Play around with the tool and practice adding findings to the database to get a feel for the reporting tools available to us. Remember that all data will be lost once the target resets, so save any practice findings locally! Next, complete the in-progress penetration test. Once you achieve Domain Admin level access, submit the contents of the flag.txt file on the Administrator Desktop on the DC01 host.

I already manage to rdp to DC01 and success, but now I can't found any flag.txt file, anyone know what to do please?
thank you!

heavy marsh
#

FOOTPRINTING HARD LAB: Enumerated all of the TCP ports and UDP. From what I'm seeing on the forums it's all about UDP, but I'm not finding anything based on the scans in the lessons.

#

braa, onesixtyone, snmpwalk

#

snmpwalk is returning: "Timeout: No Response: <IP>"

quiet ember
heavy marsh
#

onesixtyone -c <pathtomy snmp wordlist> <ip>

#

That's all I got, IP preceding.

pine dagger
#

Dude

#

It’s giving you the answer

#

(Also should probably remove that screenshot)

umbral wigeon
heavy marsh
#

I don't understand

quiet ember
heavy marsh
#

Especially removing the screenshot, I redacted the IP for a reason

quiet ember
#

@heavy marsh it's showing you the connection string in your screenshot

pine dagger
heavy marsh
#

NIXHARD, yeah tried that

pine dagger
#

The first word in the screenshot you posted is the snmp community string….

#

So you can do the next command which is failing

#

So… you were doing everything right 🙂

heavy marsh
#

braa command doesn't return anything using NIXHARD

pine dagger
#

That’s not the first word

heavy marsh
#

oh I see.

#

What's the difference between the two?

pine dagger
#

Sometimes it’s staring you in the face. 🙂

quiet ember
pine dagger
#

The first word is the brute forced community string. The second word is not

pine dagger
#

I’ve had moments like that. Where I’ve misread what the output was showing me. Always good to check that you understand what the output a tool is meant to show

heavy marsh
#

Yeah, I was stuck on the prompt from the lab that talked about "HTB"

pine dagger
#

The rest of that question is pretty logical to follow from there. Easier than medium, heh

heavy marsh
#

Thanks @pine dagger

pine dagger
#

You’ll need HTB at the end when you get to the sql server 😉

heavy marsh
#

Good to know. I'm making my own writeup of these challenges. Details are hard, but they help later.

pine dagger
#

Oh you definitely should. I didn’t take proper notes until I did password attacks. I regret it a lot

quaint hemlock
heavy marsh
#

Someone yesterday told me to do a UDP scan and I was just thinking of that as an alien concept

#

Due to THM garbage.

trail leaf
#

Definitely takes a minute to find a style/method of writing notes that works for you

acoustic owl
umbral wigeon
quaint hemlock
heavy marsh
#

I understand UDP though

pine dagger
slim nova
quaint hemlock
heavy marsh
#

Stuck on FOOTPRINTING HARD, did UDP scan and have no information to further enumerate

#

tried the tom and password for SSH and it didn't work

#

at this point I'm just guessing based on the lesson material

quaint hemlock
#

anyone know how to crack ipmi hash from documentation and reporting module?

this is the hash 5768797002000000e05179a2382122e7500df7c9949a89f08a1987132dd0f48fe2e1d37238c7448fa123456789abcdefa123456789abcdef140541444d494e:a60c216003306640422c8855b290c32c53319e5a

please tell me the steps if you know, thank you

heavy marsh
#

Thought this was going to be useful but it wasn't. Where do I go from here!

trail leaf
#

DM me

heavy marsh
fathom pendant
heavy marsh
#

Actually I'm pretty sure it's not

fathom pendant
#

It is

heavy marsh
#

Those creds did not work

fathom pendant
#

As someone that's completed the module

heavy marsh
#

Deleted

#

Still didn't work

fathom pendant
#

They are spoilers, you're sure you've tried everything? Are you sure you're copying the password correctly and there's no weird paste issue adding new line characters

quaint hemlock
trail leaf
#

When you get credentials, you want to try them against any service that requires authentication

#

Credentials that work against one may not work against another

trail leaf
#

there's more than just SSH out there

acoustic owl
heavy marsh
#

I'm trying to SSH and I cant even input a password

#

Port 22 is open based on my NMAP scan

#

AWESOME!

trail leaf
#

oh you shouldn't be getting a timeout error, you should be getting a different error lmao

acoustic owl
heavy marsh
#

Tried them

slim nova
trail leaf
heavy marsh
#

now I've done UDP

#

what's left?

trail leaf
#

DM me, I don't want to spoil more about the skills assessment here

acoustic owl
heavy marsh
#

Enumerated all of the services on FOOTPRINTING HARD, no logins are working

fathom pendant
#

Are you sure you did a scan for all ports?

#

That password works for a service

heavy marsh
#

143,995,993,110,22 TCP and then 161 UDP

#

Password hasn't worked for anything

fathom pendant
#

What are 995,993

heavy marsh
#

what NMAP should I be using to find that service

#

POP3 and IMAP

fathom pendant
#

Mbm

#

You specifically have to login to the secure version of these services

heavy marsh
#

I've already scanned everything I'm stuck

#

I even DMed @trail leaf

#

He helped me

#

openssl s_client -connect <IP>:pop3

#

just hangs

fathom pendant
#

pop3s

#

You need the s at the end

#

Iirc

heavy marsh
acoustic owl
#

You could also just use a mail client 😉

fathom pendant
#

That's the easy way

heavy marsh
#

I'm just trying to figure out if this is my commands or if it should be in erratum?

#

So far I'm thinking erratum

fathom pendant
#

I dont have wifi to check

heavy marsh
fathom pendant
#

The password you received appears to be correct

#

I am loading up my vm to double check you

heavy marsh
#

Well then what's the issue?

fathom pendant
#

I have the password saved

trail leaf
heavy marsh
#

no worries

fathom pendant
#

That password is correct

fathom pendant
acoustic owl
#

You can also try it with the PwnBox

quasi mango
#

Does anyone else have issues connecting to the windows xfreerdp on the windows event log module?

#

I just keep getting errors failed to connect, but when i first used the command it connected then disconnected and continues to give me that error

quartz coral
#

~~Attacking Common Services - Easy

Does anyone help me to find the password of f**** ?
I'm wondering if I should do bruteforce with huge list.
#modules message

Any suggestions would be greatly appreciated.~~
I've got password.

quasi mango
#

Before it did connect one time though

quasi mango
#

That was the first one I used actually and it did a similar thing

#

connected first time then didnt but let me try again

fathom pendant
quasi mango
#

Let me run the command real quick

#

I still get that

#

Im not to sure

fathom pendant
#

Reset the lab and try the new ip it gives you

autumn pilot
acoustic owl
fathom pendant
#

@heavy marsh I don't recall if I got the answer with pop3 but imap

#

I generally hate pop3(s)

sleek urchin
#

Doing Introduction to Windows Command Line: Skills Assessment *Q4: User4 has a lot of files and folders in their Documents folder. The flag can be found within one of them. *

fathom pendant
#

Find a way to combine commands to read multiple files

sleek urchin
#

I performed tree /F C:\Users\user4\Documents | ?? and i know i should pipe it to a command to read all of the flags to find the answer, i have tried many things but nothing seems to be working

fathom pendant
#

Pop3 is just ass

fathom pendant
sleek urchin
#

a linux equivalent is tree <path> | cat * but what is the powershell equivalent, any help is appreciated

sleek urchin
#

or type

fathom pendant
#

pika_sip I believe an earlier section tells you how to read files

#

Yes

heavy marsh
#

What is wrong here

autumn pilot
#

protocol

quasi mango
autumn pilot
#

xfreerdp

fathom pendant
#

Read the message I pinged you in

heavy marsh
#

Sorry, I thought I did a screenshot

#

FOOTPRINTING HARD

fathom pendant
#

Ffs

autumn pilot
#

if you keep posting the picture with the user and his password, I'll keep deleting it

heavy marsh
heavy marsh
#

I just want help!

thorn urchin
fathom pendant
#

Read

autumn pilot
autumn pilot
heavy marsh
#

protocol?

#

I don't understand

autumn pilot
#

If you disregard it, then ¯_(ツ)_/¯

#

Always remember, the exercises are based on the section/module, but they require you to adapt a little bit and not to copy paste commands - thats not the point

fathom pendant
heavy marsh
fathom pendant
#

...

#

Scroll up

#

Just... scroll up

heavy marsh
fathom pendant
#

Warmer

heavy marsh
#

imap?!

fathom pendant
#

Yes

heavy marsh
fathom pendant
#

Trial and error

#

But I would say imap > pop3 because imap has file structure

fathom pendant
acoustic owl
obsidian marten
#

hi, i'm currently doing the web requests module for post

#

my cookie is correct, the authentication is correct, headers are all correct, and i'm not getting any issues other than there isn't data returned for the flag

#

like for example, when i search for london, the data i get is ["London (UK)"]

#

but when i search for flag, the data is []

#

i also tried to make sure there weren't any issues with double quotes in my json by using escapes before the quotes, and i still get [] for flag

actually hm, i just realized any search i've been trying other than london has returned []

EDIT: ok never mind about this, i refreshed the machine and got the flag

heavy marsh
#

Stuck on FOOTPRINTING HARD

#

What is the next logical step?

#

Apparently I'm supposed to find a password for a username "HTB"

tranquil axle
fathom pendant
#

I've linked an article a few times in here about different imap commands

acoustic owl
heavy marsh
#

what's ID

fathom pendant
heavy marsh
#

THIS is what I have to go on for now

#

Last time I put in some arbitrary command it was not easy to get back in.

fathom pendant
tranquil axle
#

the problem is using "all" when there are other options that show you more info than "all"

heavy marsh
#

Okay, but where do I find all of this info?

fathom pendant
#

Do you know how discord's search feature works?

pulsar needle
#

How am I supposed to access a local website on this box? There is no web browser and i need to locate a website lol

thorn urchin
#

I just google when I don't know

#

imap command line retrieve message

heavy marsh
#

Respectfully, I'm not trying to read blogs, I'm trying to read HackTheBox

thorn urchin
#

gives me like 12 different articles with tons of examples

thorn urchin
fathom pendant
thorn urchin
#

you are expected to apply outside research as well

pulsar needle
#

It isnt installed

thorn urchin
acoustic owl
fathom pendant
#

I literally could not have found this without using outside research

heavy marsh
#

I pay for this service, I'm expecting a certain level of professionalism

pulsar needle
#

Aaaaaa lol

fathom pendant
thorn urchin
fathom pendant
#

We're leading you to how to find the answers in multiple sources

heavy marsh
#

No it's not you guys, you are being helpful for sure!

fathom pendant
#

Google, this chat

#

The modules themselves aren't going to teach you everything

thorn urchin
#

this is one of those situations

acoustic owl
fathom pendant
heavy marsh
fathom pendant
#

We are aware

#

That's why we're trying to steer you in the right direction

#

Sometimes module is just dumb and shows a bad/worse way

thorn urchin
#

and I do not want to see that happen to you

fathom pendant
#

And other times as madf0x said: they want you to develop research skills when you run into a wall

#

I tend to come here for help when I've exhausted reading the sections over again, and googling

fathom pendant
#

Apparently not, since one of the suggestions was literally "Google the thing"

acoustic owl
# heavy marsh same here!

Actually you currently have two options

Either you look for the article that Marcie posted here some time ago, or you use a mail client such as Evolution / Thunderbird etc.

fathom pendant
#

First time I ran the module i used an email client, second time i stuck to command line

#

(I got stuck at the NILNILNILNIL) part for a bit too

#

It's not "cheating" to use gui clients

#

Especially when they just work™️

heavy marsh
#

I'm still stuck on the output

#

no problem

#

then what?!

fathom pendant
#

Then there's a few options

  1. utilize discord search feature
  2. Google
  3. install and use mail client
#

All will yield results to lead to the answer

thorn urchin
#

I mean this was already extremely close to the answer

#

you just need to do that tiny bit of extra research to actually retrieve what you want

fathom pendant
#

Yep

#

It's a case of you hit a wall and you've been given options to go over, under, and through it. And it's just not clicking

heavy marsh
fathom pendant
#

Nothing is wrong

heavy marsh
#

Am I supposed to be using a tool that wasn't mentioned in the module?!

fathom pendant
#

This issue is all user related

heavy marsh
#

Which user?!

fathom pendant
#

🪞

thorn urchin
heavy marsh
#

But I have no user privileges yet

fathom pendant
heavy marsh
#

I had a user "tom"

fathom pendant
heavy marsh
#

that didn't work out

fathom pendant
acoustic owl
thorn urchin
# heavy marsh that didn't work out

I think it might be good time for bed my friend. Its late in our timezone and youre starting to regress from the progress you had already made.

Review it with fresh eyes in the morning.

golden arch
#

Im having a problem submitting a flag in the module of file upload, in the section while list upload upload.. anyone has had the same problem?

fathom pendant
pine dagger
umbral wigeon
#
#

Interesting stuff!

acoustic owl
short hare
#

Hey can anyone help me in the Footprinting Lab -Easy

What I have done
namp -sC -sV -Pn <ip> gives ftp 21, 2121 open , 22 ssh open

Logged in with the ftp server with the creds given in the module. Found nothing

Downloaded all files using wget -m --nopassive ftp://:@<ip>

Found a folder with a hidden file '.listing'
cat . listing gives nothing useful

Almost spent 2 days with it. Please help!

pine dagger
tranquil axle
#

is the best method to mount a bitlocker encrypted vhd really just using windows? I'm trying guestmount but I'm just failing from one error to the next

tranquil axle
#

Password Attacks Hard Skill Assessment

pine dagger
tranquil axle
#

Thanks I’ll take a look!

tranquil axle
short hare
naive wadi
#

when we finish a module it recommends labs/boxes on regular HTB; is it advised to go and do these or complete the course & then do the labs/boxes on regular HTB?

tranquil axle
#

most of the boxes on HTB expect you to have knowledge of several modules. If you just finished your first few modules those boxes might still be too hard. Most boxes are set up in a way that you have to find the vulnerabilities yourself and if you don't know yet what kind of vulnerabilities can exist in e.g. webapps then you might get stuck quickly

#

I finished the cbbh modules first before attempting any boxes personally

sharp grail
#

Can anyone give me a hint on "Passwd, Shadow & Opasswd"

I am currently stuck on the question: "Examine the target using the credentials from the user Will and find out the password of the "root" user. Then, submit the password as the answer."

I have already unhashed passwd and shadow file, but my hashcat command is not working:

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

the root hash which I am passing thorough looks like this:
root:$6$XePuRx/4eO0WuuPS$a0t5vIuIrBDFx1LyxAozOu.cVaww01u.6dSvct8AYVVI6ClJmY8ZZuPDP7IoXRJhYz4U8.DJUlilUw2EfqhXg.:0:0:root:/root:/bin/bash

rare topaz
rare topaz
sharp grail
#

no error but nothing cracked

tranquil axle
#

offline cracking is often so fast that you can afford to use bigger wordlists, the one you used got fully processed in 2 seconds

sharp grail
tranquil axle
#

try using what the module provided and what it taught you in the previous sections

sharp grail
#

i read through the forums and a lot of people used the one given by HTB and it workd, i am just wondering what I am doing wrong

tranquil axle
#

HTB provides you with three files, a passwordlist, a userlist and a third file

#

maybe that third one can help you

sharp grail
#

thanks

crisp lance
#

hello

tranquil axle
#

yea the module is kinda mean in the way that they switch around which wordlists you need to use

pulsar needle
#

I am doing the skill assessment in the shells and payloads module, i have tried to upload a .php file and use burp to change the "Content-Type" to ||application/octet-stream||, but it still says i need to upload a .war file and it cant be anything else, what am i supposed to do?

tranquil axle
pulsar needle
#

ok

dire sage
#

im in a module , and i need to upload a reverse shell to a website

#

but i can«t acess the website

#

it is already in hosts

#

forget it , i only restarted the ip address

pulsar needle
tranquil axle
#

I think after uploading it it appeared in the list on top and can be executed, no? ||Otherwise theres also a msf module for it||

pulsar needle
#

Nothing works

#

Lol

#

I am dying

fading cipher
#

Should I work through htb modules or go to boxes?

I'm currently almost done with Jr Penetration Tester on THM and planning to finish Penetration Tester before moving over to HTB.

I'll be buying premium on both so disregard free/pay considerations

tranquil axle
#

maybe try resetting the box once? lol

pulsar needle
#

I did

#

No

#

Wait

#

Let me try resetting it again

#

If it dosent work after resetting the box

#

Rip me

#

Still dosent work

#

:I

tranquil axle
#

mh can you try setting the other ip as LHOST

#

the internal one, not the one you connect to

pulsar needle
#

Then I get 2 errors

tranquil axle
#

Try ifconfig in terminal on the machine you are connected to

#

There should be a ip starting with 172

#

That’s the one you need, the machine you are attacking can’t reach ips on the 10. subnet

pulsar needle
#

Still dosent work

rustic sage
#

isn't this that ||facebook|| styled blog?

pulsar needle
#

I am so stuck

#

And I have no clue what to do

#

manual payloads dont work either

#

crafted with msfvenom

rustic sage
#

Did you check other services running on the host?

pulsar needle
#

It specifially tells me to ||login to the website, the hint tells me to upload a file here and execute it||, but it dosent work

rustic sage
#

yeah, but it doesn't tell you if it's tomcat or not

#

look for another service

pulsar needle
#

And i checked online, and it works for other people

rustic sage
#

for live engagement of shells & payloads, I followed the same path of .war payload and then realized there is another service

pulsar needle
#

wh

#

a

#

ok

rustic sage
#

and for that other service, ||I think you need to read the exploit code and reproduce it manually|| because ||you may not be able to add an exploit to msf|| lol

whole grotto
#

Hi everyone I have a question about SA AD part 2

I'm at question 4 and I managed to guess the password for question 5. However, when I try to do a password spraying on the DC using kerbrute and cme the password doesn't match any user.

I thought I had got the user names wrong so I tried two formats 'user' and 'user@inlanefreight.local'.

I have 57 users in my two lists but none of them work.

Could someone explain why?

#Update# I succeed

pulsar needle
tranquil axle
#

I did this just a few days ago, I remember struggling a bit (didnt realize firefox was on the machine installed) an ended up setting up a ssh tunnel to even access the website. But I'm pretty sure I just uploaded my war file and got a call back on nc

#

oh, okay after uploaded the rev shell "starting" it wasnt enough, I had to click the "/revshell" url in tomcat

tough prawn
#

Guys I want to learn Active Directory privilege escalation\lateral movement attack any recommend ?

#

btw I Finsh the Active Directory Enumeration & Attacks Module So I want To go deeper

whole grotto
#

or tier4 idk

pulsar needle
umbral wigeon
deep owl
#

AD Enumeration & Attacks - Skills Assessment Part II

#
  • 1 Locate a configuration file containing an MSSQL connection string. What is the password for the user listed in this file?
tranquil axle
deep owl
#

i have tried to use powerview & importing active directory module to enumerate but it is producing errors..... i figured to use bloodhound but am only able to run it on the 172.16.7.240 and not on the windows machine...and when i ran it am not able to find anything interesting ..... appreciate any hints that would point me in the right direction

tough prawn
whole grotto
# tough prawn can you share the link please ?

You have the windows attacks and defense module(Tier II), the kerberos module(tier III), Bloodhound(Tier III) etc... search with the search bar in the module section you have a lot of modules on windows and AD

quaint hemlock
# trail leaf look into john the ripper

can't get the hash though, already tried john --wordlist=/opt/useful/SecLists/Passwords/Leaked-Databases/rockyou-75.txt --format=Raw-SHA1 ipmi.txt

what should I try?

pulsar needle
tranquil axle
#

hah no problem, yea that can be confusing

quaint hemlock
#

in documentation and reporting module, why did I failed when RDP to DC01? is it because I get the hash wrong?

short hare
umbral wigeon
pine dagger
short hare
pine dagger
#

It’s a good feeling. Although it sometimes feels like “ugh so many modules to go!”

lean jackal
#

Hi everyone
I am stuck on Module: ATTACKING COMMON SERVICES, Section: Attacking DNS, Question: Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer.

I ran dig axfr @10.129.203.6 inlanefreight.htb but nothing of interesst there. Then I ran dnsenum --dnsserver 10.129.203.6 --enum -p 0 -s 0 -f /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt inlanefreight.htb with some other wordlists as well and found two subdomains ||h... and c..||. , but I am no able to continue from here.

Any help much appreciated.

whole grotto
#

Hi everyone I have a question about SA AD part 2

I'm at question 7 (Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host) I managed to get a reverse shell, but I don't see any folder in c:\users\administrator

Should I escalate my privileges? If so, how, as printnightmare doesn't seem to be working?

pulsar needle
#

Why doesnt the msf exploit i imported work?

acoustic owl
umbral wigeon
whole grotto
#

but it's the same no ? i'll not have admin priv ?

umbral wigeon
#

theres a module called incognito that u can see for token impersonation

rare topaz
pulsar needle
#

Its one called ||"Lightweight facebook-styled blog 1.3 - Remote Code Execution (RCE)"||

fathom pendant
#

Make sure you set all options appropriately

#

Sometimes it does require closing and opening msfconsole again

#

It can be touchy

whole grotto
rare topaz
#

meterpreter is too convenient ngl.

And i recently noticed alot of hacking interviews/documentaries online will show metasploit being used lol

pine dagger
#

I dont think there's any issues with using meterpreter... as long as you are also able to carry out attacks without it.

dire sage
#

one thing that i dont understand is why they ask wheres something in the pwnbox in the modules

#

like i can only use it 1 per day , and i only use it when i have some bug on my machine

#

so if i do it one time and i close it , i cant make the module any more on the day

acoustic owl
whole grotto
#

Hi everyone, I have a question about SA AD part 2

I'm on the second to last question and I really have no idea how I can access DC01. I saw that WinRM and RDP are not open on it. I've also looked at shares but I don't really have any idea...

Could I have a clue so that I can get rid of this crazy module? sadglas

alpine ridge
#

Hi is anyone able to help me with footprinting smb section please?

rare topaz
pulsar needle
#

I have tried so many different payloads but all of them get deleted, what am I supposed to do? (Normal files dont get deleted, but PHP and war ones gets deleted)

whole grotto
rare topaz
#

is there a trailing empty space at the end?

#

if not, you can try restarting the box

alpine ridge
#

what ive noticed is its giving me the same flag i got from completing the ftp section previously, could i somehow be connecting to my own machine?

rare topaz
alpine ridge
deep owl
#

AD Enumeration & Attacks - Skills Assessment Part II

#
  • 1 Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host.
#

and sqsh is not working

#

are there any replacement to mssql that would work

whole grotto
whole grotto
split dawn
#

Hello i'm doing the module: 'STACK-BASED BUFFER OVERFLOWS ON LINUX X86 ' and i'm stuck at this Q: How large can our shellcode theoretically become if we count NOPS and the shellcode size together? (Format: 00 Bytes) - i've tried viewing information with 'info proc mapping' in gdb , but can't find any clue. Can someone point me to the right direction plz ?

fiery berry
deep owl
whole grotto
fiery berry
whole grotto
#

I'm currently connected with c*** in ms01

fiery berry
umbral wigeon
#

It tells you the commands u can run to abuse the genericall

cedar void
cedar void
cedar void
maiden spindle
deep owl
#

i have not gained any access to sql host due to an error while running mssqlclient.py

#

and looking back at the chat history a lot of people faced the same issue

tranquil axle
#

or it could be CN=Pentest if its a Container and not a OU

whole grotto
deep owl
cedar void
deep owl
cedar void
whole grotto
rustic sage
#

I am new to hackthebox, how basic is the start of the linux fundamentals? Is it good for someone that knows little about linux are is it really the fundamentals?

deep owl
# whole grotto what is the error msg you have

Impacket v0.9.24.dev1+20211013.152215.3fe2d73a - Copyright 2021 SecureAuth Corporation

[*] Encryption required, switching to TLS
[-] ERROR(SQL01\SQLEXPRESS): Line 1: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.

fiery berry
rustic sage
#

|

#

two of those

#

on each side

deep owl
fiery berry
#

@rustic sage answered you

rustic sage
#

two of them

#

as I said

deep owl
#

||mssqlclient.py -windows-auth INLANEFREIGHT/netdb:'D@ta_bAse_adm1n!'@172.16.7.60||

rustic sage
#

there we go :)

deep owl
cedar void
deep owl
#

hmmmm, it was not mentioned in the section, however am intrested to learn what is proxychain and how can i use it in my command

#

you mean this + 1 Submit the contents of the C:\flag.txt file on MS01.

#

||nah evil-winrm||

deep owl
#

i kinda skipped this module

fathom pendant
#

You really shouldn't lol

#

And tbh it's not that terrible

#

Those skills are extremely useful. And skipping the module only shoots yourself in the foot

#

Not to mention that one is by far the most copy/paste module out of all of them

deep owl
fathom pendant
#

You really shouldn't skip

rare topaz
#

it's rlly useful, please dont skip it

#

source: needed it to complete multiple linux boxes

deep owl
fathom pendant
#

You should probably double back to it now :)

#

And complete ad after

deep owl
#

the AD ofcourse

rotund urchin
#

Web Proxies and Intercepting Web Requests. Any idea where the 2nd flag is? I have looked in several places, but not seeing it? Question: Try using request repeating to be able to quickly test commands. With that, try looking for the other flag.

whole grotto
deep owl
#

❤️

whole grotto
#

i had the same issu

deep owl
#

you're the best

#

i hate being stuck for smal stuff

whole grotto
#

all of us hate that ahahah

zinc marsh
#

is there someone who could help me configuring the krb5 realms?