Jump to content

BSAFE

From Wikipedia, the free encyclopedia
BSAFE
Developer(s)Dell,formerlyRSA Security
Initial release1996
Written inC,assembly,Java
Operating systemBSD,Linux,macOS,Microsoft Windows,Android,iOS,AIX,Solaris
TypeCryptographylibrary,Commercial software
LicenseProprietary
Websitewww.dell

Dell BSAFE,formerly known asRSA BSAFE,is aFIPS 140-2validatedcryptographylibrary, available in bothCandJava.BSAFE was initially created byRSA Security,which was purchased byEMCand then, in turn, by Dell. When Dell sold the RSA business toSymphony Technology Groupin 2020, Dell elected to retain the BSAFE product line.[1][2]BSAFE was one of the most common encryption toolkits before theRSApatent expired in September 2000. It also contained implementations of the RCxciphers, with the most common one beingRC4.From 2004 to 2013 the defaultrandom number generatorin the library was aNIST-approved RNG standard, widely known to be insecure from at least 2006, containing akleptographicbackdoorfrom the AmericanNational Security Agency(NSA), as part of its secretBullrunprogram.[3]In 2013 Reuters revealed that RSA had received a payment of $10 million to set the compromised algorithm as the default option.[3]The RNG standard was subsequently withdrawn in 2014, and the RNG removed from BSAFE beginning in 2015.

Cryptography backdoors

[edit]

Dual_EC_DRBG random number generator

[edit]

From 2004 to 2013, the defaultcryptographically secure pseudorandom number generator(CSPRNG) in BSAFE wasDual_EC_DRBG,which contained an alleged backdoor fromNSA,in addition to being a biased and slow CSPRNG.[4]The cryptographic community had been aware that Dual_EC_DRBG was a very poor CSPRNG since shortly after the specification was posted in 2005, and by 2007 it had become apparent that the CSPRNG seemed to be designed to contain a hidden backdoor for NSA, usable only by NSA via a secret key.[5]In 2007,Bruce Schneierdescribed the backdoor as "too obvious to trick anyone to use it."[5]The backdoor was confirmed in theSnowden leaksin 2013, and it was insinuated that NSA had paid RSA Security US$10 million to use Dual_EC_DRBG by default in 2004,[3]though RSA Security denied that they knew about the backdoor in 2004. The Reuters article which revealed the secret $10 million contract to use Dual_EC_DRBG described the deal as "handled by business leaders rather than pure technologists".[3]RSA Security has largely declined to explain their choice to continue using Dual_EC_DRBG even after the defects and potential backdoor were discovered in 2006 and 2007, and has denied knowingly inserting the backdoor.[6]

So why would RSA pick Dual_EC as the default? You got me. Not only is Dual_EC hilariously slow – which has real performance implications – it was shown to be a just plain bad random number generator all the way back in 2006. By 2007, when Shumow and Ferguson raised the possibility of a backdoor in the specification, no sensible cryptographer would go near the thing. And the killer is that RSA employs a number of highly distinguished cryptographers! It's unlikely that they'd all miss the news about Dual_EC.

— Matthew Green, cryptographer and research professor at Johns Hopkins University, A Few Thoughts on Cryptographic Engineering[4](From after the backdoor was confirmed, but before the $10 million secret deal was revealed by Reuters.)

As a cryptographically secure random number generator is often the basis of cryptography, much data encrypted with BSAFE was not secure against NSA. Specifically it has been shown that the backdoor makes SSL/TLScompletely breakable by the party having the private key to the backdoor (i.e. NSA).[5]Since the US government and US companies have also used the vulnerable BSAFE, NSA can potentially have made US data less safe, if NSA's secret key to the backdoor had been stolen. It is also possible to derive the secret key by solving a single instance of the algorithm'selliptic curveproblem[5](breaking an instance of elliptic curve cryptography is considered unlikely with current computers and algorithms, but a breakthrough may occur).

In June 2013,Edward Snowdenbegan leaking NSA documents. In November 2013, RSA switched the default to HMAC DRBG with SHA-256 as the default option. The following month, Reuters published the report based on the Snowden leaks stating that RSA had received a payment of $10 million to set Dual_EC_DRBG as the default.[3]

With subsequent releases of Crypto-C Micro Edition 4.1.2 (April 2016), Micro Edition Suite 4.1.5 (April 2016) and Crypto-J 6.2 (March 2015), Dual_EC_DRBG was removed entirely.

Extended Random TLS extension

[edit]

"Extended Random" was a proposed extension for theTransport Layer Security(TLS) protocol, submitted for standardization toIETFby an NSA employee,[7]although it never became a standard. The extension would otherwise be harmless, but together with the Dual_EC_DRBG, it would make it easier to take advantage of the backdoor.[8][9]

The extension was previously not known to be enabled in any implementations, but in December 2017, it was found enabled on someCanonprinter models, which use the RSA BSAFE library, because the extension number conflicted a part of TLS version 1.3.[9]

Varieties

