Skip to content

Building Digital Manufacturing Through PAM

With the evolution of technology, manufacturing sectors are increasingly digitalized through solutions that optimize the processes carried out in these environments, reducing costs, eliminating human failures, and generating more productivity. 

Among the technologies that integrate digital manufacturing, we highlight artificial intelligence, the internet of things, 5G, and cloud computing, which brought more dynamics to industrial operations, replacing human labor and changing the interaction with physical spaces.

However, the context of digital manufacturing presents several cybersecurity challenges that can be addressed by a PAM Security Platform and its advanced solutions, as explained in this text.

To facilitate your reading, we divided our text into topics. They are:

  • Digital Manufacturing: What Is It and Its Importance?
  • Technologies Present In Digital Manufacturing
  • Cybersecurity Challenges Faced by Digital Manufacturing
  • What Is the senhasegura PAM Security Platform and How Does It Support the Cybersecurity of Digital Manufacturing?
  • Brief History of the Industry
  • About senhasegura
  • Conclusion

Enjoy the read!

Digital Manufacturing: What Is It and Its Importance?

Digital manufacturing is a concept that refers to the possibility of using digital technology to optimize industrial processes. This is possible through innovative approaches such as cloud computing, artificial intelligence, 5G, Internet of Things, and advanced robotics, among others.

Applying digital technology in manufacturing enables efficiency and productivity gains, reduction of human failures, reduction of costs, and fewer setbacks when developing a product.

A company that invests in solutions associated with digital manufacturing still results in more security for employees and allows measuring the life cycle of operational equipment, in addition to offering a better view of inventory levels and schedules.

Another major advantage is the possibility of directing repetitive efforts to machines so that human labor can focus on more strategic services, which require creativity and analytical capacity.

Technologies Present In Digital Manufacturing

Here are some examples of technologies used in digital manufacturing:

Artificial Intelligence

Artificial intelligence refers to the union between various technologies, such as learning systems and algorithms, which allow us to simulate human capacity for reasoning and decision-making.

In practice, we are talking about machines that perform actions considered intelligent and learn through the large volume of data they are able to analyze.

Cloud Computing

Cloud computing is a technology that allows one to store, share and access files on remote devices without the need to make large investments in infrastructure and support teams.

In addition to cost-saving, this solution gives companies the flexibility to deal with fluctuations in production, seasonal services, and scalability, so they can grow without investing in hiring professionals.

Big Data

It allows dealing with large volumes of data, varied and complex, that arrive at a high speed, making it impossible for traditional software to manage them. To do this, techniques and machines are used to gather important data for the organization, which cannot be obtained through human action.

Internet of Things

Internet of Things (IoT) is associated with the connection of different equipment used in our daily lives with the internet through Wi-Fi, Bluetooth, or mobile data. 

As an example of items based on IoT, we can highlight smart TVs and refrigerators, in addition to numerous items present within companies, agriculture, manufacturers, etc. 

Advanced Robotics

Advanced robotics is used to replace human labor in repetitive activities that require a high level of precision. 

In this sense, robots consist of sophisticated and efficient machines that systematize and evaluate data and promote the integration of production lines.

Digital Manufacturing

It allows one to create manufacturing processes and products at the same time, through a system that integrates collaboration, analysis, simulation, and 3D visualization tools.

Additive Manufacturing

Known as a 3D printer, additive manufacturing refers to digital manufacturing by addition. It is a technology that allows the use of digital models to create physical objects, even when they take on complex formats to be produced without this technology.

System Integration

System integration is the connection between different systems that enables various sectors of an organization to act in a coordinated and automated manner.

In practice, this concept works by bringing together different software, thus ensuring the availability and updating of data in all systems.

Simulation Systems

The technology is used to plan a new system, replacing experiments with a real system with digital models, which describe the interaction between different variables.

Digitalization

Use of digital resources that impact production processes and business models, providing cost reduction, better use of time, and productivity gain.

Cybersecurity Challenges Faced by Digital Manufacturing

