How to slow down program execution

I have a simple executable binary. It takes a user-supplied string as input and compares it to a private string using strcmp

. How can I slow down the execution of this program so that it can run statistical synchronization when comparing strings? At present, the nature of early exit is strcmp

too small to be detected.

Suppose I have local privileges, the binary is owned by another user, and the system ulimit

is protected from firewalls.

While I get that I can use the strings command or reverse engineering to get a private string, this is intended as a POC for the possibility of temporary attacks against compiled programs on modern systems.

+3


source to share





All Articles