#modules

1 messages · Page 375 of 1

long kestrel
#

-p- scans all ports

fathom tide
novel matrix
#

Whats going on here?

acoustic owl
#

Thanks

long kestrel
long kestrel
ancient niche
#

someone can help me with this please?

waxen totem
ancient niche
#

it's the one that says hack the box

crisp solstice
ancient niche
#

i did it too and neither

acoustic owl
#

Do you get the same error message then?

#
/p:'password'

Be careful not to write a space after the /p:

ancient niche
#

mmm

hasty mauve
#

I would say remove the :3389.
iirc there was a /port flag or smth

#

@ancient niche

ancient niche
#

mmm

#

it doesn't work with space either

long kestrel
#

3389 is the default port anyways so you dont need it

hasty mauve
ancient niche
#

i don't understand because this doesn't work

long kestrel
#

what command are you trying rn

#

after fixing the mistakes that were pointed out

ancient niche
#

mmm

#

this

#

look at this

acoustic owl
#

use single quotes, not double quotes

ancient niche
#

Nothing,honestly, I don't have a fucking clue.

long kestrel
#

try it on the pwnbox

ancient niche
#

i'm in virtual machine

#

Seriously this is a terror

acoustic owl
#

Just use single quotes ' not double quotes "

ancient niche
#

already i did

acoustic owl
#

Is the Target machine running?

ancient niche
#

here there is nothing

long kestrel
#

looks like there isnt a target for you to connect to

acoustic owl
#

And which IP do you want to log in to?
You can't log in without a target machine.

ancient niche
#

here

long kestrel
#

you need to spawn a target to connect to one. it looks like this if there is one to spawn

ancient niche
acoustic owl
#

No, that's just an example. You have to start a Target machine first, and only then can you log in.

ancient niche
#

oh my good i did think that was one target xD

plush quail
#

hello guys.

#

@sturdy gate i send you a dm look on it

west sentinel
#

whats the equivalent of grep on windows powershell? I need to search through a list of services given from 'get-service' for services that are involved in updates, so i want a grep-like command that will show me all services that have 'update' in their display name:
module: https://academy.hackthebox.com/module/49/section/457

west sentinel
#

nice, i tried using it, but i have no clue how it works, and microsoft learn isnt helping either 😅

potent yoke
#

can anybody help me with this? in password attacks, pass the hash

#

i already do the rdp and doing the mimikatz things with thecreds but i dont get the nltm of david

west sentinel
#

Ok i found a stupid substitute by just copying the output into notepad and CTRL + F but otherwise may anyone offer a proper explanation on how to do a string search in powershell? Thanks.

sonic notch
#

Yooo

verbal wagon
#

Hello

long kestrel
# west sentinel Ok i found a stupid substitute by just copying the output into notepad and CTRL ...
#

it has plenty of examples ^

#

its also covered in one of the sections for intro to windows commandline module

ripe wadi
#

guys how does web shell run

#

like i cant understand how thecode is being ran

long kestrel
#

the web server runs it

ripe wadi
#

but how

#

does it just return th file content

#

and arent files typically stored in buckets

spiral sinew
#

Firewall and IDS/IPS Evasion - Hard Lab

ripe wadi
#

you cant do it?

spiral sinew
#

sudo nmap 10.129.225.138 -sS -sV -Pn -n --disable-arp-ping -D RND:5

#

through this scan i found only 80 and 22 port open

spiral sinew
ripe wadi
#

well th module has info about ids/ips detection and bypassing

shadow grove
#

Anyone else having problems spawning academy attack targets?

spiral sinew
unique ether
#

Change region

#

And try

spiral sinew
long kestrel
# ripe wadi but how

it depends on the server configuration and the type of file, but if you for example go to a php page the server isnt going to just send you php code. it interprets it and serves you the page. if that php code instead provides an interface to issue system commands, you have a web shell

spiral sinew
ripe wadi
#

if you for example allow users to makecustom templates and uploadthem

long kestrel
ripe wadi
#

i meant from your answer i replied to

rough violet
modern folio
#

Hi, sorry for the delay, I would like to get started with HTB academy, I am really a beginner, do you think, what advice do you have for not missing out on my learning?

fathom pendant
#

Take notes on everything you learn

wraith pelican
#

Hello, I am having issues opening the resources from the CPTS - Documentation & reporting module. Does any1 have a working copy?

wraith pelican
#

ah, damn. I feel like an idiot now, haha. Thanks

steady mulch
#

hello i have a question regarding the linux buffer overflow module
so basically in the module it says we have to check the memory address of $esp+550 to find our buffer + NOP slide + payload, but problem is that we put our payload before eip not after, so it should be before esp when it returns, so i tried doing $esp-99 (95 is the size of the payload) and sure enough i saw the payload, so why do we also see the payload when we look at a later memory address?

vernal notch
#

can anyone help me w an easy machine? im a complete beginner and i've been browsing through all sorts of tutorials but it seems im the only one tht ended up w this issue regarding SSH Tunneling

modern folio
fathom pendant
#

Make it make sense to you

earnest pasture
# modern folio ok thank you but in terms of my notes I'm getting very confused, I don't want to...

Note-taking involves reading and understanding the main topic and you can ask yourself questions such as: What are they trying to explain? and Why is it important?

In the summary, a good structure is for your notes to answer these questions:
What is it: briefly describe the concept.
Why does it matter: Explain its relevance.
How does it work: Detail the steps or process in a simple way.
What are the limitations?

ancient niche
#

ey guys someone can give me some guidance? i don't have idea what I have to doing here. I'm in module intro to academy's purple modules

fathom pendant
ancient niche
#

but

#

i put the ip

#

and i have teamcity

solemn blade
#

Can I get yearly subscription on my university student account if yes then how ?

I don't want to do monthly, it cost me more

random python
#

Hi

modern folio
solemn blade
fathom pendant
solemn blade
#

Okay, thanks

rustic sage
#

Can I have some laptop name which you guys use

fathom pendant
#

No, you can't have my laptop

#

I use an old razer blade 2016

#

Some people use thinkpads

#

¯_(ツ)_/¯

#

There's no one laptop to rule them all

fading olive
#

Hello I got a problem on the Wired Equivalent Privacy (WEP) Attacks > ARP Request Replay Attack.
The lesson explains how to setup everything to capture an ARP request and replay it in order to crack the WEP key. The lesson talks about listening to the network with airodump-ng and launching the replay attack with aireplay-ng. As soon as airodump-ng hears an ARP request, aireplay-ng will repeat it, the problem is when I put this in practice in the exercise, no ARP requests are captured, even after 10 minutes of listening, and therefore I can't go forward.
I ran the very same commands as in the lesson, adjusting for ESSIDs and BSSIDs of course:

sudo airodump-ng wlan0mon -c 1 -w WEP
sudo aireplay-ng -3 -b ap_bssid -h client_bssid wlan0mon
Am I missing something?

ancient niche
#

guys i have disconnect in xfreeerp i don't undertand because

#

i have NAt in virtual machine

acoustic owl
ancient niche
#

i don't know the I lose connection

acoustic owl
#

Is the target server online?
Is the VPN connection active?

storm elk
ancient niche
acoustic owl
ancient niche
#

one moment

#

look at this

#

after of this the connection i lose

acoustic owl
ancient niche
#

the rdp disconnecting while i am active

acoustic owl
#

Try restarting the target server. If it does not help, change the VPN region and/or the protocol (UDP/TCP)
If nothing helps, contact support

ancient niche
#

it was something else thanks anyway

fathom tide
#

nmap -sS 10.129.219.136 -p- -v -T 4 i only got 2 ports with this scan how am i supposed to get port 50000?

