Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    M

    Michael Rash

    cipherdyne.org · Personal blog · on HN since 2012

    Michael Rash writes about network security, mainly fwknop, Single Packet Authorization, port knocking, and fuzzing tools.

    Visit blogHN submissions
    SecurityNetworking
    What HN says

    Commenters point to fwknop as an improvement over port knocking, noting that plain knocking is vulnerable to replay attacks.

    Stats for nerds
    27HN people shared it
    8linked in comments
    52story points
    Aug 2024last shared
    2012people per year2024

    Top posts on HN

    1. 1
      RAM Disks and Saving Your SSD from AFL Fuzzing
      1 person · 25 points · first shared 2014 · 12 comments on HN
    2. 2
      Fwknop: Single Packet Authorization and Port Knocking
      17 people · 21 points · first shared 2012 · 3 comments on HN
    3. 3
      Port Knocking: Why You Should Give It Another Look
      2 people · 2 points · first shared 2013 · Discussion on HN
    4. 4
      NAT and Single Packet Authorization
      1 person · 2 points · first shared 2015 · Discussion on HN
    5. 5
      Speaking of obscurity as a security layer
      2 people · 1 points · first shared 2014 · Discussion on HN
    6. 6
      A alternative to truecrypt
      1 person · 1 points · first shared 2014 · 1 comments on HN
    7. 7
      SPA
      3 people · first shared 2019
    8. 8
      Faq
      1 person · first shared 2013
    9. 9
      Fwsnort
      1 person · first shared 2012
    10. 10
      Download
      1 person · first shared 2023

    What HN people wrote when they linked it

    • jimmyjimApr 2012

      I knew someone would raise an issue there.

      If you're that concerned about security, there are a handful of additional things you can do:

      * Use a non-standard ssh port

      * Disable root ssh login

      * Configure 'Single Packet Authorization and Port Knocking' -- http://www.cipherdyne.org/fwknop/

      * Have decent iptables rules. Use either fail2ban or denyhosts with stringent rules, if you must, that ban on 3+ failed logins.

      * Have a whitelist of acceptable IP's for ssh access

      * Use any system of 2-factor authentication. I'm partial to Google's Authenticator. Here're some directions to get that set up, if anyone is interested: http://guides.webbynode.com/articles/security/ubuntu-google-authenticator.html

      But seriously, if you have keys set up and someone manages to steal them... you've really got bigger things you should be focusing on.

    • DEADMINCEJul 2024

      > I don't use port-knocking but I really just don't get all those saying: "It's security theater".

      It's not security theater but it's kind of outdated. Single Packet Authentication[0] is a significant improvement.

      > How many exploits rendered cold dead in their tracks by port-knocking shall we need before people stop saying port-knocking is security theater?

      Port knocking is one layer, but it shouldn't be the only one, or even a heavily relied upon one. Plenty of people might be in a position to see the sequence of ports you knock, for example.

      Personally, I think if more people bothered to learn tools like SELinux instead of disabling it due to laziness or fear, that is what would stop most exploits dead. Containers are the middleground everyone attached to instead, though.

      [0] https://www.cipherdyne.org/fwknop/docs/SPA.html

    • akerl_Jun 2014

      Exactly what fail2ban needed: a web UI for people to exploit.

      If I could eliminate any Linux service, it would probably be fail2ban. As an SSH security measure, it's more than useless. If your SSH credentials can be brute forced, that's the problem, and it's easy to fix. Fail2ban just gives somebody a way to lock you out of your own system or to pin a core on your system by overloading it.

      If you're trying to add security layers to SSH, here are some suggestions for doing so:

      * fwknop (http://www.cipherdyne.org/fwknop/) -- Single Packet Auth based on GPG

      * google_authenticator (https://code.google.com/p/google-authenticator/) -- PAM support for TOTP

      * knockknock (https://github.com/moxie0/knockknock) -- Single Packet Auth using symmetric encryption

    • dbarlettJun 2012

      Normally, mod_security parses incoming traffic and blocks suspicious activity based on third-party rules [1]. Since you're using Squid, you can monitor outgoing traffic instead. Malicious traffic would get dropped instead of being proxied. Since you control the source servers, you could tarpit and/or ban the user.

      Snort + Snortsam [2] or fwsnort [3] would do the same thing for non-HTTP traffic.

      [1] https://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project
      [2] http://www.snortsam.net
      [3] http://cipherdyne.org/fwsnort/

    • nikolayMar 2016

      Just like most similar tools, this lacks indices. For example, if you use ASGs (Auto Scaling Groups), all instances would have the same name tag, so, you need to be able to specify an index if there are multiple instances under the same name.

      Edit 1: Created an issue [0] already.

      Edit 2: Added a request [1] to integrate fwknop [2] for full automation and better security.

      [0]: https://github.com/mikery/ssh2ec2/issues/1

      [1]: https://github.com/mikery/ssh2ec2/issues/2

      [2]: http://www.cipherdyne.org/fwknop/

    • oneruMay 2016

      <shameless_plug>
      Check out fwknop, https://www.cipherdyne.org/fwknop/
      It's one solution to this problem. Instead of answering with garbage, it allows for keeping the firewall closed/default drop stance. It's port knocking, but with real cryptography instead of just relying on hitting port numbers, and does it with just a single packet.
      </shameless_plug>
      Full disclosure: I'm one of the Fwknop devs.

    Related

    Naked Securitynakedsecurity.sophos.com740 people

    Serious Chrome zero-day

    Naked Security
    Company · last shared 2023
    Evan Klitzkeeklitzke.org47 people

    The cult of dd (2017)

    Evan Klitzke
    Personal · last shared 2024
    APNIC Blogblog.apnic.net253 people

    Internet protocols are changing

    APNIC Blog
    Company · last shared 2026
    Michael Stapelbergmichael.stapelberg.ch88 people

    My upgrade to 25 Gbit/s Fiber To The Home

    Michael Stapelberg
    Personal · last shared 2026
    Peter Hansteenbsdly.blogspot.com54 people

    OpenBSD and the modern laptop

    Peter Hansteen
    Personal · last shared 2026
    Daniel Miesslerdanielmiessler.com241 people

    It’s Time to Get Back to RSS

    Daniel Miessler
    Personal · last shared 2026
    The Grugqgrugq.github.io55 people

    Anonymity Is Hard

    The Grugq
    Personal · last shared 2026
    Errata Securityblog.erratasec.com357 people

    Extracting the SuperFish certificate

    Errata Security
    Personal · last shared 2025