FakeNet Malware Analysis

FakeNet is a tool that aids in the dynamic analysis of malicious software.  The tool simulates a network so that malware interacting with
a remote host continues to run allowing the analyst to observe the
malware’s network activity from within a safe environment.  The goal of
the project is to:


  1. Be easy to install and use; the tool runs on Windows and requires no 3rd party libraries
  2. Support the most common protocols used by malware
  3. Perform all activity on the local machine to avoid the need for a second virtual machine
  4. Provide python extensions for adding new or custom protocols
  5. Keep the malware running so that you can observe as much of its functionality as possible
  6. Have a flexible configuration, but no required configuration

The tool is in its infancy of development.  We started working on the
tool in January 2012 and we intend to maintain the tool and add new and
useful features.  If you find a bug or have a cool feature you think
would improve the tool please contact us.


  • Supports DNS, HTTP, and SSL
  • HTTP server always serves a file and tries to serve a meaningful
    file; if the malware request a .jpg then a properly formatted .jpg is
    served, etc.  The files being served are user configurable.
  • Ability to redirect all traffic to the localhost, including traffic destined for a hard-coded IP address.
  • Python extensions, including a sample extension that implements SMTP and SMTP over SSL.
  • Built in ability to create a capture file (.pcap) for packets on localhost.
  • Dummy listener that will listen for traffic on any port, auto-detect
    and decrypt SSL traffic and display the content to the console.

Demo Video

Click here to watch a demo of version 0.9 of the tool in action.

How it works

FakeNet uses a variety of Windows and third party
libraries.  It uses a custom HTTP and DNS server to respond to those
request.  It uses OpenSSL to wrap any connection with SSL.  It uses a
Winsock Layered Service Provider (LSP) to redirect traffic to the
localhost and to listen for traffic on new ports.  It uses python 2.7
for the python extensions.  And, it creates the .pcap file by
reconstructing a packet header based on the traffic from send/recv

Download & Source

Ehacking Staff
With more than 50 global partners, we are proud to count the world’s leading cybersecurity training provider. EH Academy is the brainchild of Ehacking, which has been involved in the field of training since the past Five years and continues to help in creating professional IT experts.

Most Popular

What Makes ICS/OT Infrastructure Vulnerable?

Infrastructure security for operational technologies (OT) and industrial control systems (ICS) varies from IT security in several ways, with the inverse confidentiality, integrity, and...

Everything You Must Know About IT/OT Convergence

What is an Operational Technology (OT)? Operational technology (OT) is a technology that primarily monitors and controls physical operations. It can automate and control machines,...

Understand the OT Security and Its Importance

This article discusses OT security and why it is essential for protecting industrial systems from cyberattacks. We will also discuss common control objectives that can...

What is Deepfake, and how does it Affect Cybersecurity?

Producing deepfake is easy. It is hard to detect. They operate with a description of reality rather than reality itself (e.g., a video). Any...