Unfortunately, I can not add more comments, the requirement for me to have 50 reputation.
At your request: My lab environment is an SSL-VPN used with AS RADIUS. Built with the following three elements:
End user → there is no “client” installed, the connection starts through the web portal. client = web browser
NAS → This is a machine that provides a web portal (the place where the end user enters a username and password) and acts as a RADIUS client, sending requests to the AS.
AS (RADIUS) -> This is me. I receive access requests and verify the username and password.
So, according to this, I get in the Access-Request:
MS-chap2-Answer: 7d00995134e04768014856243ebad1136e3f00000000000000005a7d2e6888dd31963e220fa0b700b71e07644437bd9c9e09
MS-CHAP-Challenge: 838577fcbd20e293d7b06029f8b1cd0b
According to RFC2548:
MS-CHAP-Challenge . This attribute contains the call sent by the NAS to the Microsoft-Challenge-Handshake Authentication Protocol (MS-CHAP) user. It MAY be used in Access-Request and Access-Challenge packages.
MS-CHAP2-Response This attribute contains the response value provided by MS- CHAP-V2 peers in response to a call. It is used only in Access-Request packets.
If I understand correctly, and please be calm, this is all very new to me, based on your AS flowchart, Authenticator also supports LCP. And in my case, the LCP is initiated by the NAS, so my life has become simple, and I get an Access-Request without having to create a tunnel.
Now my question is: how can I decrypt the password? I realized there was a random call to a 16-byte key, but which is stored by NAS.
From my recollection I need to know a common secret and decipher all this using the algorithm described in your thesis.
But algorithem is huge, I tried different sites to see what part of its AS should be used and failed in every attempt to decrypt. Since I can no longer ask for help in this thread, I can only say that this small text box cannot fill in the amount of gratitude that I have for your help, it is really lucky that you see my thread.
Email me, my contact information is in my profile. Also, for some reason, I cannot mark your answer as a solution.