• z3bra@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    25
    ·
    7 months ago

    endlessh was pretty cool and a more modern version is even better ! I’ll give it a shot !

    On a side note, I found a way to trap HTTP connections too while working on my cyb.farm project. The go implementation is ridiculously simple: tarpit.go. It works by providing an endless stream of custom headers to the client, which it is supposed to ingest before getting to the content itself.

  • krash@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    ·
    7 months ago

    Perfect timing since endlesssh isn’t actively developed anymore.

  • imPastaSyndrome@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 months ago

    I’m not sure what this is other than what seems to be a black hole for bots… But can you use it defensively?

    • skilltheamps@feddit.de
      link
      fedilink
      English
      arrow-up
      16
      ·
      7 months ago

      A colleague of mine had a (non externally reachable) raspberry pi with default credentials being hijacked for a botnet by a infected windows computer in the home network. I guess you’ll always have people come over with their devices you do not know the security condition of. So I’ve started to consider the home network insecure too, and one of the things I want to set up is an internal ssh honeypot with notifications, so that I get informed about devices trying to hijack others. So for this purpose that tool seems a possibilty, hopefully it is possible to set up some monitoring and notification via uptime kuma.

      • imPastaSyndrome@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        7 months ago

        Yeah I have a Linux server that is constantly being hit by SSH requests and bad password requests… So if I could redirect them to this black hole thing I’d love that. But I really Don’t understand how I could do that without destroying being able to connect to the website? Honestly I should make it so I can only SSH in via my local network since I never do it from the outside network anyway… I maybe just make a SSH key pair…

        Promise I don’t really know much about security and the real problem is securities only ever something that people care about when it’s too late. Ugh

        • skilltheamps@feddit.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          Well you must have either set up a port redirect (ipv4) or opened the port for external traffic (ipv6) yourself. It is not reachable by default as home routers put a NAT between the internet and your devices, or in the case of ipv6 they block any requests. So (unless you have a very exotic and unsafe router) just uhhh don’t 😅 To serve websites it is enough to open 443 for https, and possibly 80 for http if you want to serve an automatic redirect to https.

    • Supermariofan67@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 months ago

      It’s useful for security researchers to collect and analyze what the newest attack bots are trying to do, in order to learn how to defend against it and study the malware they drop. There are some cool videos on YouTube about decompiling malware dropped by the bots.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    HTTP Hypertext Transfer Protocol, the Web
    NAT Network Address Translation
    SSH Secure Shell for remote terminal access

    [Thread #641 for this sub, first seen 30th Mar 2024, 17:25] [FAQ] [Full list] [Contact] [Source code]