Non-members are welcome to access the full story here.
This is my write-up for the TryHackMe room on Race Conditions ↗ . Written in 2026, I hope this write-up helps others learn and practice cybersecurity.
Press enter or click to view image in full size
Task 1: Introduction
This task introduces the concept of a race condition vulnerability. A race condition occurs when the timing or sequence of events influences a program’s behavior, typically happening when multiple threads access and modify a variable without proper synchronization locks. This flaw can allow attackers to abuse systems, such as applying a single discount multiple times or spending beyond their account balance.
I know all the prerequisites. Let the race begin!
No answer needed
Task 2: Multi-Threading
This section breaks down the core concepts of computer execution. A Program is a static set of instructions (like a recipe). A Process is a program in active execution, holding memory and moving through various states (New, Ready, Running, Waiting, Terminated). A Thread is a lightweight execution unit within a process. Multi-threading…