No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

#Form Grabber

Form grabber is a method of capturing web form data. This project is the result of a school research project and a proof of concept.

It should not be used for malicious purposes !

Happy learning.


More information about this research project here :

How to test it

  1. Install and open the latest stable Firefox web browser.
  2. Install and run Fiddler 2:
  3. [OPTIONAL] download and run an echo server: Run: echotool.exe localhost /p tcp /s 80
  4. Create a new Visual Studio 2010 Project from source src/main.c.
  5. Build and run the executable in RELEASE mode.
  6. In Firefox, go to Verify you are in HTTPS mode.
  7. Fill the login form (mail and password).
  8. Click on the Log in button.
  9. In Fiddler, textView mode, you should now see at least two requests. One encrypted to The other one unencrypted to localhost/postDemo.php. Inside the the POST data you'll find your email and password
  10. [OPTIONAL] the echotool will print the content of the unencrypted POST.

How it could work

  1. The form grabber is hidden on a corrupted and malicious PDF file.

  2. The user opens the PDF file on a windows machine.

  3. His machine gets infected : Hidden code on the PDF file is exectued..

  4. The malicious code injects some code on the firefox process by using the well known CreateRemoteThread & WriteProcessMemory technique. See [this page] ( for more info about this technique

    a. It injects a "POST parser" on the firefox's PR_Write method. This parser detects when a HTTP POST command is sent and grabs login and passwords.

    b. It sends the information to a remote server

This proof of concept offers some similar functionnalities to those offered by the zeus trojan :


  1. CreateRemoteThread function :
  2. WriteProcessMemory function :
  3. PR_Write function :
  4. Windows 7 UAC code-injection vulnerability (still unpatched ???):