Latest / Blue Security / Recommended EOP and MDO settings
Transcript
- 0:06Welcome to the Blue Security Podcast, a weekly podcast for
- 0:10information security defenders where we bring you discussions
- 0:13on best practices, tools, and implementation for enterprise
- 0:16security. Now here are your house for
- 0:19today's show. Andy JA and Adam Brewer, welcome
- 0:22to another. Episode of the Blue Security.
- 0:24Podcast, I'm Andy, your host. I'm Adam, your Co host.
- 0:28Today we have. A great topic lined up for you.
- 0:31We're going to talk about recommended EOP or Exchange
- 0:36Online Protection and MDO, Microsoft Defender for office
- 0:41settings. We're mostly going to talk.
- 0:44About the EOP stuff because? I think that is a lot more
- 0:46prevalent. There's a lot more E3 customers
- 0:48if you're using. Microsoft 365.
- 0:52Exchange for your e-mail. This will apply to you.
- 0:56The Defender for office stuff we'll touch on towards the end.
- 0:59That's more. For the folks who have.
- 1:02Either defender for office or. E5.
- 1:04So on and so. Forth for that flavour, but real
- 1:07quick, what is? EOP exchange Online Protection
- 1:11it. Is the core of security.
- 1:13For M365 subscriptions when it comes to e-mail and the most
- 1:17basic stuff, anti malware, anti spam, anti phishing, MDO
- 1:24defender for online is that advanced e-mail.
- 1:26Security Gateway. And there are a lot of things
- 1:30that that includes ants, phishing, impersonation, and of
- 1:34course, protection. For all of the office.
- 1:37Applications as well, on top of not only Exchange, but Teams and
- 1:42SharePoint and OneDrive. And all that other stuff as
- 1:46well. Including like sandboxing of
- 1:48links within those as well as maybe?
- 1:52URL rewrites which? You know, you can argue can and
- 1:55cannot might not be helpful depending on your standpoint on
- 1:58that, but that's like the ones that compare with the other
- 2:01e-mail security gateways that you might find.
- 2:04That are third parties. To Microsoft Mindcast or
- 2:08Proofpoint, so on and so forth. There are two major security
- 2:13levels in EOP and MDO that generally if you don't want to
- 2:17mess with anything else you can just default to either standard
- 2:21or strict built in policies and there is a way that you can just
- 2:25say I want standard security. Across the board.
- 2:28Or I want. Strict security across the
- 2:30board. And those are different than
- 2:32the. Default.
- 2:33So default is. Usually a little bit more
- 2:36lenient and then you would go in and set your standard policies
- 2:40as well. Now one thing that I did learn
- 2:42actually by reading some of these settings is that now
- 2:49Microsoft. Is.
- 2:51Using a secure by default on a a lot of our security products
- 2:55including EOP and MDO, and we're going to put links to a lot of
- 3:00these documents and walkthroughs in our show notes.
- 3:05But the secure by default is. Something that tenants can't
- 3:10override and their their policies that are in there that
- 3:21no one who is a Microsoft customer can change.
- 3:24So for example like if you wanted to allow certain IP
- 3:31addresses or safe sender list. The secure by default, the
- 3:36overrides aren't applied to. The e-mail that we know is high
- 3:41confidence phishing or high confidence malware regardless.
- 3:44Of if you override it. Using any other mechanism that
- 3:47is there to allow it, it's still going to get.
- 3:51Blocked so there is default. Protection that's built in that
- 3:54is going to protect you from the things that we know are high
- 3:58confidence bad for your organization and and again, you
- 4:01can't turn this on or off, it is just going to be there.
- 4:05There are a few. Exceptions to the secure by
- 4:08default, and that includes if you were to configure phishing
- 4:13simulations. So there is a way to?
- 4:16Configure phishing simulations if you either do it through MDO
- 4:20or for in this purpose. What we're really talking about
- 4:23is third. Party something like Co Fence or
- 4:27Phish Me or something like that where you have a phishing
- 4:30simulator and then you want those emails to be delivered,
- 4:32there is an advanced delivery. Policy.
- 4:34I'm going to put that in the show notes.
- 4:36Because it is a whole. Thing on how to configure it
- 4:39correctly, not just like put it on the allowed senders list or
- 4:43something like that like there is an advanced.
- 4:45Way to do this? And we just don't have enough
- 4:47time to walk through that today. But I'm telling you, if you're
- 4:50using that and you want to avoid getting it caught by the spam or
- 4:56phishing filters, that. Are part of the secure by
- 5:00default. There's a way to.
- 5:01Do around that. Additionally, there's a way to
- 5:04configure. A security or SEC OPS.
- 5:07Mailbox like a shared mailbox that you want submissions to go
- 5:10to and that mailbox can be used for anything and you want that
- 5:16to be exempt from. The secure by default.
- 5:19Policies. There is an advanced way to
- 5:21configure this mailbox. It's.
- 5:23Usually a shared mailbox and there's a way to bypass the.
- 5:26Filters so that this SEC. OPS Mailbox can get all the bad
- 5:32emails for your SEC OPS team to analyze and.
- 5:36Third party security filter. So if.
- 5:38You are a Mimecast or a proof point or someone who's using a
- 5:42third party gateway. There is an advanced way to do
- 5:45that to bypass the spam filtering.
- 5:46So there is a way to if your. MX record is pointing to one of
- 5:53those services. You can bypass the spam
- 5:55filtering mail flow rule even if the message has been detected as
- 6:00high confidence phishing by M3. 65 S That way you're.
- 6:05Using your third party filter as your spam filter rather than
- 6:09enter 65. Again, the documentation is
- 6:11there to follow. I would review it.
- 6:14Because there are ways that. People have gone around this by
- 6:18adding them to allow senders. List which we will talk about.
- 6:21As from the safe senders point of view, but there.
- 6:25Are right ways to do this? And there are wrong ways to do
- 6:27it, so make sure that you are following the guidance and then
- 6:31finally. For false positives.
- 6:33You can temporarily allow certain messages that are still
- 6:36being blocked by Microsoft using admin submissions.
- 6:39So by default allowed. Entries for domains and emails
- 6:43and files and URLs. Exist for 30 days.
- 6:46And during those 30 days, Microsoft learns allow entries
- 6:49and removes them automatically and extends them so by.
- 6:51Default. Allowed entries for spoofs spent
- 6:53senders never expire, and we're gonna talk about that more later
- 6:57on. But if you're.
- 6:59Using the correct method to submit them to Microsoft as
- 7:04false positives. They will always.
- 7:06Become allowed in your environment essentially and that
- 7:09will be an exception to those. Secure by defaults.
- 7:12It got caught. It's a false positive you.
- 7:14Use the correct method to submit it.
- 7:16It then gets added to essentially Microsoft's filters
- 7:20later on to. Always allow it for your tenant.
- 7:23I'll take a pause there 'cause that was quite a bit.
- 7:26Yeah, this is great. So Andy and I both work for
- 7:29Microsoft, by the way, and we work in our field sales
- 7:32organization selling Microsoft security.
- 7:34So this strikes at the core of a lot of what we do.
- 7:39And I think there's a lot of misconception around what is
- 7:43baked into the service, which is Exchange Online Protection
- 7:47versus what's a paid add on in Defender for Office 365.
- 7:52And Exchange Online Protection is not something you can even
- 7:56turn off it, it's not an option. There is always that first pass
- 8:01filtering of messages coming into the Microsoft environment
- 8:04before they're delivered to Exchange mailboxes.
- 8:07And it's a really powerful tool because Microsoft is one of the
- 8:11largest e-mail providers in the world.
- 8:13We see a tremendous amount of threat signal and when we
- 8:17determine attacks are true positives, we do add those
- 8:22signature based detections back into the Exchange Online
- 8:25Protection engine and those become less computationally
- 8:28expensive, easier to manage over time.
- 8:31Now of course, most attacks are polymorphic, so signature based
- 8:34detection is not as valuable as it once was, but it's still
- 8:37great to have that first pass of removing Croft and junk from the
- 8:44filtering pipeline as it goes along.
- 8:47And that's really what Exchange Online Protection is for.
- 8:50So one interesting thing about this, because it's been around
- 8:53for a very long time, Its predecessor for those who are
- 8:56history buffs was for Forefront Online Protection or floppy as
- 9:01some lovingly referred to it. Because it's been around for
- 9:04such a long time, customers have built up a tremendous amount of
- 9:08exceptions. And I will say in my position as
- 9:11a field seller of Defender for Office 365, which inherits and
- 9:16uses all of these settings, we would have customers do a Bake
- 9:20Off with Defender for Office. And then some other solutions
- 9:23say Proofpoint, Mimecast, Cisco, whomever.
- 9:25And they'd say, man, Proofpoint catches way more stuff than you
- 9:29guys. You could let a ton of stuff
- 9:30through and almost always it would come out that stuff was
- 9:35being allowed through because there was some sort of rule or
- 9:39exception that enabled that to pass through.
- 9:42The admins had configured it once and then it stayed forever
- 9:46and messages continued to flow through.
- 9:48And so that's where some of this secure by default stuff comes
- 9:53from. There are times we can be very,
- 9:56very confident. This is malicious e-mail.
- 9:58Nobody should want this e-mail. This is junk e-mail.
- 10:01No one should want it. And in the past, we would say,
- 10:04well, but customers said they want it, so let's deliver it to
- 10:07them. And now what we're doing when
- 10:09Andy talked about how this will override that is scenarios when
- 10:15we are so unbelievably confident that this is malicious or this
- 10:21is junk, we are going to not deliver it even though on a
- 10:25normal basis based on your rule set, we would have.
- 10:29So one of the takeaways from today as you listen to this
- 10:34podcast or watch it on YouTube should be to go do a deep dive
- 10:39in your Exchange Online Protection policies and rules
- 10:43and configurations and really clean them up.
- 10:45I think every organization has an opportunity to get simpler
- 10:51and more streamlined in their configuration, and hopefully
- 10:55we're going to give you some tools and strategies and ideas
- 10:57during the show to do exactly that.
- 10:59So we have mentioned these exceptions and so now let's.
- 11:03Just do a deep dive. On how?
- 11:06To safely. Exempt things or allow things,
- 11:11safe senders. Essentially in your e-mail and
- 11:13organization, there are going to be multiple methods that we'll
- 11:16talk about from starting from the most recommended method to
- 11:21the least recommended method. So starting off the best way and
- 11:26the number one method that we recommend as in we as in
- 11:29Microsoft recommend for allowing e-mail from senders and domains
- 11:33is something called Tenant allow block list you might ask.
- 11:37Yourself. What is this?
- 11:39It's actually not something you can directly allow entries into.
- 11:44So it's there, but you. Can't just add URLs and domains
- 11:51and and files. Directly to this list.
- 11:54The way to correctly do this is through.
- 11:56Submissions. When there is something that has
- 11:58been blocked that shouldn't have been blocked, whether it be an
- 12:02e-mail, an e-mail attachment, or URL, you would use the
- 12:06submissions page to report. That as a false positive.
- 12:11It's the same thing if something was spoofed.
- 12:14Now we do have some spoof intelligence built into EOP as
- 12:19well as MDO and if something was blocked.
- 12:23Because it was. Spoofed and we believe.
- 12:25That it was spoofed, but it. Maybe was not spoofed or part of
- 12:29something else you can then again.
- 12:32Block it. Submit it to Microsoft.
- 12:34As a false positive. And it'll add.
- 12:38It as a. Spoofed sender because it was
- 12:41originally blocked as a spoof sender.
- 12:43So when you submit it. It'll get added as a.
- 12:47Spoof sender in. Your allow block list.
- 12:50At from the tenant view, and as I said before, when things are
- 12:53blocked and then you're using these admin submissions, when
- 12:56you submit them, they get added in as an allowed entry.
- 13:00For 30 days temporarily. And then during those 30 days,
- 13:04Microsoft will learn from those allows entries, then remove them
- 13:08and automatically extend them. So these will always be there.
- 13:13For you and your tenant, and you don't ever have to manage that.
- 13:17List so by default the spoof. Senders allow entries will never
- 13:23expire. There's a whole list of like
- 13:25what? Happens when you do it like what
- 13:28happens to e-mail attachments and URLs like entries are
- 13:31created or if it's blocked. You know an entry is created if
- 13:36you submit it. So this is the method.
- 13:38This is the biggest take away. For any organization, is that
- 13:41this is the correct method? To.
- 13:43Groom your list for allowed senders.
- 13:48The next one is called Exchange Mail Flow Rules or Transport
- 13:51Rules. This has been used throughout
- 13:54time basically ever since Exchange has been around.
- 13:58A couple of. Drawbacks with that one.
- 14:00You can't use message headers and mail flow rules to designate
- 14:02an internal sender as safe. I mean, that's OK.
- 14:07You never should configure mail flow rules when the sender
- 14:10domain as a condition to skip Stam spam filtering.
- 14:14Doing so will significantly increase the likelihood that
- 14:17attackers can spoof the sending domain or impersonate the full
- 14:22e-mail address, thereby skipping all spam filtering and skipping
- 14:26sender authentication checks so that the message will arrive in
- 14:29the recipients inbox. So again, I've seen this done at
- 14:34organizations before. Don't use mail full rules with
- 14:37only the sender domain as a condition to skip spam
- 14:43filtering. Also, don't use domains that you
- 14:47own as a known accepted domain or popular domain like say
- 14:52microsoft.com as a condition in mail flow rules because again,
- 14:56it creates opportunities for attackers to send e-mail that
- 14:59would otherwise be. Filtered.
- 15:01So one thing that you should just know is that mail full
- 15:05rules can bypass spam filters and you really need to be
- 15:10careful because that is one of the biggest protections that you
- 15:12have. Also.
- 15:14If you allow an IP. Address.
- 15:16That's behind a Nat gateway. You will need to know the
- 15:19servers that are involved in the Nat.
- 15:20Pool IP addresses. And Nat participants can change,
- 15:23so you need to periodically. Check your IP allow list
- 15:26because. It might be different and you've
- 15:29inadvertently allowed something that wasn't what you intended to
- 15:33with the initial entry. So be really really.
- 15:37Careful with mail flow rules. I wouldn't use this as an allow
- 15:41send type of mechanism, so if you're doing that I would highly
- 15:46recommend against that. Take a look at that and instead
- 15:50go back to the first method. Which is if it gets reported as
- 15:53a false. Positive.
- 15:54Use the admin submission. All right, we'll spend a little
- 15:56bit of time on this next one. Outlook safe senders, the safe
- 15:59senders list in each mailbox that only effects that mailbox.
- 16:03So this method creates a high risk.
- 16:05Of attackers successfully. Delivering e-mail to the inbox.
- 16:09That would otherwise be filtered.
- 16:10Messages that are determined to be malware or high confidence
- 16:14phishing are filtered. This method isn't desirable for
- 16:17most situations. Senders bypass parts of the
- 16:21filtering stack, so even though you trust the sender, the sender
- 16:25can still be compromised and send malicious content you would
- 16:27let. You should let the filters
- 16:30check. Every message and then report
- 16:32the false negatives. Like we've talked about.
- 16:34When you bypass the filtering stack in this method.
- 16:37It. Also interferes with zero hour.
- 16:40Auto purge. Which is another capability that
- 16:43you automatically get when something has been.
- 16:48Delivered so there's pre delivery.
- 16:50Protection and post delivery protection and ZAP or zero hour
- 16:53auto purge is. Part of post delivery.
- 16:56Protection. And that's when we find out, oh,
- 16:58something's been delivered and then it we find out that it is
- 17:02malicious, whether it's the sender or the URL or the
- 17:05attachment or whatever, and we auto purge it from the mailbox.
- 17:08We ZAP it and it just disappears.
- 17:11That is a setting you want to turn on and we'll talk about.
- 17:13Those later but. That's a great setting and when
- 17:16you. Use this Outlook safe.
- 17:18Senders method to bypass spam or use, you know, add domains that
- 17:23you want as safe senders that can interfere.
- 17:26With the auto purge. All right second to last one IP
- 17:30allow listing or connection filtering without additional
- 17:33verification like mail flow rules, emails from sources.
- 17:36That. Are in the IP allow.
- 17:38List skip. Spam filtering and sender
- 17:40authentication, SPF, DKIM, D mark.
- 17:43Checks. This method.
- 17:44Creates a high risk of. Attackers successfully
- 17:47delivering e-mail to the inbox that.
- 17:49Would otherwise be. Filtered messages that are
- 17:50determined to be high confidence malware or phishing would.
- 17:54Be all still filtered. But and that's again part of
- 17:57that secure by default. But again, I've seen
- 18:00organizations put like they're. Corporate egress IP.
- 18:04And if it's coming from here or if it's coming from.
- 18:06This office always deliver it that's.
- 18:10Obviously not zero trust. It's obviously not a great way.
- 18:13To set up your security. In in my opinion, so try not to
- 18:20use this unless there's. I can't even think of a method
- 18:24like a reason why I would ever want to allow an IP to always
- 18:26deliver e-mail from that IP. And then finally, this is the
- 18:30last one and it is the most risky one and is also
- 18:33unfortunately the most common one that is used.
- 18:36So again, this is something that you should take away from this
- 18:40episode. Allowed senders list or allowed
- 18:44domains list within the anti spam policy.
- 18:47So within EOP and MDO, there's an there's an anti spam policy
- 18:52section under policies. And within those policies can
- 18:56you can add allowed senders either a a specific e-mail
- 19:01address or a domain. This is the least desirable way
- 19:06to maintain an allowed senders list or an allowed domains list.
- 19:10You should avoid this option if at all possible, because senders
- 19:15within this policy will bypass all spam all.
- 19:18Spoof all. Phishing protection, with the
- 19:21exception of the high confidence phishing that we talked about
- 19:23with the. Secure by default.
- 19:25And it bypasses all sender authentication, SPFD, Kim and D
- 19:29Mart. The only reason you should be
- 19:31using this. Is.
- 19:32For temporary testing, so if you need to like test a, a spam
- 19:39solution or something like that or or like you need to send out
- 19:42an e-mail or newsletter or something like that and make
- 19:45sure that it's it's getting there, you can put it on here
- 19:48temporarily for testing purposes and then take it off.
- 19:52This method creates high risk. Of attackers successfully.
- 19:55Delivering e-mail to the inbox. That would otherwise be
- 19:57filtered. So and also don't use any type
- 20:01of popular domains here like microsoft.com or CNN or whatever
- 20:05it is. So I think that is a a deep dive
- 20:10breakdown of the ways that you can do safe senders list and we
- 20:13talked. About the best.
- 20:15And unfortunately the the most common one I've seen, especially
- 20:19when people are having issues getting malware and spam in
- 20:23their inboxes and like what's going on, it's because they're
- 20:26allow senders list or allowed domains list within the anti
- 20:29spam policy is like, you know, 1000.
- 20:32I've seen 1000 entries on there before.
- 20:36Just full on domain. Just send it.
- 20:39If you do that, it bypasses the majority.
- 20:42Of all of our. Protections.
- 20:44Highly recommend not to do that. It's worth pointing out that
- 20:49these detection engines, these filtering pipelines have gotten
- 20:53better with time. And so the recurring refrain as
- 20:59Andy was walking through that is if you put this here, it
- 21:04disables all the layers of filtration or many of the layers
- 21:08of filtration over time. It doesn't mean, Oh, well, this
- 21:11is gonna get blocked, this is gonna get not delivered.
- 21:15That's not what it's saying. Especially if it's a legitimate
- 21:18message, it's very likely to flow through and be properly
- 21:23delivered. That's the most likely outcome.
- 21:26And so I know we have sometimes allowed ourselves to get in
- 21:29scenarios where we've had, say executives or senior leadership
- 21:34teams say this must be delivered to everyone at all costs.
- 21:37And then we go put in these very permissive rule sets that have
- 21:42tremendous downside and negative consequences that come with it.
- 21:46And so this goes back to a concept we talk about on the
- 21:49show all the time, which is articulating the risk of
- 21:54different choices a business may make.
- 21:57And ultimately, if they're educated on the risks and you
- 22:01have articulated them fairly and accurately, if they choose to
- 22:04own them, so be it. However, I think in a lot of
- 22:07cases we don't do that. I know I was a former e-mail
- 22:10administrator and I was guilty of many of these.
- 22:14Now, what I'd consider full pause in your configuration, But
- 22:19when I, especially someone young in career in my 20s, had someone
- 22:22come to me from senior leadership team and say we're
- 22:25sending this out and everyone must get it, so put it on the
- 22:28list to allow it through no matter what, I just did it.
- 22:32Now, later in life, I would have a more nuanced conversation
- 22:35about that. And I think that's what we're
- 22:37encouraging our listeners to do is for the most part, yes,
- 22:41there's a lot of options to do. Exceptions allow less.
- 22:45You should really try to avoid using almost all of them because
- 22:49of the inherent risk of them. And again, it's a different
- 22:52world than it was where the the sophistication level of this
- 22:56filtration was nowhere near what it is today.
- 23:00And so you had a lot more false positives, things that should
- 23:07not be flagged that were. And today I think that's going
- 23:11to be better. If your message is coming
- 23:12through, doesn't look like junk, it's not going to be marked as
- 23:14junk. It's not going to be marked as
- 23:15malware versus before it was With these simpler heuristics
- 23:21and simpler models, if you had one wrong word in there, you
- 23:25could sometimes run afoul of the engines of the day.
- 23:28So we're changing our approach in recognition that the
- 23:32underlying technology has changed as well.
- 23:34So let's. Talk about exchange Online
- 23:39Protection versus defender for online, defender for office, so
- 23:43EOP versus MDO and what are some of the major differences?
- 23:48So in EOP, which is the baseline security that everyone gets
- 23:53with? Office E3.
- 23:56Exchange Online. With an Exchange mailbox.
- 23:59With an exchange mailbox essentially right like you get
- 24:01it, there are built in protections for anti malware,
- 24:04anti spam, anti phishing, and then some protection for safe
- 24:08links and safe attachments. The the.
- 24:10Baseline protection, now that stuff.
- 24:13Some of the built in default policies cannot be changed.
- 24:18If you're just using EOP when you go to Defender for office
- 24:23you can then have more granular policies for anti Phish
- 24:27impersonation, safe links and safe attachments.
- 24:31All the things that are part of the baseline, anti spam and anti
- 24:34malware are still going to be there.
- 24:36As well as the base. For anti phishing, but you're
- 24:38going to get more granular things like being able to do
- 24:41safe attachments within Teams, safe links within Word, you
- 24:46know, and more granular spoof intelligence for impersonation.
- 24:51So a couple more details on the EOP settings.
- 24:55When it comes to anti malware, you're going to be able to
- 24:59define policies of what users can do when a message gets
- 25:04quarantined. So when it's high confidence
- 25:06malware, it's going to get quarantined.
- 25:08Users. Can't release their own messages
- 25:12that were quarantined as malware, so that's important to
- 25:14know regardless of how you configure your quarantine
- 25:17policy. If you.
- 25:20Want users to try to release their own quarantine?
- 25:23They can be allowed to. Request the release.
- 25:26Of their quarantine malware if it's something that they were
- 25:28expecting and it got quarantined as a false positive.
- 25:31But again, one of the things that you should take away from
- 25:34this episode is using the admin submissions any time that
- 25:39something happens that wasn't. Supposed to happen whether it is
- 25:43a false positive. Or false negative.
- 25:45The admin submissions is the best method to try to tune your
- 25:49organization's allow and block list.
- 25:53So if it was a. False negative and you submit
- 25:55it. We have people at Microsoft.
- 25:59Actual people. Who will review these?
- 26:03Submissions Physical people will look at your submission and
- 26:06determine whether or not. It is a correct false positive
- 26:11or a correct. False negative you when you use
- 26:13your submissions. So please use your admin
- 26:16submissions. If it's anti malware and it was
- 26:20something that was supposed to be safe, use the admin
- 26:22submission. You can obviously release it as
- 26:24an admin to your user to allow them productivity right then,
- 26:27but submit it zero hour the auto purge.
- 26:33Is also. Configured here for the malware.
- 26:36So in the anti malware policy, ZAP for malware is configured
- 26:39there for anti spam the bulk emailed threshold.
- 26:44Is. 7 by default and so the number.
- 26:47The higher the number, the more lenient.
- 26:49Your threshold is the lower. The number.
- 26:52The. Stricter it is, and so.
- 26:54Like if you're. Setting standard security, it's
- 26:58going to default to six. Which is a little bit.
- 27:00Stricter than the seven that's by default.
- 27:02If you're doing strict security, it's going to go to five.
- 27:06I've seen organizations go. As far as like 3 which is
- 27:09pretty. Strict, and then you're probably
- 27:12going to start seeing things that are getting blocked for
- 27:15spam that really aren't spam. So there's.
- 27:18Going to be a little bit of the way, but you can play around
- 27:21that bulky e-mail threshold and tune into what you think your
- 27:23organization needs. ZAP for spam and ZAP for
- 27:26phishing is also configured within the anti spam policies
- 27:30and we talked about. This.
- 27:32There's that. Allow senders and domains within
- 27:34that policy. Try really really really hard.
- 27:37Not to use this. This is not where you want to
- 27:40build your allowed senders list and then anti phishing policies.
- 27:45There's that built in phishing. Policy as part of EOP.
- 27:47But if you're using MDO, you're gonna get additional spoof
- 27:51intelligence real quick on DKIM. You can create DKIM keys for
- 27:55your domain within M365. And of course SPF and DMARK
- 28:00settings are done within your DNS settings.
- 28:03Microsoft does enforcement on DMARK, DKIM and SPF coming in,
- 28:08but we don't help you maintain those.
- 28:10Records if. That's what you need to do.
- 28:14So again, like the SPF and D mark are usually done in your
- 28:17DNS settings. So there are third party.
- 28:20Solutions that can help you do that, but yeah, so that that's
- 28:25important to have that configured.
- 28:26We can create DKIM keys for your M365 domain First contact safety
- 28:31tip and the. Via tag are also.
- 28:34Configured within anti phishing policies which I you know again
- 28:37I I didn't realize that as well. But the via tags.
- 28:41Are like if I'm sending someone an e-mail via a different inbox.
- 28:46Admins do this all the time for like CEOs and and C-Suite.
- 28:49Where? They'll send on behalf of
- 28:51someone or via this, this person with this inbox.
- 28:54So those are also configured there.
- 28:56That way you know. Right, like it's.
- 28:58Essentially you're spoofing an e-mail, but it's it may be
- 29:02internal or something like that. So it's not going to get caught
- 29:05by the policies. And then finally we'll talk
- 29:08about a few MDO settings. So the.
- 29:11Default. Anti phishing policy within
- 29:14Defender for Office does provide spoof protection and mailbox
- 29:18intelligence. There's additional impersonation
- 29:21protection features in Advanced Settings that are not configured
- 29:24or enabled in the default. Policy so you.
- 29:27Can enable those those features by a couple of different ways.
- 29:32Number one, you can turn on either standard or strict preset
- 29:35security. Policies that we've talked
- 29:36about. And then configure the
- 29:38impersonation protection there you can also modify the default
- 29:44anti phishing policy or you can create additional anti phishing
- 29:48policies. And you know one one can work
- 29:52they, they work in like sequence.
- 29:53So if like you create an additional anti phishing policy
- 29:57and you want to target only certain groups, you can do that
- 30:00and then the if they're not within that group, they'll still
- 30:03fall. Back to the default.
- 30:04The default will always. Be there.
- 30:05You can't delete it or anything like that, but you can modify
- 30:09and then of course safe attachment policies, safe links
- 30:13for SharePoint, OneDrive, Teams and.
- 30:16Other Office 360 apps are. All 365 apps are also.
- 30:20Created within these MDO settings.
- 30:24So you do have to have that advanced security gateway at
- 30:27MDO, either Plan one or Plan 2 in order to have that protection
- 30:32within the Office apps, which is done by API.
- 30:35So it's not just MX record protection.
- 30:38Like if you're getting phishing from Teams and they send you a
- 30:41Teams message and it is a malicious link.
- 30:44You click on that link, it'll execute through the MDOAPI
- 30:48sandbox. The link, check it, make sure
- 30:51it's good. Before you go to it.
- 30:54So I'll stop there. Adam, give you time for some of
- 30:57your thoughts here. Yeah, this, this was great.
- 31:00Andy, thanks for pulling this together.
- 31:02I I think one of the biggest takeaways that I would imagine
- 31:06most of our listeners and watchers have as well is that
- 31:09EOP does more than you think it does.
- 31:11It's not just someone size fits all signature based filtering,
- 31:17but there's a lot more sophistication to it.
- 31:19It is very are sophisticated and even if you don't have Defender
- 31:24for office, you benefit from customers who do.
- 31:27So when we do things like, and I think I've already mentioned
- 31:30this, but for example, detonating a potentially
- 31:33malicious file in a sandbox and determining Yup, it's malicious.
- 31:38We do take that signature and and filter it back through all
- 31:43of the EOP filtering models as well as any of the related
- 31:47metadata associated with that message and use that to learn
- 31:51more moving forward. So it's, it's a really virtuous
- 31:56cycle, a harmonious cycle between the two products where
- 31:59MDO does add more capabilities. However, all our customers get a
- 32:03pretty solid level of protection out-of-the-box for every
- 32:06Exchange mailbox. I will also say this is an area
- 32:11of intense investment and development within Microsoft.
- 32:15We've been really focused on making these products even
- 32:19better with time and we've been getting internal emails
- 32:22regularly from the engineering team on, hey, here's the
- 32:26improvements we've seen month over month in terms of reducing
- 32:29the number of false negatives. As an example and obviously
- 32:35cannot share that chart, but I can describe it and tell you
- 32:38that it's a line going down and to the right.
- 32:40Over time, as time has passed on the X axis, the number of false
- 32:44negatives has significantly declined with time, much, much
- 32:49more improved compared to from whence it came.
- 32:51So even if you've been looking at other third party filtering
- 32:55solutions, it's always worth another look to see if you can
- 32:58do it all in an integrated stack because you get all this
- 33:02capability Andy just talked about and there's ways we've
- 33:06learned and and we're educating our customers on how to better
- 33:08configure this with time. But then it goes back to
- 33:11something we always talk about on this show, which is doing
- 33:15more with less, being really efficient with our time and our
- 33:19investigations. And if you can then take all the
- 33:21alerts that are generated from these e-mail security gateways
- 33:26and bring them in the context of other alerts from cloud
- 33:30identity, on premises identity, from endpoint, from SAS security
- 33:35and contextualize them, it's really, really valuable.
- 33:38And that's something you can do as well.
- 33:40So really great stuff. Hope you learned a lot, probably
- 33:44a lot to unpack and view. So be sure to check out the show
- 33:48notes for all of the links to the documentation we talked
- 33:51about. And understand that e-mail is
- 33:54maybe the most mission critical of all the systems IT operates.
- 34:00And there is very little tolerance for change or downtime
- 34:05or any negative user impact. Understand that.
- 34:09But this is also possibly one of your largest, if not the largest
- 34:15threat vectors in your organization.
- 34:17So it's incumbent upon our security defenders listening to
- 34:20this show to do this job and do it well.
- 34:23And that means peeling back some of these exceptions we've
- 34:27allowed over time and doing them through the right process that
- 34:31Andy talked about. So really, really, really good
- 34:34stuff here. If you take away some of the
- 34:36learnings from this show, you will be in a better place from a
- 34:41security posture perspective moving forward.
- 34:43And that is why we love doing this.
- 34:45Show one final thought as you were talking there, Adam,
- 34:49because. You said that we.
- 34:51Are making significant investments and there are these
- 34:54weekly calls with engineering and I've been sitting on them as
- 34:56well and one of the things that I think.
- 34:58Is difficult. Is that as?
- 35:01Defenders. We are always playing that cat
- 35:04and mouse game. Attackers will come up with
- 35:07different methods. They will try to bypass.
- 35:09The protections that are in place and we're always trying to
- 35:12come up with protections to their new methods of attack.
- 35:16And so with that in mind, just like with any other.
- 35:21Security. Tool nothing is 100%.
- 35:24So. Whether it's EOP you're using or
- 35:30Defender for Office or Mimecast or Proofpoint or some other
- 35:33e-mail security, there's always going to be things that get
- 35:37through. And what's important to know
- 35:40again, is that when those things get through, at least with
- 35:43Microsoft, you have not only the Outlook.com e-mail, but you
- 35:49also. Have all the other.
- 35:50Organizations that are using Microsoft.
- 35:51Security if you're. Using that admin submission,
- 35:54everyone's going to benefit, somebody else is going to
- 35:56benefit. And so make sure you're using
- 35:59that. That's the best way to report.
- 36:02When something gets through, if it's blocked by accident or if
- 36:06it's actually a false negative and it got through, which does
- 36:09happen, it's just not 100%. So make sure you're using those
- 36:13submissions to report them to properly get them on the radar.
- 36:17And then we can change our filtering rules to accommodate
- 36:20and block it for everybody, or allow it in the manner for.
- 36:25Your allow tenant. It's, it's a really good point
- 36:27and you've reiterated it throughout the show.
- 36:30And, and maybe just I, I know we're like delaying wrapping up
- 36:34here, but one more bit of information to help unpack that.
- 36:37A lot of the Microsoft filtering technologies leverage every
- 36:44aspect of metadata and intelligence that comes with a
- 36:50message. Every, every bit and byte of the
- 36:54header of that e-mail is analyzed for patterns, clues,
- 36:58things we can match against. And so a lot of what Andy's
- 37:01talking about when he wants you to use that admin submission
- 37:05model is because when you put in rules that are maybe just a
- 37:12domain or maybe just a domain and an IP address, you're still
- 37:15not capturing the full fidelity of signal that comes with every
- 37:20single e-mail message and everything that's contained with
- 37:22it and its headers. When you do it through the admin
- 37:25submission process, it retains its full fidelity of the message
- 37:29and all of the message, every aspect of it can be used to
- 37:34create, modify, update and improve models to detect it.
- 37:39You're not just keen off of one or two attributes, it's the
- 37:43totality of the message and that's the difference.
- 37:46And here's how sensitive those systems are.
- 37:48When an e-mail comes in that's been filtered through another
- 37:52protection engine, a third party one, like a, say, a proof point,
- 37:56and then it comes to Microsoft, we lose a lot of the fidelity of
- 38:00that message, how it originally came in, how it was passed to us
- 38:04that we can use to do that filtration, and it's not as
- 38:07effective. So that's why all of this is so
- 38:10focused on. We want to retain the fidelity
- 38:12of the message and all of the information surrounding it, all
- 38:16the headers, all the metadata, so we can craft really finely
- 38:20tuned response to it. And that's the overarching take
- 38:24away of all of this, is we're trying to maintain fidelity in
- 38:29creating our rule sets and crafting the behavior we want to
- 38:31see. All right.
- 38:33Hopefully you learned something, I definitely did.
- 38:35We're going to have a ton of documentation in the show notes.
- 38:39Make sure you take a look at. That that's.
- 38:41Our show for this week. Thanks for watching and
- 38:43listening. As always, our contact
- 38:45information will be in the show notes if you have any questions
- 38:47or topics you want us to talk about in the future.
- 38:50Thanks. We'll talk to you guys next
- 38:51week. Thank you for listening to the
- 38:53Blue Security Podcast. Please check out the show notes,
- 38:55catch up on episodes you may have missed, and subscribe so
- 38:58you don't miss any future episodes.
- 39:00Find Andy on Twitter at a Jaw Zero and Adam at AJ Brewer.
- 39:05See you at our next episode.