When it comes to cybersecurity, digital manufacturing faces several challenges, among which we can highlight:

  • Industrial systems performing critical tasks, which may cause the interruption of operations;
  • Industrial devices present on a large scale and always on;
  • Many of these devices are not updated by their manufacturers, which increases the chance of zero-day vulnerabilities;
  • Several operating systems do not have Security by design. Some do not even have access control for administrators in their administrative interfaces;
  • Numerous operating systems are maintained by third parties, which makes it impossible to verify security practices;
  • Digital manufacturing provides malicious actors with a greater attack surface;
  • Lack of market perception on how to protect industrial technologies;
  • Many companies fail to invest in awareness and adequate training in cybersecurity;
  • Presence of different vendors with many communication systems and protocols;
  • Remote accesses that allow third-party vendors to access devices remotely, often using shared credentials; 
  • The rapid introduction of IIoT, allowing the introduction of new attack vectors, etc.

What Is the senhasegura PAM Security Platform and How Does It Support the Cybersecurity of Digital Manufacturing?

As they adhere to solutions related to digital manufacturing, companies realize the need to optimize operational technology security management in order to reduce the risks of adopting these concepts in their operations.

In this sense, some guidelines and frameworks are used to protect industrial environments from malicious agents, such as the NIST cybersecurity framework, CIS security controls, and the ISA 62443 standard set.

According to the Center for Internet Security, 18 critical security controls must be established by organizations in their environments to ensure information security. They are: 

  • Inventory and Control of Organizational Assets
  • Inventory and Control of Software Assets
  • Data Protection
  • Secure Configuration of Organizational Software and Assets
  • Account Management
  • Access Control Management
  • Continuous Vulnerability Management
  • Management of Audit Logs
  • Email and Web Browser Protections
  • Malware Defenses
  • Data Recovery
  • Network Infrastructure Management
  • Network Monitoring and Defense
  • Security Awareness and Skills Training 
  • Service Provider Management
  • Application Software Security
  • Incident Response Management
  • Penetration Testing

ISA 62443 includes four types of standards:

  • General: refers to concepts, terms, metrics, and uses related to IACS;
  • Policies and procedures: address IACS criteria, implementation, and protection;
  • System: refers to technologies focused on IACS, risk analysis, security, and criteria for systems; and
  • Component: encompasses the life cycle and technical security of IACS components.

Companies that need to implement CIS Security Control and comply with ISA 62443 must invest in a  PAM Security Platform. 

This solution allows one to store, manage and monitor privileged access to systems and devices used in the context of digital manufacturing, allowing complete control over access to critical data.

Among the security controls associated with the PAM Security Platform, we can highlight:

  • Hardware Asset Inventory

A PAM Security Platform enables the visibility of an industrial park, allowing it to detect the automatic inclusion of devices connected to this environment, as well as their credentials.

  • Permission Control

Another capability of a PAM Security Platform is the control of the use of high privilege and impersonal credentials.

  • Record of Maintenance Sessions and Privileged Accounts

A PAM Security Platform makes it possible to record the maintenance sessions of a manufacturer’s systems and maintain audit logs in privileged account sessions through video recording.

  • Controlled Physical Access and Remote Access

Through the PAM Security Platform access groups, it is possible to establish who can view the password to access an industrial system through physical or remote access.

  • Account Tracking

A PAM Security Platform makes it possible to track activities performed by all credentials, including third-party and impersonal, in real-time. 

  • Incident Response 

The capabilities of a PAM Security Platform make it possible to reduce the time required to resolve security incidents, including those related to digital manufacturing solutions. 

Brief History of the Industry

Before the First Industrial Revolution, the manufacture of products took place through handicrafts and manufacturing. Later, in the late eighteenth and early nineteenth centuries, industrialization began with the use of human labor combined with steam-powered machines.

The first sector to be impacted by this mode of production was the textile one, followed by metallurgists and other factories that employed many people. In this period, the manufacturing process was still rudimentary and exports were precarious.

The Second Industrial Revolution is marked by more advanced technologies and manufacturing techniques and the emergence of multinationals and transnationals.

The Third Revolution, in turn, was characterized by the development of chemical, automotive, and consumer goods industries, in addition to being associated with a period of greater prosperity.

Then, it was the turn of the Fourth Industrial Revolution, known as Industry 4.0 (or digital manufacturing), to revolutionize the sector, with the arrival of the internet in the late 1990s and early 2000s.

This allowed the use of concepts such as the Internet of Things, which makes it possible to replace human labor with automated processes, generating more efficiency and reducing costs.

Today, we are already talking about the Fifth Industrial Revolution, which should also impact the relationship between humans and machines, requiring adaptation to increasingly advanced technologies and increasing profit margin and customer satisfaction through strategic processes. 

About senhasegura

We, from senhasegura, are part of the group of information security companies MT4 Tecnologia, founded in 2001 and present in more than 50 countries today.

Our main goal is to guarantee digital sovereignty and cybersecurity to our contractors, providing them with control of privileged actions and data, and avoiding leaks and theft of information. 

In this sense, we monitor the management of privileged access, before, during, and after access, using machine automation. In this way, we can:

  • Increase the performance of companies, avoiding the interruption of operations; 
  • Perform automatic audits on the use of permissions;
  • Audit privileged changes to detect abuse of privilege automatically;
  • Provide advanced solutions with the PAM Security Platform;
  • Reduce cyber risks; and
  • Bring the organizations that hire us into compliance with audit requirements and standards such as PCI DSS, Sarbanes-Oxley, ISO 27001, and HIPAA.

Conclusion

By reading this article, you saw that:

  • Digital manufacturing consists of the use of digital technologies to optimize industrial processes;
  • This concept provides efficiency and productivity to industries and allows one to reduce human failures and have fewer unforeseen events in the development of a product;
  • Digital manufacturing also ensures more security for professionals, allows one to monitor the life cycle of the equipment more accurately and view inventory levels and schedules;
  • Another advantage of digital manufacturing is the possibility of directing repetitive activities to machines so that human labor can focus on strategic tasks;
  • Some technologies present in the digital manufacturing can be highlighted: artificial intelligence, cloud computing, big data, internet of things, advanced robotics, digital manufacturing, additive manufacturing, system integration, simulation, and digitalization systems;
  • The challenges of digital manufacturing include the execution of critical tasks by industrial systems, the maintenance of industrial systems by third parties, which does not make it impossible to verify security practices, and a greater attack area;
  • The senhasegura PAM Security Platform supports the cybersecurity of digital manufacturing through hardware asset inventory, permissions control, recording of maintenance sessions and privileged accounts, controlled physical access and remote access, account tracking, and incident response.
  • Finally, you have seen some characteristics of industrial revolutions that have changed the relationship between people, machines, and work. 

Was our article on PAM Security Platform helpful to you? Then share it with someone who might benefit from this content.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Segura®
Segura® strive to ensure the sovereignty of companies over actions and privileged information. To this end, we work against data theft through traceability of administrator actions on networks, servers, databases and a multitude of devices. In addition, we pursue compliance with auditing requirements and the most demanding standards, including PCI DSS, Sarbanes-Oxley, ISO 27001 and HIPAA.

4 Best Practices for Enterprise WiFi Security

Your employees can use their laptops or mobile devices from anywhere within your corporate building to access your WiFi network. Convenience is often coupled with risk however, and many WiFi networks these days simply do not have the appropriate security measures needed, making them susceptible to cyber threats that put your company’s data and customer information at risk.

However, you can protect your network and sensitive data by using some of these best practices for WiFi network security. We’ll focus on the four most effective methods for WiFi security:

4 Best Practices for Enterprise WiFi Security

When it comes to WiFi security and preventing unauthorized access and data loss, businesses must take the time to thoroughly plan out a comprehensive strategy. Although the degree of protection needed, and the available budget determine the final security measures, the essential guidelines listed below can be helpful for getting started.

I. Maintain User Segregation Between Internal and Guest Users

