Block plugins (eg Java and Flash) while proxying
Per http://www.chromium.org/developers/design-documents/network-stack/socks-proxy, "Plugins (for instance Flash and Java applets) can bypass the Chrome proxy settings all together." So honeypot attacks (or stray Flash plugins) deterministically leak traffic and reveal the proxy user's actions.
Per @iislucas , https://developer.chrome.com/extensions/contentSettings#type-ContentSetting would let uProxy programmatically disable Chrome plugins, protecting against these attacks. This would cause all plugins to fail, though, likely necessitating some sort of UI alert on sites with disabled plugins.
Note: this would not stop honeypot attacks that use WebRTC. We'd only be stopping some of these attacks which isn't great :/ To fix all attacks more thought is needed, and changes to Chrome and Firefox.
Why can't we stop webrtc based direct connections? The signalling should be captured by our local proxy, which can choose to send it directly if its UProxy setup or to relay it through UProxy otherwise. On Jul 13, 2014 6:50 PM, "Lucas Dixon" [email protected] wrote:
Note: this would not stop honeypot attacks that use WebRTC. We'd only be stopping some of these attacks which isn't great :/ To fix all attacks more thought is needed, and changes to Chrome and Firefox.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/281#issuecomment-48857027.
Because that isn't the way it (the attack) works; a website can specify that it uses WebRTC, it's own STUN servers, and Chrome ignores proxy settings for STUN requests. So the honeypot attack can get the user's IP and send it wherever it likes.
Can the extension detect and warn about this situation?
Similar to https://github.com/uProxy/uproxy/issues/316 (Disable WebRTC while proxying)