Skip to main content
banner image
venafi logo

Supply Chain Attack on IT Tool Uses Code Signing to Breach US Treasury, FireEye, Others

Supply Chain Attack on IT Tool Uses Code Signing to Breach US Treasury, FireEye, Others

code-signing-weakness-us-treasury-breach
December 14, 2020 | Yana Blachman

Adversaries understand that attacking high profile organizations directly is tricky and will typically be harder and yield slower and fewer results. Shifting "upstream" in the software supply chain increases the number of targets and the chances for successful infection and therefore adversaries often prefer this approach. A successful supply chain attack usually involves compromising software while maintaining its legitimate digital signature, implying that the attackers either modified source code on the victims' production environment or patched software on the build servers, abusing the validity of the signing process.

FireEye disclosed yesterday that unknown attackers, they track as UNC2452, were able to compromise the code signing process of an update of the widely-used network monitoring and management software Orion by SolarWinds.

According to FireEye CEO Kevin Mandia, the attackers “tailored their world-class capabilities specifically to target and attack FireEye. They are highly trained in operational security and executed with discipline and focus” and were searching for information related to some of the company's government customers.

According to Reuters, “The U.S. government has not publicly identified who might be behind the hacking, but three of the people familiar with the investigation said Russia is currently believed to be responsible for the attack.”

Importance of Securing the Code Signing Process

The details of the attack are yet unknown, however from a statement released yesterday, it is clear that SolarWinds experienced a highly sophisticated, manual supply chain attack on SolarWinds® Orion® Platform software builds for versions 2019.4 HF 5 through 2020.2.1, released between March 2020 and June 2020.

This type of attack would suggest that SolarWinds did not adequately protect their code-signing process and maybe their code signing credentials.  Had that been done, the adversaries who breached SolarWind's security defenses would not have been able to inject malicious code to the Orion update and remain its SolarWinds valid signature.

Venafi suggests the following best practices for securing the code signing process:

  • Never, ever store code signing keys on a build server, web server, or a developer’s computer.  They should always be stored in an encrypted location with very limited and controlled access.  Code signing keys should never leave this location, even during a code signing operation.
  • Create a process that segregates duties amongst multiple people: InfoSec specifies security and encryption parameters, the software project owner defines who is authorized to sign & what approvals are needed first, a limited list of persons (or computers) that are authorized to sign, and then independent auditors who can verify that processes are being followed.
  • Limit access to code signing keys by specifying what machines are able to access them, what people are authorized, what time of day they can be used, and the types of code signing tools that are allowed.
  • Create and enforce an approval process that could require multiple approvals (for high-value code assets) before a code signing credential can be used for signing
  • Maintain a log (company-wide visibility) of all code signing activities so that you know what code has been signed, what certificates were used, who used them, what code signing tools were used, and which computer was used to sign them
  • Offer code signing as a service to development teams so that critical security issues about type of encryption, certificate authority, etc are made by the InfoSec team but extremely easy/simple/fast access to a code signing service is available to your development teams

 

Related posts

 

 

Like this blog? We think you will love this.
code-signing-abuse
Featured Blog

Study Shows Widespread Abuse of Code Signing Certificates

A study by Vi

Read More
Subscribe to our Weekly Blog Updates!

Join thousands of other security professionals

Get top blogs delivered to your inbox every week

See Popular Tags

You might also like

TLS Machine Identity Management for Dummies
eBook

TLS Machine Identity Management for Dummies

Certificate-Related Outages Continue to Plague Organizations
White Paper

CIO Study: Certificate-Related Outages Continue to Plague Organizations

About the author

Yana Blachman
Yana Blachman

Yana is Threat Intelligence Specialist at Venafi and has worked in the field over the last 7 years. Yana’s expertise includes tactical and operational threat analysis, threat hunting, and Dark Web intelligence.

Read Posts by Author
get-started-overlay close-overlay cross icon
get-started-overlay close-overlay cross icon
Venafi Risk assessment Form Image

Sign up for Venafi Cloud


Venafi Cloud manages and protects certificates



* Please fill in this field Please enter valid email address
* Please fill in this field Password must be
At least 8 characters long
At least one digit
At last one lowercase letter
At least one uppercase letter
At least one special character
(@%+^!#$?:,(){}[]~`-_)
* Please fill in this field
* Please fill in this field
* Please fill in this field
*

End User License Agreement needs to be viewed and accepted



Already have an account? Login Here

×
get-started-overlay close-overlay cross icon

How can we help you?

Thank you!

Venafi will reach out to you within 24 hours. If you need an immediate answer please use our chat to get a live person.

In the meantime, please explore more of our solutions

Explore Solutions

learn more

Email Us a Question

learn more

Chat With Us

learn more