If client, server, and sensor are the same machine (assuming you are catching the file in flight not the payload-generated traffic), you want $HOME_NET any -> $HOME_NET 80. Additionally, the port direction and flow:to_server,established will only alert on upload, so check that it’s what you want.
On 9/20/18, 10:18 AM, "Snort-users on behalf of Mike via Snort-users" <email@example.com on behalf of firstname.lastname@example.org> wrote:
I was able to successfully install Snort on Windows 10 and am able to
receive alerts with the current rules I have enabled for other tests. I
am collecting on the same machine Snort is installed on, and I am using
the "-k none" switch when I start Snort.
I am conducting research in my lab to see how Snort responds to these
types of files and at the same time learn to write effective rules.
I have created a malicious (for test) Word doc that uses DDE to open a
Chrome browser and open up google.com. There are numerous rules for
Office files, but most are geared towards traffic over mail
client/server ports and no matter how I tweak my rules, I am not able to
get an alert when I run the document.
Since the traffic is originating from the same system, should the rules
"alert tcp $HOME_NET any -> $EXTERNAL_NET 80 (msg:"Microsoft DDE field
exploit"; flow:to_server,established; file_data;....?"
Any help on if this can be done, or what the payload or rule is missing
would be greatly appreciated.
Snort-users mailing list
Go to this URL to change user options or unsubscribe:
To unsubscribe, send an email to:
Please visit http://blog.snort.org to stay current on all the latest Snort news!
Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette