The Codespaces Hack: How One Breach Deleted a Company (Encore)
The Codespaces hack is the story of how one breach deleted a company. In 2014, an attacker got into Code Spaces' AWS account, demanded a ransom, and when the company tried to lock them out, started deleting. Servers, snapshots, S3 buckets, and the backups, because the backups lived in the same account. Within hours, Code Spaces announced it was done.
This is an encore episode, the third in our Cloud Disasters encore series. We brought it back because of how much of it people actually listened to, not just how many downloaded it. It had the highest listen-through of the whole series. On average, people listened to more than the entire episode, which means a lot of you came back to hear it again.
Prasanna and I walk through what Code Spaces was, the website that bragged about a recovery plan "proven to work time and time again," and how the attack played out: a DDoS as a distraction, a ransom note left in the AWS dashboard, backup admin logins the attacker created so they couldn't be locked out, and then the deletions.
Then we get into what they should have done. Backups in a different account. Immutability. MFA, which did exist back then. Least privilege. Monitoring for new super-user accounts. And a "nuclear button" plan for locking down a compromised cloud account before the attacker can do any more damage. We also talk about the 200-plus companies that trusted Code Spaces with their code and didn't keep a copy of their own.
I always use this story when I talk about backup design in the cloud, because I still see this exact design all the time: production and backups in the same account, protected by the same credentials. If that sounds like your setup, listen to this one.
Got a better idea for locking down a hacked cloud account? Leave us a voicemail at backupwrapup.com.
Chapters
00:00 Encore intro: one bad day takes out both
02:18 Welcome, and Curtis's Tesla obsession
04:49 Back up the cloud: the cloud is not magic
06:31 2014 and the rise of ransomware
07:23 What Code Spaces was
08:26 A recovery plan "proven to work"
09:16 Poor backup design and the 3-2-1 rule
10:26 How the attacker got in
11:32 A DDoS as a distraction
12:23 The ransom note in the AWS dashboard
13:37 Trying to lock out the attacker
14:47 What got deleted
17:25 "We have no alternative but to cease trading"
19:08 What they should have done: a different account
21:07 Object lock and MFA
23:11 Least privilege
24:00 A nuclear button for a compromised account
28:31 Monitoring for new privileged accounts
29:18 The summary: follow the 3-2-1 rule
30:05 What about Code Spaces' customers?
31:38 Final thoughts
What would happen to your company if somebody got your cloud admin
Speaker:password and started deleting things?
Speaker:For Codespaces, the answer was simple: the company stopped existing.
Speaker:This is the third episode in our Cloud Disaster Encore series.
Speaker:We picked these based on how much of, uh, of each episode people
Speaker:actually listened to, not just how many people, uh, downloaded it.
Speaker:And this one had the highest listen-through of the entire series.
Speaker:On average, people listened to this more than the whole thing, which means
Speaker:that a lot of you actually came back and watched it a couple of times,
Speaker:or listened to it a couple of times.
Speaker:Back in 2014, an attacker got into Codespaces' AWS
Speaker:account and demanded a ransom.
Speaker:When the company tried to lock them out, the attacker started deleting.
Speaker:Servers, storage, backups, because the backups were in the same
Speaker:account with the same permissions.
Speaker:Within hours, it was over, and Codespaces was shut down for good.
Speaker:There's no big update to this story.
Speaker:It's been a while, uh, because the, there's no company left to
Speaker:update you about, but I still see this exact mistake all the time.
Speaker:Production and backup sitting in the same account, protected
Speaker:by the same credentials.
Speaker:One bad day takes out both.
Speaker:If that sounds like your world, this episode is for you.
Speaker:I hope you like it.
Speaker:If this is your first time watching or listening to me, I'm
Speaker:W. Curtis Preston, AKA Mr. Backup.
Speaker:I've been obsessing over backup recovery, and now cyber recovery, for over 30 years.
Speaker:If that's your bag, I'm your guy.
Speaker:You're not gonna find anybody that cares about this topic more than me.
Speaker:Ever since 1993, when I had to tell my boss there were no backups of
Speaker:the database that we had just lost.
Speaker:Now I've written five O'Reilly books, a blog, and a podcast.
Speaker:Here we turn unappreciated admins into cyber recovery heroes.
Speaker:This is the Backup Wrap Up.
Speaker:Welcome to the show.
Speaker:I'm your host, w Curtis Preston, and I have with me my continued and necessary
Speaker:Tesla consultant Prasanna Malaiyandi.
Speaker:How's it going Prasanna
Speaker:persona
Speaker:Pana.
Speaker:I am doing well Curtis, and how have you been?
Speaker:I, as I have been.
Speaker:Fiddling.
Speaker:why am I not surprised?
Speaker:I have been, fiddling with the automations of my Tesla now.
Speaker:Tesla's come in, I'm gonna say two battery flavors, right?
Speaker:There's NMC and LFP.
Speaker:And I have the latter.
Speaker:And the latter is not supposed to be subject to the same don't
Speaker:charge it to a hundred percent unless you need it right away.
Speaker:Issue.
Speaker:In fact tell
Speaker:you to charge it to a hundred
Speaker:I do tell you to charge it to a hundred percent at least once a week.
Speaker:but I was charging it to a hundred percent every day.
Speaker:And I was thinking that I, that even though it doesn't have necessarily
Speaker:the same issues, I could still get better battery life by not charging to
Speaker:a hundred percent unless I needed to.
Speaker:which, for me is not all the time.
Speaker:And but I'm also very absent-minded, and so I couldn't like lower
Speaker:the percentage and then remember to raise the percentage later.
Speaker:And I found this wonderful app called Tessie, and I've been obsessing
Speaker:over it for about a week or two.
Speaker:A week.
Speaker:It's been nine days.
Speaker:Yeah.
Speaker:Yeah.
Speaker:I will say if there's any listeners that are a Tesla owner, I.
Speaker:Uh, you should just get Tessie, uh, T-E-S-S-I-E in the app store.
Speaker:I bought it for the automation.
Speaker:What I also got was this immense amount of analytics and reporting
Speaker:and, all this great stuff.
Speaker:And also reminders.
Speaker:That's another, speaking of being absent-minded, it will tell me, hey.
Speaker:Idiot, you're home and your car's not plugged in.
Speaker:Yeah, because how many times has that happened to you, Curtis, that
Speaker:you've come home and you're like,
Speaker:a couple, enough that it was annoying.
Speaker:it, I will say it, nothing is more annoying than, basically
Speaker:driving your car down to, the electrical equivalent of fumes.
Speaker:And then, and then getting up in the morning and going,
Speaker:okay, I'm ready to drive today.
Speaker:And you're like, oh, crap, I gotta go to the.
Speaker:I gotta go the supercharger for 20 minutes before I could do anything else.
Speaker:yeah, so it's got, it's got that the notifications, it reminds
Speaker:me to, to rotate my tires.
Speaker:And also gives me analytics about my driving and my efficiency and, yeah.
Speaker:yeah.
Speaker:So happy.
Speaker:but you know, who's not happy?
Speaker:The people that are gonna be in this new series,
Speaker:they're not happy.
Speaker:One of the things that you've heard us say
Speaker:is what Bana.
Speaker:Back up the cloud.
Speaker:Yes, backup up the cloud.
Speaker:The cloud is not magic.
Speaker:There is no such thing as the cloud.
Speaker:It's just somebody else's computer.
Speaker:Uh uh, the cloud doesn't magically back up itself.
Speaker:Despite what you may have been told the cloud there are parts of the cloud where.
Speaker:People generally agree with me.
Speaker:I think probably the best example would be something like AWS, you know, like EC2.
Speaker:They're like, yes, we know EC2 needs to be backed up.
Speaker:and then we just argue a little bit over how that's going to be done.
Speaker:But when we get to the extreme it, the other end of that, we get the
Speaker:SaaS world, we get the Microsoft 365 lovers who say, oh, this, that,
Speaker:this doesn't need to be backed up.
Speaker:or G
Speaker:Suite and, we have gone back over the last, several years and selected,
Speaker:a number of, poor victims of.
Speaker:This belief and, I can think of no better, story to start this out than code spaces
Speaker:because it, I think it was the first,
Speaker:it was probably the first that was well publicized as well as having very dire
Speaker:consequences for not backing up the cloud.
Speaker:I.
Speaker:And it's interesting from a timing perspective, it happened in 2014.
Speaker:Which to me is the year of the beginning of the massive level of ransomware.
Speaker:Now, I know ransomware actually goes way back longer.
Speaker:You know, much longer be before that.
Speaker:But to me, 2014 is really when I started seeing ransomware everywhere.
Speaker:And this was technically a ransomware attack, not in the traditional sense
Speaker:that we think of today, but it was, so Code spaces.com was a site, and
Speaker:this is the irony of all ri ironies.
Speaker:and I will say that unlike Alanis Morissette, I actually
Speaker:know what the word ironic means.
Speaker:I love the song.
Speaker:It's just, there's so many things to that song that are not in any way ironic.
Speaker:They just suck.
Speaker:code spaces.com was a site to store your code.
Speaker:It was like,
Speaker:GitHub.
Speaker:it was like a GitHub and they had many customers and it was a
Speaker:safe space to store your code.
Speaker:Hence the name code spaces.com.
Speaker:Yeah, so basically like you mentioned, it was a place companies could store their
Speaker:code and this was way back in the day.
Speaker:And so it's like, hey, if you just have your own code sitting locally
Speaker:on your system, because not everyone was comfortable with the cloud, they
Speaker:offered a service that allows you to store your code there and keep it safe.
Speaker:And now according to a cash version of their website, because of course
Speaker:you can't find anything anymore about them, uh, they had over 200 customers.
Speaker:A week or 200 companies a week using their service, which isn't
Speaker:like small beans, right?
Speaker:And yes, it's not like the thousands of millions, but there are 200
Speaker:customers who now no longer have access to their code anymore because
Speaker:of what happened in code spaces.
Speaker:The other interesting thing is according to their websites, and I will quote
Speaker:backing up, data is one thing, but is meaningless without a recovery plan.
Speaker:Not only that, a recovery plan and one that is well practiced and
Speaker:proven to work time and time again.
Speaker:Code Spaces has a full recovery plan that has been proven to
Speaker:work and is in fact practiced.
Speaker:That
Speaker:do you think about that, Curtis?
Speaker:That sounds really good.
Speaker:based on what we know happened, clearly they didn't test for
Speaker:all scenarios.
Speaker:And they specifically didn't test for cyber attack.
Speaker:Which at the time could you fault them really?
Speaker:I don't know.
Speaker:they had poor backup design.
Speaker:Just, you know what we're
Speaker:gonna get to, what we're gonna find out.
Speaker:They had full backup.
Speaker:They had poor backup design.
Speaker:They failed to follow what persona?
Speaker:The 3, 2, 1 rule.
Speaker:we haven't talked about this in a long time.
Speaker:Do you wanna quickly mention it to some of our
Speaker:Yeah.
Speaker:So the 3, 2, 1 role, and by the way, many companies have said
Speaker:it's gotta be more than 3, 2, 1.
Speaker:Yes, I agree.
Speaker:These days it has to be more than 3, 2, 1, but if it's not 3, 2, 1, there's no point
Speaker:in talking about the other ones, right?
Speaker:Having at least three versions on two different media, and the idea here is
Speaker:on things that are subject to different.
Speaker:Risk profiles, right?
Speaker:Maybe it's disco and tape, maybe it's, on-Prem and off-Prem.
Speaker:Maybe it's, on-prem and Cloud.
Speaker:Maybe it's, a different region, et cetera.
Speaker:And then one three, the one is make sure that there's something off site.
Speaker:they had neither the two nor the one,
Speaker:but we're gonna get to that in a minute.
Speaker:and for those listeners who wanna know more, we actually had an episode with the
Speaker:person who coined the term 3, 2, 1, who comes from digital photography, in fact.
Speaker:And so you should go take a listen to that episode.
Speaker:We'll
Speaker:Yeah, we'll put.
Speaker:Yeah, we'll put a show notes.
Speaker:Peter Krogh.
Speaker:great guy.
Speaker:So what happened?
Speaker:we have that a hacker gained privilege credentials that we still
Speaker:don't know how that happened, right?
Speaker:They're saying probably through phishing or possibly through, stored
Speaker:EC2 access keys in a public code
Speaker:repository.
Speaker:Which happened a lot back then and still does today.
Speaker:Yeah.
Speaker:Yeah.
Speaker:The, there was a, security researcher at Tripwire that said, that this is
Speaker:a problem for people how to, how to, manage authentication codes like this.
Speaker:And, they said they, they had seen thousands of EC2 accounts
Speaker:abused after storing their EC2 keys in public code repositories.
Speaker:Ouch.
Speaker:but we don't, so we don't know.
Speaker:Someone
Speaker:got access.
Speaker:Yeah.
Speaker:Would it be ironic if Code Spaces was using code spaces to store
Speaker:their code and they left a public repository with their EC2 key?
Speaker:That wouldn't indeed be ironic.
Speaker:but yeah, so we don't know exactly how this hacker, this, bad actor got
Speaker:access to the environment, but they did.
Speaker:And the first thing that they did was they started a DDoS attack.
Speaker:what is a
Speaker:DDoS attack persona?
Speaker:This is a DI distributed denial of service, so you have a bunch
Speaker:of servers outside hammering various servers at a company.
Speaker:Causing it, flooding it with a lot of traffic, which then
Speaker:causes it to stop responding.
Speaker:So if you're code spaces, someone did a DDoS attack on you now, you wouldn't
Speaker:be able to serve and function as a service to those 200 paying customers.
Speaker:Yeah, the really interesting thing about this is that the DDoS
Speaker:attack was apparently subterfuge.
Speaker:look over here
Speaker:while I, nothing up but
Speaker:which I think is still common today, right?
Speaker:There are still a lot of companies who they're trying to hide their tracks
Speaker:and they're like, Hey, everyone's gonna fight, and DDoS were common.
Speaker:And so they have a plan in place and everyone's scrambling there where you're
Speaker:like, Hey, look at my left hand while I'm doing something with my right.
Speaker:And then I think the, I don't know if interesting is right, but the hacker
Speaker:left contact details for themselves in the customer's Amazon dashboard.
Speaker:Uh, this was, this was, I, I think, I think maybe we haven't mentioned it.
Speaker:This was an AWS customer.
Speaker:And this is why we call it ransomware, right?
Speaker:Even though it's not your traditional ransomware like we
Speaker:think today, it more or less is.
Speaker:Yeah.
Speaker:So then, I'll quote from there.
Speaker:There was a page, by the way, there was a page.
Speaker:basically code spaces.com died after this, and it became a, they
Speaker:replaced it with just one page that says, here's what happened.
Speaker:And we're, I'm gonna read quotes from that page that are no longer
Speaker:available because they sold the domain.
Speaker:upon realizing that somebody had access to our control panel, we started
Speaker:to investigate how access had been gained and what access that person
Speaker:had, to the data in our systems.
Speaker:It became clear that so far no machine had access had been achieved due to the
Speaker:intruder not having our private keys.
Speaker:that's what they thought, right?
Speaker:but things
Speaker:turned, yeah, turned ugly.
Speaker:why don't you talk about
Speaker:the next one there.
Speaker:So what was the response?
Speaker:So Code Spaces did a smart thing and one of their first response.
Speaker:Actions was to change all of its EC2 passwords, but quickly, code
Speaker:spaces discovered that the attacker had created backup logins, which any
Speaker:sensible person's going to do, right?
Speaker:You're never gonna say, Hey, I'm only gonna have one admin in my environment.
Speaker:And so the attacker was able to create all these backup logins, and so now they
Speaker:were able to just go back into the system.
Speaker:And continue doing the attacks.
Speaker:And once they realized that Code Spaces was trying to actually recover and
Speaker:take control from the attacker then started to go and just delete things
Speaker:from the control panel because they had super user access at that point.
Speaker:So they could do whatever they wanted.
Speaker:Yeah, somewhere in here, in the version of the story that I have, I remember there
Speaker:was a d, there was a, there was an attempt at a ransom, basically give us this amount
Speaker:of money, or we're gonna, do bad things.
Speaker:but the, they obviously didn't want to pay the ransom.
Speaker:And then, then what
Speaker:happened?
Speaker:And so finally code spaces got their control panel access back, but not before.
Speaker:The attacker had caused quite a bit of damage, so the attacker had gone
Speaker:removed all the EBS syn snapshots, S3 buckets, all the amis, which are the
Speaker:Amazon machine instances, some EBS instances and several machine instances.
Speaker:And this is a quote from the same webpage that Curtis was talking about.
Speaker:In summary, most of our data backups, machine configurations
Speaker:and offsite backups were either partially or completely deleted.
Speaker:What I, I did.
Speaker:I never noticed that phrase before.
Speaker:And they said And offsite backups.
Speaker:What?
Speaker:Offsite backups.
Speaker:What I mean, what be, because the hacker only had access to
Speaker:the one account.
Speaker:I am guessing that they replicated to another AWS region within the
Speaker:Okay.
Speaker:Okay.
Speaker:Another zone within the
Speaker:same account.
Speaker:All right.
Speaker:or another region.
Speaker:Yeah,
Speaker:yeah, But still within the
Speaker:same account
Speaker:Possibly within the same account.
Speaker:Yeah.
Speaker:yeah, possibly you're right.
Speaker:We don't know for sure, but if it wasn't the same account, then the hacker had
Speaker:to gain access to multiple accounts.
Speaker:Yeah.
Speaker:Yep.
Speaker:yeah.
Speaker:So basically this is the equivalent of blowing up somebody's data center, right?
Speaker:because basically they just.
Speaker:In a matter of a few keystrokes, they just deleted essentially everything, right?
Speaker:Everything that mattered, or enough things that mattered
Speaker:that they, took out the company.
Speaker:One of the things that I don't know if you found any information about Curtis is
Speaker:did they ever reach out to law enforcement or even AWS's security operations
Speaker:to be like, Hey, I have this issue.
Speaker:Can you help me?
Speaker:Yeah, we don't, I'm going to.
Speaker:Assume that once the feces hit the rotary oscillator, I'm sure they called AWS.
Speaker:of course they called AWS, but what we know is that
Speaker:right, if AWS isn't magic, and if you didn't follow the architecture
Speaker:and do the things that you were supposed to do, A-W-A-W-S can't
Speaker:undo that.
Speaker:Yeah, I was just wondering before it changed, its EC2 passwords, if
Speaker:they had reached out to AWS, if they could have helped them in some way
Speaker:or been like, Hey, here are the best practices for locking down your account,
Speaker:Yeah, I'm gonna guess based on how they responded that they did not do that I
Speaker:don't think their response was the best thing they could have done at the time.
Speaker:so then we have, So here's again, I'm reading from their co their, from
Speaker:their quote here, code spaces will not be able to operate beyond this point.
Speaker:The cost of resolving this issue to date and the expected cost of refunding.
Speaker:Customers who have been left without the service they paid for, we'll
Speaker:put code spaces in an irreversible position, both financially and
Speaker:in terms of ongoing credibility.
Speaker:No kidding.
Speaker:as such, at this point.
Speaker:We have no alternative but to cease trading and concentrate on supporting
Speaker:our affected customers and exporting any remaining data they have left with us.
Speaker:Ouch.
Speaker:That is, that's a tough one.
Speaker:So basically, hacker gets in Hacker, Offers are ransom.
Speaker:They try to, instead of paying the ransom, they try to lock
Speaker:the hacker out unsuccessfully,
Speaker:Yep.
Speaker:and then the hacker deletes the company, the they deleted basically
Speaker:everything, as much as they could get access to in that, in that
Speaker:account.
Speaker:That's crazy.
Speaker:Yeah.
Speaker:Yeah.
Speaker:This is one of those where it's like, I always used this story to
Speaker:recommend backup design for the cloud.
Speaker:Even though I don't think I've ever encountered someone who says,
Speaker:I don't need to back up EC2, I don't think I've ever heard that.
Speaker:Yeah.
Speaker:I have very commonly found people whose backup design was very similar
Speaker:to this company's backup design.
Speaker:And, let me ask you this.
Speaker:What do you think, what could they have done differently to stop this?
Speaker:To prevent this from happening.
Speaker:I would say the first could have been take your backups to a different account.
Speaker:In a different region, or even in the same region, that would've
Speaker:at least kept your data safe.
Speaker:Yeah, I, yeah, I completely agree with you.
Speaker:I would probably just say as long as you, as long as you're, I guess what.
Speaker:I'm trying to, I'm factor, I'm thinking in my head, from a cost perspective,
Speaker:does it cost extra to send to another
Speaker:region?
Speaker:Is that,
Speaker:Yeah, usually it does.
Speaker:Yep.
Speaker:Okay.
Speaker:So
Speaker:But they already have an offsite backups,
Speaker:right?
Speaker:right?
Speaker:Yeah.
Speaker:So.
Speaker:I think that your backup should be copied to another region and another account.
Speaker:I, I actually, and I'll say that, my, my opinion is somewhat peppered by having
Speaker:worked for a company that does this.
Speaker:But there are companies that will backup your cloud data and then get it out
Speaker:of the cloud into their cloud, and I think that's as secure as it can be.
Speaker:And I think that it should be then stored in some type of immutable type offering.
Speaker:basically get it, get it out of the region for
Speaker:security against bad things that might happen that aren't hackers.
Speaker:And then get it out of the account to secure it against hackers and the.
Speaker:If that costs you money, figure out a way to do that costs
Speaker:you as little as possible.
Speaker:and I do think the companies that can back up, take the incremental data and then
Speaker:maybe de-dupe it before they pull it out.
Speaker:If they can do that, you can minimize the egress cost of moving it out.
Speaker:the other thing, Yeah, so they didn't have it in a different account.
Speaker:They didn't have object lock turned on.
Speaker:Object lock did not exist back
Speaker:then.
Speaker:By the way.
Speaker:what's that?
Speaker:Object lock didn't exist back then,
Speaker:Okay, so we won't blame them for that.
Speaker:but since object lock exists now, we'll say this is what you should do.
Speaker:what did exist back then that they did not use multifactor
Speaker:authentication?
Speaker:Oh, for their access into their admin account or into their
Speaker:Yeah.
Speaker:Yeah.
Speaker:So if somebody gains access to your admin keys and they're able to log in.
Speaker:If you don't have MFA you, you have zero protection against someone
Speaker:either stealing or accidentally, inadvertently getting access to
Speaker:administrative level keys and, uh.
Speaker:M-F-A-M-F-A-M-F-A mfa, how many times do we have to say it right?
Speaker:good password management, MFA and, patch management.
Speaker:we say this all the time.
Speaker:If you just did those three things, you'd stop roughly 90% of attacks.
Speaker:And in this case, if they had MFA, this, bad actor would not have been able to
Speaker:gain access.
Speaker:Yeah, and I think it's important to say just because you use MFA and
Speaker:patch management and everything else.
Speaker:Doesn't mean that you don't need backup, you still need backup because
Speaker:that is how you are gonna recover from this, plus other issues as well.
Speaker:The security side of things just helps to protect you from letting
Speaker:the hackers in to some extent.
Speaker:Not gonna be a hundred percent foolproof, but hopefully, like
Speaker:Curtis said, protects you.
Speaker:And 80, 90% of the cases.
Speaker:Yeah, to borrow from and totally abuse a quote from Shakespeare.
Speaker:There is more on heaven and earth than that is dreamt of.
Speaker:In your philosophy, there are many ways that your data can be attacked, deleted.
Speaker:Set on fire exploded.
Speaker:Sucked into a sinkhole.
Speaker:There's so many different things that can happen to your data.
Speaker:That's why you have backup.
Speaker:And backup protects against all of them.
Speaker:and we're saying backup and Dr and all of those things that come with it.
Speaker:but the other thing that they also didn't do was this idea of, least privileged.
Speaker:Do you
Speaker:want to talk about that?
Speaker:Yeah, so normally you do not want, in a company, you don't want the
Speaker:intern to have the same level of access as your CEO or your IT admin.
Speaker:And so you wanna be able to say, Hey, whatever access a person needs
Speaker:to something, that's all they should have access to and nothing else.
Speaker:And so you wanna have, make sure that you are focused on that and
Speaker:don't just say, Hey everyone, you guys have admin credentials so you
Speaker:can do anything and everything.
Speaker:Because if one person who inadvertently gets compromised,
Speaker:now everything is exposed.
Speaker:So you wanna scope down their access to only what they need and that's it.
Speaker:Exactly.
Speaker:Now, when reading the, articles about this, one of the things that other
Speaker:people I. dinged this company for, was that they didn't have an established
Speaker:procedure for locking down the account.
Speaker:And when I thought about that, I just found myself wondering.
Speaker:I. Huh?
Speaker:How exactly would that happen?
Speaker:And the best that I could find, how would you do that?
Speaker:And the best that I could find is that you would have a secondary account
Speaker:that has access to this account that you then have a procedure to do
Speaker:things like, disable, I think about.
Speaker:what is the cloud equivalent to blocking somebody out?
Speaker:and I think the quickest way would be to disable particular I am profiles.
Speaker:there, there was some, I, and I'm not an expert on this, I don't
Speaker:think you're an expert on this.
Speaker:I would say talk to your cloud company.
Speaker:Talk to your cloud provider.
Speaker:Ask them, Hey, I am worried that one day my cloud entire environment
Speaker:might become compromised.
Speaker:How can I automate, basically locking everything out?
Speaker:Once we determine that a hacker is in our environment, I would really like
Speaker:a button that I can press from another account that shuts everything and down.
Speaker:And everything like this can be automated and yes, that is
Speaker:a, you know what's the term?
Speaker:The, yeah.
Speaker:The nuclear option.
Speaker:That is the nuclear option.
Speaker:But once you have an a hacker in your account to me that
Speaker:would be the proper option.
Speaker:Shut everything down.
Speaker:except for I would think create a new IAM profile that you can use after you've
Speaker:done this, and then nuke everything that isn't that, and that should be
Speaker:automated and that, and I don't think this is something we normally talk
Speaker:about.
Speaker:I don't think it's something we talk about, but it has
Speaker:to be out there somewhere.
Speaker:I'm sure that AWS or Google or pick your favorite cloud provider,
Speaker:they probably have a procedure.
Speaker:I think the danger is you don't want it too automated because there's also the
Speaker:risk that a hacker or someone else could trigger that and shut down your company.
Speaker:So it's one of those nuclear options.
Speaker:So you don't wanna make it too easy.
Speaker:But I'm sure that
Speaker:Yeah.
Speaker:a.
Speaker:Yeah.
Speaker:use the nuclear option to.
Speaker:This is one of those where this is the nuclear button, and so you just,
Speaker:maybe you have an account that just does this and that account is like
Speaker:completely separate from everything else.
Speaker:Like we, we talk about having an account.
Speaker:That is the backup account, right?
Speaker:That is used for backups and no one ever logs into this account.
Speaker:And you create it in such a way that if anyone ever does log in,
Speaker:does log into the account, it sets off alerts everywhere and Right.
Speaker:it can be like a honeypot account, but this account, yeah, I'm not sure how to
Speaker:do, again, I'm not an expert in this, but I would create a separate account.
Speaker:I would make that account as secure as humanly possible.
Speaker:Again, ask your cloud provider how to do that, the best way to do that.
Speaker:But I just noticed that everybody said that almost everybody, they're like, they
Speaker:should have had procedures for what to do in this situation, and they didn't
Speaker:have them.
Speaker:I think
Speaker:perhaps,
Speaker:right?
Speaker:what's that?
Speaker:At least manual procedures, right
Speaker:At least manual procedures, right?
Speaker:Because I don't think that changing the passwords on IM profiles
Speaker:was the quickest way to do that.
Speaker:I think the thing they should have focused on perhaps was kicking out, currently
Speaker:logged in sessions, Yeah, I don't know.
Speaker:And the problem is, it's like, how do you, you have to build your incident
Speaker:response around your environment.
Speaker:And one of the things that they could have done is maintain an inventory of,
Speaker:basically privileged, super privileged accounts and look and see if there
Speaker:were any new ones.
Speaker:that's the thing I was going to mention is they should at least have had monitoring.
Speaker:When someone adds a super privileged user, they should have been flagged
Speaker:about that immediately, right?
Speaker:Because that's not a common occurrence.
Speaker:And so monitoring, alerting is also looks like something that people should be doing
Speaker:to catch these sort of issues as well.
Speaker:Yeah, and I'd love, by the way, I'd love other suggestions from listeners.
Speaker:I would love to hear from you.
Speaker:If you go to backup wrap up.com, there's actually a button on there
Speaker:that you can leave voicemails.
Speaker:You can send us notes and, if you'd we can actually even
Speaker:play your response on the air.
Speaker:I would love to hear better suggestions than we have from a security
Speaker:perspective because I'm, I'm Mr. Back.
Speaker:I'm not Mr. Security.
Speaker:I play a security on tv.
Speaker:the, but, the summary statement.
Speaker:From a backup perspective, if they had simply followed the 3, 2, 1 rule, if they
Speaker:had made another copy of their backups in another account, in another location,
Speaker:if they had used a cloud provider to do this for them so that then a copy of all
Speaker:their data was stored in a completely different company, if they had done any
Speaker:of those things, they would've at least had a copy so that once they got on the
Speaker:other side of the attack, they could have.
Speaker:Then recovered all the data because that's the true disaster here.
Speaker:As that once they've been attacked and once the attacker gained access
Speaker:to their account, they were able to delete all their data, both
Speaker:their primary and their backups
Speaker:So I know we've been focused solely on code space as the company, but I
Speaker:think there's also blame to be placed on those 200 companies who were using
Speaker:Code Spaces for not also having a backup of their data and relying solely on
Speaker:code spaces as their service provider.
Speaker:that is an interesting, we, we tend to focus here on the fact
Speaker:that it was a provider, but what this really was a SaaS provider.
Speaker:Yep.
Speaker:Yep.
Speaker:Yeah.
Speaker:So we don't know what happened to those other companies.
Speaker:And so this is a double lesson, right?
Speaker:if you're running in the cloud, make sure you've got a backup of that data.
Speaker:If you're using a SaaS provider, make sure you have another copy of the data
Speaker:that you're putting in that SaaS provider, because that would be another way for at
Speaker:least the, the thing that's difficult.
Speaker:Here, again, I agree with you, the thing that's.
Speaker:the difference here is that unlike many of the SaaS providers, this company
Speaker:specifically said, Hey, we got it.
Speaker:We got your backups, this data, and it's tested and it's all this stuff, right?
Speaker:the, I just had a thought.
Speaker:if we go to LinkedIn and we search for code spaces.
Speaker:Find people that used to work in code spaces.
Speaker:Oh, that would be, I wish we could talk to somebody that was
Speaker:involved in this, but I think we can
Speaker:I'm sure there are probably NDAs.
Speaker:What's that?
Speaker:There's probably NDAs.
Speaker:Oh, they're probably NDA.
Speaker:Yeah.
Speaker:All right.
Speaker:back up the cloud, I told you Any final thoughts for you, persona?
Speaker:No, I totally agree with that, and I like this because I know we bring up code
Speaker:spaces a lot, so I think that hopefully our listeners now understand why we
Speaker:talk about it and what they should not be doing, and why we harp so much on
Speaker:things like the 3, 2, 1 rule on MFA, because you don't want your company
Speaker:to have to shut its doors because they were unable to recover their data.
Speaker:Yeah.
Speaker:And sadly, this will not be the last company that.
Speaker:basically ceased to exist, because they didn't properly back up their data.
Speaker:Yeah,
Speaker:All right.
Speaker:thanks for, joining me persona, as always.
Speaker:anytime and looking forward to see your analytics on your car.
Speaker:I will see what I can do and I will also thank our listeners,
Speaker:we be nothing without you.
Speaker:Thanks for listening.
Speaker:And be sure to subscribe so you don't miss an episode.
Speaker:That is a wrap.
Apple Podcasts
Spotify
Castro
RSS Feed