Blog

Lifecycles and cryptography, part 2

Life cycles and cryptography

We subconsciously suspect connections with the age of equipment, its reliability and general security. On the other hand, it is difficult to imagine the above problem in the field of cryptography and to accept these development impacts. I was wondering how it is even possible to consider the mentioned life cycles, what impact they have on security, or what relationships there are between the life cycles of cryptography and other applications or services. The goal is to understand the motivations to maintain the current solution, the impacts of extension on technological debt and to what extent the approach using cryptoagility can solve the mentioned problems. This article series tries to summarize the causes that hinder regular and, most importantly, rapid change of cryptography, as well as to provide an overview of the reasons. If we know the reasons for these problems, we are able to consider them and make appropriate decisions.


Zombie apocalypse

Currently, most systems are subject to security-based management. The reason is the huge increase in risks arising from vulnerabilities or irregularities found. But this is also related to the support section. In the event of unavailability of warranty or post-warranty support, devices become zombies. The biggest problem from a security perspective is the zombie apocalypse, when unserviceable but functional devices become "undead". In other words, devices that are neither completely alive nor dead only create a security risk. These zombies, i.e. systems without any support or service, have the only solution in case of a problem. And that is to replace them with other components, i.e. devices with support. Typical examples of these zombie devices are old routers, access points, printers or other similar devices. But it can also be outdated systems, unsupported applications, the management of which creates additional costs. These devices or applications are still functional, but contain a large number of security errors. For a potential attacker, they are a godsend because they do not address current security threats or trends.


Impacts of life cycles

Why are life cycles important? They allow planning for equipment replacement and, to some extent, have the ability to describe the type of equipment involved. At the same time, it raises an interesting question whether the motivation to manage these life cycles is currently appropriate to the current situation. The rapid development of cybercrime brings threats that were not considered when these systems were designed. Inappropriate motivation for life cycle management thus brings increased costs for system architecture with the aim of protecting systems that are not even possible to protect. A reactive approach always lags behind the efforts of attackers. But what do the cycles actually look like in individual areas? How can they be divided?

AreaTechnical LifespanMoral LifespanSupportMotivation
IT: SMB, Enterprise, Datacenters5-10 years3-6 years3-10 yearsTCO - energy, licenses, power density
OT: Building, Industrial, Utility15-40 years10-25 years5-20 yearsAvailability and Safety
IoT: Consumer, Industrial5-15 years3-7 years2-5 yearsAcquisition cost, simplicity, time-to-market
Automotive15-25 years8-15 years8-15 yearsService costs, regulation and safety
Consumer electronics5-15 years3-8 years2-7 yearsAcquisition cost, user interface, moral lifespan
Banking and payment systems10-20 years8-15 years10-20 yearsCompliance, security, availability
Healthcare and medical devices10-25 years8-15 years10-25 yearsSafety, certification, validation
Embedded systems5-20 years5-15 years5-15 yearsStability, consumption, predictable states
Wearable electronics2-5 years2-4 years2-5 yearsSize, battery capacity, user interface
Cloud, SaaS infrastructureN/A1-5 yearsN/AScalability, OPEX, latency
Cybersecurity3-10 years2-5 years3-10 yearsSecurity, response time, costs
Aerospace10-30 years10-30 yearsN/AReliability, radiation resistance, availability
Telecommunications10-25 years5-10 years10-20 yearsCapacity, latency, standardization
Software
Operating systems2-5 years2-3 years2-10 yearsEcosystem, business model, user interface
Mobile applications1-3 years1-2 years1-3 yearsEcosystem, API, business model
Enterprise application1-10 years1-5 years2-10 yearsEcosystem, API, business model
SaaSN/AN/AN/AEcosystem, API, business model

Even from such a rough approximation, a simple outcome can be seen. Each application area has different life cycle models driven by different operational requirements, often based on completely different philosophical principles. Therefore, it is often precisely this view of systems that is at the core of problems and misunderstandings during implementation, problems with costs, security, and as a result can threaten human health and lives. It is not possible to expect requirements corresponding to current systems from systems that are one human generation old (about 30 years). It is also not possible to demand a radical replacement of systems that are installed in hundreds of thousands to millions and have a complex ecosystem linked to them as a solution to the problems. In some cases, such an approach is equivalent to economic suicide; the costs of rapid replacement would ruin the budget of even strong economies. Life cycles do not only concern hardware and software. There are also life cycles for information, users, processes. Or for key material and, of course, cryptography. However, the above-mentioned qualities and motivations are not entirely easy to translate into the areas mentioned.


