# AI Revolution: Navigating the Offensive and Defensive Digital Divide

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 20 Mar 2026, 55 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/117213617/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-2-20%2F60586e04-3e21-9e8c-e32a-1698375948c5.mp3

In an era where artificial intelligence (AI) is revolutionizing the way we live and work, ensuring the security of generative AI technologies is paramount. Join Mr. Harshil in "Enable Secure Generative AI" as he dives deep into the world of AI, offering expert insights on leveraging AI for enhancing security measures and mitigating risks.Harshil Shahhttps://www.linkedin.com/in/harshil-shah-004/?originalSubdomain=ae🔍 What You'll Learn:The Fundamentals of Generative AI: Understand what generative AI is and how it's transforming industries.Offensive Uses of AI: Explore how AI can be used as a tool for offensive strategies, including cybersecurity attacks and data breaches.Defensive AI Strategies: Discover how AI can defend against threats, secure data, and protect digital infrastructures.Best Practices for Secure AI Deployment: Gain valuable knowledge on deploying AI technologies securely to avoid vulnerabilities.Future of AI Security: Mr. Harshil shares his predictions on the evolution of AI security measures and technologies.Whether you're a tech enthusiast, an IT professional, or someone curious about the potential of AI, this video will provide you with a comprehensive overview of how to harness AI for security purposes, along with the ethical considerations and challenges faced in the field.🔗 Stay Connected:For more insights on AI and security, subscribe to our channel and hit the notification bell.Follow us on \[Social Media Platform\] for updates and more content on AI technologies.✍️ We Want to Hear from You!Share your thoughts on AI security in the comments below. Have you encountered any challenges or successes in implementing AI strategies? Let's start a conversation!

## Transcript

[0:15] Hi team, welcome to the session on Coffee with Prab.
[0:18] And today we have a special guest, Mr. Harshil Shah.
[0:22] When you're talking about the introduction of Herschel, before
[0:25] I talk about his past, let me tell you what is present, OK?
[0:28] Very active guy right now in a lot of conferences.
[0:31] So I think B side is basically one of the one which he's
[0:34] actively involved. And he was in a news last year,
[0:38] OK, where he basically got the first position.
[0:42] And I think CTF, right, it's more like a cyber.
[0:44] Yeah. But the interesting part about
[0:47] Herschel is basically he started his journey from AI and data
[0:51] science, right? Hershel, correct me if I'm
[0:52] wrong, and from AI and then he did the transition to
[0:58] cybersecurity where he hold multiple certifications like
[1:02] OCIOSCPCRTP. And the best thing is, which I
[1:07] like about one of the certification is this guy is
[1:09] also a CSSP. So team, if you can see the
[1:12] pattern, you know, came from a background of data science, AI
[1:16] and then move to the cybersecurity where he was into
[1:21] red teaming. He do red teamings also and
[1:25] holding then certification like OSCP, which is I think dream
[1:28] certification for every pen tester and CSSP also at the very
[1:33] young age. And, and one more important
[1:36] thing is that currently he working for the, for the company
[1:39] in Middle East where he involved in AI and all that.
[1:41] And today, I believe this is the first kind of a video we are
[1:44] building. We'll be talking about AI Gen.
[1:47] more from the impact of offensive and defensive.
[1:49] So thanks. Thanks Rachel to taking all the
[1:52] time for this particular session.
[1:53] I'm sure after this video, my subscriber count is going to be
[1:56] increasing. You also doing a lot of sessions
[1:58] on offensive in Indiana. I can see that some trainings
[2:01] are lined up in April also. That's correct.
[2:04] Thanks, Rob. Yeah.
[2:05] I'm, I'm, I think training at besides go on the end of April.
[2:11] So watch out for that space. It's purely the teaming based
[2:14] training that's going to be coming for folks who are
[2:17] interested in how to obtain initial access in organizations.
[2:21] So that's that's going to be an interesting one.
[2:23] Thanks. Thanks Sashil.
[2:25] See The thing is the team today's session we're talking
[2:28] about the AI Gen. or AI Gen. you know with the impact of of an
[2:31] offensive and defensive. What is the role of AI Gen. in
[2:34] the offensive and defensive? And it's more from a disruptive
[2:37] perspective. Now why this session is
[2:39] authentic? Because the guy who's sitting in
[2:42] front of me, he's basically came from my AI background.
[2:45] So it's not something OK, he came from BCA and then he did
[2:49] offensive and then he learned for six months data science and
[2:52] then he become engine know he spend his great good amount of
[2:56] time he did he did studies in AIAI and data science.
[2:59] So I'm sure this session will be a insightful session where he
[3:03] will share his thoughts and his wisdom, his knowledge, his
[3:06] experience on AI Gen. and how it is basically playing important
[3:10] role in cybersecurity. So Hajin, over to you.
[3:13] We're talking about this buzzword AI Gen. or AI.
[3:16] So could you please explain this to this people who are watching
[3:21] this video who came from a background who have a 0
[3:23] visibility about data science and cybersecurity?
[3:26] For sure. Thanks, Bob.
[3:28] So brother, Gen. AI or as we call it generative
[3:31] AI, for sure has been a game changer for not just
[3:35] cybersecurity, but world full of domains, right?
[3:39] You can say copyright, marketing, sales, every domain.
[3:43] Gen. AI has been a game changer for
[3:45] risk and security, especially owing to its factors like boost
[3:49] to productivity, the security data accessible via prompts,
[3:54] risk predictions, task automation, and a personal
[3:59] favorite is the lowered bar for entry, right?
[4:02] You, you need to do less amount of research to be able to
[4:06] perform complex tasks because information is so accessible at
[4:09] your hand. And if we see, it's almost like
[4:14] a landscape shift that has happened, right?
[4:17] Because earlier there was a time when artificial intelligence was
[4:22] this thing where people were very scared of it's, it's like,
[4:25] oh, robots are going to be taking over something and let's,
[4:28] let's not use artificial intelligence.
[4:31] However, now it's almost as if a product, if it does not embed AI
[4:37] principles, it's, it's considered uncool, right?
[4:40] So AI is become that key component for every product to
[4:45] even be able to sell itself in terms of unique selling point
[4:52] coming to generative AI specifically, right, which is a
[4:56] very specific category of artificial intelligence.
[5:00] And for the viewers, maybe in a second, I'll, I'll just clear
[5:03] these different terms. AIML deep learning, right?
[5:09] So AI is essentially the science that is devoted to making
[5:16] machines think and act like humans.
[5:19] That's the overarching bracket within which falls machine
[5:23] learning. And in machine learning you are
[5:27] essentially enabling computers to perform tasks without
[5:31] explicit programming, right? So you don't need to program a
[5:36] specific code to be able to predict something.
[5:39] They want computers to learn from existing data using certain
[5:43] mathematical functions and then predict for data that the
[5:47] computer has not seen yet, within which comes another
[5:52] technique called deep learning, right?
[5:54] So it's a subset of machine learning that works on a
[5:58] specific technology called artificial neural networks,
[6:01] right? And artificial neural networks
[6:04] from that's very terminology is intuitive that it has something
[6:09] to do with neurons, right? And that's essentially what it
[6:11] is. Neurons in our brain are
[6:14] connected to each other in multiple different connections.
[6:17] And essentially, artificial neural networks are also just
[6:21] nodes and nodes and nodes of data and other mathematical
[6:26] values that are connected to each other to derive the best
[6:29] features from the data given to it and be able to extract
[6:35] information in a way that allows them to predict new data.
[6:41] OK. Right, so this is AI MLN deep
[6:44] learning. Now, Gen.
[6:46] AI is a subset of AI that focuses on producing new
[6:51] content. OK, right.
[6:54] Generative AI, it can use algorithms or like stable
[6:58] diffusion, etcetera. And ultimately what it is doing
[7:01] it is generating outputs such as text output, images, music,
[7:05] audio, right. So I, I, I've constantly been
[7:08] looking at some very, very cool AI tools coming up these days,
[7:11] not just ChatGPT and Gemini, but I think things like mid journey,
[7:16] things like beautiful dot AI, which are creating automatic
[7:19] presentations at this point, we are things like mid journey,
[7:22] which are generating brilliant quality pictures that are used.
[7:27] So generative AI is essentially learning patterns from the data
[7:33] and it's using it for new content.
[7:37] And the fundamental technology. I'm, I'm not going to get into
[7:41] the exact way the algorithm works, but at an overarching
[7:45] layer, the fundamental way that it is built is something called
[7:51] generative adversarial networks, which people in data science
[7:55] called GAN, right? So generative AI, it uses deep
[8:00] learning called GAN to create content.
[8:03] And GAN in essence is a combination of a generator and a
[8:07] discriminator. So your generator is creating
[8:10] content while your discriminator is evaluating content, right?
[8:15] So both of them are at a rat race with each other.
[8:19] But the end result is when generator and discriminator are
[8:22] fighting to get content filtered out of each other, the result is
[8:27] getting better. OK.
[8:29] Right. So generator is producing
[8:31] content which discriminators find a little difficult to
[8:34] evaluate and discriminators are evaluating at a stricter
[8:38] criteria for the generators to produce better content.
[8:41] And this is the whole system in which generative AI is working
[8:46] to be able to produce content that is unseen yet.
[8:49] So for the viewers who are watching this video, you know to
[8:54] understand more layman term. So can we take an example where
[8:57] you can explain OK, so this is the input you can basically add
[9:00] and this is how it react. Is it OK just?
[9:04] Sounds good. Yeah, I think at a initial day
[9:08] of JGBT, right, when you ask it to give you some Microsoft
[9:12] licenses, right, it it would randomly generate a few licenses
[9:18] and according to some articles they been working with have
[9:20] worked in the past, right? Yeah.
[9:22] So that was the generator doing its job and the discriminator
[9:28] being bad at evaluating the content at as potentially
[9:32] malicious or potentially confidential.
[9:36] However, over time it is difficult to do the same thing
[9:40] because the generator is still generating licenses.
[9:44] However, evaluators have now gotten better in evaluating the
[9:48] confidentiality of the content, the criteria beyond behind which
[9:51] the prompt was sent. So that's a real world example
[9:56] of how generators and discriminators are working to
[9:59] produce more and more quality data using generative AI.
[10:03] And that is the reason you know, or I believe, correct me if I'm
[10:06] wrong or shell. That's why there's an importance
[10:08] of AI governance come into the picture, which basically control
[10:10] this if data and all that you know, make if you take example
[10:14] of if I purchase a robot, I don't know whether you have seen
[10:18] this movie as Nikon movie robot robot Part 1 where he build a
[10:22] robot and he instructed the robot how to react.
[10:27] So normally what happened without, if he just acquire the
[10:30] AI without any governance, it will start giving any random
[10:34] information or it basically, you know, it will sometime it won't
[10:38] be biased to provide the you know, or he will basically or
[10:41] she, the robot will basically support one particular character
[10:44] will not support other characters.
[10:45] So somehow in the ChatGPT also we're talking about other AIS.
[10:51] So you're saying that OK, we are, we are improving
[10:55] discriminator so that you know we can get the finding content
[10:58] and that is the reason we have a governance now where we building
[11:01] our functions trying to improve this output and all that,
[11:03] correct? That's correct.
[11:05] That's absolutely correct. So I think at a global level,
[11:10] the requirement for AI governance has only quadrupled
[11:15] in a very short span of time. So yeah, you're right,
[11:18] absolutely, in the sense that we do not know the full knowledge
[11:24] of what could be the comprehensive things and impacts
[11:28] of using generative AI in an organization, which is why
[11:32] continual and agile way of governing AI is very, very
[11:36] paramount for every organization currently.
[11:39] That that's great. So if you see from a security
[11:42] perspective, you know, how do you see the AIAI Gen.
[11:45] So can we spend some time on that area because that is the
[11:50] core part of this session. So how do you see the
[11:52] cybersecurity here? How do you see offensive or GRC,
[11:55] whatever? So what is the importance of a
[11:58] agent in the cybersecurity or how it can be used as a now in a
[12:02] positive and a negative manner? What is your viewpoint on that?
[12:08] We know positive manner, right? Of course, we use chargeability
[12:11] for some of the most trivial task.
[12:13] And in fact, it's so easy to use.
[12:15] My mother would create ChatGPT based messages to wish me CISSP
[12:22] felicitations, right. So that's that's how easy it has
[12:26] gotten. And that's that's how fast the
[12:29] adoption of Jenny I is been. But we have to notice that
[12:34] generative AI is disruptive because of one specific nature,
[12:39] which is it's massive adoption. ChatGPT was adopted by
[12:45] record-breaking number of users in just a span of two months.
[12:49] No other technology in the history of the technology
[12:52] landscape has been adopted at such a massive rate.
[12:55] What really are the security risks?
[12:58] Why should we care? Two things.
[13:00] One, new risks are being introduced in doing so, right?
[13:04] We have things like prompt engineering and SSRF on steroids
[13:10] coming up when Gen. AI comes into factor.
[13:12] But we also need to look at the second factor, which is the
[13:15] existing risks are now amplified, right?
[13:19] The people used to do phishing ever since Internet was there
[13:22] and e-mail was provisioned. People used to do fishing.
[13:25] However, when we are delivering security awareness programs at
[13:28] organization, some of the things that we generally train the
[13:31] employees on are to catch false domain names, catch spelling
[13:35] mistakes, catch the sense of urgency.
[13:38] Using Jenny I. However, you are now able to
[13:40] create such sophisticated fishing content in the very
[13:44] style of a specific organization.
[13:46] So that's a very, very small use case, but that just goes on to
[13:50] show how easy it has become to amplify existing risks because
[13:56] of the technology evolving at a rapid rate.
[13:59] And unfortunately, cybersecurity teams are behind the curve when
[14:04] we compare it to the rate of adoption at organizations of
[14:08] this generator AI products. And this ties back to why we
[14:13] need to regulate artificial intelligence, right?
[14:15] This, this calls to regulate generative AI.
[14:19] Since ChatGPT exploded in popularity and potential misuse
[14:24] such as spreading misinformation, enhancing cyber
[14:27] attacks, These things are happening and regulation may
[14:31] differ, right? The regulation, whatever it may
[14:33] come, maybe we have a gold standard regulation coming in
[14:36] the next few years. I don't know.
[14:37] But the regulation may differ, but the goal is the same, which
[14:42] is how can the benefits of AI be leveraged while minimizing the
[14:50] risks it presents to the society?
[14:53] OK, nobody is going to just ban AI right?
[14:56] Like how Italy did. Italy also is now welcoming
[15:00] generative AI, right? ChatGPT is back in Italy.
[15:02] So banning AI is not the solution.
[15:05] It's going to be as good as banning computers, right?
[15:09] So when computers came, of course it was for good reasons,
[15:12] but that was a misuse angle to it always this technology is
[15:17] like the same way It's it's going to have its own pros and
[15:20] cons and as a cybersecurity professionals are going to have
[15:24] to try harder to get the society to feel safer.
[15:29] That's, that's my view on the positive and the negativeness of
[15:33] generative AI. So I hope that answers your
[15:37] question. Yeah, yeah, yeah.
[15:39] And and condemnation with this question, same question is as
[15:43] you said, you know, you know we are using AI, are we using
[15:46] ChatGPT to send an e-mail and all that we generating A
[15:50] phishing e-mail by the ChatGPT and all that.
[15:53] So how do you know now if I say, if you take an example of our
[15:57] offensive and defensive, whether it's a pen testing red teaming
[16:01] 4:00 and 6:00 and all that. So how do you see the
[16:04] perspective of this area, how they going to use AI and how AI
[16:09] will be used against them? If I am a hack like as you told
[16:13] about you know the AI can be used to generate a fishing.
[16:16] So it is more like offensive practice.
[16:17] So will it be improving the productivity also for a cyber
[16:21] defense or offensive or and if yes, if it's yes how?
[16:27] And 2nd is can the hackers or the the adversaries and all
[16:31] that, how they're going to use this and how it can be a
[16:35] negative impact on the organization?
[16:37] How do we have such tools in the future which can detect such
[16:40] kind of pattern? Because right now what happened
[16:42] in ChatGPT, now we have AI which can detect the AI content.
[16:47] You know, I don't know whether that notice in last one six to
[16:51] seven months you have seen a lot of people become philosopher and
[16:54] author in the LinkedIn and they're just sharing a big
[16:57] article and you know, it's not possible in a day-to-day job.
[17:00] You can write such big dog and come on, it is AI content.
[17:05] So now we have a tool to get the AI content.
[17:07] So my question is if AI is basically used for offensive, do
[17:12] we have a tools in the future or do we have a tools currently who
[17:15] can check this AI aspects and how the AI can basically give up
[17:19] have a positive or negative impact on the cybersecurity?
[17:23] OK. So see I think short answer for
[17:29] your question is there is no silver bullet, right?
[17:31] There is no one stop solution to stop AI based risks.
[17:36] And and to understand this a little further, I think I have a
[17:41] lot of security risks of AI ecosystems based things to
[17:46] discuss today. So maybe it would be a good
[17:48] segue to get into at that point. But let's let's start by
[17:53] understanding that organizational leaders who have
[17:59] the ultimate liability in controlling matters of
[18:02] cybersecurity, what are their top challenges when it comes to
[18:05] generative AI? They are generally of four
[18:08] types, right? One, who is using this
[18:12] technology in the company and for what purpose, right?
[18:15] If people are using ChatGPT, what are they using it for?
[18:19] Are they putting some confidential data on to ChatGPT
[18:22] and asking them to analyse it maybe right.
[18:25] A lot of companies are doing it. Secondly, how can the person,
[18:29] the organizational leader and it's cybersecurity team protect
[18:34] the data when employees used in AI?
[18:36] Third, how do we manage the security risks of generative AI?
[18:41] Because like we said, banning is not the solution.
[18:45] So which is going to lead to the 4th question is how can we
[18:49] balance the trade off between security versus the productivity
[18:53] of this new tool? Because if security is going to
[18:57] be so strict in generative AI, then it's going to be a blocker
[19:01] for organizations because then the other organizations were
[19:04] using generative AI will get the competitive edge.
[19:08] So security is at a very diplomatic point.
[19:13] They cannot completely stop it, but they cannot also give full
[19:17] access that, you know, go ahead, do whatever you want to do with
[19:20] public large language models. So let's let's start by
[19:23] understanding a few security risks that are very, very common
[19:26] in at least my personal experience, right?
[19:28] And one of the key things that we need to consider when it
[19:33] comes to generative AI is its aspects of privacy and
[19:37] confidentiality. OK, a very recent case of
[19:44] Samsung, right, was that the software engineers put some
[19:49] proprietary code on ChatGPT and you know that was that that was
[19:53] leaked. So they they pushed their
[19:56] proprietary code onto a third party data deciding location.
[20:01] So so employees using Jenny I are providing sensitive
[20:05] information to the model that can be source code.
[20:07] They are trade secrets that could be customer information.
[20:11] And again, it ties back to. The fact that the AI adoption
[20:15] has outbased the user awareness, right?
[20:19] And the impact of this is that it will trigger compliance
[20:23] issues with you could say HIPAA, GDPRPCIDSS, whatever, right?
[20:28] All sorts of things. Even you may observe things like
[20:31] you know, please optimize this code.
[20:33] A developer will be coding and he will put his code and tell
[20:37] the LLM to optimize it. Or or maybe someone who is
[20:41] non-technical, they will say please take this meeting
[20:44] transcript and make minutes of meeting from it, right?
[20:48] Or or take a strategy of this specific confidential land and
[20:52] summarize it in one paragraph. So all, all sorts of things are
[20:56] happening. Now what happened in these kind
[20:59] of privacy and confidentiality related issues is the one stop
[21:06] solution is to ban Jenny I which is not a possibility and
[21:09] regulations will take time. Currently what we can do about
[21:13] it is user awareness. First thing we need like how we
[21:17] are doing security awareness sessions for phishing and all of
[21:21] the social engineering techniques.
[21:22] We need to have a user awareness for what is and is not allowed
[21:27] for using generating chargeability.
[21:29] Or any AI Very good. Point any AI, secondly, we need
[21:33] technical controls at an organizational level to prevent
[21:36] things like data leakage or, or you can implement security
[21:41] brokers, right? We, we, we did this when cloud
[21:44] was also having similar kind of concerns while back right, when
[21:48] cloud came into play, everybody flipped because hey, how am I
[21:52] going to put my data on somebody else's servers?
[21:54] But then now cloud is booming, right?
[21:56] They manage the security risks of it to a certain extent.
[22:01] A very good thing that organizations can potentially
[22:06] advocate towards is to have their locally hosted versions of
[22:11] LLMS and other Geneii tools. So instead of using public APIs
[22:16] or, or having an Internet connectivity with Geneii tools,
[22:20] it would be rather much more control of the organization if
[22:25] the organization just takes, let's say an open source LLM
[22:29] model and then puts it on their on premise servers and has a
[22:33] locally hosted version of it, right.
[22:35] So that's, that's something that at least organizations that I'm
[22:40] currently closely working with are advocating towards.
[22:45] But from a individual user perspective, there are privacy
[22:49] options. I don't know how many of them
[22:51] are aware, but ChatGPT also provides a privacy option called
[22:56] Chat History and Training, which is essentially if you enable
[23:00] that option, that means that ChatGPT cannot use your data to
[23:03] train the underlying model. And we trust that.
[23:07] Yes, we, we, we don't have a choice.
[23:09] So, right, so we, we are dependent on Jenny I providers,
[23:14] which brings me to the second security risk.
[23:16] By the way, we are so dependent that a data breach of the
[23:20] provider cannot be overlooked upon, right?
[23:24] It's, it's not a theoretical thing.
[23:26] We, we saw things happen to open AI, right, where last year
[23:30] vulnerability came in the Redis database.
[23:35] The, the Redis database vulnerability was such that a
[23:40] user of ChatGPT can potentially see the history of other active
[23:45] users on ChatGPT, right? And this was the one
[23:52] vulnerability that Open AI has been a little famous for in the
[23:55] last few operating years that it has been into action.
[23:59] However, why we should care about data provider or the Gen.
[24:04] AI providers security is Gen. AI and LLMS, they are ending up
[24:10] storing huge amounts of personal data, right?
[24:12] We, we are talking to it like we are our therapist.
[24:16] However, they are also being actively embedded in business
[24:19] applications. They, they are being used with
[24:22] Outlook, they are being used with business critical
[24:25] applications. So attackers, they can now
[24:28] attack the LLM directly or it's underlying infrastructure itself
[24:33] to get organizational access because they are now embedded
[24:37] with business applications. They maybe there is some network
[24:40] segmentation level issue that is residing in an organization
[24:44] which gives a Segway for them to be attacking the crown jewels of
[24:49] the application in a sense. And finally, software supply
[24:53] chain attacks, right, software supply chain attacks can be used
[24:56] to compromise the underlying LLM that is being used.
[25:00] So how we can mitigate this? We can mitigate this in a few
[25:06] ways. Firstly, we need to formalize
[25:11] the decision to use or to not use Gen.
[25:14] AI for a specific business case. If we are allowing our search
[25:19] engines to, let's say have a open AI plugin, is that really a
[25:25] use case for it in the organization?
[25:28] If so, then they have to formalize that decision, OK.
[25:32] And wherever the formalization approach is taken, a policy
[25:35] needs to come, right. So policy around what can and
[25:38] cannot be put inside Gen. AI.
[25:40] For example, you cannot ask someone to just summarize the
[25:44] minutes of meetings by giving the open AI or Gen.
[25:47] AI the transcripts of the meeting, right?
[25:50] It could. It's a potential sensitive
[25:52] meeting. Then from organizational point,
[25:57] technical controls like anonymization, DLP, Casby, these
[26:02] need to be implemented. Most of the organizations will
[26:06] have third party security checklist and Gen.
[26:11] AI needs to be treated as what it is.
[26:13] It is nothing but a software with specific features, right?
[26:17] Gen. AI that is, is that so we need
[26:20] to extend our third party security checklist to generative
[26:23] AI, right? A further more technical level
[26:28] controls are things like threat modelling of AI systems that
[26:33] needs to come into picture, right?
[26:34] Because thread modelling is essentially a way of doing risk
[26:38] assessment itself, right? So it's, it's a little
[26:41] application centric risk assessment.
[26:44] And again, and you will hear me say this again and again and
[26:48] again, but locally hosted LLMS are something that can to a
[26:52] certain extent solve a lot of security risks when it comes to
[26:56] generative AI, be it privacy and confidentiality issues, be it
[27:01] Jenny, I provider security risks even to a certain extent threat
[27:06] actors evolutions coming up, right so.
[27:09] At least you can be able to stop external attacks.
[27:10] Yeah, we we have visibility. That's the key.
[27:13] Control. Since it is on our premise, we
[27:15] know what controls we can put. It is it is on us.
[27:19] We are not dependent on a third party or we don't have to have
[27:22] any SLA based contracts. So, so that's that's probably
[27:26] why I am such a strong advocate for locally hosted LLMS to be
[27:31] implemented at an organizational level.
[27:34] And, and, you know, recently, you know, I did some research on
[27:38] this area. As I said, I told you like you
[27:40] know, before we start this podcast, I did one small, I, I
[27:44] recorded one podcast on AI governance and I shared that on
[27:47] a Spotify. So when I was doing this
[27:50] research, one thing I discard, which I also follow the same
[27:54] advice. Like you know when you're having
[27:56] a local LLM that basically give you 3 things, one is governance,
[28:02] second is control and 3rd, we are very clear with what we
[28:06] need. But one thing which I discovered
[28:09] and correct me if I'm wrong is when you're dealing with AI,
[28:12] your one point should be clear is data minimization.
[28:15] Because more you basically use the data OK, more it become a
[28:21] vulnerable. It is say data is nothing.
[28:23] It is like attack surface for us it is if it's more exposed, it
[28:27] mean we are giving a more opportunity to get exploit.
[28:30] So correct me if I'm wrong that data minimization really play
[28:34] important role here in AI or in Gen.
[28:37] EI? Yes, to a certain extent it
[28:41] does. However, we need to understand
[28:43] the criticality of the data, right?
[28:47] Because even if the minimization of data is implemented without
[28:52] the criticality of the data that.
[28:53] Goes into Gen. EI then then it's of no use.
[28:57] So data minimization needs to go hand in hand with the
[29:01] criticality of the data that is being provided to Gen.
[29:03] EI systems. So we can say like that.
[29:06] The step one is understand the business, second is understand
[29:10] the need of the AI in the business.
[29:12] The third step, inventorize the data.
[29:17] What kind of a data are we going to feed in the LM and all that
[29:20] as a database and then define the policies and see this is
[29:23] from a governance. It is easy to say right now, it
[29:26] is easy to say verbally, OK, do this and do that.
[29:28] But yes, you are the person who basically practically
[29:30] implementing SO. Yeah.
[29:33] If a kind if a person like me who telling this OK step on this
[29:36] Step 2 this, then Step 3 is inventory of data.
[29:38] Then Step 4 is we define the policy to control AI and all
[29:41] that. One thing is on paper it is OK,
[29:45] but how practically we can do with the help of tools.
[29:48] You were saying one thing prob DLP can be used OK, but what I
[29:52] understood is DLP is something work on the layer three.
[29:55] We'll talk about the OS layers. We have a kernel, we have a
[29:59] utility, we have a drivers, we have application layer.
[30:02] So DLP primarily work on application layer and it's used
[30:05] in a different use. And when you install ChatGPT
[30:07] also or any AI, it is also working on the application
[30:10] layer. So how we control, how we
[30:12] control the data movement with the help of DLP or other other
[30:15] tools And how can we restrict this kind of data inputs in the
[30:19] ChatGPT or any other AI? How do you see that particular
[30:22] thing? That's a great question.
[30:25] So I think first I'll answer the short question, right, which is
[30:28] DLP is essentially so that certain level of confidential
[30:34] data is nowadays going through data classification at an
[30:38] organizational level, right? Your documents are being marked
[30:40] as public, confidential, restricted, etcetera.
[30:43] So DLP essentially is going to ensure a small security risk,
[30:49] which is that certain data classification levels do not get
[30:53] out of the organization, right. And of course chat GPD now gives
[30:57] us the feature to upload documents and also these kind of
[31:02] things will now be able to be prevented using DLP if it's
[31:06] implemented, right. But the very good question that
[31:10] you have asked is I have been speaking a lot about the
[31:12] technical security controls and what we can, you know, do we can
[31:18] implement CAS, BDLP, etcetera. But a true generative AI
[31:24] governance takes more than that, which is to be able to 1st
[31:27] create a governance framework. Then you need to assess the
[31:31] generative AI models and their impacts.
[31:35] Then you also need to choose Gen.
[31:36] AI providers based on security criteria.
[31:39] And then the last step is essentially examine the
[31:43] generative AI alternatives if you can and apply technical
[31:46] security controls to it. So let's, let's let's probably
[31:49] start with the first thing, right?
[31:50] So when you are in the process of creating the generative AI
[31:53] framework and, and remember I'm taking a top down approach in
[31:58] this case. So if we are starting by
[32:00] creating a generative AI governance framework, the first
[32:03] thing we need to start with is by setting a generative AI
[32:07] policy. This is very essential because
[32:10] this is set down the tone for how your generative AI is being
[32:14] controlled in the. Organization.
[32:16] Yeah. Right.
[32:17] This will set down all of your general principles, the general
[32:21] tone of how generative AI needs to be controlled in your
[32:24] organization. Then the second step is to
[32:28] establish a working group. And this, the key factor is that
[32:32] we need to have a cross functional working group, right?
[32:35] It's not affecting only the cybersecurity or the IT people.
[32:38] We need a cross functional working group that overseas
[32:42] generative AI risks from each and every specific domain.
[32:45] Even finance needs to come in. Even sales needs to come in,
[32:49] compliance needs to come in, legal needs to come in.
[32:52] IT needs to come in. Functional working group with
[32:57] the diverse domains of the organization is a must, which
[33:01] will give a go or a no go decision for Jenny I
[33:05] initiatives, right? So this is the Step 2.
[33:09] We create a policy. We set up a generative AI
[33:11] working group, then we come into generative AI risk framework,
[33:15] right? I think there is a NIST AI
[33:18] framework that is being used for quite a while now, but there is
[33:22] nothing specific to Gen. AI.
[33:23] So it becomes the organization's duty to create a risk management
[33:26] framework and identify generative AI risks and define
[33:31] risk mitigation strategy to address the cyber security and
[33:35] other concerns. And finally, Sir, when I was
[33:39] talking about all of the security controls that come into
[33:42] play, we are defining the security controls that will be
[33:46] implemented to mitigate the existing and unique risks that
[33:50] arise from the Gen. EI models itself.
[33:52] So that's the final step, doing the technical things we need to
[33:58] at a surface level clean ourselves up, which is
[34:00] generative AI policy, the working group, the Gen.
[34:02] AI risk framework, etcetera, right.
[34:05] And only if we do this, what happens is we are able to govern
[34:10] it effectively and also be agile in our process so that tomorrow
[34:15] when new and new implications of using Gen.
[34:18] AI get discovered over work to accommodate those things in our
[34:24] governance framework gets easier.
[34:27] OK, You know, I never seen such insights on the AI defensive
[34:32] part which you have shared right now.
[34:34] And I'm planning to crop this section of the video.
[34:37] I'm planning to upload this section of video separate.
[34:40] See there is an entire podcast we're going to upload.
[34:42] But this portion, I'm sure, give a more insight about the
[34:46] controls that we need in here, because the reason of asking
[34:48] this question is because I've seen a lot of research on this
[34:51] area where, you know, most of the season had this concern.
[34:54] OK, we we are we, we are struggling with, you know,
[34:57] controlling data because people are feeding the data and the
[34:59] ChatGPT and all that. And this was the answer to this
[35:02] question. So I'm sure this will be a very
[35:05] you have actually give a one medicine to the to the people,
[35:09] you know, who facing this issue with the data governance in AI.
[35:12] And thanks for that. Actually, Hershel and really
[35:15] appreciate your your pointer on that area.
[35:17] And I'm sorry, I asked you very complex question, but you know,
[35:20] it motivate me to ask because the way you explain that thing
[35:24] in initial part of AI governance framework and all that, I
[35:26] thought, you know, my continuation of this particular
[35:29] discussion will give more insight to the viewers who are
[35:32] watching this video. So my last question to you is,
[35:36] you know how offensive team CAI, like we have a cloud V test, we
[35:42] have a survey test, how offensive team can basically or
[35:47] defensive team manage the threats associated with AI.
[35:51] And let's say let's take a first step is basically offensive
[35:54] team. So offensive team is basically
[35:56] want to test the AI and all that.
[35:57] So what is an approach they will follow?
[36:00] That's a great question. Again, how offensive security
[36:03] teams are seeing AI and how defensive security teams are
[36:07] seeing AI? Great.
[36:09] I'll start with how offset teams because I personally specialized
[36:14] in offensive security. So I'll be able to provide some
[36:16] more personal insights when whenever we are challenged with
[36:22] the LLM application to perform a security assessment, it, it goes
[36:27] a little beyond the traditional vulnerability assessment and the
[36:31] penetration testing, right? Because we're not assessing on
[36:34] the OS top 10 and other standard vulnerabilities.
[36:38] We're not just looking at HTTP request smuggling or anything.
[36:41] But now there is a specific set of vulnerabilities that are
[36:45] being introduced such as prompt injection, SSRF, right,
[36:50] inadequate sandboxing. And a prompt injection is a big
[36:54] one, because prompt injection is in working nature very similar
[37:00] to SQL injection. But it's easier because you
[37:03] don't have to have the underlying knowledge of how
[37:06] Sequel works. Rather all you need to do is try
[37:09] and bypass the content filters. So it almost becomes like a game
[37:15] to be able to do prompt injections right?
[37:18] And if you are successfully able to do prompt injections, there
[37:23] are two ways. By the way, prompt injections
[37:25] can be direct prompt injection and indirect prompt injection.
[37:28] So direct prompt injections are when we are using English as a
[37:32] natural language to be able to fool the AI system and get some
[37:36] kind of privacy information, sensitive information come out
[37:39] of it. However, indirect information is
[37:42] when we know the content filters are so strong.
[37:46] But let's say in an example, we say, hey LLM, can you go and
[37:51] analyse this specific URL And that URL has a file where we
[37:58] have put commands like let's say RM minus RF, right?
[38:01] So which will delete its whole root directory itself.
[38:04] So we, we give a prompt like can you go to the specific URL and
[38:10] summarize the document that you find in that URL?
[38:13] Now we are not bypassing the content filters, right?
[38:17] We are essentially using its own functionality to be able to
[38:22] achieve what we originally wanted as an offensive security
[38:25] analyst. So prompt injections and direct
[38:29] and indirect both can be a great way for attackers to be able to
[38:33] gain access to the underlying infrastructures and the other
[38:36] components on the organizational IT that are connected to
[38:40] generative AI tools. That's that's one thing that
[38:44] offset 2 offset teams are very interestingly working upon.
[38:49] Secondly, they are using SSRF, right?
[38:52] Because SSRF primarily works on this functionality that you are
[38:58] able to leverage the trust and abuse the trust between internal
[39:04] connection. So what is SSRFSSRF is when you
[39:07] are able to access an internal resource of an organization
[39:10] using a publicly available interface, right?
[39:15] You are able to speak to Google's internal servers by
[39:18] speaking to Google as a search engine that will make a SSRF,
[39:22] right? So that's a very lame an example
[39:24] of what an SSRF is. Now, if ChatGPT is providing
[39:28] such features, and this is not uncommon, right?
[39:31] We see this happen all the time. All the new AI tools is
[39:34] essentially doing this. The use cases of AI
[39:37] summarization, you know, contextualization, these are the
[39:41] use cases of generative AI. So we are using the use cases of
[39:44] generative AI to attack itself. So in a summarization generative
[39:49] AI tool, what I will do is I will ask it to reach an internal
[39:52] server that I will not be able to access myself.
[39:56] But since I'm able to interface with the public APDI, I will let
[40:02] the trust to be abused with the internal server and then get the
[40:06] details out of that. So SSRF is now essentially on
[40:10] steroids when it comes to generative AI, right?
[40:13] So, so that's that's another very interesting vulnerability
[40:16] that offensive security teams are looking at.
[40:18] But before I go to defensive security, I wanna also tell one
[40:23] very good case study. I don't know if.
[40:27] It's it's an APT group called Black Mamba.
[40:30] Yeah, right. Black Mamba recently used Jenny
[40:35] I in a very, very interesting way.
[40:37] They used something called a Polymer polymorphic malware,
[40:41] right? So polymorphic malware, what it
[40:43] did is essentially your Edrs are so strong that generally they
[40:48] detect the memory behavior that the codes are running in and
[40:53] they are, they're doing a pretty good job at finding out
[40:56] abnormalities in the runtime environments.
[40:58] However, what happens in the case that your payload is so
[41:03] staged that at stage 1 it's a different code and at stage 2
[41:07] it's a different code, and at stage 3 it's a different code?
[41:09] Your ADR is going to treat it as a separate piece of code in
[41:13] every stage, right? Which which is essentially what
[41:16] Black Mamba did when they got the first foothold.
[41:22] It hooked to the LL Ms. API, changed the code, got to the
[41:28] stage 2 again, went back to the LLM API, changed the code and so
[41:33] on, Right. And in doing so, they were able
[41:35] to evade some of the strongest EDR vendors in the market.
[41:40] So this is another very good. And I know that I know that
[41:45] vendor, but we cannot take the name.
[41:47] Absolutely. Absolutely.
[41:48] Yeah. That it's a well known
[41:50] information, right. So it is, it is great that APD
[41:54] groups are also thinking out-of-the-box and and that's
[41:58] where the game lies. We need to be able to think more
[42:01] creatively. Like probably if somebody would
[42:03] have thought that evading EDR using Jenny I in this manner is
[42:07] possible, maybe there would have been a feature before Black
[42:11] Bomber tried to leverage such a technique, right.
[42:14] So the whole cat and mouse game is now at a whole new level
[42:20] between defenders and attackers. I I hope that that covers a
[42:25] little bit about what kind of generative AI things can be done
[42:28] on the offensive security side of things.
[42:30] Yeah. However, the defence game is not
[42:33] weak. We are seeing Edrs come with
[42:37] brilliant AI capabilities. Some of the vendors are
[42:42] extremely good at capturing patterns and finding out in
[42:48] memory maliciousness of some of the payloads that are being
[42:52] executed. And the false positive rate have
[42:56] gone extremely lower because false positive by itself is a
[43:00] whole separate concept which AI can be used not just in
[43:04] security, right? To reduce false positive in
[43:06] anything. AI has been used for several
[43:09] decades, not just AI. If even the times of machine
[43:12] learning when I used to write codes for logistic regression
[43:17] and linear regression, if from those days onwards, minimizing
[43:22] false positives has been the core usage of artificial
[43:26] intelligence. And to be able to bring that
[43:28] into defensive security is a game changer, right?
[43:31] Because a lot of the times SoC analysts have to deal with a
[43:35] huge volume of false positive alerts that are being triggered
[43:39] in their same solutions and their source solutions that it
[43:43] almost becomes a challenge to deal with what is real and what
[43:47] they can let go by. So any kind of help over that is
[43:53] great. And generative AI is one of the
[43:55] best solutions to be able to reduce the false positive rates
[43:59] as well as fight AI with the AI right.
[44:03] You, you should fight AI with AI when AI is getting stronger for
[44:07] offensive security, think how defensive security can also up
[44:12] their game by using AI to combat AI itself.
[44:17] So that's that's probably how I see the views of often defensive
[44:21] SEC teams using generative AI in organizational context.
[44:26] Do you see any, any, any transformation change you can
[44:29] see in the next 5 year the impact of AI in the offensive
[44:32] and defensive, the way we carry now recognition, scanning,
[44:36] getting access, maintaining access, creating tracks.
[44:39] So do you see as you did bit research on this area and you
[44:44] did the education in this vertical as you know the you
[44:48] know, the end to end this AI and all that.
[44:50] So how do you see the career transformation and what are the
[44:54] new things they have to learn? Because I'm sure this video is
[44:57] also watched by those viewers who starting the journey in
[44:59] cybersecurity. So what is your take on that?
[45:05] So some of the things that I am foreseeing and maybe if I am
[45:10] right, then people can comment after five years on this video
[45:14] saying, hey, here was the first version of when someone said it.
[45:17] But what I think will happen is probably we'll see new, new
[45:21] things like LLM firewall come out now or right.
[45:26] So LLM firewall will be like how we have web application
[45:29] firewalls being placed at layer 7 level to be able to combat
[45:33] with layer 7 attacks. Similarly, we'll have LLM
[45:37] firewalls which will be very specific to combat against LLM
[45:40] based attacks, right? So LLM attacks are essentially
[45:45] very different when it comes to web application attacks.
[45:49] You're, you're at the risk of data poisoning.
[45:53] Yeah, right. So when you're training data is
[45:55] poisoned, the model is essentially at a functionality
[45:59] level ruined. It is producing false content
[46:03] because it is trained upon false data.
[46:06] So LLM firewalls are something that people start to place in
[46:10] their AI pipeline where the data engineering segment will be
[46:14] there, then there'll be a train the code segment, then there'll
[46:17] be API code segment. And at each level we'll see LLM
[46:21] firewalls being placed. And soon it will also become
[46:23] like a component of threat modelling that comes into play.
[46:29] I think either that or the current application firewalls
[46:34] will extend it's features to LLM.
[46:36] One of the two will happen for sure.
[46:39] And and and from the defensive point of view, if it so if I
[46:42] take take example from a career progress, career progression
[46:45] perspective, what do you think? What is the new skills the the
[46:49] aspiring red teamers and offensive defensive team they
[46:53] have to learn to combat the threats associated with the AI?
[46:58] OK. That's a great question because
[47:00] we often see things like generative way is going to take
[47:03] my job, am I going to be out of jobs?
[47:05] In my personal belief, and this is my personal view and personal
[47:09] view only is that generative AI will not replace cybersecurity
[47:16] or or for that matter any jobs. It will, it will never eradicate
[47:23] places where human element is paramount to the very nature of
[47:27] the job, right? However, it will help, it will
[47:31] aid and the complexity of the tasks will start to bundle up
[47:37] and people who are not going to be able to use AI tools are
[47:42] going to be behind the curve, right?
[47:44] So you need to know that, hey, if I need to summarize
[47:47] something, there is a tool out there that I can use.
[47:50] Or if there is a specific EDI configuration that uses a
[47:55] certain AI configuration, then I need to know to enable it,
[48:00] right? I'm predicting this might happen
[48:02] in a future when this product, right?
[48:03] So it will not replace. That's my view.
[48:08] I think it will only help, unlike every technology that's
[48:11] come up, right? We, we saw thewhole.com boom, we
[48:14] we also are seeing the web three boom.
[48:17] They're going to be enablers rather than replacements.
[48:21] Because I think context and emotional intelligence is
[48:25] something that cannot be taken away.
[48:28] So copywriting and all of these fields that fear.
[48:33] And we saw in US Hollywood region where people were banning
[48:38] and you're not doing strikes against the ban of ChatGPT and
[48:42] AI because a copywriting was something that AI was able to do
[48:48] so well. I don't think that's the case.
[48:52] People will be forced to think outside of the box because now
[48:56] the trivial things are being taken care of.
[48:58] So you are elevating your own game.
[49:01] That's that's where I'm seeing the trend go.
[49:06] That's that's a great insider shell and I really like 3
[49:11] important area in this podcast and truly appreciate your
[49:14] insight on the area. 1 is basically talk about the that
[49:17] how you explained AIMLAI Gen. and all that and truly
[49:22] appreciate that because I also did a lot of research on this
[49:26] area. Could not find the content
[49:27] relevant to this. And thank to you like, you know,
[49:30] you, you connect all these dots and explain in a very simple
[49:33] term. Second thing is AI governance.
[49:34] You talk about what is the steps you have to follow?
[49:37] And the third important thing you I like about that particular
[49:41] podcast is the one you're talking about uploading.
[49:44] You know how to how to restrict the contents on AI or you know,
[49:50] how to avoid misusing of AI and all that.
[49:53] So that's something I really like about the podcast and why,
[49:56] you know, I'm talking about this because you came from a journey
[50:00] of AI, no doubt. Then you did the transition in
[50:04] offensive and then now you are recently did the CSSP also.
[50:09] It's been a year I believe, not a recent I've been it's.
[50:11] It's it's recent, actually it is a couple of months.
[50:13] Now, yeah, and doing this kind of a transformation is
[50:17] phenomenal in a, in a, in a very less time.
[50:20] It's not something, OK, You have spent 20 years in a journey
[50:24] where you learn the best thing I I personally like about your
[50:26] profile, what you're doing is you adapt according to the need
[50:29] of the the society. And that is the best thing.
[50:33] And that is something is a future also, which everyone has
[50:36] to look at. Look into that.
[50:37] So, you know, I always take this opportunity where, you know, I
[50:41] ask my speaker, you know, like, will you wish to have another
[50:46] podcast where you can share your thoughts on red teaming and all
[50:50] that. And those who are watching this
[50:51] video, do let me know because on this live recording, you know, I
[50:55] can basically ask. Speaker So for me, this
[50:57] recording is like a gunpoint. So on this gunpoint, I can, I
[51:00] can ask my speaker, you know, to have one session on, you know,
[51:06] the transformation journey of pentester, how to become
[51:10] pentester and how to become red teamer.
[51:12] So do share your suggestion in the comment box and we'll
[51:15] definitely going to disturb Harshal on that particular
[51:18] topic. So Arshal, can we see you again
[51:20] in another session where we can discuss about red teaming and
[51:25] the career transformation on on the red teaming and facts and
[51:29] myth about the red teaming and pain testing.
[51:32] Is it OK? It would be an absolute corner.
[51:36] I have enjoyed the session and it would be a personal order for
[51:41] me to be able to come up again and give my insights, so thank
[51:45] you very much for this opportunity itself.
[51:47] You but but Harshil, I want to thank you for your time because
[51:50] you know, I had a different impression about this podcast,
[51:53] but this podcast went in a different way, which is
[51:57] basically, you know, above my expectation.
[51:59] So it is really honor for for us to have you in this particular
[52:06] in this particular series, in this particular channel.
[52:09] And I'm sure after this particular, then this video goes
[52:12] live. You know, you can see the inside
[52:13] because I haven't seen any kind of a content on YouTube which
[52:16] talk about the, you know, impact of AI Gen. on cyber or offensive
[52:21] and defensive. So this this video will be the
[52:24] important earning factor, at least for my channel growth.
[52:28] To be frank, I want to very upfront with you and it can be a
[52:32] very important point for my profile also because having you
[52:36] kind of person who handling the multiple conferences and all
[52:40] that, it is really honors to be frank, I wasn't expecting.
[52:44] Thanks, bro, Thank you. I appreciate it.
[52:45] I think, you know, apart from our personal agendas, social
[52:49] media conferences, what we're really trying to do here is to
[52:52] make a safer society, right? And I think generative AI is
[52:56] going to be paramount because unlike other technologies, this
[52:59] is not restricted to just the technical professionals.
[53:02] As I said, my grandmother wishes me using generative AI content
[53:08] for birthdays, right? So it's it's that accessible and
[53:11] the user awareness needs to outpace the adoption of
[53:15] generative AI. So this is a step in that
[53:17] direction. Kudos to you.
[53:19] And and and thanks. Thanks Sherbert 11 important
[53:22] thing I like I also made a note of that that give me new
[53:25] opportunity to have AI awareness program.
[53:29] I I just note down there because that that that yeah, that's
[53:32] true. You know, this is what called as
[53:34] a, you know, you know, mindset and I never thought about that.
[53:39] We, we used to OK, have a session on awareness program on
[53:42] security, but exactly you're right, there's no awareness
[53:45] program on how to use AI for the users.
[53:48] And that is the point I note down and I thought, OK, this is
[53:51] a good opportunity for me also as a part of business.
[53:53] Thanks. Thanks for that.
[53:55] And if it got hit, then definitely you are the actually
[53:58] 80% credit for that particular project because that is a new
[54:03] opportunity for me. Thank you.
[54:05] Thank you. And would love to hear back on
[54:07] that if. That's definitely, definitely
[54:09] definitely. Do you have any last minute
[54:11] pointer you would like to share to our viewers about AI before
[54:14] we wind up the session? Last minute pointers would be
[54:20] not to be scared of AI. It is going to be that it is
[54:24] here to stay, so make it your friend.
[54:27] Leverage it to get ahead of the competitive curve and it's
[54:32] nothing to be scared of. And more important, how you
[54:35] optimize. Yes, Yeah, true.
[54:39] So this is all from our side team.
[54:40] This is Mr. Herschel who shared his thoughts, wisdom, viewpoint
[54:44] on the AI. And we bring more people like
[54:47] them. And I will also try to invite
[54:50] him again for this particular series where we're talking about
[54:52] red teaming. It will be honor for us to have
[54:54] him again. So this is all from our side.
[54:56] Do let us know your feedback, comments in a comment box and if
[55:00] you're new to the channel to subscribe to the channel and
[55:02] click on the bell icon to make sure you should not miss the
[55:05] future videos on a similar topic.
[55:07] Good day, 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.
