Publications
I mainly write about Apple and notarization, cryptography — lately post-quantum cryptography, but also the maths behind it — and hacking. On Killing Technology I also write about cypherpunk and cyberpunk in general, but there the matter is much broader: I write whatever the heck I want there.
Websites where I post (kind of) regularly
- RevEng3 — engineering reverse engineering. The serious one.
- Killing Technology — security plans are not easy to find. That's my generation: the non-sense time.
Publications
Apple and notarization
- Notarization analysis of a minimal Mach-O binary - September 2026 — Zenodo
- Swift closures/Foundations - March 16, 2023 - Old RevEng3 Blog
A tour of Swift closures: closures as variables and constants, parameter and return-type syntax, type inference and its limits, the $0/$1 shorthand, passing closures as function arguments and returning them, and trailing closure syntax.
Hacking
- The reverse connect shell - May 1, 2022 - Old RevEng3 Blog
A 79-byte reverse shell for macOS x86-64: socket, dup2 onto the three standard streams, connect back to 127.0.0.1:1234, then execve. Shows how the whole sockaddr_in — family, port and address — is packed into a single immediate and recovered with not to keep the payload null-byte free, cross-checked across lldb and Hopper. Last in a four-part series. - Binding a shell - April 25, 2022 - Old RevEng3 Blog
A 91-byte bind shell for macOS x86-64: socket, bind, listen, accept, dup2 onto stdin/stdout/stderr, then execve. Includes reverse-engineering sockaddr_in from the XNU headers to derive its 16-byte size, and a block-by-block check that the opcodes are null-byte free. Traced in lldb. Third in a four-part series. - Some more shellcode - April 11, 2022 - Old RevEng3 Blog
Passing arguments to a shellcode: a 43-byte macOS x86-64 payload that runs an arbitrary command through /bin/sh -c, built with the jmp/call trick to get the string's address onto the stack. Static analysis with file, strings and objdump, then traced in Hopper. Second in a four-part series. - Come Taste some shellcode - April 7, 2022 - Old RevEng3 Blog
Disassembling a 26-byte macOS x86-64 shellcode that spawns /bin/sh: syscall numbers fromsyscalls.master, theexecveregister convention, and avoiding null bytes — traced inlldb.