blog posts

What Is A DMZ Network And What Is Its Use?

What Is A DMZ Network And What Is Its Use?

Working On The Internet And Interacting With Various Websites And Users Is Always A Risky Issue. In Other Words, Just As We Need To Take Care Of Ourselves And Our Belongings To Cross The Street, Traffic On The Internet Needs To Be Taken Care Of.

DMZ Network, Some caregivers are individuals. For example, one of the most important things to keep in mind is not to click on anonymous links on the Internet.

Some other care is organizational, according to which an organization must protect its data from hackers. It is essential for organizations whose internal network is directly connected to the Internet.

Organizations use different methods to achieve information security. One of these methods is to use the DMZ network, but what is a DMZ network? This article will examine how the DMZ network mechanism works and enumerate its applications.

Demilitarized Zone Network

What is a DMZ network?

The DMZ network is, in short, a protective subnet that acts as a bridge between a secure internal network and an insecure network such as the Internet. In addition to maintaining internal network security, it may provide some internal network public services in the context of an external network.

Let’s move on with a concrete example to understand a DMZ network better. You’ve probably seen astronauts get in and out of a spaceship in science fiction movies about space and astronomy.

To get out of the spacecraft when out of the Earth’s atmosphere, they must first enter a particular room that is separate from the spacecraft’s immediate environment, then close the inside to adjust the atmospheric conditions and air pressure, and then open the outer outlet so that they can get out of the ship completely.

The DMZ valley network acts as the ship’s entry and exit chamber, providing a secure area connecting organizations’ internal networks to the Internet. The name of the DMZ network is derived from the term “Demilitarized Zone,” which is written as a headword.

DMZ, or civilian area, is used initially to define the border between two countries in geographical and political science, which has entered technology.

The most important use of the DMZ network is to add an extra layer of security to the core network to prevent hackers and attackers from infiltrating and accessing sensitive core network information.

In specialized terms, the DMZ network falls into the category of Perimeter networks, which creates an environment to establish a connection between the approved network and the unapproved network. The ultimate goal of the DMZ network is to provide the organization with access to unapproved networks such as the Internet by ensuring the security of the local private network.

Organizations often put external services and resources such as Domain Name System (DNS) servers, File Transfer Protocol (FTP), Email Services, Proxy and Voice over Internet Protocol (VoIP) services, and Web servers under the DMZ network.

These servers and resources are set up in isolation. They have limited access to a local area network (LAN) to be accessed via the Internet, But the internal LAN is inaccessible. This process ultimately results in hackers having less chance of infiltrating the internal network and accessing the organization’s data.

How does the DMZ network work?

How the DMZ network works

Businesses that have a website to interact with their customers must make the web server available to them through the Internet to communicate through the website. Doing so puts the entire internal network of the organization at risk.

Therefore, to avoid potential risks, the organization should ask hosting companies to host the organization’s website or public server with firewall protection, which will affect the website’s performance.

Therefore, it is better to host public servers available to users separately and in isolation on an independent network. This new isolated network is called the DMZ network.

The DMZ network creates a barrier between the Internet and the organization’s private network. The isolated space of the DMZ network is equipped with firewalls and security gates that monitor traffic between the DMZ network and the local network.

 BY DEFAULT, the DMZ server is equipped with another security gateway, protecting the gateway from incoming traffic from external networks such as the Internet.

Firewall

In other words, the DMZ network is optimally operated between two firewalls; therefore, the DMZ network firewall ensures that incoming packets from the external network are checked by another firewall and then access the servers hosted on the DMZ network.

Thus, even if a hacker can circumvent the first firewall with complex actions, he must have access to the impenetrable DMZ services before damaging the organization’s internal network.

Even if a hacker can penetrate one of the DMZ network systems and take control of it, bypassing the first firewall, access to sensitive enterprise information is still not possible. Because an intrusion alert is sounded, the internal firewall and the local network will notify you of this intrusion.

Some organizations sometimes install proxies on the DMZ network to comply with rules, such as HIPAA. This server enables them to easily monitor and record each user’s activity, centralize web content filtering, and ultimately ensure that employees use the system to access the system.

Advantages and disadvantages of DMZ network setup

Earlier, we talked about the main advantage of the DMZ network and how it creates an advanced security layer on the leading network. But, in addition to creating a barrier between the external network and the local network, what other security features do these types of networks provide?

Other security benefits of the DMZ network include:

1- Access control ( Access Control ): Businesses can provide access to various services via the Internet for users outside their network environment. The DMZ network creates the conditions for accessing such services while also running the network segmentation process to make it difficult for unauthorized users to access the private network. On the other hand, as mentioned earlier, installing a proxy server in the DMZ network makes it possible to centralize internal traffic flow and facilitate traffic monitoring and recording.

