#modules

1 messages · Page 145 of 1

sly dome
#

the dc01 is a machine in the internal network

#

172.16.1.10

#

you have to pivot in the ms01 and then you can do an attack using impacket from your linux

#

but as you can see you do not get (Pwn3d!)

#

you cant execute commands

#

also the mimikatz one is intended to give you a shell as ms01/administrator but with privileges on dc01 shares

#

w8 you wrote "Invoke-SMBexec" and i read "impacket-smbexec" which also exists HAHAHAHA

#

but if you get access denied is for the same reason as you are not getting Pwn3d! on cme

#

the one that get access is Julio (he has write privileges on shared resources)

#

2 last questions

#

see the difference ? @oblique spoke

plain coral
#

Are you running cmd as an administrator before you navigate to C:\tools mimikatz.exe? Are you running mimikatz with privilege::debug mode

sly dome
#

david does not have write permissions on Admin$

rough sluice
#

Does anyone else have/had the problem with host seems down when using nmap? Because every single time I get that error and my vpn is setup correctly

rough sluice
#

-Pn will say the host is online but blocking all ports

sly dome
#

probably a windows machine in the other side (icmp disabled by default)

sly dome
#

if you know its up and you have connection with it, use -Pn

plain coral
sly dome
#

but david cant execute commands on DC01 remotely

#

he can just read shares

#

(pwn3d tag on crackmapexec)

plain coral
#

Yeah you can pass his hash with mimikats and run cmd.exe as an admin and you get sys32 privs to read his txt file

sly dome
#

??

#

did you notice his txt is on 172.16.1.10?

#

the cmd.exe you ran with mimikatz is NOT on 172.16.1.10

plain coral
#

C:\tools> mimikatz.exe privilege::debug "sekurlsa::pth /user:david /rc4:xxxxxxxxxxxxxxx /domain:inlanefreight.htb /run:cmd.exe" exit

sly dome
#

yes

#

that run a new cmd but in the context of MS01 administrator

#

the one you RDP with

plain coral
#

Then C:\Windows\system32>type \DC01\d*****

sly dome
#

yes

#

you cant still execute commands on DC01

#

if you do 'whoami' from that new cmd.exe

#

you will get ms01/administrator

plain coral
#

How did I get the flag then?

sly dome
#

because its a new process with access to the network share

#

on 172.16.1.10 (DC01)

plain coral
#

Yeah exactly 👍

sly dome
#

if david was admin on dc01 (julio is)

#

you could execute commands on dc01 with invoke-thehash or psexec.py

#

among other tools

plain coral
#

The question asks to read the file on DC01 with the flag in it not execute commands on the DC though

sly dome
#

that is what i told him

#

because he tried 'Invoke-SMBexec' with david

#

and he asked why does it work with julio but doesnt with david

#

tried to explain it

plain coral
#

Yeah not going to work, but you replied to me saying mimikatz is not going to give you a shell. Which I know that, but if you run mimikatz in a context which Requires administrator access (with debug rights) or Local SYSTEM rights and pass his hash then open cmd which will be running as an administrator you can read his file

sly dome
#

actually is different from "mimikatz cant give you a shell"

brave bear
#

Thnks!

plain coral
#

You were on the right track - With the administrative CMD you get from mimikatz see if you can read files from \\DC01\David

candid lily
#

trying docker privilege escalation but why the container is not created

plain coral
light citrus
#

hi

fiery berry
slate creek
#

found the flag, thanks.

flat niche
#

Hi I'm doing the module "Password Attacks" - "Credential Hunting in Windows". I've used the tool lazagne.exe to extract credentials and got the WinSCP username and password. But the credential got by lazagne.exe is not accepted. Could anyone share some hints on this question?

#

Oh I got it

#

Just try different combinations👀

orchid pine
#

on sql map essenatail Attack Tuning i have the flag but its not working

#

can somone who did this helps me

rustic sage
#

what is the url on the javascript deobfuscation htb course? it just stays "http://SERVER_IP:PORT" and that's not a valid url NotLikeThis

sly dome
#

the one of the exercise

#

above the question

#

target one

sly dome
#

run it again

#

also check the hint

sudden blaze
#

Having troubles with proxychains and evil-winrm --> cant find server! ```roxychains evil-winrm -i 172.16.1.10 -r INLANEFREIGHT.HTB
ProxyChains-3.1 (http://proxychains.sf.net)

Evil-WinRM shell v3.5

Warning: Remote path completions is disabled due to ruby limitation: quoting_detection_proc() function is unimplemented on this machine

Data: For more information, check Evil-WinRM GitHub: https://github.com/Hackplayers/evil-winrm#Remote-path-completion

Info: Establishing connection to remote endpoint
|S-chain|-<>-127.0.0.1:1080-<><>-172.16.1.10:88-<><>-OK
|S-chain|-<>-127.0.0.1:1080-<><>-172.16.1.10:88-<><>-OK

Error: An error of type GSSAPI::GssApiError happened, message is gss_init_sec_context did not return GSS_S_COMPLETE: Unspecified GSS failure. Minor code may provide more information
Server not found in Kerberos database

Error: Exiting with code 1

#

any solutions?

rustic sage
# sly dome target one

oh wow that thing was not loading for some reason, thanks bro had to refresh my chrome for a bit

sudden blaze
#

According to gpt there should be an spn entry for win-rm, but there isnt - could this cause the error? ```C:\Windows\system32>setspn -L dc01
Registered ServicePrincipalNames for CN=DC01,OU=Domain Controllers,DC=inlanefreight,DC=htb:
TERMSRV/DC01
TERMSRV/DC01.inlanefreight.htb
Dfsr-12F9A27C-BF97-4787-9364-D31B6C55EB04/DC01.inlanefreight.htb
ldap/DC01.inlanefreight.htb/ForestDnsZones.inlanefreight.htb
ldap/DC01.inlanefreight.htb/DomainDnsZones.inlanefreight.htb
DNS/DC01.inlanefreight.htb
GC/DC01.inlanefreight.htb/inlanefreight.htb
RestrictedKrbHost/DC01.inlanefreight.htb
RestrictedKrbHost/DC01
RPC/adad1f50-8aaf-4555-a268-71d8c86b6a26._msdcs.inlanefreight.htb
HOST/DC01/INLANEFREIGHT
HOST/DC01.inlanefreight.htb/INLANEFREIGHT
HOST/DC01
HOST/DC01.inlanefreight.htb
HOST/DC01.inlanefreight.htb/inlanefreight.htb
E3514235-4B06-11D1-AB04-00C04FC2DCD2/adad1f50-8aaf-4555-a268-71d8c86b6a26/inlanefreight.htb
ldap/DC01/INLANEFREIGHT
ldap/adad1f50-8aaf-4555-a268-71d8c86b6a26._msdcs.inlanefreight.htb
ldap/DC01.inlanefreight.htb/INLANEFREIGHT
ldap/DC01
ldap/DC01.inlanefreight.htb
ldap/DC01.inlanefreight.htb/inlanefreight.htb

#

When referring to WinRM, the typical SPNs that might be registered are WSMAN/hostname or HTTP/hostname. This depends on how WinRM is set up:

WSMAN/hostname: This is the general SPN that would be registered for the WinRM service if it's set up to use Kerberos for authentication.

#

im confused

#

Can anyone help me? would really appreciate it

orchid pine
sly dome
#

happens on time bases

#

based

sudden blaze
#

Or is this the wrong channel for my quesitons? Maybe i have to contact the support?

naive wadi
#

Do other services work over proxychains?

#

Need to eliminate where in the process something has stopped working

