CyberSecurity Part 2: NIST’s Principles and Best Practices for Secure Software Development (2023)

Run-through

Comparing Heroku and Digital Ocean

November 23, 2022No Comments

Heroku and Digital Ocean are popular cloud computing platforms for developers. Here is a comparison of Heroku vs Digital Ocean.

Read More »

November 2022 Release Notes

November 17, 2022No Comments

Here’s what’s new in our November 2022 Release Notes:

* Improved data exports for our custom solutions;
* Stabilized backend environment for smoother workspace data refreshes;
* Flexible pagination;

Read More »

As we are about to see an industry-wide redoubling of efforts on secure software development, this is a good time to point you in the direction of essential resources offered by the National Institute of Standards and Technology. Beyond recent cyberattacks and more remote work, it’s anticipated that the Payment Card Industry Security Standards Council will release PCI DSS v4.0 in Q1 of 2022. It is likely to increase standards for virtually all eCommerce software. Like reusing good code, it’s not always necessary to reinvent the wheel. Most organizations will be playing catch up with NIST’s frameworks. Those wanting more can add to it.

Benefits of Secure Software Development - The Carrot

No one in their right mind is going to tell you that secure software development is easy. It requires extra effort. You’re competing with what probably amounts to a lot of amateur hackers, but also groups of dedicated Black Hat professionals. Some of them are backed by corrupt states – the usual suspects. They stand to profit if they can penetrate your systems. Conversely, it’s hard to think of a case where anyone really increased their profitability with secure software.

Leastwise, we can start with the top-level benefits of keeping your software secure:

  • Minimizes risks of your system being compromised.
  • Mitigates data theft so hackers can’t read or use the files they steal.
  • Reduces costs by catching vulnerabilities when they are easier and faster to fix.
  • Provides continuous practice and training for software developers.
  • Develops customer trust by showing that you’re serious about security.

Of course, that all sounds nice. It’s really quite debatable whether any of these reasons will inspire your C-levels to make a serious commitment to securing your software. As of 2020, according to Verizon, only 27.9% of companies were fully compliant with the current PCI standards. These companies recognize one other benefit associated with secure software development:

  • Complies with regulations to avoid fines and penalties!!!

And the Stick

(Video) How to Start a Cybersecurity Career In The Next 7 Days Without Coding Skills In 2022! Part 2

In a world where companies cease striving “to not be evil” – it’s always good to put a dollar figure to everything. Feel free to convert to Euros, Sterling, Francs, and seashells, if you like.

Let’s take a quick look at some of those fines and penalties.
Violations of the EU’s General Data Protection Regulation (GDPR) can result in fines of up to €20 million or 4% of annual global revenue, whichever is highest. Two examples of many – Google incurred €50 million in fines; Marriot €20.4 million.

In 2020, Premera Blue Cross was fined $6.85 million by HIPAA for a data breach involving the records of 10,466,692 individuals.

The Payment Card Industry can impose fines on non-PCI compliant merchants of up to $500,000 per incident for security breaches. Costs of notifying customers of breaches plus costs of recovery can push costs much higher though. It cost Equifax at least $575 million, and Target at least $292 million.

Then there’s the ransomware attacks – where CNA Financial paid $40 million. It makes all of the attention on Colonial’s $4.4 million payout seem trivial, if not for making national news and forcing responses in Whitehouse press conferences… and threatening gas supplies to entirety of the US eastern seaboard.

Enhance Measurement and Transparency of Your Software Development

NIST’s 33 Principles of Secure Software Development

Though dated (2004), NIST’s Engineering Principles for Information Technology Security remains equally true today, the principles haven’t changed. Below, all 33 principles of secure software development are listed verbatim, deserving all of the attention they can get. One is to wonder, if all of these principles were followed how many critical cyberattacks could have been prevented?

Security Foundation:

1. Establish a sound security policy as the “foundation” for design.
2. Treat security as an integral part of the overall system design.
3. Clearly delineate the physical and logical security boundaries governed by associated security policies.
4. Ensure that developers are trained in how to develop secure software.

Risk-Based Principles:

5. Reduce risk to an acceptable level.
6. Assume that external systems are insecure.
7. Identify potential trade-offs between reducing risk and increased costs and decrease in other aspects of operational effectiveness.
8. Implement tailored system security measures to meet organizational security goals.
9. Protect information while being processed, in transit, and in storage.
10. Consider custom products to achieve adequate security.
11. Protect against all likely classes of “attacks.”

Ease of Use

