tfpauly / draft-pauly-adaptive-dns-privacy

Adaptive DNS Privacy
Other
8 stars 9 forks source link

Man in the middle for obfuscated DOH #33

Open BrianGithubber opened 5 years ago

BrianGithubber commented 5 years ago

I think we need to update the security considerations.

In obfuscated DOH you are explicitly not trusting either name server, s.t. no one server can know both the client IP and the name the client wants resolved. But if you don’t trust the Obfuscation Target, it can still get the client IP indirectly. The Target can just give out some man-in-the-middle IP address to the client for the given name. Then when the client connects to that address, the man-in-the-middle server just forwards the connection to the real server. The man-in-the-middle server doesn’t actually terminate the client HTTPS, but it does have enough info to (reasonably) reliably associate client IP to name it resolved. This works much better with V6, since you’d need 1 man-in-the-middle IP per name.

tfpauly commented 5 years ago

Yes, you’re definitely correct that this is a danger. I think there are a few possible mitigations to this, which we should note in the privacy/security considerations (an issue would be appreciated!):

BrianGithubber commented 5 years ago

I created the issue.

bs

From: Tommy Pauly notifications@github.com Sent: Thursday, August 29, 2019 1:59 PM To: tfpauly/draft-pauly-adaptive-dns-privacy draft-pauly-adaptive-dns-privacy@noreply.github.com Cc: Brian Swander briansw@microsoft.com; Author author@noreply.github.com Subject: Re: [tfpauly/draft-pauly-adaptive-dns-privacy] Man in the middle for obfuscated DOH (#33)

Yes, you’re definitely correct that this is a danger. I think there are a few possible mitigations to this, which we should note in the privacy/security considerations (an issue would be appreciated!):

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftfpauly%2Fdraft-pauly-adaptive-dns-privacy%2Fissues%2F33%3Femail_source%3Dnotifications%26email_token%3DANBFOWMQLMNKDHGUOS4RXTTQHA2ATA5CNFSM4ISGK7V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5PZT4I%23issuecomment-526359025&data=02%7C01%7Cbriansw%40microsoft.com%7Cd03d9b5c43ba477ad56308d72cc3b24f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637027091330375806&sdata=RmxmVUDmdEgyXRDj2uLEwQnGMJNKQ5Yevq5JYmBWGoc%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANBFOWPGWDFV44PCZZ5DYZDQHA2ATANCNFSM4ISGK7VQ&data=02%7C01%7Cbriansw%40microsoft.com%7Cd03d9b5c43ba477ad56308d72cc3b24f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637027091330375806&sdata=X9f0QsdYwJ7nMy0gSyFhfAe65NNskRvqdk%2BHlwfza5U%3D&reserved=0.