How to cyber security: 5G is not magic

By : Jonathan Knudsen, Senior Security Strategist, Synopsys Software Integrity Group | Thursday, April 29 2021 - 00:30 IWST

5G networking
5G networking

INDUSTRY.co.id - Some wild claims have been made about 5G networking. I’ve heard mention of self-healing factories and smart highway systems.

While such things might be possible, there’s nothing magical about 5G. In essence, it’s just faster wireless networking than we’ve had before. That’s nice, but hardly revolutionary.

About networking

Networking is hard — it’s one of those subjects that has too much information available rather than too little.

The networking world has so many protocols, so many options, and so many configurations that finding the information you want can be hard, especially for beginners.

Many introductions to networking start with the OSI seven-layer model, which you can find on Wikipedia.

This is a comforting model for instructors, who can give quizzes on the names and functions of the different layers. And it’s a comforting model for students, because it clearly lays out a small, manageable body of information that can be internalised.

Unfortunately, it doesn’t correspond very well to how things actually work.

For most network interactions, it’s impossible to identify all seven layers, and some protocols defy categorisation.

If you must learn about seven layers, learn about this:

The concept of layers is useful

Although the specific seven layers of the OSI model aren’t tethered to reality, the concept of layers is useful. Each layer supports the layer above it. 

Another useful analogy is nesting dolls or envelopes within envelopes. If I want to send some information to the far side of the internet, I’ll put it in an IP packet addressed to the destination.

Then I’ll wrap that up in an Ethernet frame with my gateway as the destination. Then I’ll drop that on the wire. The gateway picks it up and repackages it for the next hop in the cloud.

IP networking has a somewhat simplified set of layers, but again, it’s not a perfect model.

Protocols like ARP and TLS don’t fit neatly into the model. The main thing to remember is that protocols always happen in layers, and typically different pieces of software are responsible for each layer.

Some layers are interchangeable

One of the best things about network layers is that it’s possible to change out layers without reprogramming everything in the world.

For example, the applications on your smartphone live in a world of IP networking, blissfully unaware of whether the IP traffic is carried over a Wi-Fi network or a cellular network.

Your laptop is happy to use IP networking regardless of whether it travels over Wi-Fi or a wired Ethernet connection.
From that standpoint, then, 5G will hardly make a difference for many applications.

Desktop or mobile applications that communicate over IP probably won’t even notice the difference. Is my device on a 4G connection? Wi-Fi? 5G? Does it matter?

Some applications will need the increased speed and capacity of 5G networks, but these will be outliers until the technology is more widely deployed and used.

How software security and networks intersect

Network protocols are sets of rules about how computers talk to each other. For example, the HTTP protocol lets browsers and web servers talk to each other to serve web pages to users.

In software security, network protocols are an important part of the attack surface of an application. The attack surface is the collection of all the places where the application takes input, each of which is an attack vector.

One of the fundamental problems of security is correctly handling input, so mapping out the attack surface and testing it properly is critically important.

Because network protocols happen in layers, some of the networking code is probably code that you didn’t write.

For example, let’s say you’ve written a web application. Users (and attackers) provide input to your application using a web browser, so the full protocol stack for the deployed web application includes HTTP, probably TLS, TCP, and IP.

The code you wrote yourself handles only the application data. The other layers are handled by third-party code, probably open source components, as outlined here.

It’s 2021: “That’s not our code” will not cut it

It’s often tempting to abdicate responsibility for third-party code, but such an approach is unwise. What if an airplane manufacturer didn’t take responsibility for the parts it buys from vendors?

A comprehensive approach to application security means managing the open source and third-party components you use to build and deploy your application.

Software composition analysis (SCA) solutions automate much of the work of discovering which components you’re using and identifying the known vulnerabilities and license obligations that come along with those components.

In terms of testing the attack surface of your application, protocol fuzzing is time-proven technique for locating vulnerabilities by supplying malformed and unexpected inputs. It’s especially important to fuzz all layers as dictated by your application policy.

If you’re designing a web application for sharing cat pictures, you might decide that you have sufficient confidence in the Linux kernel, the openssl project, and the Apache web server that you don’t need to perform your own fuzz testing on them.

If you’re designing a web application for protecting nuclear launch codes, you need a much higher level of assurance and will almost certainly want to perform your own fuzzing on all layers of the network protocol stack.

Secure your network with application security testing

A comprehensive approach to security is vital to every phase of application development. Automated application security testing (AST) helps development teams locate and eliminate weaknesses.

The exact mix of testing tools depends on the type of application and the technologies involved, but it usually includes some collection of static application security testing (SAST), SCA, interactive application security testing (IAST), fuzzing, and other dynamic testing.

The key is not blindly running tools, but making informed choice based on risk and policy. You have to decide how much protection your application needs (by making a policy), and then choose tools and integrate them into your development process to achieve the desired reduction in risk.

News Comment

Today's Industry

Images By : Freepik

Sabtu, 14 September 2024 - 16:56 WIB

Essential Tips for Choosing Personal Health Insurance in the US

Choosing the right health insurance plan in the United States can be a complex task, especially with the variety of options available and the ever-changing landscape of healthcare policy. Here…

Images By : Freepik

Sabtu, 14 September 2024 - 16:53 WIB

The Top 10 Insurance Companies in the US for 2024

In the ever-evolving landscape of insurance, selecting the right company can significantly impact your financial security and peace of mind.

Images By : Freepik

Jumat, 13 September 2024 - 15:37 WIB

Why Airbnb Become Popular in 2024?

Airbnb fosters a more interactive experience between hosts and guests. Through direct messaging, guests can inquire about specific details, negotiate pricing, or clarify expectations, which…

Flag of the United Nations Organization.

Kamis, 15 Agustus 2024 - 14:26 WIB

Modena Officially Becomes a Member of the UN Global Compact

Commited to transforming towards sustainable business practices, Modena the global home appliance established over 60 years ago in Italy, officially became a member of the UN Globe Compact (UNGC)…

Totolink outlet. (Photo: Public Relation of Totolink)

Kamis, 11 Juli 2024 - 22:08 WIB

Totolink Strengthens Commitment to Innovative and Reliable Network Solutions for Indonesia

Marking a strategic step, Totolink Indonesia proudly announces the enhancement of its head office in Jakarta, located at Harco Mangga Dua Blok E No.28, Sawah Besar, Central Jakarta.