Skip to content
/ bervie Public

An eBpf security program that blocks the execution of files that were flagged as malicious by the give YARA detection rules. Named in convention with the other Scottish loch tools

Notifications You must be signed in to change notification settings

Assaf-R/bervie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bervie

An eBpf security program that blocks the execution of files that were flagged as malicious by the give YARA detection rules. Named in convention with the other Scottish loch tools

How does this work?

The python program - bervie.py - loads the bpf c program - bervie_bpf.c - and hooks the execve syscall with a kprobe. The eBpf program checks if the file that is set to be executed checks any YARA detections from the given .yara file and if so blocks the execution. The results are logged to /var/log/loch/bervieX.log

How to run

RUN AS ROOT

$ pip install yara-python

About

An eBpf security program that blocks the execution of files that were flagged as malicious by the give YARA detection rules. Named in convention with the other Scottish loch tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published