title: How to slow down program execution
body: <p>I have a simple executable binary. It takes as input a user supplied string and compares it with a private string using <code>strcmp</code>. How can I slow down the execution of this program such that I can launch a statistical timing attack on the string comparison? Currently the early-exit nature of <code>strcmp</code> is too slight to detect.</p>
  
  <p>Assume I have local privileges, the binary is owned by another user, and the system is <code>ulimit</code> protected against fork bombs.</p>
  
  <p>While I get that I could use the strings command or reverse engineering to get the private string, this is intended as a POC for the feasibility of timing attacks on compiled programs on modern systems.</p>