Send us fan mail! Hello to our Cyber Pals! This week, Selena hands the mic over to a recording of Proofpoint's Intercepted webinar - a monthly video series she co-hosts with Sarah Sabotka - for a deep dive into how cloud brute force attacks are quietly getting more sophisticated. Joining Sarah and webinar host Jason is Rachel Rabin, a threat researcher on Proofpoint's Cloud Threat Research Team, to unpack two spoofing techniques she's seen increasingly weaponized against Microsoft Entra ID environments. Rachel opens with the state of brute forcing today: despite flashier techniques like device code phishing and MFA-resistant phishing kits, brute force remains the most common identity attack vector, with 99% of tenants experiencing some form of it in 2026 - even though success rates typically sit well under 1%. She walks through why first-party Microsoft apps like Azure CLI and Azure AD PowerShell remain the most heavily targeted (publicly known client IDs, gaps in MFA enforcement, and pre-consented scopes), and why the legacy ROPC authentication flow makes credential testing so convenient for attackers. From there, Rachel breaks down two techniques that "level up" traditional brute forcing: User agent spoofing, illustrated by a campaign (later tracked as UNK_CustomCloak) that hit Windows Live Custom Domains - a legacy, discontinued Microsoft app - impacting half a million users across 4,000 tenants using over 600,000 IP addresses and a staggering 7.4 million unique, machine-generated user agent strings. OAuth client ID spoofing, a newer and stealthier technique where attackers submit a syntactically valid but fake client ID to infer whether a password is correct from Entra's error codes, without ever generating a successful sign-in event that would normally tip off defenders. Rachel compares two real-world campaigns (UNK_pyreq2323 and UNK_OutFlareAZ) that appear to have arrived at the technique independently. Sarah, Jason, and the live chat also dig into: Why over-engineering a spoofed user agent can make an attacker easier to spot, not harder How conditional access policies scoped to the wrong signal (like operating system) can be silently bypassed by a spoofed user agent Why a failed sign-in shouldn't be dismissed as a non-event. It can still mean a credential has been validated Rachel's practical, "lowest hanging fruit" recommendations: MFA, blocking legacy authentication, layered conditional access, smart lockout policies, and the shift toward passkeys Plus: a shoutout to next month's session on fraud and job scams ahead of Cybersecurity Awareness Month. Resources Mentioned: OAuth Client ID Spoofing: Why Fake Client IDs Are Gaining Traction for Stealthy Enumeration - Proofpoint
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_01You're listening to Discarded: Tales from the Threat Research Trenches, a podcast by ProofPoint for security practitioners. Each episode, you'll hear from security researchers, malware analysts, threat hunters, and more as we dive into what's going on in the world of cyber attacks and how defenders safeguard us from threats. Let's get into the show. Hello to all our cyber pals. I'm Selena Larson, your host of the Proof Point Discarded Podcast. This week, I wanted to do something a little bit different.
SPEAKER_01I'm sharing with you a recording of our latest Intercepted. This is a brand new webinar that I host with the amazing co-host of the Discarded Podcast, Sarah Sabodka, where we're joined each month by Proof Point Threat Researchers. This is an exclusive monthly video cast that dives into the latest attack trends, emerging trends, and actionable defense strategies to keep you ahead of adversaries. Every month you'll get breaking threat news, expert analysis, deep dive analysis, actionable takeaways, and of course the entire time we are having a live QA.
SPEAKER_01That's really the most important part of this webcast. Have you ever wanted to ask me or Sarah questions directly as we are blasting our voices to your ear holes? Well, now you can by joining the Intercepted Monthly Videar Series. Our next one is Wednesday, September 30th, 2026 at 10 a.m. Eastern. And you can visit proofpoint.com slash uk slash resources slash webinar slash intercepted or just Google ProofPoint Intercepted webinar to find all the information you need and to register.
SPEAKER_01This episode, we are joined by threat researcher Rachel Rabin to explore the evolving cloud threat landscape and unpack emerging brute force techniques targeting organizations today. Take a listen, let us know what you think, and we hope to see you at the next intercepted webinar. Thank you, and as always, happy hunting.
SPEAKER_03Here we go. Okay, we're alive.
SPEAKER_02Hello. Hello, happy Wednesday, Jason and team. And everybody.
SPEAKER_01Happy Wednesday.
SPEAKER_03So we it is Wednesday, my dudes. We call this hump day. Do you call it hump day? Halfway through the week.
SPEAKER_01Not if I can avoid it.
SPEAKER_03No. If you can avoid a hump day, avoid it. But we are mid, we are midway through the week here. Uh but we would talk animals, weren't we? Before what's Sarah, what's your favorite animal?
SPEAKER_02I love all animals. If you know me, you know that. But uh I like the opossum, a wild feral creature that can't get rabies. Fun fact.
SPEAKER_03Yeah, that's that is a fun fact.
SPEAKER_02And now neither can you, Sarah. Yes. Yes. So I had a bat in my house and had to go get a rabies vaccine. So bats also, I like bats a lot, but I didn't love that experience.
SPEAKER_03So good animal. And what about you, Selena?
SPEAKER_01Today I feel like a jellyfish. I think that's that's a good that's a good animal.
unknownYes.
SPEAKER_01Exactly. Exactly. Yes, my real favorite animal is my dog, but I feel like that, you know, you can't really say that. But yes, a jelly I like I like a jellyfish today, but who knows what it'll be tomorrow.
SPEAKER_03Well for me, because I just came back from Canada. I was gonna say a bear, but I normally I I do say animals which don't bite. And the only thing I could think of was a worm. Um so not that great. Rachel, come on.
SPEAKER_00Well, can I be a worm for favorite animal?
SPEAKER_03Oh yeah, you could be you could be the worm.
SPEAKER_00I quite like I quite like foxes. Uh we have a lot of foxes, so I do see see them chilling and sunbathing outside. So, you know, living the living life. I love that.
SPEAKER_01I would like to be a fox bathing in your garden.
SPEAKER_03That sounds like the perfect the perfect afternoon in London. Great. So hey, we we better get started. Hello everyone, I'm Jason Bretto at Proof Point. Thank you for joining us, and a very warm welcome to the August episode of Intercepted, newly branded Intercepted. Tell us what do you think of our new logo kindly provided by our brand team here? Is it scary? Uh what does it find you off? So I'm coming to you live from the UK and um the chat box is live.
SPEAKER_03Yep, so please go for it there. Tell us where you're from. If you'd like to participate as a guest on future webinars, we are doing uh planning for a webinar called Voice of the CISO. So if your CISO perhaps want to join us on the panel, do get in touch with me. With that, over to Sarah.
SPEAKER_02Thank you, Jason, and hello everyone. Welcome to our August episode of Intercepted. I am your host, Tara Sabaka, joined by my lovely co-host Selena Larson. And today our heads are up in the clouds. Hint hint. Um, before Selena introduces our special guests, we want to send a shout out to our friends over at St. George Logistics. Thank you so much for your feedback and support. We really appreciate you. And all of the audience, especially those that are here, have been here since day one. So thank you, thank you, thank you. One more quick announcement.
SPEAKER_02Well, all intercepted sessions are available on demand, so at your convenience, we do also have a replay for them on the Wednesday after they air live. So this session's replay will be next Wednesday, and it's offered later in the day for a more West Coast friendly viewing time. So if you don't catch it live today, you can catch it next week or have colleagues that can catch it next week. And there's always going to be somebody on uh logged in, probably myself for Selena, to answer questions live too for those replays. So yeah, so new things we're doing.
SPEAKER_02Very fun. So uh with that, Selena, will you do the honor of introducing our special guest today?
SPEAKER_01I do Senate. Just want to mention real quickly though, we do have a blog coming out tomorrow. So if anyone eagerly awaits research that is posted to the Proof Point Threat Inside blog, we do have some fantastic research coming out about some fun new malware from a Chinese cybercrime threat actor. So stay tuned. Hint hint. And um, but yes, I am absolutely delighted to introduce our very special, special guest today. Rachel Rabin is a threat researcher on the cloud team, does fantastic work uh regarding identity security, cloud security, really interesting stuff.
SPEAKER_01She's published multiple blogs that we have put out lately and has some very fun research to share with us today. So, Rachel, can you tell us a little bit about yourself and feel free to get started? Kick us off.
SPEAKER_00Thank you so much, Selena, and thank you so much for having me on Intercepted. Um, so as Selena said, I'm Rachel. I'm joining you from the UK, and I'm a researcher in the cloud threat research team. So my focus is mainly finding cloud threats before they find you. And I have a background in incident response, detection engineering, and have dabbled a bit with hardware security testing as well. And today I'm gonna be joining to talk about brute force campaigns.
SPEAKER_01Well, while before you get started, we actually have a poll, Jason. Can you poll us? Is that, Sarah, is that what you were gonna say? Because I forgot to do the poll.
SPEAKER_02No, no, no, no. I was gonna say we it's always nice to have a fellow recovering incident responder on the panel. We've had a couple. Um, I know I've been in the trenches with IMR too. So very cool. And I'm sure we have some folks in the audience who are probably on the incident response team too. So shout out, shout out to those, especially. So thank you.
SPEAKER_01Okay, so our poll, go ahead. Yeah, so the first poll is the cloud is cloud threat priorities. So the question is which cloud-based attack technique do you believe poses the single greatest risk to your organization today? I also love how the Intercepted Podcast uses UK English spellings in the poll. As a nod to our international audience. Uh so um the first choice is password spraying and brute forced attacks against cloud identities. Second, user agents moving to a detection and mimic legitimate traffic.
SPEAKER_01Third token, our session hijacking and account takeover. And then finally, cloud misconfigurations and exposed services. Don't have an all of the above. However, Neil did post in the chat, maybe we should have one. However, I think if we did, that would just be the answer for literally every single poll on the. So is that cheating? It might be cheating. Well, so let's leave that up for what? Oh, let's see what the answers were. Oh, cloud misconfigurations and exposed. Exposed services is number one.
unknownYeah.
SPEAKER_01I think Rachel, do these answers surprise you?
SPEAKER_00Oh, um, I I I think I'd probably go with misconfigurations as well. So good choice, I reckon. I think poor configuration probably leads to a lot of the attacks that we see in the cloud. So definitely a good place, a good thing to be worried about. Interesting.
SPEAKER_02And then token session hijacking and account takeover comes in at 30%. So yeah, good results here.
SPEAKER_01Well, and if you weren't that concerned about user agents boothing, well, maybe you will be after Rachel is done with her presentation today. Because I know that that is something that they will be talking about. So yeah, Rachel, is it time you can go ahead and and uh share, share your screen? Yeah, while you're getting that set up, um just uh shout out to Marcella, who also said deeper team here. Wolves are the best animal. Those are big bitey creatures. So maybe not Jason's favorite, but I I love a wolf as well. That's that's also fantastic.
SPEAKER_01Um, lots from the UK. Hello from Georgia, Malta, Tennessee. Oh, speaking of Tennessee, dog carton. Hello. Uh good morning from New York, Lebanon, Minnesota. Wow, we have uh quite an amazing uh crew here. So um awesome with that, Rachel, take it over to you.
SPEAKER_00Thank you so much. So today I'm going to be talking about spoofing techniques in cloud brute force campaigns. I wanted to start with this quote that's done the round for a few years. Attackers don't break in, they log in. And for me, this really captures the move towards identity as the attack surface. So in a modern cloud threat landscape, we have a lot of options for targeting identities, things like MFA resistant phishing, device code phishing. I know maybe that's one of Sarah's favorite techniques, malicious app consents, info stealers that target tokens from the endpoint.
SPEAKER_00But you know, in that landscape, we still see that brute force attack remain the most common identity attack vector. In 2026, we've seen 99% of tenants experience some form of brute forcing activity, with 33% of tenants impacted by a brute force attack. And compared with some of those precision attack vectors, they have a relatively low success rate. So for a typical brute force campaign, we would see a success rate or expect to see success rates significantly less than 1%.
SPEAKER_00So in this presentation, I'll be showcasing some of the evolutions that we're seeing in brute forcing methodology in the cloud. I'll start with an overview of common features in brute force attacks, and then we'll look at two types of spoofing techniques, user agent spoofing and client ID spoofing, which we've been seeing in the wild that level up those traditional brute force methodologies. And then I'll round up with some practical tips that will help you to protect your environment from these styles of attacks.
SPEAKER_00So the first is to define brute force attacks. I'm using it as an umbrella to encompass techniques like credential stuffing and password spraying. And in the cloud, we're talking specifically about an online guessing attack rather than some kind of offline cracking. And whilst the methods for brute forcing can vary in strategy, so you could be trying lots of passwords against a small number of users or lots of users with a smaller subset of passwords, they all essentially involve submitting the candidate credential to the authentication service, something like Entra.
SPEAKER_00And in my experience, the brute force campaigns themselves might not fit nicely into like one of these categories. It's more likely that a hybrid of different strategies could all be happening. So two key concepts I'll be referring to. The first is the entra sign-in log, which for those who use entra, you're probably very familiar with. And it records all the sign-in events to the intra tenant and is a primary source of telemetry for identifying malicious authentication activity, such as brute forcing.
SPEAKER_00It will also contain other fields like the error codes for the security token service, which we'll look at in more detail, as these errors will tell us the exact reason why a login has failed. The second concept is the client ID, which will also be documented in the sign-in log. So every sign-in will be associated with an application, and the client ID is the identifier for that application. I might use client ID and application ID interchangeably, but they're the same identifier.
SPEAKER_00It's just presented as a client ID in an authentication request, but recorded in the sign-in log as the application ID. So that's all the concepts out of the way. For brute force campaigns, uh, we see a lot of variety in scale, but in general, these are some common features that we observe across different brute force campaigns. So I have some example campaigns that will showcase some of these features of brute force attacks. So the first is that a brute force campaign often uses a static user agent string.
SPEAKER_00These might be a result of being hard-coded in the tool that the attacker uses and that they haven't changed the defaults. Or it might be the result of the library that the attacker uses, something like here we've got Python requests seen for this campaign. Sometimes tools will use a file that has a list of user agents, and the tool will cycle through that static list, but it's quite trivial to change, and a lot of the time, still operators will just run tools with the default user agents.
SPEAKER_00Attackers will also abuse legitimate cloud services, and in this campaign, we see the use of oracle.com. There are many ways to leverage cloud infrastructure. For example, tools like FireProx use the AWS API gateway to proxy traffic. And this allows attackers to rapidly rotate source IP addresses across a large pool of legitimate cloud-hosted infrastructure, and it makes IP-based blocking more difficult and helps blend in with sort of expected and trusted sign-in activity.
SPEAKER_00Another key feature we see is that they will target a hard-coded first-party application. And in our data, we consistently see the Azure CLI and Azure AD PowerShell as the most targeted applications for brute force attacks.
SPEAKER_02Rachel, just curious about this. This has come up in research a lot historically, but why are the Azure CLI and the Azure AD PowerShell the most targeted apps in brute force campaigns?
SPEAKER_00Yeah, it's a good, it's a good question. I think the first the first thing to say about these applications is that they are first-party applications. So they're Microsoft owned, which means that that client ID that we spoke about is publicly known and they'll be deployed in all tenants. So there's like a an availability reason to target these applications. They also historically have been a gap in MFA enforcement. So if you think about CLI use cases, they're often automation scenarios where you can't satisfy an MFA prompt.
SPEAKER_00And therefore, they support legacy authentication protocols, or they might be an actual exception in an organization's uh MFA. So that those are some key reasons to address that. Microsoft, I think it was October of 2025, was rolling out the second phase of their mandatory MFA baseline. So this essentially was designed to require MFA for any client that can perform Azure resource management operations. So that would include the Azure CLI, but still we see that it's very commonly targeted.
SPEAKER_00And I guess another more speculative benefit is to do with which which applies across the board to first-party apps, is to do with pre-consented scopes. So uh application scopes that defines like what actions the application can do on your behalf. And for most applications, you would have to explicitly like consent to those, or maybe the administrator in your environment consents to those scopes. But for the first party applications, these are already pre-approved. So if the attacker obtains an access token for a first party app, they may have like pre-consented scopes to that are valuable to them and may allow them to perform like more sensitive operations without maybe like against Microsoft Graph or something like that, without having to request additional consent.
SPEAKER_00So a whole bunch of reasons. But it also could be as well that a lot of these are hard-coded in tools and attackers are kind of lazy sometimes and don't always bother to change the app that they're targeting.
SPEAKER_01So Rachel, question. In that case, then, do you think that first-party authenticated apps should have some sort of conditional access policies in the same way that you think about, you know, who has what type of access to certain emails or, you know, applications. But so for in particular, do you think that as as you're setting up these organizational apps, restrict things to users and not necessarily do admin or read, write, update, all, you know, just kind of like restrict policies by default and maybe pay a little bit more attention to those internal apps?
SPEAKER_00Yeah, definitely the case that it's worth being aware of the applications in your environment that are available by default. And also you might think, say with something like conditional access, that everything's locked down, but it's always worth testing. There can be various exceptions and ways in which the policies are not being applied completely as you as you would expect. So maybe MFA is applied to all apps, but you haven't applied it to include legacy authentication, like clients that are capable of legacy authentication protocols as an example.
SPEAKER_00And for a lot of users, there's probably not really a use case for most users to have access to these kind of applications. So the safest approach would probably be like an allow list approach for these kind of applications that are just so highly targeted.
SPEAKER_02There's an interesting question in chat, and maybe we can take this to the end of the presentation because I don't want to get too derailed here. But how often might you know an analyst or somebody see programmatic agent parent pathways in logs? Seems like a good query artifact. What do you think about that, Rachel?
SPEAKER_00Yeah, I think we might we could probably cover that a little bit when we talk about user agent detection more generally. But I think that it's definitely something to look out for in your environment. And if you're someone who is tasked with building detections in your environment, you're going to have the best view as to what type of programmatic behavior is expected for your environment. So that's a really good thing that on an environment by environment basis, you would be able to baseline and say, why is this user or why are lots of users in our environment seeing um authentication requests from a programmatic user agent and we've never seen it before, for example.
SPEAKER_00So it's it's probably not enough of an indicator, like in and of itself, but based on the context of like knowing normal, it's definitely something, uh, something that is indicative of brute forcing.
SPEAKER_02That's a great question. Keep on common, folks. All right, back to it, Rachel.
SPEAKER_00So in the in this campaign, we also observed the use of a legacy authentication flow. We've already spoken a bit actually now about MFA and apps that that might have gaps in MFA, but this uh legacy authentication flow is called the RAPC flow, and it allows a user to authenticate only using a username and password. So for attackers, this provides a very convenient way to validate credentials and obtain the access tokens like through a single web request.
SPEAKER_00I wanted to contrast this campaign against a very similar campaign that also targets the CLI and also used a Python-based user agent and the ROPC flow. But in this instance, rather than using trusted cloud infrastructure, the attacker relied on VPN services and residential proxies to cycle through different IP addresses. So the first spoofing technique I wanted to showcase is user agent spoofing. And we'll see how this is being employed to level up traditional brute forcing methodology that we've just seen and look at some examples.
SPEAKER_00So first I wanted to define user agents. They are an HTTP request header that identify the client software originating the request and typically include information like application name, version, and operating system. But more accurately, I would say that these are just completely arbitrary strings, and attackers can choose the user agent. So it's important to treat them as an untrusted input. They could be modified, they could be blank, and an attacker might deliberately misrepresent its browser or operating system to try and evade detection or blend in with normal.
SPEAKER_00Traffic. But this lack of validation will also allow user agent strings to appear that would never appear from real clients. And the user agent is typically not rotated as rapidly as IP addresses. So it does mean if you do identify something suspicious in a user agent, it can be used to link campaigns and tools, even where the IP address and the infrastructure used is rotated. Back in September, we identified a spike in brute force detections targeting an application called Windows Live Custom Domains.
SPEAKER_00This is a legacy service that allowed domain owners to use services like Outlook with their own domains. The graph here shows the sudden spike in sign-in attempts against the application, which happened between the 20th and 30th of September. And you can see that the line kind of before the 20th of September is barely visible. So really, really low numbers of authentication events to this app were seen prior to this sudden campaign in September.
SPEAKER_00So this campaign impacted half a million users, 4,000 tenants, and the threat actor used over 600,000 IP addresses. We also saw 7.4 million user agents as the attacker relied on a spoofing technique to generate a unique user agent for every request.
SPEAKER_01Rachel, I have a question. Is that common? Is that normal you see in some of these high-volume campaigns? Or did that stand out to you as unusual? And why would a threat actor rotate through so many?
SPEAKER_00Yeah, I don't know if it's super common. It certainly stood out to me because it is definitely not normal behavior and contrast with what we're often detecting and seeing in terms of like brute force methodology, in terms of relying on static or like a semi-static number of user agents. And I think what's particularly noteworthy about this campaign is that the method the attacker used to generate those user agents resulted in generating some suspicious strings, which itself could be used to characterize the campaign.
SPEAKER_00I have some examples we can look through of these user agents, but it sort of reminds me, um, I know Joe was on last month showing some like crazy PowerShell clickfix command lines. And it's one of those cases of like the more you try to obfuscate what you're doing and evade detection, you can end up being so evasive and suspicious that it becomes um very easy to spot. Uh you kind of it makes you stand out more than you more than you intended. So they're peacocking in the traffic.
SPEAKER_00So I I have some examples, not I haven't brought all seven million of them, but I have some examples of the user agents we saw in this campaign. And like I thought it'd be interesting, like to imagine if this came through as a sock alert, whether it would kind of grab your attention. Um, so the the first thing I noticed about these is that they all start with this same prefix. But on a closer look, this Chrome version stood out to me because it's just way too long. I I don't know all the Chrome versions, but if there's been that many Chrome versions, of it's probably, you know, it's probably a lot of hardworking engineers to do that many.
SPEAKER_00So to me, it looked like this number had been just iterated. Uh and then when I looked even closer, I noticed the edge and the chrome versions here are are identical. So to me, this is looks like a bit of an artifact of how the attacker chose to spoof their user agents, and that could be signatured with a regular expression.
SPEAKER_01Can you just go back real fast, actually, Rachel, in case anyone would like to screenshot the regex for this? Um was uh just as a you know head-up or some ideas for other folks uh in their own in their own content.
SPEAKER_00I wouldn't imagine so when I've looked through our data for this regex, it seemed to be very specific to this campaign that happened in September. So um I'll be very surprised if people see it like in the last, you know, in the last few months, whatever they have data to look over. But it's a good example of how you can, you know, but how you once you start to understand or see examples of the structure of spoofed user agents, you can construct regular expressions and then all of a sudden all the activity kind of surfaces, even when the attacker went to a lot of effort to rotate their infrastructure and do take lots of other evasive actions.
SPEAKER_00And I think this this is sort of captured on this graph. The blue line is a plot of the number of digits in the length of the browser version, and it sort of plotted the frequency with which we saw it. So the method used for the user agents, we saw those forged browser versions had between three and ten digits. And to me, at least, the you would get much more entropy if you had changed those numbers independently. So I'm not sure why they didn't opt to do something like that.
SPEAKER_00It would also have like resulted in a much less suspicious browser version because it wouldn't have had to be so long. But we can see how frequently each user agent uh or each browser length was seen. And the attacker clearly had even more entropy available to them because eight digits was the most common length of browser version that we that we saw. Some kind of thinking about why attackers go to this effort to spoof the user agent. We've already seen that brute force campaigns often default to a hard-coded user agent which can be signatured.
SPEAKER_00So spoofing can prevent attackers from revealing their underlying tools that are being used. And when done well, it would allow you to hide in plain sight and blend in with normal traffic. It feels like the sort of next logical evolution of techniques that are already tried and tested, like IP rotation to cycle through different user agents to sort of evade any lockouts detections and things like that. But the other benefit that can occur with user agent spoofing is to do with conditional access policies, where depending on how effectively a policy has been configured, spoofing a user agent can be used to like sidestep a policy that has been scoped to a specific operating system.
SPEAKER_00How? Rachel, how does that happen? So if you imagine hypothetically you have, I will say with the conditional access controls, this is something highly like environment-specific. So it would depend on a case-by-case basis how conditional access is set up in your environment. And it it's a it's also a good reason to probably simulate some of these brute force attacks in your own environment, just to make sure that the conditional access, if you're you've got it, if you're if you've got it configured, is working as you intend.
SPEAKER_00But imagine you have scoped conditional access policies to a particular operating system, like requiring a compliant device for your Windows endpoints, which is something that you might commonly see. It comes down to how Entra ID knows which device you're using. So if it doesn't have a stronger signal available, it will just trust what the browser self-reports. So the user agent, if it claims to be like Linux instead of Windows, then Entra will see that session and think this is a Linux endpoint, so I won't apply Windows-specific conditional access policies.
SPEAKER_00So that's sort of how the spoofing um, you know, in a particular environment can bypass the conditional access. And, you know, in the case of something like a multi-factor authentication policy, that would, you know, be pretty bad for like um brute force attacks. And this is kind of part of a broader like technique. Like there's lots of tricks like this beyond brute forcing, where you can spoof user agents to sort of downgrade security, whether that's a user agent that's not compatible with MFA or something that's not compatible with passkey authentication, for example.
SPEAKER_02This is not to say that these things shouldn't be employed throughout an entire organization, right? An enterprise. You should still have conditional access controls. You should still have MFA, like have all of that. But threat actors are adaptable, unfortunately.
SPEAKER_00Yeah, definitely. This isn't to say that conditional access isn't effective against brute force. It's definitely probably gonna be my number one recommendation, but it uh most organizations are quite complex. And me saying deploy MFA everywhere and this and that, you know, the all these requirements in practice. I know it can be there will always be exceptions, and it can be hard to do to actually have those policies deployed as you as you intend. So it's worth being aware. Are you saying broad generalizations are not very good security advice?
SPEAKER_00Something like that. And the other thing to say on the pros of the user agent spoofing is that although I've spoken specifically about entra, um a lot of these benefits to the attackers would apply across other identity providers as well. There are some disadvantages from spoofing user agents. So we've seen that the lack of validation would allow strings that would never appear from real clients, which is what we saw in the custom cloak example.
SPEAKER_00And this means that the user agent that has been generated might have no legitimate usage, which is quite anomalous. And it can be signatured, as we've seen with the regular expression, if the attacker tries too hard to generate unrealistic strings.
SPEAKER_01So, Rachel, we have a question in chat, and I also have a question for you that's kind of similar. So, what are some characteristics that suggest a user agent has been spoofed? And Nadia asks, are there any scripts or ways to scan for obviously spoofed user agents?
SPEAKER_00That's a great question. If anyone does have a script to scan for obviously spoofed user agents, please message me because it's um I think it's quite a hard task. The very fact that the user agent is completely arbitrary means it can be quite hard to account kind of in real time for every single mechanism by which a user agent can be anomalous. Having said that, what tends to happen is we find a campaign and then we see anomalies in the user agents.
SPEAKER_00And I can kind of comment on what are the most common things that we see in spoofed user agents. So the the what the first thing to say is that um they have to generate like a lot of entropy. And I don't think from the custom cloak campaign that we saw, they were massively concerned with blending in. So really long version numbers is just a very lazy way to get that number of like unique identifiers. We also commonly see like invalid structures, like miss maybe it's incomplete version number or a missing parenthesis or some other character that's been like just like unclosed or incomplete.
SPEAKER_00So those are some common mistakes that we've seen as well. And the other thing is baselining in your environment high entropy patterns that just aren't indicative of like real users. So unique user agents for every single sign and request, for example, would be like pretty suspicious.
SPEAKER_01Just real quick, it does look like Eric says, um, thanks, Eric. Shout out, I'll follow up with you. So if anyone else has ideas for Rachel, she is open to feedback. And then David also posted some open source index searches for um looking at user agent uh characteristics. So just wanted to throw that out there for anyone who is not paying attention in the chat. There is a there is chat happening. Cool. Back to you, Rachel. Chat gold right there. That's the stuff. Love to see it.
SPEAKER_00Thank you. Uh so the second technique I wanted to talk about is something that we've seen more recently called client ID spoofing. And we've published a blog about this last month. I believe it might be linked somewhere in the chat if it's particular of interest. So I'll be running through this technique, specifically the logging behavior that enables this technique, and think about why attackers are opting to spoof the client ID. And then we'll compare two in-the-world campaigns, which suggest the technique has been adopted independently by different threat actors.
SPEAKER_00So, first, what is client ID spoofing? This is an emerging technique that we're seeing increasingly leveraged in cloud campaigns. How does it work? We will see that enter returns different responses depending on whether the client ID supplied was valid and whether it corresponds to a registered application. And we'll look at what attackers are able to infer from these error messages. And why would an attacker go to the effort to spoof a client ID? Well, one of the key reasons is we'll see how the attacker will be able to infer whether the password is valid without generating a successful sign-in event.
SPEAKER_00So this will allow them to test credentials and potentially not raise as much suspicion with security teams who are expecting to see a successful sign-in as an indicator that the credential has been compromised. So this is a sign-in event for the application Azure AD PowerShell, which we've already spoken a bit about. And we can see that the entra log is populated with the application ID and the application name. In this next example, we have a client ID that is syntactically valid.
SPEAKER_00So it meets the structure of an application ID, but it's just a bunch of A's and it doesn't correspond to any real registered application. So when you submit a sign-in request to this application ID, no application name is present in the sign-in log. So this sign-in has been structured so that it will intentionally induce an error. And we'll see now how these errors can be used to deduce whether the password supplied was the right password. Here I'm I'm using a custom PowerShell module called invoke client ID spoof enum.
SPEAKER_00A bit of an aside, this is probably a good example of how much AI like lowers the bar for attackers because you know, as soon as you have an idea, it probably took takes about five seconds to get a Claude or your favorite AI LLM to like write the scripts for you. But all this script is doing is it generates a random client ID that conforms to the expected format that Entra has for a application identifier, but it's obviously not going to correspond to a real application.
SPEAKER_00And it then submits an authentication request using that ROPC flow that we spoke about. So in this screenshot at the very top, in blue, you can see a username and password parameter were submitted. They've been obfuscated from the screenshot. And in this case, I've supplied the correct password. And the request returns the response application not recognized, because as we said, we just generated a random client ID. But if I send the same request, so here it's exactly the same, but rather than obfuscate the password, you can see I just sent the string pass.
SPEAKER_00I'm given a completely different error code, which tells me that the username or password is incorrect. So we can also do the same with an invalid uh user, like a user that doesn't exist in the environment. And we'll we see that each scenario that you submit gives a distinct error code. So attackers can use these error codes to submit authentication requests to your environment and differentiate between invalid usernames, incorrect passwords, and valid credentials.
SPEAKER_02Rachel, just going back to that last slide, sorry, can anything be done about log the this type of logging behavior? As like what if Microsoft checked the application ID before the password? What do you think? What are your thoughts?
SPEAKER_00It's a good question. I think this mechanism is sort of by design that Microsoft across the board, whether it's other types of errors you could encounter, maybe you might hit an MFA error or conditional access error. Microsoft is always evaluating the credential first. So it's can it's kind of consistent in line with that. And I guess if you evaluated the if you evaluated it the other way around, as you suggest, then that would allow an unauthenticated user to enumerate which apps were registered in an environment.
SPEAKER_00So I'm not sure that this is this is one of those, I don't, I can't believe I'm gonna say it, but like features, not bugs style, style things. Like I don't think there's anything to fix, but it's more about how defenders interpret failed login events and under having an awareness that attackers can gain information from error codes. And so being armed with that when looking at authentication or unsuccessful authentication attempts to your own environment. That would, I'd say that would be the key takeaway.
SPEAKER_01Great insight. Thank you. Great thanks, Rachel. Just I just wanted to call out Brahm Van Vic's comments. Once a number of your users have been migrated to completely passwordless sign-in methods and don't require password logon for legacy on-prem apps, it would make great sense to both change their passwords in a scheduled way to completely randomly generated strong passwords to protect these accounts against brute force attacks. I'm just curious, Rachel, if you're if you had any thoughts on that. Thanks so much, Bram, for sharing. Not sure if that's something that you've also implemented within your or your own organization.
SPEAKER_01Um, but feel free to to chime in and chat if anyone else has as well.
SPEAKER_00Yeah, I to me that sounds really sensible. At the very end, um, I have some key takeaways and I feel like everyone in the chat is super security conscious and aware and already already way ahead of me in terms of what the best mitigations would be. So I definitely as you say, Microsoft is moving towards or at probably from I think it's gonna be from September, a baseline of pass keys for authentication. So though, you know, pass keys are not going to be vulnerable to these types of brute force attacks. But even where you are implementing like the shiniest new thing in your environment, it's worth, it's always worth being aware of what the limiting factor is.
SPEAKER_00So you might have passkey authentication as a requirement, but if part, you know, if you've still got fallback methods of authentication and the passwords are weak and MFA is not being applied on those accounts, maybe because the assumption is everyone is using passkeys, then that could, yeah, that could represent like an unintentional gap. So your suggestion sounds pretty, I think that sounds like a good suggestion in terms of when you've migrated your users. If those passwords, you know, a fallback option and they're not likely to be used, then the complexity requirements of them, yeah, it sounds like a sensible idea.
SPEAKER_00They could be far more complex than a user who's having to type those passwords in, you know, three times, four times a day. So just one more question from David.
SPEAKER_01Um, can you go back to the slides? I think, David, you're referencing these, uh, the error message um from Microsoft. So he's asking, are these returned by enter ID?
SPEAKER_00Yeah, you can see the error codes in your the way they're presented here is like from the perspective of like if I go here, this is the the response met like the HTTP response that the attacker sees. But the specific error code is also recorded in the entra sign-in log. So you would be able to build detections that look that look for specific error codes. And I highly recommend looking at specific reasons why sign-ins have failed, not just for brute forcing, but you'll find all sorts of it's a good way to uncover things like conditional access exceptions as well and various other things.
SPEAKER_00So the answer is yes, you can see your uh error codes in the intra sign-in logs and probably in other like third-party tools, or if you access the intra sign-in logs through another, like another platform, I would expect like it would be parsed from like through whatever whatever's being used to view them.
unknownCool.
SPEAKER_00Was there any more questions or should we uh carry on?
SPEAKER_02I think since we've got about 10 minutes left of presentation, we want to get through all these slides to get to those key takeaways. So we're gonna hold questions until the end. Um, just want to make sure we get to those those key takeaways of yours, Rachel. I'm sure they're gonna be worth their weight in gold. So sure.
SPEAKER_00So we've we've looked at the client ID spoofing and the like now, kind of what are the benefits of doing this? So the first is that as we've seen, no application name is recorded. So this means that if you have detections or that look for surge in activity against a specific application, like we saw with the custom cloak campaign that targeted Windows Live custom domains, you might miss the activity entirely because the app name field is blank.
SPEAKER_00And in the case that a completely invalid client ID is sent, then the client ID field itself will be blank as well. So if you're doing like if you've got visualizations or detections that count based on those fields, that's like an important thing to understand. The second one is that. A successful sign-in is often used as an indicator that an attacker has been successful in a brute force attack. So it is the case that they haven't got a token in your, you know, they haven't got access to your environment, but even a failed sign-in could still indicate a compromised credential.
SPEAKER_00And then the attacker could come along kind of later out of the blue when you're not expecting it and just sign in with those credentials. So there is a risk of um brute force activity being overlooked just because the attacker didn't appear to be successful due to deliberately kind of introducing that client ID error. And then the final benefit is sort of analogous to spoofing the user agents, which is that by fragmenting authentication attempts across fictional applications, it becomes harder to correlate and might evade any per application rate limiting or app scoped policies that you have in place.
SPEAKER_00So we've covered the technique and the benefits of use it for attackers to spoof the client ID. So I wanted to show two different examples of client ID spoofing in the wild. The first is a campaign called Pyrec 2323 after the user agent that we saw. And this was a campaign that originated from AWS infrastructure, affected over a million users, and the high volume of failed attempts triggered account lockouts for 28% of the users.
SPEAKER_00Here we can see a table of the observed client IDs, including I've put the three lowest values that we saw and then the three highest values with just some random ones in the middle. So the attacker distributed their sign-in attempts with more than 700,000 spoofed IDs. And we can see where these 700,000 came from, because the last six digits of each client ID was just a random number. And this prefix here actually corresponds to a legitimate application for exchange online.
SPEAKER_00So we can see how little effort the attacker put into spoofing the client ID, kind of similar to what we saw with the spoofed user agents. Because there were more users than available client IDs for the campaign, this resulted in spoofed IDs being reused on up to 12 users, but the same ID was never retried again for the same user. Analysis of the timestamps associated with each client ID suggested that they weren't generated sequentially, but they were just generated at random.
SPEAKER_00Second campaign I wanted to speak about is this campaign Outflare A to Z, which primarily originated from Cloudflare infrastructure, but this was at an even greater scale compared with the first campaign. It targeted more than 2 million users with over 3.7 million spoofed application IDs. This time the attacker used a fully random client ID, so it just needed to conform with the UUID V4 structure that is expected.
SPEAKER_00And this allowed them to use a unique client ID for every authentication attempt rather than the reused client IDs we saw with the other campaign. Quick question, Rachel.
SPEAKER_01Were these the same threat actor, or are they just different uh actor clusters using similar techniques?
SPEAKER_00So to me, the spoofing approach used here is much more mature than in the other campaign, and also the scale is much larger. This this campaign actually preceded the high-rec campaign. So to me, that would represent if it were the same threat actor, that would kind of represent a bit of a step backwards. So the blog explores more of the details of similarities and differences between like the type of enumeration and the methodology, but I would say that taken together, it suggests that the technique has been adopted by different threat actors.
SPEAKER_00So the the key takeaways, we got we just about got there. So um I wanted to wrap up with some kind of quick wins. And I think, as probably conveyed at the start in the poll we did at the start, I think a lot of brute force attacks are essentially the lowest hanging fruit. So when it comes to defending against them, it's predominantly about like doing the basics right and just making sure you're not the easiest target for an attacker. So a few quick wins if you're not doing already.
SPEAKER_00The first is MFA and blocking legacy authentication protocols. So both of these controls would be supported in security defaults or in out of the box conditional access policies. The it is obviously the the case to secure a cloud environment fully, you would need to go much further than this. But I would say this is a really strong minimum requirement to prevent brute force attacks. And if your environment isn't configured with these as a as a minimum, it's a good thing to prioritize to really quickly like improve your maturity when it comes to the identity attack surface.
SPEAKER_00A more mature set of conditional access policies as well will provide defense in depth. So you if you have location-based policies that deny sign-ins from unexpected locations, or you have a requirement for registered joined or compliant devices, then taken together these can prevent attackers that are signing in from their own devices, which would be unregistered or from unfamiliar locations. And it's it's very effective to layer conditional access policies like this because something might slip through the net for like a location-based policy because the attack is using residential proxy.
SPEAKER_00So you kind of have another layer of depth to catch the authentication attempt. As was already uh mentioned with a great question, enter is move towards pass keys as the default for authentication. So I think primarily I think of mitigating like adversary in the middle threats when it comes to pass keys, but it does have the added benefit of not being vulnerable. There's no passwords to brute force, so it wouldn't be vulnerable to these style of attacks.
SPEAKER_00And who knows, maybe the landscape will change as pass keys become the default. We might see less and less of these attacks. The final thing is in an intra tenant, you can configure the smart lockouts policy and customize the lockout thresholds and enforce whatever password protections and uh complexity requirements that you want for your users. From a detection standpoint, we've seen that spoofed user agents and client IDs introduce their own anomalies, which provides their own opportunities for detection.
SPEAKER_00So we've already spoken about suspicious user agent structures. And the key takeaway on the client ID spoofing side would be to treat sign-in logs with a blank application ID or without a corresponding application name as a potential indicator of client ID spoofing, and that error codes may be a signal of compromise credentials, not just failed login attempt. So that's pretty much everything from me. To just to wrap up what we've covered, we've looked at brute forcing attacks, which I think remain from our data the most common identity attack vector.
SPEAKER_00And attackers' techniques have evolved beyond simply IP rotation to include spoofing of other parameters like the user agent and the client ID. We looked at the custom cloak campaign against the Windows Live custom domains application, in which spoofed user agents could uniquely fingerprint that activity. And we've also looked at client ID spoofing and how this enables attackers to validate credentials at scale. The emergence of two different campaigns, the PyRec campaign and the Outflare campaign, suggest that this technique is gaining traction and among threat actors for targeting cloud environments.
SPEAKER_00So yeah, thank you. Thanks for listening.
SPEAKER_02That's fantastic, Rachel. Thank you. Great. Yes, this was awesome and perfect timing, right? To wrap up. We have uh like a couple minutes left, but Selena posted in the chat the blog that Rachel referenced a few times. There's more um suggestions in there, some further drill down into those campaigns. So definitely click on it, give it a read. And don't forget there's another blog coming out tomorrow. Not not related to what we talked about today, but you know, something to look forward to as well. That was absolutely fantastic.
SPEAKER_02Any final thoughts, Rachel? 30 seconds or less.
SPEAKER_00Oh, I didn't. I think you've had all my thoughts at them.
SPEAKER_02That was great. We did have a question in chat about having this material, the slides available after the fact. We typically don't share out the slides, but because the session is on demand, you can come back anytime, go through and listen to Rachel as she talks through the slides, take screenshots, whatever you need to do. So that's a good thing. For our next session in September, I can't believe I'm saying that September time is flying. We're gonna talk fraud. We're gonna pivot quite a bit, talk fraud, job scams, financially motivated threat actors.
SPEAKER_02It's gonna be a really good lead up talk, um, good panel to our special October Cybersecurity Awareness Month session of Intercepted, which I will be hosting. It is, it is. I love it. It's spooky season, but also Cybersecurity Awareness Month season. So you won't want to miss out. Yes, it can get very smooth.
SPEAKER_01Cybersecurity awareness is very spooky.
SPEAKER_02Thank you again to Rachel for joining us and everyone who hung out with us today shared insight and feedback. It is so, so appreciated. You guys were amazing in chat today. So much good insight, so many good questions. We love that. That's exactly what we built discarded for. Again, exactly what we built this for was for the community and for collaboration, right? Because this is how we stay very mindful and very secure. We'll see you next time.
SPEAKER_01Bye, everyone. You've been listening to Discarded Tales from the Threat Research Trenches, a podcast by Proof Point. Never miss an episode by subscribing to the show in your favorite podcast player. Happy hunting!
Send us fan mail! Hello to all our Cyber Stars! This week, Selena is joined by senior threat researcher Tim Kromphardt and special guest Pavlina Pavlova, founder of Critical Cyber and a cybercrime and policy expert....
Send us fan mail! Hello to all our cyber spooks! This week, Selena is joined by senior threat researcher Tim Kromphardt and, for his first time on the show, threat intelligence analyst Aron Salzman-deis. Together they...
Send us fan mail! Hello to all our cyber pals! This week, Selena is joined by Carsten Meywirth, head of the Cybercrime Division at Germany’s Bundeskriminalamt (BKA), to talk about how law enforcement is taking the fight...
Send us fan mail! Hello to all our cyber party pals! This week, Selena is joined by co-host Sarah Sabotka (and several very persistent, very uninvited pod crashers) to talk about a threat that's landed in a lot of...
Send us fan mail! Hello to all our cybernauts! This week Selena is joined by not one, not two, but three guests - Mark Kelly, Julia Paluch, and Dave Galazin - to unpack Proofpoint's latest research. Mark walks through...