Skip to content
Mobile App Security with Ryan Lloyd episode artwork

Apr 9, 2026 54 min

Mobile App Security with Ryan Lloyd

from Software Engineering Daily

Mobile apps have become a primary interface for critical services, including banking, payments, and healthcare. Unlike web applications, much of the logic and intellectual property in a mobile app lives directly on the user’s device, which is an environment the developer doesn’t control. That makes mobile apps uniquely exposed to reverse engineering, runtime manipulation, and fraud. As more critical functionality shifts to mobile, the need to harden apps against sophisticated attackers continues to grow. Guardsquare builds tools to protect and test mobile applications against both static and dynamic threats. Its platform has features including layered code obfuscation, runtime application self-protection, mobile-specific security testing, threat monitoring, and API attestation. Ryan Lloyd is the Chief Product Officer at Guardsquare. In this episode, he joins Gregor Vand to discuss why mobile security differs from desktop and web security, how reverse engineering tools have evolved, the role of compiler-based obfuscation and runtime protections, common mobile app vulnerabilities, and how LLMs are reshaping the attacker landscape. Full Disclosure: This episode is sponsored by Guardsquare. Gregor Vand is a security-focused technologist, having previously been a CTO across cybersecurity, cyber insurance and general software engineering companies. He is based in Singapore and can be found via his profile at vand.hk or on LinkedIn. Please click here to see the transcript of this episode. Sponsorship inquiries: [email protected] The post Mobile App Security with Ryan Lloyd appeared first on Software Engineering Daily.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Mobile App Security with Ryan Lloyd

0:00 54:52
of matches

Transcript Auto-generated, may contain errors

Mobile apps have become a primary interface for critical services, including banking, payments, and healthcare. Unlike web applications, much of the logic and intellectual property in a mobile app lives directly on the user's device, which is an environment the developer doesn't control. That makes mobile apps uniquely exposed to reverse engineering, runtime manipulation, and fraud. As more critical functionality shifts to mobile, the need to harden apps against sophisticated attackers continues to grow. GuardSquare builds tools to protect and test mobile applications against both static and dynamic threats.

Its platform has features including layered code obfuscation, runtime application self-protection, mobile-specific security testing, threat monitoring, and API attestation. Ryan Lloyd is the Chief Product Officer at GuardSquare. In this episode, he joins Gregor Van to discuss why mobile security differs from desktop and web security, how reverse engineering tools have evolved, the role of compiler-based obfuscation and runtime protections, common mobile app vulnerabilities, and how LLMs are reshaping the attacker landscape. Gregor Vand is a security-focused technologist, having previously been a CTO across cybersecurity, cyber insurance, and general software engineering companies. He is based in Singapore and can be found via his profile at van.hk or on LinkedIn.

Hello and welcome to Software Engineering Daily. My guest today is Ryan Lloyd. Hi there, great to be here. Yeah, great to have you here, Ryan. So you're the Chief Product Officer of GuardSquare. We're going to be hearing all about GuardSquare through the episode and everything about app security. Not a topic that we've covered in much depth before, so this is going to be an interesting one. But as we like to do on SE Daily, just what was your path to GuardSquare, I guess, and then becoming the CPO at GuardSquare?

Yeah, so for 20, 25 years now, I've been working for a series of companies that provide software developer tools. So in early 2000, I started with a company that built version control and issue tracking software, predating Git and Jira and those kinds of things. And then eventually moved into a company called SmartBear, where we focused on software test automation and quality assurance tools. And then more recently, I spent a bit of time at a company called Veracode, which was my first foray into the world of security and application security specifically, which has a lot of similarities to automated testing. scanning apps to find vulnerabilities is not that different than testing apps to find bugs and defects and then the last five years i've been here at guard square so throughout my journey i've been focused on product management and really on tools for developers and then more recently around security and now here at guard square it's all about mobile app security so an even more narrow and specialized space within security but yeah all about focusing on our customers who are app developers and supporting them in how they secure their mobile applications yeah nice so then i guess guard square as a company what's the origin story there

Yeah, it's an interesting one. So the original founder of the company started an open source project called ProGuard. And that open source project was initially focused on optimizing and shrinking Java applications, just making them smaller, more efficient, things like that. And eventually, it became a really popular tool for Android developers to shrink and optimize Android apps. So it became so popular, it became bundled into the Google Developer Toolkit as a default.

And the interesting thing was in shrinking and optimizing applications, it would decompile the binary, and then it would apply these transformations to the code to shorten all the names and references to illegible names that just took up less characters. And if you do this enough times through a whole binary, eventually you shrink it down much smaller. And then we did some optimization passes to make the app start up faster. So that was kind of the way the company got started. And then what we noticed is some people were starting to use this tool, ProGuard, because of this feature of renaming all the names for security purposes. They thought, well, if it makes the code less legible, that's a security benefit.

