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
executable strcmp client-side-attacks


source to share


No one has answered this question yet

Check out similar questions:

830
How do I write a correct micro test in Java?
588
How do I make a standalone Python script executable to run without ANY dependency?
194
Running a Haskell Program on Android OS
191
C program execution time
130
How do I make this .sh file executable with a double click?
118
How to calculate the execution time of a piece of code in C ++
111
Compiling java program to executable
76
Running an external program (executable) in Python?
42
How do I create an executable Java program?
0
slow performance of string comparison



All Articles
Loading...
X
Show
Funny
Dev
Pics