AbnormalLemmings
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
udunadan@infosec.pubM to Exploit Development@infosec.pubEnglish · 2 years ago

prctl anon_vma_name: An Amusing Linux Kernel Heap Spray

starlabs.sg

external-link
message-square
0
link
fedilink
1
external-link

prctl anon_vma_name: An Amusing Linux Kernel Heap Spray

starlabs.sg

udunadan@infosec.pubM to Exploit Development@infosec.pubEnglish · 2 years ago
message-square
0
link
fedilink
TLDR prctl PR_SET_VMA (PR_SET_VMA_ANON_NAME) can be used as a (possibly new!) heap spray method targeting the kmalloc-8 to kmalloc-96 caches. The sprayed object, anon_vma_name, is dynamically sized, and can range from larger than 4 bytes to a maximum of 84 bytes. The object can be easily allocated and freed via the prctl syscall, and leaked information can be obtained via reading the proc/pid/maps file. The advantage of this method is that it does not require a cross-cache attack from cg/other caches (unlike other objects such as msg_msg) as anon_vma_name is allocated with the GFP_KERNEL flag.
alert-triangle
You must log in or register to comment.

Exploit Development@infosec.pub

exploitdev@infosec.pub

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !exploitdev@infosec.pub

A curated community dedicated to strictly technical materials about vulnerability research, exploit development and reverse engineering.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 4 users / 6 months
  • 1 local subscriber
  • 458 subscribers
  • 50 Posts
  • 0 Comments
  • Modlog
  • mods:
  • udunadan@infosec.pub
  • UI: unknown version
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org