About Me: Jawaad Mahmood: 30, Muslim, Canadian, freelance, doing consulting in Tokyo, Japan.

I Looked into a Mirror

November 27, 2008

I looked into what was once a mirror and I saw someone who looked nothing like me.

Today I thank you, God, for what you did for me; what you didn’t do for him.

Comments Off

Got Owned in my Interview with Google Japan

November 25, 2008

Looks like I’m done :( Couldn’t answer their question, they basically just wanted me to know stuff about different network protocols – I could explain the protocols but I didn’t know shit about the techncial details :(

It sucks but what can I do?

Comments Off

Kerberos

November 24, 2008

Just putting up my notes, in case anyone cares.

Kerberos

An authorization system. There are three players in a Kerberos system; client, server and the trusted 3rd party.

Login

a. User requests access from Authentication server (AS).

b. If user exists, AS sends Client/Ticket Granting Server (TGS) Session Key and Ticket-Granting-Ticket (TGT).

(The Session Key is encrypted using the user’s hashed password; The TGT is encrypted by the TGS secret key)

c. The Session Key is decrypted by the user’s machine.

We are now authenticated with the Authentication Server.

I need service!

a. We send the TGT, service ID and an authenticator (Client ID/Timestamp) to the TGS.

  • (TGT is encrypted already; authenticator is encrypted by the Session ID)

b. The TGT is decrypted by the TGS. Using the session key, the TGS decrypts the authenticator.

  • The session ID is extracted from the TGT

c. The TGS returns a CST (Client/Server Ticket) & a Client/Server Session Key.

  • The CST has the client id, network addy, and length of validity, and the client/server session key. It is encrypted with the service secret key.
  • The C/S Session Key is encrypted using the C/TGS Session Key.

d. With these, the client can authenticate himself to the server. The encrypted CST and an Authenticator (with the client ID and timestamp) are sent.

  • The Authenticator is encrypted with the client/server session key.

e. Server returns the timestamp + 1, encrypted with the CS Session Key. Client translates and can use the server now.

Comments Off
Previous Page
Archives 
July 2010 May 2010 April 2010 March 2010 February 2010 January 2010 December 2009 November 2009 October 2009 August 2009 July 2009 June 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 August 2008 July 2008 June 2008 May 2008 April 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 November 2005 February 2005 December 2004 November 2004 October 2004 September 2004

Creative Commons License
All text and images under 1024 x 768 pixels on this site are licensed under a Creative Commons Attribution 3.0 Unported License.
I require a link back to the original page of the article/image. If the image/article
is not public (IE: It is not present in an article on the blog), you may not reproduce it without permission.