I just signed up on the TOR StackExchange. Let me preface my question by warning everybody that I am not a technical expert and apologizing in advance if some of my assumptions are incorrect or naive.
From what I understand about TOR, a user could potentially be de-anonymized in the following scenario (however improbable it may be):
A TOR circuit consists of 3 nodes connecting the user and the clearnet. If, hypothetically, all 3 nodes were compromised (or even the entry and exit node), being operated and monitored by an adversarial entity, then it could be ascertained that a certain file of a known file size was downloaded from the exit node. If several milliseconds later your Internet Provider has a record of you downloading a file of the exact same size and this information can be statistically determined, well, your anonymity is more or less compromised.
My question is, couldn't something along the lines of the following scheme be implemented to combat this?
Suppose at every node, as well as on the user's computer a random amount of "noise" data was tacked on to the packet before its encryption. Too prevent too much data from being appended and causing lag within the system, the data would need to be within a determined range, between some minimum and maximum value (a minimum value would not hide the actual size of the meaningful data packet well enough, one might argue). Then, at every step in the proxy chain, the data is unscrambled by a random amount (again within a given range of permissible values) is subducted and/or added on to the noise, repackaged, and sent along. Would this be possible to implement, and would it successfully spoof adversaries endeavoring to conduct malicious statistical analysis?
I do not know if what I have proposed is nonsense, technically impossible to implement, due to some consideration of which I am simply not aware. My ignorance may be apparent. But if it is possible, why not implement this as part of the TOR infrastructure? It would serve to strengthen anonymity in this increasingly Orwellian madhouse of a world.
Of course, someone has probably thought of this all before. It would then have been rejected for good reason, I'm sure. I appreciate any feedback on this matter. Thank you.