← Latest papers
🤖 machine learning

Building a Robust Risk-Based Access Control System to Combat Ransomware's Capability to Encrypt

This paper presents a real-time, risk-based access control system for Linux that leverages high-resolution kernel function tracing and machine learning to dynamically enforce SELinux policies, effectively blocking ransomware encryption while preserving legitimate cryptographic operations with minimal performance overhead.

Original authors: Kenan Begovic, Abdulaziz Al-Ali, Qutaibah Malluhi

Published 2026-03-24
📖 5 min read🧠 Deep dive

Original authors: Kenan Begovic, Abdulaziz Al-Ali, Qutaibah Malluhi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine your computer is a busy, high-security office building. Inside, there are millions of documents (your files). Usually, people walk in and out, opening and closing drawers to do their work. This is normal.

But then, a ransomware attack happens. Think of this as a group of burglars who don't just steal the documents; they take a giant shredder and start destroying every single file in the building, turning them into unreadable confetti, while demanding a ransom to get them back.

The problem is that these burglars are very fast. By the time a security guard (traditional antivirus) realizes what's happening, half the building is already shredded.

This paper presents a new, smarter security system called a "Risk-Based Access Control" system. Here is how it works, explained simply:

1. The Super-Sensitive Ear (The Tracer)

Most security systems listen for loud noises (like a door slamming). This new system uses a "super-sensitive ear" called ftrace. Instead of just listening for the door slam, it listens to the heartbeat of the building's electrical system.

It watches the tiny, invisible steps the computer takes when it processes data. It can tell the difference between a librarian quietly organizing books (legitimate encryption) and a burglar frantically shredding papers (ransomware) just by how they move their hands and how fast they breathe.

2. The Two-Layer Security Team

The system uses two guards working together to stop the attack before it gets serious:

  • Guard A: The Rule-Follower (The "Fast" Guard)
    This guard has a simple checklist. "If someone tries to write to 50 files in 1 second, STOP." It's incredibly fast and doesn't need to think hard. It catches the obvious, clumsy burglars immediately.
  • Guard B: The Detective (The "Smart" Guard)
    This guard is an AI trained on thousands of examples of burglars. It looks at the pattern of movement. Even if the burglar is trying to be sneaky and slow, the Detective recognizes the "shredding rhythm" and says, "That's not a librarian; that's a criminal."

The Magic: They work together. If the Fast Guard sees something suspicious, it stops the action. If the Fast Guard misses something, the Smart Detective catches it. If either of them says "Stop," the action is blocked instantly.

3. The "Smart Lock" (SELinux)

Once the guards say "Stop," they don't just yell; they flip a master switch on a Smart Lock (called SELinux).

In a normal computer, if a program is allowed to open a file, it can usually do whatever it wants with it. But this system adds a layer of rules:

  • "You (OpenSSL) are allowed to encrypt files in your own home folder."
  • "But you are NOT allowed to encrypt files in the shared server room."
  • "And you are NOT allowed to encrypt files if you are running as User B."

If a hacker tries to hijack a trusted program (like a legitimate encryption tool) to encrypt the wrong files, the Smart Lock instantly slams the door shut. It doesn't matter how strong the program is; the rules say "No."

4. Why This is Better Than Old Methods

  • Old Method (The Sandbox): Imagine putting the computer inside a glass box (a virtual machine) to watch what happens. It's safe, but it's slow, heavy, and expensive. It's like putting a whole office building inside a giant bubble just to watch one person.
  • Old Method (The Syscall Monitor): This is like watching who enters the front door. It's okay, but it misses what happens inside the room.
  • This Method: It's like having a camera inside the room watching the hands of the person. It sees the specific, tiny movements of encryption before the damage is done, without needing a heavy glass box.

The Result

The researchers built a prototype of this system. They tested it against real ransomware and found:

  • Speed: It stopped the attacks in milliseconds (faster than a human blink).
  • Accuracy: It rarely blocked good programs (like when you legitimately save a file), but it caught almost all the bad ones.
  • Safety: Even if a hacker took over a trusted program, the system's rules prevented them from encrypting the wrong files.

The Catch (and the Future)

Right now, this system is like a high-tech security guard who is very effective but gets a little tired (uses a lot of computer memory) if the building gets too chaotic. The researchers admit that for this to run on every office computer in the world, they need to make the guard "lighter" and faster by moving the work deeper into the computer's brain (the kernel).

In short: This paper proposes a way to stop ransomware by watching the computer's "heartbeat" to spot the crime in its first few seconds, using a smart, rule-based lock to instantly freeze the attacker before they can destroy your data.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →