Inside Secure has released what it says is the world’s smallest Transport Layer Security (TLS) software implementation, the MatrixSSL (Secure Sockets Layer) Tiny. The new open source embedded SSL is designed for small footprint applications and devices, this allows companies to reduce costs when securing IoT devices with stringent memory requirements – such as those with less than 10KB flash and 600 bytes of RAM, providing less than 50KB of code means less places for bugs to hide.
MatrixSSL was developed in 2004 by PeerSec Networks, which was then acquired by Inside Secure. Its implementation is written in portable C source code and is designed for custom applications in embedded hardware environments.
PeerSec Networks stated that before it developed its own SSL, it looked for a small, open source SSL/TLS implementation, which was apparently quite difficult to find. It found several past attempts at an “OpenSSL Lite”, “small OpenSSL” or “embedded OpenSSL”, but none reduced the code to required levels. The standard OpenSSL library is over 1 MB, and the best it found was more than half that. It believes that OpenSSL is “a decent solution”, but was lacking in the area of embedded security.
In the 2000’s, the explosion of the internet meant threats were rife. Well-publicized breaches led to legislation – which increased focus on security. The solution to these new IT hazards was to install hardware security appliances in the data center – to essentially build a barrier between organization and internet.
However, in today’s world with cloud computing, mobility and the IoT, security as centralized, hardware-based gateways has shifted to ‘Security as a Service’ and comprehensive cloud-based platforms. Although this evolution is essential as technology develops, the implementation of all security into the cloud would open up devices to relentless spamming – which is why embedded hardware security is integral.
In addition, the size of the software stack in each IoT device is one of the main influencing factors for the total cost of the unit. Smaller memory and computational requirements should equate to a smaller bill and longer battery life – the main driving factors in IoT design.
The MatrixSSL library contains a full cryptographic module that includes industry-standard public key and symmetric key algorithms. With the new micro-sized software, device manufacturers can reduce their overall design costs by retrofitting a secure connection to their existing hardware as well as reduce their bill of materials (BOM) costs.
“As the recent cyberattack on a Jeep Cherokee communicated by Wired shows, security for IoT devices is critical,” said Martin Bergenwall, EVP of the Mobile Security Business Division at Inside Secure.
OpenSSL, software used to encrypt secure data, succumbed to the catastrophic Heartbleed bug in 2014, allowing anyone to read the memory of the systems protected by the vulnerable version of the OpenSSL software. Despite original fears, there were no major security breaches. Similarly, the Shellshock and POODLE (Padding Oracle On Downgraded Legacy Encryption) software bugs soon followed but were easily fixed. MatrixSSL claim that the newest versions are completely unaffected by these attacks, as well as the latest July 2015 OpenSSL certificate validation bug.