Memory Injection
Memory Injection
Attacker puts malicious code into a program’s memory while it’s running.
• Goal: trick the program into running the attacker’s code.
• Example: Malware injects itself into a browser’s memory to steal logins.
Race Condition
Race condition
Two processes try to use the same resource at the same time → causing errors or letting attackers take advantage.
• Example: If two people withdraw money at the exact same time, both might get $100 even though only $100 existed.