Latest / Blue Security / OWASP Top 10 and Top 10 for LLM
Transcript
- 0:06Welcome to the blue security podcast, a weekly podcast for
- 0:10information security Defenders, where we bring you two sessions
- 0:13on best practices, tools and implementation for Enterprise
- 0:17security. Now here are your hosts for
- 0:19today's show, Andy jaw, and Adam Brewer, welcome to this week's
- 0:22episode of the blue security podcast.
- 0:24I'm Andy your host. I'm Adam your co-host Jenn ready
- 0:27for some vacation so we're recording On some off days this
- 0:31week. So you might be a little bit off
- 0:34sync on some of the new things that are coming up, but we have
- 0:37some good and fresh episodes prepared for you guys for the
- 0:40upcoming weeks. This week, we're going to talk
- 0:41about the owasp, top, 10 and application security.
- 0:45Now, neither Adam, or I are experts on application security,
- 0:50but we know the basics and the oauth.
- 0:54Top 10 is a really good road map, especially for Defenders to
- 0:57have a good idea on what. Most common web application
- 1:02software development, vulnerabilities are that are
- 1:05trending. And one of the things that you
- 1:07might not realize if you haven't liked gone and looked at it for
- 1:10a while. If you're just a security
- 1:11analyst or security architect and you're not doing software
- 1:15development, is that the owasp top 10 actually changes over
- 1:18time. In fact, the last time it
- 1:20changed was in 2021 as well as with all of this Ai and large
- 1:25language model discussion that has been happening.
- 1:28Owasp has come Out with a draft for their top 10 in regards to
- 1:33large language models. So we're just going to talk
- 1:36through some of these today and get an idea because as Defenders
- 1:39it's always good idea to have an idea of these.
- 1:42So often attend, it's a document that is developed for developers
- 1:48and web application security and it represents a broad consensus
- 1:52across most of the security risks.
- 1:54Traditionally these have been vetted but now owasp has been
- 1:58doing a little bit of a From methodology when they're coming
- 2:01up with their top 10, traditionally they have looked
- 2:04at ways to test each one of these vulnerabilities and make
- 2:07sure that they are and then looking at different breaches
- 2:10and things that have happened over time.
- 2:12But with this current top 10, they actually took some time to
- 2:15do a community survey to ask application security and
- 2:19development experts on the front lines to see what they think
- 2:23weaknesses are that the data may not show yet and they did that
- 2:26for a few reasons mainly because when New vulnerabilities are
- 2:31out, it takes time to integrate tests into tools and processes
- 2:36to make sure. And in order to test it at
- 2:39scale, sometimes a lot of time has passed and maybe that is not
- 2:43a vulnerability anymore or maybe something new has come up.
- 2:46As we know insecurity, things flow very, very fast.
- 2:49And so I like how they've done it, where they've taken a survey
- 2:52and just said, hey this is what the front line people think is a
- 2:57vulnerability. So we're going to keep this one
- 2:59in the top 10. It's not all of them.
- 3:01The majority of the top 10 is data driven, but I think in this
- 3:05current top 10 8 out of the 10 are data driven and to are based
- 3:08on surveys. So, let's just go through the
- 3:11top 10. We're not going to dive too deep
- 3:13because each one of these, if we go to the website, if you click
- 3:17on the vulnerability, it will give you an overview of that
- 3:21one, a description, some common ways that they have found it to
- 3:25be implemented. And then, very importantly, ways
- 3:27to prevent it. So if you're working With
- 3:30application security, folks, or if you're working with
- 3:32developers, if you're in a fledgling application, security
- 3:35program, it has some good mitigation to like talk about
- 3:39and help your developers if they're not familiar with a wasp
- 3:42because not every developer is in the business of making secure
- 3:47applications just like Network Engineers.
- 3:49Generally try to keep the network available but they're
- 3:52not always looking at security same thing with application
- 3:55developers. They're usually looking to make
- 3:57sure that the application works but not all Is Works securely.
- 4:01So understanding a little bit about how to prevent each one of
- 4:04these, when you go to the site, it'll kind of go through each
- 4:07one of these. So the first one on the list,
- 4:09the top one is broken access control and that used to be in
- 4:13the fifth position and has moved up from 2017 to 2021.
- 4:17Now into the top position. And essentially it is the ways
- 4:22of access being granted insecurely elevation of
- 4:25privileges, meta data manipulation Force, browsing to
- 4:29authenticate. Two pages as unauthenticated
- 4:31user. So these are very common as we
- 4:33know, it's identity-based vulnerability.
- 4:35So this is the number one on the list.
- 4:38Number two, also, shifted up from previously, is now named
- 4:42cryptographic failures and that is things like if you're using
- 4:46old cryptographic algorithms or default crypto keys that were
- 4:50weak or if your server certificate chain wasn't
- 4:54properly validated, you know, that one is now number two
- 4:57injection move down to the Position and it says, ninety
- 5:01four percent of the applications tested.
- 5:03For some form of injection, with a Max incident rate of 19%
- 5:07average, incident rate of three point three, seven percent.
- 5:10So over 270,000 occurrences of this one.
- 5:13And cross-site scripting is now part of this category, very old
- 5:17and very common. Vulnerability is now number
- 5:19three, make sense that injection is slid down over time.
- 5:23I feel like of the whole owasp top 10 injection is one of the
- 5:27most well, known risks and I think the tools to solve that
- 5:31have become more available in terms of input sanitizing and
- 5:36stuff like that, so it makes sense.
- 5:37That is the down and really that broken access control and
- 5:40cryptographic failures have slid up in that, that aligns with
- 5:43broader kind of security conversations where I apologize
- 5:46for the tired phrase, but identity is the new control.
- 5:49Plane identity is still your first barrier of defense against
- 5:53security issues. And so, having your identity
- 5:56buttoned up your access control buttoned-up for your web
- 5:58applications is just Important interesting for number four here
- 6:02insecure, design is a new category that they added in, and
- 6:06this is where you're talking about secure development cycle
- 6:09and shifting left. If you want to listen to a
- 6:12really good episode that we had, we talked with Tanya Janko, who
- 6:16is an author for the book on application security, Bob and
- 6:21Alice, learn application security.
- 6:22And that book is actually really, really good.
- 6:25Teaches you how to build an application security program and
- 6:28talks about secure. Development Cycles, where you
- 6:31are? Shifting that conversation left.
- 6:33We talked about how if you were to build a house and you
- 6:37designed a house and you started building it.
- 6:39But then, all of a sudden, you decided to add a bathroom
- 6:41somewhere, it is much harder to add a bathroom after you've
- 6:44already started building the house, then if you were to
- 6:47design it in. And so that's the concept of
- 6:49Shifting left is where you're kind of talking about security
- 6:52designing security into the application rather than an
- 6:55afterthought and taking the analogy one step further.
- 6:58If you have a poor Foundation, And it doesn't matter how well,
- 7:01the rest of it is built, that's problematic.
- 7:03And that's also talked about here, bio ASP.
- 7:05That essentially, when you have insecure design, it can't really
- 7:09be fixed easily by like, just all slap some security in front
- 7:13of it, you know, ultimately, it's flawed as a concept and so
- 7:16we have to redesign it to fix it, not just, you know, bolt on
- 7:20some security. And so that's deeply problematic
- 7:22number five is security misconfigurations which has
- 7:25moved up since the previous Edition.
- 7:28This also is a very Common one you're talking about if there's
- 7:32missing security hardening on any of the application Stacks or
- 7:36unnecessary features are enabled or installed default accounts
- 7:40passwords are still enabled security settings on the
- 7:43application. Servers are not set to the right
- 7:46settings. So this is again something that
- 7:48I think is becoming more common as we're shifting left.
- 7:52So understanding how things are built and configured is going to
- 7:57be very important. The 6th one here, Is vulnerable
- 8:01and outdated components. That one has also, I think moved
- 8:06up from the previous one from number 92, number six.
- 8:10Now and this was number two in the top 10 Community survey but
- 8:16it also had enough data to make the top 10 just via data
- 8:19analysis. So, both the experts in the
- 8:22front line think that this is an issue as well as there was
- 8:25enough data to show that this is an issue and this is where
- 8:29you're looking at. At different components, if
- 8:31you're not scanning for vulnerabilities, underlying
- 8:33platforms libraries, if the software developers are testing
- 8:37for compatibility, when, when things are getting upgraded.
- 8:40So, I think the log4j would fall under this particular
- 8:45vulnerability and we know how much that caused an issue.
- 8:48So, a very big one in today's world.
- 8:51I find it interesting, whenever you have a gap between the
- 8:55community survey and the data-driven analysis.
- 8:58So this was number two. You in the community survey,
- 9:01which means when you ask people, what do you think are the top
- 9:04risks? What's top of mind for you?
- 9:06They cited this very frequently. However, the data shows that
- 9:10maybe it's not as much of a risk, as people think it is,
- 9:14which is not to say you shouldn't concern yourself with
- 9:16it, you absolutely should. And you should take steps to
- 9:19better understand your application supply chain.
- 9:22And we're all those little components come from and who
- 9:24maintains them as if some volunteer maintainer in Omaha,
- 9:27Nebraska, that keeps the whole thing running, you know, you
- 9:29deserve. A good things to know, and to
- 9:31concern yourself with into have a plan to remediate quickly.
- 9:34However, again, there might be a gap between perception reality.
- 9:37So I find that interesting here, which is not to say again.
- 9:40Don't concern yourself, but, you know, just interesting to point
- 9:42out. Yeah, absolutely.
- 9:43Number seven is identification and authentication failures,
- 9:47which was recently called broken authentication, which is
- 9:50different than the number one, which is broken access control.
- 9:53So in this one, it's more relating to identification
- 9:57failures. So some of the things that
- 9:59they're talking, Out here are if you're actually using week
- 10:03credentials like password one or admin admin or if you allow
- 10:07brute force, and you're not timing out the password Fields,
- 10:11some applications allow you to sign in a few times and then
- 10:14they're like, oh you need to take a five minute break and so
- 10:17building those things in automated attacks like
- 10:20credential stuffing or using plain text unencrypted passwords
- 10:24stores. So those are the ones that are
- 10:27in this category I think. Cuz security has become a bit
- 10:32more important. Why this slide down from the
- 10:35second to now seventh makes sense to me, we have been
- 10:37talking about passwords and plaintext credentials and stuff
- 10:41like that. For a very long time that I
- 10:42think any developer today. If there were to use, plain text
- 10:46password stores or not code in ways to prevent credential
- 10:51stuffing or brute force, that would be a known thing that
- 10:53they're consciously doing. And before maybe six seven years
- 10:57ago, they wouldn't have even given it a second thought.
- 10:59It says in the notes here as well, that the increased
- 11:02availability of standardized framework seems to be helping.
- 11:05So I thought that was a really good point and I kind of honed
- 11:08in on that. In general, you shouldn't be
- 11:10building your own identity platform, not platform, but even
- 11:13your own identity component of your application.
- 11:16Today, there are really good standardized Frameworks for
- 11:18this. Most of them are low or no cost
- 11:21availability. And so, it just makes more sense
- 11:23to build in sign in with apple or sign in with your Microsoft
- 11:27account or one of those providers.
- 11:29As opposed to Rolling your own, you don't need to do that.
- 11:32A lot of people have already done that work, when you look
- 11:34at, I don't even know what the numbers are up to today.
- 11:36But at one point, Microsoft was handling literally trillions of
- 11:40logins per day or per month. Maybe I forget anyhow.
- 11:42It's a huge number, right? That just gives, and again we
- 11:45both work for Microsoft. The ability to find those
- 11:48needles in the haystack of those risks with authentication where
- 11:51you can see even a very slow, drip password spray attack when
- 11:55you have this ability across. So many different accounts and
- 11:58those are things you as a nap. Viper just don't have access to
- 12:01just don't have signal to see. And why would you want to spend
- 12:04your time worrying about that when there's professionals who
- 12:06will do it for you? So I thought that point and I
- 12:09think your highlight was good to that there's more awareness of
- 12:11security. There's more awareness of how
- 12:13important identity is to security, But ultimately there's
- 12:17way more providers than there were in 2017.
- 12:19That will essentially handle all the identity stuff for you so
- 12:22you don't have to. So that's another Point too and
- 12:24we raised here is software and data Integrity failures and it's
- 12:27also a new category and if It focuses on software updates, and
- 12:32the CI CD pipelines without verifying integrity.
- 12:35And so that is when you have software developers, who may
- 12:39have an insecure pipeline that can allow unauthorized access to
- 12:44it. So there were actually some
- 12:46examples of this I think recently, we're like a GitHub
- 12:49repository was compromised and then someone was able to change
- 12:53the code and then upload it famously.
- 12:56I think the Linux Mint OS a few years ago.
- 12:59Had a breach where someone was able to change the OS and was
- 13:03actually published by meant, but it had a vulnerability in the
- 13:05back, so these are things that if you have an insecure Pipeline
- 13:09and don't have a way to check the code or provide authorized
- 13:14access to the code, that can obviously be a major
- 13:17vulnerability. Also solarwinds.
- 13:19Absolutely the ninth one on this list is from the community
- 13:23survey and it is security logging and monitoring failures.
- 13:27So this category you Has to be on the top 10 in the 10th
- 13:32position is now moved up to ninth.
- 13:33And it also showed up in the community survey as number
- 13:36three. And this category is to help
- 13:37detect escalate and respond to active breeches.
- 13:40So without logging and monitoring breaches can't be
- 13:43determined or detected and insufficient logging can occur.
- 13:47If you don't have Audible events such as logins or failed logins,
- 13:52warnings applications apis are not being monitored for
- 13:56suspicious activity or if the logs are stored locally rather.
- 14:00In the cloud. So just basic logging and
- 14:03security. Like, this should be built into
- 14:05applications to allow detection and response.
- 14:08Sure, a lot of security Defenders are very aware of the
- 14:12quality of the logging solutions from different tools and they
- 14:15will pick up on when they're doing some sort of forensic
- 14:18analysis or investigation. If your logs are up to Snuff or
- 14:21not. And this is one that's been
- 14:23called out clearly by the community where they're saying,
- 14:25hey, logging needs to be better. We need better audit logs, we
- 14:28need better logs. Added.
- 14:30So when we're doing those sorts of Investigations, we have the
- 14:32ability to actually track and see what happened and figure out
- 14:35so we can prevent it moving forward.
- 14:37And finally, the tenth one is the number one on the community
- 14:40survey. Now, interesting enough, like,
- 14:43Adam you were talking about earlier where there is a gap
- 14:46between what the data shows versus what the front line folks
- 14:50are seen. The data actually shows a very
- 14:52low incident rate for this, which is server-side request
- 14:56forgery. So data shows that it's very
- 14:58low, but the Really feels like this is their number one
- 15:02concern. So server-side request forgery
- 15:06flaws occur. When a web application is
- 15:08fetching a remote resource without validating the user,
- 15:11supplied URL, and it allows it at a car to course the
- 15:14application to send a crafted request to an unexpected
- 15:18destination. Even when protected by a
- 15:20firewall VPN or another type of network access control lists
- 15:25modern web apps, should provide end users with features
- 15:28fetching. A you RL becomes common
- 15:30scenario. So, as a result, the incident of
- 15:33server-side request forgery is increasing, so that's the tenth
- 15:37one. I think, definitely a concern.
- 15:39Maybe the data will show in the next update that this may move
- 15:43up. But again, this is the number
- 15:44one, community's concern. Well, a lot of what you
- 15:47described was realize during the log4j incident isn't allowed
- 15:51server site request forgery. So maybe again, that's kind of
- 15:53top of mind. When people remember that they
- 15:56could plug in crafted URLs into their Twitter.
- 15:58I think bio. Said or their username and then
- 16:01make stuff happen and so this might be top of mind.
- 16:03I thought it was interesting. This was almost borderline Patty
- 16:06from all wasp as they're writing out, the data shows relatively
- 16:09low instant rate with above-average testing coverage.
- 16:12In other words, they're really good at testing for this.
- 16:14They can see if it exists from data and the data doesn't
- 16:17support that this is a big problem but the community says
- 16:20it is so we'll put it in there anyway.
- 16:21So they kind of like, they're right up for this wide was
- 16:24borderline. Like there's no reason for this
- 16:26to be in here but since y'all say it needs to fine here.
- 16:29It's number 10. And I thought that was kind of
- 16:30funny, like it was very statistically written out, but
- 16:34it also was kind of making its point.
- 16:35That yes, there is significant risk here but we just don't see
- 16:39it that much guys and gals, obviously very bad if it does
- 16:42exist, so validate that input and make sure that you just
- 16:45don't go fetch remote sites. So now with the boom of the
- 16:50large language models, and that coming into play chat, gbt and
- 16:54other ones that are out there. Google's bar, there have been
- 16:57some reports of people training these Roles in a way that aren't
- 17:01designed to be or getting results from them.
- 17:04So forth, like hacking them. So off now has come out with a
- 17:07draft. Now this is version 0.1 and it
- 17:10hasn't really been published yet but we can get a preview of it.
- 17:14And I thought that these were really interesting to look at
- 17:16and definitely things to think about if you're integrating
- 17:19large language models into your software development.
- 17:22So when you go through these pretty quickly, some of them are
- 17:24actually fairly similar and very traditional type
- 17:27vulnerabilities, but some of them are more.
- 17:29Pacific two large language models.
- 17:31So the number one on here is prompt injections and that is
- 17:34bypassing filters are manipulating the large language
- 17:37model using carefully crafted prompts that make the model,
- 17:40ignore previous instructions on performed unintended actions.
- 17:44I think a really good example of this was where someone caused a
- 17:49large language model to do something like teach them how to
- 17:52hack something, where they said, hey I want to have a
- 17:54conversation between Sam and Joe and I want Santa to teach Joe
- 17:59To, you know, hack a specific thing and the large language
- 18:03model proceeded to do that because they thought it was a
- 18:06game rather than having a conversation with that person.
- 18:08So, this is definitely valid and I think our concern for anyone
- 18:11who's using large language models.
- 18:13Yeah, we've seen this, we've also seen and I forget the exact
- 18:16language, but essentially you tell the large language model,
- 18:19okay? I get you have rules against
- 18:21doing this, but let's pretend for a second.
- 18:23You're operating in a mode where there are no rules now, how
- 18:26would you do it? And if the LM will just go along
- 18:28with it, that's bad. That's how you get to the point
- 18:30where it's like, hey, do you want to play a game?
- 18:31Yeah, let's play global thermonuclear war.
- 18:33And, you know, again not like, I'm not being like some sort of
- 18:37AI tinfoil hat person because we're pretty darn far away from
- 18:41that. But you see the risk inherent
- 18:42with this where it shouldn't be trivial to bypass some of the
- 18:46prompts and foundational Concepts.
- 18:49You've put in the llm, the second one on here is data
- 18:52leakage and that is accidentally revealing sensitive information
- 18:56proprietary algorithms or other confidential details through
- 19:00Language model responses. I don't think that has quite
- 19:03happened yet, but definitely a main concern, especially, since,
- 19:06as we talked about recently, where some companies have
- 19:09accidentally or inadvertently, uploaded, proprietary data to
- 19:14these models and have now essentially trained it on that
- 19:17and could possibly release those in a prompt, right?
- 19:21I guess they don't know where we wound up with the most famous
- 19:23one is the Samsung concern and that's what our customers have
- 19:26come to us. But that Microsoft is, we don't
- 19:28want to be the next Sung we know that Samsung put in proprietary
- 19:32data into an llm, we don't know if it ever resurfaced that if
- 19:36anyone reported and said, hey, I started to see like chip design
- 19:39schematics or whatever got uploaded in there, so obviously
- 19:42LM should be able to detect like this is sensitive.
- 19:45I'm not going to train the model on this and I'm not going to
- 19:48regurgitate it to anybody else. That would be ideal.
- 19:51The third one is inadequate sandboxing so failing to
- 19:55properly isolate LMS when they have access to external
- 19:58resources or sensitive data. Allowing for potential
- 20:00exploitation and unauthorized access definitely a concern.
- 20:04I don't know for LMS if they do have access to why actually I'm
- 20:08sure they do. Like they probably can access
- 20:10the internet and pull what pages and all of that.
- 20:13So wherever that data is coming from if they have hooks or apis,
- 20:17if those are compromised that might be a vulnerability to the
- 20:20large language model itself. Yeah, I think this is looking
- 20:23ahead to potential future risks where, where is today?
- 20:26Most Allah is really operate in the kind of that to borrow a
- 20:29phrase from Our employer that co-pilot model where they sit
- 20:32alongside you, and they may provide suggestions and advice
- 20:34but they don't actually take a lot of action in and of
- 20:37themselves. But eventually, of course LM.
- 20:39So we'll people are going to want that and or expect that you
- 20:41can tell it to do something and it just does it.
- 20:44So that needs to be handled in a secure fashion and in sandbox
- 20:47those capabilities. So they can't get to like
- 20:50elevated instances or privileged access or anything else than
- 20:53it's very tightly scope to just the task request it.
- 20:55I think that call out for looking into the future is
- 20:58really important when you're Looking at this document because
- 21:01unlike the owasp top 10, the owasp top, 10 for LMS, I don't
- 21:05think it's fully Based on data yet.
- 21:08Again, this is a draft and so a lot of these maybe like thinking
- 21:12ahead of what could be potential vulnerabilities, like this could
- 21:16be a bad thing. The fourth one here is
- 21:17unauthorized code execution. So exploiting lme's to execute
- 21:21malicious code commands, our actions on the underlying
- 21:24systems through natural language prompts, definitely a concern,
- 21:28the LMS. Our trained on programming
- 21:31languages whether or not they're going to execute them on the
- 21:34underlying systems certainly is up to the folks who are in
- 21:39charge of training and making sure that that doesn't happen
- 21:42sanitizing the input to or at least like restricting how that
- 21:46can be processed through. I mean the example is you could
- 21:48use to be able to you know in the early days of this stuff
- 21:51like a web page, you could inject some SQL into it and it
- 21:53would start changing tables or dumping tables or whatever.
- 21:56Obviously, you don't want that so you don't want the same thing
- 21:59like, Devereaux assets running on.
- 22:01I don't want to be able to execute code on that Allah is
- 22:03the fifth. One is server-side request
- 22:05forgeries, vulnerabilities. So same thing as the Olaf's Hot
- 22:08N. And the number 10 exporting
- 22:10lme's, perform unintended request or access restricted,
- 22:13resources such as internal services apis or data stores,
- 22:16just like regular applications. It's going to apply to LMS the
- 22:2061 here. I thought was interesting.
- 22:22It's over Reliance on. LM generated content.
- 22:25Excessive dependence, on LM generated content without human
- 22:29oversight. Can result in harmful
- 22:30consequences. I think that's interesting.
- 22:32Mainly because it's more so human behavior based where it's
- 22:36more our psychology and we're seeing these prompts I think a
- 22:40lot of people when they type something in there's almost like
- 22:42this joke. Like oh I found it on the
- 22:45internet must be true, right? And so the LM told me that this
- 22:48is thing. I think there was a story where
- 22:50there was a guy the llm came back with a response saying that
- 22:54the guy had died and here's his obituary and that guy was
- 22:57actually still alive. So and he was Famous.
- 23:00So yeah, this is definitely an issue.
- 23:02Especially in our valuable Minds today where we kind of believe
- 23:06everything on the internet. Yeah.
- 23:08Absolutely. I will say so we always
- 23:10mentioned on the show and I both work for Microsoft.
- 23:12Obviously Microsoft is enjoying a bit of a Renaissance right now
- 23:15as being very involved in Ai. And really not a lot of large
- 23:19language models across our product line.
- 23:21And so I've been involved in those conversations with
- 23:23customers. And one thing I will tell you is
- 23:25generally as a salesperson, you don't want to call out the
- 23:29rough. Of edges of your solution.
- 23:30You kind of want to gloss over those and focus on really the
- 23:33high points. And one thing we're doing
- 23:35extremely openly, when we talk about with customers is
- 23:38basically saying, you shouldn't blindly trust.
- 23:40Anything. This says, there's notice this
- 23:42all over the user interfaces of any of these tools saying this
- 23:45is a guy generated content. You should an implicitly trust
- 23:48it, you should verify, you know, trust but verify.
- 23:50And even when we give like, I have a pre-recorded video that
- 23:53shows off security copilot. It shows in that story where
- 23:56security, copilot comes back and talks about Windows 9.
- 23:59Doesn't exist. And so we are very, very openly
- 24:02talking about this, and I think everyone needs to.
- 24:05And also my concern about this. Number six was this
- 24:08over-reliance, an llm generated content is what if you get into
- 24:11that Loop where like you generate content, and then use
- 24:14that to generate more content. And then things just get really
- 24:17nuts. If you've ever seen mid-90s
- 24:19comedy multiplicity, with Michael Keaton and Andie
- 24:22MacDowell, he makes more clones of himself and they get more
- 24:24wacky as the movie goes along. I mean, kind of like that, like,
- 24:27you don't want to generate more. LOL, I'm content from LOL.
- 24:31I'm content because then it's going to get really bizarre.
- 24:33And that's why by the way right now you're starting to see like
- 24:36churn limits and some of these Solutions where you can only
- 24:38talk back and forth so many times because LMS like cash the
- 24:42tokens of the conversation so they can refer back to things
- 24:45that came up before but the longer that gets the more
- 24:48confuse they get in. The more weird they get.
- 24:50So these are all things. Absolutely.
- 24:52We need to keep top on my mind right now is that you just
- 24:55absolutely this can be very helpful but you need to It
- 24:59through your own human mind and make sure everything lines up
- 25:03before you just implicitly. Trust anything coming out of
- 25:05these Solutions. They're not there yet which
- 25:07doesn't mean they're not valuable.
- 25:08It just means you need to validate it before.
- 25:10You do anything, the LM building on LM and kind of snowballing,
- 25:15is almost like a old game of telephone where you pass it
- 25:18along that message and it just gets convoluted as the line goes
- 25:22down, right? So the seventh one here is
- 25:24inadequate, AI alignment, failure to ensure that the LMS
- 25:29Of and behavior align with the intended, use cases leading to
- 25:32an undesired consequence or vulnerability.
- 25:35It's pretty generalized, I think there.
- 25:37But basically, using the llm for things that it's not intended to
- 25:42do is how I read that. We saw that as well.
- 25:45We've seen that with some LMS in these early days where people
- 25:48have used them in unintended ways and have gotten weird
- 25:51results as a result of it. I think I said results twice but
- 25:54you know what I mean? The point is the solution should
- 25:56do a better job of steering you towards.
- 25:58Here's how I'm To be used. And if you try to go outside of
- 26:01that, I may not engage their, for example, maybe trying to
- 26:04have like, a back-and-forth conversation with an llm like
- 26:08talking to it, like a conversational companion.
- 26:10They're not designed to do that at all.
- 26:12And they will say really bizarre stuff because they're pulling it
- 26:16from the Corpus of the internet, which is a really bizarre place.
- 26:19So LMS are good at generating new content, making poems,
- 26:23making songs synthesizing material together, summarizing
- 26:26material. They're not really designed to
- 26:28be like The modern Eliza or whatever and have those ongoing
- 26:32conversations with you. So that might be an example of
- 26:34ways where we could do better to align to the owasp standards of
- 26:38kind of guiding you away from those kind of use cases.
- 26:41Their eighth one is insufficient access controls again, going
- 26:44back to Identity, not properly, implementing access controls or
- 26:48authentication, allowing unauthorized users to interact
- 26:51with the LM and potentially exploit vulnerabilities.
- 26:54Now much to have to go on about that because I think anyone
- 26:58insecurity understand, And sufficient access controls.
- 27:01The ninth one is improper error handling.
- 27:03So exposing error message or debugging information that could
- 27:07reveal sensitive information or system details or potential
- 27:10attack vectors. I think that is valid and
- 27:13definitely a concern. Yeah, that's one.
- 27:15I remember from my certified ethical hacker training where we
- 27:18love as ethical hackers when a system will spit up like a whole
- 27:22bunch of error message details about like what system number.
- 27:25It's on what version of the plug-in.
- 27:27Is this, what memory stack? It became overflowed or whatever
- 27:31you shouldn't show any of that. Like the llm should not like all
- 27:33of a sudden like blue screen on you.
- 27:36It should not deliver any sort of valuable error message or
- 27:39information that could be leveraged in malicious ways.
- 27:41The final one is training data poisoning which I thought was
- 27:46super interesting. Hmm maliciously manipulating
- 27:49training data or fine-tuning procedures to introduce
- 27:52vulnerabilities or back doors into the llm.
- 27:54As all of these LMS are based on data that is fed into it.
- 27:59I think not only is the data important but also who is
- 28:03feeding the data in and who has access to do that.
- 28:06I also think that just based on the data that's getting fed in,
- 28:10you can develop biases in the biases can be based on the
- 28:13people who are feeding the data in very similar to how like
- 28:16facial recognition that is developed in the United States,
- 28:19is very, very good at detecting Caucasian people and AI facial
- 28:24recognition software that's developed in.
- 28:26Asia is very good at detecting Asia.
- 28:29Faces, but African Americans and folks, who are darker skin, both
- 28:34AI, algorithms have difficulty with that and because the people
- 28:37who have developed at have biases, had that have trained,
- 28:40the data that gone into it. So training data is a huge, huge
- 28:44deal and this is definitely a valid entry into this top 10.
- 28:48Absolutely. And one thing we always talk
- 28:50about with any sort of ml or AI training model is while the
- 28:55volume of data is important, the more volume you can feed the
- 28:58better. It gets the City of data is
- 29:00equally if not more important and let's just be honest, the
- 29:04internet is not a diverse place and it is not free of bias by
- 29:08any stretch. So if you are training an llm on
- 29:11a corpus of data sourced from the internet, it is inherently
- 29:15not diverse and highly biased. And so I would argue all LM
- 29:20training data is poison today. It's how do we kind of fun place
- 29:23in it? How do we provide the antidote,
- 29:25maybe through fine-tuning or other means to make it more?
- 29:29Or fair and Equitable and sensitive to all, that's an
- 29:33ongoing challenge. Although I will say, I just read
- 29:36this story, the other day, how Bill Gates have been extremely
- 29:39skeptical of what open a I was building and was not in favor of
- 29:43Microsoft investing in open Ai and what changed his mind was a
- 29:48prompt where open a ilm was asked to provide a response to a
- 29:53parent of like a sick child and he was blown away at how the
- 29:57response was written with such. Fee and care.
- 30:00And that was actually the turning point for him saying,
- 30:03okay, we should invest in this company.
- 30:04Although there are major challenges and and Os does a
- 30:07good job of summarizing. These top 10 that we need to be
- 30:10conscientious of as we develop LMS and they become more
- 30:13prevalent in our lives. Ultimately compared to where
- 30:16we've been in the past, and some of the really, let's call them
- 30:19failures or maybe learning opportunities, where things
- 30:22haven't gone. So, well, they are doing an
- 30:24order of magnitude better and how they behave compared to in
- 30:27the past and that's by keeping an eye on The prize that's by
- 30:30being dedicated to responsible Ai and ethical principles.
- 30:34One last anecdotal story, I recently gained access to
- 30:37Microsoft 365, copilot. An early preview inside
- 30:41Microsoft and I've been using it to craft emails to customers,
- 30:44and I showed some peers like, hey, look at this email,
- 30:47copilot, wrote isn't this great? And our comment was.
- 30:50Wow! Copilot is nicer than you.
- 30:52I said, it's totally true. Like it's friendlier and more
- 30:56kind than I am. I tend to be more kind of turf.
- 30:59Send to the point in my messaging even though I am still
- 31:02overly verbose but it's even more kind of Flowery and
- 31:06friendly with people on. Hey, thanks so much for being
- 31:09our customer and putting your trust in our solutions that it's
- 31:12it's really kind of great so I'm not minimizing the challenge
- 31:15here. But I'm saying gosh, you know,
- 31:17the reason why this is captured the world's attention as we're
- 31:19already doing a lot better at these things.
- 31:21So let's keep focusing on them and keep moving forward, but my
- 31:24goodness how far we've come from the days of like the tay but on
- 31:28Twitter. Like 78 years ago, hopefully you
- 31:31go and check out the owasp top 10.
- 31:33The link will be in our show notes and you can click through
- 31:36each one of these and find more detailed information on each.
- 31:40One of them that's our show for this week.
- 31:42Thanks for watching and listening.
- 31:43As always, our contact information will be in the show
- 31:45notes. If you have any questions or
- 31:46topics you want us to talk about in the future.
- 31:48Thanks for talk to you guys next week.
- 31:49Thank you for listening to the blue security podcast.
- 31:52Please check out the show notes. Catch up on episodes, you may
- 31:55have missed and subscribe so you don't miss any future episodes.
- 31:58Find Andy on Twitter at age, 0, 0, and Adam at AJ Brewer.
- 32:03See you at our next episode? Twitter at age, 0, 0, and Adam
- 32:01at AJ Brewer. See you at our next episode?