And once we started recognizing that this was a recurring and common pattern, we decided to pull on that thread further. And we created a parallel tool called DexGuard, which applied this and many other concepts to obfuscate and secure mobile application code. And that all took place around 2014 when the company was formalized and incorporated and moved out of just being an open source tool to a formal company. And since then, we've just been on a journey to add more capabilities and tools and sophisticated functionality to help companies that are trying to secure mobile apps. Yeah. I mean, we're going to get into the kind of the technicals of what the product does and I guess how it does it as well. But maybe just to set the scene, like what's the typical size of company or like any names of like obvious customers, I guess, just sort of what's the kind of scale here of how this is being used? Yeah. So we have around a thousand paying customers and they're protecting apps across a range of industries. So around 40% of our customers are in the finance vertical, right? So mobile banking applications, fintech.

card payment, SDKs and software, crypto apps, things of that nature. That's around 40% of our customers. And then we have a long tail of customers across quite a wide variety of industries. I mean, you think of mobile apps these days and they do just about everything. So we've got customers that have mobile games that they try and protect from cheating. We've got streaming media platforms that are trying to make sure that the digital rights kind of protections they have built into the application are secure and can be bypassed for content to be stolen and infringed upon.

Healthcare has been a big developing area for us recently as well. So a lot of apps where there's a mobile app that is a companion to a physical medical device. Think about diabetes and insulin care, things like that. Yeah. So we're going to get into like what this is effectively. And also to kind of clarify, because we're going to be talking a lot about just simply mobile application. Are we also talking about iPads as well, for example? Yeah. Yeah. So when we talk about mobile, we talk about Android and iOS. So that includes different form factors, also the TV elements of those platforms. Yeah. So that kind of leads into, I guess.

Literally, one of my first questions when I was thinking about this was, well, how did this differ from desktop, effectively? We've had desktop binaries since not the dawn of time, but the dawn of consumer computing. And when it comes to mobile across these form factors, as we've just talked about, these are just binaries, right? But there's way more to it than that. And I think that's kind of where it'd be interesting to start. What really sets apart the mobile landscape from this perspective? What are the things that GuardScore needs to be looking at? Yeah, so mobile apps, they're fundamentally...

Reverse engineering them, tampering them is not much different than the practices and patterns that apply on desktop applications. I think the biggest fundamental difference is the purpose and the value of mobile apps is fundamentally different, right? Like you've never installed a banking app on a desktop computer. Sure, you've accessed it maybe through a web browser, but all of the IP and the logic lives on a server that's well protected and secured. But a banking app for mobile, a lot of that IP and logic is built into an app that's on the end user's device where they can tamper with the environment, tamper with the code, and manipulate its behaviors. And that extends beyond.

banking, of course. But I think the value and the stakes are just much higher with mobile apps. The biggest parallel we've seen with desktop apps is maybe our gaming customers. Anti-cheating and cheating protections have been something that they've invested heavily on on the desktop side and is similar on the mobile side. And maybe some paid enterprise software apps where piracy and things are a concern would have parallels between desktop and mobile. But there are a lot of consumer apps on mobile that never really existed in a desktop world. So it brings into focus the different security considerations and attack paradigms. And like a desktop, the thing with mobile is

What makes it different than a web application is the end user has so much control over the hardware, the device, and lots of tools at their disposal to manipulate and modify and tamper with it. Yeah. And thinking about, as you were touching, how users use their mobile devices. And it's very common these days for BYOD, bring your own device to a company. So a company is having to, there are obviously many ways to protect against this, but ultimately a user is running apps on a device that is also running work apps and email and all that kind of stuff.

Yeah. And there's two kind of paradigms to mobile security. There's mobile device security and there's mobile app security. So definitely enterprises care about device security and making sure that any business corporate data that ends up on a phone is well controlled and secured. And actually that's a somewhat easy problem to solve because your company can force different tools and policies onto your device as a exchange for giving you access to corporate data on that device. But mobile apps for consumers is a different paradigm because a bank that builds a mobile banking application.

can't force their customers to install MDM tools and set policies on their devices. They kind of have to take the device as it is and make a trust-based evaluation of whether that device is suitable to access their banking services. So I think in the B2C consumer model, there's a lot more trust that has to be placed in the end user and a lot more security checks that need to be put in place to ensure that things are secure. Yeah. And then if we just look at a slight difference perhaps between the mobile app landscape ends of desktop apps, binaries, whichever you like to call them, the reverse engineering tool maturity in mobile apps seems quite, well, mature. And it feels like there's just more going on in that space with people that like to decompile and understand mobile apps. I mean, I'm guessing some of that is around the distribution. The distribution is very easy to go to an app store or pretty much, as we, for better or worse, most mobile apps, you'll get it through an app store because of how they are distributed. So you can go and find the app of whichever company incredibly easily, which is quite different to desktop, where a lot of apps are just kind of randomly hosted, GitHub binary download or something, which you can see the source code anyway. So there's clearly a lot of interest around decompiling. And as you've called out, these apps link to

big companies, as you said, like a bank. It produces a website, which is a whole bunch of technology, but an app is a total package there. So yeah, is that something you've seen as well and how GuardScore has evolved, I guess? Yeah, there's definitely a lot of tools, a whole democratization of reverse engineering knowledge that's gone on in the last 10 years. And every year it just gets more intense. And I think it's not so much that desktop and mobile are different from a technology standpoint. I think there's a simpler explanation, which is people with bad intentions or attackers, however you want to characterize them, they go where the value is, where the money is.

And mobile apps just represent such an attractive target that it has spurned a whole, like any good internet effort, a community, right? A community of tools and knowledge and expertise that's been widely distributed. And up until the last year or two, it required people to write blogs and share knowledge and go to conferences and do demos to get that knowledge distributed. Now with LLMs and whatnot, that knowledge is kind of even more accessible. People could just type in a question and get some pretty detailed guidance on which tools to use and how to approach some of these problems. So that's accelerating it even more, I'd say, in the last year or two.

yeah and then what is the best landscape then in terms of like what is somebody likely to be able to turn up on a mobile app if they decompile it or so on like what are the kind of things that as we get on to are trying to be protected against here yeah yeah it's a good question there's quite a wide range of different threats that can exist the most basic threat can be just intellectual property in the application that's important so that could be proprietary algorithms or ways of doing something that are unique and you don't want competitors to know or understand about that if you've got any models that you've trained for different AI use cases. We've seen customers that are concerned about those models being manipulated or extracted and maybe used by competitors or new entrants in their market. So IP protection is one category of use case for protecting a mobile app. We've also had some high profile consumer companies that build consumer technology with a heavy mobile component to it, concerned about new features they're building and protecting their app from competitors or tech journalists from reverse engineering to see what their roadmap is. They'll silently build out these critical features for something that's in their roadmap a year out or longer, and they don't want people to know about it. So that's kind of another variation of IP protection. So that's one sort of category. In the financial services industry, the biggest risk there is fundamentally fraud. And it comes in different forms. One is around account opening fraud.

So as the world shifted from requiring everyone to show up at a banking branch with their passport to verify their identity, a lot of that's been digitized now. You can open up a bank account digitally. There's authentication flows to verify your face and to make sure that you're a real live person and to match it to your identity. It turns out money laundering really wants to manipulate those mechanisms to be able to open fraudulent accounts so they can launder money. So we see that kind of use case a lot. And then phishing-based fraud has been really targeting mobile banking and payment apps a lot in recent years. So this is a case where

somebody reverse engineering a banking app will download the official app from the app store. They will tamper with it to introduce malware or just code and logic to steal credentials and information from that user. And then they'll use that fraudulent app in a phishing campaign. They'll trick users into saying, hey, there's a new update of your bank app available. Click here to download it. Users get tricked into downloading it. And now they go to log in and they're passing their credentials on to an attacker who's sitting at the other end, just waiting to log into their account and perform some fraud. So yeah, financial services, it's really all about variations of fraud. Gaming we touched on, it's about

cheating. So people looking to gain an advantage in multiplayer games, especially, or games that have rewards or monetary components to them. And then healthcare is an interesting one. The medical device space, what we see most often is two aspects. One, there's just a concern around privacy and data and making sure that the entire path of how data is collected from the app transmitted to servers is as secure as possible to prevent data leakage and breaches of personal information. And then also there's just sort of an academic security component in medical devices as well. If you recall, maybe 10 years ago, there were some high profile

talks at events like Black Hat, where they're talking about how you can remotely control a pacemaker or an insulin pump. And these things, practically speaking, probably don't represent a very real threat for the majority of people. So you'd think they're kind of low risk, but they are headline grabbing and no company really wants their brand to be affiliated with that kind of academic security research. So part of protecting your app is also just a defensive measure at mitigating some of the brand risks that can come about. Yeah. And we're going to get into sort of how this all works in a second. I think just one more thing, which is, I guess, interesting to touch on is, well, it's interesting to some people, unfortunately, quite boring, but it is part of life as a business is compliance. And just that compliance is only getting increasingly more stringent. How does that factor into, if you're a company distributing a mobile app, like what kind of compliance are you, I guess, at, let's say, a bank level, like what are you expected to be showing and doing? Yeah. So in some instances, there's very targeted and specific regulations or certifications that are required for certain types of applications. So most notably, you'll find anything that deals with payments. There's a whole consortium.

the payment card industry, PCI, that has layers of standards and certifications that are required for different payment types and channels. So one thing you'll notice if you go into a lot of shops, retail environments today, or restaurants, they've all got mobile phones or tablets where you can tap your card against to pay. Well, underpinning those mobile devices is an app and SDKs for processing payments. And so there's a whole compliance theme around how do we protect that payment information on what is essentially a shop owner's personal device in many cases. So those are very precise. They lay out very specific requirements that need to be met around