When guests come to your place of business, they will most likely want access to your WiFi network. While giving this to your customers seems a perk, you must maintain a barrier between their access and that of your employees. If they do not need access to any company’s resources, it is beneficial to your company’s safety to ensure that they are kept separate.

II. Carefully Select Your SSID Name

Your SSID shouldn’t advertise your company. Organizations often expose their networks to attackers, and in densely inhabited areas the risks of a hack are much higher. Even with an unassuming SSID, hackers may locate your WiFi network. Yet, having a safename increases the difficulty of hacking a network. Note that banal SSIDs assist WiFi security but aren’t a must-have.

III. Utilize Intrusion Prevention Systems for WiFi Networks

Include a wireless intrusion prevention system (IPS) inside your Wi-Fi security to protect your system. These devices monitor and detect targeted WLAN cyberattacks that utilize packet floods,ARP (Address Resolution Protocol),spoofing, and malicious broadcasts.

Snort refers to a network intrusion prevention system that can swiftly detect and handle potential threats. as a preemptive approach to securing your network. As with intrusion detection, these systems also help monitor network traffic. Depending on your network administrator’s security controls, they can rapidly respond against a prospective exploit.

IV. Mobile Device Management (MDM)

Mobile device management (MDM) allows you isolate and manage access for numerous mobile devices which protects your corporate network and data in numerous ways, including:

  • Monitoring regulatory compliance activities.
  • Remotely deactivate or disconnect illegal users and their devices.
  • Centralize device update auditing.
  • Protect mobile devices with your company’s security protocols.

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Portnox
Portnox provides simple-to-deploy, operate and maintain network access control, security and visibility solutions. Portnox software can be deployed on-premises, as a cloud-delivered service, or in hybrid mode. It is agentless and vendor-agnostic, allowing organizations to maximize their existing network and cybersecurity investments. Hundreds of enterprises around the world rely on Portnox for network visibility, cybersecurity policy enforcement and regulatory compliance. The company has been recognized for its innovations by Info Security Products Guide, Cyber Security Excellence Awards, IoT Innovator Awards, Computing Security Awards, Best of Interop ITX and Cyber Defense Magazine. Portnox has offices in the U.S., Europe and Asia. For information visit http://www.portnox.com, and follow us on Twitter and LinkedIn.。

2022 Verizon DBIR (Data Breach Investigations Report) Key Takeaway

As malicious actors have advanced technologically and are finding new ways to infiltrate network systems globally, organizations need to respond accordingly by enhancing their knowledge and capabilities. 

The Verizon DBIR (Data Breach Investigations Report) has played a significant role in raising awareness among the workforce about the importance of maintaining cybersecurity hygiene. Below is a summary of the 2022 DBIR that helps organizations understand the essence of the report and equip themselves with better strategies to thwart cyberattacks and safeguard the confidentiality, integrity, and availability of their critical information assets.

Some Important Verizon DBIR 2022 Findings

The Verizon 2022 DBIR is an exhaustive report running more than 100 pages. Its 15th annual edition, DBIR 2022, is the most comprehensive report presented by Verizon since the first one in 2008. It analyzes 5,212 breaches in 2021 spread across eleven industrial sectors distributed in four regions globally. Below is the outline of the critical findings from the report that merit immediate consideration.

  1. Gateways that allow access: The DBIR has pointed out four significant gateways that enable malicious actors to infiltrate network systems and cause data breaches. They are:

    • Credential Theft

    • Phishing

    • Exploiting vulnerabilities

    • Botnets

No organization is safe without formulating a robust plan for handling these four compromising gateways.

  1. Ransomware’s continued growth: Ransomware continues to be a significant threat to organizations worldwide. It showed around a 13% increase last year, equivalent to the previous five years’ combined rise. Thus, it has increased by around 25% over those years combined. However, organizations can block ransomware by taking proper care of the four gateways discussed above, as the threat uses these gateways to access network systems.

  2. Supply Chain Attacks on the rise: The DBIR hints toward one significant supply chain attack that had an enormous impact. Though the report does not name the attack, it points toward the Solar Winds Supply Chain attack. As per the report, the supply chain area became responsible for 62% of last year’s system intrusions. 

  3. The internal element is still involved: The DBIR states that one cannot ignore internal involvement in data breaches. While external players comprise 80% of bad actors, the breaches caused by internal actors have been more significant, with an average breach impacting ten times more than an external one.

  4. The motive behind cyber crimes: The DBIR concludes that financial gain remains the primary motive behind 96% of cyber incidents and data breaches.

