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
    S

    Siguza

    siguza.github.io · Personal blog · on HN since 2017

    Siguza writes technical analyses of Apple platform security, including iOS kernel mitigations, sandbox escapes and arm64 hardware features.

    Visit blogHN submissions
    SecurityMobile & Apple
    What HN says

    HN commenters cite it for explanations of KTRR and Psychic Paper, and to back up points about Apple hardware mitigations and Arm speculation bugs.

    Stats for nerds
    21HN people shared it
    9linked in comments
    753story points
    Jul 2023last shared
    2018people per year2023

    Top posts on HN

    1. 1
      IOHIDeous OS X Local Kernel Vulnerability
      2 people · 497 points · first shared 2017 · 112 comments on HN
    2. 2
      Psychic Paper: iOS Sandbox Escape
      9 people · 241 points · first shared 2020 · 56 comments on HN
    3. 3
      Apple Fixes an Interesting iOS Kernel Bug
      1 person · 6 points · first shared 2020 · Discussion on HN
    4. 4
      KTRR (Apple A10 Kernel Memory Protection) (2018)
      4 people · 4 points · first shared 2018 · Discussion on HN
    5. 5
      APRR: Of Apple Hardware Secrets
      4 people · 4 points · first shared 2019 · Discussion on HN
    6. 6
      Execute-only pages vs. PAN (privileged access never) on arm64
      3 people · 1 points · first shared 2020 · Discussion on HN

    What HN people wrote when they linked it

    • rovoloMay 2020

      1) You wrote a general CSV input parser, but what about someone writing CSV output? The obvious way (write a ',' between each cell and a '\n' between each row) works most of the time, but it doesn't always work. The output needs to be escaped correctly, and data escaping should be well tested. I think the issue is that CSV sounds very easy to implement, but most naive implementations will be wrong.

      2) You took on exactly the responsibilities the article author said you'd have to take on. Based on the screenshots for your "Strukt" application, it looks like the user controls configuration/validation for parsing CSV and they will fix any issues with parsing the CSV file themselves.

      > If a supplied CSV is arbitrary, the only real way to make sure the data is correct is for an user to check it and eventually specify the delimiter, quoting rule,… Barring that you may end up with a error or worse silently corrupted data.

      3) I think the better question is, how do you handle malformed CSV? Is your error correction as robust as Ruby's? Do you handle malformed CSV the same way as other libraries? If it's handled differently by different parsers, you can run into issues like Apple recently did [0]

      [0] https://siguza.github.io/psychicpaper/

    • dev_tty01May 2021

      Yes, you are right that they allow their own JIT. Their position would be that they spend a great deal of time hardening that JIT and don't trust others to take that time. Their JIT isn't perfect of course, but they control it and can fix it fast if needed. (In their opinion.) They are really saying that they aren't willing to take the time to exhaustively test other JITs. That is a frustrating choice, but I do understand the thinking.

      You raise the bigger point. Is there no way for their platform sandbox to handle the concerns? That is a great question.

      >Plus, it’s not like normal code doesn’t have buffer overflows or other security issues.

      I think normal code on an M1 only runs in rx memory blocks [0,1], so no buffer overflow attacks. At least not without another attack to remap the blocks. This might go back to A12 processors. M1 strengthened the model.

      Perhaps with these newer processors, the hardware support can harden the sandbox enough to allow more flexibility. One can hope...

      [0] https://blog.svenpeter.dev/posts/m1_sprr_gxf/
      [1] https://siguza.github.io/APRR/

    • g_pAug 2021

      To truly open up iOS, by my understanding, Apple would need to remove the requirement for notarisation of binaries. This would mean they'd also need to sort out their entitlements system, given an app can use entitlements to say it isn't sandboxed. That was the root cause of a recent exploit, where differing parsing logic allowed an app to get signed while declared as unsandboxed. (https://siguza.github.io/psychicpaper/)

      One approach could be to namespace installed apps based on the store ecosystem which installed them. Assuming platform level permissions for access to user data are enforced by the platform and can't be worked around via the manifest file, this would ensure apps can't move around outside of their "store" sandbox and access the data of other apps.

      More ideally, Apple would move away from signing a plist that gives an app special access, towards the user prompts like those for contacts access etc. And where possible, use portals to give granular access to selected resources like photos (or selected contacts).

    • IknowsecurityJan 2018

      Regarding IOHIDFamily: An application may be able to execute arbitrary code with kernel privilege

      I found this: https://siguza.github.io/IOHIDeous/
      that was published Dec 31.

      It took Apple 23 days since it was public before they released a fix.

      > The exploit accompanying this write-up consists of three parts:

      > poc (make poc)
      Targets all macOS versions, crashes the kernel to prove the existence of a memory corruption.

      > leak (make leak)
      Targets High Sierra, just to prove that no separate KASLR leak is needed.

      > hid (make hid)
      Targets Sierra and High Sierra (up to 10.13.1, see README), achieves full kernel r/w and disables SIP to prove that the vulnerability can be exploited by any unprivileged user on all recent versions of macOS [!!!!!!!!!]

    • svenpeterJul 2021

      Usually, once you can run code in kernel mode it’s just a matter of bringing the hardware back to a sane state.

      Unfortunately, “just” running code in kernel mode is incredibly hard on the iPad. There’s e.g. a hardware mitigation that turns a memory region to read-only and also only allows kernel code to run from this region. This mitigation is locked down and cannot be disabled once XNU is running on the iPad (http://siguza.github.io/KTRR/).

      On top of that page tables are also protected by a “kernel within the kernel” (https://blog.svenpeter.dev/posts/m1_sprr_gxf)

      Getting past all that is going to be very hard if not impossible.

    • fragmedeMay 2020

      Dev mode is still limited and doesn't grant root access to the device. In dev mode there's still an app certificate, and Apple still signs it, and still prohibits escaping the app sandbox. There are also JIT specific entitlements to allow an app to dynamically load or generate code. Without those, it's unclear how feasible a developer-signed version of Firefox on iOS is.

      https://siguza.github.io/psychicpaper/ is a recent writeup that includes more details on (escaping) the limitations.

    Related

    Saar Amarsaaramar.github.io18 people

    Introduction to Firebloom (iBoot)

    Saar Amar
    Personal · last shared 2026
    Project Zerogoogleprojectzero.blogspot.com550 people

    Reading privileged memory with a side-channel

    Project Zero
    Company · last shared 2025
    Apple Security Research Blogsecurity.apple.com179 people

    Private Cloud Compute: A new frontier for AI privacy in the cloud

    Apple Security Research Blog
    Company · last shared 2026
    WebKit Blogwebkit.org723 people

    Face ID and Touch ID for the Web

    WebKit Blog
    Company · last shared 2026
    Datadog Security Labssecuritylabs.datadoghq.com29 people

    Investigating a backdoored PyPI package targeting FastAPI applications

    Datadog Security Labs
    Company · last shared 2026
    Talos Intelligence Blogtalosintelligence.com27 people

    CVE-2016-4631 APPLE IMAGE I/O API TILED TIFF REMOTE CODE EXECUTION VULNERABILITY

    Talos Intelligence Blog
    Company · last shared 2023
    Put.asreverse.put.as49 people

    Abusing Go's Infrastructure

    Put.as
    Personal · last shared 2025
    Landon Fullerlandonf.bikemonkey.org22 people

    iOS Static Libraries Are, Like, Really Bad

    Landon Fuller
    Personal · last shared 2019