How altafhussain1304/ransomware-detection works
Project type and purpose
• From the file tree and file names, this is a standalone monitoring/analysis tool (no “frontend” directory), written in Python. It runs a set of monitors (file, network, system) under a single orchestration layer (main.py), applies YARA rules (rules.yara) to file events, and writes structured event logs to disk (data/logs).
• Its purpose is to capture and log various system events for further analysis or alerting.
File structure
• Top‐level:
• README.md – (currently empty; would normally describe usage & architecture)
• requirements.txt – declares Python dependencies (e.g., yara-python, psutil, scapy, etc.)
• backend/ – houses all monitoring modules and the orchestrator.
• data/logs/ – where modules emit JSON log files.
• backend/ directory:
• main.py – the entry point; likely spawns each monitor as a thread or process.
• file_monitor.py – watches filesystem events, applies YARA scans using rules.yara.
• network_monitor.py – inspects network traffic (packet capture or socket hooks).
• system_monitor.py – collects OS-level metrics (CPU, memory, process list).
• rules.yara – YARA rules definitions for file content scanning.
• No GUI/UI or external web services. This is a command‐line/daemon‐style tool.
README for additional insights
• README is empty, so infer architecture from code and logs.