# How Red Teams Are Hacking AI: Real-World Tactics with Mohamed Magdy

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 20 Aug 2025, 45 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/107097006/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-7-20%2F72e56dbc-0c8b-f5d4-88ca-5b224ff1add4.mp3

Red Teaming, LLM Hacking & AI Security with Mohamed Magdy (AbuMuslim) | Deep Dive for Cyber ProsIn this power-packed podcast episode, Prabh sits down with renowned Red Teamer and AI Security Expert, Mohamed Magdy (AbuMuslim) to break down the future of cybersecurity, LLM hacking techniques, and real-world red teaming operations.Whether you're exploring red team vs. blue team, penetration testing, or want to know how large language models (LLMs) like ChatGPT can be hacked or misused, this episode delivers practical insight, strategy, and next-gen security thinking. What You’ll Learn: What is Red Teaming in Cybersecurity?How LLMs can be attacked using prompt injection & adversarial inputThe intersection of AI, security, and ethical hacking How Red Teams are adapting to AI-powered environmentsReal-world red team scenarios & engagement tacticsRisks of using LLMs like ChatGPT, Claude, Gemini in enterprise settingsMohamed’s take on LLM jailbreaks, evasion techniques, and defense strategies Whether you’re new to Red Teaming, an AI enthusiast, or a cybersecurity leader, this is a must-watch conversation that combines offense + defense + future tech awareness.Connect with Mohamed Magdy (AbuMuslim): https://www.linkedin.com/in/m19o/CISO talkshttps://www.youtube.com/playlist?list=PL0hT6hgexlYwPTD-wC3oFBe27VGEiizg1NIST Serieshttps://www.youtube.com/watch?v=VcC_KabV_Ho&list=PL0hT6hgexlYy0vBwMv0eteiyAxB48RQzy&pp=gAQBiAQBGRC Serieshttps://www.youtube.com/watch?v=mq_vSLHm4r0&list=PL0hT6hgexlYztA41j1bceTfVagP9mtq28&pp=gAQBISO 27001 Videohttps://www.youtube.com/watch?v=sQqJH2naU6I&t=1454s&pp=ygUeaXNvIDI3MDAxIGltcGxlbWVudGF0aW9uIHN0ZXBzISO 27001 Implementation Guidehttps://www.youtube.com/watch?v=GBfwk10Hh-o&pp=ygUeaXNvIDI3MDAxIGltcGxlbWVudGF0aW9uIHN0ZXBzGRC Practical Serieshttps://www.youtube.com/playlist?list=PL0hT6hgexlYztA41j1bceTfVagP9mtq28GRC Interviewhttps://www.youtube.com/playlist?list=PL0hT6hgexlYz1Usn1Nrnur6OzVoz59zylInternal Audithttps://www.youtube.com/playlist?list=PL0hT6hgexlYyNWBcGYfabwumCr0GKmLWvStudy with MeTelegram Grouphttps://t.me/PrabhstudyMy Spotifyhttps://open.spotify.com/show/16M7QBKdPDW7CCzBgrrZRE

## Transcript

