MSDOS Batch Script

 

When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads the file and executes its commands, normally line-by-line.

Unix-like operating systems, such as Linux, have a similar, but more flexible, type of file called a shell script.

The filename extension .bat is used in DOS and Windows.

The line-by-line code is meant to be used as a script to accomplish something positive on your computer. Such as renaming hundreds of files, or any other repetitive task to help save time.

However, in some instances batch files can be crafted to do some pretty amazing things to infect computers, networks, etc… In some cases avoiding antivirus detection.

Understanding how these batch files can be malicious and how they work can help us in defending against them.

For educational purposes only.

Fork Bomb Batch File Virus

2019-02-10T22:51:20-05:00April 22nd, 2018|Categories: Coding Computer Viruses, Computer Programming Languages, MSDOS Batch Script|Tags: , , , , , , |

Fork Bomb Batch File Virus. The fork bomb is the equivalent of a DDoS attack on your own system. It aims to deprive the system of memory (RAM), leaving nothing for other Read More...

Introduction to Batch File Viruses

2019-02-10T22:35:09-05:00April 22nd, 2018|Categories: Coding Computer Viruses, Computer Programming Languages, MSDOS Batch Script|Tags: , , , , |

Introduction to Batch File Viruses: We’ll be learning about batch file viruses. We’ll look at various techniques used in small and simple batch file scripts. Even if you have no Read More...

What is a Batch file?

2020-05-11T21:22:24-04:00April 22nd, 2018|Categories: Coding Computer Viruses, Computer Programming Languages, MSDOS Batch Script|Tags: , , , , |

What is a Batch file? A batch file is a kind of script file in DOS, OS/2 and Microsoft Windows. It consists of a series of commands to be executed by the command-line interpreter, stored in a plain text file. A batch file Read More...

Go to Top