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.

Introduction to Batch File Viruses


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 background in programming, you’ll find

Introduction to Batch File Viruses2019-02-10T22:35:09-05:00

What is a Batch file?


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 may contain any command the

What is a Batch file?2020-05-11T21:22:24-04:00