Mar 4, 2008

MITM, almost

Yesterday I wanted to check my bank balance. Clicked on the my bank's ebanking interface but I was presented to what looks like a self-signed certificate warning. Not a good sign as this means a possible MITM. For comparison the self-signed certificate is here. A legit certificate from the bank is here.

I proceed to accept the self-signed certificate to see if it's really a MITM. To my disappointment it was not. Actually it's a Squirrelmail installation at 125.212.46.13 which has a self-signed certificate. A bad practice nonetheless.

DNS DIG1

Must be a typo in one of their nameservers as 125.212.46.18 is the correct host. Normal response should be:

DNS DIG2

At first I suspected it was a MITM because 125.212.46.13 is an old CentOS 4.x installation with PHP 4.3.9 and Apache 2.0.52. Probably compromised I said to myself, along with an A record it makes a good MITM host. Apparently the mis-configured nameserver is 210.14.7.216.

broken NS.

As of today 125.212.46.13 is dropping connections but 210.14.7.216 still is returning it as an A record for ebanking.unionbankph.com.

1 comments:

srcasm

3/4/08 11:26 PM

An interesting scenario to face and it's great that you knew enough to check it out. What scares me is that websites like that are what cause most users to just accept self-signed, expired and incorrect SSL certs. This can cause pain an anguish in the long run when their information is stolen or worse, their identity.