5 ms·
That argument goes backwards. Acquiring random seed is much deeper security attack than hash flooding network connection. If you can get the seed, why would yo
by nabla9 10y ago
That argument goes backwards.
Acquiring random seed is much deeper security attack than hash flooding network connection. If you can get the seed, why would you do DDoS-attack. You do DDoS attacks when you can't get in and do more severe attacks.
It's like braking into someones house to get the spare key so you can get in and rob them.
- rurban 10y agoIf you know the static address of the seed in memory it's trivial. E.g. the commit replaced the secure SHA1 with a 256bit key in net/ipv4/syncookies.c with a less secure siphash with a 128bit key. https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=17650f22cd059b3d653c03b5534e4a2a18cb02bd https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.... https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=2c956a60778cbb6a27e0c7a8a52a91378c90e1d1 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.... talks about siphash being more secure than MD5 and SHA1. It's only more secure than trivial fast hash functions, like DJB33* or FNV1, but not MD5. These guys want to maintain your networking code! The new Documentation/siphash.txt on the other hand is correct. But it simply refers to the siphash pdf without refuting the wrong chapter 6 parts, which lead to the wide-spread hash table insecurity amongst most popular dynamic languages.
- zx2c4 10y agoA 128-bit key is more than plenty; don't be ridiculous. The prior partial sha1/md5 implementation usage was pretty dubious. Siphash has significant performance improvements for things like syncookies and secure sequence numbers. Your comment about knowing the address of the key and taking it out of kernel memory... wtf? If you can read arbitrary kernel memory, it's already game over. The whole attack model relies on ring 0 being ring 0.
- nabla9 10y agoDid you understand my argument? If you can access memory, you are already in and don't need to do hash flooding to being with.
- zx2c4 10y agoHe doesn't care to even try to understand. He's just a troll.