{
  "id": 8242058,
  "title": "Detecting ransomware with eBPF in Rust",
  "url": "https://urgent.news/2026/09/18/detecting-ransomware-with-ebpf-in-rust",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-18T12:14:51.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/bartoszosiej/detecting-ransomware-with-ebpf-in-rust-4779"
  },
  "original_language": "en",
  "account": "The concept behind this ransomware detection method is simple: ransomware typically opens a large number of files very quickly. To detect this, the article demonstrates an eBPF program written in Rust that hooks two specific syscalls - execve and openat. These syscalls are responsible for starting a process and opening a file respectively. The program counts how many files each process opens per second and if this rate exceeds a certain threshold, it terminates the process. This is achieved using the open-source project talus-process-monitor, which is available on GitHub under the MIT license.",
  "summary": "Detecting ransomware with eBPF in Rust Title: Detecting ransomware with eBPF in Rust Target: ~1000 words, B1-safe English, working-code-first Build: demo + article for DEV.to / Draft.dev share Source repo: github.com/BartoszOsiej/talus-process-monitor (MIT) 1. The idea (hook) Ransomware works in a simple way: it opens your files, encrypts them, and writes them back. Fast. One process can open…",
  "key_points": [
    "Ransomware opens many files quickly",
    "eBPF program hooks execve, openat syscalls",
    "Talus-process-monitor detects rate threshold"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}