8000 GitHub - masdzub/malware_scanner
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

masdzub/malware_scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Malware Scanner

Overview

The Malware Scanner is a Bash script designed to scan any PHP-based web application for security threats, file integrity issues, and known malware signatures. It helps administrators and developers identify potential security risks in their applications.

Features

  • File Integrity Check: Compares PHP file checksums to detect modifications.
  • Malware Scan: Detects known malware patterns in PHP files.
  • Suspicious Code Detection: Identifies risky functions commonly used in malicious scripts.
  • Automatic Cleanup: Removes temporary scan files after execution.

Requirements

  • Linux/Unix-based system with Bash
  • md5sum, grep, find, and curl installed
  • Internet connection for checksum verification (optional)

Installation

  1. Clone or download this repository:
    git clone https://github.com/masdzub/malware-scanner.git
    cd malware-scanner
  2. Ensure the script is executable:
    chmod +x malware-scanner.sh

Usage

Run the scanner by providing the root directory of the PHP application:

./malware-scanner.sh /path/to/php-application

Example:

./malware-scanner.sh /var/www/html

Output

The script will output findings categorized as:

  • Modified Files: Lists PHP files that have been altered.
  • Potential Malware: Reports files containing known malicious patterns.
  • Suspicious Code: Identifies the presence of risky functions.

Customizing Malware Signatures

The script uses a signature file located in ./signatures/patterns.txt. You can add or remove patterns to refine the scan results.

Disclaimer

This script is a basic security tool and does not replace professional security auditing. Use it as a preliminary step to enhance security.

License

MIT License

Contributions

Feel free to submit issues or pull requests to improve the scanner!


Author

Dzubayyan Ahmad

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0