This project contains a simple C-based malware scanner that checks a source file against rule files in the Rules folder.
Malware_scanner.c- main scanner applicationsample.c- sample source file to scanRules/- rule definitions for malware detectionREADME.md- this project documentation
-
Compile the scanner with a C compiler, for example:
gcc Malware_scanner.c -o Malware_scanner.exe
-
Run the scanner with the source file and rules folder:
Malware_scanner.exe sample.c Rules
- The scanner loads the source file into memory and applies pattern-based rules from
Rules/*.rule.cpp. - Each rule file should include
NAME=,DESC=, and aRULES:section. - The project is intended as a demonstration and should not be used as a production malware scanner.
This repository is hosted at https://github.com/Pujithsai7/Malware-detection-.git.