#modules

1 messages · Page 288 of 1

fathom pendant
#

you can also do sudo killall openvpn to make sure all processes are terminated for it

zenith vale
#

ive tried to use the expect wrapper as they said in the module and it hasnt been working

wraith pelican
#

the server is just fed up "not not them again"

zenith vale
#

curl -s "server:port/index.php?language=expect://id"

fathom pendant
#

did you replace <id> with an actual value? idk what it's expecting tbh

#

i haven't done this module myself

zenith vale
#

well its supposed to be an rce , so id should show me the user's permissions

#

such as uid, groups etc.. ive tried other commands aswell. such as ls, basic stuff really and it doesnt work for me

stark lark
#

Haha yup, haven't you heard of that one? Jokes aside, restarting VM did the magic,

wraith pelican
zenith vale
#

i mean

#

it should i guess, it followed the configuration necessairy for it to work, and ran it with it and seems like the config was ready for it

#

with extensions=expect , being set for the expect wrapper to be used. so im baffled

wraith pelican
#

yeah maybe this is just me, i don't know, i remember at the start of that web part, trying to make everything work and spending time on it, to finally realize some things just did not work but i was able to complete the exercises with other techniques from the course.

zenith vale
#

well i am at that part to be honest 😂 , ive finished the section already used the other wrappers to gain rce, ive did it and it worked fine

#

just this part hasnt worked and it grinds my gears

rustic sage
#

alr

#

i'll tell u the result

wraith pelican
rustic sage
#

oh lol

#

@next bronze it worked, sudo nmap -sUV --disable-arp-ping -Pn -n --source-port 53 -p 53 10.129.2.48 --script dns-nsid

#

but are there other questions that work like this? i dont wanna use pwnbox, im comfortable with using my host machine

karmic girder
#

hey guys, any hints for Skill-assesment of Broken Authentication?

stark lark
#

How can I trigger a php reverse shell which I have uploaded to a webserver, through a FTP server?

I can access the .php file on the HTTPS site, but when I do so, the webserver serves the file for download and is not running the php code.

zenith vale
#

call it?

#

i assume the webapp resources or someof them are stored there, and it calls them from the ftp server, i presume if u go to the directory through the url u might be able to activate the rev shell

fathom pendant
zenith vale
fathom pendant
#

you replied to the wrong person

#

btw

zenith vale
#

ye i noticed

fathom pendant
#

anyway no idea

#

there's a couple ways to do the easy skill assessment

stark lark
fathom pendant
stark lark
#

Yup but already there

fathom pendant
#

you can also search for vulnerabilities

stark lark
#

Me?

fathom pendant
#

i believe the documentation explicitly states C*FTP

zenith vale
stark lark
#

Something like that - I just find it way out of context considering the material in the room

zenith vale
fathom pendant
#

htb teaches you how to also look for info

#

not just "well it wasn't taught explicitly"

#

either way FTP isn't the only way forward

#

but also @stark lark reverse shells aren't always necessary

#

try just a basic php webshell

#

<?php system($_GET['c']); ?>

stark lark
#

Yes that is what I'm currently trying

fathom pendant
#

well are you specifying .../file.php?c=<command>?

stark lark
#

Sorry.. That is what I will try now after the regular php rev shell

fathom pendant
#

stop trying for a rev shell :)

#

you won't always be able to get a rev shell; and shouldn't be your sole focus

stark lark
#

Was just the first thing that came to mind

#

When I figured I was able to upload and access it through the webserver

fathom pendant
#

you won't know a revshell would work if you can't get a basic webshell to work/test

#

always start with the basics

#

"can I get it to run a command?"

#

also if your revshell syntax is for linux, it's not gonna work

#

the host is not linux

wraith pelican
#

what were the lessons learned from the previous adventure in brute forcing? : D

stark lark
#

This also downloads the shell2.php file

fathom pendant
#

also:

#

STOP GOING FOR REVSHELL

#

i literally gave you a simple webshell syntax

fathom pendant
rustic sage
fathom pendant
#

means it's not often

rustic sage
#

oh

#

okay

fathom pendant
zenith vale
#

why do u have // over there?

#

shouldnt be a single /

fathom pendant
zenith vale
#

dont hit me

#

no need to be violent 🫣

stiff moon
#

anyone to help on the Skills Assessment for the module Intro to C2 Operations with Sliver? i know what to do it just wont work idk really know why.

stark lark
fathom pendant
#

i mean you didn't look at the url you were trying to access?

stark lark
fathom pendant
#

also: http:// not https://

stark lark
fathom pendant
#

weird

#

oh yeah the ftp server is running on https

#

but yeah the issue is that you need to upload the file to the actual base webserver

#

as the 443/https is running a fileserver

#

so it's not going to run the file; just serve it

stark lark
#

Hmm not sure if I'm even on the right track then

fathom pendant
left topaz
#

Tuple?? but say1ng worng/

#

pyhton module

fathom pendant
#

as I stated though; FTP is only one of the paths forward

fathom pendant
left topaz
fathom pendant
fathom pendant
stark lark
fathom pendant
fathom pendant
#

uploading to ftp only uploads to the ftp server

fathom pendant
#

search that for an exploit

stark lark
#

Don't think I've met such before where the ftp server is also https

fathom pendant
#

it's just being hosted on an https server for file retrieval

#

¯_(ツ)_/¯

#

it's nothing crazy

#

usually the ftp server is on a separate server, but they can't set it up that way for these labs

#

so they separate http/https

fathom pendant
#

<class 'type'>

fathom pendant
#

the section tells you how to get the type of something

#

none of the modules, as far as I know, require you to guess

#

it's formatted in a way for you to follow along

verbal pagoda
#

Hi

fathom pendant
#

or be within an interactive python env (usually typing python in your terminal)

verbal pagoda
#

I just started htb

left topaz
left topaz
fathom pendant
verbal pagoda
#

IIs any one named this so i can change if needed

fathom pendant
verbal pagoda
#

I named myself this befor i joined

fathom pendant
#

when you link your HTB account, it'll change your name to your htb username

#

this isn't a gen chat

verbal pagoda
#

Oh

fathom pendant
#

this chat is for help with academy modules

verbal pagoda
#

Oh ok sorry

stark lark
fathom pendant
#

again

#

let me spell it out for you

#

the SERVICE running FTP is vulnerable

verbal pagoda
#

Quick what in the world idis the clover thing

left topaz
fathom pendant
fathom pendant
verbal pagoda
#

Ah

stark lark
verbal pagoda
fathom pendant
left topaz
verbal pagoda
#

Mine glithes althe time

stark lark
#

Haha yes I know how to follow a guide.. But right now I cannot remember how to to it. I suppose something like more <flag path> but what about spaces etc?

left topaz
fathom pendant
fathom pendant
left topaz
verbal pagoda
#

Yes?

fathom pendant
#

