r/devops • • Oct 30 '26

Security Binance hack and a DevOps laptop

Post image

Binance's initial investigation suggests that the security incident may involve a compromised DevOps engineer’s laptop, which allowed an attacker to gain access to a service container and submit unauthorized withdrawal transactions. We have found no evidence of any wallet private key leak. We will share a detailed technical post-mortem once the investigation is complete and the facts are fully verified.

The estimated total impact sits at around $6.3B. We have worked with blockchain partners to freeze affected assets, with ~$3 billion frozen on-chain so far.

Binance will cover all losses from the SAFU fund and the company’s funds. User funds are safe. We will also publish an updated Proof of Reserves once the remediation is complete.

As an immediate precaution, Binance has:

- temporarily suspended deposits and withdrawals while security checks are completed;

- revoked the affected address authorisation;

- engaged law enforcement and blockchain intelligence partners to trace and recover funds.

Our teams are working around the clock to resolve this issue safely and thoroughly. We are working closely with our law enforcement partners to confirm the identity of these criminals and bring them to justice.

Please rely only on official Binance channels for updates. Please feel free to contact Binance Customer Support if you have any further questions.

668 Upvotes

201 comments sorted by

View all comments

Show parent comment

208

u/donjulioanejo Chaos Monkey (Director SRE) Oct 30 '26

If you have infrastructure access, you effectively have application-level privilege escalation.

Example:

  • Connect to EKS cluster (normal so far)
  • Can't exec into a pod (restricted), but can edit a deployment and change start command (effectively running 1 command at a time by rebooting a pod)

    • Or maybe just push a specially built image with dev tag and use devops breakglass powers to promote to prod
    • Or just SSM/SSH into an EKS node and docker/crictl exec into a live pod
    • etc.. possibilities are endless
  • Use pod to access DB
  • Find pending_transfers table and read it's schema
  • Realize DB is encrypted
  • Use app IAM role or credentials to get encryption key from KMS/HSM since you're already on the app pod
  • Use encryption key to read db and add a pending transfer to your own wallets

Now, I'm probably oversimplifying here, but something like this would have worked in both fintechs I did DevOps in if my laptop got hacked.

If something is able to send transfers on its own (like a server), any significant shell access to that server will let you send bank transfers.

88

u/Nyefan Oct 30 '26

I do want to point out (especially to those who want to improve their own security posture) that the break glass escalation you mentioned is the primary protection against laptop compromise.

You can't protect against a malicious employee if you also want that employee to be able to stabilize production incidents at 3am, potentially alone, write all your ci/cd and terraform, manage your atlantis/puppet/jenkins/github, and so on. But you can mitigate the impact of a compromised developer laptop. Our break glass credentials have a very short lifetime, use mfa from our phones, and require either a second approved person's approval or sending an alert to the whole team. This doesn't eliminate the risk from a sophisticated attacker, but it does reduce the potential blast radius (and it forces us to do most of our work as unprivileged users, which has its own benefits as a forcing function).

30

u/Humble_Exchange_2087 Oct 30 '26

If Binance wasn't doing this it is ridiculous, you wonder how many other financial institutions are to have a insecure break glass account.

44

u/Reverent Oct 30 '26

Ah hah, you do not want to peek under the kimono of basically every organisation then.

13

u/NUTTA_BUSTAH Oct 30 '26

Most of them are "trivially" breachable in terms of basic operational security. The digital life of organizations is utter crap overall and the "DevOps slice" most see are the 0.1% of companies that do it somewhat properly or at least think about the relevant things / know they exist. Majority of the world does not live Dev(Sec)Ops.

And that is exactly why every CISOs etc. assholes are puckering when they read AI news.

8

u/i_am_voldemort Oct 30 '26

Real fin institutions at least have fancy auditors and regulators.

2

u/Soccham Oct 31 '26

I worked for a top 10 bank. Whenever we wanted to make a production change a compliance lady showed up with a binder and took us through a litany of questions and we didn’t even touch money.

2

u/Remote_Housing_9106 Oct 31 '26

good thing no bank ever had a breach or anything

→ More replies (1)

9

u/roiki11 Oct 30 '26

Financial institutions have actual standards they need to be compliant to(dora, soc2, pci dss and so on). They tend to take it very seriously.

You also can't just insert transactions into a single database and get money out. There's more checks than that.

→ More replies (1)

3

u/Soccham Oct 31 '26

Friendly reminder that most SOC auditors do not get hired back if they fail your SOC audit

2

u/MiHumainMiRobot Oct 30 '26