12. Where possible, base security on open standards for portability and interoperability.
13. Use common language in developing security requirements.
14. Design security to allow for regular adoption of new technology, including a secure and logical technology upgrade process.
15. Strive for operational ease of use.

Increase Resilience

16. Implement layered security (Ensure no single point of vulnerability).
17. Design and operate an IT system to limit damage and to be resilient in response.
18. Provide assurance that the system is, and continues to be, resilient in the face of expected threats.
19. Limit or contain vulnerabilities.
20. Isolate public access systems from mission-critical resources (e.g. data, processes, etc.).
21. Use boundary mechanisms to separate computing systems and network infrastructures.
22. Design and implement audit mechanisms to detect unauthorized use and to support incident investigations.
23. Develop and exercise contingency or disaster recovery procedures to ensure appropriate availability.

Reduce Vulnerabilities

24. Strive for simplicity.
25. Minimize the system elements to be trusted.
26. Implement least privilege.
27. Do not implement unnecessary security mechanisms.
28. Ensure proper security in the shutdown or disposal of a system.
29. Identify and prevent common errors and vulnerabilities.

(Video) NIST Cybersecurity Framework Implementation Steps

Design with Network in Mind

30. Implement security through a combination of measures distributed physically and logically.
31. Formulate security measures to address multiple overlapping information domains.
32. Authenticate users and processes to ensure appropriate access control decisions both within and across domains.
33. Use unique identities to ensure accountability.

A Secure Software Development Framework

Highly recommended download: Mitigating the Risk of Software Vulnerabilities by Adopting a Secure Software Development Framework (SSDF) by Donna Dodson, Murugiah Souppaya, and Karen Scarfone, was updated in April of 2020. Complimenting the principles, this framework details secure software practices and tasks to prepare your organization, protect and produce well-secured software, and for responding to vulnerabilities. It provides examples and a list of references for each task.

Reuse Existing, Well-Secured Software When Feasible Instead of Duplicating Functionality (PW.4):

Lower the costs of software development, expedite software development, and decrease the likelihood of introducing additional security vulnerabilities into the software. These are particularly true for software that implements security functionality, such as cyptographic modules and protocols.

PW.4.1:

Acquire well-secured components (e.g., software libraries, modules, middleware, frameworks) from third parties for use by the organization’s software.

  • Review and evaluate third-party software components in the context of their expected use. If a component is to be used in a sustantially different way in the future, perform the review and evaluation again with that new context in mind.
  • Establish an organization-wide software repository to host sanctioned and vetted open-source components.
  • Maintain a list of organization-approved commercial software components and component versions.
  • Designate which components must be included by software to be developed.

BSA: SM.2, SM.2.1

IDASOAR: Fact Sheet 19

MSSDL: Practice 6

SAMM15: SA1-A

SCTPC: 3.2.1

SP80053: SA-12

SP800181: K0039

(Video) Secure Software Development Framework: An Industry and Public Sector Approach

Get Gitential - Unlimited repos and self-serve analytics - $5/mo per dev (up to 100)

Secure Software Development Best Practices

In our previous article about President Biden’s Executive Order on CyberSecurity (and with NIST, generally), we talked Software Bill of Materials, Tracking Vulnerabilites and Patches. The documents and principles are a comprehensive source of secure software development best practices. Like initially noted, it’s not necessary to reinvent the wheel. We can add to the wheels, and so there are a few SSD best practices deserving of extra notes.

Exercise the Principle of Least Privilege

Only provide people, user accounts, and the software itself, the privileges (or access) to what they need to do their jobs, roles, and functions. It can apply to every level in a system from the OS to the network, databases, and applications. This can also extend to the physical environment, for example only letting authorized personnel in the SNOC or only if they are accompanied by a supervisor. Employees are actually responsible for an estimated 40% of data theft – and typically when they are about to change jobs.

So, one area of risk is not actively managing PoLP and removing permissions if an employee’s role changes or even when they do leave the company. Somewhat related is that while many companies rightfully insist on nondisclosure agreements (NDAs), far too many fail to “secure” (hardware, software, hard copy) materials provided to team members on their departure. Google Docs is one system rife with people continuing to have access to files… forever.

Use Linters or Static Code Analysis Tools

In addition to frequent testing, use a linter or a static code analysis tool to help catch defects before creating pull requests. Linters and static analysis can detect memory leaks, array or string overruns, access violations, etc. A linter can also help enforce style guide rules, make code easier for everyone on the project to read, and keep code reviews on task.

Test Early and Test Oftenly