mobile app and SDK security. It's the most specific in what steps you need to take. Banking apps generally are less specific. They definitely have security frameworks, but they don't tend to be very mobile specific. In some regions of the world where there's a high risk of malware, they've started to introduce specific regional regulations around what steps banks need to take to protect mobile app users from phishing campaigns and app-based malware. But beyond that, a lot of it's just general regulations, things like GDPR, ISO, NIST, HIPAA controls, where they don't really specify the mobile app requirements or controls that are necessary. They just say you need to make sure personal data is secured.

sensitive data is secured. And it's up to the mobile app development team and their security team to really figure out what does that mean. So there's a bit of a gap, I would say, in terms of industry standards around this topic. And one project that's been really trying to push to address some of that is the OWASP working group that's focused on what's called the Mobile App Security Project. So they have a verification standard and a testing guide that details what that group believes are some of the important security considerations for mobile apps. So GuardSquare has been working closely with that group to help build out those requirements and provide testing guidelines.

test automation scripts to help fulfill some of those requirements. Nice. So I think, yeah, let's get into what is actually happening. I mean, is it worth talking about both the open source and the paid total product? How do they intersect? Or where would you like to start? Well, there's not much to say there because I think the open source product was built for a very specific purpose of optimization and shrinking. And only by coincidence did it address, to some degree, these security use cases. So we think mostly about the commercial tools around mobile app security. And first of all, mobile app security is a broad umbrella. But within that, the area where we really started from was mobile app protection.

And so protection for us means protecting the application from reverse engineering and tampering. And there's two primary axes for reverse engineering and application, what we call static techniques and attacks, and then dynamic techniques and attacks. And there's different capabilities and protection features that are necessary for each of those. So maybe if we just start with the static side first. So static analysis of a binary is all about you download the binary, and you can use any number of decompiling tools that turn the machine code back into readable, interpretable, human readable code that you can understand the logic, the behaviors, and spot.

IP or secrets or information that can be useful knowledge to an attacker. And the primary mechanism for defending against that is code obfuscation. So obfuscating is all about taking that code and manipulating it in different ways to make it so that it's not readable, so that when it's decompiled, it's very difficult for someone to understand. And that's not to say that it's irreversible, but the complexity becomes so high with good quality obfuscation that the time it would take someone to really make sense of the code is often no longer kind of worth the effort and time that they would spend. yeah i mean to some developers this is sort of similar different you know like minification effectively where minification being that it's obviously very clear how to effectively it's obfuscation but also compressing but it's also very known and clear how to deobfuscate and inflate it back up in this case the whole idea is that let's say you had decompiled this app as you call it there is no real way to deobfuscate the code at the end of the day you can't see what's running there yeah and the main way we achieve that is through a lot of different layers of obfuscation techniques

So the simplest example is the name obfuscation that I mentioned earlier, which is kind of rooted in the open source tool, just simply renaming class names, method names, and all the different objects you see in the application with short, nondescript names. And when we process an application to do that renaming, we generate a mapping file. And as long as you keep that mapping file internal to your organization, anyone without that mapping file would have a hard time putting the puzzle pieces back together. So name obfuscation is the most foundational and basic obfuscation feature that's needed. But then there's different layers to add on top of that. You can encrypt classes, and then you hide the encryption code.

in different pieces throughout the application so that you can't read the class implementations. String encryption, similarly for protecting high value or important strings in the application. And then you get into the more advanced and sophisticated techniques like control flow obfuscation. So here you're actually remapping the flow of the application to make it very difficult to understand the logic and how the code's flowing at runtime. And then virtualization, you can virtualize code, which again makes it very difficult and provides a whole layer of indirection that just makes it very difficult to observe or analyze the application. So those are all examples of some of the features that

we use as techniques to defend against static attacks and techniques. Yeah. And it's maybe just worth touching on for a second. I guess everything you've just described there, these are all layers as opposed to a developer might have come across one of these and has potentially implemented one of these to some extent. But my understanding is it's DexGuard when we're talking about Android and iXGuard when it comes to iOS. It's the layering that kind of adds this defense in depth approach. Is that right? Yeah. Yeah, exactly right. We always call it mutually reinforcing layers. If a class is encrypted, if the things within it are renamed.

if the control flow has been changed, all of those things work together to just raise the bar of the complexity of being able to analyze that code. And that's the key difference between ProGuard and our open source approaches. A lot of companies initially thought, hey, well, let's use ProGuard, has name obfuscation, great, now our code's safe. But a lot of times when you're analyzing an application, you don't necessarily need the real names of a class or a method to understand the behavior and what's going on. I mean, if you're familiar enough with code, you can kind of put two and two together. Sometimes there's decompiling tools that will conveniently, based on the logic contained within a class.

