Configure Office 365 to block executable attachments, even within ZIP files

  1. Log into your Office 365 organization with an Admin account.
  2. Click on the Admin in the upper right hand corner and select Exchange.  Go to Mail Flow on the left, make sure you are on Rules
  3. Click the + to Create New Rule.  Name it Block EXE or something you’ll understand
  4. Click the More Options… link.
  5. In the Apply this rule if… drop down select Any attachment has executable content
  6. In the Do the following… drop down select Block the message -> Reject the message with the explanation… and type in Attachment contains an executable.  This will trigger a Transport Rule response to the sender with that explanation.
  7. Leave the Audit this rule with severity level: checked drop down as is (Not specified).
  8. Choose a mode for this rule: radio button should be on Enforce.
  9. Now click Save.  and you should see the rule detail on the right.