The battle of armor and caliber

In the case of the sets of cryptology and cryptanalysis, I like to recall a similar battle in history. The battle of armor and caliber. Evolution proceeded quite simply here too. The stronger the armor, the heavier and faster the bullet had to be. If it was not faster, it had to be even heavier. In this battle, leaps appeared. Whether it was longer bullets (penetrators), subcaliber projectiles (penetrator and sabot), cumulative warheads (accelerating the flow of high-temperature and high-velocity exhaust gases in the terminal phase), explosively formed bullets, and currently the use of warheads attacking from another direction, where the armor is not as strong. Such a parallel is perhaps even more accurate than others, because it contains leaps, better technological changes in development.

There was also a development in cryptography and cryptanalysis. The gradual replacement of coding with encryption, the use of passwords, the use of mathematical procedures up to the present. These cycles are gradually accelerating, weaknesses in old algorithms or protocols are found, and these error-ridden components are subsequently replaced with other, more modern ones. Quantum computers bring threats that we are already familiar with to some extent. The ability to find the key and decrypt asymmetric (Shor) or symmetric (Grover) algorithms, or the search for collisions equivalent to the birthday attack (BHT algorithm as an acronym for Brassard-Høyer-Tapp). Currently, there is again a leap forward in technology. Fortunately, we already have other technologies capable of overcoming the advantage of quantum computers on the attacker's side. But such a situation leads to the question of what are the life cycles of cryptography? How can the technical and moral lifespan be described, what is the owner's motivation for change?


Cryptography attacks

Cryptologists work with several types of attacks. With the appropriate knowledge, these can be used as a signaling of the life cycle state. Unfortunately, without knowing the context, this information can be misleading.

  • A cryptographic attack is evidence of the weakness of an algorithm, which draws attention to possible problems. At the moment, the algorithm is still secure. This situation can be considered one of the signals of the beginning of the end of its moral lifespan. Unfortunately, this is a weak indication. An example of this is a subtle change in the security equivalent of an algorithm from 256 bits to 255.8 bits. A state actor is currently able to attack an algorithm with a security equivalent of 80b with all its might. But apparently no one is yet able to attack an algorithm with a security equivalent of 128b. Therefore, this type of attack has no practical impact and has no effect on the lifespan.
  • A theoretical attack describes a situation where we are theoretically2 able (an individual, an organization, or a state) to build a system that would attack such an algorithm. This situation can be considered a warning and a significantly stronger signal of the approaching end of moral lifespan.
  • A practical attack is a specific procedure that can break the algorithm. At this time, this is not a signal of the end of moral lifespan, but the end of the technical lifespan of the algorithm. An immediate replacement is needed.

Thanks to a practical attack with real costs, it is possible to define the end of technical lifespan. The algorithm can serve until such an attack occurs. Here it is necessary to be careful about the economic side of the problem, although in some cases economics goes to the side. However, moral lifespan has a much bigger problem with the definition. Fortunately, a simplification is possible here too, using standardization institutions as knowledge brokers. These institutions employ personnel who have the professional and technical knowledge needed to assess the properties of an algorithm. The end of moral viability therefore occurs when an algorithm ceases to be recommended, even though it is not broken.

The biggest problem in this case is also support. This is provided by both standardization institutions with their recommendations and implementations in libraries providing the calculations needed for cryptographic operations. If the standardization institution is considered decisive for the end of moral viability, it is possible to consider only software or hardware implementation for the end of support. In such a case, the end of support in libraries is equivalent to the end of support for algorithms. This analysis is not entirely without errors, but it allows for a basic orientation. But how to work with the motivations that drive exchanges within life cycles? What is driving these changes?

Abilities of individual actors to attack cryptography:

Number of operationsWho
<230Ordinary individuals (security equivalent < 30b required)
230-250Well-equipped individuals or small to medium-sized organizations (security equivalent 30b - 50b required)
250-270Large organizations (security equivalent 50b - 70b required)
270Government actors (required security equivalent 70b - 80b)

To be continued next time

The continuation of the life cycles will explain the motivations for cryptography management, the cryptography life cycle, and cryptographic debt. The last part will then address the measurement of cryptographic debt and the implications for managing and servicing this debt. This overview does not cover the life cycle of cryptographic material, nor the issue of migrating to quantum-resistant cryptography. These topics are covered in other articles.


