Skip to content
anvilsecurePublic

About

Statistical Timing Side-Channel Analysis

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

46 Commits

Folders and files

Repository files navigation

OffTempo

offtempo-hourglass

Check out our blog post introducing OffTempo here.

Statistical timing side-channel analysis for Burp Suite.

Screenshot 2026-04-07 165132

OffTempo is a Burp Suite extension that captures HTTP response timing data from Intruder attacks and performs statistical analysis to detect timing-based side channels. It compares two pools of requests and tells you whether the observed latency differences are meaningful or just noise.

Useful for detecting:

  • Resource enumeration via response time differentials
  • Timing-based blind SQL injection
  • Password / authentication timing attacks
  • Any scenario where server-side branching leaks through response latency

The primary metric is AUC (Area Under the Curve) via Mann–Whitney U - intuitively, the probability that a random observation from a set of requests exceeds one from another set. Additional statistics (Cohen's d, p-value, standard deviation, p95/p99) are provided for deeper analysis.

Installation

Prebuilt JAR (recommended)

  1. Download the latest offtempo-<version>.jar from the Releases page
  2. In Burp Suite, go to Extensions → Installed → Add
  3. Set Extension type: Java and load the JAR

Build from source

Requires Java 21+ and Gradle.

git clone https://github.com/anvilsecure/offtempo.git
cd offtempo
./gradlew bigJar

The JAR is generated under build/libs/. Load it into Burp Suite as above.

Usage

  1. Enable capture: Toggle timing capture on in the OffTempo tab
Screenshot 2026-04-07 165251
  1. Fill Pool A: Set up an Intruder attack for your first class of requests (e.g. a known existing resource) and run it. Timing data flows into Pool A automatically. Aim for at least 30–50 requests per pool to reduce the impact of network jitter and get statistically reliable results.
Screenshot 2026-04-07 165222
  1. Switch to Pool B: Select Pool B in OffTempo, then run a second Intruder attack for your other class of requests (e.g. a known non-existing resource).
Screenshot 2026-04-07 165202
  1. Run analysis: Click Run. OffTempo computes the AUC score, plots both distributions, and outputs statistical metrics.
Screenshot 2026-04-07 165149

Advanced usage

Instead of the capture toggle, you can tag a request's pool directly with the X-OffTempo-Pool header (A or B). Any request carrying it is assigned to that pool regardless of the UI toggle, no matter where it originates: an external CLI tool proxied through Burp, another Burp tool (Repeater, etc.), or another Burp extension. The header is stripped before the request is forwarded. For example, driving pools from the command line:

curl -sk --proxy http://127.0.0.1:8080 -H "X-OffTempo-Pool: A" https://example.com

Interleaving pools in a single Intruder attack

Filling both Pool A and Pool B in a single Intruder attack prevents changes in network or server conditions (congestion, server load, cache warm-up) from being mistaken for a timing difference between the pools. To do so, use a Burp Intruder Pitchfork attack with two positions, the input under test and the X-OffTempo-Pool header value:

GET /login?username=§alice§ HTTP/2
Host: example.com
X-OffTempo-Pool: §A§
  • Payload position 1: a simple list alternating the two inputs (alice, nonexistent, alice, nonexistent, …)
  • Payload position 2: a simple list alternating A, B, A, B, …
  • Resource pool: maximum concurrent requests set to 1, so requests are sent strictly in order

Both lists must have the same length and the same order. You can generate payloads with something like:

for i in $(seq 100); do echo alice; echo nonexistent; done
for i in $(seq 100); do echo A; echo B; done

About

Statistical Timing Side-Channel Analysis

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages