Skip to content

Web Defender Pro is a high-performance C# malware scanner designed for web developers and server administrators. It performs deep static analysis of source code to detect backdoors, web-shells, malicious redirects, and security vulnerabilities.

Notifications You must be signed in to change notification settings

Adiru3/WebDefender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Web Defender πŸ›‘οΈ

Web Defender is a high-performance C# malware scanner designed for web developers and server administrators. It performs deep static analysis of source code to detect backdoors, web-shells, malicious redirects, and security vulnerabilities.


🎯 Purpose

The tool is built to quickly identify signs of compromise or security holes across thousands of files. It is essential for auditing third-party scripts or cleaning up a server after a security breach.


✨ Key Features

πŸ” Intelligent Scanning

The program uses a signature-based engine powered by Regular Expressions (Regex) to hunt for specific threats:

  • Critical: Web-Shell (eval) – Detects code execution via eval, assert, and base64_decode.
  • Critical: Command Execution – Flags dangerous system calls like system, shell_exec, and proc_open.
  • Backdoor: Network Socket – Identifies unauthorized network connections from scripts via fsockopen.
  • Suspect: Obfuscation – Detects hidden or encoded code, including HEX strings and gzinflate.
  • Malicious Redirect – Finds hidden scripts that redirect users to external malicious sites via window.location or header.
  • Vulnerability: Entry Point – Spots risky functions such as move_uploaded_file and extract($_GET).
  • SQL Injection Pattern – Spots common SQL injection entry points like UNION ALL SELECT and INFORMATION_SCHEMA.

⚑ Performance & UI

  • Multithreaded Processing: Scanning runs asynchronously via Task.Run, keeping the UI responsive while analyzing large directories.
  • Smart Filtering: Automatically targets relevant web files including .php, .js, .html, .htaccess, .sql, .asp, and .aspx.
  • Time Prediction: Includes a built-in algorithm that calculates the estimated remaining time during active scans.

πŸ“ Advanced Logging

The program generates a structured database of reports in a dedicated session folder (e.g., Logs_YYYYMMDD_HHMMSS):

  • files_infection.log: A consolidated list of every detected threat.
  • audit_full.log: A comprehensive technical audit of the entire session.
  • Category Logs: Separate logs for each threat type (e.g., CRITICAL.log, BACKDOOR.log) for streamlined analysis.

πŸ›  Technical Stack

  • Language: C# (.NET Framework / Windows Forms).
  • Architecture: Asynchronous programming (Async/Await).
  • Analysis Method: Static analysis via compiled Regex signatures.

πŸš€ How to Use

  1. Launch the application and select your preferred language (EN/RU).
  2. Click DIR to select a website directory or FILE to analyze a single file.
  3. (Optional) Enter a specific string in the search box to find custom patterns.
  4. Click START SCAN.
  5. Results are color-coded in the console: Red for Critical, Orange for Backdoors, Purple for SQL, and Yellow for Vulnerabilities.

πŸ‘¨β€πŸ’» Author

Created by amazingb01 (Adiru).


Disclaimer: This tool is for static analysis. It is recommended to use it as part of a comprehensive server security strategy.

πŸ”— Connect with me

YouTube TikTok Donatello

About

Web Defender Pro is a high-performance C# malware scanner designed for web developers and server administrators. It performs deep static analysis of source code to detect backdoors, web-shells, malicious redirects, and security vulnerabilities.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages