TLDR: Fork Bomb
Date: 2021-06-09 Source: https://arpitbhayani.me/blogs/fork-bomb
Overview
Online Coding Platforms and Code Evaluators are susceptible to this attack as they accept raw code from the user and execute it. So, if you are building one, do ensure you are protected against it and infinite loops. In this essay, we explore a simple yet effective DoS attack called Fork Bomb, also called Rabbit Virus.
Key Points
- In this essay, we explore a simple yet effective DoS attack called Fork Bomb, also called Rabbit Virus.
- C implementation: A simple C implementation of a Fork Bomb could be, to fork child processes within an infinite for loop, resulting in exponential forking of child processes.
- Bash implementation: There is a very famous Fork Bomb implementation in Bash, and the code that does this has no alphabets or numbers in it, just pure symbols.