Skip to content

Troubleshooting ways to counteract a forkbomb scripted in batch #8

Description

@treneth333

@echo off
:Start
Echo %0|%0
Goto start

This scrip will cause the central processing unit to try and process a continually growing process tree

If the program is allowed to run long enough the system will completely freeze, requiring it to be forced to shutdown.

My idea is making a program that monitors the cpu usage for every process and if a process tree ends up taking more than 80% the entire tree is halted.

I guess it's like active security compared to an antivirus software that's usually passive.

Any ideas for an active security program?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions