[Snort-sigs] HTTP interception/injection

Y M snort at outlook.com
Wed Mar 14 14:36:28 EDT 2018


Hi,


The below rules are based of CitizenLab report "Bad Traffic". The pcaps are available at the GitHub resource.


alert tcp $EXTERNAL_NET 80 -> $HOME_NET  any (msg:"MALWARE-OTHER device-specific generic injected HTTP response"; flow:to_client,established; id:13330; flags:FA; content:"307 Temporary Redirect"; content:"Location|3A 20|"; content:"Connection|3A 20|close"; content:!"Content-Type|3A 20|"; content:!"Date|3A 20|"; metadata:ruleset community, service http; reference:url,citizenlab.ca/2018/03/bad-traffic-sandvines-packetlogic-devices-deploy-government-spyware-turkey-syria; reference:url,github.com/citizenlab/badtraffic; classtype:trojan-activity; sid:9000040; rev:1;)

alert tcp $EXTERNAL_NET 80 -> $HOME_NET any (msg:"MALWARE-OTHER device-specific file download injected HTTP response"; flow:to_client,established; id:13330; flags:FA; content:"307 Temporary Redirect|0A|"; content:"Location|3A 20|"; content:"Connection|3A 20|close|0A|"; content:!"Content-Type|3A 20|"; content:!"Date|3A 20|"; pcre:"/Location\x3a\x20.+\.php\x3f[a-z]\x3d[a-f0-9]{64}\x0a/i"; metadata:ruleset community, service http; reference:url,citizenlab.ca/2018/03/bad-traffic-sandvines-packetlogic-devices-deploy-government-spyware-turkey-syria; reference:url,github.com/citizenlab/badtraffic; classtype:trojan-activity; sid:9000041; rev:1;)

alert tcp $EXTERNAL_NET 80 -> $HOME_NET any (msg:"MALWARE-OTHER device-specific AdHose injected HTTP response"; flow:to_client,established; id:13330; flags:FA; content:"307 Temporary Redirect|0D 0A|"; content:"Location|3A 20|"; content:"Connection|3A 20|close|0D 0A|"; content:!"Content-Type|3A 20|"; content:!"Date|3A 20|"; pcre:"/Location\x3a\x20.+\.html\x0d\x0a/i"; metadata:ruleset community, service http; reference:url,citizenlab.ca/2018/03/bad-traffic-sandvines-packetlogic-devices-deploy-government-spyware-turkey-syria; reference:url,github.com/citizenlab/badtraffic; classtype:trojan-activity; sid:9000042; rev:1;)

Thanks.
YM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-sigs/attachments/20180314/6ccd89bb/attachment.html>


More information about the Snort-sigs mailing list