Have been searching ransomware source codes for analysis(as much as possible). I have already checked with sites like Any.Run but most of their samples are .exe and binary files. Does any one have any leads to a place I can get the source codes especially for ransomware?
Here are some links you may find helpful:
- PDF, containing some interesting links
Nobody is going to publish their source code for active ransomware, there are various reasons for that:
- Its a business and the author makes money from it, and by giving away the source code there is a competitor. Of course that is not wanted
- It is possible that someone will find weaknesses, obviously that is possible for binaries aswell but usually it's easier with the source code, that could allow decryption without paying
- If it's "only for educational purposes" it will get abused. I'm 100% sure on that one, so this has to be considered aswell
A few years ago I saw a sample ransomware on GitHub, maybe that is a good starting point.