Message-ID: <4F565A70.5050907@...1114...> Date: Tue, 06 Mar 2012 19:41:52 +0100 From: David Sommerseth MIME-Version: 1.0 References: <4F4CE4FE.3010009@...515...> <1848924920.20120228183103@...449...> <319492303.20120228213418@...449...> <1331052472905814500@...1315...> <1331055760398534500@...1315...> In-Reply-To: Subject: Re: [Openvpn-devel] OpenVPN Management Interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: Alon Bar-Lev Cc: openvpn-devel@lists.sourceforge.net -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/03/12 19:26, Alon Bar-Lev wrote: > On Tue, Mar 6, 2012 at 7:42 PM, Russell Morris > wrote: >> Hi, >> >> >> >> That makes sense - thanks! I'm not a security expert by any means, >> so the thread lost me when it diverged into this area ... :-(. >> >> >> >> At the risk of asking a stupid question (but that is my specialty >> ... :-)) - is there a conclusion of how to deal with this? >> > > This is not a stupid question at all. In fact this is the correct > question... The wrong question is the privilege separation. > > I rephrase the question: What is missing within openvpn to allow > proper UI management > > Goal: To be able to support OpenVPN in complete privilege separation > from the end-user, delegating user specific credentials. > > OpenVPN core tasks: > > 1. Run without end-user credentials in OpenVPN configuration, meaning: > (Side note: there is no reason not to support both client and server > in this mode.) a. For each session accept certificate via management > interface. b. Delegate signature operations to management interface. > Although this is already implemented but undocumented, it only support > RSA, needs to be extended to other algorithms such as EC. > > 2. Run without peer certificate validation in OpenVPN configuration, > meaning: a. Delegate peer-certificate validation to the management > interface. b. No need for CA, EKU, Subject, CRL etc in configuration. > > 3. Provide cross platform command-line tool to interact with the > management interface, this is the supported project tool. a. Support > passphrase. b. Support file based certificate/key (PKCS#1, PKCS#12). > c. Support CryptoAPI. d. Support PKCS#11. e. Support peer certificate > validation. f. Support basic logging. e. In future this simple CLI > may transform to simple UI (Qt, GTK), similar to wpa_supplicant's > wpa_cli. [...snip...] I like these thoughts a lot. It really makes a lot of sense. However, how will this approach make sure that malware don't use such a (new) openvpn service to redirect all Internet traffic via a third-party which can analyse everything happening? The malware would just be a unprivileged process accessing the management interface, just like the GUI, right? I'm just thinking this would be an interesting approach in some less open countries, where OpenVPN is used to get access to the real free Internet. Distributing a suitable malware on computers with this kind of OpenVPN would be make them able to do such MITM attacks. kind regards, David Sommerseth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9WWm4ACgkQDC186MBRfroL5ACeL3l0hBbGYvll4J9MtfmsByKs 37wAn058QuxJN7wiprc+UTbj2G4nN35c =VJ4L -----END PGP SIGNATURE-----