In a nutshell, the deduction will be as follows.

  • Ransomware attacks are increasing by the day.

  • Supply chain attacks are evolving into a significant threat.

  • Malicious actors and not human error cause more data breaches.

  • Cybercrime has become a significant money-spinning industry.

Eight Critical Threat Patterns Pointed out by the Report

The report highlights eight threat patterns responsible for almost all security breaches. Organizations must concentrate on these eight patterns while formulating defense strategies.

  1. System Intrusion 

System Intrusion is a complex attack pattern where malicious actors infiltrate the victim’s network systems using malware or complex intrusion techniques. Ransomware is the prime example of compromising systems and disrupting businesses for financial gains.

The DBIR mentions 7,013 incidents, of which 1,999 resulted in confirmed data breaches. Mostly, the bad actors exploited C2 (Command and Control) or a backdoor entry and included ransomware. Among the confirmed data breaches, 42% compromised credentials, while 37% compromised personal data. Besides, the report talks of increasing supply chain attack incidents.

  1. Social Engineering

Social Engineering attacks comprise the human element involved in cyber incidents. As per DBIR, about 82% of data breaches involve a human angle. It reports 2,249 social engineering attack incidents resulting in 1,063 confirmed data breaches. Furthermore, 63% of the violations compromised credentials, whereas 32% resulted in internal data loss. The primary attack modes were phishing and BEC (Business Email Compromise).

  1. Denial of Services

DDoS (Distributed Denial of Service) attacks are among the oldest attack patterns where the cyber attackers simultaneously target the network and application layers to increase traffic and compromise the application’s availability. The primary objective of the DDoS attack is to disrupt business and not steal data. The DBIR 2022 lists 8,456 disruptions, including four cases compromising information assets.  

  1. Privilege Misuse 

Privilege misuse is a dangerous trend because it compromises the trust element that employers have with their employees. Here, the malicious actors misuse their privileges and cause data breaches solely for financial gain. All of these attacks involve internal actors, with DBIR reporting 4% involving external collaboration. DBIR highlights 275 incidents resulting in 216 confirmed data breaches; 78% of such attacks are carried out for financial gain and the remaining are due to ulterior grudges, espionage, and convenience. 

  1. Basic Web Application (BWA) Attacks

The BWA attacks are similar to hit-and-run cases where the threat actors target a specific web application, compromise it, collect as much data as possible, and abandon the system. The DBIR lists 4,751 such instances culminating in 1,273 data breaches. 69% of these breaches compromised personal information and 67% credentials. Usually, the malicious actors exploit a known vulnerability in the system or use brute force to access it and compromise the information assets.

  1. Miscellaneous Errors

Miscellaneous errors generally constitute unintentional actions that directly compromise the information asset’s integrity. These could be errors like misconfiguring an asset or unwittingly sending information to the wrong person. Usually, internal employees are involved in such cases. The DBIR lists 715 such incidents, with nearly all resulting in compromising information assets, primarily personal data.  

  1. Lost and Stolen Assets

Such attack patterns involve losing track of a specific information asset. At times, there can be theft of sensitive data. The DBIR mentions 885 incidents in this category, involving 85% internal threat actors. It included 81 data breach incidents, and the stolen devices were mostly documents, desktops, laptops, and mobile phones. 

  1. Everything Else 

This section covers the incidents that do not fit into the seven patterns described above. Though the DBIR has not listed any incident in this category, it has included it in the report for organizations to introspect.

Final Words