#

this scan already took 21 minutes

earnest pasture
fathom tide
earnest pasture
fathom tide
#

i see

polar raven
#

I have trouble completing this assessment(Active Directory Password Spraying of the Pentester Job Role Path) :
https://academy.hackthebox.com/module/143/section/1422

Using the examples shown in this section, find a user with the password Winter2022. Submit the username as the answer. 

But :

Import-Module .\DomainPasswordSpray.ps1
Invoke-DomainPasswordSpray -Password Winter2022 -OutFile spray_success -ErrorAction SilentlyContinue -Force

isn't working, it's detecting 2900+ users but it's removing all users within 1 attempt of locking out from list and at the end I don't have any user to test. By the way, Im' supposed to be able to RDP in this machine but I get a back screen so I switched to WinRM (that's why I'm using the -Force option to not being asked confirmation for spraying)

To connect to the machine :

evil-winrm -i 10.129.45.194 -u htb-student -p 'Academy_student_AD!'
earnest pasture
polar raven
coarse panther
#

Question,
Web Service & API Attacks - module
The skill assessment.

Are we supposed to see the step-by-step on how to complete the SQLi in the readme.md we find within the target machine or was that forgotten there? flork_hmmm

fathom pendant
fickle leaf
#

Hi im new can one teach me hack acc

dark hedge
safe star
#

wenegade waider

compact patrolBOT
soft reef
#

There are more ways to scan for ports.

manic bramble
#

hi there, I could really use some help with attacking enterprise network - exploitation & privilege escalation.. can I DM someone so I don't give away info

#

I think the exploit is broken

safe star
manic bramble
#

thanks

soft reef
#

How can you port scan from windows?

#

Try powershell.

primal coral
#

Some one help me about road map on htb

acoustic owl
primal coral
#

I dıdnt find Id

#

I dont understand what is id

soft reef
#

I dm'ed you.

primal coral
#

@acoustic owl

acoustic owl
primal coral
#

Ik but wıch one ıs My ıd ı dıdnt know

acoustic owl
#

You can find the ID in your HTB profile

primal coral
#

student ıd?

#

or what?

dark hedge
tranquil sinew
#

Hey all, attempting to get into security and I recently completed a Boot Camp and passed the Sec+ exam. Not sure where to go from here but start hands on learning. Any recommendations on how to proceed from here?

compact patrolBOT
devout moat
#

hey is this where i can ask for help?

#

tottle new guy here im not even sure how to use discord

fathom pendant
icy comet
#

Complete beginner to kali. How would you create the .py file on the brute forcing module?

cloud urchin
#

you can use the touch command to create a file, or just create it from mousepad/nano/vi/etc

potent yoke
#

did anybody have a clue about this pass the hash, password attack module?

#

i already doing impacket-psexec to the server and connected, an im already turn the disabledrestrictedadmin to 0, but still cant do rdp

potent yoke
#

im using the pwnbox

cloud urchin
#

wrap the password in single quotes

fathom pendant
#

It's processing $$ as a variable call

potent yoke
#

like this "AnotherC0mpl3xP4$$" ?

cloud urchin
#

no those are double quotes

fathom pendant
#

Single, not double

potent yoke
#

owh okay2

#

thanks guys i will tried it

#

yap it's worked XD

fathom pendant
#

If you're curious, in another terminal echo $$

potent yoke
#

new knowledge for me, thanks guys

fathom pendant
#

And that's what's getting appended at the end

stuck coral
#

Guy's

potent yoke
fathom pendant
potent yoke
#

owh icic thanks for the info marcielee

potent yoke
#

anybody have a clue about this?

#

im searching for the NLTM but doesn't find it, and the rubeus just accept the rc4, aes128, etc. doesn't accept the base64 code

fathom pendant
potent yoke
#

where is the ticket? it is the base64 key?

#

i already use it as the module say, but it's says that it need 16 32 etc code

earnest pasture
potent yoke
earnest pasture
earnest pasture
potent yoke
#

so i need to export it first yes?

earnest pasture
potent yoke
#

does to have all the TGT we need to use : rudeus.exe dump /nowrap?

#

i still confused how to know what is the different between TGT, PTT, etc

#

i just have this info when dump it, and some long key

earnest pasture
potent yoke
#

its says like this

earnest pasture
potent yoke
#

how can i pass it?

earnest pasture
potent yoke
#

okayy thanks my broo

quiet heart
#

Hi, how many times can I exchange voucher exam?

wooden seal
#

thanks marcielee for single quote thingy

storm elk
solid rivet
#

Hi

wooden seal
clever topaz
#

1..254 | % {"172.16.5.$($): $(Test-Connection -count 1 -comp 172.15.5.$($) -quiet)"}

actually why one is 172.16.5 and one is 172.15.5?'

clever topaz
quasi wave
#

hi I think I fixed part of what the instructions for this last question from the Attacking SMB section of the Attacking Common Services Module. I have the netcat listener running and I think I got the right PowerShell command on the other box I just think I'm doing some minor thing wrong. Can someone help me out? I already solved first two questions.

#

I have a screenshot but I think it will spoil too much so I don't want to post here

#

can someone help me out?

strange horizon
#

Prepping for PNPT and EJPT , following the windows priv esc module..I'm lovin it !

thin mauve
#

Hello can i get some help ?
on Introduction to Digital Forensics
Skills Assessment
Q3
Determine the registry key used for persistence and enter it as your answer.

I can't find the persistence, what is the Utilize Velociraptor Artifacts i use for get registry key?

any hint

||Hint i get it , just read "Windows Forensic Overview" you will find what you want||

slow dirge
#

Hey guys, Could some one help me with (windows to windows payload transfer method) i am struggling to do this.

ivory turret
wispy halo
#

Hello, can anyone suggest me ways to install a WIndows VM on a Linux host? Is there any extra steps that I should take or following random tutorials online should be fine?
I also went through the setting up module and they suggested a developer VM? if the vm will expire eventually, i was wondering why use that but it seemed like the site doesn't even allow me to download one anymore? https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/
Any guidance would be much appreciate!

storm elk
#

quickemu ?

#

@wispy halo

wispy halo
#

hello, thanks!

wispy halo
#

never used it but will definitely take a look

storm elk
#

I am not sure - I used it a few times and it did the trick for me

wispy halo
#

👌

empty trout
#

hey

#

crackmapexec smb 172.16.1.0/24 -u Administrator -d . -H 30B3783CE2ABF1AF70F77D0660CF3453
in this command we are not specifying domain . so how does this account will be lockout by domain controller i know that authentication is carried out by domain controller so all the request will be made to domain controller . but when we specify the domain then it will happen . yeah i also know that there are ways to find your domain via dns and group policy . but i am not sure if i am on correct path to understand this

ripe wadi
#

how does this work

storm elk
#

You're gonna have to be more clear @ripe wadi - what module, what section

#

And what is your question exactly?

empty trout
#

can u answer mine

storm elk
#

No - I have not done that module - but same goes for you. Module + section

empty trout
#

module = password attacks in section pass the hash

ripe wadi
clever topaz
#

im on AD Enumeration & Attacks - Skills Assessment Part I
Submit this user's cleartext password.
i cant find the cleartext password for ||tpetty ||ive used mimikatz pypykatz gopher lazagne, file hunting, registry hunting

#

any hint

urban elk
#

how did you try it on mimikatz ?

clever topaz
#

privilege::debug
sekurlsa::logonPasswords

#

and also dump lsass and tested on pypkatz

urban elk
#