– Prevent the implementation of vulnerability scanners and network detection operations: The existence of a DMZ network acts as a barrier between the Internet and the local area network, and this will prevent hackers can not pass the first step to performing attacks namely network vulnerabilities detection. DMZ network servers are open to the public, But despite the built-in firewall, they do not allow hackers to scan inside the internal network. Even if a hacker enters a system in the DMZ network, he is still unable to perform the vulnerability scan successfully.

3. Prevent IP forgery attack: Hackers may impersonate an authenticated device by forging an IP address and infiltrating local network systems. Here the DMZ network can detect and stop authentication attempts, as some of its services can verify the legitimacy of IP addresses. Services on the DMZ network include DNS servers, FTP servers, e-mail servers, proxy servers, and web servers.

The DMZ network, like everything else, has its drawbacks, which, of course, are not significant compared to the benefits it offers. Some of the disadvantages of the DMZ network can be classified into three cases:

1- Lack of internal protection: Although the existence of a diamond network prevents the penetration of external attacks, Employees and authenticated users of the system will also be able to access sensitive information.

2. False sense of security: As technology evolves, ways of infiltrating technology become the dark side of advanced technology. Therefore, even with the DMZ network set up, the servers are not always secure, and it is best to control all network environments in all sections periodically.

3- Lack of user access to data stored on the private network server is behind the second firewall and outside the DMZ network. Of course, to solve this problem, when you want to put the email database behind the second firewall, you have to grant access to verified users by assigning a username and password.

In practice, DMZ network setup has no particular disadvantages; But it requires deep knowledge, and not everyone is suitable for setting up a Diamond network. The incomplete and incorrect start-up of the diametric network will cause a fundamental problem. Because the exact boot process does not proceed, it may cause all system data to be lost or copied. Therefore, it is strongly recommended that you start with enough knowledge to be able to enjoy the benefits of this network.

Proper operation of all DMZ network equipment and precise adjustment of switches are effective measures to reduce the vulnerability of the DMZ network.

Therefore, improper DMZ network setup can lead to loss of information and increase the likelihood of being exposed to malicious attacks. If you try to infiltrate the system, you will not be alerted. The network administrator will think that everything is under control.

I will not examine the output. Do not forget that, in general, a diamond network can not work miracles against penetration. Still, it is one of the measures that can reduce the probability of infiltration and leakage of information.

Design and structure of DMZ network

DMZ network is an unlimited and open network that can be set up according to the number of firewalls and can use various designs. For example, you can start with one firewall to two and even several firewalls, thus significantly increasing network security.

A large part of today’s DMZ networks uses dual-wall architecture, as this type of design creates the conditions for it to be further developed and more complex systems created.

DMZ network with single firewall

1. Single Firewall Network:

A DMZ network with a firewall has three main components, including a firewall, switches, and servers. In addition, a single-firewall DIAM network requires at least three network interfaces, and some structures may have more network interfaces. A network interface is, in short, what connects digital equipment. These relationships may be software or hardware.

In a dual network with a firewall, the first “external network” interface is the one that connects the public Internet connection to the firewall. The second interface forms the “internal network,” The third interface connects to the diamond network. Various rules will monitor and control network data traffic for access to the diaspora and restrict the connection to the internal network.

DMZ network with dual firewall

2-Dual firewall network:

Establishing a diamond network between two firewalls is often a safer method.

The first firewall only allows external traffic to pass through the DMZ network, and the second firewall only allows traffic to pass through the DMZ to the internal network.

Therefore, a hacker must go through two firewalls to infiltrate the organization’s local network. According to this structure, the DMZ network with two firewalls also consists of three parts: firewalls, a dual network, and a local area network.

Organizations can also set up different security control stations to increase the safety factor in different network parts. In other words, the use of Intrusion Detection Systems (IDS) and Intrusion Prevention Systems (IPS) within the Diamond Network will allow the blocking of any data traffic. It will only allow access to the Hypertext Transfer Protocol ( HTTPS ) on the TCP layer and port 433. Dad.

In addition to, these two models, which are classified based on the number of firewalls,  can configure the DMZ network in two models in terms of security and access level.

1. A DMZ network built for anonymous authentication is called anonymous DMZ.

2- DMZ network built for access with authentication and known users.

For example, suppose you have a website on the Internet that is supposed to be accessible to everyone. In that case, you should be able to access it without authentication and place it on the part of the DMZ network that is accessible to the public.

However, if your website is private and used by particular employees or customers, it can be made available as a gateway to log in with their username and password.

One of the significant applications of anonymous DMZ, which doubles in popularity, is the creation of the Honeynet. A honeycomb is a network of several honeypots to trick hackers into identifying and trapping them or diverting them from accessing their core resources.

Most Honeycomb computers are virtual machines and all mounted on a single physical device, through which intrusion detection systems and other surveillance systems collect all the hacker’s movements, techniques, and identities.

