Re:ThinkPwn: System Management Mode arbitrary code execution
by m1el on Tuesday July 05, 2016 @12:32PM
(#12037625)
do I understand correctly that v3 stores sort-of closure in C?
[ Parent
| on HN ]
Re:ThinkPwn: System Management Mode arbitrary code execution
by mook on Tuesday July 05, 2016 @02:34PM
(#12038515)
It's like a `this` pointer in C++, with a method table, yes. See the first link in the update from 30.06.2016. `v3` would be `RtServices`.
Re:ThinkPwn: System Management Mode arbitrary code execution
by loeg on Tuesday July 05, 2016 @01:04PM
(#12037884)
Maybe. From the assembly we don't know what type the pointer is. The general C style for closures ("thunks") is to store two pointers—a function and `void `. Since `void ` can point to anything, it's fully general. But maybe the original has a less general type and we can't tell from the assembly.