it will assign a name of meaningful value and then find all the other things with that same name and rename them for you. So there's a lot of convenience mechanisms if you rely solely on name obfuscation as the primary technique. So yeah, the layers are super important to work together to really provide strong defense. Yeah, and on that last point, LLMs, I'm sure, are very, very good at that as well. The obfuscation deriving meaning from it, I'm sure. So yeah, layering is very important. This, I guess, could be the approach of, I'll just say DexGuard for now. I know we're going to talk about the fact there's both DexGuard and IxGuard, but it's a compiler-based approach.

which is different to wrapper-based. And I think that's maybe some developers already understand or have encountered wrapper-based approaches. But yeah, could you maybe just speak to why did, I guess, you guys go down the compiler-based approach and how does that kind of differ? Yeah, so we talked about static attacks. The other side of that coin is the dynamic attacks. So things like people rooting devices and using hooking tools like Frida and others to manipulate at runtime what's going on with the application or inspecting things in memory or...

at certain key breakpoints within an application. So the other key defense strategy is runtime application self-protection, or RASP for short, which is just a key detection feature where you inject these checks that are just making sure the environment and everything around the device is safe and not tampered with. So checking the environment integrity, checking that there isn't a debugger attached or these different debugging and hooking tools operating on the code. So yeah, static protections, dynamic protections, those are two key. foundational principles for us. And then the way we apply those protections is through this compiler approach that you mentioned. And the key difference there is, you know, there are a lot of, there's a few open source tools out there, SDKs you can download to implement some of these detections or some of these obfuscation techniques. But oftentimes these are SDKs or what we call wrappers where they take the application binary and they just encapsulate it with a layer of encryption. And at startup, it then decrypts the application and the application runs as normal.

And in that startup or wrapper phase is where all the security logic lives to hide the encryption that's used and whatnot. But the challenge with this wrapper-based approach is that there's just one layer of defense. And if you figure out how that encryption mechanism or decryption mechanism is working, it's very easy to undo that security function. And then what you're left with inside is the complete transparent and original binary that can be tampered with or inspected. So when we got into this market, our experience with ProGuard, it was already doing a lot of code transformation.

decompiling and compiling. So we had this sort of advantage to be able to apply that on the security front. And the benefit is we're decompiling the app, we're obfuscating it throughout, and then we're implementing these code injections that we do for these RASP features, these detections. And we're spraying them throughout the application in diverse ways and in many different locations. And then we recompile the app and sign it, or the user signs it with their original signing keys before publishing. And that leads to a very difficult to reverse and break security model because there isn't just one layer for you to

to attack and break apart. If you find one detection and you were to somehow intercept that, well, there's many more laying around. They're kind of like landmines or tripwires, in effect. And the reality of being able to catch all of them and spend all that time to remove them since they've been woven throughout the code, the complexity is just so much higher. So the time it takes for an attacker to figure all this out and find all these places and then break across all these different obfuscation layers, it's just an insurmountable challenge. And the nation state really wanted to break protection on an application that's secured in this way.

It's definitely possible with enough time and resources, but for the majority of attackers, they just don't have the time and resources to be able to put towards breaking that kind of defense strategy. Yeah, and I kind of, I guess, extra level here is SDK hardening, effectively. So, you know, SDK developer shipping code runs inside other people's apps. How does or doesn't this work with a solution like DexGuard? Because you're having to then also consider, I guess, any security that's then working just on the pure app level as well.

Yeah, so we've been securing both apps and SDKs for many years now. So some of our financial services customers are building payment SDKs that are baked into a lot of other different applications. So all the techniques we've talked about here, code obfuscation and RASP techniques, they can equally be applied to a library or an SDK that you're developing. You know, again, we're just compiling and decompiling. Now, there's certain features that look different in an SDK than in an app, you know, things like tampering and resigning. You know, when you publish an app, it has a signature and that signature can be checked.

and validated to make sure it hasn't been tampered with. An SDK is going to be included in an app, so there'll be different parameters in context. So there's different features for security between SDKs and apps, but fundamentally, the model of applying these different layers of techniques and defenses can be applied to both. And the biggest thing we do occasionally see is that if we've protected an SDK, sometimes that detection mechanism that's baked into that SDK can trigger if the app that consumes it was protected using other tools that are using techniques that conflict with that SDK protection. So that's something that occasionally we'll come across.

there's configuration changes that need to be made to ensure compatibility in those cases. So kind of moving, I guess, on from the implementation of this, if we actually look at sort of security testing, I assume that GuardSquare also does security testing as part of whether it's through the tools themselves or potentially as a service, but you must have seen a lot in this space. So yeah, I mean, what are we talking about when like an unsecured app, what's some of the kind of most, I guess, common or most crazy things you've seen come out before that hardening process has taken place? Yeah, so... We used to focus exclusively on mobile app protection and applying protection to apps. But around four years ago, we invested in building out some product capabilities around mobile app security testing. And the reason for that is our goal is to help developers secure apps. And you can have an app that's well protected, but still have inherent vulnerabilities within it. You know, one doesn't kind of necessarily address the other. So we wanted to provide security testing as a capability. And the main reason, because there's been a lot of security testing tools on the market for years, I mentioned.

