Race conditions occur when the proper functioning of a security function depends upon the timing of activities performed by the computer. In this video, Mike Chapple explains how to prevent race conditions in your code.
- [Announcer] Race conditions are a particularly dangerous…security flaw, and require careful attention…from software developers and security professionals…in order to prevent them.…A race condition occurs when the proper functioning…of a security control depends upon the timing of activities…performed by the computer or the user.…If the timing doesn't occur as expected,…the software may behave in an unexpected manner.…A common example of a race condition…is a Time of Check to Time of Use, or TOCTOU vulnerability.…
In a TOCTOU vulnerability, software first checks…to see whether an activity is authorized,…and then waits some time before performing…the action that is authorized.…The catch is that the authorization status might have…changed during the time that elapsed.…Let's take a look at an example of a bank account.…Imagine an ATM machine that dispenses cash.…The algorithm for the machine…might work something like this:…First the user inserts an ATM card.…Then the user enters a personal identification number.…
We are a CompTIA Content Publishing Partner. As such, we are able to offer CompTIA exam vouchers at a 10% discount. For more information on how to obtain this discount, please download these PDF instructions.
- Comparing viruses, worms, and Trojans
- Backdoors and logic bombs
- Understanding the attacker
- Attack types: from denial of service to brute force attacks
- Preventing insider threats
- Wireless attacks
- Understanding cross-site scripting
- Preventing SQL injection
- Social engineering
- Scanning for vulnerabilities
- Penetration testing
- Assessing the impact of vulnerabilities
Skill Level Beginner
2. Understanding Attackers
3. Understanding Attack Types
4. Wireless Attacks
5. Application Attacks
6. Social Engineering Attacks
7. Vulnerability Scanning and Penetration Testing
8. Impact of Vulnerabilities
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.