Karol Mazurek
2025-06-23

Think RAM forgets? 🤔 Not always. See how secrets can leak, what mitigations exist on major OS like #macOS, #Windows, #Linux, and what devs can do:

afine.com/when-memory-refuses-

2025-05-26

Most #macOS devs often underestimate #Apple #TCC. I used to—until I wrote #malware and hit that wall. TCC is the last line protecting users even after compromise. In my latest post, I explain why vendors should care. Enjoy!

afine.com/threat-of-tcc-bypass

2025-04-22

How a simple #fuzzing payload bypassed entitlement check and triggered a #kernel panic on #macOS in the IOMobileFramebuffer driver. Patched in 15.4. Enjoy!

afine.com/case-study-iomobilef

#RE, #Vulnerability #Research #PoC

2025-03-10

🚀 New blog post! 🚀

"A History of #NULL Pointer Dereferences on macOS." Discover how #Apple's security measures have evolved, making these vulnerabilities unexploitable on modern systems.

Enjoy!
#macOS #Cybersecurity #Vulnerability

afine.com/history-of-null-poin

2025-02-24

This is a short blog post about a cheap #redteam trick I found last year during #phishing assessments to bypass #Outlook spam filters and deliver links to malicious #ISO files. #Microsoft does not want to patch it, so it is good to be aware of it:
afine.com/bypassing-spam-filte
Enjoy!

2025-02-12

🚀 New blog post! 🚀

Deep dive into a #macOS IONVMeFamily #driver Denial of Service issue! It is not a security risk but a great case study for macOS driver analysis.🕵️‍♂️

Enjoy!
#RE #Vulnerability #Research #Kernel #Fuzzing #PoC

afine.com/case-study-analyzing

2025-01-30

Georgia Tech and Ruhr University Bochum researchers have uncovered new side-channel attacks on #Apple Silicon. My latest blog post briefly introduces these #vulnerabilities along with links to the full #research papers. Check it out to learn more:

afine.com/slap-flop-apple-sili

2025-01-22

Task Injection on macOS
🔍 Dive into how attackers can leverage Task Ports for process code injection. Learn security rules, lldb & debugserver mechanics, and some red tricks!
#macOS #Cybersecurity #TaskInjection #InfoSec

Enjoy & read it now here:
afine.com/task-injection-on-ma

2024-12-30

Fortunately, I managed to finish a core of the series this yearđź’Ş Here we have an introduction to #Apple #macOS hybrid #kernel #XNU: info about #Mach and #BSD integration, #security features, and #debugging techniques. I wish you all a Happy New Year!

karol-mazurek.medium.com/snake

2024-12-25

Deep dive into #Apple #macOS #drivers: Explore #IOKit and #BSD internals. Understand driver types and #kernel interfaces. Includes practical #RE techniques with #code examples. Enjoy and Merry Christmas!🎄
karol-mazurek.medium.com/drive

2024-12-21

Fresh article on how to build, #RE, #debug, and #recon #XPC services on #macOS with an #XCode #Programming walkthrough (#C and #NSXPC APIs). Plus actual #debugging tips with #LLDB. If you are into #macOS/#iOS, this one's for you - #code included.
Enjoy!

karol-mazurek.medium.com/xpc-p

2024-12-17

Just published an article on #Mach #IPC #security in #macOS: diving deep into how #XNU handles inter-process communication. Inside, you'll find detailed #RE techniques, #task port security analysis, and practical IPC #recon approaches. Enjoy!

karol-mazurek.medium.com/mach-

2024-12-08

I just published an article about #macOS #Kernel Extensions where you can find info about every #security barrier that makes it hard for #malware to just load kext and gain kernel-level code execution.

Enjoy!
karol-mazurek.medium.com/kerne

2024-11-28

Learn how #macOS enforces security with the Mandatory Access Control Framework (#MACF). Dive into #policy modules, #hooks, #syscalls, kernel events, and more. Explore detailed insights into #Apple’s robust security model. Enjoy!

karol-mazurek.medium.com/macf-

2024-11-24

This article explains how #macOS handles #exceptions on #Apple Silicon (#arm64), transitions between #user - #kernel mode, dives into #syscalls, #interrupts, and fault handling details, and includes a breakdown with a visual Exception Handling Map. Enjoy!
karol-mazurek.medium.com/excep

2024-11-19

I was featured in @pagedout_zine on pages 22 and 47, but I encourage you to read the entire magazine—it's filled with fantastic work and incredible people! Catch it in Issue #5: pagedout.institute/

2024-11-15

What started as a simple #bug led me deep into the mysteries of #Unix #symlinks, #firmlinks, and other nuances of the #filesystem. Grateful to @gergely_kalman for the nudge! This one’s full of #python #UnixTips #macOS magic. Enjoy reading!
karol-mazurek.medium.com/fixin

2024-11-12

I just published Snake&Apple IX, diving into #Apple #TCC (#Transparency, #Consent, and #Control) on #macOS! This article covers how TCC enforces privacy protections for user data, exploring its daemons, databases, permissions dialogs, and entitlements.

karol-mazurek.medium.com/snake

2024-11-07

Last year, I created a tool to identify #MachO binaries on #Apple #macOS. Recently, I got feedback from

@patrickwardle, @gergely_kalman, and @yo_yo_yo_jboon suggesting optimizations: x.com/karmaz95/status/18515598

Here’s an article detailing my improvements: karol-mazurek.medium.com/optim

2024-10-30

This short post is about identifying all executables on your #Apple #MacOS, finding their UUIDs, and creating such a #UUID database. It introduces a new tool called #UUIDFinder. Enjoy!

karol-mazurek.medium.com/apple

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst