Minggu, 12 Juli 2009

Hacking the Bank (its just sharing file not to follow)

Hacking the Bank

One evening i was talking to a friend about security on the internet, just for fun we decided to make a little demo on how to hack userid and password from an online Banking application.This is the result. Whatever is displayed below here is for educational purposes only. We believe that all techniques used and displayed here are very simple for anyone with an average knowledge of computer networks and webserver applications.

The information provided on this page is NOT sufficient to hack any real Bank. This page is a very simplified demo of an evil hacker fooling an online Banking user.

The main reason to put this information online is to warn users for internet crimes, and hopefully to make more people aware that the internet is a dangerous neighbourhood! And no, one does not need to be a genius to commit crimes with computers!

We started by activating a virtual directory named BankSite on a Microsoft IIS server. This virtual directory represents the Bank. We added entries BankServer and HackServer to the system32/drivers/etc/hosts file, this provides clarity in the scripts later on. BankServer represents the webserver of our Bank hosting the Online Banking Application. HackServer respresent the webserver from the malicious hacker. Technically it is not necessary for the Hackserver entry to exist. (In the real world, a DNS server would be used instead of the hosts file.)

Screenshot of IIS Manager and HOSTS file


We created a very simple website to represent our Bank. bank.html is the main HTML file, top.html contains the Bank Logo, menu.html is for the leftside menu, and pcc.html contains the login application. pcc.html is the only file that plays a part in this demo; It reads the userid and password from the user who is entering his online banking application. The file loggedin.asp is a (secure!) ASP application written by the bank. It's operation is invisible to the hacker, thus it's contents is not shown here!

Screenshot of Internet Explorer opening the trusted Banksite


We tested our BankSite in Microsoft Internet Explorer running on Windows XP (after adding BankServer to the hosts file).

Screenshot of Internet Explorer opening the trusted Banksite


Entering a userid and password, and pressing the login button gives us this page. In background, after pressing login, the secure loggedin.asp from the bankserver was executed, showing our account balance. Note that this process of calling the ASP application is invisible for the user. (The userid/password is only shown here for debugging purposes.)

Screenshot of Internet Explorer opening the trusted Banksite


Ok, so far we have a working Trust Bank Online Banking Application(TM). Next step is performed by the evil hacker. Evil hacker will setup a webserver called hackserver, and for the purpose of this demo he sets up a virtual directory called HackSite (Again we chose this name for clarity, a real evil hacker would call it TrustBankSite). The evil hacker created only three files on his HackServer.

Screenshot of IIS Manager on the HackServer.


The bank.html file is a copy of the same file on the real Trust Bank BankServer, the modifications however are important! This file points to the original top.htm and menu.htm files in the real bankserver. This way, the hacker does not need to host these files on his server, and as an added bonus his page will look exactly like the webpage of the real bank, even if Trust Bank decides to change its contents. Important in bank.html is that the login frame is now pointing to a file (pcc-hack.html) on the webserver of the evil hacker. Again, the name pcc-hack is for clarity, a real hacker could keep the name pcc.html. In the pcc-hack.html you can see the same as in the original pcc.html, except for the reference to hackloggedin.asp on the hacker's HackServer instead of loggedin.asp on the Trust Bank's BankServer.

Screenshot of the hackers HTML files


Let's take a look at Hackloggedin.asp. It does two very simple things. The first one is innocent, it redirects the webpage to the loggedin.asp on the real BankServer. How nice of this hacker, because the user is now really logged in to the Bank. The second very simple thing it does is not so nice, it writes the users userid and password to a file on the HackServer.

Screenshot of the hackers HTML files


After the users presses login on this website (which looks exactly like the real website), the user is effectively redirected to the real site, and can perform his online banking. The evil hacker now possesses the user's userid and password, without any suspicion from the user.

Screenshot of the hack


Yeah yeah yeah, this is all very nice mister, but nobody is going to type HackServer instead of BankServer. How does evil hacker get users on his evil HackServer ? Thank you for asking, let me send you an e-mail on that! All you have to do is click on the link inside the e-mail...

Screenshot of fake e-mail identity


In other words, evil hacker will send an email to millions of people, pretending to come from PCC Trust Bank. He will use HTML to disguise the true target of the link.

Screenshot of fake e-mail identity


The moral of this story is simple; there are many 'evil hackers' in this world and they will use simple and easy methods to try to fool as many people as possible. For some reason unknown to me, many people seem to have blind faith in the internet. Please stop clicking on links in e-mails, you are not winning anything. Please do not believe anything you read in an email or on the internet (except this page of course ;-).







CC & PC

Minggu, 05 Juli 2009

How Do People Get Addicted to Crack?

How Do People Get Addicted to Crack?


cocaine is a highly addictive substance. People who take it can become physically and psychologically dependant upon it to the point where they can't control their cravings. Researchers have found that cocaine-addicted monkeys will press a bar more than 12,000 times to get a single dose of it. As soon as they get it, they will start pressing the bar for more.

Crack and other addictive drugs chemically alter a part of the brain called the reward system. As mentioned previously, when people smoke crack, the drug traps the chemical dopamine in the spaces between nerve cells. Dopamine creates the feelings of pleasure we get from enjoyable activities such as eating and having sex. But in crack users, dopamine keeps stimulating those cells, creating a "high" -- a euphoric feeling that lasts anywhere from five to 15 minutes. But then the drug begins to wear off, leaving the person feeling let-down and depressed, resulting in a desire to smoke more crack in order to feel good again.

The brain responds to the dopamine overload of the crack high by either destroying some of it, making less of it or shutting down its receptors. The result is that, after taking the drug for a while, crack users become less sensitive to it and find that they must take more and more of it to achieve the desired effect. Eventually, they cannot stop taking the drug because their brains have been "rewired" -- they actually need it in order to function. How long does it take to become addicted? That varies from person to person, and an exact number is difficult to pin down, especially when physical addiction is paired with psychological addition.

Of course, not everyone reacts the same way to extended use. Some users actually become more sensitive to crack as they take it. Some people die after taking a very small amount because of this increased sensitization.

When an addicted person stops taking crack, there is a "crash." He or she experiences the symptoms of withdrawal, including:

  • Depression
  • Anxiety
  • Intense cravings for the drug
  • Irritability
  • Agitation
  • Exhaustion
  • Anger
In the next section, we'll discuss just how widespread this particular addiction is