Skip to main content
Offline·Progress is saved on this device and syncs the next time you open the app online.
Threats, Attacks & Malware

TOU

Time-of-Use

The moment a system acts on a condition, the second half of a TOCTOU race condition.

Time-of-use is the instant a program actually uses a resource it checked earlier, completing the pair in a time-of-check to time-of-use (TOCTOU) race condition. If the resource is swapped or altered between the check and the use, the program operates on attacker-controlled state, which can lead to privilege escalation or unauthorized file access. Eliminating the window by binding the check and the action to the same handle, or using atomic operations and locking, mitigates it. On the exam, TOU is the use half of the TOCTOU race condition that TOC begins.

Related terms

Looking TOU up is step one. Getting tested on it is step two.

A free account opens all 4 Domain 1 objectives, 271 exam-style questions with a lesson and a lab on each, a placement check that skips what you already know, and a dated plan. No card.

Not affiliated with or endorsed by CompTIA.