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

Save FTP payloads #157

Open
t3chn0m4g3 opened this issue Mar 5, 2024 · 5 comments
Open

Save FTP payloads #157

t3chn0m4g3 opened this issue Mar 5, 2024 · 5 comments

Comments

@t3chn0m4g3
Copy link
Contributor

@glaslos Is it planned for glutton to have the option to store payloads as i.e. honeytrap does?

@glaslos
Copy link
Member

glaslos commented Mar 5, 2024

Don't you have a payloads folder that keeps filling up your disc and crashes your sensors?

@t3chn0m4g3
Copy link
Contributor Author

t3chn0m4g3 commented Mar 5, 2024

@glaslos

🐣

path := filepath.Join("payloads", sha256Hash)

It is not even easter yet and you made me find the easter-egg 😅

@t3chn0m4g3
Copy link
Contributor Author

t3chn0m4g3 commented Mar 5, 2024

@glaslos While seeing payload messages in the log, the payloads folder will not be created. Rebuilt glutton from scratch, started r/w container, pre-created the payloads folder, started glutton even with root privileges; without success.

Log example:

{"time":"2024-03-05T17:10:35.619556256Z","level":"INFO","msg":"ftp payload received","sensorID":"923e4231-e6df-45b3-b2f4-5498394db6da","dest_port":"21","src_ip":"2.2.2.2","src_port":"50368","message":"\"\\x16\\x03\\x00\\x00S\\x01\\x00\\x00O\\x03\\x00?G\\xd7\\xf7\\xba,\\xee\\xea\\xb2`~\\xf3\\x00\\xfd\\x82{\\xb9Ֆ\\xc8w\\x9b\\xe6\\xc4\\xdb<=\\xdbo\\xef\\x10n\\x00\\x00(\\x00\\x16\\x00\\x13\\x00\\n\"","handler":"ftp"}

Expected this to be logged into the payloads folder.

@glaslos
Copy link
Member

glaslos commented Mar 5, 2024

Ah, this is FTP. I don't store the payload yet. TCP is specifically if i don't have a handler. In case I ever get around to go through may treasure-trove of TCP payloads 😛

@t3chn0m4g3
Copy link
Contributor Author

Sure thing. Thanks.

@glaslos glaslos changed the title Payload retrieval Save FTP payloads May 7, 2024
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