start	end	text
0	1860	So can you hear me everyone?
2180	3500	Perfect.
3500	6220	So hello everyone, thank you for coming to my talk.
6220	9520	So I'm going to briefly present myself.
10540	18020	So my name is Gabrielle Bodbol and I am an offensive security advisor for a Canadian banking cooperative.
18420	27540	And alongside my full-time work, I freelance and offer various cyber security related services such as training and consulting.
27540	34040	And in addition to my professional activities, I'm very involved in the cyber security community.
34040	45300	And so in recent years, I have also been recognized with awards such as the top 20 women in cyber security in Canada and woman hacker of the year in 2022.
45540	55300	So today I wanted to share with you my journey in AI and specifically AI in the Android system.
55300	74240	So what I want to share with you today is how as a pen tester I trained myself, but also how I explored and tested how AI was going to change my profession and how it was going to impact Android and of course Android security.
77170	81130	So first let's have a quick reminder on what is Android.
81130	87490	So Android is a mobile operating system which is based on a modified version of the Linux kernel.
87670	89410	And it's developed by Google.
89410	93310	And the most used language for Android app is Java.
93410	97350	But since 2019, the official language is Kotlin.
97490	104390	And so the Android architecture is divided into five main layers that you can see on the screen.
104950	111090	So now that this is all cleared up, we're going to chat about the pen test of the Android app.
111790	114350	So what is Android app pen test?
114350	123770	So along with mobile pen test, it is a type of pen test that it is part of the list we usually provide as pen testers.
123770	131490	So it's different from other pen tests because most of the time we get an executable that we need to analyze.
134330	136530	So why is this important?
136530	139890	So here you can see two articles that I invite you to read.
139890	142930	The links are going to be in the resources that I will provide at the end.
142930	146190	You will have like a QR code to scan or you can just take a picture.
146190	149890	You will have a link as well if you don't trust QR code.
150590	170570	But to summarize the first article, it's about gold pickaxe, which is a sophisticated malware for Android and iOS that uses social engineering tactics to deceive users and trick them into scanning their face and identity document.
170570	181110	So this malware is suspected of using this information to generate deepfakes or to illegally access banking services.
181110	197790	The other article is also very interesting and in summary it highlights the discovery of a new Android malware family called Autolikos which has been downloaded more than three million times from the Google Play Store.
197790	210430	And so this malware was embedded in at least eight applications and some of which stayed available on the Google Play Store for several months even after being reported to Google.
211150	221850	So to my knowledge there hasn't been major breach caused by AI directly malfunctioning or being compromised in Android application.
221850	238610	However what we're seeing are significant privacy issues when installing Gen AI apps and more concerning cyber criminals are increasingly using AI to enhance their attacks.
239290	245350	And so additionally AI apps themselves are going to pose security risk.
245350	255050	So for example it could lead to some vulnerabilities were found to popular AI apps like Pairplicity.
255110	258830	We are going to talk about this a little on later.
258910	264570	And this could lead to data theft and account takeover.
264570	277570	So really what's interesting today is how AI is being weaponized by bad actors and also how AI applications are creating new attack surfaces.
279550	281930	So here are some figures.
281930	289090	They come from Zimberium's Global Mobile Threat Report that was published in early 2025.
289170	293190	And so I really think that all of these are quite alarming.
293690	307470	But to mention only two, I would say that first according to the report 61.2% of Android devices were running out-of-date operating systems during 2024.
307470	327770	So now what's even more critical is that over half of these devices, about like 35%, where it could have been avoided because they could have the update but they were just not updated.
327950	334770	So the other 25% of the devices were too old to be updated.
334810	336610	So they could not be updated.
336610	341810	And you know this is really problematic because phones are expensive today.
342150	347950	And when people can't update their older device, well it creates a gap.
348150	352630	And security is not something you should sacrifice.
353090	360650	And so I think it's really problematic because we have to use phone, we have to use smartphone every day, we do everything with smartphone.
361030	368230	And I will go, I have a next slide actually about what so much we do about our cell phones.
368230	380770	And also another really important and typical of the AI era we are in today is that the AI usage grew by 160% in apps on enterprise devices.
381190	387730	So what is interesting is that 12% of these apps are related to finance.
387970	391390	So I think it's really important to stress that out.
392050	400670	To go further with AI security risk, I wanted to also present these figures taken from the report Top AI Security Incidents by Adversa.
400670	404590	I also have the link for you in the end.
404650	409310	And so as you can see here, prompt injection is the new skill to learn.
409630	415690	And so I'm going to explain briefly a few terms here because they are essential in AI security.
415690	427070	So prompt injection is basically when someone with malicious intent tricks an AI system by sneaking harmful comments into their input.
427930	441850	And so you can think of it like the developers are going to give the AI a set of rules to follow but bad actor can try to give new instructions to override those original rules.
441850	445110	So this could lead to jailbreaking for example.
445110	457320	And it happens because the AI can't always tell the difference between the legitimate instruction it's supposed to follow and the sneaky ones that are hidden and that the user input.
458460	464280	Hallucination is when an LLM makes up information because they just don't know the answer of what you're asking.
465080	471260	And so yeah, that's pretty much it for this one.
471260	477520	So finally, as I quickly mentioned before, we cannot deny the place that smartphones have today.
477580	480940	They are much more than simple communication device.
481020	495880	They play really a central role in many essential daily activities, whether it's for managing our finances, whether it's for browsing the internet, whether it's for interacting on social media, it's real gateways to the world.
495880	509060	And so an unsecured smartphone, it's not just a risk to your personal information, but it can also be a gateway to broader attacks on your financials and social life.
509060	524160	So they contain sensitive data and they could have, so now let's see how AI is actually built into Android and mobile devices.
524160	527840	So there are essentially four main ways this work.
527840	532080	So first we have what's called embedded or on-device AI.
532080	542680	So that is where AI models run directly on your Android devices, hardware, like without needing to send any data to the cloud.
542680	544200	So this is on-device.
544920	547060	Second, there's cloud-based AI.
547060	549860	So it's also known as enhanced AI.
549860	557320	And this is where your device sends data to the cloud servers for AI processing, and then you get the result back.
557460	569420	And third, you have many Android AI features that will use hybrid approaches, and it will combine both on-device and cloud-based AI to get the best of both worlds.
569420	582260	And finally, what's important to note is also that Google provides various AI tools and framework to help developers integrate AI into their Android app.
584220	591680	So before diving into this slide, I want to briefly mention the difference between AI and Gen AI.
591680	602200	So traditional AI will analyze existing data to make prediction and classifications and answer questions like, what is this?
602200	604600	Or what will happen next?
604600	610700	And so generative AI will create entirely new content from learned patterns.
610700	618280	So it's going to produce original text, images, and code, and also other material based on user prompts.
618280	620120	So what you will ask it.
620120	629300	So on this slide, I wanted to show where we can find AI on a mobile device, because this is not something you can see right away.
629420	646720	So the meta-category, user interface and interaction, will encompass all AI features that directly facilitate how users will communicate with and control their Android device through various input methods and interfaces.
646720	661160	The meta-category, core system intelligence, it covers the foundational AI systems that will manage the resources, the security, and overall system optimizations behind the scenes.
661480	673620	And the meta-category, content creation and media, will focus on AI features that enhance creative expressions, media consumption, and generation on Android devices.
673620	683720	And finally, the connected experience meta-category covers AI integration that extends beyond the device itself to connect with external services.
683720	689320	So this can be IoT devices, this can be health monitoring systems, and so on.
691170	698750	So before the attack surface, I wanted to mention briefly the difference between the ML security risk and the LLM security risk.
698750	708410	So as you probably know, OWASP has published multiple top 10s, and they published a top 10 for ML and a top 10 for LLM.
708410	719230	And so when I started to get into AI red teaming, which is another of my current passions as a red teamer, I was wondering about the difference between these two top 10s.
719230	730550	And at some point, I saw that the OWASP top 10 for LLM was more focused on post-deployment, and that the ML one was more focused on pre-deployment.
730550	746090	But however now, I realized that if an attacker is able to fingerprint a model or get a model file, they could actually use the attacks like the one in the OWASP top 10 ML, which is after deployment as well.
746390	751470	And also recently, I found this table on Riya Mashiwari's repository.
751810	755950	And so you will also have it on the slide, on the resources.
755950	760890	And so it highlights the differences between the same, both top 10s.
760890	768950	And here we can see, for example, that the attack she mentioned could be both done post-deployment and pre-deployment
772330	772850	.
772850	779670	So now that we have seen this, what does the Android attack surface look like today?
779670	790170	Well, it is the sum of its traditional vulnerabilities and a whole new set of threats that are introduced by the integration of artificial intelligence.
790470	812770	So the traditional vulnerabilities would be any app on your phone, the core Android software itself, how your phone talks to the outside world with Wi-Fi, with Bluetooth, with cellular data, the specific permissions the apps are granted, or just simple human error like phishing or scam or installing malware,
812770	813500	for example.
814350	825810	And so today we can say that the AI layer will add new dimensions to these existing areas and expand the attack surface on various levels.
826310	831070	So the AI-enhanced application will introduce new ways to be tricked or exploited.
831070	836390	So, for example, as we mentioned before, prompt injection or adversarial examples.
836390	845710	And so for the AI data flow over the networks, because AI models communicate with cloud services, and so they will receive updates.
845710	850010	So the network is even a more critical point than it used to be.
850250	855970	And so here we can have data leakage and we can also find model tampering.
856050	867310	And also the AI models and their inference engine, so this is the software and hardware that runs the AI, they reside within the phone system.
867310	882610	So now a traditional OS vulnerability could be exploited to directly steal the AI model's intellectual property, tamper with its operation, or extract sensitive data it processes.
883750	896030	Then the AI-driven data inference means that AI can figure out private details about you from data that seems harmless.
896070	898530	So I really want to stress this.
898530	908390	So if you have an AI photosorter and it has only permission to see your images, what could go wrong?
908390	926130	Except it can deduce your location and it can deduce who you are based on social circles, for example, or on facial recognitions, and even without explicit location or contact permissions.
926130	931950	So we have the permissions that control this, but we don't know what the AI is going to do.
932630	945590	And so the AI model itself, in other words, the AI brain, we can say, it becomes a direct target because it can be targeted with a model theft or backdoors.
945650	952390	And so the AI training data is a new vulnerability point and it could be targeted with data poisoning.
953310	961130	And finally, the AI development and deployment pipeline can also have vulnerabilities.
961130	967630	So they can exist in the tools, in the processes, or in environments where the AI models are built.
967630	970810	So where they are tested and where they are deployed.
970810	976270	And so this could be compromised even before the AI reaches your phone.
979230	998730	So to summarize, we could say that the Android attack surface is like a complex interplay of hardware, of operating systems, of applications, network, and the entire life cycle of embedded and cloud-connected AI systems.
998730	1005650	And so each of these elements are opportunities for attackers to exploit it.
1005650	1026690	And also something worth noting that we will see implicitly through the presentation is that, in essence, AI security demands a shift from a purely technical lens to a more holistic socio-technical perspective because it requires new tools, new skills,
1026690	1033430	and also to have a continuous adaptive approach to risk management and reporting.
1035980	1037580	So what about APIs?
1037580	1045640	So as you know, a lot of developers are going to use APIs to develop their Android applications for various reasons.
1045640	1047640	So you can see them on the screen.
1047640	1056600	And finally, today, APIs are also used for tests related to artificial intelligence.
1057200	1065260	So machine learning, computer vision, speech recognition, and natural language understanding.
1068070	1076790	So to go a little further about APIs related to AI, I wanted to give an overview of how AI changed Android APIs.
1076790	1083410	So you know, AI has really transformed how APIs work in Android apps.
1083410	1086490	So I'm going to walk through the main changes.
1086490	1094250	So first, Google realized that developers needed easier ways to add AI features to their apps.
1094250	1097950	So they created brand new APIs for this.
1098030	1099890	But there's another interesting element.
1099890	1105910	It's that Android itself had to change at the system level.
1105910	1119050	So they introduced something called the neural network API, which is basically a way for apps to talk directly to the specialized AI ships that are now built into many phones.
1119050	1129810	So now, one of the biggest shifts has been that this move from cloud to what we call edge processing, as I presented before.
1129810	1140030	So in the past, if you wanted to use AI features, your app would send data to Google servers, process it there, and then send the result back.
1140030	1143410	But now, a lot of this happens on your phone.
1143410	1145630	So this is supposed to be better for privacy.
1145730	1149310	Not that I'm saying it is supposed to be better for privacy.
1149830	1156330	Because your photos and voice recordings are not supposed to leave your phone.
1156670	1162610	So essentially, AI didn't just add new features to Android.
1162610	1169450	It fundamentally changed how the whole API ecosystem works.
1169690	1172090	So what does this mean for us as pen testers?
1172890	1176870	Well, there are a few elements that we can take into account.
1177190	1179690	So you can see some of these elements on the screen.
1179690	1181870	And this is only for the application layer.
1181870	1187290	But these changes also add potential vulnerabilities on the OS framework.
1188350	1191830	And also the hardware layer.
1192170	1196410	So for example, is privacy actually respected?
1196690	1199930	Does the data actually stay on the local device?
1200190	1202670	And does it go to the cloud later on?
1202870	1206190	What happens if we try adversarial inputs?
1206330	1208750	Can we fool face recognition?
1208750	1210570	Can we fool text recognition?
1210570	1213230	And image classification models.
1216080	1226020	So now that we have seen how AI impacts API, let's see the difference between traditional APIs and model APIs that handle the AI functionality.
1226020	1229780	So first, let's talk about what they're actually designed to do.
1229780	1233000	So traditional APIs, they're pretty straightforward.
1233120	1242280	So they handle basic operations like pulling data from a database, processing a payment , or managing user accounts.
1242320	1254660	Model APIs, on the other hand, they are specifically built to tap into AI models and give you intelligent productions or output.
1254820	1258540	So now the type of data they work with, it's also really different.
1258540	1264560	Because traditional API will use traditional data like JSON or XML formats.
1264560	1267860	And it's predictable and it's organized.
1267860	1270760	But models APIs, they are more flexible.
1270760	1276060	So you can input image, you can input audio files, you can input text, or even videos.
1276060	1280580	And they'll give you back things like classification or generated content.
1280620	1285980	Also, traditional APIs, they're doing relatively simple tasks.
1285980	1290740	So which are database lookup, as we say, data transformation and everything.
1290880	1295660	But model APIs, they run more complex tasks.
1295840	1301340	And so they use mathematical operation using neural networks.
1301360	1305410	So this leads to another big difference, which is the resources.
1305900	1309500	So traditional APIs, they are generally lightweight and fast.
1309500	1315840	But model APIs will need more resources and sometimes special hardware.
1316200	1320500	So another difference also is predictability.
1320500	1325420	With traditional API, if you send the same input, you always get the same output.
1325420	1327860	It's really deterministic.
1327860	1332640	But model APIs, they can be probabilistic.
1332640	1340340	So especially with generative AI, you might send the exact same input twice and you will get different results.
1340340	1350440	So for example, traditional API might be send your location and get back weather data, send payment details, and get a transaction status.
1350440	1352800	So model APIs, it will work differently.
1352800	1358200	You will send an image and you will get what objects are detected in it.
1358200	1363620	You can send text to get a translation, and you can send audio to get the transcribed task.
1364380	1373100	So even error handling is different, because traditional API will give you clear errors, such as invalid input or server dumps.
1373100	1379780	But model API will probably give you confidence scores or tell you the prediction is uncertain.
1379780	1381720	So the bottom line is this.
1382020	1394360	Traditional API are like efficient data processors, while model APIs are more like having some sort of assistant that can understand and make decisions about your data.
1397580	1408100	So when you are pen testing an AI-enhanced Android application, each phase of the traditional methodology gets significantly expanded.
1408100	1413420	So for more details, I also made another comparison that you can find in the resources I will provide.
1413420	1417940	But in the reconnaissance phase, we have a few things that change.
1417940	1429800	We will basically need to identify the AI system architecture to map the endpoints and to analyze the models we find, including the input and the output formats.
1429800	1436640	And it also changes a few things for the dynamic analysis and static analysis and the report phase, of course.
1437280	1446740	We will see a little more what happens for this specific topic in a few slides, but the bottom line here is that AI doesn't replace your methodology.
1446800	1450660	It kind of layers on top of it.
1451260	1460300	So each phase now has specific AI components that will require new tools, new techniques, and sometimes new skills as well.
1460300	1467300	So you're not just testing an app anymore, you're testing the app and the AI model that lives in it.
1467300	1475200	So this typically adds, I would say, 30 to 50 percent more time to your full pen test engagement.
1477560	1486920	So before getting into the threat modeling framework, which is dedicated to AI, I just want to make a quick reminder on what threat modeling is.
1486920	1498240	So threat modeling is the process to identify, understand, and address potential threats to the security of a system, an application, or an infrastructure.
1498300	1503380	So it's a process that can be carried out by different security professionals.
1503380	1507380	And so depending on who is doing it, the process will be different.
1507380	1517700	So for example, some companies will have a dedicated team to threat modeling, but it can be done also before a pen test by pen testers themselves.
1517700	1520140	This is something that I do myself.
1521460	1527440	So there are various frameworks for threat modeling in traditional cybersecurity.
1527440	1531080	So we can, for example, mention Stride or PASTA.
1531120	1534820	But when AI arrived, these frameworks were not enough.
1535300	1544300	And on the screen you can see that the OWASP AI threat model that aims to provide a more comprehensive framework for this specific topic.
1544300	1546360	So it has three types of threats.
1546360	1555440	The one during development time, the one for using the model, and the one by attacking the system during runtime, so in production.
1555440	1562940	And it also identifies six types of impact, and for three types of attackers, of attacker goals.
1563360	1570480	So as you probably know, attackers have three main objectives related to the CIA triad.
1570480	1579240	So they call it disclose for the confidentiality, deceive for the integrity, and disrupt for the availability.
1579380	1592980	So for the disclose category, the impacts are hurt confidentiality, or trained test data, hurt confidentiality of model intellectual property, and hurt confidentiality of input data.
1593280	1598900	So for the deceive category, the impact is that it hurts the integrity of the model behavior.
1598900	1604100	So in other words, users and system rely on AI decisions.
1604100	1608980	So of course, wrong decisions could cause real harm.
1609080	1619200	And finally, for the disrupt category, the impacts are hurt availability of the model, disrupt disclose non-specific, non-AI specific assets.
1619200	1626760	So for the defense strategy, they develop various controls that form a summary of how to address AI security.
1626760	1633070	And so there, we find AI governance to implement governance processes for AI risk application.
1633650	1648170	So it's a conventional technical IT security control, since an AI system is an IT system, and data scientists also should apply data science security control, but risk-based.
1648170	1655730	So the aim is to minimize data and to limit the amount of data in rest and in transit.
1655730	1665890	And finally, to control behavior impact, as the model can behave in unwanted ways by mistake or by manipulation.
1667730	1678650	So now that we have seen how we can threat model this new AI risk, I wanted to introduce you a very useful tool for us as pen testers, which is the OWASP AI testing guide.
1678650	1684990	So this is a guide that was created to help professional test AI systems.
1684990	1695810	So we can think of it as a comprehensive playbook for ensuring that AI is reliable, secure, and behave ethically.
1695810	1707990	So the guide outlines a robust suite of tests, including data-centric validation, fairness assessment, adversarial business, and continuous performance monitoring.
1708030	1714550	And so on the screen you can see a visual that I created to show how we as pen testers can use this guide.
1714550	1720730	So it will of course be in the resources that I will give you in the end, if you want to have a look.
1720810	1728990	But it covers attack vectors, testing phase, arsenal high value targets, and also sample exploits.
1729110	1736970	So finally we can say that in terms of AI security perspective, as pen testers we are looking for various things.
1736970	1760110	We are looking for high risk findings, which could be embedded API keys or secrets in model weights, training data samples that are accidentally baked into the model, an encrypted model that would reveal some business logic, poor input validation that could lead to crashes or buffer overflows,
1760110	1782070	model version info that maps to known vulnerabilities, model-specific attack vectors, which could be model extraction, like can you copy or can you use the model elsewhere, can you fool the model with crafted inputs, and can you also reverse engineer what data was used to train it.
1782890	1788330	And does the model show also unfair bias that you could exploit?
1791930	1801210	So also I wanted to make a table of the various possible tools, and of course I also wanted to mention AI-enhanced tools that can be used for a pen test.
1801210	1804430	So on the screen you have various tools split in three categories.
1804530	1816550	The traditional tools that we use for Android application pen test, the AI-enhanced tools that we can use for Android application pen test as well, and the tools that can be used to pen test AI.
1816910	1821150	So one specific tool that I wish to mention is Android MEDA.
1821150	1828330	So this tool is an LLM tool which is designed to de-obfuscate Android app code and find vulnerabilities.
1828430	1833260	And it has been created by Vibhav Agrawal who works for Google.
1836270	1840090	So now how do we proceed for the static analysis?
1840090	1852090	So we have of course to check the manifest and the strings XML files and we can also enumerate database and you can find of course some tools on GitHub that can help you for this purpose.
1852570	1855450	And of course we need to check for sensitive data.
1855450	1863070	So for AI-enhanced app we can search for AI model and configuration files and we can analyze them.
1863150	1874530	And to go further on this I shared in the resources an article on how to integrate custom PyTorch model in an Android app that was done by Gabriel Mongaras.
1874530	1879970	And this way you can have an idea on how developer will integrate AI in their code.
1883450	1890630	So now I wanted to provide a reminder on how to check the code because I will show some example in the next upcoming slides.
1890630	1898870	But to check the code you can use JADX or APK tools and this tool will decompile the APK and will offer some level of deobfuscation.
1898990	1903090	So for JADX you just need to launch the command you see on the screen and you're good to go.
1903090	1913150	And for APK tools you can also use this command and it will all put everything in a folder and it will have the name of your app and you will get similar files to what you see on the screen.
1913690	1915290	Similar files and folders.
1916550	1931070	So once you have the code you can share it for keywords such as HTTP, HTTPS to identify API end points and additionally you can look for functions or classes that will handle network requests and responses.
1931230	1943450	And also the Android manifest file in the applications APK package will contain metadata about the application and so it will also have the declared permissions, the services and the activities.
1943450	1952370	So you can look for permissions related to network communication which would help you to identify API endpoint, sorry.
1953110	1959790	And finally you can analyze the application JavaScript file to identify API endpoints.
1959790	1968750	So it's worth checking there for AI APIs endpoint because they could look like something you can see, something like this that you can see on the screen.
1970770	1974930	So now I want to present an app that I created.
1975010	1984490	So as you probably know the number of AI-generated mobile applications on the market will increase significantly in the coming years.
1984490	1991150	So indeed with the company that provides tools to build an application in just a few minutes with AI.
1991150	1998910	So we have both businesses and individuals who will be able to publish their applications in the wild, just like that.
1999230	2004790	And so recently Google also launched Opal which is an AI app builder.
2005690	2019770	So whether it's for commercial or personal purposes these applications that are based on things like vibe coding and produce rapidly will of course have security problems.
2020270	2026190	And a few days ago I read an analysis by Veracode that highlighted this specific issue.
2026190	2029210	I think I put the link in my resources.
2030070	2032410	If I did not I will put it.
2032550	2041110	So indeed the analysis mentioned that AI-generated code introduced security vulnerabilities in 45% of cases.
2041190	2047710	So when given a choice between a secure and insecure coding method, so what does this mean?
2047710	2056730	It means that the researchers they presented AI model with coding scenarios where they had to choose how to implement a functionality.
2056730	2068530	And they found out that when given a choice between a secure and insecure method to write code, GenAI model chose the insecure option 45% of the time.
2068530	2072250	So that gives us some work as pen testers.
2072550	2086610	So to simulate this, which is already existing and which is a growing situation, and to demonstrate this in this talk, I wanted to try building an application using this type of process.
2086950	2097750	And even though a few platforms offer applications in Kotlin, we can still create applications quickly with the help of generative AI.
2097890	2108950	So what I wanted to do was demonstrate just how fragile this is in terms of security, which is why I'm going to present two examples of vulnerabilities that I inserted into this app.
2110430	2117410	So this way you will be able to see the risk of AI-enhanced applications and, of course, applications coded with AI.
2117410	2120490	So the first example is for the static analysis phase.
2120590	2129350	And in a few slides I will show you another example with prompt injection that can be done during the dynamic analysis phase.
2131450	2133990	So here we have the static analysis example.
2133990	2137630	So the app as I created is called Oracle.
2138510	2149570	And so I decompiled my APK and I was able to get all the files, including the model file that was built with TensorFlow.
2149570	2153870	So it's the tf.light files that you can see here.
2155910	2170550	So here with just a string, so one of the first commands we learn when we do CTF, we were able to find an API key.
2172250	2182110	So here a string is the job for this specific demo, but if you wanted to do a more comprehensive analysis of a model file, you could use an app like Netrun.
2182110	2197210	So Netrun is a graphical viewer for neural networks and it will help visualize the model's architecture, the layers and connection, and it can sometimes reveal metadata or layer names.
2197610	2203510	And also you get a visualization , sorry for the French accent.
2203790	2212730	And so also for a very deep dive, you could also convert the tf.light file into a human-reliable JSON format.
2212730	2217290	And so you have tools like flat buffers to JSON that will do this for you.
2217430	2225930	And so this would expose all internal details including any custom metadata fields.
2225930	2230850	So I'm going to go a little faster because I see it's almost time.
2230850	2235970	So here this is a traditional vulnerability that you can have hard-coded secrets.
2235970	2239250	This is from Injured Android CTF.
2239830	2248070	You probably all know how to grep, but I think it's really useful to do this.
2248630	2253870	And I added a link to my resources on various tips on how to grep.
2254590	2258190	And as you know the dynamic analysis part, so you will intercept traffic.
2258190	2262350	So these are the things that you can check when you are doing the dynamic analysis.
2263490	2267950	What's nice is also to try to find and identify API endpoints.
2267950	2270730	So on the screen you can see what it could look like.
2271050	2273290	And it can be efficient to use a list.
2273290	2280370	And for AI API endpoints, as we saw in the static analysis, they often follow the same design pattern that common APIs use.
2282030	2285090	And so this is the prompt injection I mentioned to you.
2285090	2288830	So this is a classical example from the Oracle app I created.
2288910	2293110	And so the chatbot is really, really happy to give us its API key.
2293410	2300270	And so in a real context, of course, it's more subtle and sometimes we even need to interact a little more with the chatbot to get what we want.
2303050	2311550	For the curious minds who want to discover a new attack vector, it is highlighted in this research paper from researchers of Monash University in Australia.
2311770	2314470	And it's called the Smart App Attack Framework.
2314510	2317590	And so you will find it in the list of resources I'll provide at the end.
2317590	2320610	I'm not going to explain it because obviously I don't have time.
2320610	2324770	But it's so interesting that it would require a full talk about it.
2324770	2329010	So I have summarized it in a visual form and you will find it in the resources.
2330130	2336690	So one other important thing I wanted to mention is that traditional Android app and test is not dead.
2338510	2345970	So in this slide, I used another research that shows that traditional vulnerabilities can still be found in AI apps.
2345970	2362330	I don't know if any of you read a paper that was done by AppNox, but they were able to find classical Android vulnerabilities in the DeepSeq Android app and the Perplexity Android app.
2362390	2381870	So this is really concerning because this is not just because they found numerous issues, but because they represent a lack of basic app hardening, insecure defaults, and almost no resistance to reverse engineering or controlled environment attacks.
2382050	2397150	So this kind of raises the question of how today we find ourselves in a dilemma between... it's been here since the beginning of IT.
2397370	2404350	So we have to marry speed and we have to marry security because people want things in production for yesterday.
2404730	2413290	So even though we've been asking ourselves this question for a long time, it's even more pressing today because we are in the AI era and everything is going even faster.
2414030	2427910	So I hope that all the time we save by automating our task, we will be able to invent solutions that we have no longer to chase for security, but instead we will anticipate risk.
2430130	2436810	And so I wanted to quickly mention all the standards and frameworks that we need to take into account when we are doing a pen test.
2436830	2439070	You can see them on the screen.
2439810	2445490	And so today we also need to add standards for AI and some for security.
2445510	2448670	And also I wanted to do a quick mention of trustworthiness.
2448730	2450810	It includes AI safety.
2450810	2461350	So in other words, trustworthy artificial intelligence refers to artificial intelligence that all stakeholders can trust throughout its entire life cycle.
2461350	2463970	So to achieve this, it must be aligned.
2463970	2470310	So it means that it should be lawful, it should be ethical, and it should be transparent.
2470570	2473330	And also explainable and robust.
2473530	2481330	And so for example, when we test a model for an adversarial attack, we are checking its robustness.
2481330	2488070	So this determines how well the model can handle slight changes to its input without producing a different input.
2488070	2494450	On the other hand, bypassing safety measure with prompt injection will test the model's alignment.
2495030	2499350	So I'm not going to go further on this.
2501840	2513600	I just wanted to say that this is why AI pen test isn't just a technical process anymore, but more a holistic and socio-technical one.
2516740	2520620	So I wanted to conclude on the attack phase by giving a general tip.
2520620	2529400	When I do my pen test, I really like to use checklists because it gives me a way to stay on track and to make sure that I cover as many aspects of the target as possible.
2529400	2534900	So the top tens are always a nice thing you can add into your list.
2535640	2538000	And these are all basic checks.
2538520	2544300	And also every context is different, so in this AI era, we have to be even more careful.
2544380	2554360	And the traditional approach isn't enough anymore, so we also need to test mobile vulnerabilities, AI vulnerabilities, and API vulnerabilities.
2554360	2556520	Lucky for us, all of these have a top tens.
2557640	2561380	So you just have to customize your checklist.
2562320	2563300	It sounds easy, but...
2567920	2572640	So when you do traditional Android pen test, the report stays the same.
2573080	2577840	So I have to wrap it up, but it should look like what you see on the screen.
2578460	2581620	And for AI vulnerabilities, the scoring is different.
2581620	2587040	So we can use the AIVSS score, and it was published recently by the OWASP.
2587040	2602840	And just because I cannot and I have to be done, this is the famous QR code that you can have to get the resources, but you can also take a picture so you don't have to scan something shady.
2605490	2607970	Thank you very much for coming.