(it doesn't matter)

left topaz
#

purple

verbal pagoda
#

???????(questions)????????

fathom pendant
left topaz
fathom pendant
#

anyway @stark lark the windows find command is where

stark lark
fathom pendant
#

i suggest doing the intro to windows command line/intro to windows modules if you haven't done them already

left topaz
#

1s there any module for revers1ng at acadmy?

fathom pendant
#

not many

#

there's some binex modules

stark lark
verbal pagoda
#

Verification not working

fathom pendant
verbal pagoda
#

I type it in and says its to short

fathom pendant
verbal pagoda
#

woah

#

That was NOT me

#

Im fr

fathom pendant
#

there's no account identifier for academy

fathom pendant
#

¯_(ツ)_/¯

verbal pagoda
#

Fr my keys repeatedly type on its own

left topaz
verbal pagoda
#

?

#

Not just on discord bro

fathom pendant
#

either way

#

back on point

#

where are you getting the account identifier from?

verbal pagoda
#

Uhh

#

...

fathom pendant
verbal pagoda
#

???idk??

#

Oh.....

fathom pendant
#

well then if you don't know then you didn't read kek

verbal pagoda
#

My bad

fathom pendant
#

the instructions are literally there in plain english

wraith pelican
verbal pagoda
#

Not working

fathom pendant
verbal pagoda
#

I gi e up

fathom pendant
verbal pagoda
#

Give up

fathom pendant
#

if you can't follow basic instructions

verbal pagoda
#

Htb issue

fathom pendant
#

nah it's a you issue

verbal pagoda
#

How?

wraith pelican
fathom pendant
#

other people have been able to identify just fine

verbal pagoda
#

Ops

hexed kestrel
#

Heya. currently working on Information Gathering - Web Edition>DNS Zone Transfers.

first question needs you to do a DNS zone transfer for inlanefreight.htb on a generated DNS, which is the 10.129.118.66 in my command. i basically did the same thing as in the example earlier in the page, but altered
Example: dig axfr @nsztm1.digi.ninja zonetransfer.me
Mine: dig axfr @10.129.118.66 inlanefreight.htb
it then throws this error 3 times and gives up:

;; no servers could be reached```

What am i doing wrong?
#

also, i'm assuming attempting zone transfers on a random DNS is illegal right? or at least not 100% legal

fathom pendant
hexed kestrel
#

ah i didn't know connecting to the vpn was required, will try that. thanks

fathom pendant
#

basic network info goes a long way

hexed kestrel
#

yeah fair. honestly didn't pay too much attention to what exactly the IP was. kinda tired and just trying to do one last chapter for the day

fathom pendant
#

10.x.x.x is a private ip range

#

it doesn't help that a fair bit of this module is mixed public/private IP

rustic sage
#

information gathering module section web archives

#

i cannot view the 8th of august on waybackmachine

rustic sage
#

in 2018

ember fern
#

Please calm down

ember fern
rustic sage
pliant granite
#

Bro for bug Bounty which box should I consider?

fathom pendant
rustic sage
#

oh wait ur right actually

ember fern
#

Hehehe

fathom pendant
#

as the goal of bug bounties and the goal of boxes are different

pliant granite
#

You mean i don't get boxes for bb in htb?

ember fern
#

bb isn't about the same thing as boxes

#

Boxes are more penetration testing

pliant granite
#

I'm confused now!
I thought htb will help for bb not acedmy
So I brought monthly subscription

ember fern
#

Academy and the CBBH track help with BB. If you want more BB stuff on HTB, look at the challenges

#

Specifically Web, probably

pliant granite
#

So there's no dedicated boxes for bb in htb right
I need to search for myself? Isn't

fathom pendant
#

i think you're not reading carefully enough:
HTB has challenges - those will be closer to bug bounty than boxes
From there you can also do Portswigger as extra practice

#

challenges have categories like "web, binex, reversing" to give you a rough idea of the skill needed to get the flag

#

the goal of boxes, however, is to get full root of a box

pliant granite
#

Yeah bro I'm getting now

fathom pendant
#

in bug bounty, you don't want root

#

because getting root == you can be in legal trouble

pliant granite
#

But the htb box will help a lot for bb right?

fathom pendant
#

no

#

challenges will

hexed kestrel
#

lmao

fathom pendant
#

challenges are a separate part of the main platform

wraith pelican
pliant granite
rustic sage
pliant granite
#

Can you give some more info about this?

fathom pendant
#

also verify your account following the instructions in #welcome

#

this isn't a channel for help with challenges/etc it's for htb academy

#

if you read and follow #welcome you'll be able to see more channels

cerulean grail
#

In the "Footprinting IPMI" module of the pentester job path it says that we can abuse a flaw in RAKP in IPMI 2.0 to obtain password hashes for any user and crack them offline. It shows an example of using hashcat to crack the mask, and an example of retrieving the hash. Just to be clear, I'd take the hash I got from Metasploit (shown in a red rectangle in screenshot 2) and add it to "ipmi.txt" in the hashcat command (shown in a red rectangle in screenshot 1)?

steady dust
#

do you want to an example of how to use hashcat to crack ipmi?

cerulean grail
fathom pendant
#

The mode is right, but the mask is explicitly for specific circumstances

fathom pendant
#

The sentence with it even says "in the event of HP iLO using factory default"

fathom pendant
#

Otherwise it gives you [user]:[pass]
If user is in the wordlist then it gives a username if not it gives the hashed username

naive sage
#

man

fathom pendant
naive sage
fathom pendant
#

It's Sunday so gotta have patience habibi

naive sage
#

all gone. 😢

analog dock
#

Gg no re

naive sage
analog dock
left topaz
#

whats up bro has heard that u got scammed by some sk1ds

fathom pendant
#

Anyway not the place for idle chatting

naive sage
#

^^^

limpid hemlock
#

Hey can anyone help me with the dc sync secrion in active directory module for cpts

#

Ive managed to rdp into the attacking machine from a windows box now i try to run secrets dump and all not working

cloud urchin
#

what's the error say

limpid hemlock
#

Status locked out tto many login attemps

fathom pendant
#

It means you got locked out

#

Reset the target and try again

civic hamlet
#

reading tcp/ip illustrated but I wanted something more to supplement my reading.

#

Whats a good "guide" for modules you should start out with

fathom pendant
#

Most stuff in hacking deals at the network/transport layer, with other protocols spanning from session to presentation

tender moss
#

Anyone want to see Trumps Shooter death face ?

fathom pendant
tender moss
#

lol

fathom pendant
#

That's the rules bud, pg-13 server

#

Don't like it, leave

tender moss
#

👌

civic hamlet
#

thats nice to know

fathom pendant
#

Generally yes

civic hamlet
#

id still like to apply what ive been learning though, or at least interact with it

fathom pendant
#

TCP/IP and OSI are general theory

#

You don't need to dig into it unless you're a network architect. Aside from that, there's already programs built to interact with other layers

civic hamlet
#

to my original question, where would a beginner start module wise?

fathom pendant
#

Information Security Foundations path

#

Lays the groundwork for a lot of basic things you'll be expected to know

civic hamlet
#

i deeply appreciate it

#

ill be on my way now

shut wraith
#

INFORMATION GATHERING - WEB EDITION

Section: Creepy Crawlies

After spidering inlanefreight.com, identify the location where future reports will be stored. Respond with the full domain, e.g., files.inlanefreight.com.

  1. I crawled the website just like the module taught me.
  • I crawled the website using everything; burpsuite crawler, zap spider, & the ReconSpider script demonstrated in the module.
  1. I checked all URLs found and none of them are the answer or lead to the answer

Thanks for any help

shut wraith
#

Hey @fathom pendant can u help plz

fathom pendant
shut wraith
fathom pendant
#

¯_(ツ)_/¯

shut wraith
#

https://www.inlanefreight.com/wp-content/uploads/2020/09/goals.pdf

fathom pendant
shut wraith
#

There is the uploads directory which includes reports such as the company goals in 2020

#

I did run it though

fathom pendant
#

well you're missing something then

shut wraith
#
        "https://www.inlanefreight.com/index.php/about-us/",
        "https://www.inlanefreight.com/index.php/news/",
        "https://www.inlanefreight.com/#content",
        "https://www.inlanefreight.com/wp-content/uploads/2020/09/goals.pdf",
        "https://www.inlanefreight.com/index.php/about-us/#content",
        "https://www.inlanefreight.com/index.php/contact/#content",
        "https://www.inlanefreight.com/index.php/offices/",
        "https://www.themeansar.com",
        "https://www.inlanefreight.com/index.php/career/#content",
        "https://www.inlanefreight.com/index.php/news/#content",
        "https://www.inlanefreight.com/index.php/offices/#content",
        "https://www.inlanefreight.com",
        "https://www.inlanefreight.com/",
        "https://www.inlanefreight.com/index.php/career/",
        "https://www.inlanefreight.com/index.php/contact/"
fathom pendant
#

ReconSpider has a Comments field

#

cat Results.json | jq -r '.comments'

shut wraith
#

But mine doesn't

fathom pendant
#

¯_(ツ)_/¯

#

it should

shut wraith
#

Thank you for that @fathom pendant I found it

fathom pendant
#

you were just looking in the wrong spot

clever topaz
#

if you get domain admin, means you have local admin right over all computer too?

fathom pendant
#

within the domain

clever topaz
#

okay thanks

clever topaz
#

we only need to bypass UAC when we are accessing the target via fully CLI?

oak lance
#

I'm hitting a weird problem with the Gitlab section of Attacking Common Applications. Firefox gives me a 422 error when logging in with valid credentials to Gitlab, whereas Chromium logs in fine. There are comments in online forums suggesting that the problem is a lack of _gitlab_session cookie in FireFox. This is a problem with the suggested RCE script as I can't see any way of putting the cookie from Chromium into the script and so I just get a 422 error.
Does anyone have any ideas?

cloud urchin
next bronze
#

yep that is true, I've seen DA not have admin rights on specific hosts, it depends on the configurations

cloud urchin
#

^ yup. by default yes, but can be configured otherwise.

civic hamlet
#

I want to purchase htb academy silver teir subscription, do I buy it on hack the box?

ebon nymph
civic hamlet
#

Im a highschool student so my school isnt registered as eligible for academy tier subscriptions

ebon nymph
civic hamlet
#

I dont have a school id

#

deeply unfourtunate

ebon nymph
fathom pendant
#

but if you message support you can likely see if they can work you in for the student monthly

#

they've been known to get HS kids the discount

fathom pendant
#

just gotta reach out

civic hamlet
#

but ill try messaging support, thanks

fathom pendant
#

?

#

"it doesn't direct you to another site" not sure what you mean by that lol ofc it won't redirect you off HTB

civic hamlet
#

Site as in web page

#

Kinda messed that wording up

fathom pendant
#

take it up with support ig ¯_(ツ)_/¯

#

only thing I can say is make sure you don't have adblock enabled

civic hamlet
#

im guessing thats why the target system wasnt spawning, I tried changing my vpn location to a different region and it ended my system

#

Im at free tier so It means I cant actually go through the module I was doing

fathom pendant
fathom pendant
#

¯_(ツ)_/¯

#

if you have your own computer it's worth setting up your own vm

trail sail
#

Hello,

I need a nudge with the Skills Assessment - File Upload Attacks Module. I understand that in order to get the full path, I need to figure out how the file I upload is renamed. However, although I am following the logic behind this, it simply does not seem to be working for me.

civic hamlet
fathom pendant
#

those are the best for Mac

civic hamlet
#

parallels is subscription

fathom pendant
#

didn't say free

civic hamlet
#

Havent heard of utm though

fathom pendant
#

:)

#

iirc Parrot has a UTM image, and Kali should have one as well

civic hamlet
#

im guessing id make 2 vms? 1 with kali and one with whatever

#

actually id just need 1 as they provide me with a target system free of charge

#

i still need a windows vm to play steins gate vn, ahem

fathom pendant
#

yeah

#

but you only need one vm

#

you don't need to use the instance if you use your own vm

#

just need the vpn

#

and you're good to go

civic hamlet
#

Thanks

bronze schooner
#

What's special reward when reach 30 streak point every week ?

tired lake
#

Hey guys. Im currently going through the nmap module. There are some questions that require us to scan all ports. But whenever I try doing that the scan takes a ridiculous amount of time (>1hr). I checked this using the -v flag. I have tried different vpn servers and all of then results in the same issue. Anyone else experiencing the same thing?

fathom pendant
#

so far

fathom pendant
#

and maybe -sT to force it to do a TCP scan

bronze schooner
#

I use nmap -v --min-rate 5000 'IP'

bronze schooner
tired lake
tired lake
bronze schooner
trail sail
eager ledge
#

I am getting the same result when using the PowerView function Get-DomainTrust and Get-DomainTrustMapping. The reading in the section "Domain Trusts Primer" of module "ACTIVE DIRECTORY ENUMERATION & ATTACKS" shows that Get-DomainTrustMapping gives a little more information. Is there something I am missing or is this the expected behavior?

fathom pendant
#

In this case thers not more info to give

cloud urchin
#

no

slate zinc
#

not legal
and no one will help

south glen
#

Hey can someone help me with "attacking web application with ffuf - skill assessment" last question parameter value fuzzing .. I already got the parameter to fuzz but not able to find good word list to fuzz the value, I have already tried "xato-net-10-million-username" and got "Hxxxx, xxxxy,xxxxx" .. bt when I tried it with curl post request with no further sucess in obtaining flag.

clever topaz
#

in win privs kernel exploit, i tried to get met shell but failed, any tips

wraith pelican
south glen
wraith pelican
wraith pelican
gentle umbra
#

Hey @south glen I’m at the step find for the page should say ‘you dont have access ’ i wonder which directory list need to use for fuff wordlist. I’m using directories2.3 small

steady dust
#

Are you also encounter problems with htb machines? They are really slow.

tired lake
jolly yacht
#

Any hints or resources for this assessment in Network Configuration section at Linux Fundamentals?

gentle umbra
half stag
#

Hey

#

Could someone help me with the web attacks module?

#

I have found the user, who's administrator with the id 5*, but when I try to change the password I get Access Denied error

#

And also I tried using web tampering by trying to edit the details on api.php/user/7* but I couldn't change the company name

dim wolf
#

@left topaz
This part is broken on the target VM.
You need to change the ProcMon executable that Noriben uses so that it can save the CSV properly.
There is a Procmon64.exe file in Noriben-master. Open Noriben.py and scroll down to the config. Change the following so that it points to Procmon64.exe

left topaz
#

o

dim wolf
steady dust
#

any ideas on how to improve the performance of htb machines? 😄

desert silo
#

guys

#

I started learning linux , any resources to enter ethical hacking

steady dust
next bronze
#

which module are you having problems with

steady dust
next bronze
#

is that a module?

half stag
# half stag Could someone help me with the web attacks module?

Could someone help me? I’ve already get the IDOR, i changed the request to put, head and patch to reset.php and to api.php/user/**, sending it in the default format and in json and i get a “0” or a “1” in the answer, respectively, as well as “acess denied” and “missing parameters”. I would assume that the answer “1” would made the necessary changes to the admin user password, but no, the “1” is just the api answer. Any hint would be much appreciated. Thanks in advance

steady dust
next bronze
#

it was fine when I did it thonk

#

let me check

steady dust
#

the point is, that some of the web apps are working fine, but some of them are really slow

next bronze
#

tried a few and they all worked fine for me shruge

#

on US5

steady dust
#

I'm on EU, nvm, i will do it like this

gentle umbra
#

Hey can someone help me with "attacking web application with ffuf - skill assessment" Trying to fuzz parameters, hard time on choosing correct wordlist tried burp parameters no luck any other suggestions?

sterile solstice
sterile solstice
#

if you have the token for admin, and user id, ||intercept the request and include the admin token in the request.||

half stag
#

I did it says accessed denied

sterile solstice
#

if you're using the admin token in the header's then it shouldnt

#

can't find my notes on this one .... but i remember being stuck for a while and ||it was including the token in the header of the reset.php (not just the username) ||that was the piece i was missing, as by default it wasn't include it (and therefore denying).

sterile solstice
#

maybe im thinking of a different assessment. but for 1 of them, ||you had to find the UID who was admin, and then find the token. and include that token (was different to the PHPSESSIONID)|| in the reset.php request.

eager ledge
#

Hi, I am doing "Attacking Domain Trusts - Child -> Parent Trusts - from Windows" section from "ACTIVE DIRECTORY ENUMERATION & ATTACKS" module. I am quite unable to grasp the concept of SID Filtering or why is it required.

  1. Let's say we have domainA(source domain) with userA that needs to be migrated to domainB(destination domain).
  2. After migration, a new user userB is created in domainB with a new sid and sidHistory set to the sid of userA in domainA.
  3. When this user tries to access resources of domainA, they get the permission from sidHistory.

This is the desired behavior. Now why do we need SID Filtering? Where should this be enabled, on the source(domainA) or destination(domainB)? If this is enabled, wouldn't it disrupt the migration process?

I would appreciate pointers to reading materials that explain this as well.

half stag
#

The token is somethin

sterile solstice
half stag
sterile solstice
#

no promises lol

#

i dont feel strong on web stuff. i need to circle back and maybe do some portswigger labs too lol

eager ledge
next bronze
# eager ledge Hi, I am doing "Attacking Domain Trusts - Child -> Parent Trusts - from Windows"...

SID filtering is to control which type of SID are allowed and to manage the trust boundary types allowed, it affects more than just migration
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pac/55fc19f2-55ba-4251-8a6a-103dd7c66280

A PAC from a cross-realm TGT needs to be parsed and analyzed. The type and stringency of the analysis is determined by the

eager ledge
next bronze
#

the domain with the ex-foreign principal, so the destination

#

once the domain is migrated the users will get a new SID within the domain they have migrated to

eager ledge
#

If I understand it correctly, we need to enable SID Filtering on domainB so that even if a user on domainA manages to get the SID of domain admin of domainB, they cannot do anything. But if we enable SID Filtering on domainA, then the just migrated user will not be able to access resources within domainA, which is not the desired behavior. So, we do no enable it on domainA(source).

next bronze
#

<@&861185840277487616>

wary plover
#

Bye have a great time

next bronze
half stag
steady dust
half stag
wraith pelican
# half stag Could someone help??

hey, yes maybe, in absolute terms someone could. You already got help. Could you eventually try to be more precise in your questions, modules and section, give context, develop on what you tried, what did not work etc. wrap your command into backticks so it is readable without too much effort.

steady dust
#

on web attacks you have multiple sections, like idor, skill assessment etc.

half stag
#

Thanks for the help @sterile solstice

half stag
#

There is only one I guess

sterile solstice
#

no problem. was i helpful? haha

wraith pelican
# half stag Here

try other http verbs, assuming the rest is correct as there is a few parameters that can mess things up

half stag
half stag
sterile solstice
#

mate, im there with you. i occassionally get something right. glad i helped a bit though.

wraith pelican
#

just post screenshot of your burp request, you can delete them later

old oasis
#

still need help?

wraith pelican
midnight granite
old oasis
#

I DMed you

sterile solstice
half stag
#

Yes that's what I got

#

But I couldn't reset the password

#

Ik

half stag
wraith pelican
sterile solstice
#

yup. and i took so long the target died, and when i reset it was all screwy. between burp retaining some cache for prior intercepts and not setting the target to the new IP, i was just having an aweful time lol.

wraith pelican
#

haha same here,2h.... not enough but going from start helps with muscle memory though : )

sterile solstice
#

you need to make that UID a spoiler.

wraith pelican
#

why would you do that, how is it helping in revealing everything ?
ok they get the flag but what will they learn

sterile solstice
#

highlight the text and click the eye function. dont want to spoil it for others

wraith pelican
#

just remove the obvious answers

sterile solstice
#

well that too lol

#

@wraith pelican have you done the attacking common apps module yet? i had issues with the WP section. not doing it tonight but i may need some help tomorrow lol

wraith pelican
#

yeah i've done the cpts path except reporting and aen... and yes glad to help if i can : )

sterile solstice
#

it also wouldnt accept the plugin i found as well, which im pretty sure was the answer. spent hours googling and trying and got nothing for 1 of the first sections that has q's lol

steady dust
wraith pelican
#

let me check if i got something in my notes

steady dust
sterile solstice
#

yea i thought it was ||contact form 7|| but it wont accept it and i ran wpscan a few times and got nothing

steady dust
#

its not contact form 7

wraith pelican
#

i guess i only used wpscan and manual enum. i see nothing much else in my notes

sterile solstice
#

only 1 of those is a 3 word plugin which it would not accept as my answer lol

wraith pelican
#

that's not it obviously : D

steady dust
#

can you paste the result from curl here?

sterile solstice
#

||

<link rel='stylesheet' id='contact-form-7-css'  href='http://blog.inlanefreight.local/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.4.2' type='text/css' media='all' />
<script type='text/javascript' src='http://blog.inlanefreight.local/wp-content/plugins/mail-masta/lib/subscriber.js?ver=5.8' id='subscriber-js-js'></script>
<script type='text/javascript' src='http://blog.inlanefreight.local/wp-content/plugins/mail-masta/lib/jquery.validationEngine-en.js?ver=5.8' id='validation-engine-en-js'></script>
<script type='text/javascript' src='http://blog.inlanefreight.local/wp-content/plugins/mail-masta/lib/jquery.validationEngine.js?ver=5.8' id='validation-engine-js'></script>
        <link rel='stylesheet' id='mm_frontend-css'  href='http://blog.inlanefreight.local/wp-content/plugins/mail-masta/lib/css/mm_frontend.css?ver=5.8' type='text/css' media='all' />
<script type='text/javascript' src='http://blog.inlanefreight.local/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.4.2' id='contact-form-7-js'></script>
```||
sterile solstice
#

that was it....

#

thanks mate. it was such a simple exercise and it just wasnt working for me. it was very annoying. lol

steady dust
sterile solstice
#

scanning through that page, that is well above me lol

wraith pelican
#

aen, that's so forbidden, can't help, can't even look at it

sterile solstice
#

i've heard so much about it. i feel like its going to crush my motivation to get certified lol!

wraith pelican
#

haha yeah reading the cpts channel killed me

sterile solstice
#

yea sometimes it motivates me and othertimes not so much...hahaha

#

i will likely skim parts of aen reading, but then go back through the modules from the beginning, and then tackle aen. will see.

#

life is in the way right now so i prob wont get to attacking common apps until later in the week/end. then its privesc, then aen. if i remember correctly.

wraith pelican
#

that's what i'm doing at the moment, review all the course, notes etc with the impression i should upgrade my hard drive somehow because it seems new data keeps overwriting the old one : D

steady dust
sterile solstice
#

haha. well fixing my notes is another thing too. also, when i did a few boxes this week i found myself not having a clear method. i need to work on my workflow. and i know its not necessary, but even going back to other modules like bash scripting, python for dns, etc., may help with my automation and help in the CPTS exam. though the InfoSec skill path is assumed knowledge. Will see. Im 75% through the path but this last 25% looks like it'll take ages.

wraith pelican
#

I go back to foundation modules as well, there is plenty of stuff i forgot i got there. Regarding acquiring a method, i think, for me anyway, a good thing was to let the content rest down a bit after finishing, Then now reviewing all and trying to get a higher view makes things less overwhelming.

candid lily
sterile solstice
#

defnitely. believe it or not, i think the windows foundations/t1 is something i should go back to.

yea i agree. a method just comes with practice and planning. in any workplace, getting a method is often about feeling more comfortable about the subject/material/area and understanding those connections. the modules give us information, they can't tell us how we should go about organising ourselves in a pentest. at least IMO. doing those boxes helped me a lot though. a bit of practice from the modules.

candid lily
#

you can just read the flag file with XXE

steady dust
candid lily
#

it will be likely in /flag.txt

steady dust
candid lily
#

???

#

it is the path wdym

wraith pelican
# sterile solstice defnitely. believe it or not, i think the windows foundations/t1 is something i ...

yeah that's not because we read something once, we know it, at least not for me anyway. Plus the question/flag system gives a biased sense of completion. I watched recently this vid about osint methodology, i was kinda helpful because on a high level it is the same way of doing things, rinse and repeat, organisation, ask questions, question the questions etc
https://youtu.be/FCpJ9fFF84g

In recent years, public interest in open-source intelligence (OSINT) gathering and analysis has increased exponentially. As this interest has grown, more and more OSINT investigations have been relying on tools and automation, leaving the analysis process behind. In this talk, Nico will show why you should consider OSINT a thought process. He wi...

▶ Play video
sterile solstice
#

well i really want to get the OSINT module, even though its t4. i've done some OSINT previously and as far as specialties go, that's kinda where i want to focus.

sterile solstice
#

(thanks for the link. i've saved it to watch later)

wraith pelican
#

haha same about osint module, it is generally an interesting topic. Also this post by blackhills infosec gives a bit of perspective. 5 years plan into infosec.. 5 years not 5 months : D
https://www.blackhillsinfosec.com/webcast-5-year-plan-infosec/

John Strand // New to InfoSec? Mentoring someone new to the industry? Here’s John’s advice if he had to do it all over again. Sierra is on replying to your […]

sterile solstice
#

prob too much info now for the channel, mind if i DM?

ember surge
#

Hi

sterile solstice
#

<@&861185840277487616>

wraith pelican
hexed kestrel
#

Heya. need some help with Information Gathering - Web Edition > Virtual Hosts.
Might be a stupid question, but i'm still very new to this so go easy on me :)
I think it basically boils down to that i don't really understand what to do with "vHosts needed for these questions: inlanefreight.htb".

the first question is: Brute-force vhosts on the target system. What is the full subdomain that is prefixed with "web"? Answer using the full domain, e.g. "x.inlanefreight.htb"

I've tried a 2 things:

  1. using gobuster in the same way as the example. The example gives you this: $ gobuster vhost -u http://<target_IP_address> -w <wordlist_file> --append-domain
    which is then used to scan for subdomains for inlanefreight.htb using this wordlist: /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt (i also have this same wordlist in the same directory). their example then becomes $ gobuster vhost -u http://inlanefreight.htb:81 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt --append-domain

when i try to run this same command in my terminal and it returned the same basic gobuster stuff with an error message instead of the normal output which i expected based on what i saw in the example: Error: error on running gobuster: unable to connect to http://inlanefreight.htb:81/: Get "http://inlanefreight.htb:81/": dial tcp: lookup inlanefreight.htb on 192.168.2.254:53: no such host

  1. I also tried to solve the question through ZAP's Fuzzer. I noticed that when using the manual request editor it normally changes the Host header back to the IP that was generated for the exercise, but i was able to disable this. When using fuzzer to try the same wordlist as before to fuzz subdomains in the Host header it also does this though, but i was not able to find the option to disable this. so this didn't work either.

I'm not quite sure where to go from here. what am i doing wrong? i feel like i skipped an important step but have no clue what

next bronze
#

If a virtual host does not have a DNS record, you can still access it by modifying the hosts file on your local machine. The hosts file allows you to map a domain name to an IP address manually, bypassing DNS resolution.

hexed kestrel
#

oh lmao why did i not think of that. I even read that line again but i guess it just didn't click
so i just add <generated IP> inlanefreight.htb to the file right?

next bronze
#

yes, leave the port out tho

hexed kestrel
#

alright, thanks

#

stuff is working now. thanks for the help

ember fern
#

In the File Uploads section, the XXE part under Limited File Uploads, only the first SVG upload actually changes. If I try to upload another, it doesn't update it. Is that a me issue? I have to restart the server, and then it works.

zenith vale
#

cam someone help me figure out why my webshell aint working

#

<?php system($_GET["cmd"]); ?> the webshell

#

anyone?

#

well a server restart did the job

lunar yoke
#

Hi please help I am very new here. It is very challenging for me at this moment. Even the OpenVPN is hard to connect. Anyone with a great heart please hear. 😦

I am in Windows Event Logs & Finding Evil - at the endpart i need to RDp to the target. I tried many things but it really does not connect.

please help 😦

wraith pelican
lunar yoke
# wraith pelican hey, can you post the command you tried to rdp to the target? what error message...

These are some of the errors in the log. before it was only one but now it multiplied. (congrats to me)

so basically why i did that is because, on the lab it says to RDP to the target. so for me to do that (this is what i believe i should do, or maybe im wrong) I downloaded the .ovpn file then install a open VPN client. Tried to run it but I got some errors. I did lots of things already but it is not working properly.

wraith pelican
#

ok ok maybe let start at the beginning, are you using your own virtual machine or the pwnbox? Or your usual computer?

#

maybe, if you haven't done it, a good thing could be to start with the basic modules like "Information Security Foundations"path

eager ledge
#

Hi, I am doing the
Section: Attacking Domain Trusts - Child -> Parent Trusts - from Windows
Module: ACTIVE DIRECTORY ENUMERATION & ATTACKS

I have RDP into the ACADEMY-EA-DC02 machine as user htb-student_adm which belongs to LOGISTICS\Domain Admins group. So, I am trying to perform DCSync to get the NT hash of krbtgt service account. But I get the following error:

eager ledge
#

Oooooh

zinc geyser
#

Is the server down for some reason

lethal crow
#

seems like it, i just tried again and its back up? for me at least

eager ledge
# next bronze are you running it as admin?

When running "Powershell as Admin", its working. What I don't understand is we are opening powershell in the context of htb-student_adm user who already belongs to Domain Admins group, so why is the error being thrown? I mean the user is already an administrator.

next bronze
#

UAC, admin users have 2 tokens, one is the standard token, the other is the privileged token. when you run as admin and that prompt pops up it's using the privileged token

oak girder
#

Hey, why can’t I access the platform?

zinc geyser
#

Yuh

#

Is this with everyone

surreal lichen
#

I can access academy but not normal HTB

acoustic owl
shell gust
#

app.

past relic
eager ledge
oak girder
#

I'm in now, he needs me to verify all the time

past relic
#

I'm still getting a 500 error when trying to login

#

im in now

tardy snow
#

man some modules are just bad

#

cbbh

acoustic owl
tardy snow
#

next bronze
oak girder
#

Are there any players from other regions? Every time I connect to VPN or VNC, it is very laggy. I would like to ask you for your solution.

uncut cave
#

Just finish skill assessment for ADCS Attack but there's something I'm not sure about, can I DM anyone for explanation ?

tranquil axle
#

@next bronze just to update: I just did the WSUS section on EU-6

next bronze
#

yep did it too, finally finished the module

tribal plinth
eager ledge
next bronze
hearty summit
#

Do you have bullet echo hack?

eager ledge
cold dome
next bronze
#

from my view there's very few reasons that you'd want to pth in windows once you got a hash, doing it remote or using rdp would be way cleaner

eager ledge
#

how can I do that?

#

In the Password Attacks module Pass The Hash section, I know mimikatz or Invoke-TheHash to perform Pth

cunning frigate
next bronze
wraith pelican
eager ledge
#

So I do pivoting and then perform pass the hash?

next bronze
#

pivot

sharp pike
#

can i get some help with this error?
proxychains: can't load process 'xfreedrdp'. (hint: it's probably a typo): No such file or directory

its for Pivoting, Tunneling and Portforwarding>Dynamic Port Forwarding w/ SSH & SOCKS Tunneling>Q2

wraith pelican
#

there might be a hint in the error

next bronze
#

my guy

#

hint: it's probably a typo

dim wolf
#

freedrdp

cunning frigate
sharp pike
next bronze
cunning frigate
#

That part was not on my error

#

I can send actual error once I go back

sharp pike
#

ok so i'm having the same problem with that question - port 3389 is shutdown, doesnt appear RDP is running on any other obscure ports

wraith pelican
#

can you nmap the windows target via proxychains?

sharp pike
#

yeah that's how I know its closed

wraith pelican
#

are you sure your ip is correct?

sharp pike
#

no actually I'm a bit confused, heres the ifconfig from the ubuntu machine- the question calls for a different IP

eager ledge
eager ledge
eager ledge
wraith pelican
winged egret
#

any1 facing problems with the XXE CDATA data exfiltration method from web attacks ?! I copied and pasted the same exact commands as shown and made sure several time but its still not working

next bronze
wraith pelican
wraith pelican
grand solar
#

does anyone know if I'm supposed to be able to access the AutomateDCAdmin from the vfrank rdp connection in the Skills Assessment for Pivoting, Tunneling, and Port Forwarding ? its the last question

wraith pelican
terse aurora
#

Hello! I'm having trouble with the password cracking module. I'm told to crack this hash 7106812752615cdfe427e01b98cd4083

After doing hashid, I get
[+] MD2
[+] MD5
[+] MD4
[+] Double MD5
[+] LM
[+] RIPEMD-128
[+] Haval-128
[+] Tiger-128
[+] Skein-256(128)
[+] Skein-512(128)
[+] Lotus Notes/Domino 5
[+] Skype
[+] Snefru-128
[+] NTLM
[+] Domain Cached Credentials
[+] Domain Cached Credentials 2
[+] DNSSEC(NSEC3)
[+] RAdmin v2.x

And in the hints I'm told to use one of the rules that come with hashcat

I tried a few, but none of my attempts were succesful

I tried the md5 and ntml hashes first, with rockyou and the first two predefined rules in hascat, but I wasn't lucky

I searched on the internet and found the following command
"hashcat -a 0 -m 1000 -g 1000 hashNTLM /usr/share/wordlists/rockyou.txt"
but it didn't work, since -g 1000 is generating random rules

Can anybody point me in the right direction please? Thank you!!

grand solar
# wraith pelican i don't recall anything about AutomateDCAdmin

the last question was : "Submit the contents of C:\Flag.txt located on the Domain Controller. " and I see a network drive but I do not have access to it from vfrank's machine, I might be missing something or I have to further enumerate from his machine. I tried using pypykatz again to dump lsass creds but none of them gave me any users to further enumerate

wraith pelican
terse aurora
#

Yes, but is there any way to determine which rule I should use or do I have to try all of them? (Thank you btw)

next bronze
#

best64 should work

next bronze
terse aurora
#

Also tried combinator

#

And rockyou3000 takes a long time

#

Ok, I got it, it was the 3rd rule.
Thank you for your help!!

fathom pendant
#

Iirc vf* is the last step

split glade
#

There are other attack vectors for MSSQL cf "Attacking SQL Databases" chapter

grand solar
fathom pendant
#

Rdp should be fine

grand solar
#

I'm inside vf*'s machine with rdp and it says the network drive is disconnected, i can send a picture, not sure if thats allowed or not

#

sent it in dm so I do not put any anwsers here

stark lark
fathom pendant
fathom pendant
grand solar
fathom pendant
wraith pelican
fathom pendant
#

Don't put the IP\ part also at this point it's spoiling

grand solar
fathom pendant
#

You should be able to

wraith pelican
#

i see in my notes i mounted it via evil-winrm

fathom pendant
#

You don't need to mount it

#

Lol

#

It's automatically mounted (or should be) on that target

#

I didn't mount at all when I did it

wraith pelican
#

you are certainly right, i lost trace of the end of the rdp attack chain, so maybe i got it in rdp session.... then i did the box without rdp and i have more notes on that.. well...

fathom pendant
#

It's why I said restart the target

grand solar
#

strange

fathom pendant
solar zodiac
#

Hi everyone! The whole streak thing in academy is neat, but I was wondering... are there any benefits to having a streak?

#

Like I love the encouraging messages

fathom pendant
#

Or change vpn regions, respawn target, try again

solar zodiac
wraith pelican
# grand solar strange

is it your command?
net use Z: \\<ip>\C$ /user:'INLANEFREIGHT.LOCAL\v*****' '*************' /p:yes

grand solar
#

no i just went to the file explorer since I have rdp

fathom pendant
#

Weird I didn't have to do that

grand solar
#

and it says disconnected

fathom pendant
grand solar
#

ill just wait 5 min before trying to attempt this time so it can load everything

wraith pelican
#

ah!!! i found in my note the drive is there after connecting via rdp

fathom pendant
#

Sounds like the env being dumb

terse aurora
#

Hey! I'm having issues with zip2john, when I try to find the hash of a 7z file I get Did not find End Of Central Directory.

fathom pendant
fathom pendant
#

There should be a 7z2john

fathom pendant
terse aurora
fathom pendant
#

7z2john should be a tool

terse aurora
fathom pendant
# stark lark

It looks like you're using '' and not " (double quote vs 2 single quotes)

grand solar
fathom pendant
#

It's weird

stark lark
fathom pendant
#

Also spoiling dude

#

At least cut out the [linked server] or something

#

Also you don't need to use open... if you have xp_cmdshell

wraith pelican
stark lark
#

^

#

I don't see how rdp session will make a difference

fathom pendant
#

As long as you're connected to the mssql client it's fine

hexed kestrel
#

heya, back again with another (likely stupid) question

currently stuck on the third question of Information Gathering - Web Edition > Skill Assessment, question 3 (What is the API key in the hidden admin directory that you have discovered on the target system?)

||using gobuster dir on this yielded no results except for /index.html||

||with gobuster (vhost) i was able to find w*.inlanefreight.htb:36964||

||which is slightly different from the one without w*, but just in the text it displays||

||I tried using gobuster (dir) to find directories of w*.inlanefreight.htb:36964 $ gobuster dir -H host: w.inlanefreight.htb:36964 -u http://inlanefreight.htb:36964 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt ||

||but this yielded no results. not quite sure where to go from here. does anyone have some pointers? I'd prefer a hint over a solution, but a solution is also fine.||

stark lark
#

Ayyyy I just got it :P :P

#

Thanks guys.

wraith pelican
#

yay! what was the issue?

hexed kestrel
#

also, question 4 is

After crawling the inlanefreight.htb domain on the target system, what is the email address you have found? Respond with the full email, e.g., mail@inlanefreight.htb.
I'm confused though, as i don't see anywhere for the crawler to go. the whole page is just:
<!DOCTYPE html><html><head><title>inlanefreight</title></head><body><h1>Welcome to inlanefreight.htb</h1></body></html>

#

and the ||w*|| version is just || <!DOCTYPE html><html><head><title>w*</title></head><body><h1>Welcome to w*</h1></body></html> ||

stark lark
grand solar
fathom pendant
worn matrix
#

guys,at kerbrute,i have a list with 48k names which i want to test,and when i run it ,i get that 50 USERS EXIST.ok that sgood.How can i have these 50 valid usernames get outputed in a users.txt ,with only the names in each line?does kerbrute has a built-in function that does this

fathom pendant
#

@hexed kestrel you can generally shorten things to first letter * i.e. w*.inlanefreight.htb

#

Spoiler text literally does nothing to mask

#

As anyone can click it

wraith pelican
grand solar
#

i used his hash to rdp, cause I couldnt break the password. Maybe ill try other lists

wraith pelican
#

you wont get it in a list

fathom pendant
#

His password is in plain text

fathom pendant
#

When you dump

hexed kestrel
fathom pendant
static roost
#

#Module: Introduction to Windows Evasion Techniques

Last question asks about signature version. Tried multiple cmdlets and version numbers presented (even those that don't make sense). Anyone DM?

grand solar
#

@fathom pendant @wraith pelican yea... overlooked something in the dump output

terse aurora
#

Hey! Need a little help again.
I'm unable to perform mic cracking even though I've done exactly what the module says

I've extracted the hccapx file from the cap file with cap2hccapx tool from hashcat utils and then attempted to crack it with hashcat but I get "no hashes loaded"

Any idea??

Thanks!!

fathom pendant
#

I think that particular tool is weird and doesn't work properly

terse aurora
fathom pendant
#

I haven't done that module so can't advise

terse aurora
wraith pelican
jolly raptor
#

In the getting started Knowledge check right now, question is "gain a foothold and submit the user.txt flag" I've been looking at exploits, but everytime i try to do the exploit it says this, even though I logged in the admin page successfully with the credentials

fathom pendant
#

Because one of the exploits doesn't require any authentication

pulsar oak
#

Hello there
The question is about the foot printing module. There is a task to connect to a public folder on the target system and find the flag, but when I connect there is no flag, can you please direct me in the right direction?

fathom pendant
#

Gonna have to navigate a bit my dude

jolly raptor
#

is meterpreter like a shell, will I need to run the reverse shell one liner?

pulsar oak
#

How connect in directory on SMB folder?FeelsWeirdMan

jolly raptor
#

I'm confused on what meterpreter is, it didn't really get covered in the getting started module

fathom pendant
#

All you need to know is that once it connects, type shell and you're dropped into the shell env

jolly raptor
#

okay im in, and i've basically searched all dir without a user.txt flag

#

spoke to soon

fathom pendant
#

Also you might need to upgrade the shell with the python one-liner
python3 -c "import pty; pty.spawn('/bin/sh')"

jolly raptor
#

Trying to find possible ways for privilege escalation right now, but when trying to transfer LinEnum over im getting this error

dim wolf
#

you need to download to a folder that you have write access to

#

e.g., /tmp

jolly raptor
#

oh i see

#

what is the command to specify where to download?

#

-s?

dim wolf
#

you can simply cd to that directory and do the command again

#

i forgot what the flag was to specify output file location but you can check the help command

jolly raptor
#

I've removed from the permission denied dir and added it to tmp and now getting this error

#

I also tried /tmp/LinEnum.sh

analog dock
jolly raptor
#

what module?

#

Knowledge check on the getting started module

#

Privilege escalation to get root

fathom pendant
#

Also linenum isn't required

jolly raptor
#

that would explain why, I assumed http.server would be all directories

fathom pendant
jolly raptor
#

ah makes sense

fathom pendant
#

You should check what your user can (su)do

jolly raptor
#

I can run a .php file

#

Could I use that in someway to gain root acess

fathom pendant
#

Check out gtfobins

fathom pendant
#

Gtfobins will help you from here

jolly raptor
#

gtfobins looks like a lot haha, but yes I can run /bin/php as root

#

I may be stupid, but how will gtfobins help me here?

#

oh it's the bin folder right?

#

a binary is a bin folder

#

apologies for stupid questions, figured out what gtfobins is

#

and it's just given me the flag appreciate the help

wraith pelican
jolly raptor
#

thank you, there’s definitely a lot to uncover, i’m getting there step by step, i’ve realised my notes need to be more detailed than just commands

forest adder
#

greetings, I'm on the footprinting easy lab, trying the DNS server, I ran the dig commands, found subdomains and stuff, but no flag, and I don't know how to get any further

next bronze
#

@cunning quarry

cunning quarry
#

thank you

next bronze
#

include the module and section name, what you have tried and any errors thanks

cunning quarry
#

I figured it OUt!

next bronze
#

good job

shell glacier
#

which channel do I message in if i need help with a specific module and cannot find any help online?

#

community-help-zone?

shell glacier
wary plover
#

Yes, the channel you are in also check out #welcome to get urself verified to get access to different channels

shell glacier
#

ok cool, thanks for the help, my question is kind of long.

I have a question on the module about vulnerability assessment, it says that we need to start up nessus and log into the GUI with https:// < IP >:8834. ok so i do that, but nessus does not come pre installed. No issues I think, the module teaches us how to install it, it probably wants me to do that. But when I install nessus on my parrot VM it says out of space. I need to resort to deleting my audio drivers and some of the password dictionaries that are a few 100MB to clean up space. So i was thinking, well if (HTB) doesnt give each VM enough space for NESSUS then im probably doing it wrong. maybe i need to spawn in a VM and ssh to the spawned in VM and do nessus all from the CLI? i mean it will be harder but sure i can try? so I ssh into the spawned VM, with the provided "htb-student" and password "HTB@cademy_student!" and no nessus isnt there either. So now im really confused? we cant install nessus on the VM without deleting preinstalled hacking tools HTB gives us. I also cant figure out why we need to spawn in the other vm in the first place the server we need to do a vuln scan on is this 172.16.16.100. and the server we spawned in is random everytime. so why do we need to spawn in the VM? I MUST be doing something wrong. I know this is important

"The Nessus credentials are: htb-student:HTB@cademy_student!. You may also use these credentials to SSH into the target VM to configure Nessus."

but I cant figure out how this plays a role into setting up nessus? Its probably very simple and obvious, but I havent seen another person online have this question, so it makes me think its a very simple/ stupid question. thank you very much for the help

next bronze
#

oh my goodness a wall of text

#

nessus is running on the spawned target, not pwnbox

#

you should also ssh into the ip provided. you can spawn the target above the questions

shell glacier
shell glacier
cloud urchin
next bronze
#

go to the Nessus Skills Assessment section and you will be able to spawn the target with nessus running

shell glacier
#

let me try that

#

yall are so gosh darn smart! thank you so much for the help!!! worked like a charm fingerguns

twilit epoch
#

Hi, I am stuck at Linux PE, Kernel Exploitation. I cannot seem to find the correct exploit to gain root shell despite using Linux Exploit Suggester. Is there anyone who can help to nudge me?

mellow portal
next bronze
mellow portal
#

Hi, OSINT: CORPORATE RECON [Domain Structure] In which country is the Chief Financial Officer (CFO) located? The answer is Germany. I knew the problem and solved it. But I don’t know the answer to your other question. While solving another problem, I found out through a site called Zoomeye that the parent company of inlanefreight.com is digitalocean LLC, and I don’t know how to solve it after that. Please let me know… ㅠ And I don’t know how to format the last question

inland shuttle
#

I am stuck on the skills assessment for Information Gathering - Web Edition question 3. I have spent days on it and I am sure I have tried everything at this stage, but cannot find any directories. I have used ffuf, gobuster, Zap fuzzer, basically every tool and more from the unit

hollow niche
#

Hi All! Hope everyone is ok!
Considering to build my own home lab...still watching lots of yt videos and stuff...which option would be better a physical lab or a cloud one? In terms of performance, pricing and also on how good it might looks in terms of project documentation?
Thank you!!

wraith pelican
mild kettle
#

Is this a good place to ask a question for help on the 'Footprinting' module in the academy?

rustic sage
#

Hello guys, can anyone help me from cyber bullying

rustic sage
autumn pilot
#

Please contact the appropriate support of the application

#

We cannot help you

mellow portal
#

Is anyone familiar with the hackthebox osint module

crimson eagle
#

Anyone able to point me in the right direction with this question? CDSA -> Intermediate Network Traffic Analysis -> Detecting Network Abnormalities -> TCP COnnection Resets and Hijacking.
Scrolling through the Telnet packets, I see some 'unames' but none of them worked. I also see something the SS but unsure if there is a username in it

twilit epoch
mild kettle
#

I'm stuck on the last question of the DNS section of the Footprinting module. I keep getting this response when I try to initiate dnsenum.

inland shuttle
# spark spruce find vhost using gobuster

gobuster vhost -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt -u http://inlanefreight.htb:33175/ --append-domain

===============================================================
Starting gobuster in VHOST enumeration mode

Progress: 4989 / 4990 (99.98%)

Finished

I don't know what I have done wrong

spark spruce
mild kettle
#

I just tried the subdomains wordlist it gives me the same response

inland shuttle
#

Ok so the syntax is ok?

wraith pelican
spark spruce
eager ledge
#

Module: ACTIVE DIRECTORY ENUMERATION & ATTACKS
Section: Attacking Domain Trusts - Child -> Parent Trusts - from Linux

When performing ExtraSids attack, we move from child domain to parent domain. And all we need to perform this is

  1. KRBTGT hash for child domain
  2. SID for child domain
  3. Name of target user in the child domain
  4. FQDN of child domain
  5. SID of Enterprise Admins group for parent domain

The section shows that we can use lookupsid.py to get the domain sid of the parent domain. But it requires authentication and we are working on the premise that we do not have any access on parent domain yet. So, how do we find the SID of Enterprise Admins group for the parent domain?

next bronze
eager ledge
#

Thanks!

fathom pendant
mellow portal
fathom pendant
#

I'm just informing you that the parent company isn't Digital Ocean

#

Inlanefreight is a fictional company made by HTB

#

I haven't done the module myself

inland shuttle
eager ledge
fathom pendant
mellow portal
next bronze
inland shuttle
fathom pendant
mellow portal
acoustic owl
acoustic owl
naive sage
#

it's always language barrier.

mellow portal
#

Thank you ㅠㅠ

rustic sage
#

Please someone help my friend

acoustic owl
naive sage
next bronze
#

add the hostname, domain name and fqdn of the target domain controller to your hosts file

#

also make sure your ticket works, try with psexec first

acoustic owl
acoustic owl
eager ledge
eager ledge
naive sage
acoustic owl
naive sage
#

😄

next bronze
#

if psexec works secretsdump should also work, they're both using the same codebase to authenticate to the domain

next bronze
eager ledge
#

psexec was working earlier but its not anymore

#

I recreated the ccache file and its working now.

#

😕

naive sage
#

🤔

ocean night
next bronze
#

for impacket you can just @fqdn -flags and let it get the info from the ticket itself, no need to specify the user or domain

eager ledge
#

Turns out I should use -target-ip instead of -dc-ip

#

The sections itself are so confusing. I can only imagine how much difficult the Skills Assessments is going to be 🤞

next bronze
#

you'll get the hang of it when you do more, the impacket suite is very versatile

#

also spoilers here, you might want to remove it

wraith pelican
sterile wharf
#

Greeting, I am doing module "INTRODUCTION TO WINDOWS EVASION TECHNIQUES" the "Microsoft Defender Antivirus" section

And I have a very odd question, the question from this section says " What is the version of the antivirus signatures which are installed?", do I understand correctly that when I use Get-MpComputerStatus I should see the answer as "AntivirusSignatureVersion"?

(Asking this because for some reason this answer doesn't work, maybe someone had the same issue)

ocean night
#

@jolly yacht instead of posting potential spoilers, please ask for assistance with the module, and take it to DM. Thanks

#

Anything above Tier 0 you shouldn't be sharing solutions, partial or otherwise in chat like that.

#

..and that was a mighty wall of text 😅

jolly yacht
ocean night
#

No problem, yeah I understand - best way to get advice would be to mention the module / section you're struggling with, and possibly vaguely describe your problem. Someone may reach out in DM to give some guidance.

jolly yacht
#

Hey, I was confused about the Flow control Section problem in the Intro to Bash Scripting Module. i hope someone can give me you're insight according to that and help my learning process. Thank you.

next bronze
#

use wc -c

long flint
#

Could anybody assist on this question?

Construct a valid SSL 3.0 padding of the plaintext bytes "AABBCCDDEEFF". Use the byte 00 for any byte that can be an arbitrary value. Provide the padded plaintext without spaces. Assume the cipher suite TLS_RSA_WITH_AES_128_CBC_SHA is used.

I thought since it is 16 bytes, and we are given 12 bytes, and told to use 00 as arbitrary bytes, it would need 4 bytes of 00 to be ||AABBCCDDEEFF00000000|| , then changing the value of the last byte to the length of the padding, 4, it would be ||AABBCCDDEEFF00000003||

Am I doing something wrong?

#

ah i got it.. nvm lol counting bytes incorrectly xD

wet finch
#

I'm working on AD Enumeration & Attacks - Skills Assessment Part I and am on the last question. I was able to ||DCsync|| and grabbed hashes for all users. However I'm unable to connect to DC01 to get the final flag. It says the user ||tpetty|| doesn't have perms, but I don't know what other user I would be expected to use?

shut quest
hidden hemlock
#

Hello
please somebody can help me with this question 'What is the version of the antivirus signatures which are installed?' i try all command, i put the AntivirusSignatureVersion but not work
Thank

wet finch
shut quest
wary plover
wet finch
#

admin didn't work for me either

shut quest
hidden hemlock
#

yes i but i have the version but no work

#

that is the problem, i try all way

wary plover
hidden hemlock
#

no modules have _

shut quest
next bronze
#

haha it doesn't work for me either

#

did it break

stark lark
#

Is it likely that the sock5 default binding will cause me trouble? Doing pivoting module.

#

Since it routes also routes localhost traffic

wraith pelican
shut quest
#

admin for ad enum works for me

wet finch
#

Nothing like spending a ton of time because of a typo...... lol

#

Thanks

stark lark
#

Is it possible to turn off all the noisy proxychains messages?

wraith pelican
#

-q i think, check help if not that

shut quest
#

Yes there's a setting in proxychains to quiet it

#

quiet_mode

next bronze
#

msf also can interact with proxychains directly by setting the proxy, you don't need to do proxychains msf

split glade
#

Module: Linux Privilege Escalation
Chapter: Docker
I don't really get the "docker socketS" section. I tried to reproduce it, but I can't create a new container. What are the requirements?

shut quest
split glade
#

So it can be done?

oak girder
#

Hello everyone, I have a question about where to get the dehashed.py of this module (https://academy.hackthebox.com/module/113/section/1214). I searched on GitHub and found that it seems that it is not the same thing. The link given in the textbook (http://dehashed.com/) seems a little different.

shut quest
elder kraken
#

Hello,
For the module Vulnerability Assessment - Nessus Skills Assessment
The question:
**What is the plugin ID of the highest criticality vulnerability for the Windows authenticated scan? **
I don't understand the concrete meaning of the question, can you give me a hint?

elder kraken
shut quest
shell solar
#

who knows what should appear next? something that will help you find a record in a subdomain.I haven't received the required subdomains for about 80 minutes

bitter coral
#

hello guys is there any discount code for HTB Academy Silver Annual

shut quest
#

no?

shut quest
shell solar
shut quest
split glade
# shut quest your command is wrong, review that part of the section, you have a couple of fla...

In the end it was just because the container didn't start just after creating it, which can be solved by adding an extra flag -t cf
https://stackoverflow.com/questions/25775266/how-to-keep-docker-container-running-after-starting-services#answer-36872226
docker -H unix:///var/run/docker.sock run -td --privileged -v /:/tmp/hostsystem ubuntu <- works
This is because docker ps list running containers, but we can see all containers with docker ps -a

So I'm not sure if the commands shown in docker sockets are correct? You can't create a container that isn't running and have it displayed as running (up) just after

shell solar
wary plover
shut quest
#

again with the spoiler. your dig command is correct or was i guess you restarted the instance (ip change) but do it for all of the subs you have gathered

split glade
#

I'm talking about this, hope it's clear enough

#

Maybe it's because the image is different and keeps the container up without the need for a -t flag?

shut quest
chrome zodiac
#

Might be offtopic, but I'm having issues with VPN in the HTB Academy, I connected to HTB Academy network using openvpn but when I spawn target and when I paste the IP:PORT it's just won't connect to it, someone had same issues on their own lab machine?

wraith pelican
chrome zodiac
chrome zodiac
#

I will try that, maybe it will work

#

Didn't work he still doesn't let me connect

shut quest
#

sorry qui3t, clicked the wrong reply button

chrome zodiac
#

Oh wait, nevermind

#

Thank you both, it worked

#

🤝

wraith pelican
# shut quest

I'm curious, could you explain how this is working? What does that do? this is when you set up the vpn via network manager and not via command line?

shut quest
wraith pelican
#

Thanks @shut quest. I'm wondering... the only routable traffic using htb vpn is still only those private IPs? or with that method you also send the IP:PORT type of target through it?

shut quest
wraith pelican
#

i must be slower than usual today and i don't want to be picky, but then i miss the point of doing that. It is just, let say, a convenience to set it up via network-manager, to not have a terminal pane busy with vpn or something?

shut quest
#

different strokes? i dont have to remember where i keep my configs and which one is current also no need for a terminal. maybe crossover from windows habbits? click button receive vpn ¯_(ツ)_/¯

wraith pelican
#

haha ok yeah totally... thanks i get it. Sorry for being inquisitive : D

uneven oracle
#

Well… I’m stuck in File Inclusion > File Inclusion Prevention
I believe I have edited the php.ini file, and placed a php webshell in the hinted directory, but I don’t seem to be able to curl this file. I’m not seeing anything in the error.log file.

jolly yacht
#

hey, i don't understand why they used the while loop in this script (Intro to Bash Scripting Module). I mean the script functionality would be same even though the while loop is not existed right ? whats the point of while loop in here? if anyone knew please share you're insights it might give me some clarity, Thank you.

shut quest
rustic sage
# jolly yacht hey, i don't understand why they used the while loop in this script (Intro to Ba...

The while loop in this script is actually pretty clever - it's there to give each host multiple chances to respond. Without it, the script would just ping each host once and move on, which could miss hosts that are actually up but just didn't answer the first time. A host might not reply right away due to a brief hiccup. The loop keeps trying until it gets a response or decides the host is really down. It's like when you call someone and they don't pick up, so you try again a couple times before giving up. This makes the whole ping process more reliable and realistic for how networks actually behave in the real world.

uneven oracle
#

I seem to be curling the wrong address. It’s saying “page not found”.

shut quest
uneven oracle
#

Idk…

steady dust
#

webshell?

uneven oracle
shut quest
jolly yacht
# rustic sage The while loop in this script is actually pretty clever - it's there to give eac...

but even if the ping get response code 0(success) or else (not success) the stat variable going to decrement to -1 right which means stat is now 0 and now the loop will be stopped which mean either the ping is recieved or not the loop is going to execute for one time right? then what's the point of the loop since removing the loop will also execute the statement one time as the loop did?

steady dust
rustic sage
uneven oracle
steady dust
jolly yacht
steady dust
jolly raptor
#

hey guys could someone help with Nmap module please?