[0:00] I want to understand one important thing is you know what
[0:03] is red teaming. This is a new buzzword how to
[0:06] make a career is it is this got chain because if you compare
[0:10] about 10 years back, the pen testing is like starting with
[0:12] some ethical hacking pen testing certification, then target goal
[0:15] is OSCP and then you become a pro having a sticker of.
[0:18] Black. Hat and become a pen tester.
[0:20] Boom. But.
[0:22] What what what changed introduced in last 10 year, you
[0:24] know, and how to make a current red team if you're talking about
[0:27] in. 25 So if we, if we are talking about the difference
[0:31] between red teaming and penetration testing, it's the
[0:36] the penetration testing, it's actually, you know, one of the
[0:39] cycles you do for a software to make sure it's, you know, it's
[0:44] not vulnerable and covering all the tags.
[0:46] And if you using OS sense top 25 and internal checklist, like
[0:53] every, every company now has their own checklist, but they
[0:57] also use the standards. So direct teaming is it's
[1:01] different because you, you are trying to simulate the real
[1:04] world adversaries like you, you attack a network or you know,
[1:09] you attack a, you attack an infrastructure and you, you
[1:14] don't want to be caught. You, you have your own R&D or
[1:19] you just, you know, buying the, the, the malwares and everything
[1:24] to enhance your operation and etcetera.
[1:28] So the goal is it's different. Hi guys.
[1:32] Welcome to my session on Coffee with Prague.
[1:35] And today we have a special guest, Mr. Abu Muslim.
[1:38] So we think thrilled to announce our host, Mr. Abu Muslim, who is
[1:43] known as a public speaker, educator and leading security
[1:46] researcher at the Microsoft AI. And Muhammad is a fratrant of
[1:50] building cutting edge offense security initiatives at
[1:53] Microsoft Egypt. And with a blend of deep
[1:55] technical expertise and passion for educating the community, he
[1:59] bring invaluable insights and dynamic perspective to every
[2:02] discussion. I'm one of the fan of this
[2:04] person because he do a lot of content on LLMAI, red teaming
[2:09] and all that. And I believe there are very few
[2:11] in this world who are working on this initiatives.
[2:13] And glad I made this and now he's in a podcast.
[2:18] It really honored for us to have him in this podcast.
[2:21] Thanks, Abu. Taking all the time in a
[2:23] weekend. I know weekend is the time to
[2:26] give to yourself, but glad you have taken out time to give back
[2:29] to society. Thank you for the the
[2:32] introduction. I'm always happy to to share my
[2:35] insights and my my experience to everyone.
[2:38] Thanks, Thanks, Abu Abu, like you know, before we jump into
[2:42] the so today we are actually talking about, you know, red
[2:44] teaming, LM hacking, AI security and working in funk fangs.
[2:49] What we say. But before I jump into that, you
[2:52] know, I want to understand one important thing is, you know
[2:56] what is red teaming? This is a new buzzword and how
[2:59] it is different from pen testing and as the second thing is that
[3:03] how to make a career is it is this got chain because if you
[3:07] got compared about 10 years back, the pen testing is like
[3:09] starting with some ethical hacking pen testing
[3:11] certification, then target goal is OSCP and then you become a
[3:14] pro having a sticker of. Black Hat.
[3:17] And become a pen tester. Boom.
[3:19] But. What, what, what change
[3:21] introduced in last 10 year, you know, and how to make a career
[3:24] in that team if you're talking about in 25 in a cost effective
[3:27] manner. OK.
[3:29] So there is there is major changes in in in the industry
[3:34] and specifically like the last two or three years every
[3:39] everything is going very fast. So if we, if we are talking
[3:42] about the difference between that teaming and penetration
[3:45] testing, it's the the penetration testing, it's
[3:50] actually, you know, one of the cycles you do for a software to
[3:54] make sure it's, you know, it's not vulnerable and covering all
[3:58] the attacks. And if you using OAS sense top
[4:02] 25 and internal checklist, like every, every company now has
[4:07] their own checklist, but they also use the standards and also
[4:12] it, it's not only the software like it's the networks, the, the
[4:17] OT industrial, you know, machines and everything.
[4:21] So this is the best thing. It's, you know, the the three
[4:26] ways of been testing or the the different methodologies, the
[4:30] black box, the white box, the grey box, it depends on what
[4:33] axis you have. You just, you know, attack the
[4:37] application without knowing anything about it.
[4:39] Or you just know, you know slightly, you know small
[4:44] information about it. Maybe you you have the source
[4:46] code. So this is the difference
[4:48] between the, the three types of been testing.
[4:51] So direct teaming is it's different because you, you are
[4:55] trying to simulate the real world adversaries like you, you
[5:00] attack a network or you know, you attack a, you attack an
[5:04] infrastructure and you, you don't want to be caught.
[5:08] You, you have your own R&D or you just, you know, buying the,
[5:14] the, the malwares and everything to enhance your operation and
[5:20] etcetera. So the goal is it's different.
[5:23] You know, some, some companies they, they just want you to, to
[5:29] simulate if you can actually get access to, to their
[5:33] infrastructure. And it depends on the objective
[5:36] objectives and you know, the what, what the stakeholders want
[5:40] from the, the operation. And this is actually changing
[5:45] every time because it's, it's about the awareness, like you
[5:48] clients getting aware of that team.
[5:52] And it's different, you know, different maturity level.
[5:56] So about the infrastructure. So if your infrastructure is
[5:59] very mature, so your objective, your objective has a change.
[6:03] So the goal is to, you know, achieve the object or just, you
[6:08] know, simulating, simulating an adversary.
[6:12] You saw on the Internet some ABT happened and you want to emulate
[6:17] it in your infrastructure to make sure if this happened to
[6:21] you, you know you you are not going going to face the same the
[6:26] same consequences as the. What the competitor has faced or
[6:30] other? Companies yeah like like lock
[6:32] bet, Lazaros, every you know every famous ABT.
[6:35] So the, you are trying to emulate this in your
[6:38] infrastructure and also the simulation is different.
[6:41] As I said, like you, you, you know, the, the consultation
[6:44] company is doing this. They have their own R&D or they
[6:49] they purchase the you know, the, the, the, the trade craft like
[6:54] the full development of it to, you know, to to enhance the the
[6:59] operation do it. Correctly, That's that's great.
[7:02] And and if you talk about, as you can see, in last 10 years,
[7:06] there's a lot of change introducing offensive security
[7:09] to become a off SEC professional.
[7:12] So what do you think you know about like, you know, what is a
[7:15] skill set? You know, if I want to start a
[7:17] career in off SEC teaming. So how to start?
[7:21] You know there should be a step and there should be a Step 2
[7:24] instead of directly jumping into the tool and Start learning
[7:26] based on YouTube videos? Or do you have any
[7:29] recommendation here? OK, so it's, you know, when it
[7:32] comes to, to starting the, the career, it's everyone has
[7:37] different perspective and different methodology, but the
[7:41] you know, the, the essentials you need to know, like you need
[7:44] to understand the computer science.
[7:47] So you know, for us, the computer was new.
[7:50] So we we were obligated to learn about computer.
[7:54] So, and, and this time computer science, it's, you know,
[7:58] everyone can, can know about it online without, you know,
[8:02] without a degree or without going into any school or
[8:05] anything. You just can, you know, CS50
[8:07] from Harvard that's publicly available and you can learn
[8:11] about computer science. Once you learn about computer
[8:14] science, you need to understand what is security like, you know,
[8:19] like a fundamental of security and you know, discover the
[8:23] different jobs of security. And then if you just decided to,
[8:27] to start your career in red teaming, you can just start, you
[8:32] know, in, in red teaming like it's, you know, you need to, you
[8:35] need to have experience with penetration testing and you
[8:39] know, like hands on, you know, breaking applications and
[8:43] breaking networks and infrastructure.
[8:46] And then you can escalate your you know, your skills to, to be
[8:52] in the red teaming because red teaming mistakes, you know, you
[8:56] need to to load the rate of mistakes like you don't need to
[9:00] get caught. You don't need, you know, to you
[9:03] need to know more about the infrastructure.
[9:05] Why these tools can be noisy and can actually, you know, be the
[9:12] reason that you are caught in the network like you know the
[9:15] scraps everyone is running on the pen testing.
[9:17] It's, you know very noisy. You send like thousands of
[9:21] requests using using like the you know, 50 thread or or
[9:26] anything just you don't you don't do this in red teaming.
[9:30] You just do it in pen testing to understand, you know, when what
[9:35] happens and you actually, you know, people doesn't use
[9:40] Wireshark to, to see actually what is happening in the
[9:43] background. You know, like if you use this
[9:45] tool, what is happening. So when you understand this, you
[9:49] can actually go into the teaming because you, you, you, you have
[9:55] to know how to hide your traffic.
[9:59] What is the protocol you should use, you know, to, for, for the
[10:03] abusing and how you move literally from, you know, device
[10:07] to device from user to user and make sure that your activity is
[10:12] not doing, you know, any, any alerts Like it's, you know,
[10:17] it's, it's like a very advanced techniques and everyone is
[10:21] talking about, you know, all over the, the Internet, you can
[10:25] find the blogs from, you know, MD SEC, trusted SEC, they always
[10:29] talk about red team, Black Hills, infosec.
[10:32] Everyone is sharing the, the methodologies like, you know,
[10:37] how you can use this tool to, to do the reckon without getting
[10:41] directly interacting with the company like a passive, passive
[10:45] reconnaissance and, and and so on.
[10:48] So it's it's like, you know, it's like a journey.
[10:52] You can't jump, you know, the stairs, you should go stair by
[10:57] stair. And everyone now is, you know,
[11:01] everyone want to rush, like jumping, OK.
[11:04] I want to be as a team. And yeah, it's it's it's small
[11:09] steps. You need to be, you know, very
[11:12] calm and just, you know, trust the process, OK?
[11:17] And and now you can see the error of coming is AI, there is
[11:21] an error of LLM. So how do you see the
[11:24] convergence of traditional red teaming operations and emerging
[11:27] LLM or AI driven threads reshaping?
[11:31] You can see the approach to the cybersecurity if, if they can
[11:34] limit them, it mean red teaming initially has been done on
[11:37] infrastructure. Are we talking about in the
[11:40] application now a lot of companies are adopting AI and
[11:45] red team red teamers also using AI.
[11:48] So how do you how do you see the convergence of this traditional
[11:52] red team operations and emerging of LM or AI which is driving up
[11:56] threats or driven up threats reshaping the.
[11:58] Approach to cybersecurity OK, so there are many many, many usage
[12:05] of of you know, LLMS into the red teaming like when it comes
[12:10] to like managing your your reckon after doing reckon and
[12:15] the you know, knowing the assets and everything about the the
[12:19] target you are you are doing the operation on.
[12:23] And there is you know someone in in trusted sect lately published
[12:30] A blog about RAC system. If you have like, you know,
[12:34] internal rag having your documents and everything, you
[12:38] can actually ask it to, you know, like a certain IBA,
[12:42] certain server, a certain version of service.
[12:45] So this is actually one of the one of the challenges like, you
[12:50] know, organizing your your your information about the target.
[12:54] It's it's messy. Like if you if you are target,
[12:57] if you are targeting a large organization, you should you
[13:01] should have like you know, everything about it.
[13:03] Just, you know, going through Obsidian or Notion or anything
[13:08] you use and that's, you know, it, it, it's time consuming.
[13:13] So, you know, using LLMS actually help to, to reduce the,
[13:18] the time into this. And also, you know, like there
[13:23] is someone actually released the tool when you can actually do a
[13:29] prompt to generate your, your malware and generate your Bay
[13:34] load. So, but but it's not like a
[13:37] major change to to the to the red team like for now, for now,
[13:42] it's it's not the the change that happened in in every in
[13:47] every field like teaming. It's it's very sensitive to use
[13:51] LLM like I heard someone talking about actually about using
[13:58] agents in, in Ben testing and the teaming and stuff like this.
[14:02] But you know, it's, it's not actually very, very convenient
[14:09] for me. Like but how about do you think
[14:11] so it is effective to use, how effective is the agents to be
[14:14] used or pretty different LM which is available in the
[14:16] market? Like to use it in in Ben
[14:20] testing. Yeah, Red teamers.
[14:21] Yeah. OK, so if if we are talking
[14:24] about you know penetration testing, there is some some guys
[14:27] actually working on products to automate the you know the new
[14:31] one we. Have a best attack, simulation
[14:34] tools and all that. Yeah, I it's doing good in, in
[14:38] this aspect, but you can't, you can't cover the whole
[14:42] application, but it can save you time like you know, the the
[14:46] traditional automation like using purpose scanner and
[14:49] everything. So it's, you know, we just
[14:52] enhance it using LLMS, but it can't be covering the whole
[14:57] application. But you use it to reduce the
[15:00] time consumed in, in some of the vulnerabilities, like the
[15:04] vulnerabilities you need to try like more test cases, the, you
[15:07] know, the injections, the you need to try like hundreds of
[15:12] payloads and everything. So LLMS actually, you know, does
[15:16] great job in, in this. And also when, when it comes to
[15:21] the teaming, IE I didn't hear about anyone using LLM and, and,
[15:26] and like, you know, taking a charge and red teaming, like,
[15:30] you know, using an agent and stuff like this.
[15:32] It's, it's more used on the, on the organization side.
[15:38] Like you are organizing your, your documents, generating your
[15:42] payloads. Maybe you are generating the you
[15:46] can actually do the the the red teaming infrastructure now with
[15:50] a with a one click. Like if we if we are talking
[15:53] about, you know, generating scraps to automate your
[15:57] redirectors and automate your your whole infrastructure.
[16:01] Yeah, LLMS actually help. Helps in, in, in in do this in
[16:05] doing this. And and Abu like, you know,
[16:09] there is a always regarding, you know, the key elements that we
[16:13] basically focus on during the red team simulations, OK, when
[16:16] we say to mimic the real world adversary effectively.
[16:19] So how do you how do we see from AI perspective because AI is
[16:22] something new. I know my data attack framework
[16:25] was introduced for AI and all that and we completely agree
[16:27] with that. But how are red teamers or when
[16:31] you guys do assessments and all that, how do you stay updated
[16:34] because this is this technology itself is new.
[16:37] Yeah. So can you just share some
[16:39] insight on this with any case study that you have encountered
[16:43] that how you updated your knowledge with the new adversary
[16:47] perspective when you're doing an assessment for the AI?
[16:51] So yeah, AI teaming is, is different from the the
[16:55] traditional right teaming. As you know, in AI teaming,
[17:00] you're targeting the, you know, the model and you know, you need
[17:03] to understand about machine learning and how it works and
[17:06] stuff like this. And also it's, it's a new, it's
[17:10] a new field like for us. But the machine learning
[17:14] security actually is here for two decades, like from 20 years
[17:18] ago, like everyone was working on it, but it didn't have the
[17:22] the same focus as now. Like after GBT, after GBT,
[17:29] everything became like, you know, AI, I'm using this, I'm
[17:32] doing that and stuff like this. So, and also it, it, it's, it's
[17:38] taken, you know, a major difference in, in business, like
[17:42] when it comes to business, every company now want to create their
[17:48] own LLM. And as you can see, the
[17:51] competition is everywhere. So we actually, there is, you
[17:55] know, there is many, many research about the, you know,
[17:59] attacking models and mostly the, the work is reading papers.
[18:05] You read the papers and you try to replicate these attacks.
[18:09] So you, you have like you know, 202 hundred tabs and you are
[18:14] trying to, to filter which one is, is useful to you and which
[18:19] one is not. And you are trying to follow up
[18:22] with the industry leaders in, in this specific area about what
[18:27] they share in the, in the conferences.
[18:29] Maybe it was on, on GitHub. And you try to tweak this and
[18:34] you know, to, to learn how they did it and also to, to come with
[18:39] a new attack vector your own, like you know, your own research
[18:42] also based on, on, on someone else's research.
[18:47] So how you, how do you do research?
[18:49] Do you want to share any viewpoint to the people, the the
[18:53] people who watching this podcast, you know, if they want
[18:55] to do the research in a similar fashion?
[18:57] Do you, do you recommend any sources?
[18:59] Do you recommend any websites or do you have any?
[19:03] Yeah. Yeah, actually there is, there
[19:05] is a website llmsecurity.net. This one has like tons of
[19:11] resources about LLM and you you can now you know, download the
[19:16] any open source LLM on your computer using, you know, VM.
[19:22] There is now like small models you can use even if you have
[19:27] like you know, small amount of of memory and you know in your
[19:32] PC and or your laptop. So you can actually do this and
[19:37] start to playing with LLM, like you start attacking the model,
[19:42] you're trying to understand how it works and it happens in every
[19:47] field, like every new technology and also the older technologies
[19:51] like tell now people actually start researching on Active
[19:54] Directory attacks. Still survive.
[19:57] Yeah, so how how they do this, like they download the the
[20:02] Windows Server, they start, you know, doing their own labs, like
[20:05] the famous game of Active Directory, everyone knows about
[20:09] it. You can actually, you know, use
[20:12] it to research on Active Directory.
[20:13] So this is the basic, the basic concept of of hacking.
[20:17] Like you need to understand how this thing actually was built
[20:22] and how you can crack it and build it again.
[20:25] Excellent. And and do you like if I want to
[20:28] do 1 red teaming and assessment on AI?
[20:31] OK, So what is the steps like you know, so normally what
[20:35] happened when you're talking about I don't want to go in
[20:37] practical, but at least from this podcast they get an
[20:40] insight. So normally in pen testing is we
[20:42] say we do Recon, you get the IP, then we try to do footprinting
[20:47] scanning, then we get the open boats, we do the OS, OS
[20:51] fingerprinting, then we try to access the exploits, then we do
[20:55] pen test, we do little movement, OK, we know in the in the
[20:57] infrastructure levels, sometimes we don't know web-based IP.
[21:01] So how how how the red team is doing in an assessment on the AI
[21:05] solutions? OK, so if, if we are talking
[21:09] about, you know, the small product like a shared, shared
[21:14] bot, you need to understand everything like what we what we
[21:20] are going to use like in in the model itself, like it's text to
[21:24] text, maybe image to text, text to image.
[21:28] You know the the operation of the model itself and the, the
[21:31] capabilities. When you when you do this and
[21:34] you understand it, you start doing the threat modelling of,
[21:37] you know of, of this like everything have, you know, the
[21:42] same, the same methodology about the threat modelling.
[21:44] So how you can actually inject the text going into the LLM?
[21:49] How you can inject the the image going to the LLM?
[21:52] Maybe how can you inject the voice going into the LLM Like
[21:56] you know, if the voice for example, you can, you can do you
[22:01] know the operation for, for detectors like we have the, you
[22:07] know, the voice authenticators like you know, some, some, some
[22:12] companies use it to verify your identity.
[22:16] So how we can attack this? Like it's, you know, if it's,
[22:20] it's based on machine learning. So how you can attack this?
[22:23] So you are trying to copy your voice and try to replicate it to
[22:28] match the original 1 and to see if if it can detect it or not.
[22:33] So this is this is one of the examples.
[22:35] And also for the text you tried the the prompt injections,
[22:39] trying to leak anything in the in the system prompts.
[22:44] Maybe if the model have access to, you know, rebels like
[22:48] GitHub, you try actually to attack GitHub through the model
[22:53] like if the if the model you know needs to authenticate using
[22:59] to use GitHub. So maybe you can actually steal
[23:02] all the sessions the model has because there is no access
[23:06] control. So it's about, you know,
[23:08] imagining the threats like you, you have the whole architecture
[23:12] of the product and you are trying to see the attacks.
[23:17] And also it depends on the experience and it depends on
[23:20] the, the, the understanding of the technologies.
[23:24] Like if you're understanding the technologies, what is used for
[23:27] authentication and how the, and how it, you know how the, the
[23:32] user authenticate and the talking goes to the to the back
[23:35] end and stuff. You know, the the basic stuff of
[23:38] fantastic, so you can actually come with an attack.
[23:42] And also there is there is a good blog I recommend for you
[23:47] know to to have like you know, to see the vulnerabilities.
[23:53] It's called Embrace the Red Team.
[23:56] Embrace the red team, OK? Yeah, this guy, he is.
[24:01] He's eating LLMS for breakfast. I love him.
[24:06] Yeah, he. We're having a dinner right now.
[24:10] Yeah, he's attacking everything like, you know, ChatGPT, Gemini,
[24:15] everything. And he, you know, he's actually
[24:18] doing this every day. So this is one of the good
[24:21] resources if you want to see how these guys actually attack LLM's
[24:26] product. And it's not only the machine
[24:28] learning. So it it, it goes outside the
[24:31] circle also like how can you use other technologies and abuse the
[24:37] model capabilities to attack for you like you are using it to
[24:41] attack another product or another technology that's.
[24:46] That's great, Abu. Abu like you know, when you're
[24:48] talking about now I want to discuss about something
[24:51] regarding the regarding a funk Fang.
[24:55] So for a professional who actually aiming to work in the
[24:58] Fang companies, OK or corporate companies, what are the key
[25:03] technical and soft skills should be their focus on which make
[25:07] them or you can say stand out in the competitive field of AI or
[25:12] cybersecurity? OK.
[25:15] Because you're already working in one of the established
[25:16] company, Microsoft. So a lot of people are aiming
[25:20] for jobs in big companies. OK.
[25:23] So what is, what is your perspective on that?
[25:27] OK, so the, you know, through what I, what I saw in, in, in,
[25:34] in doing interviews, it's, you know, one of one of the, one of
[25:40] the essentials of, of, of, of working in, in fans or big
[25:45] corporates. You need to understand the, the
[25:48] flow of, you know, and the, the flow of, of having a software
[25:54] like the software engineering that you know, the cycles, how
[25:57] it goes, how it works and dealing with cross functional
[26:01] teams. Like, how can you communicate
[26:04] with others not in your profession like me, you know,
[26:09] when you talk, when you, when you are talking to someone in
[26:11] security and you are trying to explaining to, to explain like a
[26:16] chain of two vulnerabilities and you know, and getting, getting
[26:21] account takeover. It's easy to to talk to someone
[26:25] in the same profession. But when you talk to someone not
[26:29] in your profession, maybe someone is not technical at all
[26:32] and you are trying to, to, to explain what have you found and
[26:39] everything and trying to, to talk the same language.
[26:41] If you're talking to someone you know has a business role, you
[26:46] need to, you know, you need to like tweak your explanation into
[26:51] the business. So this is also in the
[26:53] consultation, but it's, it's more in, in, in, in the
[26:57] corporate world when it comes to understanding how actually
[27:03] product is built. OK, because you will be part of
[27:07] this like when you when you join any company that they are
[27:12] working on products, you will be part of this product.
[27:15] So you need to understand how actually they build the
[27:19] products, what is essentials and what is not.
[27:22] And you know how you actually treat security in this managers.
[27:28] So it's you know, it's, it's a mix of technical skills and
[27:33] softer skills. But when you know if, if we are
[27:37] talking about which is more important is the communication,
[27:42] like communicating with other people.
[27:44] And this is like 20 percentage of the work you're doing, like
[27:49] 20% of of your work is communicating with others.
[27:53] And it's not about English, but it's all about how you
[27:55] communicate your statements, right?
[27:57] Yeah, yeah. You communicate to others and
[28:02] you know, it's, you know, teamwork and teams work.
[28:06] It's not only one team because you talk with everyone working
[28:10] on a on a product and the products are massive.
[28:14] So there are many teams you need to communicate with.
[28:18] Excellent. And and in your In your
[28:20] experience, how can Red Team leverage AI both as a tool and
[28:25] as a threat to enhance the security practice?
[28:28] And what are the ethical considerations they should
[28:31] involved? OK, so as we discussed the the
[28:36] usage of of AI for teaming and you know how folks actually use
[28:42] it. So when it comes to using AI
[28:46] actually to enhance the the operations, we can use it in the
[28:51] booting stuff like, you know, like documenting.
[28:57] Documenting is, you know, it's, it's one of the one of the
[29:01] things are, you know, it's it's boring for us, like for
[29:04] technical guys. Yeah.
[29:07] And so AI is is very helpful in this like using it for
[29:11] documentation, automating the the reporting and everything.
[29:15] And also you can use AI now for you, you can actually talk to
[29:21] someone like the AI to just do your framework, the framework
[29:26] you are using everyday in in into your job.
[29:30] And you're you're not obligated to to write a code and you're
[29:35] not obligated to use the same thing everyday.
[29:38] So you just use the, you know, one of the products you just ask
[29:44] for, you know, I want framework consist of 123 doing this, doing
[29:49] that and the output should be in in this like in this form.
[29:54] So it's, it's, it's, you know, it's nice to, to use AI in, in
[30:00] those things. That's, that's, that's basically
[30:03] great. And and when it comes to this is
[30:05] a bit slightly off the topic question, but I thought I will
[30:07] ask you and thanks for, you know, for sharing the insight on
[30:11] the AI based usage and all that. And with that continuous, I have
[30:15] one question here is an AIA lot of enterprise are facing issue
[30:18] with data poisoning. OK, So how do you approach the
[30:21] challenge of data poisoning and adverse attacks on AI models and
[30:28] definitely if enterprise facing data poisoning, red team was
[30:32] also facing a data poisoning to make sure they're using the
[30:34] right exploit to access the AI? So.
[30:38] How do you see this approach and how do you manage this challenge
[30:41] of data poisoning? OK, So you know, if, if you are,
[30:47] we are talking about the, the platform security that actually
[30:52] handles the, this part of AI security.
[30:55] So it's, it's the regular security, like the the regular
[30:59] infrastructure security. If if you are using Azure, so
[31:03] it's you know, it's cloud security.
[31:05] So you need to review the permissions, you need to audit,
[31:09] you need to see the, the data flow.
[31:12] And you know, it's, it's the same process as, you know, any,
[31:17] any kind of security happens on on cloud and also in, in the
[31:23] model itself, like you, you should have like a filtration.
[31:28] What should I accept from the user and what, what I shouldn't
[31:32] accept from the user? And also it depends on on
[31:35] classifiers, but it's it's like a, you know, cat and mice game
[31:40] like like like evasion. If you are, you know, today I I
[31:45] can't bypass like XEDR tomorrow I can't bypass it.
[31:49] But the day after I come with, you know, what is another
[31:54] payload that I can bypass the the EDR.
[31:57] So it's the same like you, you are trying to enhance this, but
[32:02] data poisoning it's, it's not easy.
[32:05] It's it's not very easy to poison a model because you know
[32:09] the, what happens in the back end.
[32:11] So it's, it maybe it happens to like the early version, you know
[32:18] the, the beta version. Maybe if if they are not taking
[32:21] consideration into the security and how they handle the
[32:24] information coming from the user and how they handle it in the
[32:28] back end is there is filtration or not?
[32:32] So it happens, but it's not easy.
[32:34] And also if you know, it's, it's great to mention that one of the
[32:39] attacks to, you know, through using models, it's it's like a
[32:46] supply chain attack. Like someone actually like one
[32:51] week ago was hosting a model on hugging face and this model
[32:56] actually containing a back door. OK, OK, so this is one of the
[33:03] challenges you face. Like you download the model and
[33:07] you're using the model and someone actually inside your
[33:09] network and you don't know. And this is, you know, this is
[33:13] because the the serialization or the the bickel files.
[33:18] This also can poison you, your your data like you you are you
[33:22] are waiting for some responses, but someone in in the middle,
[33:26] you know, feeding you with another data and poison your
[33:30] data. So yeah, it's, you know, it's
[33:34] everyday. Data poisoning will be the
[33:36] nightmare in in society. Let's just imagine who is your
[33:39] dad? Who is your mother giving a
[33:41] different information? Yeah, and also it's, you know,
[33:45] if if someone crazy enough to launch an attack to poison the
[33:48] data, maybe he can like, you know, having like dozens of
[33:54] websites and you know, was a good CEO and this website maybe
[33:59] websites saying a false information about maybe an event
[34:04] happened, maybe an incident. And what LLMS does do in in this
[34:11] manner when you when you are trying to to get information
[34:15] outside their, their data set, just, you know, searching on the
[34:20] Internet. So they came to you with a false
[34:23] information. But yeah.
[34:26] That that is was that's. Crazy.
[34:27] Yeah, it's possible, yeah. And, and, and then, you know,
[34:32] thanks for the sharing that the insight on the data poisoning
[34:36] and you know how it is how easy for the any offensive expert to
[34:42] do the data poisoning, especially when it comes to the
[34:45] enterprise AI like Google AI or and all that.
[34:51] Yeah. It's not easy.
[34:54] It's not easy to do this. Yeah, it's not easy.
[34:56] And also to you know, if you're trying to test, it's not a
[35:05] manual test like you, if you are doing manual test to this, it
[35:09] will take forever, OK. You can use a model to attack a
[35:13] model like you are hosting your own model and you have your own
[35:19] prompts and scoring system and etcetera and attacking another
[35:24] model to, to doing the assess to do the assessment If if you are
[35:28] doing this in an AI rat team. So it's yeah, in, in, in data
[35:34] poisoning. It's not easy.
[35:36] It's not easy to to poison a model.
[35:38] Yeah. But in the pinteresting
[35:39] requirement we we we consider this also data poisoning
[35:43] assessment. And then testing.
[35:46] In a red teaming like do we add this in a checklist that we have
[35:52] to add data poisoning assessment and all that?
[35:56] Yeah, it's, it's one of the tag vectors you you're going to try.
[35:59] But it, it depends on the product size and if it's very
[36:04] big product, it's not easy to do this because you know, the, the
[36:09] faces they have for the data, you know, it's it, it will be
[36:16] having like, you know, access controls and filtration and
[36:19] everything. But maybe if someone, if someone
[36:22] like using, using a model and this model have like their own
[36:28] system prompts and you like, you can actually poison those, those
[36:32] system prompts like injecting your own system prompts.
[36:35] And this, this actually can, you know, you, you can, you can see
[36:40] this in, in one of the examples actually Johann mentioned in in
[36:46] in Bruce, the acting blog. You can see he injected like
[36:50] many, many big models, but in, you know in in the earlier,
[36:55] earlier versions because it was new and people just trying to
[37:00] understand what what possibly could go wrong.
[37:04] OK, And then if I if I, if I ask your opinion, A5 attack vectors
[37:10] against AI, what are those five vectors?
[37:13] Let's let's, I want what 5 parameters or so not parameters
[37:18] or you can say attack surface input points to get hack AI
[37:26] system. So do this, you know what, what
[37:29] is your viewpoint on that? What, what, what do you think?
[37:31] What are the top five attack factors we can consider to
[37:33] penetrate the AI? OK, so the the most famous one
[37:37] is the prompt injection fine like this is the the the most
[37:41] famous one. And also it's like the direct
[37:44] prompt injection and the indirect prompt injection and
[37:48] also the, the prompt leakage if you can leak actually the, the
[37:53] system prompts and the prompts that they have in, in the back
[37:56] end. And also this happens because
[38:00] of, you know, some of the hallucination, like
[38:03] hallucination is actually one of the, of the vulnerabilities came
[38:07] from the machine learning security, like the, the machine
[38:10] learning folks when they are trying to make sure of the model
[38:15] real ability, they, they try, they, they do the hallucination
[38:19] test. So they are trying to see when
[38:23] the models actually hallucinate and, you know, reach the, the,
[38:29] you know, the trying to, you know, to say some stuff actually
[38:34] not not true about, you know, maybe advices like some of the
[38:41] big models actually said, you can, you know, cigarettes are
[38:45] are good for your health and you know, stuff like this.
[38:49] So they do the testing for this also and also the model
[38:53] backdooring. As we mentioned, this is one of
[38:56] the tag vectors you can, you can actually see and there is the,
[39:02] the scanners. I I can't recall the name, but
[39:05] it it does the the scanning for the beacon files to to be sure
[39:10] of what what the files are used in the model.
[39:14] Also the data poisoning as you mentioned.
[39:17] And also if like third party attacks, third party attacks for
[39:24] the blog insurance. If there is blog insurance used
[39:27] in in this LLMS, it actually increase the attack surface and
[39:31] you can attack it through the LLM.
[39:34] And also there is many injections like the prompt
[39:37] injections. Actually it's you know, there is
[39:40] variety of prompt injection you can actually make.
[39:44] You can make a phishing link through you know, LLM.
[39:49] It can help you to, you know, to achieve one of the, you know,
[39:55] one of the, you know, malware development stuff and it's
[39:58] considered like from the AI ethical.
[40:02] You know, terms it's it should be like, it shouldn't be help
[40:06] you in in creating malware because it increases the IT
[40:12] increases the the the threat, like if someone actually can't
[40:15] write the malware. So here, yeah, we have the we
[40:19] have the the AI to help you in, in, in doing this.
[40:23] That's that's great. And I think because the reason
[40:26] is in one of the projects we're talking about this control list
[40:31] and all that. So thanks, thanks.
[40:33] And I'm sure it will be very great insight for me to use in
[40:37] my assessment. And thanks.
[40:39] Thanks, Abu. And it, you know, it's really
[40:42] great to have a session with you where I got a great insight on
[40:47] AI and cyber. And can we have one more session
[40:51] which talk about practical assessment and to end on that
[40:55] teaming with AI approach? Yeah, yeah, sure.
[40:59] We we can coordinate on this. Yeah, thanks.
[41:02] Thanks Abu. Thank you so much.
[41:03] Do you do you have any, any last minute pointer you want to share
[41:07] with the the people who watching this podcast?
[41:11] Yeah, actually 11 advice is to is to start and never, never
[41:19] look for the the best way because there is, there is no
[41:22] best way. Everyone has their own way into
[41:25] the, you know, learning, testing and everything.
[41:28] And this is what what makes everyone unique and different.
[41:33] So you need to start and stop. Stop asking about the best way
[41:38] to do XYZ. And there is a one question I
[41:43] wish I can discuss that if you, if you allow me, what do you
[41:46] think? What is it now?
[41:47] 25 career aspects we can see for cyber with AI with red teaming
[41:53] approach. OK, so you are asking about the
[41:59] the effect of AI or the? No, no, no.
[42:01] The, the, the, the, the upskilling, OK, what the future
[42:05] team must need to have, because now they're going to see 80 to
[42:10] 90% of AI operations and all that.
[42:12] So what do you think? What are the future skills need
[42:15] to require for their team MERS when they're doing an
[42:17] assessment? Yeah, actually the you know, the
[42:22] skill set is every year it's you know going up like the the
[42:28] requirements are crazy now like it's you need to know like
[42:34] dozens of stuff to to be able to land the job.
[42:38] Now, if if you are talking about someone senior level and want
[42:42] want to work in in drug teaming, you need to know you know about
[42:46] the malware development. You need to know the, you know,
[42:49] the, the Ben testing, how you can do penetration testing and
[42:54] also understand the, you know, direct team and how you can
[42:58] actually operate inside an operation.
[43:01] And also one of the, the things you should have as a rat teamer
[43:06] is the, the critical thinking and the problem solving.
[43:09] Like how you can actually come with an idea when you hit a
[43:14] wall, like you know when you hit the wall in in an operation, we,
[43:18] we do the brainstorming and someone come with a crazy idea
[43:22] and no one actually thought about it before.
[43:25] And this happens also. So yeah, like the, the
[43:32] requirements are tough and it's, it's a thing we can't control.
[43:39] But the, the competition is high everywhere.
[43:42] Like it's, it's not, it's not depending on the region now,
[43:46] like if we are talking about Egypt, Middle East, Asia,
[43:49] Europe, US, the competition is, is crazy and the requirements
[43:56] are high. But you know, don't stop.
[43:59] Don't stop learning. Thanks, thanks.
[44:02] Thanks everyone. Thank you for sharing a great
[44:05] insight on the red teaming assessment with AI approach and
[44:09] thank you for coming and taking all the time in a weekend.
[44:12] And we really, really appreciate for the the efforts that you're
[44:15] doing on the AI red teaming and assessment and keep doing that,
[44:19] keep inspiring us which and make us more, more work to do.
[44:24] OK, this guy is doing this much. So we should do more.
[44:27] And we're looking forward for more podcasts on that Abu.
[44:30] Yeah, thank you. Thank you for hosting me.
[44:32] Thank you, Abu, and we're looking forward for future
[44:34] sessions. Thank you.
[44:36] Thank you. Good day.
[44:37] Bye. Bye.

Shows are listed from Apple Podcasts' charts and directory, and Podcast Index where it is used. Every show and episode belongs to its publisher and plays from the publisher's own feed; this site hosts none of them.
