Re:Why does APT not use HTTPS?
by buster on Monday January 21, 2019 @09:45AM
(#18960666)
Except that this page argues, that you are not increasing security in this case.
[ Parent
| on HN ]
Re:Why does APT not use HTTPS?
by shittyadmin on Monday January 21, 2019 @10:06AM
(#18960816)
This page is wrong, for example they claim there's no privacy increase here but quite clearly there's a huge difference between an attacker being able to tell "you're downloading updates" and an attacker being able to tell "you're downloading version X.Y of Z package" - worse, that information could actually later be used to attack you based on the fact that the attacker now knows what version to find vulnerabilities in, including non-exposed client software for email, documents, browsers, etc.
It's a relatively insignificant security benefit for most, but could prove an important one for those who targeted attacks are used against.
Expect the attacker can tell the package version in https.
Read the footnote in the article.
Re:Why does APT not use HTTPS?
by shittyadmin on Monday January 21, 2019 @12:13PM
(#18961748)
They're speculating that you can do this using size of the full connection - there's truth to that, but under HTTPS padding will occur causing a round up to the block size of the cipher - meaning that there's a higher chance of overlap in package sizes.
It might actually become quite difficult to do such analysis, especially if multiple requests were made for packages at once in a connection that's kept open. You won't get direct file sizes either, you'd have to perform analysis for overhead and such - in any case it's significantly less trivial than an HTTP request logger.
Even then one is guessing and the other is establishing a fact. That part of the argument didn't sit right with me and I can't imagine somebody in Info Sec or Legal conflating the two..
But it does, because HTTPS can ensure you always get up to date data.
They have a solution involving timestamps for HTTP, but that is still clearly less secure than the guarantee from HTTPS.