References:

  1. Microsoft Product Lifecycle
    Resource:https://www.microsoft.com/
  2. Windows 10 Home and Pro Lifecycle
    Resource:https://www.microsoft.com/
  3. Red Hat Enterprise Linux Life Cycle
    Resource:https://redhat.com/
  4. Ubuntu Release Cycle
    Resource:https://ubuntu.com/
  5. International Energy Agency – Data Centres and Data Transmission Networks report
    Resource:https://www.iea.org/
  6. HP Enterprise Support Services
    Resource:https://www.hp.com/
  7. Dell End-of-Life Documents
    Resource:https://www.dell.com/
  8. Fujitsu Hardware Maintenance Services
    Resource:https://www.fujitsu.com/
  9. Fujitsu Maintenance Policy
    Resource:https://global.fujitsu/
  10. Lenovo Support Portal
    Resource:https://support.lenovo.com/
  11. ENISA – Good Practices for Security of IoT and Smart Infrastructures
    Resource:https://www.enisa.europa.eu/
  12. Consumer Reports – délka bezpečnostní podpory smart zařízení
    Resource:https://www.consumerreports.org/
  13. UNECE Vehicle Regulations – kyberbezpečnost a software update management vozidel
    Resource:https://unece.org/
  14. NASA – Thermal Design and Thermal Behaviour Reliability Principles
    Resource:https://www.nasa.gov/
  15. Our World in Data – Technological Progress and Computing Power Trends
    Resource:https://ourworldindata.org/
  16. NIST Cybersecurity Framework 2.0
    Resource:https://www.nist.gov/
  17. Key Management - NIST SP 800-57 a NIST SP 800-131
    Resource:https://www.nist.gov/
  18. NIST SP 800-61 Computer Security Incident Handling Guide
    Resource:https://www.nist.gov/
  19. NIST IR 8547 - Migration to Post-Quantum Cryptography
    Resource:https://www.nist.gov/
  20. Software-Defined Cryptography: A Design Feature of Cryptographic Agility
    Resource:https://eprint.iacr.org/
  21. RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile
    Resource:https://www.rfc-editor.org/
  22. CA Browser Forum - Baseline Requirements
    Resource:https://cabforum.org/
  23. OWASP SAMM stream B - Secret Management
    Resource:https://owaspsamm.org/
  24. NIST Post-Quantum Cryptography Project – standardizace postkvantové kryptografie
    Resource:https://csrc.nist.gov/
  25. AXELOS ITIL – framework pro IT service management a lifecycle služeb
    Resource:https://www.axelos.com/
  26. ISACA COBIT – governance framework pro enterprise IT
    Resource:https://www.isaca.org/
  27. ISO/IEC 27001 – standard systému řízení bezpečnosti informací (ISMS)
    Resource:https://www.iso.org/
  28. ISO 55001 – Asset Management Systems standard
    Resource:https://www.iso.org/
  29. ISO/IEC 15288 – Systems and Software Engineering Lifecycle Processes
    Resource:https://www.iso.org/

Autor článku:

Jan Dušátko
Jan Dušátko

Jan Dušátko has been working with computers and computer security for almost a quarter of a century. In the field of cryptography, he has cooperated with leading experts such as Vlastimil Klíma or Tomáš Rosa. Currently he works as a security consultant, his main focus is on topics related to cryptography, security, e-mail communication and Linux systems.

1. Introductory Provisions

1.1. These General Terms and Conditions are, unless otherwise agreed in writing in the contract, an integral part of all contracts relating to training organised or provided by the trainer, Jan Dušátko, IČ 434 797 66, DIČ 7208253041, with location Pod Harfou 938/58, Praha 9 (next as a „lector“).
1.2. The contracting parties in the general terms and conditions are meant to be the trainer and the ordering party, where the ordering party may also be the mediator of the contractual relationship.
1.3. Issues that are not regulated by these terms and conditions are dealt with according to the Czech Civil Code, i.e. Act No.89/2012 Coll.
1.4. All potential disputes will be resolved according to the law of the Czech Republic.

2. Creation of a contract by signing up for a course