companies I was with in the past. So you've got like Veracode and checkmarks and all these companies that do security analysis of code. But a lot of them kind of operate at the language level and weren't really specialized in the kinds of vulnerabilities and risks that exist in mobile apps. So we saw a bit of a gap there, just security checks that really weren't relevant or in existence for mobile app developers. So that was kind of the decision for us to build this tool, this capability. So when we launched it, we tried to get as many apps scanned as we could to really pressure test the findings.

optimize that over time and in that process yeah we found some some interesting things i'd say there's there's three kinds of vulnerabilities that we most commonly see the first one is just hard-coded keys So it turns out that despite all the technology that's available to try and prevent this, people still make mistakes and hard code security keys inside their application code and don't do much to protect or mitigate that. Old habits die hard, clearly. Yeah, yeah, exactly. So we did an analysis of a little over 5,000 banking apps for Android, and we found 164 hard-coded keys that were contained across those applications. And these are keys for things like AWS infrastructure, different security endpoints that they have in their application, tokens that are used as part of their authentication flows.

Things that just with an attacker coming across them, they can take advantage of infrastructure or authentication bugs to exploit an application. So hardcoded keys is still a big one that we see. Insecure communication is another. So here, I think everybody knows that they should be using TLS and securing the communications between their mobile app and their backend APIs. But it turns out that there's a lot of mistakes that can be made in the implementation of TLS and to do it correctly, verifying the certificates. And so there's just a lot of unique vulnerabilities, a whole class of them that can exist in an application.

And if you get something wrong, then the app is subject to man in the middle attacks where somebody on the same network can intercept and interfere with the data that's being shared. And then the third case that I think is really interesting that we've seen, we used to just do static analysis of application code to find these kinds of vulnerabilities. And then we realized, actually, it'd be interesting if we interactively evaluate the application during runtime to find other classes of vulnerabilities or concerns an app developer might have. And one of the interesting use cases we had for this was identifying third-party libraries and which endpoints they're communicating with.

Because app developers, you build up this mobile app, you rely very heavily on third-party libraries and frameworks to do all sorts of things. If you want to implement advertising in your app, you rely on these ad libraries. You want to capture some user behavior analytics, you rely on these libraries, crash reporting other libraries. So there's a huge supply chain of third-party dependencies. And it turns out...

Not all of them are doing the right things. So our interactive analysis feature allows you to identify all the endpoints your app's communicating with so you can review them and determine, you know, are these expected? Are these trusted? Or is there something going on here leaking data from my application that I wasn't expecting or I don't want to exist? So some good privacy checks there that developers can implement. Yeah. From where I sit, I'm not working on mobile app specifically, but I'm definitely seeing from a security perspective, yeah, you know, I guess what's termed is like egress restrictions being really looked at a lot more closely now, you know, so if developers are able to use a tool.

Not always is it kosher that they're able to call exfultrate the data off to an endpoint that they would like. So that's, yeah, definitely seeing, if you want to call it a trend, a trend being that, you know, there's just, we've seen kind of the bad cases now of where data can leave a platform kind of unchecked and where it heads off to. So that makes a lot of sense. And just kind of, I guess, going back to also in a sort of current and past life, having to submit apps through these web apps, for example, but web apps through, you know, security screening checks. And the thing that always frustrated me was, okay, you get a bunch of usually hopefully minor or medium requests on what's going on. But if these services provide remediation steps, they're incredibly...

basic that doesn't really apply to the code that you've written and you have to go and do a whole bunch of figuring out like what do they actually mean when they want us to tighten this bit up or you know whereas if you have this like integrated solution which sounds like you guys do then you're able to look at the findings but at the end of the day the product is right there to then tighten up all these pieces yeah yeah that's right so for us we always offer these discrete tools for protection and for testing and threat monitoring and such but in the last year we brought them all together into this platform and the main reason there was just to make all these tools really accessible so if you're going to recompile your rapid build time to apply these security protections well you might as well submit it for an analysis and get a scan back at the same time to identify any regressions or vulnerabilities that have been introduced. And our focus on findings with our security testing has always been to be very precise and to err on the side of actionable versus noisy. A lot of the code-based static analysis tools, yeah, as you said, they'll uncover thousands of findings, but many of them are meaningless. And when you go and triage them, well, in this context, that's okay. So we try and eliminate that by being very reserved, I guess, in what we flag as a vulnerability and making sure that each of them are accompanied with directing you where in the code.

this vulnerability exists and recommendations on what steps you need to take to resolve it. Yeah, nice. And I believe there is another, I guess, piece to the suite, ThreatCast. So it's like real-time threat monitoring. Like, how does that fit into all this? Yeah, so I mentioned, you know, we've been in this mobile app protection business for some time now. And one of the questions our customers kind of always wrestled with was, OK, my app's protected, but do I really need the protection? Has anything nefarious actually been going on that really matters? And it's kind of like equivalent to, you know, you think you secure a building or a house, you know, you lock the doors.