Verizon’s DBIR is a comprehensive report that provides a wealth of information about the different types of threats in today’s cybersecurity landscape. The report highlights how security-related incidents occur and thus, helps organizations to formulate a comprehensive cybersecurity strategy. As it has systematically classified the various threat factors, it is easy for organizations to verify which security control they are deficient in and which attack vectors they need to be cautious about most. They can then improve the safeguards to ensure their valuable information assets’ confidentiality, integrity, and availability.

#verizon #vicarius_blog

Reference

  1. Verizon. Data Breach Investigations Report (DBIR) – 2022. 

https://www.verizon.com/business/resources/reports/2022/dbir/2022-dbir-data-breach-investigations-report.pdf 

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About VRX
VRX is a consolidated vulnerability management platform that protects assets in real time. Its rich, integrated features efficiently pinpoint and remediate the largest risks to your cyber infrastructure. Resolve the most pressing threats with efficient automation features and precise contextual analysis.

Path Traversal

This article will cover some of the best practices to prevent path traversal attacks.

There are many different names for this attack, such as “dot-dot-slash,” “directory traversal,” and “directory climbing.” As you can guess from the name of this attack, targets are folders (directories), files.

This HTTP attack would be successful if the attacker could enter restricted directories and execute malicious commands outside the web server’s root directory.

 

Example using parameters:

 

We are storing files in the application (documents in this case). The user would upload the files and choose a name; if successful, they would have access to the stored files (to preview and modify them).

So, in this case, the document is stored in the application, and the user wants to modify it. The HTTP request to access the files on a given system would be done via parameters.

kumarishefu.4507 gives a cool definition for parameters: “Parameters are query parameter strings attached to the URL that could be used to retrieve data or perform actions based on user input”.

For example, if a user wants to access and display their “DocumentOne” within the web application, the request may look as follows, 

http://example.com/preview?file=DocumentOne.pdf

Where the file is the parameter and documentOne.pdf is the file, we want to access.

For the attacker, this is important to know because they can use this information to try and do the attack if the input where the user saves (uploads) a file name is not properly sanitized and validated.

Their target is to somehow write to the server’s directory, which could lead to RCE

The image below shows the web application file/folder tree.

If we want to walk through directories (go one step up), we would use “../” – if you remember, this attack is also called “dot-dot-slash.”

How did the attacker use it in the mentioned example?

 

So, the target is the root directory, and they want to access the files from the /etc/passwd directory.

They would use this URL:

http://example.com/preview?file=../../../../etc/paswd

If the application is susceptible to this attack, they would list all the files in that folder when they execute such URL.

How to prevent access by filtering keywords

Usually, the attacker is interested in the /etc/passwd, /etc/shadow (if available); for example, they could check /etc/group to see if any of the users are listed in the root or wheel groups.

 

http://example.com/preview?file=../../../../etc/passwd

 

To prevent accessing sensitive information, you can filter some keywords, for example: /etc/passwd. But be aware that there are 2 ways to bypass these filters. First, by using NullByte (%00); second, by adding “/.” to the end of the filtered keyword. That URL would look like this:

http://example.com/preview?file=../../../../etc/passwd%00

or

http://example.com/preview?file=../../../../etc/passwd/.

 

In the same way, you can also replace “../” with an empty string. Pay attention to cover all cases, even something like this:

....//....//....//....//....//etc/passwd

 

A lot of filters only match and replace the first subset string “../” and don’t check again.

Summary

 

You saw that this attack happens because the application doesn’t have proper input validation, and it has access to sensitive data and the ability to write to the server. To prevent directory traversal, we want to cover all bases by writing an application opposite our example above.

Example using Cookies:

 

In many applications, cookies can access files required for the website. As you can imagine, that can be one way in for the directory traversal attack! 

This is not the best practice, but you can set up some security flags on cookies:

  • Secure Flags which are preventing the cookie from ever being sent over an unencrypted connection
  • HTTPOnly Flag prevents scripts from reading the cookie
  • SameSite Flag aims to prevent CSRF attack
  • HostOnly Flag specifies if the cookie should be accessible by subdomains