2.1. Application means unilateral action of the client addressed to the trainer through a data box with identification euxesuf, e-mailu with address register@cryptosession.cz or register@cryptosession.info, internet pages cryptosession.cz, cryptosession.info or contact phone +420 602 427 840.
2.2. By submitting the application, the Client agrees with these General Terms and Conditions and declares that he has become acquainted with them.
2.3. The application is deemed to have been received at the time of confirmation (within 2 working days by default) by the trainer or intermediary. This confirmation is sent to the data box or to the contact e-mail.
2.4. The standard time for registration is no later than 14 working days before the educational event, unless otherwise stated. In the case of a natural non-business person, the order must be at least 28 working days before the educational event.
2.5. More than one participant can be registered for one application.
2.6. If there are more than 10 participants from one Client, it is possible to arrange for training at the place of residence of the intermediary or the Client.
2.7. Applications are received and processed in the order in which they have been received by the Provider. The Provider immediately informs the Client of all facts. These are the filling of capacity, too low number of participants, or any other serious reason, such as a lecturer's illness or force majeure. In this case, the Client will be offered a new term or participation in another educational event. In the event that the ordering party does not agree to move or participate in another educational event offered, the provider will refund the participation fee. The lack of participants is notified to the ordering party at least 14 days before the start of the planned term.
2.8. The contract between the provider and the ordering party arises by sending a confirmation from the provider to the ordering party.
2.9. The contract may be changed or cancelled only if the legal prerequisites are met and only in writing.

3. Termination of the contract by cancellation of the application

3.1. The application may be cancelled by the ordering party via e-mail or via a data mailbox.
3.2. The customer has the right to cancel his or her application for the course 14 days before the course takes place without any fees. If the period is shorter, the subsequent change takes place. In the interval of 7-13 days, an administrative fee of 10% is charged, cancellation of participation in a shorter interval than 7 days then a fee of 25%. In case of cancellation of the application or order by the customer, the possibility of the customer's participation in an alternative period without any additional fee is offered. The right to cancel the application expires with the implementation of the ordered training.
3.3. In case of cancellation of the application by the trainer, the ordering party is entitled to a full refund for the unrealized action.
3.4. The ordering party has the right to request an alternative date or an alternative training. In such case, the ordering party will be informed about all open courses. The alternative date cannot be enforced or enforced, it depends on the current availability of the course. If the alternative training is for a lower price, the ordering party will pay the difference. If the alternative training is for a lower price, the trainer will return the difference in the training prices to the ordering party.

4. Price and payment terms

4.1. By sending the application, the ordering party accepts the contract price (hereinafter referred to as the participation fee) indicated for the course.
4.2. In case of multiple participants registered with one application, a discount is possible.
4.3. The participation fee must be paid into the bank account of the company held with the company Komerční banka č. 78-7768770207/0100, IBAN:CZ5301000000787768770207, BIC:KOMBCZPPXXX. When making the payment, a variable symbol must be provided, which is indicated on the invoice sent to the client by the trainer.
4.4. The participation fee includes the provider's costs, including the training materials. The provider is a VAT payer.
4.5. The client is obliged to pay the participation fee within 14 working days of receipt of the invoice, unless otherwise stated by a separate contract.
4.6. If the person enrolled does not attend the training and no other agreement has been made, his or her absence is considered a cancellation application at an interval of less than 7 days, i.e. the trainer is entitled to a reward of 25% of the course price. The overpayment is returned within 14 days to the sender's payment account from which the funds were sent. Payment to another account number is not possible.
4.7. An invoice will be issued by the trainer no later than 5 working days from the beginning of the training, which will be sent by e-mail or data box as agreed.

5. Training conditions

5.1. The trainer is obliged to inform the client 14 days in advance of the location and time of the training, including the start and end dates of the daily programme.
5.2. If the client is not a student of the course, he is obliged to ensure the distribution of this information to the end participants. The trainer is not responsible for failure to comply with these terms and conditions.
5.2. By default, the training takes place from 9 a.m. to 5 p.m. at a predetermined location.
5.3. The trainer can be available from 8 a.m. to 9 a.m. and then from 17 a.m. to 6 p.m. for questions from the participants, according to the current terms and conditions.
5.4. At the end of the training, the certificate of absorption is handed over to the end users.
5.5. At the end of the training, the end users evaluate the trainer's approach and are asked to comment on the evaluation of his presentation, the manner of presentation and the significance of the information provided.

6. Complaints