sudden blaze
#

config file: ```# proxychains.conf VER 3.1

HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.

The option below identifies how the ProxyList is treated.

only one option should be uncommented at time,

otherwise the last appearing option will be accepted

#dynamic_chain

Dynamic - Each connection will be done via chained proxies

all proxies chained in the order as they appear in the list

at least one proxy must be online to play in chain

(dead proxies are skipped)

otherwise EINTR is returned to the app

strict_chain

Strict - Each connection will be done via chained proxies

all proxies chained in the order as they appear in the list

all proxies must be online to play in chain

otherwise EINTR is returned to the app

#random_chain

Random - Each connection will be done via random proxy

(or proxy chain, see chain_len) from the list.

this option is good to test your IDS :)

Make sense only if random_chain

#chain_len = 2

Quiet mode (no output from library)

#quiet_mode

Proxy DNS requests - no leak for DNS data

#proxy_dns

Some timeouts in milliseconds

tcp_read_time_out 15000
tcp_connect_time_out 8000

ProxyList format

type host port [user pass]

(values separated by 'tab' or 'blank')

Examples:

socks5 192.168.67.78 1080 lamer secret

http 192.168.89.3 8080 justu hidden

socks4 192.168.1.49 1080

http 192.168.39.93 8080

proxy types: http, socks4, socks5

( auth types supported: "basic"-http "user/pass"-socks )

[ProxyList]

add proxy here ...

meanwile

defaults set to "tor"

#socks4 127.0.0.1 9050
socks5 127.0.0.1 1080

#

Guess this should be ok?

naive wadi
#

Okay and what are you using to create your tunnel from your pivot host?

sudden blaze
#

chisel also running

naive wadi
#

Okay and is that showing as connected?

sudden blaze
#

yes

naive wadi
#

do any other services work over tour tunnel?

sudden blaze
#
2023/10/24 16:37:56 client: Connecting to ws://10.10.16.26:9999
2023/10/24 16:37:58 client: Connected (Latency 105.384018ms)
``` on linux01
#

nmap is working

#

but when running proxychains with evil-winrm: it says: Server not found in Kerberos database

sly dome
#

ippsec has a video explaining that

naive wadi
#

I dont have my notes in front of me so can't check this section. But I would recheck all commands

#

Wait does winrm not work over proxychains?

naive wadi
sly dome
#

i dont know the exact machine

#

i have a vague memory of the error description

sudden blaze
#

still the Module:Password Attacks Section:Pass the ticket from linux optional exercise

#