*Note: Use Session cookies if it is possible. If not set an expiration.

*Note for Angular: To set up cookie service and cookie with secure flag you can use  ngx-cookie-service package easily:

 

import { CookieService } from 'ngx-cookie-service';
 
constructor( private cookieService: CookieService ) { }
 
ngOnInit(): void {
const secureFlag = true; 
this.cookieService.set('cookieName', 'somevalue', 1, ‘/’ , ‘localhost’, secureFlag , "Strict");
}

 Testing application’s vulnerability:

 

There are some tests to check the application’s vulnerability to Directory traversal attack, which are recommended by OWASP. You can always write your own automation tests or do them manually, but I recommend using existing testing tools because they cover many different use cases.

  • Static application security testing (SAST) – this solution uses the white-box technique. In this case, this means that tests are performed on the application’s source code when it is not running. You can find out more about configuring and using SAST on the Gitlab site.
  • Dynamic application security testing (DAST) – this solution uses the black-box technique. The difference between SAST is that these tests don’t need to access the application’s source code. These tests also use Fuzzing. They would simulate a real attack on the frontend of the application while it is running. You can find out more how you can configure and use DAST on the Gitlab site.

There is one blog with a good explanation of why it is best to use both tools to get a complete analysis.

Prevention steps:

  • To prevent directory traversal on your web server, always keep your web server and operating system updated.
  • Validation of user’s input (pay special attention if the user of the application can give the name of a file – scan it for valid characters)
  • The non-admin permissions should be read-only for the files which are used
  • All URL requests which are made to manage a directory or file should be checked properly. All characters must be normalized (“%20” should be converted to spaces – for example, using encodeURIComponent() method in JS)
  • The web server should be run separately from your system disk. System disk needs to be protected because it has sensitive information
  • Implement sandbox environments (for example, chroot) to set boundaries between the processes and the operating system.

File Permissions

 

It is very important to have one line of defense right before accessing files. To achieve that, you can limit user access by implementing roles and permissions. We can assume that the application already had implemented authentication (such as MSAL, for example, if you are using Azure), so the next step would be authorization. Authorization is the verification process of the user’s access to files, data, etc.

Of course, all code regarding the authorization logic can be written manually, but you can also use some helper packages, such as ngx-permissions (for Angular). 

When implementing authorization, we should follow the principle of least privilege. The principle states that users should be assigned the minimum necessary access rights to achieve what’s required. Also, it states that rights should be in effect for the minimum possible duration.

 

*There is one example of how people found vulnerabilities in angular-HTTP-server-package versions less than 1.4.4 on this blog. So, if you are using an old version of Angular with this version of the package, update it!

Conclusion

 

The best way to avoid a Directory Traversal attack is to avoid writing the application that takes user input and passes it to APIs system files. 

Instead, these application functions can be rewritten to use a safer way.

If it is necessary to pass user input to APIs system files, then use the prevention steps I explained. 

In the end, secure code is the cheapest code!

 

 

System files paths in Windows and Unix

 

There is the list of some system files paths provided on-site:

For Unix-based operating systems:

·        /etc/passwd file: Contains information about all the user’s account

·        /etc/group file: Contains groups to which users belong

·        /etc/profile file: Contains default variables for users

·        /proc/self/environ file: Contains certain environmental variables

·        /etc/issue file: Contains message to be displayed before the login

·        /proc/version file: Contains the Linux kernel version in use

·        /proc/cpuinfo file: Contains the processor information

 

For Windows Operating systems:

· C:\Windows\repair\system

· C:\Windows\repair\SAM

· C:\Windows\win.ini

· C:\boot.ini

· C:\Windows\system32\config\AppEvent.Evt

If you want to familiarize yourself more with the Unix filesystem, you can check out the site, and for Windows, you can use this site.

#path_traversal #permissions #cookie_flags #vicarius_blog