ok, I dumped lsass as well, even if it was with another tool. Maybe inspect the output again for anything you might have missed, or try other tools

clever topaz
#

which tool sir

urban elk
#

I used netexec

clever topaz
#

argh

#

thanks will check that out later

acoustic owl
clever topaz
clever topaz
#

ligolo can be used on windows host?

#

i want to cry now hahaha dumb ass me thought it can only be ran on linux host

urban elk
#

:)

ripe wadi
#

how is a img file being executed

lusty thicket
#

didn't the module discuss this?

safe star
#

bro is back

storm elk
long kestrel
#

the skill assessment for the assembly module felt like pretty good prep for the reverse engineering course im taking this semester, it was harder than I expected

storm elk
#

And?

#

I can disguise a txt file with .jpg extension, doesn't make it an image

devout garden
#

In the Linux Fundamentals module, I have observed that many questions at the end of each section are not related to what was taught during the section, for example in the "Filter Contents" section, the first question wants us to use ss -l -4 which I found it by searching about it online as I saw it in the cheat sheet but is this normal? Am I missing something? Shouldn't we be questioned about the stuff that the section just taught us to test our knowledge and understanding of the current content we just read?

glad patio
lusty thicket
#

it's worth calling out, or at least letting the module creator know

devout garden
# lusty thicket you're right!

Maybe this is the goal of it, to think "outside of the box", but still I am asking as I find it weird, the section is teaching something but the questions require knowledge from the next section or something that wasn't even specifically taught during the section 😅

rough violet
#

edit for what I deleted:
mb, 25 subnet mask would make the last address be 127 in the forth octet, not the 3rd, i miscalculated 25 for 17 i guess, & yea they would not be in the same network.

digital crown
#

module: active directory enumeration and attacks
section: internal password sparying from linux
i ssh into my attack box and try to run this command, which is mentioned in this section but this happens

wooden seal
#

I have a doubt if any one can help {Password attacks (Pass the Ticket (PtT) from Linux)}
Use the LINUX01$ Kerberos ticket to read the flag found in \\DC01\linux01. Submit the contents as your response (the flag starts with Us1nG_).
How did we know about the kerberos ticket (linux one) as i had no idea where did it came from

rough violet
#

so guys
that would make the subnet mask change from /25 to /24 right? to allow that range right?

long kestrel
#

I remember going through that module and thinking a subnet mask was off by one. It might have been that part but it's been a little while so I don't remember. I just kept going 🤷‍♂️

amber badger
#

Hi im new can me teach one person

#

Pls

compact patrolBOT
storm elk
#

Read that @amber badger - nobody is going to take your hand and teach you. That's what academy is for.

amber badger
#

Ok

regal wedge
#

Hey, got stuck on "Skills Assessment - Using Web Proxies" in bug bounty where you need to encode the cookie you found. Could anyone lead me on a path a bit?

urban elk
#

what have you tried ?

regal wedge
#

so i fuzzed, but it did not give me any exceptional outcome (talking about code, RTT or size) all came to 200 OK with similar time and size.

#

so i dont really know which one to encode

clever topaz
#

AD Enumeration & Attacks - Skills Assessment Part II
question
Use a common method to obtain weak credentials for another user. Submit the username for the user whose credentials you obtain.

am i suppose to use other username wordlist other than the ones in the internal linux box?

clever topaz
earnest pasture
clever topaz
#

I’ve checked the policy allows any kind of password and yes I’ve also enumerated the users through kerbrute and ldapsearch rid brute force

earnest pasture
clever topaz
#

Will they produce different result FeelsBadMan

earnest pasture
clever topaz
#

ya ive tried

hasty mauve
clever topaz
#

okay ill try

earnest pasture
gray yacht
clever topaz
#

i think the AB user has no permission to run a lot command, i tried running powerview commands but there are some error

#

got it thanks everyone

urban elk
regal wedge
#

so i fuzzed, but it did not give me any exceptional outcome (talking about code, RTT or size) all came to 200 OK with similar time and size.

#

im stuck at the fuzzing

#

used zap/burp, i keep getting 2responses on burp but everytime i repeat the attack, the response is on a different char

urban elk
#

how are you fuzzing it with burp ?

regal wedge
#

thru intruder interface

#

but i did it on zap aswell

urban elk
#

we'll need more than that to be able to help. You have a 31 character string after decoding the cookie, walk us through what you are doing to turn that into your fuzzing parameters

#

you can DM if you feel like it spoils

regal wedge
#

ok, i will dm

urban elk
#

(it probaby does)

hushed rivet
#

is there a bug in the module cross-site scripting (XSS) on the session hijacking part ?

#

im getting a callback but no script execution is being done.

#

it doesnt wanna execute the javascript

ripe wadi
#

is it only me or the meterpreter shells fail too quickly

hushed rivet
#

i think its broken

#

if any moderator could verify that would be great

astral thistle
#

God

acoustic owl
hushed rivet
#

weird didnt work for me

#

i tryed various ports aswell

#

it got to

#

everytime after script.js it was closing

acoustic owl
#

Send me a DM with the content of your script.js file.

hushed rivet
#

maybe support can look at this

#

thanks for double checking though bunny!

acoustic owl
hushed rivet
#

ahh ok

median gale
#

Anyone done the AD Bloodhound module, i need help trying recreate a scenario

amber badger
#

Hi can me help 1 person or 2

opal prairie
#

Anyone here do other hacking besides htb

amber badger
#

Can i help you

#

@opal prairie

storm elk
amber badger
#

I will learn hack

compact patrolBOT
balmy vale
#

Hey, stuck after mssql xp_cmdshell in escape two

ancient niche
#

Good afternoon people somoene do you know how can i log in at velociraptor?

ancient niche
#

nothing bro

#

that is not

#

i don't understand because

smoky arrow
#

i dont know, in Forensic module it's like that

ancient niche
#

nothing comes out

shut vapor
#

I fired up the lab and couldn't figure it out. I don't see it in the reading material unless it's in an earlier section. no luck with admin/admin or admin/password.

#

so, not just you

ember roost
#

Hello! I'm currently on the File Inclusion academy module, and I'm having an issue, perhaps it is with my computer. Tried to do http://<SERVER_IP>:<PORT>/index.php?language=/etc/passwd and /usr/share/flag.txt with the IP and port given and the page doesn't display the information requested. Tried to do also on BurpSuite, but the page took so long to load that I already gave up. Perhaps it's a config issue with my computer or connection. Who had this problem before? Can I get some help with this issue please?

shut vapor
#

looks like you're supposed to execute CVE-2023-42793, no, to bypass auth?

ancient niche
#

honestly i don't know how i can doing xD

shut vapor
# ancient niche honestly i don't know how i can doing xD

Oh no, I see. You exploit "team city" then log into velicoraptor to observe what that looks like.
The credentials for Velociraptor are given to you a few sections back in "Available Windows DFIR Toolset"
Typically they provide credentials on the same page as the labs so it is a little unusual.

cedar dagger
#

Guys Question
In the Footprinting Module , MySQL part
for this question
During our penetration test, we found weak credentials "robin:robin". We should try these against the MySQL server. What is the email address of the customer "Otto Lang"

I did this query : select email from myTable where myTable.name = "Otto lang";
I only get back 1 answer and when I try to enter it in the HTB question it says not the right answer

#

dunno if its a bug

earnest pasture
shut vapor
cedar dagger
#

Lemme try to refresh the page and write it manually

#

...

#

That did the trick ty guys lol

violet sparrow
#

Hi, let's se if somebody can help me, I'm trying to do the exercise of bypassing cors from module Advanced XSS and CSRF Exploitation, and when I try to send the exploit i get this error exploit:6 Refused to set unsafe header "Origin"