Oops, made a mistake – will keep it there, but it’d take one second to delete that erroneous “ly.” It’s fast, easy, and there’s no real cost when developers fix errors while they’re writing code. Testing code as it’s written also makes debugging fast and efficient because developers have the code fresh in mind. After this point, however, the cost of finding and fixing defects begins to quickly increase.

Penetration Testing

Penetration tests or pen tests are simulated cyberattacks against your system to find vulnerabilities. Several regulations (GDPR, HIPAA, SOX, the PCI DSS, and others) require directly reference periodic risk assessments and/or penetration tests. It’s generally understood that a risk assessment includes a penetration test. Again, all eCommerce software is likely to be impacted by PCI DSS v4.0 which is expected to be released in Q1 of 2022.

In most cases, regulations have required that a pen test or risk assessment yearly and/or following any significant changes to the system. Gradually, more organizations are conducting penetration tests more frequently. A wide range of software penetration tools are available. However, more and more companies are making use of bug bounty organizations like BugCrowd and HackerOne, or creating their own programs like Microsoft, Facebook, and Intel.

CyberAttack Data Sharing

As defined by Biden’s Executive Order, we can expect to be required to share a lot more data should our systems get hacked. Checkout Section 2 of EO 14028. I’d draw attention to:

(c) The recommended contract language and requirements described in subsection (b) of this section shall be designed to ensure that:
(i) service providers collect and preserve data, information, and reporting relevant to cybersecurity event prevention, detection, response, and investigation on all information systems over which they have control, including systems operated on behalf of agencies, consistent with agencies’ requirements;

That is worthy of a post unto itself, suffice that the actual requirements of the EO will trickle out through May of 2022. It’s likely that we’ll cover more on secure software development over the coming year, and where possible and appropriate, we’ll include news about the “latest paperwork.” In the meantime, we can be thankful that NIST won’t be using nude body scanners to ensure software developers aren’t a security risk.

Automate Your Software Development Metrics

Gitential makes it easy for you to automatically track critical performance metrics with four levels of visibility – company level, by project, team, or individual. You’ll have on-demand access to comprehensive statistics across the four main drivers of software development – productivity, efficiency, quality, and teamwork. With this data, you can begin measuring the benefits of teamwork in software development, identify what’s holding your team back, improve cycle time, and more.

(Video) The NIST Cybersecurity Framework summary

Did you like our content?

Spread the word

Subscribe to Our Newsletter

Don't miss our latest updates.
All About Software Engineering Best Practices, Productivity Measurement, Performance Analytics, Software Team Management and more.

Did you like our content?

Spread the word

Subscribe to Our Newsletter

Don't miss our latest updates. All About Software Engineering Best Practices, Productivity Measurement, Performance Analytics, Software Team Management and more.

FAQs

What is NIST secure software development framework? ›

To help companies in this area NIST created what's called the Secure Software Development Framework (SSDF), which describes a set of high-level practices based on established standards, guidance, and secure software development practice documents.

What are secure software development principles? ›

This principle requires that access to every object must be checked for authority. It also requires that the source of every request is positively identified and authorized to access a resource. Whenever a subject attempts to read an object, the operating system should mediate the action.

What are the 5 NIST CSF categories? ›

They include identify, protect, detect, respond, and recover. These five NIST functions all work concurrently and continuously to form the foundation where other essential elements can be built for successful high-profile cybersecurity risk management.

What are the 4 NIST implementation tiers? ›

The National Institute of Standards and Technology Cyber-Security Framework (NIST) implementation tiers are as follows.
  • Tier 1: Partial.
  • Tier 2: Risk Informed.
  • Tier 3: Repeatable.
  • Tier 4: Adaptive.

What are three steps in the NIST Cybersecurity Framework? ›

The NIST Cybersecurity Framework consists of three parts:
  • Framework Core. The “Framework Core” consists of an assortment of activities and desired outcomes. ...
  • Implementation Tiers. ...
  • Framework Profile.
1 Nov 2021

What are the 7 principles of security? ›

Security by Design: 7 Application Security Principles You Need to Know
  • Principle of Least Privilege. ...
  • Principle of Separation of Duties. ...
  • Principle of Defense in Depth. ...
  • Principle of Failing Securely. ...
  • Principle of Open Design. ...
  • Principle of Avoiding Security by Obscurity. ...
  • Principle of Minimizing Attack Surface Area.

What are the 5 basic security principles? ›

The Principles of Security can be classified as follows:
  • Confidentiality: The degree of confidentiality determines the secrecy of the information. ...
  • Authentication: Authentication is the mechanism to identify the user or system or the entity. ...
  • Integrity: ...
  • Non-Repudiation: ...
  • Access control: ...
  • Availability:
5 Jun 2022

What are the 4 principles of cybersecurity? ›

The cyber security principles
  • Govern: Identifying and managing security risks.
  • Protect: Implementing controls to reduce security risks.
  • Detect: Detecting and understanding cyber security events to identify cyber security incidents.
  • Respond: Responding to and recovering from cyber security incidents.
16 Jun 2022

What are the 3 types of software security? ›

There are three software security types: security of the software itself, security of data processed by the software, and the security of communications with other systems over networks.

What are the 5 best methods used for cyber security? ›

10 steps to an effective approach to cyber security
  • Risk management regime. ...
  • Secure configuration. ...
  • Network security. ...
  • Managing user privileges. ...
  • User education and awareness. ...
  • Incident management. ...
  • Malware prevention. ...
  • Monitoring.

What are the 3 key security principles? ›

The CIA triad refers to an information security model made up of the three main components: confidentiality, integrity and availability. Each component represents a fundamental objective of information security.

What are the six steps of the NIST Risk Management Framework? ›

The NIST management framework is a culmination of multiple special publications (SP) produced by the National Institute for Standards and Technology (NIST) - as we'll see below, the NIST RMF 6 Step Process; Step 1: Categorize/ Identify, Step 2: Select, Step 3: Implement, Step 4: Assess, Step 5: Authorize and Step 6: ...

What are the three types of security controls NIST? ›

The management, operational, and technical controls (i.e., safeguards or countermeasures) prescribed for a system to protect the confidentiality, integrity, and availability of the system and its information.

What are the 5 steps of the NIST framework for incident response? ›

NIST Incident Response Steps
  • Step #1: Preparation.
  • Step #2: Detection and Analysis.
  • Step #3: Containment, Eradication and Recovery.
  • Step #4: Post-Incident Activity.
21 Oct 2022

What is 3 NIST Digital Signature Algorithm? ›

Federal Information Processing Standard (FIPS) 186-4, Digital Signature Standard (DSS), specifies three NIST-approved digital signature algorithms: DSA, RSA, and ECDSA.

What is NIST 800-53 used for? ›

What is the purpose of NIST 800-53? The NIST 800-53 framework is designed to provide a foundation of guiding elements, strategies, systems, and controls, that can agnostically support any organization's cybersecurity needs and priorities.

Why is NIST the best framework? ›

The NIST Framework provides organizations with a strong foundation for cybersecurity practice. As regulations and laws change with the chance of new ones emerging, organizations that choose to implement the NIST Framework are in better stead to adapt to future compliance requirements, making long term compliance easy.

What are the 2 main frameworks for cyber security incident response? ›

These are called Incident Response Frameworks, and two of the most commonly used ones are called the NIST and SANS frameworks. Let's dive into what each of these offers.

What are the 8 principles of security? ›

Cloud security guidance
  • Principle 1: Data in transit protection.
  • Principle 2: Asset protection and resilience.
  • Principle 3: Separation between customers.
  • Principle 4: Governance framework.
  • Principle 5: Operational security.
  • Principle 6: Personnel security.
  • Principle 7: Secure development.
  • Principle 8: Supply chain security.

What are the 14 principles of security management? ›

The 14 NCSC cloud security principles
  • Data in transit protection. User data which is transitioning between networks should be protected against any interference.
  • Asset protection and resilience. ...
  • Separation between users. ...
  • Governance framework. ...
  • Operational security. ...
  • Personnel security. ...
  • Secure development. ...
  • Supply chain security.

What are the 8 main principles of data protection? ›

What Are the Eight Principles of the Data Protection Act?
  • Fair and Lawful Use, Transparency. The principle of this first clause is simple. ...
  • Specific for Intended Purpose. ...
  • Minimum Data Requirement. ...
  • Need for Accuracy. ...
  • Data Retention Time Limit. ...
  • The right to be forgotten. ...
  • Ensuring Data Security. ...
  • Accountability.
12 Oct 2020

What are the 6 elements in secure? ›

This graphic depicting the 6 atomic elements of Information Security as defined by Donn B. Parker. Which are: Confidentiality, Possession or Control, Integrity, Authenticity, Availability, Utility.

What are the 6 types of security? ›

