Skip to content

referefref/honeypot-ftp-python3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

honeypot-ftp-python3

Adapted from https://github.com/alexbredo/honeypot-ftp FTP Honeypot by Alexander Bredo. Minor changes to allow for more lightweight logging, elasticsearch support and command line flags including a more verbose output.

Features:

  • FTP + SSL-FTP
  • Catch used credentials
  • Catch malware files
  • distribute honeytoken files

Dependencies:

  • Twisted
  • My site-packages(3) --> common-modules

Usage:

# Run
python3 ftp.py -help

Contribution welcome.

FAQ

  1. Generate SSL-Certificates

CA: openssl genrsa -out ca.private.key 4096 openssl req -new -x509 -days 4096 -key ca.private.key -out ca.public.key

SRV: openssl genrsa -out smtp.private.key 4096 openssl req -new -key smtp.private.key -out smtp.csr openssl x509 -req -days 1024 -in smtp.csr -CA ca.public.key -CAkey ca.private.key -set_serial 01 -out smtp.public.key

SSL Check Connection openssl s_client -quiet -connect 127.0.0.1:990

  1. Known Errors OpenSSL.SSL.Error: [('system library', 'fopen', 'No such process'), ('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'system lib')] --> Certifcate Files not found (wrong path?)

All rights reserved. (c) 2014 by Alexander Bredo, 2024 James Brine

About

FTP Honeypot (python3)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%