plush quail
#

i need a team dm me

smoky arrow
#

Hi guys, module Introduction to Digital Forensics, section Skills Assessment...i answered all question except one. Can someone help me?
Determine the registry key used for persistence and enter it as your answer.
I just need a hint I tried a lot of keys but no luck...

rustic sage
#

Steps to get through CWEE modules
Repeat the steps you saw on the labs 100x even though it doesn’t work

Cry
Repeat until flag

rustic sage
#

Injection> ldap data exfoliation

#

Exfiltration

#

I found something with a wild card, but I’m using the HTB student and reconciling the password against the wildcard thing and it doesn’t work beyond just the wild card so I’ve been using the other ones that are listed with no luck. I even tried URL encoding everything.

#

.* with student gets a hit but if I put A or a combination of *A doesn’t work

#

I figured all the stuff in the lesson I could tie back a known password for HTB student, but that’s not even working beyond the * alone

storm elk
#

I don’t have access to my notes atm but I can try to help via dm

clever topaz
#

is passing hashes the intended method?

rustic sage
ancient niche
safe star
#

I suggest dumping hashes with mimikatz if you can

clever topaz
#

its ok i already did the same exploit in different vpn server to get access haha thanks

low heron
#

Dear community,

I am in the middle of "ACTIVE DIRECTORY ENUMERATION & ATTACKS".
I definitely miss something, please direct me to the right direction. As a more linux person I prefer terminal stuff over RDP. So I would like to issue many commands via Evil-WinRM or impacket-wmiexec from kali instead of useing RDP and using the "cmd" terminal via GUI.
For example I would like to issue dsquery user command via impacket-wmiexec but it doesnt work, I get>

└─$ impacket-wmiexec -dc-ip 172.16.5.5 htb-student@10.129.230.228 -shell-type powershell
Impacket v0.12.0 - Copyright Fortra, LLC and its affiliated companies 

Password:
[*] SMBv3.0 dialect used
[!] Launching semi-interactive shell - Careful what you execute
[!] Press help for extra shell commands
PS C:\> dsquery user
dsquery failed:The specified directory service attribute or value does not exist.
type dsquery /? for help.

Via RDP, it works>

PS C:\Users\htb-student> dsquery user
"CN=Administrator,CN=Users,DC=INLANEFREIGHT,DC=LOCAL"
"CN=Guest,CN=Users,DC=INLANEFREIGHT,DC=LOCAL"

With the very same credentilas it works if I RDP to the lab machine and issue the command on the Windows itself.
whoami says I am "inlanefreight\htb-student" in both terminals, but many commads behave differnetly. What is the trick? Thank You.

This guy asked the very same, but did not get proper "techical" answer> https://www.reddit.com/r/activedirectory/comments/1bkugcw/wmi_rdp_with_different_behaviours_on_ad_listing/

Reddit

Explore this post and more from the activedirectory community

rough comet
#

If someone from HTB Developing content read this... please! I beg you ... make the Password Attack module "less realistic" . 😭 I mean, some of us also work and have families, lol ... do do not have 2 or 3 hrs just to crack a password

ancient niche
#

i put in this but sill i can't log in

earnest pasture
dapper moth
clever topaz
#

Is the difficulty of Attacking Enterprise Networks on par with Dante?

dapper moth
#

There is only one easy Prolab

low heron
# earnest pasture mmm Could you try to run the command with the path : C:\Windows\System32\dsquery...

Got the very same>```
└─$ impacket-wmiexec htb-student@10.129.230.228 -shell-type powershell
Impacket v0.12.0 - Copyright Fortra, LLC and its affiliated companies

Password:
[*] SMBv3.0 dialect used
[!] Launching semi-interactive shell - Careful what you execute
[!] Press help for extra shell commands
PS C:> C:\Windows\System32\dsquery.exe user
dsquery failed:The specified directory service attribute or value does not exist.
type dsquery /? for help.```

low heron
clever topaz
dapper moth
#

I know you are

#

Dante is Dante.
It's a bunch of non related machines pilled up together basically

clever topaz
#

Owhhhh

#

Thank you

fathom apex
#

can someone please help me with what I'm doing wrong here?
I am doing the pivoting, tunneling and port forwarding module.. I am using the credentials given to connect to the windows machine by setting up dynamic port forwarding.
The username and password given doesn't seem to work :/

earnest pasture
dapper moth
#

You can try specifying the Server and credentials, @low heron

vital zephyr
#

Hi everyone, I'm in the thick client section, in particular I started x64db, when I load the file, it moves too quickly, it doesn't give me the possibility to press correctly what I need, can you give me a hand?

earnest pasture
fathom apex
vital zephyr
#

fantastic marcielieee where are u, i need ur help

#

anyone who can help me is fine too, I wasted two days without solving this thing

fathom pendant
#

set breakpoint
load executable

low heron
fathom pendant
# vital zephyr

And did you launch the program before or after setting that?

dapper moth
low heron
vital zephyr
#

no before i set that setting but nothing changes it still goes fast

fathom pendant
vital zephyr
fathom pendant
#

As noted by the settings menu, you need to restart the program you're debugging for it to take effect

low heron
fathom pendant
#

Otherwise it's running with previous settings

#

Once it hits the breakpoint it'll stop and you can investigate

vital zephyr
fathom pendant
#

Did you clean it up as mentioned? Iirc that's part of it

fathom pendant
vital zephyr
#

now if I load this bin on string I get this (I moved the file to the string folder for convenience):

#

If I feed it to de4dot I get this:

#

what am I doing wrong?

vital zephyr
fathom pendant
#

Instead of waiting for a reply actually re-read the section and go step by step

#

It's fine to ask questions, but you should have the drive to make sure you're not missing anything or reading things properly

vital zephyr
#

God bless you, I will reread the form again, if there are any steps that are not clear to me I will come back tomorrow

ripe wadi
#

guys i am doing the hashcat module and i wondered except for ntlm hashes how often do you need to crackk hashes

dapper moth
#

You mean in boxes/modules or real life?

ripe wadi
#

real life

#

or boxes

#

htb is pretty real life compared to to other ctfs

dapper moth
#

Is it? Idk haven't done any other lab

#

For boxes you might find bcrypt and md5s

glad patio
#

Hello, guys. I'm looking for suspicious processes among VAD artifacts gathered through Velociraptor, and there's 63k rows. Can someone advise me how I can quickly analyse such data massive and find sth suspicious in there?

"Using VAD analysis, pinpoint the suspicious process and enter its name as your answer. Answer format: _.exe"

UPD: ok, I found the answer by looking for the processes tree instead of this

ripe wadi
#

and for hashcat also isnt the whole purposeof salting to not be able to crack hashes

late moth
#

anyone else having alot of issues connecting to any of the modules that require you connect via RDP today?

#

keep getting booted constantly

#

i've redownloaded the VPN file, and will initially connect, but shortly kick me off. Then have to keep restarting the VPN

bright shore
#

I 've tried running this crackmap command to get the ntsd hashes from the module "Attacking Active Directory & NTDS.dit" and it doesn't return anything but: [!] Dumping the ntds can crash the DC on Windows Server 2019. Use the option --user <user> to dump a specific user safely or the module -M ntdsutil [Y/n] Y. I type in "Y" and press enter but nothing happens. Is there something wrong with the way I'm using the command? crackmapexec smb 10.129.201.57 -u jxxxxx -p xxxxxx --ntds

#

Question is Capture the NTDS.dit file and dump the hashes. Use the techniques taught in this section to crack Jennifer Stapleton's password. Submit her clear-text password as the answer. (Format: Case-Sensitive)

