So "magic based off a callee's prototype" being used for the check isn't clearly the basis for type-based CFI to you, got it. What else could it possibly be I wonder? It's too bad you can't be honest/sensible with something as clear as this, no wonder you're not taken seriously.
2
3
You match based on function prototypes for the returns which is a massive over-approximation and, for the majority of applications, not a strong defense. You don't mention anything about the forward edge as it gets more complicated. (But I've told you this before...) 🙃
1
4
Is there a RAP paper/implementation somewhere? I suspect there would be more citations and acknowledgment if RAP was more discoverable to those doing research in the field.
2
7
RAP works, which is more than I can say for a good number of academia papers. There is a public presentation (RAP: RIP ROP) and source. I doubt anyone today can claim to do CFI research and not know about it.
1
3
10
Yeah, the presentation was mentioned a couple of times but it is incredibly sparse and lacks, e.g., target set discussions and other details. Most CFI academics know RAP but it's hard to evaluate/compare without details/specification
2
2
(I have long ago stopped following this -imo useful, if heated - discussion -- but afaik grsec ships RAP? So at least in theory asking would be possible? Apologies for intruding into the thread from the sidelines with dangerous half-knowledge).
1
3
I really didn't want to enter the heated part, was just pointing out that RAP is likely well known at this point in academia :)
1
1
I sincerely doubt it. I myself get a paywall when trying to get the RAP kernel patches. Where is the public version? Its hard to find. If @paxteam wants RAP to become a mainstream academic reference, they should release a PoC code for public evaluation and write a detailed paper.
2
1
So, I've set out to evaluate RAP this morning, comparing RAP with LLVM-CFI. I've searched for the RAP download for 30min but did not find an open (or even binary) version of the RAP gcc plugin for user-space.
4
2
GIF
Note that I found github.com/hardenedlinux/RAP… which does not contain any readme, installation notes, or information. I tried for 90min to compile and use the binary but ran into several issues. This is as much as I'll try to reverse engineer a broken implementation 🙃
1
1
next time perhaps try, i don't know, the project's homepage for a change? or just email the author if google fails you?
Dec 21, 2018 · 12:19 AM UTC






