(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
tl;dr: the researchers discovered that MediaWiki instances were good soft targets.
[0] https://www.cs.cmu.edu/~pavlo/static/slides/graffiti-dc401-o...
(Replying to PARENT post)
http://www.reddit.com/r/programming/comments/38kn2g/redditst...
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
First, I suspect it's lacking a secure integrity check (MAC), so is weak against chosen ciphertext attacks.
def encrypt(self, plaintext):
plaintext = self.pad(plaintext)
iv = Random.new().read(AES.block_size)
cipher = AES.new(self.key, AES.MODE_CBC, iv)
return iv + cipher.encrypt(plaintext)
I'm also not sure about his padding of zeros to attain the AES block size - was there a more secure padding? def pad(self, s):
return s + b"\0" * (AES.block_size - len(s) % AES.block_size)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
Key is derived from a single SHA256 (can be brute-forced very rapidly), cyphertext isn't authenticated (can be tampered with or corrupted without anything noticing), and the padding function is broken (strips trailing NULLs, so no good for binary files).
(Replying to PARENT post)
(Ideally, it would be slightly more elegant than just renaming a zip file.)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
Now if ISP's would start offering their own cached usable versions of reddit we would be getting somewhere :)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
I used to run the rust servers sub. I would have people post JSON posts, which i would then spider and generate a JSON DB from, and created a UI (see the gh-pages branch) to grab the JSON and present a searchable/filterable way of finding servers that are relevant to you.
(Replying to PARENT post)
Another improvement might be not to send base64 abracadabra, but instead send some readable texts (autogenerated or fragments from wikipedia) and encode message as a slight deviations (typos, etc) using steganography. But it would require a lot of messages to transmit enough data.
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
(Replying to PARENT post)
Neat proof-of-concept though
(Replying to PARENT post)
The first was a new business where we would go to trade shows, conventions, hell even fast food places, and just collect as many free beverages, condiments, napkins et cetera as possible. Then we'd sell them online.
The other one didn't do much better. We'd go to a Lowes Tool Rental, and just rent a bunch of tools and then re-rent them out of our truck in the parking lot. They had to have them back an hour before Lowes closed for the night.
Our current business model is, we go to bars and hit on people, and if we get their phone numbers, we add it to a subscription service where other people can have access to it.
Honestly, I feel we're no more in the wrong than RedditStorage is.. /s
(Replying to PARENT post)
Some people still don't know what a password is? =D
(Replying to PARENT post)
(Replying to PARENT post)
nice little engineering work though. kudos.
(Replying to PARENT post)