Archive for February, 2009

Feb
26
2009

In the world of networking, nothing is 100% secure. Not even SSL can make sure your information is safe from eavesdropping. With simple tools (eg: Cain and Abel), anyone can tap into your network and sniff sensitive information such as your login information and credit card number.

This kind of attack is known as Man-In-The-Middle (MITM) attack. MITM is achieve when the attacker manage to impersonate each endpoint. The attacker can then view the all the traffics between each end point.

In here, I’m going to touch on how to create a better login mechanism to prevent attacker from getting your personal password. Since many of us are using same password for several account eg, bank account and email; it is important that the web applications we are using are able to safeguard this piece of information before it reaches the server.

The diagram above shows the process of sending the password across a network that has been compromised . Do bear in mind that all the information/data send will be visible to the attacker.

When the client request a login page from the server, a login page including a challenge and challenge id will be send to the client. The server will keep a copy of the challenge and challenge id in it’s database. Before sending the username and the password back to the server for authentication, the password will be hash with the challenge on client side and send across the network together with the username and challenge id. After the server receive the username, hash and challenge id, it will use the challenge id to retrieve the challenge and password from it’s database and hash them together and match it with the received hash.

The challenge that is stored on the server can be use once only. Even if it’s not used, the challenge only have a validity of 15 mins.





Feb
26
2009

I just learn how to swim last year around March. I’ve learn a lot since then cause I evolve from chicken to duck. This time, I’m trying something new. Not just normal diving, but diving with the proper gear (oxygen tank, regulator, goggle, flippers). Taking a diving cert is not cheap; plus I’m not a frequent traveler to nice beaches and dive.

I’ve learned some basic techniques of diving from this trip, even though it’s just a swimming pool diving. It’s not hard as long you pay attention to your instructor. Here are some of the pictures I took.

The people…

The gear…

More pictures coming up soon!





Feb
11
2009

This is the second time in my life I witness a solar eclipse. The first time was when I was 11 and the second time I manage to capture some pictures. Sadly the eclipse occured at 6pm plus and that is when the sun is setting; so I couldn’t see if there is any full eclipse.

Here are some pics I manage to take before raining and before the sun went to ’sleep’.

The freaking sun is setting, how am I gonna see the eclipse?

Well I still manage to take some pics using my cam and an ‘add on lens’ (film thingy inside a diskette). This one has tree branch blocking.

This is the best shot.