cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2475
Views
0
Helpful
2
Replies

Block some attachments

flyok
Level 1
Level 1

Hi,

I want to reject emails with some attachments (EXE, COM, DLL, scripts, etc.) but just only quarantine emails with this files in compressed packages (ZIP, RAR etc.)

How can I do that. I've made an "incoming Content Filter", but there is only e few "executables" filetypes and I don't know how to make an exception for compressed packages.

Thanks.

1 Accepted Solution

Accepted Solutions

flyok
Level 1
Level 1

I made a dictionary with recommended extensions (\.ade$, \.adp$, \.bas$, \.bat$, ... ) and used it in two content filters:

1. "attachment-filename-dictionary-match" and "attachment-filetype != "Compressed"". action: Notify sender and drop the messge

2. "attachment-filename-dictionary-match" and "attachment-filetype = "Compressed"", action: Quarantine and notify administrator.

View solution in original post

2 Replies 2

Libin Varghese
Cisco Employee
Cisco Employee

Since the ESA looks inside compressed files for executables as well, adding a condition for the above may not work as expected.

 

You can certainly try a filter with two conditions

attachment-filetype is Executables

and

attachment-filetype is Compressed

 

However, this may not work correctly if an email has multiple attachments (one compressed pdf and one dll)

 

 

flyok
Level 1
Level 1

I made a dictionary with recommended extensions (\.ade$, \.adp$, \.bas$, \.bat$, ... ) and used it in two content filters:

1. "attachment-filename-dictionary-match" and "attachment-filetype != "Compressed"". action: Notify sender and drop the messge

2. "attachment-filename-dictionary-match" and "attachment-filetype = "Compressed"", action: Quarantine and notify administrator.