What do fork bombs do?

What do fork bombs do?

In computing, a fork bomb (also called rabbit virus or wabbit) is a denial-of-service attack wherein a process continually replicates itself to deplete available system resources, slowing down or crashing the system due to resource starvation.

How does Linux fork bomb work?

The fork bomb is kind of DOS (denial-of-service) attack on system. It attacks the system by consuming all resources. It makes use of the fork operation, that is why it is called as fork bomb. It is nothing more than bash function definition and calling it recursively to consume all system resources.

Is a fork bomb permanent?

The fork bomb is the equivalent of a DDoS attack on your own system. Just 5 characters long, the fork bomb is not permanently harmful for a computer, just annoying.

What is a bash Fork Bomb?

The fork bomb is a form of denial-of-service (DoS) attack against a Linux or Unix-based system. It makes use of the fork operation. The :(){ :|:& };: is nothing but a bash function. This function get executed recursively. It is often used by sysadmin to test user process limitations on server.

How is the fork bomb used in Linux?

The fork bomb is a form of denial-of-service (DoS) attack against a Linux or Unix-based system. It makes use of the fork operation. The : () { :|:& };: is nothing but a bash function. This function get executed recursively. It is often used by sysadmin to test user process limitations on server.

What kind of attack is the fork bomb?

The fork bomb is a form of denial-of-service (DoS) attack against a Linux or Unix-based system. It makes use of the fork operation. The : () { :|:& };: is nothing but a bash function.

How to write fork bomb code in Perl?

Here is more human readable code: bomb () { bomb | bomb & }; bomb. Properly configured Linux / UNIX box should not go down when fork () bomb sets off. See the comment # 5 below for more fork bomb examples created in Perl, Windows XP (batch) and C.