6.1. If the participant is grossly dissatisfied with the course, the trainer is informed of this information.
6.2. The reasons for dissatisfaction are recorded in the minutes in two copies on the same day. One is handed over to the client and one is held by the trainer.
6.3. A statement on the complaint will be submitted by e-mail within two weeks. A solution will then be agreed within one week.
6.4. The customer's dissatisfaction may be a reason for discontinuing further cooperation, or financial compensation up to the price of the training, after deduction of costs.

7. Copyright of the provided materials

7.1. The training materials provided by the trainer in the course of the training meet the characteristics of a copyrighted work in accordance with Czech Act No 121/2000 Coll.
7.2. None of the training materials or any part thereof may be further processed, reproduced, distributed or used for further presentations or training in any way without the prior written consent of the trainer.

8. Liability

8.1. The trainer does not assume responsibility for any shortcomings in the services of any third party that he uses in the training.
8.2. The trainer does not assume responsibility for injuries, damages and losses incurred by the participants in the training events or caused by the participants. Such costs, caused by the above circumstances, shall be borne exclusively by the participant in the training event.

9. Validity of the Terms

9.1 These General Terms and Conditions shall be valid and effective from 1 October 2024.

Consent to the collection and processing of personal data

According to Regulation (EU) No 2016/679 of the European Parliament and of the Council on the protection of individuals with regard to the processing of personal data and on the free movement of such data and repealing Directive 95/46/EC (General Data Protection Regulation, hereinafter referred to as "the Regulation"), the processor xxx (hereinafter referred to as "the Controller") processes personal data. Individual personal data that are part of the processing during specific activities at this web presentation and in the course of trade are also broken down.
Although the collection of data is ubiquitous, the operation of this website is based on the right to privacy of each user. For this reason, the collection of information about users takes place to the extent absolutely necessary and only if the user decides to contact the operator. We consider any further collection and processing of data unethical.

Information about the records of access to the web presentation

This website does not collect any cookies. The site does not use any analytical scripts of third parties (social networks, cloud providers). For these reasons, an option is also offered for displaying the map in the form of a link, where the primary source is OpenStreet and alternatives then the frequently used Maps of Seznam, a.s., or Google Maps of Google LLC Inc. The use of any of these sources is entirely at the discretion of the users of this site. The administrator is not responsible for the collection of data carried out by these companies, does not provide them with data about users and does not cooperate on the collection of data.
Logging of access takes place only at the system level, the reason being the identification of any technical or security problems. Other reasons are overview access statistics. No specific data is collected or monitored in this area and all access records are deleted after three months.

Information about contacting the operator of the site

The form for contacting the operator of the site (administrator) contains the following personal data: name, surname, e-mail. These data are intended only for this communication, corresponding to the address of the user and are kept for the time necessary to fulfil the purpose, up to a maximum of one year, unless the user determines otherwise.

Information about the order form

In case of an interest in the order form, the form contains more data, i.e. name, surname, e-mail and contact details for the organisation. These data are intended only for this communication, corresponding to the address of the user and are kept for one year, unless the user determines otherwise. In the event that a business relationship is concluded on the basis of this order, only the information required by Czech law on the basis of business relations (company name and address, bank account number, type of course and its price) will continue to be kept by the administrator.

Information about the course completion document

Within the course, a course completion document is issued by the processor. This document contains the following data: student's name and surname, the name and date of the course completion and the employer's name. The information is subsequently used for the creation of a linear hash tree (non-modifiable record). This database contains only information about the provided names and company names, which may or may not correspond to reality and is maintained by the processor for possible re-issuance or verification of the document's issuance.

Rights of the personal data subject

The customer or visitor of this website has the possibility to request information about the processing of personal data, the right to request access to personal data, or the right to request the correction or deletion of any data held about him. In the case of deletion, this requirement cannot be fulfilled only if it is not data strictly necessary in the course of business. The customer or visitor of this website also has the right to obtain explanations regarding the processing of his personal data if he finds out or believes that the processing is carried out in violation of the protection of his private and personal life or in violation of applicable legislation, and the right to request removal of the resulting situation and to ensure the correction.
Furthermore, the customer/visitor of this website may request restriction of processing or object to the processing of personal data and has the right to withdraw his/her consent to the processing of personal data at any time in writing, without prejudice to the lawfulness of their processing prior to such withdrawal. For this purpose, the contact e-mail address support@cryptosession.cz is used.
The customer/visitor has the right to file a complaint against the processing of personal data with the supervisory authority, which is the Office for Personal Data Protection.