Latest / Blue Security / Teams External User Phishing
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.
- 0:22Welcome to another episode of the Blue Screen Podcast.
- 0:24I'm Andy, your host. I'm Adam, your Co host.
- 0:27I had a friend who recently pinged me about an issue that he
- 0:30was having, and so I wanted to scope an entire show based
- 0:35around this conversation because I think it's important and I
- 0:38think it's something that everyone should talk about and
- 0:42learn. He was in infrastructure.
- 0:44He's not really involved in security, but because of his
- 0:50expertise and identity and endpoint management at
- 0:52Microsoft, he was tasked with this escalation to Microsoft
- 0:56based on the issue that his company was having.
- 0:58His security team was having a hard time getting logs for
- 1:02interactions between external, managed and unmanaged team users
- 1:07that would chat with internal users.
- 1:10They wanted to find the logs of these chats in between the
- 1:14external users, internal users and Sentinel didn't seem to be
- 1:17picking it up. He said Security copilot
- 1:19couldn't find the events they tried E discovery and the chats
- 1:23weren't showing up there either. And so I started asking some
- 1:27questions because I I wanted to know First off that he told me
- 1:31all the the different ways that they were trying to find these
- 1:34logs. But what was the reason for
- 1:37these logs? You know it's a security team so
- 1:39it's an investigation. But it turns out they wanted to
- 1:42get some sort of alerting going through Sentinel or some other
- 1:45tool that when external chats, 2 internal users started behaving
- 1:51suspiciously because they're not blocking any external domains.
- 1:56They want to keep that active so that you can talk with Federated
- 2:01you know domains and and have that just like we do at
- 2:04Microsoft, we're able to talk with external domains that are
- 2:07Federated with Teams. And so there is a security risk
- 2:11that has I guess been highlighted in the news recently
- 2:14where external users can Phish internal users through Teams
- 2:19chats. And so this was the whole reason
- 2:22for them that they wanted to find the logs, set up some sort
- 2:25of alerting to prevent phishing through Teams chats.
- 2:29So now that I have like the whole scope of what they're
- 2:32trying to do, I was like, OK, so let's break this down a little
- 2:35bit. Logs for the external chats.
- 2:38There's a lot of different ways that you can slice this one, but
- 2:42for sure you can accomplish it through a KQL query.
- 2:45I was able to use Copilot to give me one for both chats
- 2:50containing attachments that were downloaded from external users
- 2:55as well as chats containing URLs that were clicked between
- 3:01external and internal users. So very quickly I was able to
- 3:04just spin up a KQL query. You can toss it into your
- 3:09advanced hunting and find it. But once you have the KQL query,
- 3:12what else can you do with it? Like you could schedule some
- 3:16sort of schedule query within Sentinel to alert off of it.
- 3:22You could also create a workbook.
- 3:23I think that's probably one of the better uses for it is to
- 3:26create a workbook and then give you an idea.
- 3:29It's more of information gathering of how many chats
- 3:33you're getting from external users that are containing URLs
- 3:35that are actually clicked and then containing attachments that
- 3:40are downloaded, right? But depending on how many you
- 3:44get, I think a scheduled query with an alert might be a lot.
- 3:49You might just want to schedule it once a day, or you know, once
- 3:53every other day. That way you're not getting a
- 3:56ton of alerts and then you can go and check to see what's going
- 3:58on. But a workbook is probably the
- 4:01better use where you can just get a graphical display of a lot
- 4:05of the information. There's also a connection
- 4:09between Teams, Exchange Online, and SharePoint.
- 4:13Adam, do you want to tell our listeners just how the
- 4:17interaction is connected there? Absolutely.
- 4:20So when we're talking about Teams, it's helpful to think of
- 4:24Teams in many ways as a front end to Exchange Online and
- 4:28SharePoint Online. A lot of activity within Teams
- 4:31actually takes place in Exchange Online or SharePoint Online.
- 4:35For example, one-on-one chats or even group chats that are
- 4:39outside of a specific team context just in general
- 4:43conversation. Andy and I talking that is
- 4:45stored in both of our Exchange Online mailboxes as a
- 4:48conversation and that's how it can be discovered for E
- 4:52Discovery. That's how it can be held for
- 4:53legal hold and those sorts of things.
- 4:56If I'm talking within a context of a team, so either posting or
- 5:01chatting in a channel as part of a team, that is all stored in
- 5:06that team's underlying SharePoint Online site that was
- 5:11generated when the Microsoft 365 group was created and so it's
- 5:15all stored in there. So it's important to understand
- 5:19that there isn't really for the purposes of Chats A-Team
- 5:24service. There is, but not in this
- 5:26specific case. It's actually stored in those
- 5:29locations. So that's helpful to understand
- 5:31that architecture. Absolutely.
- 5:33So once you understand that and then you have the KQL query, you
- 5:38can figure out where those logs are.
- 5:41Definitely for ediscovery. There should be a way to find
- 5:46every single Teams chat that there is.
- 5:50The other thing that was part of the entire scope that I wanted
- 5:54to highlight was the security team wanted to alert off of
- 5:59chats that started to behave suspiciously between external
- 6:03and internal users, and I didn't really understand what they
- 6:09meant by suspiciously. And that's something that I
- 6:12would ask again. My friend here wasn't part of
- 6:17the security team. He was tasked with this, So he's
- 6:19reaching out to me for some advice, some help.
- 6:21But for the security team, I would ask, OK, what do you mean
- 6:24by suspiciously like, is it suspicious if they just put a
- 6:27link in there? What's the language that they're
- 6:30using that might be suspicious that you want to try to alert
- 6:33off of? And so it can be difficult to
- 6:36create an alert based on some sort of machine learning if
- 6:40you're not exactly sure what you're looking for.
- 6:43So again, maybe you consider URL from external user suspicious,
- 6:48maybe you consider an attachment from an external user
- 6:51suspicious. Those you can alert off of.
- 6:53But there is another way that you might be able to inspect the
- 6:58contents of the chat and alert off of that.
- 7:04Adam, do you want to tell our users or our listeners a little
- 7:07bit about communication compliance?
- 7:09Yes, Indications compliance is a component of the Insider Risk
- 7:14management suite inside of the compliance suite in Microsoft
- 7:18365 and the concept is to use machine learning algorithms to
- 7:23detect different types of insider risk.
- 7:26Examples would be things like bullying, offensive language or
- 7:30threats of workplace violence as a couple of an examples.
- 7:33And this works across all the different communications
- 7:36channels in Microsoft 365, so it can work across not only chats
- 7:40inside of teams, but also things like e-mail as well.
- 7:43And so if you're already an E5 customer, you own this.
- 7:46If you have compliance E5, you own this.
- 7:48There's a couple different ways to get it, but the concept here
- 7:51is using prebuilt and battle tested ML algorithms to help you
- 7:57detect those kinds of chats. Now as far as I know there isn't
- 8:01one that's going to specifically alert on this looks like
- 8:04phishing. However, it is helpful in those
- 8:06other use cases. And as Andy mentioned, you can
- 8:09certainly alert off those other things.
- 8:11I would say I'm suspicious of how much value you would get out
- 8:15of generating those alerts. Let's say I'm external to a
- 8:19company where Andy's working and we're having a legitimate
- 8:22conversation and I send Andy a link to say, hey look at this
- 8:25web page and Andy clicks it, it generates alert.
- 8:28What are you going to do with that?
- 8:30Every single alert, you're going to go knock on Andy's door and
- 8:32say, hey, did you click this link?
- 8:33What was it? I I I don't think that's
- 8:36scalable. We're not doing this for e-mail
- 8:38today. And I think that's where we're
- 8:39going to take this conversation is to say, is this really a
- 8:43novel attack vector or is it an extension of an attack vector
- 8:46we're already familiar with and we've already built defenses
- 8:49around? Yeah, we'll talk about that more
- 8:52in a moment. That brings up another point
- 8:55that I wanted to highlight is when you talk about scalability,
- 8:59you talk about exceptions sometimes and when you're
- 9:03alerting on something like this, you talk about value at home.
- 9:06And maybe you could create a scheduled query alert that would
- 9:10exclude certain domains that you are working with on a daily
- 9:14basis. But I would really caution
- 9:17against, you know, what the industry considers an allow list
- 9:22or you know, exclusion list in your domains for protections.
- 9:29There's places within Exchange Online within Defender for
- 9:34Office, within other e-mail systems where you can exclude
- 9:40certain domains from protection or bypass the filter or
- 9:44whatever. Really be careful with that.
- 9:46There are somewhere I'd be OK, like bypassing say maybe the
- 9:50spam filter, but when you completely exclude a domain from
- 9:57all protections, you will open yourself up to possibly like a
- 10:02supply chain attack where someone else gets compromised
- 10:04and then they can send you and they've bypassed all of your
- 10:07stuff. So if you really wanted to do
- 10:09zero trust, you would try to scope those domains down and not
- 10:14have any at all. I've talked to some customers
- 10:16where they've had issues with spam and phishing and then I go
- 10:20and look at their allow domain list and it's you know, 500
- 10:24different domains and that's just way too many.
- 10:29I would caution against that and that's maybe that's a way to
- 10:33scope it and like scale it, but you know, take that with a grain
- 10:36of salt and be very cautious there.
- 10:38Well, and and outside of even alerting, just to pull back for
- 10:41a second, there is a setting where you can configure what
- 10:45external domains are allowed to interact with your users through
- 10:49Teams. And most organizations do not
- 10:52have that wide open. They have some sort of approval
- 10:56process where you have to manually request and have a
- 10:59trusted partner domain added so that you can federate with them
- 11:03inside of Teams and have those external chats with them.
- 11:06And I'd say that's the normal behavior of most organizations
- 11:09and that's probably a reasonable position to configure it that
- 11:13way. I'd say of the places I've
- 11:16worked, Microsoft is a bit of an anomaly in that we're wide open
- 11:20and we allow anyone to federate with us.
- 11:23But that's mostly just again a scope and scale and speed kind
- 11:28of thing where it's it's just unmanageable.
- 11:31And at one point when I first joined the company, we had like
- 11:34a form you could fill out and you could literally just plug in
- 11:36a domain and it would go added to.
- 11:39And this was still when we were using Skype for Business to
- 11:42federate with external domains, but there was no real approval,
- 11:45it was just automation to plug it in the allow list.
- 11:48So that's at least one step you can take is instead of having it
- 11:52wide open, have some sort of ticket approval process to add
- 11:56partner domains as needed for companies you work with
- 11:58regularly. And and I'm supportive of that.
- 12:01I think that's at least a good step if you want to lock this
- 12:03down a little more, but understand that that's not
- 12:06something every org can do. Let's talk about some of the
- 12:08protections against this. So to protect against malicious
- 12:13links in teams, generally you need some sort of M365 API tool.
- 12:21There are other ways. Maybe your endpoint protection
- 12:24has some sort of network protection where it can lock
- 12:28against malicious URLs as you launch them.
- 12:30Windows has smart screen built in.
- 12:32Obviously there's also other things within like Defender for
- 12:35endpoint, but most likely it's an API generated protection,
- 12:41something like abnormal or Checkpoint where it can tie into
- 12:46the API of M365 then because Teams is M365 and then it'll
- 12:52protect you against the the launches of the URLs.
- 12:55Outside of Exchange it's it's just all M365.
- 12:59Now obviously Defender for Office has this natively built
- 13:02in and so you can turn this on. The same thing with malicious
- 13:07attachments. Defender for Office customers
- 13:09will get this natively. It's called Safe Attachments.
- 13:12And then the other part is called Safe Links, and those are
- 13:15the same services that are in Exchange Online, but they extend
- 13:18to the entire Office suite. So it's not just teams, it's
- 13:22also Word documents, Excel, PowerPoints, so on and so forth.
- 13:26So if you have links there and you're launching them, the API
- 13:29will you know. You'll see a Safe Link rewrite
- 13:34of the URL as it's launched into the browser.
- 13:37Before you move on, I I want to add 1 point there.
- 13:41I know a lot of organizations may have Microsoft 365 E 5 today
- 13:46and you may be an organization that has said we're ripping out
- 13:49Proofpoint Over My Dead Body or Mimecast or Cisco or Insert
- 13:53Secure e-mail Gateway here. However, your secure e-mail
- 13:56gateway may not extend to these protections, so you can turn
- 14:00these on even if you don't want to use Defender for Office's
- 14:03secure e-mail protection. If you want to extend that
- 14:06protection to all of the domains Andy talked about Teams,
- 14:10SharePoint Online, OneDrive for Business, Office documents, You
- 14:14can turn this on and augment your protection from Proofpoint,
- 14:18Mindcast, whomever with this tool and you may already own it
- 14:22and may just have it turned off. So I would strongly recommend if
- 14:25you own Defender for Office 365 you turn at a minimum this on
- 14:29and you could even turn it on for e-mail as a second set of
- 14:32eyes on that as well. But for certain, this is a
- 14:35really helpful addition to your security tooling.
- 14:38Yeah. And the reason for that and
- 14:40thanks for that addition, Adam, is those tools that you talked
- 14:43about like Mimecast and Proofpoint, those are MX record,
- 14:47secure e-mail gateways, right? So when an e-mail is sent, it
- 14:51hits the MX record first and it goes through and gets redirected
- 14:55to Mimecast or Proofpoint and then it gets filtered into your
- 14:59inbox. A lot of companies will turn off
- 15:02the native Exchange Online Protection EOP for spam because
- 15:08they say, oh, I have Proofpoint and Mimecast to do that.
- 15:11Technically you could filter it through the spam filter again,
- 15:15you know filter it through Microsoft.
- 15:17But all of this stuff within Teams and Office and and Excel,
- 15:23PowerPoint, whatever, those are all API driven.
- 15:26So that's past the MX record. So it's already been delivered
- 15:30or or outside of you know, it's just part of the M365 service.
- 15:33So like Adam said, this is great augmentation.
- 15:36If you are an E5 customer or you own Defender for Office Plan 2
- 15:41or what, you know one of the the flavors of it that includes it,
- 15:47but you want to stay with your other secure e-mail gateway, you
- 15:50can absolutely do that and still have this protection.
- 15:53Education is key in this case phishing in teams and this is
- 15:58going to be a key point that we talked about for the rest of the
- 16:02show as well. But phishing in teams is no
- 16:04different than any other phishing.
- 16:05It's the same concept, it's just through a different medium.
- 16:08So the protections of it are pretty much the same other than
- 16:12the fact that you're not seeing it through an e-mail format.
- 16:17So the same education. Take a look at the language that
- 16:21might be sent around the chat. Is it?
- 16:23Are there grammatical errors when you look at the domain?
- 16:26Is it exactly what you think it would be If you have domain
- 16:32rewrite, which is something that I typically recommend turning
- 16:35off because if someone mouses over and all they see is NA dot
- 16:40safelinks blah blah blah or proofpoint blah blah blah, then
- 16:44it's really hard to tell without actually clicking on it.
- 16:48Whereas if you don't have URL rewrite there, when you mouse
- 16:52over something, it'll tell you the URL that it's trying to go
- 16:55to versus the writing that is there.
- 16:57When you click on the link, it'll still launch it through
- 17:00the API and redirect it through the safe links.
- 17:03So that's something that you might want to think about,
- 17:05because we often teach users to mouse over the link that's
- 17:11displayed to see if it's matching the words that is
- 17:15hyperlinked. So same thing, don't click on
- 17:19anything. If you think it's suspicious,
- 17:21report it. If you think it's suspicious.
- 17:23Defender for Office customers are able to do that.
- 17:27Now report it within Teams and you should probably try to
- 17:31simulate some sort of attack if you have some sort of attack
- 17:34simulation for Teams messages. Now for the Microsoft side,
- 17:39Natively attack simulation for Teams is still in private
- 17:42preview but is definitely coming.
- 17:45We know that it is something that customers are looking at
- 17:49and they want to educate their users.
- 17:52So that is coming. But I'm not sure about the other
- 17:55education platforms like Co Fence or what not if they have
- 17:59that built in, but I'm sure others are trying to spin that
- 18:03up as well. And then finally there is a zero
- 18:07hour automatic purge or ZAP for teams that works for internal
- 18:14messages and external messages is on the road map.
- 18:18But what ZAP is if you are unfamiliar with it is post
- 18:21delivery protection. If something is delivered and
- 18:25our threat intelligence determines that that message or
- 18:30e-mail is malicious after the fact and it's already gone
- 18:35through, it will automatically ZAP it and purge it, delete it,
- 18:41quarantine it from the user so that they never see it.
- 18:45So it's a it's a service that is built in and like I said, for
- 18:49Teams, Exchange has been around for a long time.
- 18:51That is part of the Exchange service for Defender for Office.
- 18:55But if you're a Teams, it's for internal messages only right
- 18:59now, but external is on the road map and coming.
- 19:03Have you received a message from an external user in Teams
- 19:06recently? It's been a while, I'd have to
- 19:08look at my messages to see. OK, I get a lot of them.
- 19:12And there's been a recent user interface change to where when
- 19:17you first receive a message from an external user, you get a full
- 19:21page modal dialogue where it does not show any of the chats
- 19:25from the external user and it says basically in the middle of
- 19:29the screen. This is an external user, don't
- 19:32click on stuff, don't respond, don't do anything.
- 19:34If you don't trust this person, do you want to proceed and even
- 19:37see the messages? Yes or no.
- 19:38Simplifying and putting in my own words the message, but it is
- 19:44definitely adds an additional step where it does force you to
- 19:47stop and think before you do anything in that chat.
- 19:51And it's anytime it's a a person you have not interacted with
- 19:54before, you get that full screen modal dialogue that actually
- 19:58obfuscates all of the chat messages they've sent you.
- 20:01Until you accept them. So I think that's helpful as
- 20:04well. And I was thinking that would
- 20:05actually be great for e-mail except e-mail is it's much more
- 20:08common to get stuff external. So it would be like an extra
- 20:11click all of the time. But in Teams now that's the
- 20:14default behavior, is that that? So if you're not seeing that
- 20:18yet, it's probably coming to your tenant soon.
- 20:20You know we always get things first in, in the Microsoft
- 20:22tenant and test stuff out before our customers get their hands on
- 20:25it. But that also will help with all
- 20:28this user education you're talking about.
- 20:30Andy Where it You cannot even see what the external person has
- 20:34said until you click through it. So I think that's a really nice
- 20:38user interface edition and makes it very obvious that you are
- 20:42interacting with someone outside the company.
- 20:44Yeah, for some reason as well. I feel like if I were to get a
- 20:49team's message from an external user that I have never
- 20:53interacted with, it would automatically just be deleted.
- 20:57I I would not interact with anyone on Teams.
- 21:00It feels much more personal and more intrusive in my day when I
- 21:04get a Teams message versus an e-mail, you know, It just seems
- 21:08that way. It's like maybe the difference
- 21:10between a text and a call. You know, if someone calls me
- 21:14and I'm, I'm busy, I just let it ring and go to voicemail.
- 21:17If it's important, I'll go and listen to it on my own time.
- 21:19But if it's a text I have to like look at it and see it, and
- 21:24if it's from an unknown number for me, I just automatically
- 21:27delete it. Well, for a lot of these people
- 21:29there, I've like, emailed with them and now they're messaging
- 21:32me on teams for the first time. It's just they initiated the
- 21:34conversation. There have been some that I've
- 21:37literally never talked to before.
- 21:38A lot of Microsoft partners want to talk to me, apparently right
- 21:41now because it's almost Microsoft's fourth quarter, and
- 21:45that's a whole other conversation.
- 21:46But a lot of them are like, we've been talking back and
- 21:50forth in e-mail and they're just like, hey, I just want to ping
- 21:52you on teams. It was easier, but I still get
- 21:54that same experience. Yeah, absolutely.
- 21:56I think it's a good thing. This is all I'm saying.
- 21:57And so that helps with our user education efforts here in Teams
- 22:01is that Teams does force you to click through before you can
- 22:04even see it now. It definitely depends on your
- 22:06job, right? Like, I think in your position
- 22:09you probably get more external folks that are pinging you.
- 22:13For me, I don't get hardly any. In fact, I think the last
- 22:17person, if I'm thinking back to the last person who actually
- 22:19pained me on teams that was external was friend of the show
- 22:24Howard from Ascent, who pained me exactly with what you're
- 22:28thinking is they're trying to figure out what we're doing with
- 22:31fourth quarter and and whatnot. So it's partner with Ascent.
- 22:34So let's step back for a minute and just take a look at the
- 22:38bigger picture here. Because what I said is fishing
- 22:42in teams is no different than fishing an e-mail.
- 22:45And so if you're configured correctly with a tool like
- 22:48Defender for Office, the risk is here that an external user will
- 22:54send a phishing link that is malicious that the user actually
- 22:57clicks on. And that Defender for Office or
- 23:00whatever API tool or smart screen or endpoint protection
- 23:05that you have doesn't catch it or think it's malicious.
- 23:08So what happens then? Maybe it redirects it to a
- 23:13payload that gets downloaded, which is pretty rare these days,
- 23:18but can happen. Then you're back to your
- 23:22endpoint protection hoping that it'll catch it.
- 23:24Either it's a malicious hash or you catch it on execution where
- 23:28there's heuristics and it deems that it's malicious behavior.
- 23:31That's modifying kernel level files or ransomware or something
- 23:35like that, right? So you're hoping that your
- 23:36endpoint protection will catch that and that's why we have
- 23:39layers of protection here. Let's say it was not a payload,
- 23:43let's say it's redirecting to a phishing page and now your
- 23:47credentials have to get entered. Well, let's hope you have MFA
- 23:51configured and so that user will have to MFA.
- 23:56Or if you're on a managed machine and that's a conditional
- 24:01access requirement, then the login won't work either.
- 24:05If they capture their credentials, let's say they get
- 24:09it redirected to a page and it's, you know, a key logger or
- 24:11something like that. So now they have their
- 24:12credentials, What can they do with that if you require MFA?
- 24:15If you're required managed machines, not a whole lot.
- 24:19Of course we've talked about. You know, what if they proxy it
- 24:22to another machine and they're using something like Evil Jinx
- 24:26and they steal a session token. Again, pretty rare, usually
- 24:29targeted, but managed machines would help with that because if
- 24:33they try to reuse that session token on the machine that's not
- 24:36managed, that that'll stop it. Hardware tokens as well because
- 24:41you'll need, you know, the actual hardware and then
- 24:46detections for token replay, which of course like is after
- 24:49the fact where they've already tried to attempt it, but it's
- 24:51still good, right? So again, there's a lot of these
- 24:55different protections, no different than anything that
- 24:57we've talked about. But I think the biggest thing
- 25:00here is a lot of security teams get so focused in on a new
- 25:06threat, and they're like, well, what if this happens?
- 25:08Are we protected against this? Is external user chat phishing a
- 25:15thing, and is it a risk? Yeah, absolutely.
- 25:19Are there foolproof mitigations against it?
- 25:22No, there are not. But is it any different than
- 25:26phishing through e-mail? It's not.
- 25:29It's really the same. And if you're doing the things
- 25:32that are protecting you against phishing an e-mail, then the
- 25:37things that you might get through teams should be
- 25:41protected as well. And if you want, you know, have
- 25:45some sort of KQL query where you can search for that and see if
- 25:50you know you want to spend some energy going down that path.
- 25:54But honestly, I think you'd be spinning your wheels and there's
- 25:58probably other low hanging fruit that you could be doing.
- 26:02Information protection, sensitivity, labels requiring
- 26:06saws and paws for your admins, fish resistant MFA, are you
- 26:11doing all those things? Like if all those things are
- 26:13already done? I mean, this is a very, very
- 26:15small risk in my opinion. I I think the one gap here in
- 26:20protection versus e-mail based phishing for many orgs is going
- 26:25to be that URL protection and file protection teams.
- 26:29The thing is, those exist, they're affordable and it's
- 26:34something you can turn on with just a few clicks and you may
- 26:36already own and you can get it through Microsoft.
- 26:38There are third parties that do it as well.
- 26:40Andy mentioned a few earlier in the show That is the one thing
- 26:43you do need to get equivalent security because they think
- 26:45almost any org worth their salt today does have zero day
- 26:49protection for files attached to e-mail and they do have time of
- 26:53click protection for URLs in e-mail.
- 26:57And so I think for some organizations, their concern is
- 27:00we don't have equivalent protections on Teams chat.
- 27:02The thing is they are available. Once you have them in place,
- 27:05then to Andy's point, as opposed to spinning up a whole bunch of
- 27:09alerting, which could mostly be noise and it's to me
- 27:13questionable what your investigative flow would even be
- 27:17if an alert were generated. What we talk about so much on
- 27:20this show is opportunity cost. All of that effort is
- 27:24opportunity cost towards implementing steps that deliver
- 27:27meaningful, powerful security. And we'll get on our soapbox for
- 27:31the 9 billionth time. And he said it over and over.
- 27:34Managed machines. If you are not requiring managed
- 27:37machines to do practically everything in your environment,
- 27:39I cannot think of a more powerful mitigating step you can
- 27:43take today than that. Because it breaks token theft,
- 27:46it breaks fishing, it breaks all sorts of things that become
- 27:51practically impossible to do short of very targeted attacks.
- 27:56And so if you're not doing that, you need to get there.
- 27:59And that's by doing things like full mobile device management,
- 28:02home management for your Windows PCs, Mac management for your Mac
- 28:06OS devices and then requiring and just checking for that
- 28:09compliance state when they sign into stuff.
- 28:11This is not rocket science. And when you're, when you're
- 28:15focused on like, let's generate alerts and let's go do
- 28:17investigations on this stuff, like is that scalable?
- 28:19Is it meaningful, Are you going to get the results you expect
- 28:23from it when there's other stronger mitigations you can
- 28:26take. So yes, do implement URL
- 28:29protection and file protection in teams, which also gets it for
- 28:32you in SharePoint, OneDrive, Office documents as well, which
- 28:35is awesome. And then zoom out, see the
- 28:39forest from the trees and think of what steps you're taking
- 28:42overall to harden your environment instead of maybe
- 28:46chasing down the the current thread of the day because we all
- 28:52read the security focused websites.
- 28:55Or at least your security team does.
- 28:57And then they like to fire off like rabbits to go chase rabbit
- 29:01holes, to dive down. And sometimes that's valuable.
- 29:04We want to make sure we're protected against this threat or
- 29:07that threat. And I know Teams Fishing has
- 29:10been in the noose right now. And like Andy said, is it a real
- 29:12threat? Yes.
- 29:14Is it completely mitigatable? Is that even a word?
- 29:16No, it's not. But again, it's it's looking big
- 29:20picture. If we're taking the right steps
- 29:23to protect against fishing exercises overall, we probably
- 29:27have the protections in place here too.
- 29:29So where can we spend our effort in the ways that we get the most
- 29:32bang for your buck? And that's really what the
- 29:35message we wanted to land in tonight's show.
- 29:37Yeah. And and one final point, because
- 29:39I think this is actually important.
- 29:40Adam and I, we talk about this all the time.
- 29:42I missed over this bullet point from our notes, but when you
- 29:47talk about fishing, what is the actual like vector, right.
- 29:52Traditionally it has been credentials that directs you to
- 29:56a site where your credentials are phished.
- 29:59And so what's the most important thing that Adam and I harp on
- 30:04when we talk about credentials, a lot of times it is how you're
- 30:07implementing your single sign on configuration for your machines.
- 30:12We talked about managed machines.
- 30:13OK, so you have managed machines, but also when your
- 30:17users are signing into different Federated applications or having
- 30:22their daily work done, are they getting prompted for
- 30:24credentials? Are they getting prompted for
- 30:26MFA? They shouldn't be if you've done
- 30:28it correctly. However, the service and the
- 30:31conditions on the back end should be satisfied based on
- 30:35your managed machines and how those are configured.
- 30:37If it's Hybrid Azure AD join or Hybrid Intra ID join or Intra ID
- 30:42join, intra Federated applications are automatically
- 30:45single signed on so you never have to enter in a credential.
- 30:50So a red flag if I click on a link and it redirects me to a
- 30:53site and it says please enter in your credentials, that would be
- 30:56an automatic red flag for me in my daily work.
- 31:00Automatic I would pause right away and be like I don't even
- 31:03know what my credentials are, I have to look them up.
- 31:06Same thing with MFA. We've talked about this as well
- 31:09where Microsoft does implement MFA for specific sensitive apps
- 31:14that have to be re authenticated with MFA, send that MFA token
- 31:18again. But for the most part I never
- 31:20have to enter in MFA for the majority of apps because I'm
- 31:25coming from a managed machine that I sign in with Windows
- 31:29Hello for Business or some other method that already sends the
- 31:32MFA claim to the conditional access policy.
- 31:37That way I don't have to continually get my phone and re
- 31:41enter the MFA. So think about how you're
- 31:43implementing those services, what the daily user experience
- 31:46is like, and how they would pause and think when something
- 31:50is out of place. Because for me, clicking on a
- 31:53link going to a site where it's asking for my credentials
- 31:56immediately is a red flag and I wouldn't never enter in my
- 31:59credentials. You couldn't fish me that way,
- 32:01ever. That's that's a really good
- 32:03point because I just had a conversation.
- 32:06This was not with a customer. It was kind of a colleague of a
- 32:09friend situation, not unlike what spun up this conversation.
- 32:12Andy, I think this was a a direct friend and I was talking
- 32:16to the this security engineering person who was running like the
- 32:21most stereotypical playbook you could possibly imagine.
- 32:24They were an Octa AWS Proofpoint crowd strike shot.
- 32:27Like literally all the things. And this person even like
- 32:30casually dropped how they don't like how Microsoft doesn't
- 32:32prompt people to authenticate enough.
- 32:34Because I'm a security person and I know the way you have more
- 32:37securities, you make people authenticate more often.
- 32:39And I I didn't have time to address like all of the things I
- 32:44disagreed with with this person. But that mindset is still out
- 32:49there. And Andy, you just very
- 32:51eloquently explained why that is an anti pattern, why that's not
- 32:56actually more secure. Because as I often talk about,
- 33:00what you're really doing is training your users like the lab
- 33:04rat that hits the button to get the food pallet.
- 33:07Oh, I get prompted for authentication, regurgitate
- 33:11information out my keyboard into the PC without thinking about
- 33:14it. And you're right, I started
- 33:16thinking as you were describing it.
- 33:18And we've talked about on this show over and over, and I know
- 33:21it's kind of boring, but our benefits site, I know that's the
- 33:24one site that's going to make me pick up my phone and do number
- 33:27matching, but otherwise I still didn't get prompted for my
- 33:30username and password, like ever.
- 33:32Like I again like I would be flabbergasted if something said
- 33:36yo enter your username and password.
- 33:37I'd I'd be like First off what is my password?
- 33:39I don't know it but even then like I would completely stop and
- 33:43pause and go is this legit 'cause I don't this doesn't
- 33:45smell right and outside of that one predictable app that asks
- 33:49for re authentication, which I think is smart, nothing does
- 33:53ever. And so anything that would, I'd
- 33:55click a weird link from a weird person and all of a sudden it
- 33:57wants this like what the heck? And that is the power in not
- 34:02prompting, because when a prompt comes up, it does flag that wait
- 34:07a minute, something's not right. And that is really, really
- 34:10powerful. So I love how you you really
- 34:12told the story there and why we so often talk about don't prompt
- 34:18your users all the time. It's not more secure.
- 34:20In fact, it just helps set them up to respond to phishing.
- 34:24And that's a really good example of what would happen.
- 34:26And that's our show. I really enjoyed talking about
- 34:29this because it was a real world example and I think a lot of
- 34:33people can benefit from listening to how we think about
- 34:37the protections in general and and how this is a real threat.
- 34:41But if you have these protections in place, it's
- 34:45really no different than any other security threat.
- 34:48So when something pops up in the news, don't jump right away
- 34:52because if you're doing the things, you probably are
- 34:56protected unless it's some newfangled thing.
- 35:00But yeah, I really enjoyed talking about this.
- 35:03Hopefully you guys learned something.
- 35:04We'll have all the links in our show notes.
- 35:07By the way, thank you to some of the listeners who reached out to
- 35:11us telling us that our show notes were broken in our YouTube
- 35:14videos. That has been fixed.
- 35:16I've gone back and fixed all the links, so you should be able to
- 35:19see them and we'll keep a close eye on that.
- 35:21In the future, our contact information will be in the show
- 35:24notes as well working. So if you have any questions or
- 35:28comments, topics you want us to talk about in the future, just
- 35:31e-mail us. Thanks.
- 35:32We'll talk to you guys next week.
- 35:33Thank you for listening to the Blue Security Podcast.
- 35:36Please check out the show notes, catch up on episodes you may
- 35:39have missed, and subscribe so you don't miss any future
- 35:41episodes. Find Andy on Twitter at a Jaw
- 35:44Zero and Adam at AJ Brewer. See you at our next episode.