08Tc3wBB Profile picture
26 Feb, 8 tweets, 2 min read
macOS Big Sur 11.2.1 (Also affect the latest 11.2.2) root privilege escalation demo on M1 MacBook. #M1 #ARM64 #BugBounty #Hacking
Some security highlights about M1 and macOS 11:
1. It's difficult to achieve kernel code execution with Kernel PAC that comes with the M1 chip.
2. Important kernel variables such as csr_config that directly affect CSR/SIP policies are now stored in the read-only segment.
Just as kernel code, they are protected by KTRR/CTRR from being modified even after the attacker gain kernel R/W ability. Intel-based Macs do not have this security feature. Read pmap.c and arm_vm_init.c to learn more.
3. AuxKC prevents attackers from loading custom kexts immediately after the kernel is exploited. The custom kext gives attackers the ability to deploy an advanced and undetectable payload.
According to Apple Platform Security PDF. Starting with macOS 11, kext can't be loaded into the kernel on demand without an occurrence of a system reboot. which was not needed in the past.
4. APFS snapshot, more steps are needed to modify the root file system.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with 08Tc3wBB

08Tc3wBB Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!