Re: OpenVPN and CWE-316?
Gert Doering <[email protected]> Wed, 14 Aug 2024 09:02:02 +0200
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On Wed, Aug 14, 2024 at 08:52:54AM +0200, Gert Doering wrote:
> On Tue, Aug 13, 2024 at 08:14:23PM -0400, Selva Nair wrote:
> > Nonetheless, on Windows, we could easily add CryptProtectMemory() with
> > SAME_PROCESS access for good measure, especially for those who cannot use
> > "--auth-nocache". That will also add some protection to proxy passwords
> > which are always cached for some reason.
>
> Would you be willing to send something?
Looking a bit closer, this is less straightforward than I thought
(I was expecting something "protect this memory from prying eyes",
but it's "crypt/decrypt this chunk of memory", which would need to
be woven into whenever we want to access or update the user/password
structures, including auth tokens)...
Still doable, and possibly worth trying.
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc
(application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJmvFZqAAoJEB2Cnv7KVigSq6kL/3CLMaSh+AaedaCK8IO6Rpen 0O1fKQXDoo4Kt437jAbO4NeDMgXR1GDpxZPZDQHdGsc+mn7n2XD2sguhxPLU/Qu5 yQmNUkaXAlByMsmWwYeZptiOO74JD9F4Wr6Ul1IElUgaR9dfkftPz/LGmdsJ/J+J 4OAu8zX0E2AV7OyGYQ4CS+92RP8d9oqh0YyIrObamS2hzXsCJfzfATVQf0Lt8nBt U2GMvFW4xIW+I9mZBsWTBiSj/ktwhRtBqn9GBPxZTbffw6GfUosflDjaaBVsNrsT WbBuTpkn89xGXLMApggf84moa6WyL9SxZetyxP3zMj5ogr3pQSvOcIbt7683BfEQ 8bWkpgsBXw6RdlGy7/SVX2gB1E2eBtlVbYw5uIFDLfS6l32TjBeAeMIcYFfdYyxL YjqxODNhUcoSNqGEr2j3x612347KUP84ylIT+7780KT+lKYXCppll1i9BmFXCrcd f3Sz61bpqTkywxONqvcz6sX3YdV3sdxrz4hMA7Wo2Q== =xgjA -----END PGP SIGNATURE-----