|

IT security: an important but often neglected aspect of software engineering

Headlines about cyber attacks are piling up. IT security is the subject of much discussion. The public debate is still dominated by secure infrastructures and special solutions. However, IT security can usually be implemented more efficiently and cost-effectively in software development, particularly in system design.

This is a guest post by Dagmar Moser. She is an independent IT consultant specializing in IT architecture, IT security and requirements engineering in classic IT application development projects and IT innovation initiatives. She is the owner of blueheads, management consultancy for IT security.

Independent of the software development process

In this article, I would like to refer explicitly to software development. However, threat modeling can also be used for hardware and embedded systems.

IT security can be taken into account in any software development process. The procedure just needs to be adapted to the process and IT security needs to be systematically integrated.

This is also possible in an agile process, and there are even some advantages over a phase-oriented process:

  • The project deals with the implementation of security measures at an early stage and works in a risk-oriented manner.
  • Security measures can be prioritized, planned and implemented together with functional requirements. Synergy effects can be achieved in the process.
  • Safety measures are tested on an ongoing basis.

The following diagram shows a SCRUM-based process that has been supplemented by key security activities:

  • In addition to other quality requirements, the backlog also contains security requirements that are taken into account in sprint planning and implemented and tested in the sprint.
  • The Definition of Done takes into account important quality aspects such as the review of the security architecture or the documentation and addressing of identified threats.

IT security must be considered in the system design

Even at the rough system design stage, the Safety aspect must be taken into account. Later changes to the architecture are notoriously expensive! On the other hand, technical components that already provide the necessary security features in addition to functionality can save a lot of money.

Every architect should know and use secure design patterns.

Every architect should know and apply secure design patterns. Classic vulnerabilities are also described and should be taken into account during design and development. (E.G. OWASP Top 10)

A very efficient tool that is used in system design and corresponds to the working method of Modelers and architects is threat modeling.

Threat modeling as an efficient tool for identifying and evaluating threats

Threat modeling can be divided into the following steps:

From presentation by Dagmar Moser and Sabine Wildgruber Modern RE 2019 "Attack is the best defense"
  1. Create a threat model: A threat model is similar to a data flow diagram that has been expanded to include so-called trust boundaries. Examples of trust boundaries are system or user interfaces. In addition to the main data flows, the threat model shows the rough architecture (components and interfaces) and the interaction with the application's stakeholders.
  2. Identify threats: Following the data flow, the threat model provides a sequence according to which it can be run through and analyzed. Possible threats are identified at each step. To support this, the company's own lists of relevant threats, documentation of known vulnerabilities (e.g. MITRE-CVE) or easy-to-use procedures such as STRIDE from Microsoft can be used. At the end of the identification process, the threats are documented with a clear reference to the model.
  3. Evaluate threats: There are easy-to-use methods for assessing threats in software development, such as DREAD from Microsoft or OWASP Risk Rating. They take into account various factors relating to the extent of damage, the exploitability of the vulnerability and possible attackers (OWASP Risk Rating only).
  4. Plan countermeasures: Before concrete countermeasures are defined and planned, a decision must be made for each threat as to whether countermeasures should be implemented and with how much effort. The countermeasures can be formulated and planned in the form of requirements (e.g. security stories, evil stories).

Security in software development is teamwork

Implementing security in software development requires security awareness and know-how throughout the entire team. A security expert alone can provide valuable input, but efficient implementation must take place in the individual disciplines (project management, requirements engineering, architecture, development and testing).

Conclusion

Security in software development is part of modern and sustainable product development. We cannot rely on operating systems and secure infrastructures to compensate for the security that was missed during system design.

Photo by vipul uthaiah on Unsplash

Similar Posts

Leave a Reply