And you don't know if anybody was trying to pick the lock or if anybody has been prowling around. So threat monitoring for us was kind of like the equivalent of installing doorbell cameras or outdoor cameras to supplement the locks. It gives you visibility into attempts to target or manipulate your application and just a lot more rich analytics on the threat model. So rather than just protect it, ship it, and hope it's secure, you kind of have some verification of how well secured is it and collecting data that can be really helpful to correlate with other data points in case of some form of security event. So for us, ThreatCast was a way to introduce that visibility for once you've released your app to get that feedback loop on what threats occur, who's using the app, where in the world, on which devices, which code functions have they been attempting to hook. And it can help you get a really clear picture of maybe victims of phishing and fraud that are trying to use your app, as well as following the chain back to where the reverse engineering started in that phishing campaign and who created a tampered version of your app to begin with. So it's a lot of threat intelligence information that can be really useful for companies.

I'm just curious, is this from an implementation? I don't know if you've heard of Canary. Canary is this service that drops these little files into your Google Drive or something, and you call them. I think it's Canary, I think it's called. There we go, yeah. Is it kind of the same idea, that a developer trips over something, like, oh, I'm trying to hook this function, and in doing so, they basically trip something? Is that kind of how it operates? Yeah, very similar. So those dynamic detections that I talked about that we spray and inject, yeah, they're all these little tripwires that are constantly checking the state of the environment, the state of the memory, whether debuggers are attached.

and if code's been manipulated at all, and just detecting the different reverse engineering tools that exist. And it's those tripwires that are sending signals along with other sort of basic data that's collected to put into this threat intelligence database. Nice. Yeah. I think I always love that technique. It feels so simple, but it's so effective. And if we just also look at attestation, so I mean, we've covered this in the past, honestly, daily, again, more from attestation of packages that end up in open source, that end up in larger applications. Do you know who actually

has provided this code like is this the actual actual open source package from the actual maintainers you know which is becoming so important these days and again i believe there's like some aspect of that in the guard square approach yeah so last year we implemented an app access station capability and the primary purpose of this is so that you can verify on your back-end apis that the person or you know device calling into that api is a valid and trustworthy device so what we what we heard about is just examples where people have an api endpoint for let's say authentication and they would get these credential stuffing attacks that are targeting their authentication endpoints. And those credential stuffing attacks are just scripts and things that are just calling into their API. So attestation gives us a way to, in the mobile app, request a encrypted token from GuardSquare that's signed using a private public key pair that our customer provides. So we'll take their public key that they've shared with us to sign this token, send it back to the mobile app based on the threat data we've collected that asserts whether that device is trusted and meets certain policies and such.

And then that token from their mobile app can be attached to any API requests that they make. And then they'll use our server-side SDK along with their private key of this key pair to decrypt that token and inspect whether it was a passing or failing result. And so if a bot or script tries to contact that API endpoint, it won't have a token. So it'll just fail and they can reject all that bot activity. If it's an attacker trying to replay a token, there's a validity period and such. And if it's somebody using a device that's been tampered with or an app that's been tampered with, the token that we've provided will be a failing result. So it just kind of closes the loop and allows you to not just secure your mobile app,

but also secure your API endpoints and make sure only your mobile traffic that's vetted. trusted can communicate with those those apis yeah very nice i guess looking at sort of guard square total i mean these days at least just from where i said like looking at a bunch of security companies the research piece is like one of almost the most important in terms of visibility and that trust piece of believing that there are people that really understand what's going on out there and obviously it's great if you're able to come up with research that nobody else has on a certain vulnerability or so on so forth but yeah like how does guard square approach that piece and you know is that like a dedicated team or do you kind of share around or like how does that work Yeah, so we have a security research team, and they kind of serve a few different roles for us. One is anytime we're developing new security features or mechanisms in our products, they're the first people to try and break it and put it through its paces to make sure that it really meets our bar for a security feature. So there's sort of an internal kind of pen testing angle to building the software that we build. And we just hire these experts in our security research team that know how to attack things, break things, and find weaknesses. So that's one purpose of that team. But the other is to sit on Telegram channels and go over the internet.

finding new GitHub repositories that are popping up that have all the latest developments in reverse engineering tools and technology, because these things don't stand still. They're moving fast. And the value of our security protections relies on kind of staying ahead of or in near proximity to the development of all those tools and techniques for attacking mobile apps. Yeah, we had someone on from Wiz, which is, you know, cloud security. And yeah, I was asking them, like, where do you go these days to find any of this stuff? And sort of used to be, you kind of actually be Twitter, for example, like we actually have quite a lot and it's just being pushed further and further away from.

the fringes and you've got to go yeah find your discord channels and your telegrams and all that kind of stuff yeah yeah yeah exactly right and then occasionally when we do this kind of research we'll come across something novel or interesting that we do want to share so you know we'll write blogs and technical articles that describe how these things work and steps you can take to mitigate it one of the things we have is our security research center on our website where sometimes we'll just describe yeah different coach snippets and examples of how you can mitigate some of these risks so even if you're not someone who's looking to leverage our technology or our tools you know we provide some some knowledge and resources out there for folks that are trying to do it themselves Yeah. And looking ahead, we touched on that, I think, towards the beginning, actually, you know, just like how LLMs are probably upending this space a bit. But what are you guys looking at when you sort of think, well, over the next one, two, three years, like, where is this going? I mean, I'm curious because, you know, from a pure app perspective, yeah, most of the apps I use daily are quite functional apps. You know, like finance is a huge one now. Like I have a whole folder of finance, you know, for eight different finance apps of some description, like linked institutions, you know, not just like charting something. It's like, for whatever reason, I seem to have lots of, maybe because I live in different countries, you end up collecting bank accounts or something to that effect.

I feel like what I do on my smartphone, my iPads these days, it's very functional and it's very important. Less of, I guess for me, a bit less of the gaming and this kind of thing. But where are you guys kind of looking when you look across the next few years? Well, I think the whole reason I came to GuardSquare and joined the company was that I saw a pretty long runway of growth ahead for the company for two reasons. One, mobile apps are just becoming so pervasive and important. And I think that trends, you know, every year there's just more important things I do on my phone than I did the previous year. So that's one sort of dynamic. And then the second is security aspect. I think our biggest observation around mobile app security is that it...

hasn't really reached its pivotal moment, its CNN moment. There hasn't been a lot of coverage on mobile app security, high profile issues. You'll see things in the public like, oh, there's a data breach or there's a security event. But rarely does it get down to the detail of, oh, well, the mobile app was a real risk or concern in this. So I think we're still in the early days of that sort of forming. And right now it's the attackers and these communities that are building up the knowledge and such. So for us, the future is just about creating awareness and just trying to stay ahead of.

how these attack techniques develop so that we try and reduce as much risk as possible in lockstep with the sophistication of mobile apps. And yeah, LLMs definitely are a vector that we've got to be aware of because I think it democratizes a lot of the attacker knowledge. I don't think the LLMs are going to invent any new novel way to perform reverse engineering or an attack, but it makes it more accessible to more people. So you end up with more attackers than you did before and more people trying to... maliciously target apps for all sorts of reasons i want to do account takeovers so i can steal the loyalty or reward points from name any app that has loyalty reward points these days you know so a lot of different motivations and that's kind of how we see the next few years is just trying to keep pace with that we call it the cat and mouse game constantly trying to unearth these things i guess one industry if you like we haven't maybe touched on but could be interesting is like mobility and you know at the end of the day vehicles have apps loaded into them by the dozen now and so yeah i imagine that's an area that maybe is on the radar or you're already supplying to mobility or yeah

Yeah, yeah. I mean, when we say we support Android, Android kind of can be used in a lot of different operating modes, not just a phone per se. So yeah, we definitely have some examples in the automotive and logistics space that are like that. Yeah. So I guess a developer today listening is something that now understands why they need to secure their apps better late than never, as they say. But where to go to kind of get up and running, I guess? Yeah, where's the best place? Yeah, so there's a few different things that I could suggest. I mentioned earlier the OWASP working group around mobile app security. That's a good place to start because they have a whole verification standard. It talks about...

the different levels of security, depending on the sophistication of your app and the use case. And then they've got categories of concern, things like privacy, communications, storage, et cetera. So it's a good way to get a broad understanding of the security disciplines and considerations for mobile apps. We put out a new blog post every single week on our website, Cutscrow website, some of them very technical, talking about different attack techniques and things we've uncovered in our security research. And sometimes just high-level information around compliance and things that appeal more to the security teams.

And then we have our security research center. So if there's a specific threat that you're concerned about, it's a good place to check to see if we've got any documentation on it and specifically around the topics of malware, for example, or creating a device binding between your mobile app and your server backend. Some good articles on topics like that. So yeah, those are the resources I'd start with and get smart about it. And then if you're serious about looking for security protection, feel free to reach out to us.

Yeah, well, thanks so much for coming on. I mean, I think even though I work or especially used to work very much in security and I set across a bunch of things now, but I've definitely learned something today. I fully appreciated all the kind of ins and outs of how our apps I'm using, how they can all be infiltrated, so to speak. So yeah, really interesting. And I'm sure all of the audience have learned something new today as well. So thanks for coming on and I'm sure we'll catch up again in the future. All right, pleasure. Thanks for having me.

Frequently asked questions

How long is this episode of Software Engineering Daily?

This episode is 54 minutes long.

When was this Software Engineering Daily episode published?

This episode was published on April 9, 2026.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Software Engineering Daily episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.