What are the 6 types of security infrastructure systems?
  • Access Controls. The act of restricting access to sensitive data or systems enables your enterprise to mitigate the potential risks associated with data exposure. ...
  • Application Security. ...
  • Behavioral Analytics. ...
  • Firewalls. ...
  • Virtual Private Networks. ...
  • Wireless Security.
22 Feb 2022

What are the 7 layers of cyber security? ›

The Seven Layers Of Cybersecurity
  • Mission-Critical Assets. This is data that is absolutely critical to protect. ...
  • Data Security. ...
  • Endpoint Security. ...
  • Application Security. ...
  • Network Security. ...
  • Perimeter Security. ...
  • The Human Layer.

What are 3 D's of security in security in computing? ›

That is where the three D's of security come in: deter, detect, and delay. The three D's are a way for an organization to reduce the probability of an incident.

What are 10 good cybersecurity practices? ›

Top 10 Secure Computing Tips
  • Tip #1 - You are a target to hackers. ...
  • Tip #2 - Keep software up-to-date. ...
  • Tip #3 - Avoid Phishing scams - beware of suspicious emails and phone calls. ...
  • Tip #4 - Practice good password management. ...
  • Tip #5 - Be careful what you click. ...
  • Tip #6 - Never leave devices unattended.

What are the phases of NIST SDLC model? ›

A general SDLC includes five phases: initiation, acquisition/development, implementation/assessment, operations/maintenance, and sunset (disposition).

What are the five core functions of the NIST Cybersecurity Framework? ›

Here, we'll dive into the Framework Core and the five core functions: Identify, Protect, Detect, Respond, and Recover. NIST defines the framework core on its official website as a set of cybersecurity activities, desired outcomes, and applicable informative references common across critical infrastructure sectors.

How many NIST standards are there? ›

Measurements and standards

As part of its mission, NIST supplies industry, academia, government, and other users with over 1,300 Standard Reference Materials (SRMs).

What are the 7 steps in incident response? ›

7 Phases of Incident Response
  1. Preparation. It's nearly impossible to create a well-organized response to a cybersecurity threat in the moment. ...
  2. Identification. All phases of an incident response plan are important, however, identification takes precedence. ...
  3. Containment. Don't panic! ...
  4. Eradication. ...
  5. Recovery. ...
  6. Learning. ...
  7. Re-testing.

Why is NIST framework used? ›

The Framework integrates industry standards and best practices to help organizations manage their cybersecurity risks. It provides a common language that allows staff at all levels within an organization—and at all points in a supply chain—to develop a shared understanding of their cybersecurity risks.

What does NIST do and why is it important? ›

The main function of NIST is to create best practices (also known as standards) for organizations and government agencies to follow. These security standards are developed to improve the security posture of government agencies and private companies dealing with government data.

What are the major steps in NIST framework? ›

The NIST management framework is a culmination of multiple special publications (SP) produced by the National Institute for Standards and Technology (NIST) - as we'll see below, the NIST RMF 6 Step Process; Step 1: Categorize/ Identify, Step 2: Select, Step 3: Implement, Step 4: Assess, Step 5: Authorize and Step 6: ...

How many NIST controls are there? ›

These guidelines function to protect the system security and the sensitive data of the citizens being served. Exactly how many security controls are in NIST 800 53? NIST SP 800-53 has had five revisions and is composed of over 1000 controls.

What are NIST categories? ›

Categories: Identity Management, Authentication and Access Control, Awareness & Training, Data Security, Info Protection & Procedures, Maintenance, Protective Technology.

What is the first of the five functions specified by NIST? ›

Here, we'll dive into the Framework Core and the five core functions: Identify, Protect, Detect, Respond, and Recover. NIST defines the framework core on its official website as a set of cybersecurity activities, desired outcomes, and applicable informative references common across critical infrastructure sectors.

What are the core elements of NIST? ›

It sets out a number of recommended standards which organizations in the public and private sector can follow to reinforce their cybersecurity profile. There are five key functions of the framework, which are identify, protect, detect, respond, and recover.

Videos

1. NIST CSF Overview
(Mark Thomas)
2. Developing the NIST Privacy Framework - Part 2
(Brookings Institution)
3. The NIST Framework as Cyber Best Practice
(Ember Sec)
4. NIST Cybersecurity Framework
(WissenX Akademie)
5. The NIST Cyber Security Framework
(Trustwave Security Colony)
6. Cybersecurity – 4 Steps to GDPR Compliance & NIST Cybersecurity Framework
(ISACA İstanbul Chapter)
Top Articles
Latest Posts
Article information

Author: Arielle Torp

Last Updated: 10/29/2022

Views: 5332

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.