Network Intrusion Detection with Suricata

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

КОМЕНТАРІ • 67

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

    Follow-up video with options for visualising threats from Suricata data: ua-cam.com/video/KWEWU_pItyg/v-deo.html

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

    Antes de que termine de ver el video te quiero decir que me serviste de mucho para poder terminar mi tesis, muchas gracias buen hombre por el video.

  • @mdaverde
    @mdaverde 2 роки тому +2

    I'm also interested in more Suricata content. It'd also be cool to see a comparison against other techniques such as plain firewall management or cloud options. Thanks for this!

    • @ProTechShow
      @ProTechShow  2 роки тому +1

      Thanks!

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

  • @luckbeforeleap
    @luckbeforeleap 2 роки тому +1

    Great video and Yes to a follow up for visualisation of the data

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

      Thanks!

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

  • @Music-yx9uv
    @Music-yx9uv 15 годин тому

    Thanks for the video! Also, where are you from? You have a very interesting accent :)

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

    For me the crontab was an excellent addition. I also appreciate your information on switches. I'll definitely subscribe to your channel.

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

    Yes. Let's collect the data and do something pretty!

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

      Sounds like I'll need to make a follow-up!

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

  • @chinnoo.5400
    @chinnoo.5400 3 місяці тому

    how do you configure suricata as a true IPS? Mirroring mode serves as an IDS. How do we get Suricata to act as a gateway and forward traffic outbound.

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

    Nice video.. awaiting the follow-up desperately to visualize it in better way. goodluck

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

      Thanks!

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

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

    How to get traffic from loopback as im running my own script to test detection

  • @toasted669
    @toasted669 2 роки тому +1

    Graphs for the win

    • @ProTechShow
      @ProTechShow  2 роки тому +1

      Everybody loves a graph 😉

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

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

    Nice work, set this up awhile ago but never turned it on because I hate sifting through logs lol

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

      Thanks. I know what you mean - logs are difficult to get excited about. Once it's tweaked to reduce false positives you can feed it into a security platform and have it email you when there's something to worry about.

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

    Please make a video where you integrate the logs with something shiny. I’m using pfelk but would love to see other methods for monitoring and alerting

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

      I'll add it to the list, thanks!

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

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

      @@ProTechShow nice thank you for the follow up. Much appreciated

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

    So if you have Suricata running on a physical device separate from your router, you would want the port to mirror your WAN port?

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

      It depends what you want to monitor. If it's just traffic to/from the internet then the LAN side of your router may be a better choice. If you're using NAT then the WAN side will show outbound traffic from your router's public IP rather than your internal hosts, and you'll probably pick up a ton of alerts from random internet-based port scans and the like bouncing off your firewall. The LAN side should be quieter, showing only traffic that made it though your firewall, and with recognisable internal IPs.
      You don't have to use it just for internet traffic, though. If you forward ports from your internal network it can pick up on insecure LAN traffic (e.g. credentials passed around in plaintext) and indicators of lateral movement between hosts.

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

    Great video it’s spiked my interest, I run 8 vlans at home (main, guest, phones, cctv, iot with internet, iot without internet, lab and internet via subnet vpn) looking if I can get the switch to port mirror with the vlans intact. All but home assistant servers are Ubuntu 22.04 and have interfaces on all vlans. Particularly for pi hole and Bonjour gateways. I would really like to see the link to more human friendly graphics. I feel a project coming on :-)

    • @ProTechShow
      @ProTechShow  2 роки тому +1

      That's an impressive number of VLANs for a home network!

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

      @@ProTechShow it works remarkably well and don’t even think about it normally. Btw for the network that have wireless access the ssids and the documentation each vlan/subnet is named after a planet in the solar system.

    • @ProTechShow
      @ProTechShow  2 роки тому +1

      @@marksterling8286 that brings back a memory. One of our guys was onboarding a customer several years ago who named servers after planets, and he needed access to a particular server. Cue the question "Dave, can you let me into Uranus, please?" being asked loudly across the office before he realised what it sounded like!

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

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

    after i entered the " suricata-update enable-source et/open , my output is Failed to create directory , and its permission denied /var/lib/suricata/update
    How do i solve this ?

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

      Prefix the command with "sudo" to elevate your permissons

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

      THANK YOUU @@ProTechShow

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

      how do i use hyper V on rocky and do i need to download it ?@@ProTechShow

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

      im using virtualbox , where do i need to install hyper v , is it on rocky or windows ?@@ProTechShow

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

      Hyper-V is the Windows hypervisor. You enable it as a role after installing Windows. Usually (unless testing something), you want to run it on bare metal.
      The equivalent for Rocky Linux would be KVM.

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

    please show us a follow up I am in a real need for that. Thanks

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

      I'll add it to the list!

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

      I've released a follow-up that introduces a few options for visualisations and analytics: ua-cam.com/video/KWEWU_pItyg/v-deo.html

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

    Can we implement pfsense firewall and surricata together ?

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

      Yes. Although I don't use it myself, Suricata is available as a package for pfSense. Have a search in the package manager after installing pfSense.

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

      @@ProTechShow thanks !!!

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

    How do I get suricata alerts sent to me via email on OPNsense?

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

      I haven't got a copy of OPNsense installed at the moment to check. I'm running Suricata standalone and feeding its alerts to Wazuh, with Wazuh doing the alerting.

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

    So what happens for sites with TLS encryption?

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

      More than you might initially expect. It can't see through the encryption, but it can see the DNS request, the layer 4 stuff like IP address you're connecting to and protocol used, and the TLS handshake from which it can get the hostname requested via SNI, details of the server's TLS certificate, indications of attempted TLS exploits like POODLE, etc.
      It can't read the data once the TLS session is established, but it has a pretty good idea who you're talking to, so it can alert you that a device on your network is communicating with a website known to act as a command and control server for a particular family of malware, or with a website whose TLS certificate was issued by a certificate authority with loose standards that is known to be used by bad actors, etc.

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

    Thank you.... good video...

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

    What's a free SEIM I can use?

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

      "Free" SIEM tools usually require a lot of manual effort as they're very light on correlation rules and threat intelligence compared to paid tools (essentially, you pay for the threat data, not the tool). If you're willing to put the effort in, Wazuh or Elasticsearch are probably your best free options. OSSIM is another one if you don't need to keep the logs for a long period, but if it's for professional use that would normally rule it out.

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

    If the Windows edition uses a GUI then I'd prefer that 🤣

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

      Well, the installer does... but you probably need to install WinPcap separately as well, and then it's over to text files and command line to configure/use it. Personally, I think it will be less user-friendly - especially if you hit a problem and need to Google it!
      Typically, you have Suricata running invisibly in the background and you surface the data in a separate visualisation tool that is likely pulling information from a number of other sources as well. If people want it I'll cover that in a later video. If you want something that will give you a GUI to use straight out of the box you're not after Suricata itself but a security product that has already integrated Suricata. I'll try and test a few free ones before I make a follow-up so I can include a "if you can't be bothered with this integration stuff, here's an easy option" alternative.

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

      Not quite what you were asking for; but I've released a follow-up that introduces a few options for visualisations and analytics, and I give a brief mention to IDSTower at the end which isn't really the focus of the video but does provide a web interface for installing and configuring Suricata: ua-cam.com/video/KWEWU_pItyg/v-deo.html

  • @TomNook.
    @TomNook. 2 роки тому

    I do love my GUIs

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

      Too much CLI for me

    • @ProTechShow
      @ProTechShow  2 роки тому +1

      I used to work with a guy whose catchphrase was "Where there's a wizard there's a way!"
      (Referring to the "next, next, finish" type of wizard, not the Gandalf type... do people still call those wizards?)

    • @TomNook.
      @TomNook. 2 роки тому

      @@ProTechShow Software use "Setup Assistant" nowadays. I prefer wizards though!

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

      "Where there's a setup assistant there's a way" just doesnt have the same ring to it...

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

      I've released a follow-up that introduces a few options for visualisations and analytics. There's also a brief mention of IDSTower at the end which isn't for visualising data, but does let you install Suricata using a web interface instead of command line: ua-cam.com/video/KWEWU_pItyg/v-deo.html

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

    sudo apt install -y software-properties-common
    sudo add-apt-repository ppa:oisf/suricata-stable
    sudo apt update -y
    sudo apt install -y suricata

    • @ProTechShow
      @ProTechShow  2 роки тому +2

      I'm surprised I didn't have to fish this comment out of the bin. UA-cam usually blocks anything that looks like it contains commands or code, and I have to go through and unblock them. Maybe it's because you said "sudo". 😆