earnest pasture
bright shore
#

In the command? This was the example used in the module: Solarage@htb[/htb]$ crackmapexec smb 10.129.201.57 -u bwilliamson -p P@55w0rd! --ntds

earnest pasture
karmic dirge
#

Is the Data Exfilration va Response Timing section of Whitebox attacks supposed to take forever? I verified the script works correctly with a known username and am using the correct wordlist. not looking forward to the next section if I also have to wait that long for that one as well

rustic sage
#

Any hint for injection ldap data exfiltration? The cheat sheet isn’t helping, nor is the lesson plan. I’ve tried all types of combinations.

shut ice
#

For windows lateral movement, SSH. Do you need to port scan all 65k ports via proxychains? Can't think how to find the SSH port for SRV02 other than this but it takes a long time

shut ice
#

Question is "which port is SRV02 using for SSH"

#

Just found the ssh key in ambioris but you have to find the port through the pivot?

dapper moth
#

I would scan all 65535 but that's just me.
You can try the Nmap fast scan or attempt all closely by ports (2022,2222....)

dapper moth
rustic sage
dapper moth
#

As if a piece of digital paper proved anything

shut ice
#

Tried around 20 known SSH ports, it has to do a connect scan over proxychains though which will take hours to complete all ports

rustic sage
dapper moth
#

I can check my notes if I have noted something

dapper moth
tranquil axle
# glad patio Hello, guys. I'm looking for suspicious processes among VAD artifacts gathered t...

Hey, the intended solution is that you don’t look at all vad blocks but you filter for the ones that have write and execute. Process injection often maps memory to rwx to write code and then execute it, write and execute in the same memory region is a big red flag. I agree that the module didn’t really explain that too well. In velociraptor you can filter for only those regions and then you get the answer quickly

bright shore
earnest pasture
dapper moth
#

Still need help, @rustic sage ?
I didn't note down the script but just wrote one that works

rustic sage
#

Sure shoot it of if you like

dapper moth
#

You have to make a script that sends that HTTP request iterating through each character and appending each when matching that successful authentication string

icy comet
#

For the hydra login forms module, I downloaded the 2 wordlists and inserted the hydra command with -f “target IP” -s “port”. It resulted with 0 valid passwords found. Am I missing something?

rustic sage
#

Hi guys, I have a doubt in XSS module (Pentest pathway)

This comment section is vulnerable to XSS. If I specify my script without the port as in the image, I get a hit.
If I specify the port in there, like:
http://10.10.16.16:8888/script.js
It would end up in an error.
Any reasons?

bright shore
#

@earnest pasture Thanks for the help my guy. I appreciate your quick response

rustic sage
#

Provided, there are no issues with hosting the file

#

Could it be that, it has to always be the PHP server's port, and can't be the Python server's as it doesn't handle that request well?

icy cove
lament ridge
rustic sage
#

This is when I specify a port in the XSS vulnerable comment section

#

Otherwise, If I don't specify one, I get the flag

fathom pendant
#

Bud

lament ridge
fathom pendant
#

You're running your php server on port 80

lament ridge
fathom pendant
#

No need to dig deeper beyond the issue being between keyboard and chair

rustic sage
#

But i tried running php server on 8022 port, and that gave me an error too

fathom pendant
#

What error

rustic sage
#

I'll post a ss

unique verge
#

Okay 👍
@rustic sage

unique verge
rustic sage
#

this is when i specified my ip with port 8022

unique verge
#

Okay

#

The magnitude is fluctuating wrongly

#

You can lose access to your wallet full function if you don't look into this

safe star
#

bro might be onto something😭

rustic sage
#

😄

safe star
rustic sage
#

yeah, if I don't specify the port in vulnerable comment section, and let php server running on 80 port, then I get the flag

#

so I'm curious why this is happening

fathom pendant
#

looks inside script.js
is actually .php

rustic sage
#

haha sorry if im making mistakes, but im so confused

lament ridge
#

when ur running port 8022

#

ur script.js file is trying to call out to port 80

safe star
lament ridge
#

which isnt open on ur end

#

u have to change the script.js to also be port 8022

rustic sage
icy comet
#

Found the user and password but still says invalid ||user-root pass-404: Not Found ||

rustic sage
#

Thank you! @lament ridge ahahah

icy comet
#

😩

lament ridge
#

np np np

rustic sage
#

and @fathom pendant

fathom pendant
fringe arch
#

Hi, same issue is happened to me, how did u managed to solve it?

unique ether
#

AD enumeration skills assessment 2 question 4 Use a common method to obtain weak credentials for another user. Submit the username for the user whose credentials you obtain. The target seems vulnerable to rpcdump.py @172.16.7.50 | egrep 'MS-RPRN|MS-PAR'
Protocol: [MS-PAR]: Print System Asynchronous Remote Protocol
Protocol: [MS-RPRN]: Print System Remote Protocol I got this output when i try the attack it still doesnt work

#

gives me some error code

#

I thought if i could get admin shell using this method i could run mimikatz and get the users creds

#

i dont know what to do

#

Please guide me

earnest pasture
pallid wing
#

Good evening, how are you? I would like to ask for your help since I am working on the skills assessment for Broken Authentication. I have the user's password, I found the OTP, but I can't see the flag. Could you help me?

lament ridge
#

wat is ur current output?

pallid wing
#

When I enter the OTP I found, it takes me back to the login panel

#

all the time

mint nacelle
lament ridge
#

from memory, look at the 2 bypasses they teach u in the module

pallid wing
#

I understand, I'm sorry, I didn't know where to look.

lament ridge
#

no all goods

#

lemme know if u need help aftr reviewing it

rustic sage
#

.

unique ether
brittle arch
#

Is anybody available to chat about the Coercer page of the NTLM Relay attack module. I'm sure I have the correct output, but can't work out what format the anwer wants.

mint peak
#

Regarding port forwarding, why is the given example by HTB using proxychains with nmap, and having success given that they haven't disabled host discovery? I've tried to follow the exact setup with SSH dynamic port forwarding, along with proxychains, and I cannot reproduce what was done in the AEN Internal Information Gathering.

As demonstrated, they ssh -D 8081 -i dmz01_key root@<IP> , and then add socks4 127.0.0.1 8081 to the proxychains4.conf, and then execute proxychains nmap -sT -p 21,22,80,8080 <TARGET_IP> which then successfully executes, saying which ports are open. When I tried recreating this (I have already finished AEN), I get:

