HackingHacking tutorials

Firefox Remote Keylogger [Ultimate Tut]

This post shows how easy is to make a remote keylogger as a Firefox addon. With little knowledge on how to make a firefox addons and coding in javascript you can make a potentialy dangerous add-on. For developing a Firefox add-on you can see here: https://developer.mozilla.org/En/Developing_add-ons.
First download the source code of keylogger from here: Click here . I suggest you to use the Linux operating system. After downloading the source code extract the file and we get some files and folder like this:
[Image: sxErFan.png]
1)In the above figure we can see some files over there, basically chrome.manifest and install.rdf. These two files are files for developing a Firefox add-on.
2)Firefox reads a simple plaintext chrome.manifest file to determine what packages and overlays your extension provides.

The install.rdf file has information such as add-on like description, author name, version, etc. Let us open the install.rdf file and see:

[Image: 3oiLsHi.png]
3)The third file is key_strokes.php. It is the main file, which will receive the logs and make a text file of all keystrokes.

[Image: ry5Td3O.png]4)Now we have to upload this key_stroke.php to a remote server. For example, here we are using http://www.000webhost.com, which is a free hosting server.
[Image: KdsmXXl.png]5)We can see here we uploaded our key_strokes.php file to the server; now, after uploading the file, we will have a URL for this uploaded file in this format yourdomainname.com/key_strokes.php. So here is mine: http://rootinjector.comoj.com/key_strokes.php.

6)Now there is another folder named chrome in the keylogger source code folder. Inside the chrome folder is another folder named content, which contains a XUL file named remote_keylogger.XUL . We have to do some minor editing in this file, so open the file.

[Image: QCVPsnA.png]7)As we can see, there is a URL in the above figure; we have to change this URL to our server address like this:
Now we can proceed to make an add-on. Zip the three files, chrome folder, chrome.manifest, and install.rdf, into one and change the extension of zip file into xpi.

[Image: JvfVcr8.png]

8)After zipping these three files, we change the name and extension of the zipped file to adblocker.xpi. Now let us install this add-on to the Firefox browser.
[Image: OicwJTK.png]Yeah! Our add-on is working. It’s asking for installation; click on “Install Now,” as we see in above figure.

[Image: X2HbIhr.png]
Yeah it works like a charm

the authorHarinder
blacklisthackers.com is created and owned by Harinder(Aarav).Aarav is a technology Blogger from India(Dehradun). He’s Quiet type and Creative Guy who enjoys creating and exploring new trends on the WEB. Currently pursuing B.tech from DIT University.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.