I’ve read an article which describes how to simulate the close ports as open in Linux by eBPF. That is, an outside port scanner, malicious actor, will get tricked to observe that some ports, or all of them, are open, whereas in reality they’ll be closed.

How could this be useful for the owner of a server? Wouldn’t it be better to pretend otherwise: open port -> closed?

  • sapporo@sopuli.xyzOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    25 days ago

    Ok, back to this then:

    If everything reports open then what ports do you focus on first?

    I don’t see an issue here. An attacker would be overwhemed with choise and excitement so that he wouldn’t be able to decide which port to choose first, get stuck for a several months unable to decide? He’d toss a coin then.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      25 days ago

      Its costs him time - which is the point. They would have to do more detailed checks on every port which costs them time. Attackers are typically scanning loads of ports over large ranges of IPs, any small slow down on each can drastically slow down their overall progress making the attack less feasible and more expensive to undertake.

      • sapporo@sopuli.xyzOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        25 days ago

        but an attacker isn’t obliged to take on all the open ports, he could work with some of them - the ones that may seem the most interesting to him