Skip to content

An app that prevents uploading files that have names that are linked to known ransomware

License

Notifications You must be signed in to change notification settings

pcreadycl/ransomware_protection

 
 

Repository files navigation

Ransomware protection app

This app prevents uploading files with known ransomware file endings.

How the app works

When a known sync client is uploading a file with a file name matching the pattern of a ransomware (see this list of patterns), uploading of the file is blocked.

The user receives a notification with 2 options:

File “foobar.txt” could not be uploaded!

The file “foobar.txt” you tried to upload matches the naming pattern of a ransomware/virus “*.txt”. If you are sure that your device is not affected, you can temporarily disable the protection. Otherwise you can request help from your admin, so they reach out to you.

[ Pause protection ] [ I need help! ]

If you want to exclude the problematic pattern, you can copy it from this notification and ask your admin to add it to the exclude list. Admins can also see the pattern in the log when it is set to level Warning or lower.

If the user presses "I need help!" admins of the instance receive the following notification:

User Tester may be infected with ransomware and is asking for your help

[ I will help ]

Pressing the button will delete the notification for all administrators.

After 5 "infected" uploads within 30 minutes, the clients of the user get blocked automatically to prevent further damage to the data. After the problem has been solved, the clients can be re-allowed in the personal settings of the user.

About

An app that prevents uploading files that have names that are linked to known ransomware

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 74.9%
  • JavaScript 22.8%
  • Makefile 1.8%
  • CSS 0.5%