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

Explicitly fetch http payloads for analysis #4

Open
jatrost opened this issue Apr 27, 2015 · 5 comments
Open

Explicitly fetch http payloads for analysis #4

jatrost opened this issue Apr 27, 2015 · 5 comments

Comments

@jatrost
Copy link
Contributor

jatrost commented Apr 27, 2015

Many of the exploit attempts cause ES to attempt to wget a URL. This URL should be fetched, md5'ed, and ideally included in the payload for analysis. Maybe this should be configurable.

@jordan-wright
Copy link
Owner

I've thought about this exact thing. Kippo does this quite well. My only concern would be how to parse the wget command sent to the honeypot.

@jatrost
Copy link
Contributor Author

jatrost commented Apr 30, 2015

This is how we do it for shockpot: https://github.com/threatstream/shockpot/blob/master/commands.py. We just grabbed a bunch of example exploit attempts and made sure that we covered most of them. The bad guys will be able to evade but I haven't seen many examples of this in the wild.

@cloughrm
Copy link

cloughrm commented May 7, 2015

Opened a PR to address this enhancement #6

@jordan-wright
Copy link
Owner

Thanks for this everyone! Let me review the PR and I'll see what I can do to merge. My biggest holdup is reviewing exactly what's going on with the parsing to make sure there isn't a way to exploit the honeypot.

Give me a week or so and bug me if I haven't merged by then 😄

Thanks again!

@cloughrm
Copy link

cloughrm commented May 8, 2015

Thanks @jordan-wright - I have one more commit coming shortly to address handling form-encoded vs json encoded post requests.

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

3 participants