You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi All,
I'm trying to monitor user/program accessing certain website on port 80 or different port. Would below rule work? Tried them but without any success. Perhaps i missed something.
Alert tcp any any -> any 80 (MSG: "user/program accessing Facebook"; content: "www.facebook.com")
Or based on DNS query.
Alert udp any any -> any 53 (MSG: "user/program accessing Facebook"; content: "www.facebook.com")
alert udp $HOME_NET any -> any 53 (msg:"Facebook DNS";
byte_test:1,!&,0xF8,2; content:"|08|facebook|03|com|00|"; fast_pattern:
only;)
$HOME_NET is defined as your internal network you are monitoring and
$EXTERNAL_NET is typically set to "any". $HTTP_PORTS is set to the Snort
defaults in my configuration.
-Nick Mavis
Feroz Basir
unread,
Jan 13, 2014, 11:32:21 AM1/13/14
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi Nicholas,
Thanks for replying. FYI, Facebook.com is just an example. Would that work with other URL as well?
What is that - Host|3A| ?
Care to teach me on how you got - byte_test:1,!&,0xF8,2; ?
Thanks again. I have quite numbers of URL that I need to monitor and using different port number as well.
Regards,
Feroz Basir
Nicholas Mavis (nmavis)
unread,
Jan 13, 2014, 1:40:56 PM1/13/14
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Yes, they would work if you altered the content matches correctly. The
byte_test verifies that the packet is a valid DNS request and Host|3A|
would be part of the HTTP headers. If you have further questions regarding
those content matches, I would recommend reading into DNS and HTTP
protocols along with their typical header structure.
Feroz Basir
unread,
Jan 13, 2014, 9:34:30 PM1/13/14
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi Nicholas,
I copy n paste the rule into local.rules file. I still couldn't see any alert when I accessed www.facebook.com. Can you help, please?
Thanks again.
Regards,
Feroz Basir
Feroz Basir
unread,
Jan 20, 2014, 12:24:25 PM1/20/14
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi All,
Anyone could help me on my basic snort rule, please? I've tried a few combination and nothing worked for me. Thanks.
Regards,
Feroz Basir
Joel Esler (jesler)
unread,
Jan 20, 2014, 1:04:46 PM1/20/14
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message