How Hackers Move Through Networks (with Ligolo)

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 206

  • @_JohnHammond
    @_JohnHammond  22 дні тому +1

    such a vibe so anyways if you want more security stuff check out jh.live/training and join up at jh.live/newsletter 👀

    • @yarin4621
      @yarin4621 8 днів тому

      the link for the pivot machine asks for login creds i tried setting up an account but didnt found nowhere a account creation login for snaplabs couldu pls help

  • @brandhark7935
    @brandhark7935 Рік тому +561

    Just did this pivoting and hacked my local police department and they loved it! They even offered me a free room with free toilet and nice orange clothes! Life is good!

  • @F0rc3Tv
    @F0rc3Tv Рік тому +47

    im so glad i learned how to use ligolo before doing the CPTS exam. passed on the exam in august on the first attempt

    • @Deep_880er
      @Deep_880er 12 днів тому

      Hey.. I am also preparing for CPTS.. can you tell me how was the exam

    • @F0rc3Tv
      @F0rc3Tv 12 днів тому

      @ it was so good. I really took me the 10 days for the exam. I used every single minute I could until like 15 left. Submitted the report and found out I passed on the first try. It was a lot 😅😅

  • @MalwareCube
    @MalwareCube Рік тому +84

    Ligolo is killer for the OSCP Active Directory set. 🎉

    • @Michael_Jackson187
      @Michael_Jackson187 11 місяців тому +7

      They let you use tools on the Oscp?

    • @GodlyTank
      @GodlyTank 11 місяців тому

      @@Michael_Jackson187 Oh yeah, just not any auto exploit tools. So avoid metasploit framework auto-exploits, sqlmap, but you can still use msfvenom (I faded it for a while and have had a few boxes where I couldn't get any of my reverse shells to work without it

    • @eli_the_crypto_guy
      @eli_the_crypto_guy 11 місяців тому

      @@Michael_Jackson187Check rules of engagement, some tools amd techmiques are not allowed, like Metasploit attack modules

    • @DarkDonnieMarco
      @DarkDonnieMarco 10 місяців тому

      @@Michael_Jackson187no you have to do the entire OSCP in assembly.

  • @KenPryor
    @KenPryor Рік тому +65

    This is so cool! It would be very interesting to do a forensic exam on the pivot machine to see what signs are left behind by Ligolo activity. Great video!

    • @deebee201
      @deebee201 10 місяців тому +3

      Please pontificate on this subject with some particulars. I am almost finished with my digital forensics cert, and I want to understand all of the practical scenarios I can. TY

  • @BlizzetaNet
    @BlizzetaNet Рік тому +15

    I love how you've grown into cybersecurity. I'm very rusty and think your videos are helping eliminate that rust.

  • @KevlarSlap
    @KevlarSlap Рік тому +46

    In my experience, servers in a DMZ don't have a second interface on an internal subnet- that defeats the purpose of the DMZ.

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

      Even then, there's usually a jump box or a way to access them or their network from an internal network

  • @ScottPlude
    @ScottPlude Рік тому +10

    the RED side of my brain loves ya.
    the BLUE side of my brain has constant headaches!

  • @berthold9582
    @berthold9582 Рік тому +11

    I wonder how anyone can provide such exciting content.
    There are no two like you sir

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

    Hey look, if someone sets up a server with two interfaces, one with a public IP and one with a private IP on a production internal LAN, AND they kindly let me install my hacking tool (or maybe just happen to have an unpatched vulnerability), AND they don’t use any firewall rules to limit access either on the public or private interfaces, AND they don’t use any endpoint protection tools, AND they don’t use any traffic inspections tools, it’s SO easy to hack them! /s
    Yeah this isn’t remotely how a DMZ is set up. For sure there are sloppy admins who have servers bridging public and private networks like this, but that’s not called a DMZ, that’s called an invitation to the Target and Equifax awards and breaching them would likely be far easier than using a fancy pivot tool like this. They probably have 3389 wide open so you can RDP right onto their server with a guest account like it’s 1999.
    New video title: Compromising networks with no security.

    • @effsixteenblock50
      @effsixteenblock50 7 місяців тому +4

      "I don't often easily pivot to internal networks from the DMZ but when I DO, I *always* fire off nmap scans of the entire /24!"

  • @ulyssesfister3735
    @ulyssesfister3735 Рік тому +13

    easy to understand, thanks John. Nifty piece of software

  • @lilp4p1
    @lilp4p1 Рік тому +3

    All of that is automated with the havoc-ligolo module as well! Cool video ^^

    • @CyberCelt.
      @CyberCelt. 4 місяці тому

      Thanks, didn't know that was a module

  • @aleckane99
    @aleckane99 Рік тому +9

    Can you make a video on protecting against this or simply show how to setup a detector for it? That would be sick. I had to subscribe after watching this demo, very well done!

    • @AlexandruMocanu
      @AlexandruMocanu Рік тому +3

      A really good starting point is: if a machine is in the DMZ you should not add another Network to it (Hosts network in this case).
      It should not have multiple interfaces attached to other Networks than the DMZ. If the machine has multiple networks attaches no firewall can stop traffic

  • @BillHeng
    @BillHeng 9 місяців тому

    I just learnt about this tool a few weeks back for my OSCP prep. looking forward to using it in my exam soon

  • @PrinceJohn84
    @PrinceJohn84 Рік тому +29

    Anybody putting servers in a DMZ with interfaces that reside in completely different networks probably needs a recap on exactly what a DMZ is for.

    • @pimpnosimpg5416
      @pimpnosimpg5416 11 місяців тому

      Can u explain pls?

    • @deebee201
      @deebee201 10 місяців тому

      Right! Thank you! I know he has more experience than me, but I was like no bueno hombre.

    • @forty4seven46
      @forty4seven46 10 місяців тому

      @@pimpnosimpg5416
      Certainly! When setting up a DMZ, the goal is to isolate publicly accessible servers from the internal network to enhance security. Typically, servers in a DMZ have interfaces connected to both the external (untrusted) network and the internal (trusted) network. This setup allows external users to access services like web servers or email servers while keeping them separated from sensitive internal resources.
      However, if servers in a DMZ have interfaces connected to completely different networks, it could indicate a misunderstanding of how to properly configure a DMZ. The purpose of a DMZ is to create a buffer zone between the internet and the internal network, ensuring that any security breaches or attacks targeting public-facing services are contained and don't compromise internal systems. Placing servers with interfaces in different networks within a DMZ could create confusion and potentially undermine the intended security benefits of the DMZ architecture.

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

      So how do you access servers in the DMZ from an internal network?

    •  5 місяців тому +1

      ​@flrn84791
      You can't that's the purpose of a DMZ, it should not be accessed from the internal network, unless if you have access to the firewall box that manages the DMZ network.

  • @jayrockjunk
    @jayrockjunk 10 місяців тому +14

    These always start with, "let's assume we already obtained access to this host". That's the hard part. Everything else is easy.

  • @CyberDevilSec
    @CyberDevilSec Рік тому +2

    Jesus John your content has improved soo much!!!
    We love you man :D

  • @jonathanj3362
    @jonathanj3362 Рік тому +10

    Very cool and thanks for the video!
    Feedback: The multiple camera views of the video I am not the biggest fan of at this time. I feel more connected to the content when its the straight on camera angle where you are engaged with the viewers, when it switches seeing you looking in a different direction makes it feel disconnected from the content. If you plan on keeping the multiple angles personally I would like to see you engage the camera that is active. Appreciate all the new content you are producing! That is my .02.

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

    this is super clean content now i love it. Love the examples shown

  • @0xnightfury
    @0xnightfury Рік тому +1

    John's background looks dope !! wow

  • @travis4482
    @travis4482 5 місяців тому

    I'm really glad that you broke down the meaning of cross-platform, I never would have guessed. 😂

  • @rationalbushcraft
    @rationalbushcraft Рік тому +9

    I would think most DMZs would block unnecessary ports to the inside. Am I missing something here?

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

      Its actually an outgoing connection from the dmz. It doesnt need an open port from the outside.

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

      @@Youtupe69 I get that but doesn’t it need ports between the Private and DMZ? At least whatever port it is using for the proxy connection.

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

      ​@@rationalbushcraft if you set up your DMZ properly, you are correct, you would seriously limit and restrict access, most likely using an Internal firewall, so that your DMZ can only access the devices and servers it requires access to internally to function and also restrict any outbound traffic to the outside that isnt required.
      this does not completely remove the risk, it just reduces the scope of the attack and means the attacker may have to "pivot" a few times. Granted they can get the tunnel connected in the first instance.

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

      @@factorialandha5929 I think the issue is that John is selling this as a way to move laterally without explaining further on how DMZs normally work. He says the devices in the DMZ can access the internal network when that's mostly untrue. DMZs are designed to have limited access to the internal network. This might confuse the many newbies watching his channel into thinking that all DMZs have unrestricted internal network access.

    • @peculiarfamiliar
      @peculiarfamiliar 6 місяців тому

      ​@@factorialandha5929how would I be able to regain access to my wifi security and remove multiple administrators off of my laptop? I've been struggling for four years with all of this, alongside of watching multiple videos on what's up with my sh*t(in my limited free time, I have kiddos) & all I've gotten through it all is headaches, very limited help, & laughed at on countless occasions...I have been reaching out everywhere & end up not getting responses or getting responses & then they disappear...it's definitely someone screwing with my network. I see some of the ports or channels are running interface & actually neighboring networks are as well... I tried the app the one popular app... I see multiple devices upon my Bluetooth same name under & identifying as whole other devices under a different color & or icon. I also have multiples of my one device showing in Google home(I've NEVER used Google home, ever) my kids baby monitor is pairing with random objects too. I live alone with my two little girls & am over all of this! I have little $ & what I've saved, I've put out to hire someone other than my service provider... They just mock me & change all of my info... Wifi name, password, & also made me a whole email address that I've never ever used. Sorry so long, but that's some of my sh*t. Any help would be greatly appreciated! Hope you had a beautiful 4th & hope you are well. I read your comment & you seem knowledgeable so I decided to take a shot & throw this out there. Thinking maybe, someone will reach out. You never know, if ya don't try, right?!?!? If I don't answer you, it's because my comments go missing. Alongside of everything tech wise in my life. It's been 4 years & I'd just like a little peace with it all. Ty for listening... 🫀

  • @Jebly_5555
    @Jebly_5555 Рік тому +2

    I literally just learned about this program after having trouble with chisel on my OSCP lol. Cannot wait to try it out.

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

    this tool would make the job a lot easier thank you for the demo man keep up the good work much love from Saudia Arabia

  • @WildDisease72
    @WildDisease72 Рік тому +2

    Its easier to social engineer today directly to internal network via employee weakness (especially new people to country)

  • @chaxiraxi_ytb
    @chaxiraxi_ytb Рік тому +2

    Explaining what Kali is and what is a "cross-platform" software while presenting a network pivoting tool for advanced pentesters is killing me

    • @rob-890
      @rob-890 Рік тому

      Gotta fill the time

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

    Started using this tool yesterday...
    Hopefully, I'll get to understand it here

  • @mr-raa0443
    @mr-raa0443 6 місяців тому

    i dont know why i wasnt subscribed to your channel❤‍🔥

  • @THOHATRAVELS-o7x
    @THOHATRAVELS-o7x 4 місяці тому

    Please don't listen to the people who are complaining about being your video slow. Don't change it. Most of the creator are really hard to understand

  • @hamidb75
    @hamidb75 11 місяців тому

    Great stuff, looking forward to test it out. Thanks

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

    Hi John sir 👋 love from India 🇮🇳

  • @s.hariharan6958
    @s.hariharan6958 Рік тому

    Thank you John! 🙂

  • @CWLabs7209
    @CWLabs7209 6 місяців тому

    Nice tool & nice watch 🥳

  • @quentin7343
    @quentin7343 10 місяців тому

    Brilliant pedagogy

    • @deebee201
      @deebee201 10 місяців тому

      Hey quentin, it has been a while since somebody used verbiage that I had to look up on You Tube. Well said, beautiful nomenclature sir. This will be something I will use. Well spoken, if you don't mind, drop some more knowledge. I am thirsty for smart human interaction.

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

    What is the CN of the let’s encrypt certificate? Perhaps you could easily traverse ligolo certificates via the certificate transparency database…

  • @JackOfAllThreatsMasterOfNone

    Thanks for making this tutorial

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

    Great video and tools thanks!

  • @architvats2633
    @architvats2633 10 місяців тому

    You're simply the best

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

    Great video, John!

  • @0oNoiseo0
    @0oNoiseo0 Рік тому

    Thank you John!

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

    Thank you so much John for sharing, all that super useful knowledge with us. I realy enjoying watching your videos. 👍

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

    1:38 "links below"
    Never once has anyone on this platform delivered on that promise

  • @compote-s1r
    @compote-s1r Рік тому

    Thanks for all the content, again very nice video !

  • @safelinkit
    @safelinkit 10 місяців тому

    Bye bye Proxychains. Gonna use that fro my PNPT exam in 2 weeks.
    Quick test in my home lab worked flawlessly with your tutorial (well - the agent does get picked up by Defender, but for the purpose of exam-prep I deactivated it in my lab)

  • @jghuathuat
    @jghuathuat Рік тому +2

    would've like to see a double pivot.

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

    Great video,
    Keep it up 💪🎉🎉

  • @jarrettgoh8920
    @jarrettgoh8920 9 місяців тому

    This concept can be achieved with dynamic port forwarding with SSH too right? But just that it’s slower when running nmap scans?

  • @caglayagmurr
    @caglayagmurr 10 місяців тому +1

    i read ligolo as gigolo i need sleep ☠☠☠

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

    Awesome mate Thanks

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

    Great Video!! Thanks for sharing this

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

    does this mean you will be able to access the subnet of the companies assuming they are using active directory

  • @DholuBholu-q2l
    @DholuBholu-q2l Рік тому +1

    Sir , after completing bca course then what course should we take to fully completed cybersecurity or Ethical hacking

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

    Is there a way to find out if agent has been installed on machine, for example ligolo agent? In case, AV cannot find anything...

  • @ERICHOEHNINGER
    @ERICHOEHNINGER Рік тому +3

    Is it just me who doesn't like the vision mixer(camera transition) ?😅

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

    I tried using the autocert but it seems to have an issue. "yamux: Failed to write header: acme/autocert: missing server name
    ERRO[0151] could not register agent, error: session shutdown". For the purposes of taking exams and stuff though, this is super awesome, don't need real certs.

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

    Where was this program when i took eCPPT? great video!!

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

    ❤ love your videos ❤❤

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

    Good stuff. Hopefully it doesn't get popped by EDR soon.

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

    Wow -Prefect WHy Don't UA-cam Give you a strike !?

  • @garycacoon
    @garycacoon 9 місяців тому

    What about docker, sysdig and Falco??

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

    Wow awesome tool. Could you maybe do a follow up of some more complex scenario's?

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

    Hey john, you are one of the best and i have been learning from you from the last three years.. but hey did anyone tell you you look alot like that footballer Kevin De Bruyne

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

    I’m not a computer expert, Jack Rhysider warped my brain so I listen to videos like this to relax at bedtime

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

      Lol exactly the same happened to me, now a few years later I'm working as a pentester.
      Thanks Jack 🤣

  • @steelsteez6118
    @steelsteez6118 11 місяців тому +1

    00:24 I can see your eyes reading off of a script!! CHEATER!! I thought you were a knowledge BEAST that knew all this from the top of his head when explaining it!!! How dare you prepare such a well prepared video with high production quality!!

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

    Isn’t the certificate generated on the proxy side ie your kali box that does have internet? And then the TLS certificate can be verified offline by the agent

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

    Can we still use this in network client isolation network ? I mean if the access restricted network withing the same vlan clients ?

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

    Thanks
    John Hammond more Tut like this plz

  • @ernestoditerribile
    @ernestoditerribile 10 місяців тому

    Aarch64 if you compile all Kali apps directly in MacOS or Fedora Asahi Linux. Off course Kali is easier, because of all the built in tools, but it’s way faster when you compile it natively.

  • @KanjiasDev
    @KanjiasDev 11 місяців тому

    I guess you could also use that as a quick and dirty solution to create bridges to fix problems with NATed networks, right? 😅

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

    Could we get a link to the template of the cloud lab? I may just be blind but i couldnt find it

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

    💥EXCELLENT VIDEO - GREAT SKILLS SHARING - MUST WATCH - THANK YOU 💥

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

    where is the link to the cloud lab ?

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

    9:00 John, what did you mean that selfsigned certificates are vulnerable for man in the middle attacks?
    I ofcourse might be wrong, but the encryption doesn't change (aslong as you do it correctly) only that there is no CA. And pretty much only case where this would be an issue would be in a externally communicating website, but for internal traffic, i dont see the issue with running selfsigned?

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

      Because MiTM uses self signed cert as well, so if you tell ligolo to accept self-signed cert, there's no way to know if it is the self signed from from the ligolo device, or someone doing MiTM.

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

      @@nekkrokvlt ahh so it’s not a diss on self signed certs in general but only in the way that ligolo gets a hold of its cert. Thanks for the response

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

      If you use a self signed cert AND verify its fingerprint, it’s actually safer than trusting a thirdparty. It’s just less convenient (ligolo could make it more convenient by pasting the fingerprint to accept) so this step is often skipped. However, do you fear you get hacked as a hacker? ,)

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

    Nice Video. But in my opinion it is a little to hectic. The cuts look cool, but they are a bit confusing.

  • @Alwso
    @Alwso 10 місяців тому

    So you should have a machine in DMZ to get it works

  • @andreighita8762
    @andreighita8762 11 місяців тому

    What keyboard are you using?

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

    Cool Video 📼
    How I wish these tools were not honeypots developed by Blue Team or the Government 😅 😡🙂😄
    Just stick with the tradition 🤗 you what I mean.
    Cool video Thanks 🎉

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

    Yo I cannot seem to find the premade template.

  • @vnit4security
    @vnit4security 9 місяців тому

    Very nice

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

    Jesus 1 million subs and now we see john for multiple angles in real time

  • @hehefer
    @hehefer 11 місяців тому

    wow john i love u more than i love myself

  • @CandyGramForMongo_
    @CandyGramForMongo_ Рік тому +3

    Oh, don’t advocate for “real” certs. That’s evidence! Self-signed cert is perfect for this application.

  • @QuisUtDeus828
    @QuisUtDeus828 2 місяці тому

    PIVOT
    - Ross Geller

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

    I like this new version videos

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

    You should really look into investing into a teleprompter so that you don't have to keep looking off the camera, in order to keep the audience engaged. Good work!

  • @oscarlavilla7977
    @oscarlavilla7977 2 місяці тому

    i just pivoted into a room with a lot of people crumped up in one place. their shirts have the huge P in their backs

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

    I'm still slightly annoyed that we have to type the tun add and route add commands manually. If ligolo ran as root, which I know it doesn't need to for the proxying, we wouldn't need to type in 3 commands each time and it would be truly automatized

  • @The_Pariah
    @The_Pariah 10 місяців тому

    As some constructive criticism for making your videos better, you should consider moving the monitor you're reading from closer to your camera. Probably underneath or above it.
    As it is now, your eyes are continually darting from the webcam to the screen. You're going back and forth and you lose that seemless effect of talking to the viewer while you're reading.
    Instead, it looks more like you're distracted and you keep looking at something "over there" while trying to address your viewers.

  • @criteriumprovidus4360
    @criteriumprovidus4360 11 місяців тому

    Yeay! Great Ligolo !!! oh wait most computers in a network don't have two NICs unless is a server and servers don't get malware from users clicking an email. So this means that Ligolo CAN"T move laterally. Damn too bad. Too much fanfare for things that almost never happen. Please tell me that I'm wrong!

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

    Anytime you open up a web page on my screen it got all garbage and pixelated like. But no the sponsors Segway worked fine...

  • @bunnyslayer14
    @bunnyslayer14 10 місяців тому

    Thank you, great study material for the comptia sec+ test that I'm studying for

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

    anyone facing this in double pivor ? error: a tunnel is already using this interface name. Please use a different name using the --tun option

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

    Thanks Sir$

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

    Windows will flag ligolo as malicious soon ;p

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

    I need to chat with you. I am in a position I am not sure what to do with. Its all new world to me, but I ended up at the end of it with a mountain of intel and I think I can connect quite a few dots

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

    Make a video about jwt encrypted token as well

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

    Wow this is awesome!! I will try to make it work on the pivoting labs of HTB. Hope this makes it easier. A video like this pivoting and double pivoting on windows environments will be really cool

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

    Credit for the background music in the beginning goes to... ?
    ??

  • @georgehammond867
    @georgehammond867 11 місяців тому

    this thing is very dangerous program!

  • @TonyAsh-rp6fp
    @TonyAsh-rp6fp Рік тому

    Thanks john, I have downloaded adn installed it but you are realy fast explaining. Dont get all how to do properly. May be this video is for intro but if you have time please show us the complete tutorial like attacker machine ---> compromised machine --> then from pivoting how to do just for beginners. I am newbie. Many thanks in advance. Love your previous contents.