Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fchristenson/fc-ransomware
https://github.com/fchristenson/fc-ransomware
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fchristenson/fc-ransomware
- Owner: fChristenson
- Created: 2019-06-22T13:26:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T19:54:07.000Z (about 2 years ago)
- Last Synced: 2023-08-20T07:21:58.714Z (over 1 year ago)
- Language: Rust
- Size: 131 KB
- Stars: 7
- Watchers: 0
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fc-ransomware
## What we will cover
* What is ransomware?
* How does it work?## Notes
Ransomware is when a program encrypts files on a computer and where the hacker demands money for giving
the victim access to their files again.The usual way to get attacked is that you run a program on your computer and it encrypts all your
personal files, shows some form of message where you need to input a password that will unlock your
files again.The password will be provided to you after you pay the hacker.
One of the simplest ways to make a ransomware program is to use a XOR bit operation on the victims
files.A XOR operation simply means that if exactly one of two bits are 1 the result will be 1 otherwise
the result will be 0.0101 (5) original number
XOR 0011 (3) secret number
= 0110 (6) encrypted numberNotice that after encrypting the data we can still reverse the encryption by simply running the
XOR operation on the encrypted number with the same secret number.This means that as long as we have a secret number we can encrypt and decrypt the data easily.