Got a question or comment? Message us here! Trust is a cornerstone of cybersecurity, but what happens when a trusted platform becomes the source of risk? In this episode, we break down the ConnectWise cloud backup incident, examining how attackers leveraged trusted relationships to gain access and why third-party platforms remain a critical security concern. We discuss the implications for managed service providers (MSPs), their customers, and the broader cybersecurity community, along with practical steps organizations can take to strengthen supply chain security and reduce vendor-related risk. To read more: https://aliascybersecurity.com/blog/who-else-has-the-keys-to-your-microsoft-365-environment/ Support the show Watch full episodes at youtube.com/@aliascybersecurity. Listen on Apple Podcasts, Spotify and anywhere you get your podcasts.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Good morning, good afternoon, or good evening, whenever you may be, and welcome back to another episode of the SOC Brief. I'm your host Andrew, and today we're talking about a security incident that I think highlights one of the biggest changes happening in cloud security. Because the attacker in this story didn't need to steal an employee's password or convince somebody to approve an MFA prompt, and they didn't need to exploit a laptop. Instead, they logged in as an application that organizations had already trusted.
SPEAKER_00The incident involves ConnectWise Cloud Backup, formerly known as SkyKick, and Microsoft 365. And the important lesson here is your users aren't the only identities in your environment anymore. Applications have identities too, and some of them have an incredible amount of access. Let's start with what happened. On October 15th, security researchers at Huntras began seeing something unusual in Microsoft 365 environments.
SPEAKER_00The ConnectWise Cloud backup application was authenticating into customer Microsoft 365 tenants from an IP address that didn't match its normal behavior. And these weren't failed login attempts. Microsoft's own intra sign-in log showed successful application authentication. Huntress eventually determined that a credential belonging to the ConnectWise Cloud backup application had been compromised. And that's a really important distinction. The attacker didn't steal credentials from hundreds of individual ConnectWise customers.
SPEAKER_00They obtained a credential used by the vendor's application. And because that application had already been authorized inside customer Microsoft 365 environments, the attacker could authenticate as the application. This is where we need to talk about something called a service principle or a workload identity. And think of it this way. Normally, when I sign into Microsoft 365, Microsoft asks, who are you? What's your password?
SPEAKER_00Do you have MFA? Is your device compliant? Where are you logging in from? All of those identity controls we've spent years building are focused heavily on human users. But applications also need to communicate with Microsoft 365. A backup platform can't ask an employee to approve MFA every time it needs to backup a mailbox at 2 in the morning. So the application gets its own identity. That identity can authenticate automatically and receive whatever permissions administrators previously granted to it.
SPEAKER_00And backup software needs some pretty significant permissions. It may need to read mailboxes, read OneDrive, access SharePoint, Teams, read directory information, and in some cases write information back during a restore. That's perfectly reasonable if it's actually the backup application using those permissions. It becomes a much bigger problem if somebody steals the credential representing that application. And there's a line from this incident that I think every SOC should remember.
SPEAKER_00MFA wasn't bypassed. MFA was never in the path. There wasn't a user logging in or an employee to approve. The attacker wasn't authenticating a software. And Microsoft specifically documents that workload identities can't perform MFA the way human users do. So if your identity detection strategy is primarily alert me when a user does something weird, you may be ignoring an entire category of privileged identities.
SPEAKER_00Huntress says the compromise credential was used to obtain Microsoft Graph tokens from a hosting provider IP address. The actor then moved through tenants quickly enough that it looked automated, essentially working through a target list. Initially, Huntress confirmed unauthorized application sign-ins across more than 160 tenants. As the investigation expanded, they identified sign-in activity associated with the attacker's IP across nearly 1,000 intra tenants, with more than 300 successful authentications.
SPEAKER_00There's a very important qualifier here. Successful authentication does not automatically mean the attacker successfully accessed data in every one of those organizations. If the relevant Connect-Wise service principle wasn't actually installed in the tenant, the attacker couldn't use it to get access. But the scale still demonstrates why compromising a SaaS vendor identity can have such a massive blast radius. One stolen secret with potentially hundreds of downstream organizations.
SPEAKER_00And then the attack gets more interesting. In one customer environment, Huntress observed another ConnectWise application, the cloud management application used for Microsoft Teams, assigning itself the global administrator role. For anyone outside the Microsoft world, that's basically the keys to the kingdom. The application then modified other trusted applications inside the tenant and added new client secrets to them. One was an MSP management application, the other was Huntress's own application.
SPEAKER_00And this is important because now we're not just talking about using the stolen ConnectWise credential, we're talking about persistence. If I compromise one application and use that application to add a new credential to another trusted application, simply disabling my original access may not kick me out. I now have another identity I can use. And Huntress later observed a similar credential planting technique in a second tenant. And this is one of the biggest lessons from the incident.
SPEAKER_00Cloud persistence doesn't always look like creating a new user. Most SOC analysts know what to look for after an account compromise. Things like new users, new administrators, new MFA method, mailbox forwarding rules, OAuth applications, but attackers can also modify credentials attached to applications that already exist. The application name still looks legitimate, the permissions still look legitimate, the application may have existed for years.
SPEAKER_00What's different is that there's now one additional secret attached to it, and the attacker knows that secret. That's a much quieter persistence mechanism. So, what should SOX be doing with this? First, if your organization uses ConnectWise Cloud Backup or the former SkyKick services, follow ConnectWise's current guidance first. As of this recording on October 20th, ConnectWise has disabled the affected application connections and has cloud backup, SaaS security, and cloud management suspended while remediation continues.
SPEAKER_00ConnectWise says it has replaced application credentials, reset accounts, strengthened administrative protections, and brought in outside incident response specialists. The company also says it has not observed successful threat activity in the environments it monitors since its mitigations began on October 17th. And importantly, ConnectWise says it currently has no indication that the stored backup archives themselves were compromised. But ConnectWise is also telling customers something very important.
SPEAKER_00You still need to investigate your own Microsoft 365 tenant. Because stopping the original authentication does not undo changes an attacker may have already made. So the first thing I'd be doing is looking at service principal sign-in logs and not just user sign-ins. Go into intra and understand what your applications are doing. Look at where they normally authenticate from, look at frequency, look at which resources they're accessing. And for this particular incident, Huntress identified the IP address 144.172.64.128 as the primary address associated with the malicious application authentication.
SPEAKER_00Use that as an IOC, but don't turn your entire investigation into searching one IP address because IPs change. And some suspicious activity in this case actually appeared to come from Microsoft's own internal cloud address space. That's why behavior matters more than one indicator. From there, look at your intra audit logs. Hunter specifically recommends looking for events including add member to roll, update application, and add service principal credentials.
SPEAKER_00Those are extremely valuable events. Think about how weird this would be in most organizations. An application suddenly gives itself global administrator? That's not something I want buried on page 247 of an audit report. And that should probably generate a phone call. And go one step further. Build detections around applications modifying other applications. An application adding a credential to itself may be legitimate depending on how the environments work, but one SaaS application suddenly adding a new secret to three completely unrelated applications?
SPEAKER_00That's probably a problem. Especially if one of those applications is a security platform, or an MSP management tool, or something with access across multiple customer environments. The real signal isn't Python was used or this IP address appeared. It's the combination of identity, privilege, and behavior. The next lesson here is inventory. Ask your team how many enterprise applications are currently connected to Microsoft 365. Not how many you remember installing, how many are actually there.
SPEAKER_00Then ask what permissions they have. You may find applications installed five years ago that nobody uses anymore. Old proof of concept integrations, former vendors, migration tools, backup software, automation platforms, applications somebody authorized because they needed them for one project in 2022. If that application isn't needed anymore, why does it still have access? And if an application requires extremely broad permissions, make sure somebody can explain why.
SPEAKER_00We talk about lease privilege constantly with human users, but the same principle needs to apply to applications. If a backup platform only needs to read a particular resource, it shouldn't automatically have the ability to administer the entire tenant. If an application needs access to SharePoint, that doesn't automatically mean it needs every SharePoint site. Microsoft actually supports more granular permissions for things like SharePoint, specifically because broad application permissions can create so much risk.
SPEAKER_00Every unnecessary permission increases the potential blast radius if that application's identity is compromised. And there's another misconception worth clearing up. You might be thinking, fine, we'll just put conditional access on all of our service principles. And that can absolutely help with workload identities that your organization controls. Microsoft supports conditional access policies for certain service principles, including location and risk-based restrictions, but there are limitations. Microsoft's own documentation specifically notes that conditional access for workload identities does not cover third-party multi-tenant SaaS applications in the same way it covers service principles registered in your own tenant.
SPEAKER_00So there's no magic checkbox that solves third-party application risk. You still need permission management, application inventory, audit logs, credential monitoring, vendor risk management, and detections for unusual application behavior. There's also an incident response lesson here. Let's say you discover the ConnectWise application authenticated into your tenant from the known malicious infrastructure. You disable ConnectWise. Are you done?
SPEAKER_00No. Huntress has explicitly warned that disabling the original application does not remove credentials the attacker may have added elsewhere. You need to review the credentials attached to other applications, check privileged role assignments, look at recent application changes, review mailbox and forwarding changes, look at OAuth consent, and essentially assume the original compromised identity may have been used to create a new way back in. That's the cloud equivalent of finding malware on an endpoint and then asking, did it establish persistence somewhere else?
SPEAKER_00And this is probably the biggest takeaway from the whole incident. For years, security awareness has revolved around the user. Protect the password, require MFA, teach employees about phishing, detect impossible travel, block password spraying, and all of that matters, but modern cloud environments have thousands of identities that aren't people. There are things like applications, automation accounts, service principles, managed identities, AI agents, backup platforms. Some of those identities may have more access than an individual employee.
SPEAKER_00And unlike users, they never go home. They authenticate 24 hours a day, so the SOC has to learn what normal looks like for them too. So here's my challenge for your team this week. Open your identity platform and find your enterprise applications. Pick the 10 with the most powerful permissions, and for each one, answer five questions. Who owns it? Why does it need those permissions? When was it last reviewed? Where does it normally authenticate from? And would your SOC know if somebody added a new credential to it tonight?
SPEAKER_00If you can't answer those questions, you've probably found something worth working on. Because the lesson from ConnectWise isn't don't trust ConnectWise, third-party platforms are necessary, cloud backup is necessary, integrations are necessary. The lesson is trust needs visibility. When we give an application broad access to Microsoft 365, we're creating a privileged identity. And privileged identities deserve the same scrutiny, or probably more scrutiny than privileged users.
SPEAKER_00Your administrators may have all the phishing resistant MFA, your executives may all be using pass keys, your conditional access policies may be perfect. But if an attacker steals their credential for an application that can already access everyone's mailbox, none of those users are going to receive an MFA prompt. The trusted application just logs in. And that's a wrap for this episode of the SOC Brief. If you've been working through the ConnectWise incident or your team has built some interesting detections around service principles and workload identities, hit us up through the website or via social media.
SPEAKER_00This is an area I think SOCS are going to have to pay a lot more attention to over the next few years. Keep your eyes open, keep sharpening those skills, and we'll talk soon. Stay secure out there. Bye.
Got a question or comment? Message us here! 🎙️ Ready to tackle the SecCon Badge CTF? This episode serves as a quick introduction, but the real experience happens on video. To follow the challenge, examine the badge,...
Got a question or comment? Message us here! What happens when a cyberattack impacts one of the nation's leading healthcare institutions? In this episode, we break down the Vanderbilt cyberattack, examine the operational...
Got a question or comment? Message us here! In this episode, we're joined by Tim Freestone, Chief Strategy Officer at Kiteworks, to discuss the evolving relationship between artificial intelligence and data security. We...
Got a question or comment? Message us here! This Halloween, we're stepping inside a ransomware operation where AI meets bad OPSEC. From careless mistakes to digital ghosts left behind, discover how attackers are using...
Got a question or comment? Message us here! You've got cybersecurity questions, and we're answering them. In this episode, Tanner and Andrew sit down to tackle questions submitted by our listeners, covering a wide range...