Skip to content
2939: Confidential Computing: Elevating AI and ML Security in the Cloud episode artwork

Jun 23, 2024 23 min

2939: Confidential Computing: Elevating AI and ML Security in the Cloud

from Tech Talks Daily Hosted by Neil C. Hughes

In a digital age where enterprises are tasked with protecting an extensive network of data, traditional methods of safeguarding sensitive information often fall short. Static, rules-based models for detecting data breaches rely heavily on the quality of training data, leaving gaps in security. How can organizations bolster their defenses against ever-evolving cyber threats? In today's episode of the Tech Talks Daily Podcast, we are joined by Shamim Naqvi, CEO of SafeLiShare Inc., to explore the transformative potential of Secure Enclave technology in the cloud, also known as Confidential Computing. Shamim delves into how this cutting-edge technology can enhance data security, especially when leveraging third-party AI and ML models. SafeLiShare's ConfidentialAI platform brings unprecedented security to enterprise data pipelines through digital fingerprinting and a tamper-proof, immutable ledger. This ensures comprehensive monitoring of every user, service, account, and machine, employing a zero-trust approach during runtime interactions. By integrating Confidential Computing, organizations can secure their AI workflows, pipelines, and ML operations against unauthorized access and breaches. SafeLiShare provides runtime security for AI and ML workloads through Confidential Computing, ensuring data is protected during processing. This technology secures data within isolated hardware enclaves, making it inaccessible to external threats and providing auditable logs for compliance. Achieving high levels of security with minimal performance overhead (3-5%) makes this approach feasible for extensive use. Confidential Computing is set to become pervasive across cloud and on-premises environments, driven by the increasing need for data security and regulatory compliance. Traditional encryption methods differ from Confidential Computing in that the latter protects data during processing using secure enclaves. SafeLiShare's ConfidentialAI enables the secure use of large language models by combining them with enterprise context data within secure enclaves. This addresses the main challenges in providing confidential context to public AI models while offloading key management to secure enclaves, resulting in significant security benefits. Join us for an insightful discussion with Shamim Naqvi as we unravel the complexities of data security in the AI era. How can Confidential Computing reshape your approach to protecting sensitive enterprise data? Tune in to find out, and don't forget to share your thoughts on this evolving landscape.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

2939: Confidential Computing: Elevating AI and ML Security in the Cloud

0:00 23:35
of matches

Transcript Auto-generated, may contain errors

With the rise of third-party AI and ML models and increasing data security challenges, how can enterprises safeguard their sensitive data during processing? Well, today's episode of Tech Talks Daily, I'm joined by Shamin Nafri, CEO of Safely Share. And my guest today is going to guide me through the concept of secure enclave technology, which is also known as confidential computing. We're going to talk about how it can revolutionize data security when handling AI workflows, and also how Safely Share's confidential AI solution leverages confidential computing to create tamper-proof, immutable ledger that monitors every user and interaction across the entire enterprise data pipeline.

So I'm going to learn more about this approach, how it brings an unprecedented level of protection to sensitive enterprise data, while also using third-party AI and ML models. Yeah, we'll de-mystify it all today. So buckle up and hold on tight as I beam your ears all the way to California, where today's guest is going to uncover how this cutting edge technology is expected to become a pervasive standard across cloud and on-premise environments. So a massive warm welcome to the show.

Can you tell everyone listening a little about who you are and what you do? So my name is Shamin Nafri, I'm the CEO of a company called Safely Share, which was started about two and a half years ago. We are a remote working company, there are about 10 people in the company and they all work from their homes. The company is funded by venture capital, based out of the west coast of the US, as well as the east coast.

And we are interested in providing runtime security to AI and machine learning workloads, in particular, and any sort of computational workload in general, through the use of some new pieces of technology called confidential computing. And there's so much that I'm looking forward to talking with you about today. Just to set the scene for our conversation, can you just explain the basic concept of secure enclave technology and how it differs from mostly traditional security methods in protecting enterprise data, just to make sure we have everyone on board from the beginning of our conversation? So the prevalent methods of data security are usually dubbed as using technologies called encryption at rest.

So when the data is stored, the data is stored in an encrypted form. And therefore, there is no possibility without having the keys of encryption to read the data and make sense of the data as the data is stored in this form. And that is called encryption at rest. Then the second type of technology that is used today is called encryption in transit, which is when you transport data.

You transport it in a secure, encrypted manner. But the vulnerability happens when you are processing the data nowadays. So all the different attack surfaces are now concentrated at runtime. So when you are analyzing the data, you are processing the data.

When the data is in your random access memory, that is when all the malicious actors can get to your data. And the missing link is this runtime data security hole that needs to be filled. So that is called runtime security or runtime encryption. And one type of technology to fill that gap is the secure enclave technology.

And in the last few years, hardware manufacturers have started to manufacture chipsets with certain cryptographic capabilities built into the chipsets themselves, which allow applications to create runtime computing environments that are completely safe and cryptographically encrypted. So your process when you are running, your process, your workload is being processed. It is being processed inside this protected and isolated environment where the access is tightly controlled through these types of chipsets. And the hardware itself guarantees that there is no other external process that can look at the runtime memory of your process as it is being executed.

So those runtime, protected and isolated environments are called secure enclave. And these types of machines are called confidential computing machines. All the general cloud providers today, Google, AWS, Microsoft, Azure, are all making such machines generally available. And you can run your workloads on those machines today.

You can list out these machines, run these machines. You can have virtual machines as many as you like. And you can scale your workloads across such virtual machines and run them in these protected and isolated computing environments. Furthermore, the hardware generates logs that record all the accesses to memory.

So you have an immutable log that is generated by the hardware, which is signed by the hardware, your photographic is signed by the hardware, using a certificate of authority, and to say that your workload was run on such and such a machine, that the machine was protected by certain hardware-generated encryption keys, and that the runtime was completely secure and no other entity was able to access the workload. So all of that can be used for compliance, for regulatory approvals, etc. And you can present these audit logs as proof that the workload was completely secure when it was being landed back. And with that scene perfectly set, I think it's a great opportunity to introduce everyone listening to Safely Shares Confidential AI, which I believe utilizes things like digital fingerprinting and tamper-proof ledgers to enhance the security of sensitive data.

But for everyone listening to hear about this for the first time, can you just tell me a little bit more about how it does this? Yes. So a very common use case today in machine learning and AI is the use, is to access these large language models, for instance. I'm going to describe a particular use case which happens very often.

And when you access these large language models and you use natural language prompts, you sort of expect the responses to be focused to your prompts. And in general, the training data being used for large language models is not specific to your enterprises. It's of a more general nature. So it's very common to then add to your prompt company-specific information so that you get a more focused response back from the model.

Well, this added data that you add to your prompt is called context. And the context can be private and sensitive to your company. And so there is a need to protect the context that you sent to the large language model. And you need to protect the context and make sure that no malicious party has access to your company proprietary and sensitive data, but you get to use it with this large language model and get proper and more focused responses back from the model.

And so that is a use case called confidential retrieval augmented generation or confidential drag. And SafetyShare offers a solution that allows your chatbot to be run in the secure enclave technology. So everything you tell the chatbot as a part of your context, the prompt itself and the context that you provide with the context, both are protected and isolated and confidential. And for any business leader that's listening to our conversation today, what would you say are the primary challenges enterprises face when attempting to implement confidential computing?

Because I would imagine you hear a lot from different customers around the world on some of those challenges. It would be great to hear through any trends around those challenges and also how your solution addresses some of those hurdles. Yeah. Well, the big challenge, the big opportunity now, and everyone seems to be interested in using Gen AI.

And generative AI is a powerful tool. It's extremely popular. And lots of business users, enterprise users are interested and do use this Gen AI technology nowadays. And the challenge is exactly, as I said, the challenge is, can you provide confidential context, the context you provide to your Gen AI applications?

Can you provide the context in a confidential manner by using secure enclave technology or some other means? So you can access these public models and have them be more responsive to your prompts by using your company-specific data, but you at the same time want to protect your non-proprietary and sensitive private data as well. So that's the challenge. And the solution is the secure enclave technology is one way of doing it.

There may be other ways, but I think that I am partial to using secure enclave to do this. Can you also tell me a bit more about how monitoring things like every user, every service, every account, and every machine with this zero trust model can improve security during runtime operations? Because I think it's been nice to have for businesses for so long, but it is a lot easier now than it used to be. But can you tell me a little bit more about that and the importance of it?

Right. So one of the capabilities that secure enclave technology does is that it uses this private, this piece of technology, this cryptographic technology called public-private key cryptography, in which the hardware is capable of generating encryption keys. And these keys come in pairs. It's called a private-public pair.

And the private part of this pair of keys is kept by the hardware itself. It's never available outside of these secure enclaves. And the public pair is used to encrypt information and authenticate any access to these secure enclaves. So whether it is a process or a machine or an application, it needs these keys to be able to access it.

And everything is through, all types of access are monitored and controlled by these keys, which are only available inside secure enclaves. So you can think of essentially your data being isolated and protected, and every access to that data, by any process, by any application, by any machine, is through the secure enclave technology whose keys are being safeguarded by the underlying hardware itself. So you have to physically somehow get access to these keys before you can get access to the secure enclave, which is physically impossible. And what do you say is the specific advantage or specific advantages that confidential computing can offer when third-party AIML models are applied to sensitive enterprise data?

Because a few years ago, people were a little bit anxious and nervous about this. That is changing now. But what advantage do you say from this? Well, fundamentally, security practices tend to rely on a small number, a minimal number of well-protected constructs.

And so there is a rule called Kirchhoff's Rule, which was done by a famous photographer that everything in a secure system should be open except for one thing, and that is the private key. So secure enclave technology is built on a similar zero-trust principle. You don't trust any other entity. You trust the secure enclave, and you trust this piece of technology, and the trust lies in protecting the private key that the hardware forts.

You can have all kinds of cryptography in your use cases, in your application, but unless you are protecting the keys that you use for encryption, it is all to not. So the vulnerability is key management. If your keys are secure, then your workloads are secure, then your data is secure, your applications are secure, your computing environment is secure. But if you mismanage the keys, then you really have nothing at all.

And the big advantage of confidential computing is that the hardware protects the keys for you, so you are spared the burden of managing the keys, which essentially are the crown jewels of your computing environment. So confidential computing alleviates the burden of private key management, and by making sure that it takes on the burden of protecting the keys, which you are using to secure your data. And I suspect we will have a few people listening around the world who might be listening, thinking, this sounds great, but what does this mean about efficiency and performance, et cetera? So how does the integration of confidential computing and secure enclaves impact the overall efficiency and performance of those AI and ML workflows?

Anything you can share around there? Well, all this encryption technology that I've described and the key management that I've described is being done at the hardware level. By the underlying hardware, there's very little being done in the upper software layers at all. So essentially, there is very minimal impact to the performance of the machine because you are running everything at the hardware machine level.

So the machine is doing this, and these machines are becoming more and more powerful and faster and faster as we design. Typically, when we run these workloads on these confidential computing machines, we do not see more than 3 or 4% performance degradation under the heaviest sort of encryption machines that we are. So 3%, 4%, 5% doesn't seem a very large price to pay for this additional runtime security. And it does feel like an exciting space at the moment.

So if we did dare to look ahead a few months or maybe even years, what future developments do you anticipate in the field of confidential computing and data security for AI and ML operations? Anything that excites you there or you monitor it closely? Yes, yes. I think that in the next couple of years, we'll see that all cloud computing will essentially become confidential computing.

I see a pervasive use of confidential computing technology in all sorts of cloud computing applications. So your typical sort of working environment in the cloud is going to use confidential computing technology. And I think that on-prem computing installations, your private data centers, etc., will also start to use confidential computing for your on-prem workloads as well. So I see a great advent of this confidential computing becoming more of a conventional way of doing things than what we're seeing today.

So all cloud computing, in effect, will be using confidential computing. So very large amounts of these cloud providers, the cloud computing tasks will be done by confidential computing because everybody needs this kind of data security and runtime security that I'm talking about. I love chatting with you today. And as someone that's right in the heart of this space, I think for most people listening, there's this almost urgency and pressure to be in a state of continuous learning to keep up to speed with the pace of technological change.

And before we start talking, I know you're traveling continuously around the world as well and incredibly busy. So as someone in this space, can I ask where or how you self-educate, how you keep up to speed with the latest trends in the industry? Any tips you could offer there? Well, there's lots of conferences that one could go to and lots of reading material on the web.

It's been a part of the ecosystem. So you read up on these trends, you follow the technologies. there's no lack of information on the web today and there's no dearth of sort of experts who are willing to take the time to sort of explain the new technologies, et cetera. So there are podcasts and webcasts and webinars and seminars and conferences.

One can hardly find the time to do all of these things, but I think one has to make time to keep up with all of the stuff that's happening in the world. Computing is a very fast-changing, fast-rending world. AI and machine learning is even particularly more, is even more of a whirlwind-paced sort of activity. So it's quite crazy, but I think people that are the practitioners in this art somehow manage to do all of these things together.

Wise words, indeed. A perfect moment to end our conversation today. But before I let you go, for anyone interested in just learning more about anything we talked about today, finding out more about the company, the services you offer, or just connect with you or your team, what's the best starting point for everything? Our website, safelyshare.com, S-A-F-E-L-I-S-H-A-J-R-E, safelyshare.com.

It's a good place to start. The cloud providers have all sorts of leading material on confidential computing. That's another good place to start. And just go into a search engine and type in confidential computing.

Awesome. Well, I'll ensure there's links to everything so anyone listening can find you nice and easily. We covered so much there, particularly talking about how secure enclave technology in the cloud, a.k.a. confidential computing, can harden data security when using third-party AI and ML models on enterprise data and so much more.

It's a complicated area, but you demystify it, but in a language everyone can understand. And just thank you for taking the time to do just that with me today. Thanks again. Thank you very much, Neil.

And nice chatting with you. I think my guest insights have made it clear how secure enclave technology is entering in a new era of security for AI and ML workloads. And I love how this confidential AI solution not only protects sensitive data during processing, but also provides secure logs and monitoring for compliance. And with the minimal performance impact of secure enclaves, the burden of key management is reduced while ensuring that proprietary data remains safe.

As for the need for data security and regulatory compliance continues to grow, confidential computing looks set to become an indispensable tool for enterprises. But how will this transformative technology, how will it shape your organization's approach to data security and AI adoption? You've heard from me, you've heard from today's guest, now I want to hear from you. Email me, techblograker.outlook.com, Twitter, LinkedIn, Instagram, just at me of CQs.

Love to hear your thoughts on this one. But that's it for today, so thank you for listening as always, and until next time, don't be a stranger.

Frequently asked questions

How long is this episode of Tech Talks Daily?

This episode is 23 minutes long.

When was this Tech Talks Daily episode published?

This episode was published on June 23, 2024.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Tech Talks Daily episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.