Cover photo by Markus Spiske

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About VRX
VRX is a consolidated vulnerability management platform that protects assets in real time. Its rich, integrated features efficiently pinpoint and remediate the largest risks to your cyber infrastructure. Resolve the most pressing threats with efficient automation features and precise contextual analysis.

Data Compliance Makes Third-Party Security a Must

The very mention of data governance and compliance can send shivers down the spines of corporate IT professionals, particularly for those who recognize they aren’t ready to handle a major data breach or other situation that compromises mission-critical data.

The increased focus on data compliance creates even more headaches as state and federal regulations are constantly changing, adding more pressure to comply as a means to avoid a regulatory audit and the unpredictability of a public relations nightmare.

So, why is regulatory compliance so important?

The answers can vary from company to company but protecting mission-critical data is not only necessary for business continuity, failure to comply can lead to financial and legal exposure such as lawsuits, fines, settlements, certification losses, and data breaches. Some estimates say compliance failures cost businesses nearly $1.5 billion annually and growing.

If you believe data compliance won’t adversely affect your company, look at these real-world examples of what can happen:

  • Target Corporation agreed to an $18.5 million settlement with 47 states for its 2013 holiday data breach where cybercriminals stole $40 million in credit and debit records.
  • Uber’s sub-par handling of its 2016 data breach that impacted 57 million rider and driver accounts cost the company almost $150 million.
  • Equifax lost over $575 million in 2017 when it failed to fix a critical vulnerability that compromised the financial and personal information of over 150 million individuals.
  • Marriott International received a $124 million fine from the General Data Protection Agency in 2018 when a cyber incident dating back to 2014 containing over 338 million guest records came to light.

The Solution? Deploy a Third-Party Cloud Backup Service

For companies committed to minimizing or avoiding these risks, it pays to be nimble and prepared particularly since data backup and recovery are so inextricably linked to compliance. Think, for example, how difficult it would be to pass an audit with missing data. 

So, who is ultimately responsible for data backup and recovery? If you believe it’s your cloud service provider, think again.  You may be surprised to learn that most SaaS vendors don’t automatically back up data for long periods and lack critical, built-in security measures to protect data. While they may be able to back up some of your data during a breach incident, most lack the ability to quickly and easily recover your data and make it immediately accessible. 

That’s why third-party backup and recovery services like Keepit are your best bet to ensure business continuity, stay in compliance, and keep costs predictable. 

Part of what makes Keepit’s backup and recovery solution so effective is how we deploy blockchain technology, which makes it possible to achieve data immutability to meet increasing compliance standards without having costs skyrocket. 

Blockchain has gained market familiarity and acceptance in the cryptocurrency industry like Bitcoin and Ethereum because its hashing technology helps improve transparency and data security around distributed transactions.  

One of blockchain’s drawbacks with cryptocurrency, however, is authentication, which is slow and resource demanding. Keepit’s solution, on the other hand, features all the benefits of blockchain technology but is fast and doesn’t consume expensive resources. This, in turn, makes achieving compliance much easier and more convenient. 

How to Increase Your Focus on Compliance
So, what’s the fastest and most cost-effective third-party data protection your company can deploy? Enter the Keepit cloud. 

Because it is built on secure, blockchain-verified technology, Keepit ensures data remains immutable and tamperproof – always.  This is important for compliance because with immutable data and metadata, it’s possible to document and recover not just all data but all data processing, further ensuring that auditors have full visibility to everything that has impacted the data. 

Learn more about how Keepit can help your company quickly recover from any data loss event – even ransomware attacks – to keep your company’s data always secure, always available, and always compliant with the latest regulations.
Keepit is a dedicated backup and recovery service providing your company with secure cloud data backup for the core SaaS applications, including Microsoft 365, Salesforce, and Google Workspace. 

About Version 2 Digital

Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.

Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.

About Keepit
At Keepit, we believe in a digital future where all software is delivered as a service. Keepit’s mission is to protect data in the cloud Keepit is a software company specializing in Cloud-to-Cloud data backup and recovery. Deriving from +20 year experience in building best-in-class data protection and hosting services, Keepit is pioneering the way to secure and protect cloud data at scale.