Race Conditions Flashcards
What is Race Condition?
Software vulnerability where the outcome depends on the timing of events not matching the developers intended order
What is Dereferencing?
software vulnerability that occurs when the code attempts to remove the relationship between a pointer and the thing that that pointer was pointing to inside of your memory.
What is the Dirty COW?
Popular exploit back in 2016 showcasing a race condition exploitation
Copy
On
Write
What is a Time-Of-Check (TOC)?
type of race condition that occurs when an application checks the state of a system resource, such as a file or database record, and then makes a decision based on that check.
What is a Time-Of-Use (TOU)?
type of race condition that occurs when an attacker can change the state of a system resource between the time it is checked and the time it is used.
What is Time-of-Evaluation (TOE)?
type of race condition that involves the manipulation of data or resources during a time window when a system is making a decision or evaluation
What is a Mutex?
Mutually exclusive flag that acts as a gatekeeper to a section of code so that only one thread can be processed at a time
What is a Deadlock?
Occurs when a lock remains in place because the process its waiting for is terminated, crashes, or doesn’t finish properly, despite the processing being complete