Hackers Are Selling Legitimate Code-signing Certificates To Evade Malware Detection (zdnet.com)
Zack Whittaker, writing for ZDNet Security researchers have found that hackers are using code-signing certificates more to make it easier to bypass security appliances and infect their victims. New research by Recorded Future's Insikt Group found that hackers and malicious actors are obtaining legitimate certificates from issuing authorities in order to sign malicious code. That's contrary to the view that in most cases certificates are stolen from companies and developers and repurposed by hackers to make malware look more legitimate. Code-signing certificates are designed to give your desktop or mobile app a level of assurance by making apps look authentic. Whenever you open a code-signed app, it tells you who the developer is and provides a high level of integrity to the app that it hasn't been tampered with in some way. Most modern operating systems, including Macs , only run code-signed apps by default.
Can I purchase a cert that helps?
"Most modern operating systems, including Macs , only run code-signed apps by default." 1. Acquire source 2. $COMPILER 3. ./a.out
I must not understand, anything really. Can someone clear this up, or is this just some slow Sunday news?
So, we've found out in the past that some Certificate Authorities are about as trustworthy as the guy offering you Rolex's from the back of his van. At least he's open with the fact that he'll sell one to anyone.
From that, we realized that a modern browser has innumerable CAs that they trust - and any one of them can issue rogue certificates.
And now we realize that, not only do we have to worry about those, we have to recognize that, because the certificate issuance process isn't handled inside the client company, that anyone who can acquire the credentials of someone who can login to Digicert or whoever, can issue rogue certificates. And keeping credentials secret has been shown in the current world to be almost impossible.
And yet we continue to write checks to CAs for certificates that we can't trust.
And the worms ate into his brain.
It doesn't have to be the CA in this case, it's enough if the developer has been compromised in some way, even more so if a major company has been compromised.
Imagine if someone could sign their program with the Microsoft certificate - it would be a major effort to quench that mess.
If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
There's already a company that can sign with the Microsoft certificate.
Isn't that the whole basis of the trust systems response? Is that certs can be revoked?
;)
Just wondering? I guess if you got bit in the mean time you would be irked. But future things could be stopped? Maybe? Wondering?
Just my 2 cents
One key difference between the TLS certificates that Let's Encrypt offers and code signing certificates is that the latter are always at least organization-validated. There's currently no counterpart in the code signing PKI to domain validation.
Shouldn't it be "hackers are buying..." instead of "hackers are selling..."?
Any guest worker system is indistinguishable from indentured servitude.
There is absolutely nothing wrong with thieves.com getting a code signing cert that validates that their malware is genuine thieves.com malware.
The user then gets a message
Do you trust gobbldy gook ... press OK if you want to get on with your work.
They press OK.
That said, I recently got a cert and the checks were essentially meaningless.
https://slashdot.org/comments....
The CA is not saying anything about the products they provide.
Agreed.
Further, in practice, all you need is a DUNs number, which you get just by applying to them. The CA then checks that number matches your name.
Apparently getting a D-U-N-S number requires your business to be organized as a corporation or LLC, not a doing-business-as or other passthrough. Thus there's also the cost to incorporate or form an LLC with your jurisdiction's business regulator, keep that corporation or LLC renewed, and file its income tax return. Or should every developer of free software and every hobbyist developer of proprietary freeware be expected to have already done this?
So no check at all really.
And that your credit card is valid.
When people attribute a trait to something that doesn't have it, is it said something's fault to not have it?
A certificate does not say that something is safe. Only that whoever claims to be the originator really is the originator. If you enter your online banking credentials for your SuperOnlineBank into the (certificated) site hxxps://superonlinbank.com, whose fault is it? If you took a look at the certificate (or the URL, for that matter) you could easily have seen that you're not dealing with who you want to deal with.
In other words, a certificate only verifies that whoever signed the site, the executable, the document, is actually who he claims to be. Not that he is in any way trustworthy or that you can turn your brain off and let the certificate do the work. It cannot do that. How should it?
We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
And it's not trustworthy.
We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
Indeed. And when I took a course on "authentication systems" about 3 decades ago, this potential problem was already well-known.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
They're not selling certificates. The CAs are selling the certificates, which are public documents once they're created.
The "hackers" are selling the private keys that correspond to the certificates.
This is a perfectly sensible, if unethical, business model. The incentive to keep the key private is to avoid diluting (usually to nothing) the value of certificate as a proof of provenance. Someone who obtains a code-signing certificate with the intent of selling the key doesn't have that incentive.
And the headline's emphasis is wrong. As summary and TFA mention, the key finding is that these resold keys are displacing stolen keys for signing malware. And "legitimate" is imprecise, since (according to the research) while the certificates were obtained directly from CAs, that was under false pretense, with stolen credentials. So if the researchers are correct, this is more a shift from stealing signing keys to stealing credentials used to obtain certificates for keys generated by the attacker. That's not new; it's just more common than was popularly thought.