2 ms·
Is this even possible? Its just read-only machine code, theres no stack data for instance from the last executions that you can watch for. Maybe only if you k
by oscargrouch 8y ago
Is this even possible?
Its just read-only machine code, theres no stack data for instance from the last executions that you can watch for.
Maybe only if you know when the code is being executed, in which register that particular builtin write the memory address of the payload, and then go for the payload on the heap to see what's there.
To know when the code will be executed you would need to watch for the VM loop and to when that particular builtin you are interested in its on the 'execution needle'.. But to get there you would first need to find a exploit, with arbitrary code execution, where you can upload your exploit payload to hook on the VM loop (and this sounds a lot of work to me).
(Not a Sec. guy myself, so genuinely curious how this could be done, but trying to figure out a way to exploit this, i kind of begin to see how it could be done)