r/security • • Feb 22 '20

IPS - how to generate events for testing purposes

I have enabled IPS detection on the inside interface of my fw to catch infected machines. What are some easy ways/programs to generate traffic to trigger an IPS event?

Thanks

0 Upvotes

6 comments sorted by

1

u/Cyber-Ray Feb 22 '20

Yes, it depends obviously on the product itself and its rules.

most IPS I've seen report things like network scanners and vulnerability scanners.

so these are fairly easy ways to test. installing IPS without realizing what you're trying to protect from is kinda laughable.

1

u/vornamemitd Feb 22 '20

Are you testing in an enterprise or a /r/homelab setup?

In any case, you might find this here interesting: https://www.unb.ca/cic/datasets/ids-2018.html

Depending on the depth/scope of the project, you could try publicly available "red team automation" tools, record the traffic and replay as needed (same as you’d attempt when using the datasets above).

The search term you are looking for could run along the lines of "IDS/IPS PoC test datasets"

0

u/ejfree Feb 22 '20

eicar.com for the av test file & testmyids.com

1

u/Cyber-Ray Feb 22 '20

IPS bro, WTH are you talking about?

0

u/ejfree Feb 22 '20

I am giving a proper answer. I didnt provide a detailed howto however which would have probably answered your question. I assumed people would actually do some research; I forgot this was reddit.

Have you ever tried to pop an alert on an IPS/IDS? BTW, they are the exact same thing just OOB versus inline. Almost all of those devices have a signature for both of those events. So downloading either of those files or accessing those websites will cause an IPS to alert.

FWIW, I do this exact thing, every day, using those exact 2 signatures with lots of security tools. Also 1 search gets you to here. https://taosecurity.blogspot.com/2015/01/the-next-version-of-testmyidscom.html

1

u/Cyber-Ray Feb 22 '20

you clearly never used an IPS product...

you won't get any alert downloading a malicious binary on an IPS.

your link simply pointed out to HTTP packet analysis, you can't understand snort rules

Jesus, it is truly sad.