S6 Bonus: Defeating GenAI Fraud and Location Spoofing with André Ferraz of Bessemer-Backed Incognia [0:00:00] André Ferraz: Until the point in which that bot would tell you that something was wrong with your account and would ask if you recognize a certain transaction. And you would say, no, this wasn't me. And that bot would put you in a state of mind of worry. Okay, someone's trying to hack my bank account. I need to do something. And at some point, they would ask for your password. And they would ask also for the OTP code. It was a really smart attack. It was happening at scale because it was a bot. to work there. During the test, we were able to reduce fraudulent activity by more than 90%. My name is André Ferraz. I'm CEO and co-founder at Incognia. [0:00:47] Noah Labhart: This is Code Story, the podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry streak and build and lead a team that has your back. I'm your host Noah Labhart and today how André Ferraz built the solution to give you a unique fingerprint based on your device's location data. All this and more on Code Story. André Ferraz was influenced heavily by his parents as they were both computer scientists. When he was 10 years old, his first science project was themed around computer hacking, which got a lot of surprise at the science fair. Outside of tech, he enjoys to surf on a shortboard several times a week and loves to spend time with his family. Twelve years ago, Andre had the amazing idea to create a unique identity for end users based on their location data. The market wasn't ready. They weren't in need of this solution at the time. But after academically exploring it, he and his team recognized that GPS alone would not be enough. [0:01:59] André Ferraz: This [0:02:00] Noah Labhart: is the creation story of Incognia. [0:02:05] André Ferraz: So what Incognia does is we basically tap into the sensors of the mobile device to get to more granular location data. data. So instead of relying only on the GPS and things like that, we tap into things like Wi-Fi, Bluetooth, etc. And with that, we're able to create what we call a location fingerprint for each environment that your smartphone visits, right? So with that, we're able to locate the mobile device more accurately. Over time for each user, we build what we call a behavioral identity, right? So we were basically trying to understand your behavioral patterns, the places in which you spend most of And then we use that in order to secure your mobile accounts, right? So for example, we see that about 85% of new mobile banking accounts are open when the user is at home, right? If we're able to recognize that behavioral pattern, we can then enable more users to create banking accounts because we're basically reducing risk for the bank by increasing the rate of identities that are correctly verified, right? Another example of that is that about 90% of the logins and 95% of the high risk financial transactions that occur on mobile applications occur from what we call trusted locations. Those are basically places that you visit most frequently, like your office, your home, etc. And by doing that, we're able to deliver two things. One, more security for mobile consumers, but at the same time, a frictionless experience. relying, for example, on a password or biometrics or things that really create some friction on the user experience, we're able to eliminate that by simply identifying that you are in a safe environment and then letting you in more easily. So essentially what we're doing here is a location based authentication, leveraging mobile sensors to improve security and improve the user experience for mobile applications. The story though is it goes back a few years when I started my career in about 12 years ago. I started as a security researcher and I was working on an IoT project and the idea was basically to try to figure out new forms of authentication for the IoT because when we talk about the internet of things there are many challenges when it comes to to authentication. First one is related to security. Those devices are very poor computationally. So you're not able to like apply the best cryptography to those devices, right? They're just not powerful enough for many of those things. The second issue is user experience, right? Which is in a few years, we're going to enter a place, let's say a physical store or our home or our office, and we are going to connect to multiple IoT devices at the same time, right? Probably dozens or even hundreds of devices because everything is going to be connected. So if we have to, for example, rely on the current authentication factors that we use in our daily lives, like passwords or biometrics, for example, it won't be a very practical thing right to go there and type your password to access hundreds of devices at a time so we also had to find a way to automatically and seamlessly connect that user to the surrounding devices in that environment so there was an issue here of like balancing security and user experience and this is when i came up with this idea of leveraging gene location, because with that, you would be able to connect the user to the surrounding devices seamlessly, but at the same time, got to the conclusion that each person has a unique location behavior. So we could use that as a form of identity that differently than our fingerprint or our face, it's an identity that is constantly changing. So it's harder for an attacker to impersonate you with those signals. So that was the original idea 12 years ago, but the timing wasn't right. It wasn't a real problem in the market to build a startup on top of this idea. So for a long time, we treated it as an academic project. We recognized that to build this, the GPS signal would not be enough. And the main reason was the GPS was not accurate enough. So we had to find a way to locate the user's personal device, in this case, the smartphone, very accurately. So this is how we got into all this. [0:06:56] Noah Labhart: Let's dive into the MVP then. So tell me about that first product you built. How long did it take you to build and what sort of tools did you use to bring it to life? [0:07:06] André Ferraz: When we recognized that the GPS was not enough, the next step we decided to take was, was, okay, how can we locate users using other signals? It was around 2011. So the App Store was still a new thing. The APIs for developing for iPhones and Android devices were still very new. One of the things we thought would be a good idea was to leverage Wi-Fi signals. Because every place has at least one Wi-Fi router. So we started trying to understand that signal. We ended up trying different methods. Original method we tried was triangulation. So we basically, by knowing the location of the Wi-Fi access point, and also by understanding the signal trends that your smartphone is seeing from each of these hotspots, we would be able to kind of like calculate where you are based on those things. The issue though was in a real world scenario, like if we wanted to do this at a global scale, we wouldn't really know where those access points are located. So that created a few challenges. So we decided to change the strategy and start doing what we call location fingerprinting, which is pretty much the opposite way. So assuming we know the user's current location and we're able to see the surrounding Wi-Fi routers, We basically created a fingerprint for that place that contains the combination of the geolocation information, so the GPS coordinates, the lat-longs, to the Wi-Fi routers. And then we started deploying a lot of algorithms to adjust that and to make it better, to clusterize those signals, to find different locations that look very similar because of the similarity of the Wi-Fi signals, etc. etc. And we ended up building a solution that in 2014, for example, we presented it in Berlin in a conference that was sponsored by ACM and also Microsoft Research. And we tested it against many other indoor location technologies. And we ended up with a pretty good result, reaching 2.8 meter accuracy, which is about 30 times more accurate than the GPS. [0:09:30] Noah Labhart: So, OK, so from that point of an MVP or from that point of the first product, how did you progress it and mature it? I think to give a little more context to that question, I'm interested in how you built your roadmap and how you decided, OK, this is the next most important thing to build. [0:09:46] André Ferraz: From 2010 to 2014, we were laser focused on building the best location technology that we could. So we ended up building this. We ended up overcoming the accuracy of the GPS by 30 times. But the problem we were trying to solve, which was around authentication for IoT devices, etc., was still not relevant from a market standpoint. point right so in 2014 you wouldn't see anyone complaining that their iot device or iot network got hacked etc right so it wasn't a real problem so we thought okay it's maybe too early for this idea even though we have this cool location technology we cannot apply it to solve this problem the problem doesn't really exist at scale like people are not willing to pay for for that solution. We tried several things. The first try was to build an app for shopping malls because we thought that this would be a way to monetize the location technology because people got lost and then the shopping mall would pay for us to build an app for them that will help their customers locate themselves and find the stores, etc. The feedback really that we got from the the shopping mall was okay. Like, it's good for me that my customers get lost because then they're going to shop more. I want them to stay as much as possible inside of my shopping mall. So we didn't make any money by building apps for shopping malls. We spent quite some time trying to sell it. So the next idea that we tested was, let's try other places. Let's try airports or museums. But instead of trying to sell to them directly, why don't we build a platform so other developers can come in, leverage this location technology to build their own apps for these venues? And we tried that to make any money, didn't gain any traction. And then the third thing that we decided to build was right after having a conversation with an e-commerce company. And when we told them about this technology, they said, well, I only sell online, but my competitors, they also sell in physical stores. Why don't you build a product that uses your technology to recognize that people are at those stores so I can advertise my products to them with better offers? And it was like, OK, that seems to be interesting. And it was finally the product that we built in 2015 that started gaining traction. So it was a different way to monetize this location technology. But to be honest with you, it wasn't really like the original thing that we wanted to do. Targeted marketing, advertising, etc. wasn't really the application that we were dreaming to build. But the application that could enable us to survive for enough time for the timing for our security slash authentication idea would be viable. So we jumped in, we built the product, and then it scaled very quickly. Like in three years, the company was making tens of millions of dollars, profitable, growing fast. The team has grown a lot. But until 2020, and this was a big, big problem for us because the products ended up going in a different direction instead of enabling e-commerce companies to drive traffic to their websites using this location technology. Our main customers were actually physical stores that were leveraging this technology to drive foot traffic to their stores by advertising to people that were nearby. buy. So the issue was 2020 pandemic, physical stores are closed. We lost 95% of our revenues in a single month. And it was like, oh my God, what do we do now? And what we did was we had to act very quickly. Let's sell this business. Let's try to sell it for as much as we can to generate some cash here so we can then invest in the next product. Because we don't know how long this pandemic is going to last. We need to sell it, we need to figure out something, and then we sold it to our biggest customer at the time. And we used then the proceeds of that sale to start Incognia, finally. So 10 years later, we go back and we say, okay, now it's the time to use our location technology for security and authentication purposes. In late 2020, after selling the business our largest customer, we launched Incognia with this vision of creating what we call now a location identity, right? So this is how we got to Incognia. I'm glad that Incognia now is finally growing very quickly, even faster than the other business, but it was a very, very challenging moment for us. [0:14:50] Noah Labhart: In those moments, it's important to be surrounded by a team that is in the trenches with you. So tell me about how you built your team and what did you look for in those that they were the winning horses to join you. [0:15:03] André Ferraz: When we got started like 12 years ago, my colleagues that were working on this research project, they were the first one to join. So we started working together. We actually had worked together in different projects because we were from the same class in college. And then when we transitioned from a research project to an actual company, my personal goal was to build the best possible team we could. So I spent a lot of time in recruiting. Our first hire was a very key hire because we brought a guy that very early in his career, he grew very quickly. Right after college, he went straight to Google. He was promoted several times in a row. And then he got tired. He was like, okay, I'm not feeling challenged, even though I'm at this company that everybody Everybody looks after and seems amazing, but I'm not being challenged from a technical standpoint. That was his motivation. When I came after him and I started talking about our crazy startup idea, in which we didn't even know which product we were building because we were so focused on the tech, he recognized that, okay, this is a really hard problem to solve. I'm interested. And then he joined. And one thing I really believe is I think about it as kind of a gravitational field of talent. So when you start with a really dense talent pool, like a small team that is really good technically, you start attracting other people that are also very good. So very early, we started building this very strong team from a technical standpoint. And we were able to build great tech. But the problem, though, was we were a bunch of techies that understood a lot about coding, but not really much about business. So doing that transition for me personally was the most challenging thing because I was leading the team. I was acting as the CEO. But the reality is I was just a computer scientist that had no experience doing any business at all. strong technical team, but I had to push them to start thinking more about business and product and how to deliver value for users, because that would be the real thing that would make this team and company successful. [0:17:36] Noah Labhart: Let's flip to scalability. Did you build this to scale efficiently from day one, or have you been fighting this as you've grown and run into issues and changed models, and things like that. Tell me about that. [0:17:50] André Ferraz: In our first few iterations, when we were still just trying to validate the model, no, it wasn't scalable, wasn't scalable at all. The original version was basically on the mobile side, a mobile SDK. We had a monolith written in Ruby on Rails that did everything. By doing that, we were able to test these different products more quickly quickly because it was so easy to develop. But once we found the first application using Location for marketing purposes, then we started breaking that monolith into a microservice architecture. We started using other languages to process the heavier stuff, and then it started becoming more scalable. Today, it is very scalable. To give you a sense of scale, scale, we're currently deployed in more than 200 million mobile devices. Those mobile devices are pinging us every single time because they're sending us data about the user's behavior. And our cloud bill monthly is below 40K. So lots of scale, like billions of requests a day, and we're not really spending too much money from our customers and investors on cloud computing services. [0:19:16] Noah Labhart: Well, Andre, as you step out on the balcony and you look across all that you've built, what are you most proud of? [0:19:23] André Ferraz: I would say that it took me a long time to really see the potential of the first idea around leveraging location as an authentication factor. As I told you, the timing wasn't right in the beginning. We were not able to sell it to anyone in the first few days. It took us 10 years to actually launch a commercial product around that idea and to really start seeing traction. So after we deployed with our first customer and they were facing a lot of issues related to fraud, it was a digital bank, a neobank. And basically what was happening to them was some fraudsters have created social media bots that were pretty smart. If you followed the neobank's page on social media, the bot would follow you back. And the bot had a very similar name to that neobank. It was pretty much the same name and an underscore after it. So you would think it was a neobank that was following you. Okay, fine. started interacting with you asking like if you were happy with the service if you could reveal the app on the app store so fine nothing nothing weird right until the point in which that bot would tell you that something was wrong with your account and would ask if you recognize a certain transaction and you would say no this this wasn't me and that bot would put you in a state of mind of worry, right? You were saying, okay, someone is trying to hack my bank account. I need to do something. But then the bot very quickly said, okay, we can solve your problem. And they started sharing some like step-by-step process that the user should follow. And at some point, they would ask for your password and they would ask also for the OTP code that was sent to your email or to your phone number via SMS. It was a really smart attack. It was happening at scale. because it was a bot, right? And then they also didn't want to increase friction on the user experience. They didn't want to add new authentication factors. So we put our solution to work there. During the test, we were able to see that we were able to reduce fraudulent activity by more than 90%. And what was particularly interesting for me was that for the users that have shared location data, fraud rate was zero and it was a pretty large neobank we were seeing about 30 million logins a month and we were able to reduce fraud to zero percent uh for the users that were enabling location services so for me it was like okay this idea really works like leveraging location as an authentication factor is really a thing and for me that that was the the key moment because like like working for 10 years to finally realize that the idea was good, was really, really good. [0:22:31] Noah Labhart: Let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it. [0:22:37] André Ferraz: As we were a team of engineers, right? Pretty much everybody in the company comes from an engineering background. We always had a tendency of building the perfect solution. And that made us slow, right? trying to come up with the first version of our product already as as close to perfect as you can it's not really the the best idea so that was very risky we actually almost died as a company because of that because it took us a bit longer to launch the first versions of our product right so i think the the main thing we we've learned from that experience was we should be more open to to experiments. Obviously, now that we are in the security space, that's a little bit different, right? You can't run experiments with end customers, but we can do a lot of stuff internally to just test ideas and figure out if they work before building a more comprehensive solution and launching it to market. So we've learned it actually pretty early in our lives when we were still in the marketing business. So we were able to apply those learnings to this new business. The other thing was actually for me more important, which was about really enabling the people who are building the product to have direct contact with the customer, to hear from them directly. So before starting Incognia, before building this product, when we were also in the marketing business, we had a structure in which basically the sales people were bringing their insights from the customers to the product and engineering teams. A lot of things got lost in translation, right? And we ended up building features and products that were not really customers because the information wasn't flowing very well. So when we started building Incognia, we changed that completely. So today, almost every sales call, you're going to see someone from the engineering team participating, asking questions, hearing directly from the customer, hearing their objections and incorporating the best ideas into the product. That's actually one of the greatest features of being in this remote environment, Because now we can have our technical teams joining sales activities and speaking directly to the customers more easily. [0:25:19] Noah Labhart: Well, what does the future look like for Incognia, the product, and for your team? [0:25:24] André Ferraz: We're very excited about this new phase. We recently raised Series A. So now we are starting to expand the scope of our product. So we started as a very specific solution for authentication on native mobile applications, only leveraging location signals. After building this location identity, we started adding some more layers. Like, for example, we built our own device fingerprinting solution. We started adding some extra security layers to the SDK. The product has expanded a bit. now is a combination of device and location intelligence. But the next step now is to expand beyond the mobile channel. So we're receiving a lot of demand from our customers because they're facing issues also on the web browser environment. So the next step for us is to build a new version of our product that will cover not only native mobile apps, but also web applications. So that's a big step for us because that's going to expand the scope of the product. And another thing is to develop more fallback mechanisms for when we don't have access to location. The user could simply say, no, I don't want to share location with this app. So this is an opt-in process. We only capture data if the user let us do. Some users, they decide not to share location data. Actually, we thought this would be an existential threat, but we no longer think this way because we're seeing that usually more than 90% of the users are willing to share location data if they understand that this is going to be used to protect their accounts and to prevent fraud. So that's rewarding because when we were in the marketing space, usually we saw like less than 30% of the users sharing data for that purpose. purpose. Those are the two things, expanding from mobile to mobile and web, and also expanding from location only to having more fallback mechanisms for when we don't have access to that data point. So [0:27:33] Noah Labhart: let's switch to you, Andre. Who influences the way that you work? Name someone you look up to and why. [0:27:38] André Ferraz: I'd say that the main person is actually my mom. And the reason why is because she is, for me, the most resilient person I ever met. She is Brazilian, like I am. She was born in a very poor family. To give you a sense of perspective here, she had 16 siblings, and eight of those have died very young. basically like very poor didn't have the conditions to raise many kids so she came from a very very humble background in the countryside of Brazil of the northeast of Brazil which is a very poor region in the country and she studied so much while she had a job still as a kid studied a lot she entered two very good universities in Brazil. Started both at the same time, had a job on the side. She had a full-time job, two college degrees. With the money she was making from that job, she was able to bring all of her siblings to the capital so they could have a chance of studying in better schools. And yeah, after that, had an amazing career, was able to bring their family out of poverty. lot of people. She was able to contribute a lot for the family to change their reality. So for me, that was the best example of a phrase that my father uses a lot, which is nothing resists work. If you work hard enough, you're getting there. Nothing is going to stop you. And my mom, for me, is the best example of that. So if my mom could do that, I believe that If I work hard enough, I can also achieve anything I want. [0:29:33] Noah Labhart: Well, last question, Andre. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world. Can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit? [0:29:48] André Ferraz: I would say two things. Be patient and work hard. nothing nothing is a is an overnight success all of these stories that we see about amazing companies that were built like some of those grew very quickly in the early stages that's that's real but it was a lot behind the scenes to get to that point to to get to the the first phase of of building that so for example if we if we look at facebook right it looks like an overnight night success story like zuckerberg had that idea and built that product and everybody started joining but actually prior to executing that idea he actually tested a lot of things before and and most of those ideas failed right but he was there trying building learning until he got to the point of launching a new thing that took took off very quickly if we look at all of these stories of great companies. I saw a graph recently that about 96% of the value of the most valuable companies in the world are created after year 10. So the reality is, if you want to be very successful, you got to be very patient. Because if anxiety takes over, and you start feeling that things are not moving as quickly as you wanted, you're probably going to give up. And the reality is that the companies that fail, the startups that fail, they don't fail because the person lacks cash or because of competitors. In most cases, they fail because the founder gives up. You have to be very patient, but at the same time, you have to work a lot because you won't be rewarded if you're not putting the effort. [0:31:35] Noah Labhart: That's fantastic advice. Well, Andre, thank you for being on the show today. And thank you for for telling the creation story of Incognia. It was [0:31:43] André Ferraz: a pleasure. And [0:31:45] Noah Labhart: this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. Support the show on patreon.com slash Code Story for just five to 10 bucks a month. And when you get a chance, leave us a review. you. Both things help us out tremendously. And thanks again for listening.