140 likes | 309 Views
VTCP/Secure: A Remote VPN for the Macintosh. Stacey Lum, InfoExpress The Third Annual Macintosh Cryptography and Internet Commerce Software Development Workshop. Remote VPN Definition. Corporate Network. Provide Secure Remote Access Over Untrusted Networks
E N D
VTCP/Secure: A Remote VPN for the Macintosh Stacey Lum, InfoExpressThe Third Annual Macintosh Cryptography and Internet Commerce Software Development Workshop
Remote VPN Definition CorporateNetwork Provide Secure Remote Access Over Untrusted Networks Secure Usually MeansEncryption Data IntegrityAuthenticationAccess Control Gateway UntrustedNetwork Remote PC
Remote VPN Environments • ISDN, Cable Modem, DSL, 56k Dial-up • Network Address Translation (NAT) • Single and Multiple IP at NAT Device • Extranet Capabilities • Remote Firewall • Proxy Traversal
Remote VPN Features • Performance • Ease of Use • Application Compatibility • TCP and UDP • ICMP • File Sharing • Non-IP Protocol Applications
Where to Filter Data? • Need to Intercept Network Calls • Characteristics of VPN Differs Depending on Which Layer is Intercepted
Layer 3 Advantages Application • Compatibility Above IP • Can be IPSEC Compliant • Gateway Performance TCP/UDP IP NIC,Modem
Layer 4 Advantages Application • Media and OS Compatibility (Ethernet, Dial-up) • Extranet, NAT, and Proxy Friendly • End User Performance TCP/UDP IP NIC,Modem
Mac Layer 4 Filtering OT App • STREAMS Filtering • TCP + UDP (Autopush) • DNS (SAD Push) • Tunneling Component • OT GUI Application • Encryption and Integrity • Authentication TCP UDP IP NIC,Modem
Security Model Authentication Server Shared Key Gateway Gateway Public Key Client
Diffie-Hellman Public Key • Royalty Free • Based on Discrete Logarithms • Simple Math • Gxy mod P = Gyx mod P • n is hard to calculate from (Gn modulus P) with certain values of P and G • Private key: nPublic key: (Gn modulus P)
Standard D-H Exchange Gateway Mac Client UntrustedNetwork Contents o Server public key Contents o Server public keyo Server private key Create DH key pairSend public key Calculate D-Hsecret key usingserver’s private key & client’s public key Calculate D-Hsecret key usingclient’s private key & server’s public key Encrypted Authentication
Extended D-H Exchange with Past Secrecy Gateway Mac Client UntrustedNetwork Contents o Server public key Contents o Server public keyo Server private key Generate two D-H key pairs andsend public keys Generate D-Hkey pair andsend public key Calculate D-H usingclient’s private keys &server’s public keys Calculate D-H usingserver’s private key &client’s public keys Encrypted Authentication
Symmetric Key For Encryption • Compression for Performance (LZ) • Crypto Checksum for Integrity (MD5) • Initialization Vector for Sequencing • Encryption (DES, and Triple DES) • Chain Messages > Block Length (CBC)
Demo • Diffie-Hellman Key Exchange • DES Encryption • Authentication using SecurID • Download File