DMZ network application

From the beginning of the introduction of firewalls, the DMZ network has been one of the most comprehensive methods of protecting the information security of enterprise networks. The most critical application of the civilian area network is protecting sensitive organizational data, local area network systems, and the organization’s internal resources, which has a mechanism similar to the ditches around palaces and cities thousands of years ago.

Today, many businesses use virtual machines to separate their networks or specific applications from other systems. In addition, the growth of cloud spaces with faster services and lower costs has meant that businesses no longer need to set up internal servers.

On the other hand, most businesses use the software as a service method, called SaaS, which can also be referred to as “software leasing” and “cloud computing,” a large part of the external infrastructure.

They moved to the cloud.

For example, a cloud service such as Microsoft Azure allows organizations to run applications on-premises (on-premises computing) and virtual private networks (VIPs) to take advantage of the hybrid approach and the DMZ network. Be located between the two.

This method is also proper when the outgoing traffic needs to be inspected, or the traffic between the on-premises data center and the virtual networks must control.

Devices connected to the IoT network

In addition, the DMZ network addresses security risks in new technologies such as Internet of Things (IoT) devices and Operational Technology systems that make products smarter. Still, it has also been shown to increase the range of threat threats.

Operating systems (OT) equipment was not designed to counter or recover from cyber-attacks like IoT devices. As a result, operating system equipment has exposed organizations’ vital data and resources to risks.

Thus, the DMZ network divides the hazard network into hacker intrusions that can damage industrial infrastructure, which will reduce significantly.

Another application of the DMZ network could be for home networks, where computers and other devices connect to the Internet via a router and then configure a local area network. Some home routers provide DMZ hosting for the web.

This feature can be considered different from the DMZ subnet used in organizations. The DMZ host features in the modem indicate that a device on a home network outside the firewall will act as the DMZ network, while other home network devices will operate inside the firewall.

In some cases, we see that the video game console acts as the host of the DMZ so that the firewall does not interfere with the execution of online games. On the other hand, the game console is a better choice for DMZ hosting because it does not store sensitive data compared to a PC.

Another application that can be considered for the DMZ network is its use in the Industrial Control System (ICS) as a solution to deal with security risks. Industrial equipment such as turbine engines or other industrial control systems interacts fully with information technology to make the production environment intelligent and efficient. Still, the same interaction can also pose serious threats.

Although much operational or industrial technology (OT) equipment is connected to the Internet, they were not designed to manage hacker attacks and intrusions like IT devices. Thus, the DMZ network makes it more challenging to penetrate ransomware and other network threats between vulnerable IT systems and operating equipment by increasing network segmentation.

More straightforward examples of using a DMZ network include setting up email, fax, and web servers on these networks.

Email is a service that the user interacts with via the Internet, and the location of the email server on a secure network reduces the vulnerability of users’ personal information; But to increase the security factor, it is recommended that you do not put the email database in the Diamond network and network it after the second firewall.

In general, the main application of the DMZ network is to create stop and inspection stations to control traffic between the network, which can use in different scenarios and different ways according to the needs of the network.

It may not be an absurd claim to say that information is one of the most valuable assets today, playing the role of currency between large corporations and on a larger scale between countries; Therefore, any effort to preserve information is an important step.

Usually, any company with sensitive information stored on the company’s servers and interacts with users publicly via the Internet can use the DMZ network according to its needs.

The importance of this issue sometimes goes so far that some companies are legally required to set up their Diamond network. For example, medical and healthcare companies should design their systems to prevent users from leaking sensitive information.

What is a DMZ host?

Host DMZ

DMZ hosting is slightly different from DMZ networking. The DMZ network, as mentioned, is a separate and isolated space from the leading network that is used on a large scale.

However, DMZ Host is one of the features provided by home routers and can be enabled in the modem settings. This feature allows you to expose just one computer or device from your home network to the Internet.

The problem with dual router hosting is that if it becomes infected with a virus, it can infect other internal network devices since it interacts with other network devices. Therefore, we emphasize that if you do not need to, do not use the DMZ capability of your home router in any way as usual.

Enabling DMZ hosting capabilities means that your home router opens all ports and responds to all pings and queries received from the Internet. Although your PC or server may have other firewall software, the router is the system’s front line of defense against attacks. As the router becomes a DMZ host, your system will lose an essential layer of security. The router’s firewall will not be able to block attacks.

Conclusion

The DMZ network is a kind of buffer that acts as a protective layer and can filter the incoming traffic to the internal network and prevent hackers from infiltrating and leaking information by examining the incoming and outgoing data.

This space provides an opportunity for intrusion detection and intrusion detection systems to take the initiative in the face of attackers. Setting up a DMZ network requires expertise. Due to the high sensitivity of using a diamond network, you strongly recommend that you do not create a network without sufficient knowledge.