News for hackers. Stuff that matters.
Re:Reversing the Petya ransomware with constraint solvers by userbinator on Saturday April 23, 2016 @10:14PM (#11558275)
As they say, Don't' roll your own crypto.

I have a feeling the malware author, working in 16-bit realmode, forgot that ints are usually 16 bits wide in that environment. A "typedef unsigned int uint32_t" behaves as expected in the usual 32/64-bit environment, but not in 16-bit. It's unlikely the author invented the 16-bit Salsa20 variant, but rather copied existing code and just compiled it wrongly.

There are no comments on this comment yet.