Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🛡️ Antivirüs Tarayıcı (Antivirus Scanner)

A simple antivirus application built with Windows Forms and .NET 8. This application scans directories for potentially malicious files by calculating MD5 hashes and checking file extensions.

.NET Platform License

📸 Screenshots

Add screenshots of your application here

✨ Features

  • Recursive Directory Scanning: Scans all files in selected directory and subdirectories
  • MD5 Hash Calculation: Calculates MD5 hash for each file and compares against known malicious hashes
  • Suspicious Extension Detection: Identifies potentially dangerous file extensions (.exe, .bat, .scr, .vbs, .dll, etc.)
  • Real-time Progress: Live progress bar and statistics during scanning
  • Asynchronous Operations: Non-blocking UI during scan operations
  • Quarantine System: Move suspicious files to quarantine instead of permanent deletion
  • Detailed Reports: Generate and save scan reports with timestamps
  • Turkish UI: User interface in Turkish language

🚀 Getting Started

Prerequisites

  • Windows 10/11
  • .NET 8.0 Runtime or SDK
  • Visual Studio 2022 (for development)

Installation

  1. Clone the repository
git clone https://github.com/BerzanBaran/AntivirusApplication.git
  1. Open the solution in Visual Studio 2022

  2. Build and run the application

dotnet build
dotnet run

📖 Usage

  1. Select Folder: Click "Gözat..." button to select a directory to scan
  2. Start Scan: Click "🔍 Taramayı Başlat" to begin scanning
  3. View Results: Threats and suspicious files appear in the results list
    • 🔴 Red: Confirmed threats (hash match)
    • 🟠 Orange: Suspicious files (dangerous extensions)
  4. Take Action: Right-click on detected files to:
    • Quarantine the file
    • Delete permanently
    • Open file location
  5. Save Report: Click "📄 Rapor Kaydet" to save scan results

🏗️ Project Structure

AntivirusApplication/
├── Form1.cs                 # Main form logic and event handlers
├── Form1.Designer.cs        # UI component definitions
├── FileScanner.cs           # File scanning and MD5 hash calculation
├── ThreatDatabase.cs        # Malicious hash and extension database
├── QuarantineManager.cs     # Quarantine and delete operations
├── ScanReport.cs            # Report generation and saving
└── Program.cs               # Application entry point

🔧 Core Components

ThreatDatabase

Contains known malicious MD5 hashes and suspicious file extensions. Easily extensible to add new threat signatures.

FileScanner

Handles asynchronous file scanning with:

  • Recursive directory traversal
  • MD5 hash calculation
  • Progress reporting
  • Cancellation support

QuarantineManager

Manages file quarantine operations:

  • Moves files to safe quarantine folder
  • Stores metadata for file restoration
  • Supports permanent deletion

ScanReport

Generates detailed scan reports including:

  • Scan duration and timestamp
  • Total files scanned
  • Threats and suspicious files found
  • Complete file paths and hashes

⚠️ Disclaimer

This is an educational project and should not be used as a replacement for professional antivirus software. The threat database contains sample hashes for testing purposes only.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

👤 Author

Berzan Baran

🙏 Acknowledgments

  • EICAR test file hash for antivirus testing
  • Microsoft Windows Forms documentation
  • .NET community

⭐ Star this repository if you find it helpful!

Kayit.2025-12-08.184943.mp4

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages