Customer Stories / Financial Services / United Kingdom

2023
Monzo Bank Logo

Enhancing the Security of Time-Bound Credentials Using AWS Nitro Enclaves with Monzo Bank

Learn how financial services company Monzo Bank heightened its security framework using AWS Nitro Enclaves.

Enhanced security

protocols to protect customer data

Reduced

vulnerable surface area for applications in the cloud

Obtained

multiparty authorization in seconds for engineers

Overview

Monzo Bank (Monzo) is the UK’s largest digital bank, offering its services through a mobile app for money management, budgeting, and saving. Monzo constantly strives to enrich its security protocols that protect customer information in its quest to put customers in control of their money. As part of that effort, Monzo sought to limit how its own employees could access the infrastructure so that the system itself—and not individuals—would broker the use of time-bound credentials and multiparty authentication (MPA). To further protect customers, Monzo wanted additional robust security measures to mitigate potential sophisticated targeted attacks against employees, such as spear phishing, malware, or impersonation.

To fulfill these objectives, Monzo worked alongside Amazon Web Services (AWS). Using AWS Nitro Enclaves, which lets customers create isolated compute environments to further protect and securely process highly sensitive data, Monzo built an innovative solution that incorporates cryptography and advanced security protocols into credential requests. The company also improved visibility into its simplified authorization solution that grants temporary permissions in just a few seconds.

City, phone, and hands post on social media connected to internet with a website notification outdoors. News, digital and man online typing or texting on a social networking app and searching content

Opportunity | Using AWS Nitro Enclaves to Protect Customers’ Sensitive Data for Monzo

Monzo’s engineers built a highly secure infrastructure on Amazon Elastic Compute Cloud (Amazon EC2), which provides secure and resizable compute capacity for virtually any workload. They also used Kubernetes on AWS—which makes it easy to run Kubernetes in the cloud with scalable and highly virtual machine infrastructure—to deploy, scale, and orchestrate their containerized applications. Initially, a small set of trusted engineers with high-level administrative access to the company’s infrastructure managed clusters of compute instances on Amazon EC2. Amazon EC2 is built on AWS Nitro System, which is a combination of dedicated hardware and lightweight hypervisor that facilitates faster innovation and enhanced security. For Monzo the compute capability and built-in security of AWS Nitro System means that no operator on the cloud-provider side can access customer data. However, Monzo wanted to further enhance its security posture as a supplemental measure to protect customers.

Monzo engineers chose to use AWS Nitro Enclaves as a solution. “Ultimately, we are trying to secure our fundamental infrastructure on which everything else runs,” says Craig Ferguson, software engineer at Monzo. The company instituted time limits on privileged credentials and implemented MPA, which requires a second authorized user to approve an action. “I got the feeling that we were doing something really innovative with the technology,” says Dino Fizzotti, senior software engineer at Monzo. “People at AWS were really excited at how we were using the technology and the problems that we were solving.”

kr_quotemark

By using AWS Nitro Enclaves, we have achieved a level of security that companies of our size generally don’t have.”

Craig Ferguson
Software Engineer, Monzo Bank

Solution | Providing Credentials through MPA in Seconds within AWS Nitro Enclaves

In October 2022, Monzo implemented its first use case. While maintaining its well-established authentication methods familiar to engineers, Monzo simultaneously deployed the workload in AWS Nitro Enclaves. Using the highly isolated environment of AWS Nitro Enclaves, Monzo engineers reduced the vulnerable surface area for sensitive data processing applications.

“That first solution gave us all the experience and confidence we needed in the system,” says Fizzotti. “We didn’t have to update our tooling or how we write software to gain the security benefits. It was just a big win for us.” The team quickly deployed a second use case, lifting and shifting its Kubernetes deployments. “The behavior of the system isn’t different from a user perspective,” says Ferguson. “It completely hides the fact that it’s running in an enclave. It’s a seamless process.”

The engineering team built additional resilience into the infrastructure by adhering to the practice of reproducible builds, which further maintains the integrity of source code. “I can trust that the image that we are deploying to production corresponds directly with the code that’s been reviewed and accepted,” says Ferguson. “This is a problem that would have been difficult to solve outside of AWS Nitro Enclaves.”

In January 2023, Monzo engineers further enhanced the security protocols for engineers operating within AWS Nitro Enclaves by rolling out MPA for time-bound credentials. Although engineers must still wait for approval, the process happens quickly. No access to privileged roles remains without MPA. “At first, there was a little bit of additional friction in our MPA solution, which is a natural consequence that we are happy to accommodate, given the additional security benefit,” says Fizzotti. “But now that the engineers are really comfortable with the tooling, the MPA approval happens within seconds.”

To increase visibility into exactly who has access to workloads running within AWS Nitro Enclaves, for how long, and for what reason, Monzo broadcasts authorization requests internally. “The justification is visible to all engineers,” says Fizzotti. “The rest of the organization can see who is making a change according to their request detail and who has approved it.”

By using the cryptographic attestation feature of AWS Nitro Enclaves, Monzo engineers certify that only authorized code is running inside the enclave, adding strong security guarantees to Monzo’s microservices workflow. Additionally, Monzo uses AWS Key Management Service (AWS KMS), which lets engineers create, manage, and control cryptographic keys across applications and AWS services. The use of AWS KMS means that only a specific enclave running authorized code can receive secrets from AWS KMS. In short, Monzo’s solution automatically protects itself from malicious interference that might have tampered with the integrity of the code.

Monzo’s implementation relies on the combination of AWS Nitro Enclaves and the support of AWS KMS for cryptographic attestation so that only trusted workloads running in an enclave can decrypt the persistent secrets necessary to operate MPA. The isolation offered by AWS Nitro Enclaves means that secrets are inaccessible even to sophisticated attackers who might have gained privileged access to the underlying infrastructure.

Outcome | Implementing Identity Management Using Multiparty Control

Using AWS Nitro Enclaves, Monzo has added strong security guarantees to its microservices workflows, gaining confidence in the secure operation of the infrastructure. The company plans to expand its use of AWS Nitro Enclaves and MPA protocols to include third-party providers so that outside applications can run seamlessly within the heightened security of the infrastructure. “By using AWS Nitro Enclaves, we have achieved a level of security that companies of our size generally don’t have,” says Ferguson. “We are achieving a security posture that combines the best of banking and tech while delivering value and security to our customers.”

About Monzo Bank

Founded in 2015, Monzo Bank is the UK’s largest digital bank. Its seven-and-a-half million customers use Monzo’s mobile banking for money management, budgeting, and saving.

AWS Services Used

AWS Nitro Enclaves

AWS Nitro Enclaves enables customers to create isolated compute environments to further protect and securely process highly sensitive data such as personally identifiable information (PII), healthcare, financial, and intellectual property data within their Amazon EC2 instances.

Learn more »

Amazon EC2

Amazon Elastic Compute Cloud (Amazon EC2) offers the broadest and deepest compute platform, with over 600 instances and choice of the latest processor, storage, networking, operating system, and purchase model to help you best match the needs of your workload.

Learn more »

AWS KMS

AWS Key Management Service (AWS KMS) lets you create, manage, and control cryptographic keys across your applications and AWS services.

Learn more »

Kubernetes on AWS

Kubernetes is open-source software that allows you to deploy and manage containerized applications at scale.

Learn more »

More Financial Services Customer Stories

no items found 

1

Get Started

Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.