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
    H

    Hector Marco

    hmarco.org · Personal blog · on HN since 2015

    Hector Marco, a security researcher, publishes write-ups of vulnerabilities in Linux, Grub2, cryptsetup, and ASLR implementations.

    Visit blogHN submissions
    SecurityOpen Source & Linux
    What HN says

    HN links it as the source for the Grub2 backspace authentication bypass and the cryptsetup initrd root shell bug (Enter key held for about 30 presses).

    Stats for nerds
    21HN people shared it
    11linked in comments
    200story points
    May 2025last shared
    2015people per year2025

    Top posts on HN

    1. 1
      Back to 28: Grub2 Authentication 0-Day
      8 people · 106 points · first shared 2015 · 16 comments on HN
    2. 2
      AMD Bulldozer Linux ASLR weakness: Reducing entropy by 87.5%
      1 person · 27 points · first shared 2015 · Discussion on HN
    3. 3
      Linux ASLR mmap weakness: Reducing entropy by half
      1 person · 22 points · first shared 2015 · 7 comments on HN
    4. 4
      CVE-2015-1593 – Linux ASLR integer overflow: Reducing stack entropy by four
      1 person · 20 points · first shared 2015 · 6 comments on HN
    5. 5
      British Airways Entertainment System Chat App Crash (2019)
      1 person · 16 points · first shared 2020 · 12 comments on HN
    6. 6
      CVE-2016-4484: Cryptsetup Initrd Root Shell
      8 people · 9 points · first shared 2016 · 1 comments on HN
    7. 7
      OnTheEffectivness NX SSP RenewSSP and ASLR.pdf
      1 person · first shared 2016

    What HN people wrote when they linked it

    • iheartmemcacheJan 2016

      FYI: If you're comfortable with Gentoo, the jump to Hardened Gentoo[1] is an easy one[2] and gives TrustedBSD[3] a run for its money w/r/t out-of-the-box security. It has the SElinux MAC, role based access controlled stuff from GRsec alternatively [you can mix and match GRsec + SElinux except for RBAC and SElinux's ACL system), grsec's ASLR at runtime, modified versions of musl/uclibc, stack protection support (why anyone would write software that could possibly be EIP exploited with countless ASan damn well integrated into some compilers, I haven't a clue), and a whole host more.

      Some interesting academic work: http://hmarco.org/data/OnTheEffectivness-NX-SSP-RenewSSP-and-ASLR.pdf

      While SSP is not enough, (use PIE too): http://cybersecurity.upv.es/attacks/offset2lib/offset2lib.html

      A fun toy: https://github.com/JhetoX/VectorAttackScanner

      [1]https://wiki.gentoo.org/wiki/Project:Hardened

      [2]https://wiki.gentoo.org/wiki/Hardened/Introduction_to_Hardened_Gentoo

      [3]Granted I haven't used it in ages, it's still the benchmark I use in my mind, back when Linux 2.2 was rife with out-of-the-box ROP vulns.

    • GroxxSep 2023

      On further reading and wondering what some of these terms / tools are: since this is describing a system with un-attended decryption, it seems like it literally requires passwordless access to the disk encryption keys.

      If that re-reading is correct: yeah, there's not much choice but to put all hope in your code + the TPM, since you essentially can't wait for a password. You get what you pay for in that case - no password means no password, so you're inherently vulnerable to exploits like this.

      The linked article, https://hmarco.org/bugs/CVE-2016-4484/CVE-2016-4484_cryptsetup_initrd_shell.html , seems to describe this kind of setup: the exploit gets you root in the boot partition only, but not any encrypted volumes, so encrypted data is still encrypted. An attacker could get access to anything not protected otherwise though, e.g. unencrypted volumes and hardware, which is a potentially big problem for cloud environments but not so much personal device theft (they already have the hardware).

    • RaymonfMar 2018

      "Linux" had a bug in which you could log into a system by pressing backspace 28 times a few years ago. And by Linux, I meant GRUB[1], and in turn, (many) Linux systems.

      We're comparing Linux and Windows, an operating system that contains 3.5 million files[2] (of course, not just the kernel in this case). That isn't really fair. Code is as perfect as humans can make it, and it certainly does not help that there's so much to take into account.

      [1] http://hmarco.org/bugs/CVE-2015-8370-Grub2-authentication-bypass.html

      [2] https://arstechnica.com/gadgets/2018/03/building-windows-4-million-commits-10-million-work-items/

    • lyspNov 2016

      http://hmarco.org/bugs/CVE-2016-4484/CVE-2016-4484_cryptsetup_initrd_shell.html

      If you use Debian, Ubuntu, Fedora and have encrypted the system partition you are potentially vunerable.

      To exploit, reboot server, hold down enter key for 70+ seconds and you'll be dropped into a root shell.

    • theclawJun 2018

      I just looked this up and to save others the time, this was an integer underflow bug in the Grub2 bootloader's password protection[0], not Linux itself. Cool example, though.

      [0] http://hmarco.org/bugs/CVE-2015-8370-Grub2-authentication-bypass.html#exploit

    • ficklepickleDec 2017

      Maybe this[1] one? Hit enter 30 times to get a root initramfs on encrypted, Debian based distros.

      My laptop was vulnerable to this one for quite a while.
      [1] http://hmarco.org/bugs/CVE-2016-4484/CVE-2016-4484_cryptsetup_initrd_shell.html

    Related

    LGTM Bloglgtm.com31 people

    Kernel RCE in iOS/macOS with ICMP

    LGTM Blog
    Company · last shared 2022
    Grsecurity Bloggrsecurity.net83 people

    Important Notice Regarding Public Availability of Stable Patches

    Grsecurity Blog
    Company · last shared 2026
    Andrew Ayeragwa.name60 people

    Sign arbitrary data with your SSH keys

    Andrew Ayer
    Personal · last shared 2026
    GitHub Security Labsecuritylab.github.com47 people

    How to get root on Ubuntu 20.04 by pretending nobody’s /home

    GitHub Security Lab
    Company · last shared 2026
    Qualys Blogblog.qualys.com65 people

    SSL Labs in 2016 and Beyond

    Qualys Blog
    Company · last shared 2026
    ldpreloadldpreload.com34 people

    Finding a kernel regression in half an hour with git bisect run (2018)

    ldpreload
    Personal · last shared 2026
    Matthew Garrettmjg59.dreamwidth.org306 people

    I stayed in a hotel with Android lightswitches and it was as bad as you'd think

    Matthew Garrett
    Personal · last shared 2026
    Tavis Ormandylock.cmpxchg8b.com112 people

    Why are anime catgirls blocking my access to the Linux kernel?

    Tavis Ormandy
    Personal · last shared 2026