├── .github └── workflows │ └── build.yaml ├── .gitignore ├── AUTHORS ├── CHANGELOG.txt ├── LICENSE.txt ├── README.md ├── docs ├── CustomResponse.md ├── architecture.md ├── contributors.md ├── developing.md ├── fakenet_architecture.png ├── internals.md ├── srs.md └── testing.md ├── fakenet.spec ├── fakenet ├── __init__.py ├── configs │ ├── CustomProviderExample.py │ ├── burp.ini │ ├── debug.ini │ ├── default.ini │ ├── fakenet_ca.crt │ ├── fakenet_ca.key │ ├── html_report_template.html │ ├── sample_custom_response.ini │ └── sample_raw_response.txt ├── defaultFiles │ ├── FakeNet.gif │ ├── FakeNet.html │ ├── FakeNet.ico │ ├── FakeNet.jpg │ ├── FakeNet.pdf │ ├── FakeNet.png │ ├── FakeNet.txt │ ├── FakeNetMini.exe │ └── ncsi.txt ├── diverters │ ├── __init__.py │ ├── debuglevels.py │ ├── diverterbase.py │ ├── fnconfig.py │ ├── fnpacket.py │ ├── linutil.py │ ├── linux.py │ ├── windows.py │ └── winutil.py ├── fakenet.py └── listeners │ ├── BannerFactory.py │ ├── DNSListener.py │ ├── FTPListener.py │ ├── HTTPListener.py │ ├── IRCListener.py │ ├── ListenerBase.py │ ├── POPListener.py │ ├── ProxyListener.py │ ├── RawListener.py │ ├── SMTPListener.py │ ├── TFTPListener.py │ ├── __init__.py │ ├── privkey.pem │ ├── server.pem │ └── ssl_utils │ ├── __init__.py │ ├── privkey.pem │ ├── server.pem │ └── ssl_detector.py ├── resources ├── fakenet.ico └── fakenet.png ├── setup.py ├── test ├── CustomProviderExample.py ├── custom_responses.ini ├── requirements.txt ├── sample_raw_response.txt ├── sample_raw_tcp_response.txt ├── scripts │ ├── README.md │ ├── iptables-flush.sh │ ├── iptables-list.sh │ └── ncscript.sh ├── template.ini └── test.py └── windivert ├── WinDivert32.dll ├── WinDivert32.sys ├── WinDivert64.dll └── WinDivert64.sys /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/.gitignore -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/AUTHORS -------------------------------------------------------------------------------- /CHANGELOG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/CHANGELOG.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/README.md -------------------------------------------------------------------------------- /docs/CustomResponse.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/CustomResponse.md -------------------------------------------------------------------------------- /docs/architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/architecture.md -------------------------------------------------------------------------------- /docs/contributors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/contributors.md -------------------------------------------------------------------------------- /docs/developing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/developing.md -------------------------------------------------------------------------------- /docs/fakenet_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/fakenet_architecture.png -------------------------------------------------------------------------------- /docs/internals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/internals.md -------------------------------------------------------------------------------- /docs/srs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/srs.md -------------------------------------------------------------------------------- /docs/testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/docs/testing.md -------------------------------------------------------------------------------- /fakenet.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet.spec -------------------------------------------------------------------------------- /fakenet/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fakenet/configs/CustomProviderExample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/CustomProviderExample.py -------------------------------------------------------------------------------- /fakenet/configs/burp.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/burp.ini -------------------------------------------------------------------------------- /fakenet/configs/debug.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/debug.ini -------------------------------------------------------------------------------- /fakenet/configs/default.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/default.ini -------------------------------------------------------------------------------- /fakenet/configs/fakenet_ca.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/fakenet_ca.crt -------------------------------------------------------------------------------- /fakenet/configs/fakenet_ca.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/fakenet_ca.key -------------------------------------------------------------------------------- /fakenet/configs/html_report_template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/html_report_template.html -------------------------------------------------------------------------------- /fakenet/configs/sample_custom_response.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/sample_custom_response.ini -------------------------------------------------------------------------------- /fakenet/configs/sample_raw_response.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/configs/sample_raw_response.txt -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNet.gif -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNet.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNet.html -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNet.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNet.ico -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNet.jpg -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNet.pdf -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNet.png -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNet.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNet.txt -------------------------------------------------------------------------------- /fakenet/defaultFiles/FakeNetMini.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/defaultFiles/FakeNetMini.exe -------------------------------------------------------------------------------- /fakenet/defaultFiles/ncsi.txt: -------------------------------------------------------------------------------- 1 | Microsoft NCSI -------------------------------------------------------------------------------- /fakenet/diverters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fakenet/diverters/debuglevels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/debuglevels.py -------------------------------------------------------------------------------- /fakenet/diverters/diverterbase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/diverterbase.py -------------------------------------------------------------------------------- /fakenet/diverters/fnconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/fnconfig.py -------------------------------------------------------------------------------- /fakenet/diverters/fnpacket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/fnpacket.py -------------------------------------------------------------------------------- /fakenet/diverters/linutil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/linutil.py -------------------------------------------------------------------------------- /fakenet/diverters/linux.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/linux.py -------------------------------------------------------------------------------- /fakenet/diverters/windows.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/windows.py -------------------------------------------------------------------------------- /fakenet/diverters/winutil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/diverters/winutil.py -------------------------------------------------------------------------------- /fakenet/fakenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/fakenet.py -------------------------------------------------------------------------------- /fakenet/listeners/BannerFactory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/BannerFactory.py -------------------------------------------------------------------------------- /fakenet/listeners/DNSListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/DNSListener.py -------------------------------------------------------------------------------- /fakenet/listeners/FTPListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/FTPListener.py -------------------------------------------------------------------------------- /fakenet/listeners/HTTPListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/HTTPListener.py -------------------------------------------------------------------------------- /fakenet/listeners/IRCListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/IRCListener.py -------------------------------------------------------------------------------- /fakenet/listeners/ListenerBase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/ListenerBase.py -------------------------------------------------------------------------------- /fakenet/listeners/POPListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/POPListener.py -------------------------------------------------------------------------------- /fakenet/listeners/ProxyListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/ProxyListener.py -------------------------------------------------------------------------------- /fakenet/listeners/RawListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/RawListener.py -------------------------------------------------------------------------------- /fakenet/listeners/SMTPListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/SMTPListener.py -------------------------------------------------------------------------------- /fakenet/listeners/TFTPListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/TFTPListener.py -------------------------------------------------------------------------------- /fakenet/listeners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/__init__.py -------------------------------------------------------------------------------- /fakenet/listeners/privkey.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/privkey.pem -------------------------------------------------------------------------------- /fakenet/listeners/server.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/server.pem -------------------------------------------------------------------------------- /fakenet/listeners/ssl_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/ssl_utils/__init__.py -------------------------------------------------------------------------------- /fakenet/listeners/ssl_utils/privkey.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/ssl_utils/privkey.pem -------------------------------------------------------------------------------- /fakenet/listeners/ssl_utils/server.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/ssl_utils/server.pem -------------------------------------------------------------------------------- /fakenet/listeners/ssl_utils/ssl_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/fakenet/listeners/ssl_utils/ssl_detector.py -------------------------------------------------------------------------------- /resources/fakenet.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/resources/fakenet.ico -------------------------------------------------------------------------------- /resources/fakenet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/resources/fakenet.png -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/setup.py -------------------------------------------------------------------------------- /test/CustomProviderExample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/CustomProviderExample.py -------------------------------------------------------------------------------- /test/custom_responses.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/custom_responses.ini -------------------------------------------------------------------------------- /test/requirements.txt: -------------------------------------------------------------------------------- 1 | netifaces 2 | icmplib 3 | irc 4 | requests -------------------------------------------------------------------------------- /test/sample_raw_response.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/sample_raw_response.txt -------------------------------------------------------------------------------- /test/sample_raw_tcp_response.txt: -------------------------------------------------------------------------------- 1 | sample TCP raw file response -------------------------------------------------------------------------------- /test/scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/scripts/README.md -------------------------------------------------------------------------------- /test/scripts/iptables-flush.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/scripts/iptables-flush.sh -------------------------------------------------------------------------------- /test/scripts/iptables-list.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/scripts/iptables-list.sh -------------------------------------------------------------------------------- /test/scripts/ncscript.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/scripts/ncscript.sh -------------------------------------------------------------------------------- /test/template.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/template.ini -------------------------------------------------------------------------------- /test/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/test/test.py -------------------------------------------------------------------------------- /windivert/WinDivert32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/windivert/WinDivert32.dll -------------------------------------------------------------------------------- /windivert/WinDivert32.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/windivert/WinDivert32.sys -------------------------------------------------------------------------------- /windivert/WinDivert64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/windivert/WinDivert64.dll -------------------------------------------------------------------------------- /windivert/WinDivert64.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mandiant/flare-fakenet-ng/HEAD/windivert/WinDivert64.sys --------------------------------------------------------------------------------