Skip to content
P

PROMETHEUS

Detect. Defend. Destroy Ransomware.

Created on 1st March 2026

β€’

P

PROMETHEUS

Detect. Defend. Destroy Ransomware.

The problem PROMETHEUS solves

πŸ›‘οΈ The Problem It Solves

🚨 The Growing Threat of Ransomware

Ransomware attacks encrypt user files within seconds and demand payment for recovery.
Traditional antivirus solutions often rely on known signatures, which means:

  • New ransomware variants go undetected
  • Detection happens after significant damage
  • Recovery becomes costly or impossible

By the time users notice something is wrong, their files are already encrypted.


πŸ” What This Project Solves

Our system provides real-time behavioral ransomware detection and elimination, focusing on how a process behaves rather than what it is called.

Instead of waiting for known malware signatures, the system:

  • Monitors rapid file modifications
  • Tracks suspicious extension changes
  • Detects abnormal entropy spikes (encryption behavior)
  • Analyzes activity across multiple directories
  • Calculates a real-time risk score
  • Automatically blocks or terminates suspicious processes

This allows early intervention β€” often before large-scale encryption completes.


🧠 Who Can Use It

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

  • Protect development environments from malicious scripts
  • Prevent build systems or dependency attacks from causing file damage
  • Monitor unexpected file churn during runtime

🏒 Small Businesses

  • Safeguard sensitive documents without expensive enterprise security systems
  • Add an additional defensive layer beyond traditional antivirus

πŸŽ“ Students & Personal Users

  • Protect assignments, research, and personal data
  • Detect suspicious behavior caused by unknown downloads or cracked software

πŸ” Security Researchers

  • Study ransomware-like patterns safely
  • Test behavioral detection models in controlled environments

⚑ How It Makes Tasks Safer

Traditional security tools react after detection.

This system:

  • Detects abnormal behavior in real time
  • Reduces false positives through multi-factor scoring
  • Prevents encryption spread across directories
  • Adds automated containment measures
  • Improves response time from minutes to seconds

It transforms ransomware defense from reactive to proactive.


🌍 Why It Matters

Ransomware does not announce itself.
It works silently, quickly, and aggressively.

This project introduces:

  • Behavioral intelligence
  • Sliding window monitoring
  • Context-aware risk scoring
  • Automated threat neutralization

It shifts security from static signature scanning to adaptive, real-time protection.


πŸ’‘ In Simple Terms

Instead of asking:

β€œIs this file malicious?”

We ask:

β€œIs this process behaving like ransomware?”

And if the answer crosses a defined risk threshold β€”
we act before the damage becomes irreversible.

Challenges we ran into

🚧 Challenges We Faced

1️⃣ Event Explosion from watchdog

The Problem

When monitoring file activity in real time, a single file save triggered multiple events.
One modification could generate 3–5 modified events instantly.

This inflated our event counts and falsely increased the risk score.

Why It Happened

Modern editors don’t simply edit a file. They often:

  • Create temporary files
  • Replace the original file
  • Trigger metadata updates

This results in multiple filesystem events for a single user action.

How We Solved It

We implemented a sliding time window buffer using deque():

  • Tracked only events within the last 5 seconds
  • Filtered duplicate rapid events for the same file
  • Ignored directory-level noise

This stabilized event counts and shifted detection to behavior-based analysis instead of raw event counting.


2️⃣ False Positives During Normal Usage

The Problem

Operations like:

  • npm install
  • Extracting ZIP files
  • Compiling large projects

Generated behavior similar to ransomware:

  • Hundreds of file modifications
  • Multiple directories affected
  • High file churn

The system initially flagged these as suspicious.

How We Solved It

We transitioned from single-metric detection to multi-factor behavioral scoring, including:

  • File modification frequency
  • Extension change tracking
  • Entropy analysis
  • Unique directory spread
  • Process identification

Instead of triggering alerts based on one signal, we introduced a risk score threshold system, significantly reducing false positives.


3️⃣ Detecting Encryption via Entropy

The Problem

Encrypted files typically have high entropy. However:

  • Compressed files
  • Media files
  • Certain binary formats

Also exhibit high entropy, leading to unreliable detection if used alone.

How We Solved It

  • Calculated entropy only on recently modified files
  • Combined entropy spikes with extension change detection
  • Treated entropy as a contributing signal rather than a standalone trigger

This improved accuracy while maintaining performance.


4️⃣ Safe Ransomware Simulation for Testing

The Problem

We needed to test ransomware-like behavior without executing real malware.

How We Solved It

We developed a controlled Python simulation script that:

  • Rapidly modified files
  • Renamed file extensions
  • Increased file entropy artificially

This allowed safe and repeatable testing of detection mechanisms.


5️⃣ Real-Time Process Blocking

The Problem

Detecting ransomware is one challenge.
Stopping it instantly without disrupting legitimate processes is another.

How We Solved It

  • Identified suspicious parent processes
  • Verified risk score thresholds before taking action
  • Implemented careful process termination and firewall rule enforcement

This ensured effective elimination while preserving system stability.


πŸ’‘ Key Learnings

  • Single metrics are unreliable in real-world detection
  • Behavioral patterns provide stronger signals than raw event counts
  • Real-time systems must balance speed, accuracy, and system safety
  • Context-aware scoring dramatically reduces false positives

Ransomware detection is not about counting events.
It is about understanding behavior over time.

Discussion

Builders also viewed

See more projects on Devfolio