@sly dome you mean this video: ```PivotAPI Setting proxychains up to utilize MSSQL Proxy and using Evil-WinRM to get a shell on the box, then downloading and cracking a Keypass Database````

sly dome
#

nop

rustic sage
#

any javascript deobfuscation module recommendations to learn it? i just finished the tier I one

sudden blaze
#

@sly dome you know which video?

sly dome
#

im looking

#

it was something related with the order of the domains in the etc hosts

sly dome
# sudden blaze <@336670667254792194> you know which video?

00:00 - Intro
01:00 - Start of nmap discovering Active Directory (AD)
04:15 - Using wget to mirror the website, then a find command with exec to run exiftool and extract all user names in metadata
06:45 - Using Username Anarchy to build a wordlist of users from our dump and then Kerbrute to enumerate valid ones
13:55 - Building Kerbrute from sou...

▶ Play video
#

34:45

#

same error

wary tendon
#

So I spent last night trying to get into dc01 Linux01$ from root user on the last question in password attacks pass the ticket. This question keeps screwing me up. Does anyone please have any pointers to what I should do

#

I’m in root@linux01

#

Need to get to dc01/linux01$

sly dome
#

you have 2 ways of doing that

#

using machine keytab or ccache file

#

if you run klist you will see a keytab with linux01$ credentials

#

then just kinit 'LINUX01$@INLANEFREIGHT.HTB' <keytab path here>

#

notice the single quotes to get rid of the $ symbol disagreement with bash

#

the other way is using the ccache file as usual

wary tendon
#

So your saying remove the $ symbol

hallow kiln
#

No...

wary tendon
#

Or put linux01$@ in quotes

hallow kiln
#

If it's not in single quotes, the command will break because of $

sly dome
#

yes

#

also double quotes wont work

#

they are intended to expand variables

wary tendon
#

Ok got it thank you so much I’ll try it when I get home

sly dome
#

(bash variables are declared with $)

#

exclusively single quotes

floral oracle
#

hi guys

#

who help me

#

for hash

tidal kelp
#

Currently on Enumerating & Retrieving Password Policies tryign to get the flags . Are you suppose to be able to get them remotely, have tried both CME and rpcclient. Get nothing back. Any hints?

floral oracle
#

yeah

tulip coral
#

Good Day can anyone able to give me a nudge on Linux Privilege Escalation - Logrotate? im not getting the shell to connect i was able to change the date/time in logrotate.status

naive wadi
fathom pendant
#

@robust coral there's a #prolabs-zephyr channel, you'll need to follow instructions in #welcome I did not give permission to dm me at all.

sudden blaze
#

@sly dome thx for the video link! Nevertheless the error keeps the same: Server not found in Kerberos database 😦

fathom pendant
#

Are you still trying the optional exercise?

sudden blaze
#

yes

#

for days now

fathom pendant
#

Just move on

#

Save your headache for after you complete the path

#

Or the module

sly dome
#

im gonna try it xd

sudden blaze
#

thx man

#

just tried it with the pwnbox but same error

sly dome
#

i think its not well configured on their end

fathom pendant
#

Like. The fact you're spending days on something optional instead of moving on shows that you'll probably fall into rabbit holes on the exam

sly dome
#

xDD?

sudden blaze
#

but they cant explain an example which doesnt work - also guessing it has to do with the setup

sly dome
#

gimme 20 minutes

sterile raft
#

[ SERVER-SIDE ATTACKS] - [Blind SSRF Exploitation Example ] - [ The target is vulnerable to blind SSRF...]
{Question} -> Why the reverse shell payload must be encoded twice ? instead one time only?

Thank you! pika

sly dome
sterile raft
sly dome
#

it depends, if the 3 web servers are doing url decode yes

#

its something specific to each scenario

#

not a rule

sudden blaze
#

@sly dome have you tried it or still trying?

sly dome
#

i am with the krb5 config

sudden blaze
#

@sly dome thx for the update

fresh compass
#

Hi, Im stuck in the Attacking Thick Client Applications section, Attacking Common Applications module. In the debugger I cannot see the MZ bytes

sly dome
fresh compass
#

And I have been trying a lot, but no Map record with rw privileges is showing up

sudden blaze
#

@sly dome Error: An error of type GSSAPI::GssApiError happened, message is gss_init_sec_context did not return GSS_S_COMPLETE: Unspecified GSS failure. Minor code may provide more information Server not found in Kerberos database

#

@sly dome in proxychains.conf --> dont forget to comment out #dns proxy -- just in case

sly dome
#

i dont use proxychains

#

but i get another error

#

Cannot find KDC for realm "INLANEFREIGHT.HTB"

sudden blaze
#

@sly dome oh my

sly dome
#

wmi-exec works tho

sudden blaze
#

thx for you effort - guess skipping that one with evil-winrm is a good option - have wasted enought time now - thx

sudden blaze
#

what did you change?

sly dome
#

nothing actually lol

upper ruin
#

Yo, wsg y'all. I am on the module calledInfo gathering - Web edition. On the Virtual Hosts part. I found the second flag via ffuf and vhost wordlist. Anyone got an idea on how to find the rest of the vhosts?

sudden blaze
#

On MS01:C:\Windows\system32>setspn -L dc01 - shouldnt there be an spn for wsman/.... or something to get winrm work?

#

according to gpt

fresh compass
strong belfry
#

So, in the password attacks module, there is a chapter on Passwd, shadow, opasswd. The last question asks us to get the password for root using Will's credentials. I assume those come from the passwd.bak and shadow.bak files in the .backup folder Will has or was this all a trick and I spent an hour on hashcat to get nothing from the hashes in shadow?

sly dome
#

yes u crack that

strong belfry
#

With rockyou? because that didn't give me anything

sly dome
#

probably with the mutated list

strong belfry
#

Ah, yeah

#

Makes sense

sly dome
#

xD

strong belfry
#

I was too scared to cancel the rockyou one so I let it run while working lmao

sly dome
sudden blaze
#

@sly dome my i shall contact the support? as you mentioned earlier

sly dome
#

i dont think so

sudden blaze
#

so just let it be...

sly dome
#

later im gonna check in wireshark

#

cant see a single KRB5 packet

#

this is very weird l0l

sudden blaze
#

yeah me too - almost only tcp

sly dome
#

we might contact any pro

#

xD

sudden blaze
#

@sly dome yeah maybe - where are the pros - xD

sly dome
#

Julio Ureña is the module author

#

he probably can help

undone narwhal
sudden blaze
#

yeah

undone narwhal
#

1st question or 2nd one?

sudden blaze
#

1st

undone narwhal
#

use the pwn box, everything will work

sudden blaze
#

i tried with pwnbox - same error

undone narwhal
#

you free now?

sudden blaze
#

yeah

undone narwhal
#

spin the box and check your dm

sudden blaze
#

dm? dont understand?

undone narwhal
#

I sent a Direct message

sly dome
undone narwhal
#

it did, i tried it for him like couple of days ago

sly dome
#

what is the difference

undone narwhal
#

just some dns issues that i dont know how to fix on my VM thats it

sly dome
#

exactly

#

but what DNS config has the pwnbox apart from the hosts file

#

imagine were in an exam lab and this happens

#

should be cool knowing how to fix this

undone narwhal
#

Yeah, I mean I had the same doubt, I even pointed my dns to dc but it didnt work

outer thorn
#

/etc/resolv.conf

undone narwhal
outer thorn
#

ufw enabled?!

undone narwhal
#

no

outer thorn
#

I always use my own VM for this stuff, I would highly recommend it. Stay away from the pwnbox lol

sly dome
#

@sudden blaze

#

this is what i got debugging it

thorn urchin
#

its always dns with kerberos

sly dome
#

i know

#

problem is how to fix o.O

thorn urchin
#

idr if just adding those entries fixes it or if you have to use the dnschef method

sly dome
#

adding them does not fix

thorn urchin
#

meant for bloodhound but the core issue should be the same

sly dome
#

i mean if this is an error in the modules, it should be explained ... my opinion

thorn urchin
#

iirc not an error in the modules, its extra credit for a reason

fathom pendant
#

^

#

It's going beyond what's explained or expected

sly dome
#

in the section it is explained and its not working

#

wdym?

fathom pendant
#

It's not fully explained It's just saying it's possible

sly dome
#

indeed it is explained lol

#

no

#

its fully explained

#

from etc hosts to winrm connection

fathom pendant
#

Either way It's extra credit aka extra headache

sly dome
#

can happen in exam lab

#

or real life engagement

steep loom
#

Were you able to figure this out? working on it myself now

shut wraith
#

Hello

#

Web Attacks Module. Anyone free for a DM

sly dome
#

sure

umbral fulcrum
#

Hey I'm stuck at "Skills Assessment - File Inclusion" for to long,
I've tried all what the module has offered in the File Disclosure on ||/index.php?page=|| with ||/etc/php|| but I can't get anything ...
thanx in advance

sly dome
#

cant tell you more

orchid pine
#

hello guys to find the attack vector on sql map essentail i tried almost everythiing

sly dome
#

almost

orchid pine
orchid pine
umbral fulcrum
sly dome
sly dome
orchid pine
sly dome
#

wat

orchid pine
orchid pine
sly dome
sly dome
#

@undone narwhal it does not work on pwnbox either xd

haughty gyro
#

Afternoon, folks,

I seem to be stuck in the NMAP service enumeration module and seeing if I can get some help point me in the right direction? I ended up with two flags and tried to submit both and neither have worked. I followed through the process of running the banner grab, started tcpdump and then netcat to get the flag with a 200 code. Is this a normal output respopnse? I also plugged the IP in the web browser as well and ended up with a seperate flag.

haughty gyro
#

NETWORK ENUMERATION WITH NMAP: Service enumeration

sly dome
#

hint: 🤖🤖

haughty gyro
#

To the module? Its in the PenTest path in the Academy

sly dome
#

i gave you a nudge

#

to solve it

#

hint = nudge

haughty gyro
#

hmmm as in robots.txt

sly dome
haughty gyro
#

Awesome @sly dome I'll check it out. Thank you!

tight mesa
#

anyone who can share a hint, 'cause know I'm missing something; How can I use mssqlclient.py to grab the last flag?, this is regarding Privileged Access section from Active Directory Enumeration & Attacks

The module said we can use mssqlclient.py from our local machine, but the MSSQL server is into 172.16.5.0/24 network

umbral fulcrum
# sly dome hint: base64

found the flag but the 'cat' command doesn't work ...

ok I C it now, what I don't get is Y the whole log format changed...

vale badger
umbral fulcrum
real pumice
#

ls

limber river
#

idk why I can't get rev shell

acoustic sparrow
#

hey guys currently at attacking common services easy lab. Found a user with smtp-enum but im stuck tried to brute froce my way into each service but no luck need a nugget pls

acoustic sparrow
limber river
acoustic sparrow
#

ahh i see

iron hazel
#

Hi I am on AD Assessment 2, Q8 getting Admin on MS01. I have gotten hint to use admin NTLM hash from SQL01 to reuse. I believe it is wrong. The hash for the local admin on SQL01 is 136b3ddf<SNIP>248f364 as I can evil-winrm to SQL01 directly with this with a new lab. And It doesn't work on MS01. Can someone give me some other hint how to get to MS01 Admin? I have tried PrintNightmare and the account AB920 dooesn't have engouh privilege

vital adder
vital adder
vital adder
acoustic sparrow
#

found the password with another wordlist and had to slow down the brute force

fathom pendant
acoustic sparrow
fathom pendant
#

Lol timing

acoustic sparrow
#

🙂

#

now lets see where this creds will lead me

fathom pendant
#

The next step

acoustic sparrow
#

but never had to use other lists than the given one thats why i was brute forcing all with no luck

acoustic sparrow
fathom pendant
vital adder
honest ridge
#

Attacking enterprise networks module section:Web Enumeration & Exploitation on the last question its bypassing blacklisted characters and that sorta thing. and ive managed to see the flag but i cant read it i assume due to characters like _ . I've tried encoding and everything and just cant get it. any hints?

vital adder
#

that's the right path (hence pls remove due to spoiler) but you should get a set of cred not hashs, maybe try cme

vital adder
honest ridge
#

@vital adder have been trying a quick skim over it but not fully reading kinda thing. altho i have been reading this last 1 . and i think i skimmed over an import bit lol 1min

#

ok yeah im still stuck lol. i just seen the blacklisted ping.php

#

but have already been trying to bypass them which i have up to this point to see the flag file i need. i just cant cat the file

vital adder
#

there is an example that they show you how to encode the cat command and read the ping.php file you can just change the file to your flag

honest ridge
#

ok ill look again thanks

#

omg im an idiot. thanks @vital adder

#

haha what an over sight that was

undone narwhal
tulip coral
#

Goodnight can someone give me a nudge in Linux Priv -Logrotate im not sure what im missing the shell is not executing

undone narwhal
# tulip coral Goodnight can someone give me a nudge in Linux Priv -Logrotate im not sure what...
rustic sage
elder sapphire
#

I couldn't find the ldapadmin password in Skill assessment 1 in the module Windows Privilege Escalation. Perhaps I have tried almost every string or file that I can think of; it appears there is a some flaw in my methodology.
I would be grateful If somebody could please push me in right direction!

sterile epoch
#

Hi I am in the Payloads and shells module's engagement section for host 2 there is a metasploit vuln I think it should work but should I use it or exploit it manually?

glossy wedge
wooden summit
#

hey ppl, greets!
I ;m on the getting started knowledge check module.
This is my third run over the module assessment but smth weird happens:

After having done web enum, I go for the cms RCM exploit via msf,
I set my options, check the exploit and so far so good... then I run it and it s different from the other times. So, what i mean by that:

1 -> on my first tries, going in I had a poor shell, then upgraded tpy
-------> This time though I m already landing in an elevated shell when running the exploit.

2-> I can't run basic commands I used to be able to when doing the first runs. I ;m reffering to commands such as:
a. whoami (not found)
b. echo (not found)
c. sudo (not found)

Can anyone please reproduce this is it the same? Am I doing smth wrong maybe?

tranquil axle
#

You can type “shell” in meterpreter to drop into a normal shell

wooden summit
#

f* me... gee totally forgot.. thnx! @tranquil axle

tidal kelp
#

on kerbrute when you use flag "-o valid_usernames.txt"

#

aren't you suppose to be able to cat the list?

rustic sage
#

@glossy wedge can you help me ?

glossy wedge
rustic sage
tidal kelp
#

Nice to hear its just not me 🙂
btw how much did you have to clean up the valid user name list. Get error when I try passwordspray , tried with and without domain

real elm
#

Hi, I am stucking at the this question "One of the pages you will identify should say 'You don't have access!'. What is the full page URL?" , I actually found the page which says 'You don't have access!' but when i submit the url, it says the url is not correct

#

any idea ?

rustic sage
#

@glossy wedge

tidal kelp
elder sapphire
#

I think I have read somewhere that HTB provides one to one session for some subscription.. Is this correct? I do have the subscription.

iron hazel
#

finally done with AD module ❤️ interesting finding the AD module skill assessment part 2, US and EU labs have different SAM hashes. Seems like the labs are not exactly the same. not super important as there are other ways leading to the target.

tidal kelp
#

nice @iron hazel

#

You got any recommendation on my post above. need some help

iron hazel
#

kerbrute?

tidal kelp
#

ye

#

have exported the user list, but when running the passspray I get above error

acoustic owl
tidal kelp
iron hazel
#

as for the error i am not sure

tidal kelp
iron hazel
#

ur command looks right

#

where did u get this valid_user list from

#

i thought we have to gen this list

tidal kelp
#

the terminal

iron hazel
#

oh i misunderstood it...u were using kerbrute to enum users

#

and then spray password ok

tidal kelp
#

omg

iron hazel
#

well if you are using kerbrute to output the valid user list and it is empty then something is wrong at that step

tidal kelp
#

I think i know what I did wrong

iron hazel
#

there are different ways to get a valid user list..sorry i didnt understand the -o question

#

yeah i got it now as i re-read his question. I thought he got a validlist already to feed to kerbrute to spray.

#

while we are on topic..do u guys know if the enumdomusers from rpcclient is definitive? if we can get that we don't need a dictionary to enum users right?

tidal kelp
#

hmm

#

I dont get this to work. i re-enumerate the user list > manual creating the user_list since the ecport not working > running passwordspray and get the same error

#

seems like something is up, in previous userenumeration I got a hit of 56 valid users, now when I do it I the number is 36

#

hmm

#

have done that twice

sly dome
#

if you can share how you did it ✔️

tidal kelp
#

btw, how much clean up did you have to do of the user list?

#

s... @inlanefreight.local or just the username?

undone narwhal
tidal kelp
#

dude, it worked when you limited it to usernames on s

sly dome
#

bro HAHAHAA

sly dome
tidal kelp
#

Isn't this strange, isn't it realistic to think that the passwordpsray would work on all valid usernames?

undone narwhal
sly dome
#

ypu have to use -i FQDN or -i HOSTNAME

#

i was using -i IP

#

fkn noobs we are lol

tidal kelp
#

in real world scenario how would you know to limit yourself to usernames that start with a specific letter...

undone narwhal
#

lol

sly dome
#

no one noticed and i was too focused on DNS

#

rabbit hole 🤣

undone narwhal
#

oh i noticed but didnt think it would go for ntlm auth cuz there is a domain name already right

tidal kelp
#

thanks for the help

sly dome
#

@sudden blaze

#

at least we practiced the concepts a lot

#

troubleshooting is unreal to learn

#

l0l

naive wadi
sly dome
sly dome
naive wadi
#

Ahhh

#

That's going in the notes

sly dome
#

yes it is sir

#

but i was using xenotim's command

#

and he used -i IP

#

didnt even notice it

sly dome
#

and from there my brain was just tryna fix DNS issue

sterile epoch
#

I am in the engagement section of the payloads module I just want to clear something can it be done without seeing the hints if so can you nudge me in the right direction for the second host as the hint there gives the cred from recon I tried using nmap and gobuster and checked the sourced code and did not find anything

sly dome
#

you’re talking about the blog?

fathom pendant
fathom pendant
hallow kiln
sly dome
#

yes

#

you didnt ask me xD

#

and ofc i do not read all the messages

#

its totally doable from own VM

hallow kiln
#

I would have if I were around FeelsBadMan

sly dome
#

as it should be

sly dome
#

how dad

hallow kiln
#

Dad's never around

fathom pendant
#

^

sly dome
sly dome
#

SocksOverRDP should i let it be? or try again

tulip coral
#

If anyone has some time i would like to kindly request some assistance for Linux Priv Escalations -Sudo Getting a weird error

sterile epoch
sly dome
#

use the exploit

#

there are not directories

#

or anything

#

whats the point of this section? xd

tulip coral
#

it's a puzzle ?

sly dome
#

its working now but totally non-sense the SocksOverRDP section HAHA

sterile epoch
# sly dome use the exploit

I thought there was a little hidden something there in the box so I did not use the exploit and the hint just gave the answer so i felt like cheating thanks for the tip I will do the msfexploit

sudden blaze
#

@sly dome so you get the optional exercise working - with -i FQDN right? Was just gonna try that, then saw your solution 🙂

sly dome
#

to use -i DC01

sudden blaze
#

yeah

hallow kiln
#

didn't you say you tried with -i dc01

tropic ivy
#

.

sudden blaze
#

yes

fathom pendant
sudden blaze
#

guess i tried with -i dc01 but had wrong ip assigned to it as far as i can remember

hallow kiln
#

ah, yeah, that wouldn't work

sly dome
#

finished the Pivoting module but my question is

#

in the skill assessment, what is the purpose of the linux host in the 172.16.6.45? xD

#

anyone noticed it?

hallow kiln
#

it's not in my notes and I don't remember it so no

#

what does a scan show?

fiery berry
sly dome
#

yea

fiery berry
#

looking at my notes too

sly dome
#

maybe uses by the authors

#

used

#

to test?

fiery berry
#

I went for ".25" 😅

sly dome
#

6.35?

hallow kiln
#

could be

sly dome
#

thats the pivot one

fiery berry
#

25, pardon

sly dome
#

yea me 2

#

It had more open ports

#

w.e.

#

completing it with ligolo-ng was a great feeling

hallow kiln
#

almost felt like cheating lol

sly dome
#

i want to try completing it with kerberos ticket

#

but im completely lost

#

i think im just gonna step into AD module

hallow kiln
#

it may not be possible

sly dome
#

🤷 just felt so easy the DC flag after finding plain text creds

#

probably intended

#

to practice more i guess i have to complete AD module and get into prolabs

hallow kiln
#

I didn't enjoy the convenient RDP sessions

sly dome
#

in the skill assessment?

hallow kiln
#

yeah

#

Zephyr has none of that going on

sly dome
#

i think they used it to be more user friendly

#

the modules

#

and in real life engagement we sre gonna likely find RDP enabled

hallow kiln
#

yeah, but that's dangerous, imagine kicking someone out of their RDP session

silver iris
#

Is the academy site having trouble? My connections keep dying.

fathom pendant
#

Are you running the pwnbox at the same time?

#

If so that can be it

#

Also I recommend using the tcp download over udp

silver iris
#

Ah ok, i will try the tcp file.

undone narwhal
#

@sly dome
Just wanted to try it on my own VM and it worked with ligolo but not with chisel

sly dome
#

didnt try with chisel!

fathom pendant
#

Chisel is also just dumb

undone narwhal
#

Yeah but the thing is why did it work on HTB pwn box with chisel

fathom pendant
#

You probably did something slightly different OR version differences

hallow kiln
#

ligolo is just based

undone narwhal
#

Disable proxy_dns in proxychains config file and it will work

undone narwhal
surreal marsh
#

Hi I got a constant issue with my RDP connection while accessing Windows 10 box in Windows Fundamentals module. Literally 5 minutes and it's disconnecting...when I respawn the machine things get back to normal and the cycle repeats itself. Internet is fine. Any ideas?

#

I've tried using xfreerdp and remmina

fathom pendant
#

Use tcp vpn download

orchid pine
sterile epoch
#

How do I copy

Lightweight facebook-styled blog 1.3 - Remote | php/webapps/50064.rb

to metasploit

surreal marsh
sterile epoch
#

is it still in .msf4?

fathom pendant
sterile epoch
#

its in searchsploit

fathom pendant
#

You just can't search it in msfconsole

#

But if you do locate 50064.rb you'll see it's there

sterile epoch
#

if something is in searchsploit and not in metasploit how do I import it?

fathom pendant
#

It's already imported in msfconsole

sterile epoch
#

ok

#

I will look again

fathom pendant
#

Literally open msfconsole and type use 50064.rb

sterile epoch
#

its there thanks

surreal marsh
#

@fathom pendant it's good now thanks!

sterile epoch
#

any idea of this error?

acoustic owl
sudden blaze
#

look at rhosts - shouldn it be an external ip?

sterile epoch
#

I used the one mentioned in the hosts file

sudden blaze
#

try using external ip

fathom pendant
rustic sage
#

You have to also set vhost for this to work.

fathom pendant
#

Oh yeah forgot that quirk of this one

digital junco
#

Hello guys, can you help me with a problem?

#

Create a "For" loop that encodes the variable "var" 28 times in "base64". The number of characters in the 28th hash is the value that must be assigned to the "salt" variable.

#

but it does not work

#

Help!

plain coral
#

Let me ChatGPT that for you

acoustic owl
# digital junco Help!

Read the question again. You don't have to pass the variable $var to the variable $salt, but the number of characters

gentle coral
#

Afternoon guys, I'm trying to do the task LLMNR/NBT-NS Poisoning (windows) within the active directory enumeration and attacks module however I'm having issues connecting via RDP. I Initially tried connecting with xfreerdp but kept getting a black screen, so tried rdesktop.
I no longer get a black screen however I get invalid username and password. Was just wondering if anyone else may have auth issues (I've respawned the box multiple times too incase that was an issue)

hallow kiln
gentle coral
fathom pendant
#

Screensaver is the new AV

surreal marsh
#

Hi again! Still on Windows Fundamentals trying to use smbclient to list the content of the host 10.129.32.145 which I've created a shared folder on. Problem is I got connection refused which is weird...

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    100    0        0 eth0
10.10.10.0      10.10.16.1      255.255.254.0   UG    0      0        0 tun0
10.10.16.0      0.0.0.0         255.255.254.0   U     0      0        0 tun0
10.129.0.0      10.10.16.1      255.255.0.0     UG    0      0        0 tun0
192.168.35.0    0.0.0.0         255.255.255.0   U     100    0        0 eth0

based on the info from the routing table I shouldn't have

smbclient -L 10.129.32.145 -U htb-student                                                                                                                                                        
do_connect: Connection to 10.129.32.145 failed (Error NT_STATUS_IO_TIMEOUT) 

traceroute is failing just ***

Can I ask what am I missing?

gentle coral
surreal marsh
#

ok I guess my question is dumb

digital junco
acoustic owl
digital junco
#

salt=${#var}

#

salt=${#var}

#

now maybe you can see

acoustic owl
#

You have to pass the number of characters of the variable $var to the variable $salt, not the content

surreal marsh
#

ok I got it

digital junco
#

let me draw
salt=${var} = content
salt=${#var} = number of chars LOOK AT THE #

#

the devil is in the details

#

Maybe my code is wrong, but not on this line

acoustic owl
acoustic owl
digital junco
#

let me C

ebon trench
#

would someone be able to help me understand where ive gone wrong as i cant see to get the right answer on my AD question yet its the only thing that makes sense to me?

digital junco
#

34071

#

Thx

acoustic owl
digital junco
#

but Why?

#

that 1 fuc***ng char lol

#

can you explain ?

acoustic owl
#

I have no idea what # is doing

ebon trench
digital junco
ebon trench
#

thank you for that

fiery berry
digital junco
digital junco
acoustic owl
sly dome
#

the question needs an erratum

#

i posted it long ago

#

still incorrect

#

the answer should be 34070

digital junco
acoustic owl
sly dome
#

because the string is 34070 characters

sly dome
acoustic owl
digital junco
#

Rafa tu é brasileiro?

sly dome
#

no

#

and keep it english

digital junco
#

kkkkkkkkkk

umbral fulcrum
#

Hi I'm stuck in "Skills Assessment - File Upload Attacks" I think I need to use the weird text so it will identify as an image but I don't understand that text (cause without it I get "Only images are allowed"),
anybody have a hint 4 me please??

sly dome
#

please

#

The number of characters in the 28th hash is the value that must be assigned to the "salt" variable.

#

this number is 34070

#

but who programmed it used 34071 which is incorrect

#

the hash length is 34070

acoustic owl
digital junco
sly dome
#

the hash has 34070 characters

#

not 34071

#

the \n is inherited from the echo command

acoustic owl
sly dome
#

with your "ask the author" logic there are 8 characters

digital junco
#

Maybe you two should settle this in a battleground, whoever wins is right

sly dome
#

which is incorrect

fathom pendant
#

pika_sip invisible characters are a bitch

sly dome
#

^ xD

fathom pendant
#

But also could just be your code being slightly off

sly dome
#

wtf? xD

fathom pendant
#

¯_(ツ)_/¯

sly dome
#

imagine hash="abcdefg"

#

what will you answer here

#

The number of characters in the hash is the value that must be assigned to the "salt" variable.

#

tell me please

#

7 or 8?

fathom pendant
#

🙄

#

If it's injecting a new line character or removing a new line character for w/e reason that could be messing it up

sly dome
#

dude wdym? its just askin about the length of a string

#

the answer is salt=len(hash)

digital junco
fathom pendant
#

And I'm explaining why it could be off by one character

fathom pendant
#

@thorn urchin honestly didn't realize how goated and simple scp was tbh

acoustic sparrow
#

hey guys currently at attacking common service medium lab
found an ftp server on a non stand port

fathom pendant
#

yes

acoustic sparrow
#

got an access but i cant list anything

#

am i on the right track

fathom pendant
#

Did you list all?

#

:p

acoustic sparrow
#

450 LIST: Connection refused

fathom pendant
#

Why not ls

#

Or ls -la

acoustic sparrow
#

no luck with ls

#

will close the connection and do it again

#

got it

#

for anyone stuggeling at the same point look at footprinting module and look for a useful command that downloads all the files

tight mesa
#

hello everyone, can request you help with the last question of the Privileged Access | AD Enum & Attack

hallow kiln
#

I set up a pivot through the jump box so I can use my own machine

acoustic sparrow
#

got the flag medium lab was honstly so easy

#

the easy lab was more difficult for me :/

sly dome
#

the hardest is the easy in that module

acoustic sparrow
#

lets see what the hard one will make with me

thorn urchin
fathom pendant
acoustic sparrow
#

❤️

fathom pendant
#

Crack password move 1 step forward, grab new thing to crack, move forward

rustic sage
#

yo im new to this

stiff bone
#

Hello everyone, I am having difficulty poisoning the web cache in the ABUSING HTTP MISCONFIGURATIONS Identifying Unkeyed Parameters module. I changed the load, did it step by step modulo, placed the load on different pages, waited for a long time, thinking that the bot needed time, but I don’t understand how the admin bot redirects in language=de and as a result I can’t get the flag for a long time . Please help someone with a hint or tell me how to do this correctly

umbral fulcrum
#

Hi guys, I'm stuck on "Skills Assessment - File Upload Attacks"
I think I understand what I can't use from the "black list" and can from the "white list"
What is allowed in the "Content-Type"
The "MIME-Type"

so now I'm trying to make a XXE but I can't get it to work ...

can I DM for consulting ??

shut wraith
#

Need help on this module:

Module: Web Attacks. Section: Bypassing Encoded References.

Can I DM u please

sudden blaze
#

[Module: Attacking Commnon Services] [Section: Attacking SQL Databases] [Question: What is the password for the "mssqlsvc" user?] Done the module some time ago, but password isnt valid anymore - is bruteforcing with rockyou.txt the right track?

fathom pendant
#

Well actually no

#

Not bruteforcing

#

There's a way to steal it

sudden blaze
#

ok

#

so skip bruteforcing

fathom pendant
#

The section talks about it :)

sudden blaze
#

ok

fathom pendant
sudden blaze
#

therefore i asked 🙂

fathom pendant
#

Yeah you should stick to the methods mentioned in the section

slender wolf
#

Using Splunk Applications in CDSA does anyone have any good resources to learn how to complete this section? Not much offered in the material?

sly dome
#

i used rockyou

acoustic owl
slender wolf
#

For the two questions:

Access the Sysmon App for Splunk and go to the "Reports" tab. Fix the search associated with the "Net - net view" report and provide the complete executed command as your answer. Answer format: net view /Domain:_.local

Access the Sysmon App for Splunk, go to the "Network Activity" tab, and choose "Network Connections". Fix the search and provide the number of connections that SharpHound.exe has initiated as your answer.

based on the material so far I've tried to deduce what needs to be done and have done my googling and all that but can't seem to figure out what I "should" be doing to accomplish those tasks

#

I had no issues with the tasks in the material seemed pretty straight forward

acoustic owl
slender wolf
acoustic owl
#

I probably did not solve the task as intended. 🤷‍♂️

slender wolf
#

lol thats fair more than one way to do things

acoustic owl
sterile epoch
#

I need some advice on the payloads module

#

In the live engagement section I compromised all three hosts with metasploit

fathom pendant
#

Ok?

sterile epoch
#

did I do the right thing or should I take another approach

fathom pendant
#

Did you get the flags?

sterile epoch
#

yes

fathom pendant
#

Then unless you wanna manually upload a .war file and dig into how 50064.rb works then you did what's expected

sterile epoch
#

ok thanks

#

just needed to confirm

fathom pendant
#

there's very few modules, if any, where there's an unintended solution ¯_(ツ)_/¯

thorn urchin
#

yeah what do you think this is, oscp?

sudden blaze
#

[Module: Attacking Commnon Services] [Section: Attacking SQL Databases] have mssqls credentials but cant login? Is this intentionally?

thorn urchin
#

/shrug what error do you specifically get

fathom pendant
hybrid prairie
#

I'm pretty new to this scene, I'm working through the Windows Priv Esc module. Often in the examples I will be working in a PS or CMD shell and go through efforts to setup a Reverse Shell through MSFvenom or NetCat. I don't yet understand the advantages of a RevShell over Powershell, can anyone explain this? Thank you in advance

tranquil axle
thorn urchin
#

revshell and powershell arent comparable

#

theyre different concepts entirely

#

your revshell can BE powershell

tranquil axle
#

if you mean whats the benefit of a meterpter msf-shell, it has a bunch of nice inbuilt functionality that isnt as easy to get with powershell (like running post-exploit modules or upload/download of files)

tulip coral
#

Good Afternoon can someone give me a nudge on Linux Priv Escalation Skill Assessment the last flag is what im having trouble with

rustic sage
#

footprinting medium

#

|| i cannot find the htb user and password anywhere in SSMS, am i suppose to be writing a SQL query or am i just being blind? ||

#

i wrote a query but it only lists the columns and as being empty

#

anyone able to give any advice pretty please 🙂

tawdry vapor
#

hi everyone, i'm in the AD enumeration & attacks module, in the Privileg Access, can someone help me with this error?

#

i'm in the last question - Leverage SQLAdmin rights to authenticate to the ACADEMY-EA-DB01 host (172.16.5.150). Submit the contents of the flag at C:\Users\damundsen\Desktop\flag.txt.

supple patio
thorn urchin
#

They didnt get an auth error

#

the connection timed out

supple patio
#

Yeah, now i see, i didn't look at it

thorn urchin
#

That IP looks like like an internal IP address, you sure 10.10.14.79 can reach it?

rustic sage
#

madf0x me next pls prayge

thorn urchin
mystic jungle
#

okay so im on broken authentication predictable reset token, and im running a modified version of the reset_token_time.py script however it isn't finding anything. can i dm someone?

thorn urchin
supple patio
rustic sage
supple patio
rustic sage
#

OH

#

i found it

supple patio
#

Gj

rustic sage
#

welp onto hard now

supple patio
#

You can do it

sly dome
#

i did right click on the most suspicious table > edit first 200 entries

fathom pendant
#

yeah tbh footprinting kinda just brushes over mssql ¯_(ツ)_/¯

#

It's not until attacking common services that they dive deeper in it

bold tiger
#

This footprinting hackthebox academy hard lab is tough

fathom pendant
#

Eh

#

It's not that bad

bold tiger
#

Have you completed it?

#

Im stuck a little. Will sleep and look into it tomorrow

fathom pendant
#

Yep

brave sail
#

Aren't pwnboxes on private networks? I'm getting 10 requests a second for a smb server I set up. From random user. As in it's trying to log in.

bold tiger
fathom pendant
#

If it's a 10.10.x.x it's another htb user

fathom pendant
#

After the foothold it's fairly straightforward from point a-z

bold tiger
#

I will be precise when Im on my computer

brave sail
#

I panicked and closed it all down. It was triyng to bruteforce the user + password

fathom pendant
brave sail
#

Ama check it, restarted pwnbox though

fathom pendant
#

oh you're using the browser pwnbox? ¯_(ツ)_/¯

#

If you're using the in-browser vm (pwnbox) you really don't have anything to worry about

brave sail
#

yeye i am

fathom pendant
#

They can't get to your physical machine from the pwnbox

#

As it's hosted on htb infra

brave sail
#

okey okey, got me stressed. Probably gonna set 10 character passwords on my own vm from now on.

umbral fulcrum
wise herald
#

I am doing tier 0 - first module - the free ones . I think i am running the vm correctly -
─[us-starting-point-2-dhcp]─[10.10.14.100]─[htb-vikingjohann@htb-kovflyfgim]─[~/my_data]
└──╼ [★]$ sudo login
htb-kovflyfgim login: .... How can i get a hint as how to login and find the flag txt file ?

#

i used the ssh port as it was open - the walkthrough has the telnet port open

#

did not finish in two hours - darn

fathom pendant
wise herald
fathom pendant
# wise herald okay ... um i was attempting a module I thought ... the first and ran out of tim...

Your copy/paste indicates you're using and connected to the starting point vpn and labs on https://app.hackthebox.com this chat is for the learning modules on https://academy.hackthebox.com for clarity: labs refer to the main site, modules refer to academy

#

Double quote the query, single quote the powershell command

tight mesa
#

ok., lemme try it

covert sierra
#

Can anyone help me with question in:
https://academy.hackthebox.com/module/237/section/2613
Module: Introduction To Digital Forensics
part: "Practical Digital Forensics Scenario"
Q1: Extract and scrutinize the memory content of the suspicious PowerShell process which corresponds to PID 6744. Determine which tool from the PowerSploit repository (accessible at https://github.com/PowerShellMafia/PowerSploit) has been utilized within the process, and enter its name as your answer
I did try to dump the process memory associated with pid 6744, and ran yara rule against it, but yara result only shows cobaltStrike

rose dome
wooden fossil
#

Unrelated question to the modules, but running into issues configuring my VM to use for both labs and academy, I usually use the pwnbox but now want to host my own VM with tools hosted on my machine. But for some reason any machine IP on HTB I cannot ping or run say a nmap scan on, I am connected to openvpn and I am able to access the internet through my VM and download updates and dependencies so not sure what’s wrong with my VM

#

I feel it might be a setting in my VM, the options are ‘emulate VLAN’ ‘Bridged’ and ‘Host-Only’

nocturne hull
#

is there a discount for students? and if so how much is it. I see that the standard cost is like 490 a year

hallow kiln
ocean night
nocturne hull
#

is the sans institute on the list?

hallow kiln
#

the main platform, and the pro labs are separate subscriptions, and anything tier 3 or 4 on academy is not included

ocean night
hallow kiln
#

sorry, I assumed we were just talking about the student sub on academy, since it's the modules channel

ocean night
#

Yeah, me too.. the Academy modules and the Labs are separate, but there is still preferential pricing for educational institutions with regards to Labs. Reach out to your tutors, and ask them to reach out to us if they are interested in enrolling hugthebox

hallow kiln
#

cool to know, thanks!

nocturne hull
#

looks like the 8 dollar a month is available to me

hallow kiln
#

then seize the opportunity

nocturne hull
#

if I want to get level 3 or higher classes what is the most cost effective way to do that?

hallow kiln
#

platinum subscription

#

but it's gonna be a long time before you run out of things to do

#

plus you get cubes from modules you complete

nocturne hull
#

yeah I will sign up

#

want to get some extra prep work for the GX certs from SANS

#

just signed up

#

so on the labs side its 20 a month in addition to the 8 a month on the academy side?

ocean night
#

For VIP+ the normal price is $20, so perhaps I was mistaken on the preferential pricing for the Labs as well

#

The discount is applicable for individual students on Academy, but for app.hackthebox.com, it involves more of a relationship with the institution

bold tiger
# fathom pendant Yep

Hey I got it. It was not as hard as I though. Imap commands can be confusing sometimes...that was it. Thanks anyways for the offer of help big love.

ocean night
#

If you're learning, Academy is where you want to be anyway 🙂

#

Once you've gained confidence and knowledge, the OG HTB platform will give you the opportunity to test your skills against machines, without guided notes

fathom pendant
#

Like way long ago

ocean night
#

There is plenty of free content on app.hackthebox also, but obviously VIP/VIP+ grants a number of benefits

#

Good luck on your learning journey hugthebox

fathom pendant
#

Hi g0blin ^^

ocean night
#

Hey 🙂

#

How're things?

rustic sage
#

@ocean night What if our institution already has a partnership with HackTheBox and we get free labs on a rolling basis, could we still get a discount for purchasing an individual subscription?

fathom pendant
#

On the mend after almost spiraling

bold tiger
ocean night
ocean night
#

Did you just nosedive, or something triggered? :\

fathom pendant
ocean night
#

Ahhh shit man, I'm sorry to hear that

#

Fingers crossed you get back up and find somewhere better soon ❤️

bold tiger
ocean night
#

Keep on keeping on, study, document, practice and repeat. Not always gonna be easy, but the feeling when you crack a module and solve it.. winning

bold tiger
#

Im trying, thanks. 🙂 Finished the starting point labs in HackTheBox, doing cpts path in academy. Time is precious

hallow kiln
bold tiger
hallow kiln
bold tiger
#

Alright. Thats a really good suggestion. Although I study information security masters and graduated from computer science, pentesting is something else.

#

Thanks!

hallow kiln
#

then you probably already do know a lot of it, should be quick to get through

bold tiger
steady dock
#

Anybody can provide some hints for question 3 in Introduction to Splunk and SPL?

Navigate to http://[Target IP]:8000, open the "Search & Reporting" application, and find through an SPL search against all 4624 events the account name that made the most login attempts within a span of 10 minutes.

nocturne hull
quasi jungle
wary ibex
#

hey

#

"hashcat -a 0 -m 1000 hash.txt mywordlist.txt",after i enter it says password cracked

wary ibex
#

and i type "hashcat -m 1000 --show --username hash.txt. but at the end there isnot any cracked password

#

could some clarify for me that?

#

tried this with john as well,same stuff

quasi jungle
coarse void
coarse void
quasi jungle
wary ibex
coarse void
#

you have to find the community string before you run this command

coarse void
quasi jungle
#

Oh yea worked

tidal kelp
#

Currently on the ad session, using bloodhound. One query in bloodhound is 'List all Kerberoastable Account' . What makes an account Kerberoastable?

hallow kiln
#

that's easily googleable

#

and explained in the AD module too

wary ibex
#

does this literally mean no password needed at all?

fathom mango
#

Password Attacks-Hard, guys can someone give a hint for Johanna password word from mut_password.list

hallow kiln
#

it's in the list and shouldn't take too long to get, idk what else to tell you

#

make sure you're using the correct options

fathom mango
#

I use cme with complete list on smb, before turn on i use tac command to reverse mut_password list so from two terminals and after 3 hours nothing

fathom mango
#

nope

hallow kiln
#

as this is not an AD host

#

there you go

fathom mango
#

is johanna username case sensitive maybe ? J or j

hallow kiln
#

Windows usernames aren't case sensitive

fathom mango
#

thank, I will try now with local auth and why HTB make this type of LABs

#

we are not here to spend hours on tasks, we are here to learn how to do someting for the job

tulip coral
#

Hey morning guys can someone give me a nudge in windows priv | Which account has WRITE_DAC privileges over the \pipe\SQLLocal\SQLEXPRESS01 named pipe?...... I was able to get a result using the example in the courses notes however for this specific pipe im getting an error "All pipes busy"-"could not be found"

hallow kiln
#

there's nothing wrong with the lab or its difficulty

quasi jungle
#

How can I list all emails in a IMAP server
I already logged in and now want to read the emails in the Important category
a LIST "" *

  • LIST (\HasNoChildren \UnMarked) "." Notes
  • LIST (\HasNoChildren) "." Meetings
  • LIST (\HasNoChildren \UnMarked) "." Important
  • LIST (\HasNoChildren) "." INBOX
fiery berry
rustic sage
#

in windows privesc, section DNSAdmins how can i get that mimilib.dll?

hallow kiln
#

by downloading the latest release from Github

rustic sage
rustic sage
#

ik that i should build mimikatz, but didnt find good ressource

hallow kiln
rustic sage
hallow kiln
rustic sage
hallow kiln
barren apex
#

not sure if that works on pwnbox

rustic sage
rustic sage
# barren apex

i should modify some of its files then rebuild it, not the released version

rough sluice
#

Im doing the command injection module, at the Advanced Command Obfuscation challenge it requires you to get the output of this command : find /usr/share/ | grep root | grep mysql | tail -n 1 . I have managed to run it however I do not get the results of this command, can any1 help me with this?

main spear
#

Hello guys, i'm doing the Password Attacks module, and precisely the Pass the Hash method. A questions is : Using David's hash, perform a Pass the Hash attack to connect to the shared folder \\DC01\david and read the file david.txt.
So i've succed to connect with David account using PtH attack, but i can't acces the shared file, "no permission"

#

it is normal and i have to found an other thing ?

lethal haven
#

Hello anyone finished the visual htb? I need a little hint I managed to host a simple git repo with: .cs, .csproj, .sln files however It takes too long so basically it gets first some .git/objects/.... and then after a long wait the website says "Not found"

hallow kiln
#

And don't spoil active boxes

lethal haven
#

It says expired

#

The room says expired is it different from retired?

hallow kiln
#

It doesn't give seasonal points anymore, but it's still very much an active box

barren apex
tidal kelp
#

On AD module / Kerberoasting from Linux . Trying to install Impacket with 'git clone <github url> ' And Get error "fatal: unable to access 'https://github.com/fortra/impacket.git/': Could not resolve host: github.com
"
from attack host.
What might I be doing wrong?

barren apex
tidal kelp
hallow kiln
hallow kiln
#

And you're sure the box has internet? What if you ping 8.8.8.8

#

Impacket should already be present on the Pwnbox btw

barren apex
#

does the box not have impacket? trying typing psexec.py

tidal kelp
#

it does

#

but I guess I have to run it from the attack box?

barren apex
#

do you mean the target box?

tidal kelp
#

yes

#

I have ssh to it

barren apex
#

attack box usually means where you are attacking from

#

i think most (if not all) of impacket gets run from the attack host

rustic sage
#

Hi guys, am I allowed to post my HTB question here?

hallow kiln
#

I just set up a pivot and did everything from my own machine

barren apex
rustic sage
#

What channel do I post it?

#

Thanks for replying by the way.

barren apex
hallow kiln
#

We can't know that without more details

acoustic owl
orchid pine
#

guys im doing the file inclusion i just start wanna ask you like if we dont have the php code its hard to know what to use to bypass the restriction in real world or in exam do we fuzz this with a wordlist or we do theme manually

cedar void
acoustic owl
tidal kelp
#

Cheers for the reply 🙂

river aspen
#

Why could "set RPORT PORT" have failed?

sly dome
#

xd

#

PORT is a number in the set {1,...,65535}

obtuse slate
#

@river aspen u need to specify a port value

sly dome
#

also SERVER_IP is a 32 bits number in the form X.X.X.X where X is a number in the set {0,...,255}

#

(ipv4)

#

as you can infere, both values have to be numbers and NOT strings

river aspen
#

I copied it from here

#

If I type in set RPORT PORT 8080 it doesn't work as well, what port should I use?

sly dome
#

RPORT 8080

river aspen
#

Ahh

#

😅

#

Thanks

sly dome
#

its using PORT and SERVER_IP as ersatzs for the actual values since they vary from one student to another

obtuse slate
#

im not sure that RPORT is 8080, proxies is set to 8080.. the web service use 8080 also ?

river aspen
hallow kiln
#

you're running this against yourself...

obtuse slate
#

which module you mean ?

hallow kiln
#

127.0.0.1 is localhost

obtuse slate
#

@river aspen u need to set the target ip and port, and use local proxy like burp at 127.0.0.1:8080

#

the module indicate to you an ip address ?

river aspen
#

No, there is no ip given.

obtuse slate
#

ok the question say to use a different auxiliary (auxiliary/scanner/http/http_put), open burpsuite and set proxies in msfconsole to 127.0.0.1... So, u can try this on any website and the answer is the last line in the burp request @river aspen

river aspen
#

Should I use it on a previous given IP?

hallow kiln
#

I think I spawned a target from a previous section and used that

tame ivy
#

Hello there, i stuck for 2 days on Module:Linux Priv Esc,Section:Logrotate, here is output, Waiting for rotating ||/tmp/tmp.log...||, could anyone help please?

fathom pendant
#

That's the safest option

autumn pilot
#

you don't need a target as you are going to intercept the exploit

#

thats the point of the exercise

tame ivy
obtuse slate
#

if the previous IP is active and has a http service running yes

cedar void
river aspen
#

Thank you all, finished the task.

terse relic
fathom pendant
cedar void
#

download it from a website?

fathom pendant
cedar void
#

or from my attacking machine?

acoustic owl
fathom pendant
terse relic
cedar void
fathom pendant
#

Not all tools from the modules are in the pwnbox

cedar void
#

so go on the web and download it from the attacking machine?

fathom pendant
#

Yes

obtuse slate
fathom pendant
#

As well

obtuse slate
#

u're right

sly dome
#

its easier to do wget -r pointing to the .profiles folder

#

set up an http server in the victim machine

#

and you run firefox_decrypt locally

plain coral
plain coral
rustic sage
#

Noob beginner here, can anyone tell me a good resource to start with, I was following the roppers course earlier but it seems too boring

plain coral
acoustic owl
#

or by your hosts file

acoustic owl
plain coral
#

In a real-world scenario yes you wouldn't use a local IP mapping to try and do DNS Zone transfers but in this case your using subbrute anyway and not querying external DNS servers and is mentioned in the module to use this tool on internal engagements on machines with no internet access

plain coral
acoustic owl
#

It doesn't matter what name you put in the hosts file. The name simply points to the IP.

distant moat
acoustic owl
plain coral
sudden blaze
#

Module:Attacking common services Section:Attacking DNS --> have to find a flag in any records??? Dont know how to get the flag anymore - tried subdomain enum with dnsenum and then zonetransfer - but everything fails - any hints?

plain coral
acoustic owl
#

delete the question mark there

distant moat
rustic sage
#

damn im struggling with footprinting lab hard

acoustic owl
distant moat
distant moat
#

i del the question mark

shell ore
#

hi

#

umm HELP

#

can i contact academy support from the app platform account? 😅

acoustic owl
plain coral