Oh if you knew ...

→ More replies (1)

4

u/Sufficient-Diver-327 Oct 30 '26

I've seen reports the hack took no longer than 20 minutes

4

u/definitelyainoreally Oct 30 '26

isn't the point of break glass to get around MFA if its down?

3

u/Nyefan Oct 30 '26

We have elected to accept longer downtime in the case that our sso and production systems are down simultaneously outside of business hours in lieu of having any other privilege escalation paths than what I have described. In addition, no one has write access to both.

→ More replies (1)

31

u/MaximumIntention Oct 30 '26

Not to mention. In most companies that are not operating under a zero-trust security model, internal traffic would usually be unencrypted so executing a MITM attack to capture various credentials and secrets would be trivial for an insider with network access.

19

u/donjulioanejo Chaos Monkey (Director SRE) Oct 30 '26 edited Oct 30 '26

To be fair, this is probably harder. Traffic to/from management plane (i.e. EKS, secrets manager, etc) probably is encrypted just by default TLS everywhere.

And if you have infra-level access inside the actual cloud environment so that you can run a packet sniffer on a node, my way is probably simpler.

Edit: that said, it does expose your security or IT team as a possible attack vector as well since any company of this type probably runs a DPI firewall like Fortigate or Palo Alto that essentially runs a MITM on every managed endpoint.

→ More replies (1)

9

u/lexd88 Oct 30 '26

You have some very good points! But I can only imagine that's only possible if the engineer has full access to prod directly from their local machines?

I wonder if the old school jump box/management machine would solve a chunk of these issues. Where it forces you to remote desktop into a specific environment before you can do anything prod related.

I mean I can't imagine a hacker would use a full desktop remote control and move the mouse and be typing stuff on the screen of the comprised computer? It's so obvious that its comprised

At a place where I work, there's Just in Time requirements to requests for prod access credentials and those are logged and sometimes require management approval.

Also if accessing the JIT tool forces the user to input their MFA, even if the attacker do manage to take control of the machine and do end up controlling the mouse and all (assuming it'll have to be way into the night when the engineer is sleep but left their machine on), then even accessing the jump box and requesting for prod credentials would rather extremely difficult if not impossible?

Along with strict temp/short lived sessions, the attacker won't be able to do much damage

Basically I'm thinking as an attacker, these events needs to take place behind the scenes without the engineer knowing something fishy is going on with their machine..

2

u/bzImage Oct 30 '26

>I mean I can't imagine a hacker would use a full desktop remote control and move the mouse and be typing stuff on the screen of the comprised computer? It's so obvious that its comprised.

u know .. most of this infrastructure stuff its on Linux headless servers.. and even when they use Windows.. they replace registrykeys, run stuff unattended, or open backdoors.. no actual "move the mouse or execute things on the screen" its performed.. because its not needed...

>Basically I'm thinking as an attacker, these events needs to take place behind the scenes without the engineer knowing something fishy is going on with their machine..

yes. thats called a persistent threat.. they can remain dormant monitoring the system..

→ More replies (1)

1

u/SeaworthinessHour233 DevOps Engineer & Educator Oct 30 '26

Good solutions.

But I am wondering what if the attacker gains access to that machine and may be run a script from there. Woudn't that be a disaster because, unlike a laptop which get's turned off at the end of the day, that remote desktop server would be up and running 24x7.

→ More replies (6)
→ More replies (3)

2

u/Unique_Jellyfish4768 Oct 30 '26

Best practice OPA policies at k8s admission controller API, container image signing, and read only credentials for interactive accounts (strict break glass and strict pipeline deployment models) are great ways to improve a security posture to prevent exploits like this.

They’re rarely employed, however, because it’s not easy and the dev community hates going at the pace of security capability, which is often slow and seen as a blocker.

1

u/SilentLennie Oct 30 '26

I would think in such an environment, nobody should have access to kubernetes or nodes, maybe readonly kubernetes, you should have gitops tool do deployment and need to put anything and everything you can in the stack below grafana. And approve gitops deployments to prod with approval by a colleague.

And if you are gonna have break glass accounts, they should be encrypted that you need two people.

4

u/CandidateNo2580 Oct 30 '26

The only difference between what you said and the comment you're replying to is the "require two people" bit. Then what about the person who has access to the account creation - they could make two accounts and sign off themselves that way.

→ More replies (1)

1

u/Truth_Seeker_456 Oct 31 '26

Sh*t. This is a very simple explanation how a compromised laptop can impact.

This job comes with serious responsibilities.