[edit]
  • Crypto-J is a Java encryption library. In 1997,RSA Data Securitylicensed Baltimore Technologies' J/CRYPTO library, with plans to integrate it as part of its new JSAFE encryption toolkit[10]and released the first version of JSAFE the same year.[11]JSAFE 1.0 was featured in the January 1998 edition ofBytemagazine.[12]
  • Cert-J is aPublic Key InfrastructureAPIsoftware library, written inJava.It contains the cryptographic support necessary to generate certificate requests, create and signdigital certificates,and create and distributecertificate revocation lists.As of Cert-J 6.2.4, the entire API has been deprecated in favor of similar functionality provided BSAFE Crypto-JJCEAPI.
  • BSAFE Crypto-C Micro Edition (Crypto-C ME) was initially released in June 2001 under the name "RSA BSAFE Wireless Core 1.0". The initial release targetedMicrosoft Windows,EPOC,Linux,SolarisandPalm OS.
  • BSAFE Micro Edition Suite is a cryptographySDKin C. BSAFE Micro Edition Suite was initially announced in February 2002[13]as a combined offering of BSAFE SSL-C Micro Edition, BSAFE Cert-C Micro Edition and BSAFE Crypto-C Micro Edition. Both SSL-C Micro Edition and Cert-C Micro Edition reached EOL in September 2014, while Micro Edition Suite remains supported with Crypto-C Micro Edition as itsFIPS-validated cryptographic provider.
  • SSL-C is anSSLtoolkit in the BSAFE suite. It was originally written by Eric A. Young and Tim J. Hudson, as a fork of the open librarySSLeay,that they developed prior to joining RSA.[14][15]SSL-C reached End Of Life in December 2016.
  • SSL-J is a Java toolkit that implementsTLS.SSL-J was released as part of RSA JSAFE initial product offering in 1997.[16]Crypto-J is the default cryptographic provider of SSL-J.

Product suite support status

[edit]

On November 25, 2015, RSA announced End of Life (EOL) dates for BSAFE.[17]The End of Primary Support (EOPS) was to be reached on January 31, 2017, and the End of Extended Support (EOXS) was originally set to be January 31, 2019. That date was later further extended by RSA for some versions until January 31, 2022.[18]During Extended Support, even though the support policy stated that only the most severe problems would be patched, new versions were released containing bugfixes, security fixes and new algorithms.[19]

On December 12, 2020, Dell announced the reversal of RSA's past decision, allowing BSAFE product support beyond January 2022 as well as the possibility to soon acquire new licenses. Dell also announced it was rebranding the toolkits toDell BSAFE.[20]

References

[edit]
  1. ^"BSAFE support and billing update | Dell US".dell.Archivedfrom the original on 2021-07-26.Retrieved2021-07-26.
  2. ^RSA (September 1, 2020)."RSA Emerges as Independent Company Following Completion of Acquisition by Symphony Technology Group".RSA.Archivedfrom the original on September 4, 2020.RetrievedJune 7,2023.
  3. ^abcdeMenn, Joseph (December 20, 2013)."Exclusive: Secret contract tied NSA and security industry pioneer".San Francisco. Reuters.Archivedfrom the original on September 24, 2015.RetrievedMay 11,2021.
  4. ^abMatthew Green (September 20, 2013)."RSA warns developers not to use RSA products".A Few Thoughts on Cryptographic Engineering.Archivedfrom the original on October 10, 2013.RetrievedDecember 28,2013.
  5. ^abcdBruce Schneier."The Strange Story of Dual_EC_DRBG".Archivedfrom the original on 2019-04-23.Retrieved2013-12-28.
  6. ^"We don't enable backdoors in our crypto products, RSA tells customers".Ars Technica.Archivedfrom the original on 2014-10-12.Retrieved2017-06-14.
  7. ^Rescorla, Eric; Salter, Margaret (2 March 2009)."Extended Random Values for TLS".IETF draft standard.I-D draft-rescorla-tls-extended-random-02.Archivedfrom the original on 19 December 2017.Retrieved2023-09-28.
  8. ^Menn, Joseph (31 March 2014)."Exclusive: NSA infiltrated RSA security more deeply than thought - stu".Reuters.Archivedfrom the original on 29 December 2017.Retrieved28 December2017.
  9. ^abGreen, Matthew (19 December 2017)."The strange story of" Extended Random "".Cryptographic Engineering blog.Archivedfrom the original on 29 December 2017.Retrieved28 December2017.
  10. ^"RSA licenses Baltimore Technologies J/CRYPTO".
  11. ^"RSA's BSafe toolkit spawns new Java version".
  12. ^"Making Java Development JSafe"(PDF).Archived(PDF)from the original on 2021-09-28.Retrieved2020-04-27.
  13. ^"RSA unveils three new products at its show".IT World. February 20, 2002.
  14. ^Simson Garfinkel, Gene Spafford (2002).Web Security, Privacy & Commerce.O'Reilly. p.114.ISBN0596000456.
  15. ^Ivan Ristic (2013).OpenSSL Cookbook: A Guide to the Most Frequently Used OpenSSL Features and Commands.Qualys. p. 1.ISBN9781907117053.
  16. ^"Securing IT Resources with Digital Certificates and LDAP".Archivedfrom the original on 2020-07-31.Retrieved2020-04-27.
  17. ^RSA (November 25, 2015)."RSA announces End of Life (EOL) dates for RSA BSAFE".RSA.Archivedfrom the original on October 3, 2018.RetrievedOctober 3,2018.
  18. ^RSA (June 20, 2018)."RSA announces support extension for some of the BSAFE® product suite".RSA.Archivedfrom the original on October 3, 2018.RetrievedOctober 3,2018.
  19. ^RSA (September 11, 2019)."RSA announces the release of RSA BSAFE® Micro Edition Suite 4.4".RSA.Archivedfrom the original on September 23, 2019.RetrievedSeptember 11,2019.
  20. ^Dell (December 12, 2020)."Dell BSAFE products remain supported beyond January 2022, reversing RSA's past decision to end-of-life BSAFE toolkits".Dell.
[edit]