HackTheBox - Active

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 117

  • @Treegrower
    @Treegrower 3 роки тому +16

    this guys brain is absolutely massive

  • @sw1mm
    @sw1mm 2 роки тому +5

    I was doing the box last night. I finished it myself. I make a habit of then looking at writeups to learn anything new... going back to last night, I spent an hour going through they SMB shares manually. Good times.

  • @MarcusJGrey
    @MarcusJGrey 4 роки тому +46

    Its going to take me forever to get anywhere near this level of knowledge of all the systems and commands

    • @Stonekom
      @Stonekom Рік тому +7

      You better now?

    • @MarcusJGrey
      @MarcusJGrey Рік тому +6

      @@Stonekom Honestly, yes. This guy has been invaluable to me, even if I have pivoted into a different direction. The stuff I learned fom this guys content had a tangible effect on where I am today.

    • @zzzzzzzzZzZZzzzaZzz
      @zzzzzzzzZzZZzzzaZzz Рік тому

      I would like to ask you, how is your situation now as an employee in the field or what?

    • @MarcusJGrey
      @MarcusJGrey Рік тому

      @@zzzzzzzzZzZZzzzaZzz good though out of date by now. I pivoted into a different part of security

    • @MarcusJGrey
      @MarcusJGrey Рік тому +1

      @@zzzzzzzzZzZZzzzaZzz My situation is pretty good and still in the security industry, though I pivoted into a different direction. I used what I learned from this and a few other channels, they certainly were foundational in where I am now.

  • @wolfrevokcats7890
    @wolfrevokcats7890 8 місяців тому +8

    9:01 smbmap -R (capital R is no longer in latest Kali version). Only -r (lowercase r) is available

  • @armandkruger911
    @armandkruger911 3 роки тому +1

    I saw this misconfiguration in a environment and thanx for showing your approach , helped me create proper blue-team detection rules.. As well as creating a honeytoken account and just removing all the logon hours!

  • @DavidThomsenPhD
    @DavidThomsenPhD 6 років тому +45

    Could you one day do a video on how you set up your kraken box? I've been thinking about setting up something similar in AWS

    • @DavidThomsenPhD
      @DavidThomsenPhD 3 роки тому +1

      @IppSec

    • @Treegrower
      @Treegrower 3 роки тому

      I think it's just hashcat running on a box with an Nvidia GTX 1080 installed. It's not too fancy to set up. If you want to learn how to use hashcat check out the HTB Academy tutorial.

    • @TalsonHacks
      @TalsonHacks 3 роки тому +15

      @@DavidThomsenPhD dammit, you’re persistent

  • @brettnieman3453
    @brettnieman3453 6 років тому +3

    So helpful, thanks a ton as always!! Was looking forward to this video from you! I'm in my OSCP labs right now and the Windows machines are definitely the hardest with the least info out. Thanks again!!!

    • @striple765
      @striple765 5 років тому +2

      windows boxes are pain in ass, im suffering too

    • @SudoSrijan
      @SudoSrijan 3 місяці тому

      @@striple765 me too

  • @JeiPii
    @JeiPii 6 років тому +4

    For anybody getting an error with smbmap and updatedb make sure you are running root or sudo on the command.

    • @1stbong
      @1stbong 4 роки тому

      thaaaank you i feel like ive wasted days no i have on not providing the sudo command.

    • @joshuafranco7998
      @joshuafranco7998 4 роки тому

      Just saved me so much time!

  • @gurwindersingh-rs3sl
    @gurwindersingh-rs3sl 6 років тому +2

    I got results from smbclient and can even get into shares folder but smbmap didn't show anything not even shared folders. It says Access Denied. Why it behaves like that?

    • @shankaranarayana6568
      @shankaranarayana6568 4 роки тому

      same here

    • @shankaranarayana6568
      @shankaranarayana6568 4 роки тому

      clone the latest smbmap from git
      pip3 install --upgrade impacket

      or
      pip install --upgrade impacket
      Then it works fine now

  • @wortug3936
    @wortug3936 4 роки тому +1

    hey there Ipp, I've got a question. How did you know that in order to decrypt the password you need to use the gppdecrypt program. I mean I know that you've done these boxes before, but even then, is it identifiable just by looking at it?

    • @ippsec
      @ippsec  4 роки тому +3

      Yes, it is the default way Group Policy stores passwords. Just seeing the password in Groups.xml in the SYSVOL directory tells me what it is.

  • @kryptikmind4975
    @kryptikmind4975 6 років тому

    So complicated and advanced but it's very informative

  • @zephyfoxy
    @zephyfoxy 6 років тому +5

    I just grabbed the flag thru SMB actually. Never did PSexec, but would have been fun to do it that way.

  • @theedmbrewery6234
    @theedmbrewery6234 5 років тому

    I dont know what is wrong with this box, ive reverted the box and typing smbclient -L //10.10.10.100 -N to list shares but it doesnt give me a list of shares. It says protocol negotiation failed: NT_STATUS_CONNECTION_RESET.

  • @susnoname
    @susnoname 3 роки тому

    Anybody knows why I do not see groups.xml file? Neither when I list files/directories using smbmap nor when I am searching for file itself: smbmap -R Replication -H 10.10.10.100 -A Groups.xml
    ?

    • @ddmiller2009
      @ddmiller2009 3 роки тому +5

      add the depth switch as TongaRoots mentioned above "smbmap -R Replication --depth 10 -H 10.10.10.100"

  • @tohsaka1173
    @tohsaka1173 5 років тому +1

    How would one go about with the Bloodhound step using kali instead of windows?

    • @ippsec
      @ippsec  5 років тому

      You should really just use Windows. It may be possible to do something similar within impacket, but there are just too many bugs when doing this many types of RPC Calls.

    • @tohsaka1173
      @tohsaka1173 5 років тому

      @@ippsec Alright will do, thank you very much for your quick response!

  • @Xx-nd1rs
    @Xx-nd1rs Рік тому +2

    running bloodhound-python remotely in Linux would give the same result but thanks though for the great walkthrough!

  • @WinnnDG
    @WinnnDG 3 роки тому

    Hi @IppSec
    Do you mind if you can share the specs of your kraken ?
    I saw you were running 4 GPUs, does hashcat auto-detects these GPUs ?

  • @scottrainville8303
    @scottrainville8303 5 років тому +1

    This is why you don't use domain administrator accounts to run Kerberos services! The hash of any kerberos service account can be collected via the kerberoasting he does, so ideally every service account has a strong password and follows the principle of least privilege.

  • @chefsputnik1
    @chefsputnik1 5 років тому

    Is it possible to connect to the windows machine from Linux, as a non admin user, having the password in plaintext, without RDP enabled?

    • @ippsec
      @ippsec  5 років тому

      That’s a lot of stipulations. It is possible in bad configurations, ie powershell remoting

    • @chefsputnik1
      @chefsputnik1 5 років тому

      @@ippsec Thank you ippsec. It just seems odd to a windows newbie's perspective, that we have several pass-the-hash tools, but no pass-the-pass :)

  • @user-tmtien
    @user-tmtien 10 місяців тому

    Hello, i want to prevent from using ldapsearch or other tools to enumeration ldap on Domain. can you guide me how to prevent it?

  • @meelfella7222
    @meelfella7222 6 років тому +2

    hey what happend to the premire thing ?! found it helpful & cool that we could ask you questions!

    • @ippsec
      @ippsec  6 років тому +1

      I do it when I'm around to moderate the channel/answer questions. I've been traveling for the past 2-3 weeks.

  • @lololol112
    @lololol112 5 років тому

    when I scan using the same nmap command (-sV and -sC) it says all ports are filtered and doesn't give any version information :/

  • @milesorme9447
    @milesorme9447 5 років тому +2

    anyone in oscp should watch this video

    • @theedmbrewery6234
      @theedmbrewery6234 5 років тому +1

      I am.. Love everything that ippsec does.

    • @XY-fw6oj
      @XY-fw6oj 5 років тому +1

      indeed this is pretty cool. but way more advanced than oscp with regards the kerbroasting part, isnt it

  • @eshaanbansal9122
    @eshaanbansal9122 4 роки тому +1

    8:21, look below, its telling u which shares are open!

  • @ernestassimutis6239
    @ernestassimutis6239 5 років тому

    What if smb is still complaining with NT_STATUS_INVALID_INFO_CLASS listing \* ? Thanks

  • @CS-pw3xy
    @CS-pw3xy 6 років тому

    Great video, thank you!

  • @pratikshetty3123
    @pratikshetty3123 3 роки тому

    getadusers asking for import version tried many way but didn't get results yet

  • @tigermelissa
    @tigermelissa 5 років тому +1

    That's odd, I was able to psexec (the .py version from impacket) to Admin perms with the SVC_TGS.
    Still a great BloodHound tutorial though!

  • @Claymore403
    @Claymore403 2 роки тому

    Just one thing: how can you tell that the administrator is kerberoastable by watching the graph in bloodhound ? Cause I see you've got the node admnistrator and the node dc.active.htb.

  • @Dave-ll2fm
    @Dave-ll2fm 4 роки тому

    any ideas why dns recon keeps maxing out my ram, then overflowing into swap memory and completely freezing my Linux vm?
    I have upped my ram on my Kali VM to 16gigs and whenever I run dnsrecon it keeps using more and more ram until it maxes it out and completely freezes the virtual machine until I shut it down and start it up again. This can't be normal can it?
    Appreciate all the videos!

    • @susnoname
      @susnoname 3 роки тому

      the same for me and after some time I get killed my smb connection and I get:
      [*] Performing Reverse Lookup from 10.0.0.0 to 10.255.255.255
      Killed
      my smb works fine until I run dnsrecon

    • @Dave-ll2fm
      @Dave-ll2fm 3 роки тому

      @@susnoname I can't remember how I fixed this but I did. I think I reinstalled Kali from scratch.
      Actually, I think first I downloaded an older version of dnsrecon from github and used that instead. I think reinstalling Kali from scratch worked for fixing the current version for me though. I can't remember for sure.

    • @susnoname
      @susnoname 3 роки тому +1

      @@Dave-ll2fm thanks ! I will try github as reinstalling is something what I really don't want to do.

  • @0xAaeld
    @0xAaeld 6 років тому

    This box was pretty cool.

  • @zauthentiqz-_1188
    @zauthentiqz-_1188 2 роки тому +1

    I did this box without bloodhound I just did kerberoasting after I got the password.

  • @vonniehudson
    @vonniehudson 6 років тому

    What's the difference between xargs grep and just piping to grep?

    • @yurilsaps
      @yurilsaps 5 років тому

      there are some commands that dont work just with pipe, try google it

  • @williamwatkins6669
    @williamwatkins6669 4 роки тому +1

    Hi, I know this is an old video but since you are still active. Could you make the font larger in the terminal. I watch your videos on my phone and it's really hard to read. Great content though

    • @ippsec
      @ippsec  4 роки тому +2

      I’ve experimented with trying to make it readable on phones. Decided not to as when going into programs like GDB/Ghidra/etc large font makes it difficult in my computer too. I don’t really prepare enough to switch between layouts when recording so don’t think I’ll be increasing it anymore

  • @huaweimate20pro52
    @huaweimate20pro52 6 років тому +1

    What's the hardware specification of your kracken machine

    • @sowhatsupeirik
      @sowhatsupeirik 6 років тому +2

      Last I heard he had 4x 1080s. Might be upgraded since.

    • @Phaas03
      @Phaas03 6 років тому +1

      Yeah you can see when he initializes hashcat that it recognizes 4 1080's. That's the dream right there lol

  • @studenciakjpg6020
    @studenciakjpg6020 3 місяці тому

    Hi can u send link to video where configure Bloodhound?

    • @ippsec
      @ippsec  3 місяці тому

      Why not search Ippsec.rocks for bloodhound and choose one of the first videos

  • @caseylgoodrich
    @caseylgoodrich 6 років тому

    I think on that dns issue on the windows box you could change the binding order on the nic but could be wrong

  • @alebored1710
    @alebored1710 6 років тому

    nmap scan says all ports are filtered for me with same setup

  • @jithinjacob2201
    @jithinjacob2201 6 років тому

    That's awesome..

  • @cvija997
    @cvija997 6 років тому +3

    This box is one in the row i couldn't resolve (:

  • @kalidsherefuddin
    @kalidsherefuddin 2 роки тому

    Thanks

  • @frankkesel7252
    @frankkesel7252 6 років тому

    I think there's a way to specify DNS in sharphound

  • @swift87100
    @swift87100 6 років тому +2

    Could you make a walkthrough on smasher ? I want to see your approach to it.

    • @ippsec
      @ippsec  6 років тому +4

      I plan to do it around Christmas time.

  • @d1gBR
    @d1gBR 6 років тому +2

    holy shit.... 4 1080's....

  • @Reality_mind09
    @Reality_mind09 6 років тому

    Getting a user on this was pretty easy , but root was way difficult if you dont have AD exp :-)

  • @CBas-
    @CBas- 4 роки тому

    Hello IppSec! man, got hooked with hackthebox, fantastic way to learn about pentesting, trying to clear all the easy ones first and then move on into harder stuff. I have been getting the same error over and over and for some reason i don't find an answer to it, when i run ms17_010_eternalblue to try to gain access to a windows box i always get the same message:
    [*] Started reverse TCP handler on 10.10.15.10:4444
    [*] 10.10.10.161:445 - Connecting to target for exploitation.
    [+] 10.10.10.161:445 - Connection established for exploitation.
    [!] 10.10.10.161:445 - Target OS selected not valid for OS indicated by SMB reply
    [!] 10.10.10.161:445 - Disable VerifyTarget option to proceed manually...
    [-] 10.10.10.161:445 - Unable to continue with improper OS Target.
    [*] Exploit completed, but no session was created.
    Hope you see this,
    Thanks for what you do man.

    • @ippsec
      @ippsec  4 роки тому

      That script connects to 445 and enumerates the version (target os) prior to throwing the exploit. It sees the os isn’t compatible with target and exits. Try it on Blue

  • @theedmbrewery6234
    @theedmbrewery6234 5 років тому

    smbmap -H 10.10.10.100 works fine. Why is this happening?

    • @shankaranarayana6568
      @shankaranarayana6568 4 роки тому

      clone the latest smbmap from git
      pip3 install --upgrade impacket

      or
      pip install --upgrade impacket
      Then it works fine now

  • @abhishekchaudhari970
    @abhishekchaudhari970 6 років тому

    I failed to get root ☹️
    Thanks for the video ippsec 😊

  • @r0tx464
    @r0tx464 4 роки тому

    hello dear,
    I have been trying to enumerate Kioptrix1 (which is running samba 2.2.1a) using "smbclient -L host", however, I'm getting NT_SATATUS_IO_TIMEOUT error. I looked at the Wireshark output, I found out that the server (Kioptrix) is not responding to the "Negotiate Protocol Request" packet sent by the client.
    Please I need your help! Thank you in advance.

  • @TenPester
    @TenPester 5 років тому +1

    I full screened this at 07:30 before leaving for work, fell asleep at the computer, and woke up with the fear cause I thought it was 11:04am. Forgot I full screened it lol

  • @striple765
    @striple765 5 років тому +2

    wondering that how this box is an easy one lol, i have to watch video 3 times in a row in order to just understand what is even happening. Anyways thanks for the video
    #windowsBoxesSucks

  • @gushorz
    @gushorz 6 років тому

    Do you solve machines in a VM? If so , why?

  • @iANTVpublicbrothers
    @iANTVpublicbrothers 7 місяців тому

    Hold me accountable yall!!!

  • @huaweimate20pro52
    @huaweimate20pro52 6 років тому +2

    Very difficult

  • @albo00
    @albo00 4 роки тому +1

    For anyone getting "Authentication Error" when running smbmap. There are some python packages that need to be installed/updated. See "Install Requirements" section at github.com/ShawnDEvans/smbmap

    • @karanbhayani5571
      @karanbhayani5571 4 роки тому

      Hey, thanks for that, had been getting that error. I installed the requirements and it still won't work. Still get the same error, any ideas?

    • @albo00
      @albo00 4 роки тому

      @@karanbhayani5571 did you install the requirements as sudo?

  • @adishinde
    @adishinde 6 років тому +1

    i though this box was boring

  • @gonti6503
    @gonti6503 2 роки тому

    I don't see the Groups.xml on the share.

  • @frankkesel7252
    @frankkesel7252 6 років тому

    -DNSServer 3.2.1.1

  • @Saw-o3h
    @Saw-o3h 4 роки тому

    can you speak little bit slowly? :-)

    • @susnoname
      @susnoname 3 роки тому

      you can change it on YT video, I am not native, he speaks pretty good not too fast no too slow, just perfect