Starting Nmap 7.95 ( https://nmap.org ) at 2025-01-13 21:13 PST
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.12 seconds

So I add -Pn with --reason and -v, and I get filtered no-response ports using proxychains nmap -Pn -sT -p 21,22,80,8080 --reason -v <TARGET_IP>:

Starting Nmap 7.95 ( https://nmap.org ) at 2025-01-13 21:14 PST
Initiating Parallel DNS resolution of 1 host. at 21:14
Completed Parallel DNS resolution of 1 host. at 21:14, 0.03s elapsed
Initiating Connect Scan at 21:14
Scanning <TARGET_IP> [4 ports]
Completed Connect Scan at 21:14, 3.00s elapsed (4 total ports)
Nmap scan report for <TARGET_IP>
Host is up, received user-set.

PORT     STATE    SERVICE    REASON
21/tcp   filtered ftp        no-response
22/tcp   filtered ssh        no-response
80/tcp   filtered http       no-response
8080/tcp filtered http-proxy no-response

Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 3.09 seconds

I've found an identical issue here but building Nmap from source didn't seem to work. I tried to replicate on Pwnbox and it didn't work either. https://security.stackexchange.com/questions/277187/nmap-does-not-work-through-proxychains

Any ideas?

hasty mauve
mint peak
hasty mauve
fathom pendant
#

But nmap through certain types of proxies is a pain

mint peak
#

Just went back to look at the tunneling module, and it seems that they established an ICMP tunnel using ptunnel-ng prior to using SSH dynamic port forwarding, to then using proxychains nmap... I suppose that answers my original question. Appreciate y'all

fathom pendant
#

That's a lot of work

mint peak
#

Yeah, quite 😂

fathom pendant
#

Just boot and go for domain compromise, it's relatively easy if you took good notes throughout the course

hasty mauve
#

As it's a LOT of work

hexed oar
#

hey everyone, I'm still very early into the academy with intercepting web request, I was hoping someone could help explain to me why I needed %3b in front of the cat+flag ? I'm trying to find reading material online to explain it but can't find anything solifd

unique ether
#

I wanna ask for a hint but

acoustic owl
somber moss
somber moss
somber moss
unique ether
hexed oar
#

I'll try to do more reading into sql

wooden seal
waxen totem
#

just ask, this is a field where working with a team is important

hexed oar
fathom pendant
#
rustic gyro
#

hi, for cape have anyone had the netbios timeout issue from the cme spider_plus module?

hexed oar
potent yoke
#

anybody can help me with this? password attack - lab easy, i already know how to doing it, but the brute force take a long of time. so do anybody have a short answer about it?

safe star
#

i think thats about it tbh

#

i did that one last

fathom pendant
#

Brute force didn't take long for me iirc

tulip hearth
#

hello! having trouble in the ssh login for jane in login bruteforcing. i got the user and pass but it says permission denied (publickey)

fathom pendant
tulip hearth
#

ohh okay ill run an nmap scan

#

cuz the target is 94.237.63.176:31794

#

so i thought its also the ssh port hahaha

tulip hearth
fathom pendant
#

31794 is the ssh port

#

You'll need to specify that in your ssh command

tulip hearth
#

yess i did

fathom pendant
#

With ssh it's specified with -p

tulip hearth
#

yeahh it says connection closed on port 31974

fathom pendant
tulip hearth
#

i regenerated the target still connection closed T.T

fathom pendant
#

You're given ip:port

tulip hearth
#

yep

fathom pendant
#

Make sure you don't typo <-

#

31794 isn't 31974

tulip hearth
#

94.237.54.42:55358
this is from copy/paste

#

hmmm

fathom pendant
#

Also typically giving it a few minutes after it spawns can be helpful

tulip hearth
#

ohh alrightt ill try to give it some time hahaha

smoky arrow
#

Hi guys, module Introduction to Digital Forensics, section Skills Assessment...i answered all question except the number 3. Can someone help me?
Determine the registry key used for persistence and enter it as your answer.
I just need a hint I tried a lot of keys but no luck...

tulip hearth
fathom pendant
tulip hearth
potent yoke
shut ice
#

Can anyone help with windows lateral movement, SSH? Do you need to port scan all 65k ports via proxychains? Can't think how to find the SSH port for SRV02 other than this but it takes a long time. The question is to find the SSH port but it's through a pivot so scanning takes a long time. Tried PsPing on the pivot box to scan but it just crashes.

knotty heath
#

I'm doing "AD Enumeration & Attacks - Skills Assessment Part I" but the antak.aspx webshell is unresponsive. After typing a command and pressing "Encode and Execute", the page just times out each time. I've reverted already but this doesn't fix the issue either. Anyone an idea how to fix this?

hushed rivet
#

try a different shell ?

junior helm
#

Did you solve it?

knotty heath
# hushed rivet try a different shell ?

That shell is the provided foothold, so I don't think I'm supposed to look for a way to get an other shell. Should have specified that in my question 😅

hushed rivet
#

ah that makes sense then

dapper moth
#

What type of command are you passing? It's a web shell, it's supposed to be limited.
And you can indeed jump for a more interactive one

knotty heath
#

just a simple whoami fails

hushed rivet
#

are you running it right

#

i think with aspx you need to do like /c whoami

dapper moth
hushed rivet
#

ah ok

#

🤷‍♂️ dunno then

dapper moth
dapper moth
knotty heath
#

I'll revert again

hushed rivet
#

what if u do submit instead of encode and execute ?

dapper moth
#

Or submit

hushed rivet
#

ye

knotty heath
hushed rivet
#

try with pwnbox

#

see if u get the same issue

knotty heath
#

Will try, but just thinking about it, what would be different? Better connection or something?

hushed rivet
#

have no clue mate.

knotty heath
#

appreactiate you trying to help!

hushed rivet
#

your welcome

knotty heath
#

it worked 🙃

unique ether
#

I'm losing it

hushed rivet
#

sup ?

safe star
#

He’s losing it

hushed rivet
#

yea im like why

#

need help with something ? @unique ether

potent yoke
#

can anybody help me with password attacks lab medium?

#

i already get the jason creds and open the docs but can connect the mysql things

safe star
#

Have you tried ssh?

hushed rivet
#

if its localhost

#

u dont even need -h

#

also dont do --password but -p it prompts u to enter password. --password can show up in logs

#

ah i see what u do wrong

#

it is remote but u forgot to specify port

#

it doesnt work like that with mysql

#

with -P u can specify port if spoiler remove pls

potent yoke
potent yoke
safe star
potent yoke
jolly widget
#

my connection to machines are very slow, but If i am connecting with the pwnbox, it seems fine. tried many vpn files.. can any one suggest best on based on my location: India

potent yoke
#

i already do the connect but still can't

safe star
potent yoke
#

yapp it's connected from the ssh

#

thanks TLattice finally XD

shut ice
#

Can anyone help with windows lateral movement, SSH? Do you need to port scan all 65k ports via proxychains? Can't think how to find the SSH port for SRV02 other than this but it takes a long time. The question is to find the SSH port but it's through a pivot so scanning takes a long time. Tried PsPing on the pivot box to scan but it just crashes, not really sure what else to try. Made a PS script to check ports but it crashes the shell and only have access via SSH

#

😭

smoky stream
#

File upload attacks skills assessment - kinda stuck, got the needed source code and the file upload directory but no matter which combination of extensions with png and php other extensions (like phar, pht) and special chars, it still filters all of it 😐

shut ice
#

SSH isn't running here right?

hasty mauve
#

Yes

shut ice
#

Finally found it thanks, had to run a connect scan through lingolo

remote latch
rocky mist
#

hey can someone hint me,been stuck for 3 hours on this question from password attacks module, " Use the user's credentials we found in the previous section and find out the credentials for MySQL. Submit the credentials as the answer. (Format: <username>:<password>)"

rocky mist
remote latch
quiet heart
smoky stream
#

I was missing some bytes and broke the PNG file

dapper moth
jolly widget
#

Looking for some hints. Active Directory easy Assessment, anyone can help?

jolly widget
#

I have admin hash on Web01 and MS01 server, I also have 58 domain users, now I think i need some password, not sure what to do from here

dapper moth
#

Are you referring the Active Directory Enumeration and Attacks Module?
Cause there are a couple of Modules that have Active Directory in the name

jolly widget
dapper moth
#

Credential dumping

jolly widget
#

i tried dumping hashes through crackmapexec but on both the server, I got only Admin hash through sam dump, and NTDS or LSA dump is not working throught CME, do I need mimikatz?

dapper moth
#

You can do it both remotely with CME/Netexec or Impacket, or locally with Mimikatz

#

Your choice

jolly widget
#

ok, I am going to try this one more time, though I have tried it multiple times

dapper moth
#

You can DM if it didn't work

jolly widget
#

ok thanks 🙂 will try it once more

cobalt osprey
#

Hello guys, i am doing the Active Directory Enumeration e Attacks module and i am stucked in the last question of the ACL Enumeration section,i tried every command with PowerView and i can't even find the answere with bloodhound, can someone help me?

dusky sleet
#

Working through XSS module. For the Phishing section, I am having trouble getting the “document.getElementById(‘urlform’).remove();” inject to do what the module says it should. Our new login form populates, but it doesn’t remove the Image URL box, it simply writes the back-half of the code after / underneath our malicious login boxes and button.

gray yacht
dapper moth
#

Or Netexec ldap with the acl module

ancient niche
#

Good Afternoon People someone can help me with this?

shut ice
#

Do we have to compile SharpWSUS for the SA? Doesn't look to be on the WSUS box

fathom pendant
#

Yes

twin lion
twin lion
#

I asked a more specific question

#

You can’t not know that

#

I’m not trying to be rude

ancient niche
#

i don't have idea

twin lion
#

Are u traveling to localhost or academy url

ancient niche
#

the academy

fathom pendant
ancient niche
#

i habe the vpn open

#

have

twin lion
twin lion
ancient niche
#

is the virtual machine of the academy

twin lion
#

If theres a ip and a port that’s not 8889 visit that

ancient niche
#

but

#

the port not ist necessary

fathom pendant
ancient niche
twin lion
#

Sometimes in academy when a service is running it will be on a ip and port that might be different then the common one

fathom pendant
#

They are rdp into the target, [see ip in freerdp] and they need to access a tool

ancient niche
#

i'm sure that's it

fathom pendant
twin lion
#

Ah shit man I keep thinking he is on pwnbox or some crap. My fault bro I’m in class

#

Maybe just try restarting the lab and waiting 5 minutes if you haven’t already

fathom pendant
#

And you don't rdp into it

ancient niche
#

mmm

#

The thing is that i can't log in to velociraptor

dapper moth
fathom pendant
#

Did you give it a few minutes before attempting to sign in?

dapper moth
#

Like every SA

ancient niche
fathom pendant
ancient niche
#

oh really? xD

#

oh my good xD

fathom pendant
ancient niche
#

mmm

#

then shut down the machine and I turn it back on and wait

fathom pendant
#

¯_(ツ)_/¯

#

Also doesn't look like you need to rdp necessarily to do this

#

Should be able to [from your own browser] go to https://<target ip>:8889

ancient niche
#

mmm

#

neither since the browser

shell ore
#

yo am i the only one facing connection issues in the EU region in academy? 🥲

ancient niche
#

i don't know because i have this problem

shell ore
#

i cant connect sadly

shut ice
#

I used the Invoke-SharpWSUS instead but trying to get onto the DC now with the VNC password

rain snow
#

Hi

#

I'm new here. Unable to figure out where to ask lab query!! And unable to text in other channels :).

#

Need a little help here

storm elk
#

If it’s academy you’re in the right place. If not read and follow #welcome

#

Then you’ll get access to more channels

dapper moth
#

Also... Scan the ports on the hosts as to know where the VNC server is running

ancient niche
#

I'm already in thaks @fathom pendant

shut ice
#

I'm pretty sure I'm trying the right thing can I DM you details? @dapper moth

dapper moth
#

Sure

manic bramble
#

Hi there, I'm getting an error running getuserspns through proxychains : KRB_AP_ERR_SKEW(Clock skew too great). Any thoughts? I tried sudo rdate -n <ip> and it gave me an error

shut vapor
manic bramble
#

thank you

dapper moth
#

sudo ntpdate [IP Address]

manic bramble
dapper moth
#

I don't think it will work this way. Best to save a snapshot and then revert your machine back to their normal status

clever topaz
#

When there’s a need of brute forcing username/password, which password file is more ideal? I dont prefer rockyou

clever topaz
fading olive
clever topaz
fading olive
fathom pendant
unreal stream
#

and if not, there might be a way to narrow down wordlists like rockyou

#

ive just completed broken auth and that was one of the things you had to do

#

very interesting module and really opened my eyes to more broken auth methods

dense garden
#

can i dm someone about the MSSQL, Exchange, and SCCM Attacks Skills Assessment ?

ripe wadi
#

on the attacking common services i found the traversal vuln but i need to authenticate and the basic_auth_bypass from the last section did nit work

#

should i try with rockyou or bruteforcing is not the way

bright shore
#

wondering if someone could help me with cracking linux passwords lesson: I found the hashse on the target serve I've tried running hashcat using the rockyou.txt file, the password.list file (in the ressources), and finally the mut_pass.list using the custom.rule(Ressource file). It says I cracked the password but I still don't have the answer

unique ether
bright shore
#

I can't add a screenshot here can I msg you directly?

fathom pendant
bright shore
#

oh nvm lol okay there's a different answer in my output file as oppose to the hashcat console nvm

novel parrot
#

Am stuck in a privesec section where I cant edit cron jobs for code execution to root. The box also has no internet connection so downloading scripts dont work , copying and pasting long scripts also break ssh session. Please help

signal pike
#

Hi, I'm doing the command injections module and there is a part where we learn we can reverse a command to bypass some filters, but I don't understand a tip that the content has (Delete this if this is a spoiler) :

"Tip: If you wanted to bypass a character filter with the above method, you'd have to reverse them as well, or include them when reversing the original command."

winter schooner
distant island
#

also u can download files with scp if u cannt use wget or curl

distant island
#

this is a method to bypass the black list filter

signal pike
#

Ohh thank you! English is not my mother language and I lacked some logic

novel parrot
safe star
distant island
#

u can do any of these 2 techniques

iron wedge
#

guys, i can't get to the "Paths" and "Modules" sections on the main screen in the learning section. the link to them does not exist =/

#

is it due to technical works?

#

In the lower left corner where there should be a link to it is written: javascript: void(0);

distant island
#

dont just press on paths it will just open a list not redict u

iron wedge
#

thanks

whole vale
#

yo i am having some issues with next steps on server side attacks, i am on identifing srff and i have no idea what to do next, i tried doing some scan stuff, and some sql stuff but i am assumig we want to send commands to the server so we can ls and cat a text but idk how to get those privlages

whole vale
#

sorry its not specifc but i dont really know what way i should be pointed at

somber moss
#

Have you been able to get the query looked into?

rustic sage
#

Who is available now i need help with documentation module

rustic sage
#

Connect to the testing VM using Xfreerdp and practice testing, documentation, and reporting against the target lab. Once the target spawns, browse to the WriteHat instance on port 443 and authenticate with the provided admin credentials. Play around with the tool and practice adding findings to the database to get a feel for the reporting tools available to us. Remember that all data will be lost once the target resets, so save any practice findings locally! Next, complete the in-progress penetration test. Once you achieve Domain Admin level access, submit the contents of the flag.txt file on the Administrator Desktop on the DC01 host i connect with the dc but there is no flag

somber moss
rustic sage
#

10 MIN

somber moss
unique verge
#

I would like to link my wallet please

safe star
#

the bots are back

unique verge
#

Yes mate

rustic sage
#

i am trying to find the flag

unique verge
#

Okay

#

You can get all that from the servers menu

distant island
rustic sage
#

i tried all users

#

is not administrator ?

#

because it is empty

distant island
#

And can visit the desktop of the administrator ?

rustic sage
#

yes i check whoami

rustic sage
distant island
#

Type c:\users\administrator\desktop\flag.txt

#

And show me the output

distant island
whole vale
#

so skip for rn

#

weird this happens every once in a while where it puts info later on

weak epoch
lament ridge
#

can u provide a screenshot of the error u are viewing

fossil jacinth
#

Maybe not enough permissions to save in current folder ?

weak epoch
#

Having an issue pasting the screenshot.

lament ridge
#

if you cannot save it in the current folder

#

try going to /tmp

#

and running the curl/wget there

tulip hearth
weak epoch
tulip hearth
#

if i remember correctly, i used a bash script for sudo priv escalation from gtfobins

fossil jacinth
#

I believe he is trying to enumerate with linenum

weak epoch
#

Trying to use linenum

onyx crystal
#

Can anyone help me in getting back to Windows? I am an Arch user but 40 GB of system storage in it isn't enough sadglas

weak epoch
lament ridge
#

np!

tulip hearth
weak epoch
#

Yeah, the output is still ongoing.

uneven niche
#

Would someone mind explaining the Character Shifting section to me in /module/109/section/1037 to me? Idk wtf I'm looking at

It's in the Bypassing Other Blacklisted Characters section in the Command Injections module

safe star
weak epoch
safe star
#

gtfobins

#

the privilege escalation section goes over it

weak epoch
#

Ok. Appreciate it.

weak epoch
# safe star gtfobins

Yeah, that was actually pretty easy. Just searched for PHP and got my answer. Appreciate the help.

tulip hearth
somber moss
#

@tulip hearth

naive cedar
#

can I ask what the ssh password is in this question? - Introduction to Windows Command Line Module Assessment

fickle thicket
#

Anyone knows if completing the 3 htb wifi module is enough for me to take on the offse oswp?

icy cove
safe star
strange horizon
#

Hi Hacker, I'm learning through the windows priv esc module. I'm at priv esc via DNS Admin section.

#

Is it okay to ask a query here ?

storm elk
strange horizon
#

Yes, thank you. So here's what i did . I made a dll with msfvenom with cmd = 'net group "domain admins" netadm /add /domain' . Transfered to victim windows machine.Loaded the dll with dnscmd.exe . Stop dns server and restarted it. I was hoping to be added to the domain admins group. But i was not added.

strange horizon
storm elk
#

Don’t dm members without permission

waxen totem
#

what le fock is going on here laugh_cry

worn sonnet
quiet heart
#

Hello, what should I do about this error:


[!] Error: rpc error: code = Unknown desc = exit status 1 - Please make sure Metasploit framework >= v6.2 is installed and msfvenom/msfconsole are in your PATH```

```msfconsole -v
Framework Version: 6.3.44-dev```

**Module**: **Intro to C2 Operations with Sliver - Probing the Surface**
safe star
#

That worked for me

quiet heart
safe star
tulip hearth
#

helloo i need help in the mysql connection. im connecting properly but it says TLS SSL error

safe star
quiet heart
safe star
#

oops wrong dude

#

@tulip hearth

tulip hearth
#

thanks! does that command mean i skipped the ssl as in my device didnt require ssl from the db

safe star
#

yes

next stone
#

Applications of AI in InfoSec module Network Anomaly Detection section
The URL is broken, it's a 404

#

@mortal basin

storm elk
pastel lotus
#

Uhh

real delta
pastel lotus
#

I HAVE TRIED EVRERTYHING

#

I CANT EVEN REACH THIS PING WHYYY IS IT ASKING ME SOMETHING I CANT REACH

autumn pilot
#

please reduce the use of the capslock

real delta
waxen totem
#

I think ya better turn off caps lock

storm elk
#

Have you, connected to the vpn @pastel lotus ?

autumn pilot
#

look at the output in the section instead of pinging the IP address

storm elk
#

Ah yes, no "spawn target" option here. No need to ping anything

pastel lotus
#

So no linux terminal needed? Im just not reading something?

real delta
storm elk
#

Just need to read the question again and then do what it says: Check the last result and from that you can identify the OS

pastel lotus
#

Bro I was right it was windows, the answers are cap sensitive?

storm elk
#

yes

pastel lotus
#

.... So I was stressing for no reason, no way

storm elk
#

Yes. Tip for academy, if you think your answer is 100% right, check a few things:

  • Make sure there are no spaces in front/back of your answer
  • A lot of questions will tell you in what format they want the answer
  • Names usually are written with a capital letter
empty trout
#

why we cannot get the correct key with rubeus

#

it is base64 encoded aes256 . i tried to decode and encode it in hex and still it is not working

#

the key is different from mimikatz sekurlsa::ekeys

#

we need aes256 or nc4 key to do pass the key or overpass the hash

#

module : password attacks section pass the ticket from windows

#

if i dont do encoding and decoding it will give an error

empty trout
#

???

earnest pasture
# empty trout

You must query all TGTs in the system, then copy john base64 ticket from Rubeus output and then do a ptt

mortal locust
# empty trout

Rubeus.exe asktgt /domain:inlanefreight.htb /user:john /aes256:<aes_key>

For this you need AES Key which you can get using mimikatz

c:\tools> mimikatz.exe
mimikatz # privilege::debug
mimikatz # sekurlsa::ekeys

potent yoke
#

anybody can help me with the password attack lab -hard?

#

i already find the creds for johanna and already can do the rdp and winrm

#

there is a file called logins.kdbx and i dont know what to do with the file

worn sonnet
#

in evil-winrm ist super easy to download or upload files just type

download filename.kdbx

potent yoke
#

because im stuck on the transferring the tools, i already use the impacket to transfer the logins.kdbx into my machine but it can't. and when i use http also didn't work

worn sonnet
#

and then use the kpcli from ur kali

potent yoke
#

did i need to be the admin first or crack the admin pass?

acoustic owl
worn sonnet
# empty trout

u can also the easy way
mimikatz.exe
privilege::debug
sekurlsa::tickets /export
which will download all the tickest for u

#

then u will do with mimikatz also
kerberos::ptt TICKET.kirbi

#

and u will be able to dir \DC01.inlanefreight.htb\john

#

with no problems

#

what module u doing

potent yoke
#

password attack lab - hard

empty trout
empty trout
earnest pasture
naive cedar
potent yoke
#

but how can i download the logins.kdbx into my machine?

worn sonnet
potent yoke
#

how T_T

naive cedar
#

is there any necessary knowledge for RTO or smaller AD Pentest?

potent yoke
#

it's says to me that is a permission denied

earnest pasture
worn sonnet
naive cedar
brazen saffron
#

I'm redoing "Information Gathering - Web Edition" and I just saw something strange, we have to find the MX records for facebook and the answer is for the old domain (before update of the module), is it normal?

naive cedar
#

fingerguns .

worn sonnet
potent yoke
#

what directory did i need to be in?

naive cedar
worn sonnet
worn sonnet
#

it literlly worked with me look at my screenshot just reset the machine

naive cedar
worn sonnet
earnest pasture
naive cedar
potent yoke
#

already got the files

acoustic owl
potent yoke
#

thanks guys

#

new knowledge for me to transfer a file

naive cedar
worn sonnet
naive cedar
#

i think the ability to do it yourself first and use tools later will help me go further?

worn sonnet
#

literally cannt

safe star
#

the course is literally based around c2 operations 😂

naive cedar
#

sadglas .

worn sonnet
naive cedar
#

no, what I mean is that using the tool is too easy, but if it's easy, you won't understand it deeply

safe star
#

just learn how the tool actually works and look at the source code then

worn sonnet
naive cedar
worn sonnet
#

no one on the planet do AD pentest without these tools

naive cedar
safe star
#

AD with no powerview or bloodhound prayge

naive cedar
#

oky, i see