TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Beat SMEP on Linux with Return-Oriented Programming

35 pointsby coreyrecvloheover 13 years ago

2 comments

jeffreygover 13 years ago
A good paper came out a few years ago that defeats ROP by adding protections to ensure that returns/calls/jumps are only taken if the function was entered at its entry point, and rearranging register allocation if the compiler creates unaligned instructions that can be used to ret/jmp. They say the performance penalty isn't huge, but I guess it must be enough if people aren't implementing it.<p>[1] G-Free: Defeating Return-Oriented Programming through Gadget-less Binaries (<a href="http://iseclab.org/papers/gfree.pdf" rel="nofollow">http://iseclab.org/papers/gfree.pdf</a>)
评论 #3240659 未加载
评论 #3240656 未加载
rwmjover 13 years ago
"kernel symbols hiding" ... I always find that to be funny. Once your code is in kernel space, searching for kernel symbols by name is easy. Proof is in the program I wrote called virt-dmesg which uses heuristics to search for the main symbol table, and also for kallsyms if available<p><a href="http://people.redhat.com/~rjones/virt-dmesg/" rel="nofollow">http://people.redhat.com/~rjones/virt-dmesg/</a>