Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start ftp service as passive instead of active #510

Open
kounelios13 opened this issue Jan 17, 2022 · 2 comments
Open

Start ftp service as passive instead of active #510

kounelios13 opened this issue Jan 17, 2022 · 2 comments

Comments

@kounelios13
Copy link

Hello. I have the following situation.
I setup a docker container that uses the ftp service of the honeypot . I login to the ftp honeypot and try to perform some actions .

First I do an mkdir FOO that works as expected. After that I do an ls command that returns a 425 data connection failed. After some digging I found out that the honeytrap tries to open an active socket which fails if the honeytrap is containerized (happens both in docker and kubernetes).

Is there a way to configure honeytrap to start as a passive server instead?

@sammynx
Copy link
Collaborator

sammynx commented Jan 25, 2022

You could try sending the PASVcommand first to the ftp honeypot to enter passive mode.

@kounelios13
Copy link
Author

@sammynx . I am out of the office and will try it tomorrow.However I am concerned about the following scenario. Assuming I wanna capture suspicious files that an attacker wants to upload to my ftp service. How will the attacker know they have to use PASV first? I am looking for a way to make this process as transparent as possible for the end users.

Thank you very much for all the work you have put here in the honeytrap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants