I developed a (small) honeypot to catch hackers & bots.

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

КОМЕНТАРІ • 62

  • @collinsinfosec
    @collinsinfosec  3 місяці тому +12

    The commenters have spoken! I will create a crash course on this project. Before I do, I am going to add a few more "advanced" features (as I overviewed at 14:54) to the honeypot, including a small dashboard, tarpit (to trap the skids), and dockerize the application. Stay tuned for a follow-up video and a crash course in the next ~6 weeks.

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

      Grant are you able to hack and return my account?

  • @hexaheximal
    @hexaheximal 3 місяці тому +32

    Small correction: You don't actually need to run the script as root to accept incoming connections on port 22, and you *really* shouldn't. The smarter approach (this is how my personal website is configured, for example) is to have the script and bind to an unprivileged port (e.g. 1234) and then use a firewall like iptables to redirect incoming traffic from the privileged port to the unprivileged port, in this case something like 22 -> 1234

    • @collinsinfosec
      @collinsinfosec  3 місяці тому +11

      Great to know! I was trying to find a way to do this. Now I know.

    • @joopie46614
      @joopie46614 2 місяці тому +2

      You can also change some Linux kernel configs to allow unprivileged users to listen to certain privileged ports, but this way is more secure.

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

      ​@@joopie46614 You *can* do that, but it makes a lot more sense to just change the firewall configuration to set up a port redirect.

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

      You can use netcap for the user or binary.

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

      But having fun is the most important. Worst case your vps provider closes your account, whatever

  • @davido312
    @davido312 3 місяці тому +28

    a crash course on this is something i would definitely tune in to

  • @rollercoaster182
    @rollercoaster182 3 місяці тому +18

    Let's go with the crash course plsss

    • @collinsinfosec
      @collinsinfosec  3 місяці тому +6

      Sounds good! I will make note of this.

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

    Crash course

  • @1337Munkey
    @1337Munkey 3 місяці тому +2

    Another way would be to setup ssh without password and monitor ~/.bash_history and get the ip address from /var/logs/auth.log. Interesting idea though. Great video!!

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

      that's too risky

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

      @@patarisac why so?

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

      @@cvpherhack3r819 Giving a real SSH session makes it easier for attackers to exploit the system. They can also easily clear or remove the .bash_history

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

      @@cvpherhack3r819 you can run any unprivileged command (rm, python3, git, etc) even privileged commands if the hackers find a way to do privilege escalation

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

      @@cvpherhack3r819 if hackers are given a real ssh session, it will increase the attack surface. also, they can easily remove the .bash_history, and we can't monitor what they do.

  • @smnomad9276
    @smnomad9276 3 місяці тому +42

    These are the kind of videos and projects that will set you apart in the job market. You need to have real cyber security projects done that will highlight your skills. Don't get too comfortable in your job you might lose it anytime. Also, stop downplaying your work by saying "small", just directly say honeypot.

  • @vinnys8328
    @vinnys8328 2 місяці тому +1

    This is really cool! Crazy seeing connections coming from all over the world I looked up those IPs on whois China, Argentina, Singapore. Super interesting!

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

      Fun project, going to be building some more advanced features soon.

  • @AndreasWienes
    @AndreasWienes 3 місяці тому +1

    I’ve tried something similar with the T-Pot project a while ago and gathered some interesting insights about the attackers and which infrastructure they use. Maybe you want to give this also a try.

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

    i would love to host this but how would i run this along with sshd so i can actually access my vps? can iptables forward traffic to two ports while only sending one's traffic back?

  • @selvakumaranand7473
    @selvakumaranand7473 Місяць тому

    crash course is highly required

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

    dark mode is cool

  • @TimMyles
    @TimMyles 3 місяці тому +1

    Would love to see more of this please!

  • @ParkerRC
    @ParkerRC 3 місяці тому +1

    Great video Grant!!

  • @miresoman1769
    @miresoman1769 3 місяці тому +2

    Bro your hairline is crying.

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

    Is it legal to malware your honey pot to catch local adversary?

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

    This is very interesting. Especially if you can do anything to the bots

  • @44544abc
    @44544abc 3 місяці тому

    nice video. please more videos on hostinger vps projects. keep it up

  • @cassandradawn780
    @cassandradawn780 3 місяці тому +1

    the backslashes were painful.

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

    Crash course, or something alike.

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

    9:21 test interactiv input is every time most important

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

    Please make a crashcourse on this!

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

    this wallpaper is awesome😍link please !

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

    Crash courseeeeeeeeee! :)

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

    Please Continue this Course

  • @Liam.s
    @Liam.s 3 місяці тому

    would love a crash course this is awesome

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

    you finally woke up!

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

    Crash course please

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

    Wish I will create mine

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

    Crash course

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

    crash course

  • @domsw0rld
    @domsw0rld 3 місяці тому +2

    This video is awesome! The additional project ideas you mentioned could definitely be turned into a fully-fledged application. Well done!

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

      I will take that as a +1 for continuing on with the project!

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

    crash course

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

    Great content

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

    Let’s see that course brother🙌

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

    Sir do you earn 200k dollars a year in USA? Plz reply. Thanks a lot.

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

    crash course

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

      It's on the way. Currently working on "advanced features" this week. Will start crash course development soon.

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

    Hacker du dimanche surtout 😂😹😹😹🙀😂🤡🤡🤡🤏