What to do with a vulnerable civic eid? Recommendations – Update 1
![]()
Source: DSL.sk, dated 18/10/2017
The state finally announces what steps it will take to solve the problem of vulnerable civil eIDs.
In the current article, we bring readers recommendations on how to deal with vulnerable Slovak electronic citizen eIDs according to the information available so far.
Problem
As dsl.sk, based on the research of a team of scientists from Masaryk University in Brno, pointed out that due to the vulnerable Infineon cryptographic chip, all RSA keys and certificates present on Slovak eIDs are vulnerable.
2048-bit RSA keys are used.
However, due to the vulnerability of the library on the chip, they have a specific structure that makes it possible to calculate the private key from the public RSA key quite effectively.
The problem concerns all three so-called certificates. Qualified ACA Signature Certificate, Certificate for Normal Signing of PCA and SCA Encryption Certificate.
According to experts, the calculation can be carried out with the necessary computing power in the worst case of 140 years on one core of 3 GHz Xeon, while the calculation can be parallelized and thus significantly accelerated by calculation to many CPUs at once.
The costs of such a calculation today amount to approximately 34,000 euros in the worst case, and in the average case 17 thousand euros.
According to Dušan Klinc from the team of experts, the key will be found in a completely deterministic and therefore 100% certainty.
Verification of key vulnerability in the certificate for KEP on the Slovak eID, click to enlarge (Image: team of vulnerability discoverers)
As we already reported in the first article, due to the costs, the experts did not perform the calculation for the real 2048-bit key.
They did, but the calculations for 512-bit and synthetic 2048-bit so that the calculation takes a reasonable time and advises that the length of the key has no effect on the method itself..
Of course, their findings were verified by the manufacturer Infineon, which itself vulnerability announced and repairs, for example, computer manufacturers integrating Infineon chips, and the work of experts was accepted for the prestigious ACM CCS conference, where it will be presented at the turn of October and November 2017.
After the details are published, any experts will be able to verify their findings, but at the same time, a relatively large number of people on the planet will be able to perform the calculation of private keys with the necessary computing power.
Although the findings of experts cannot yet be verified independently by any expert, based on the available information, these findings must be considered as apparently valid, and large customers had ways to verify them more thoroughly even before the information was published.
About the problem So far they have reported in of this series of articles DSL.sk.
{Googleads Left}
Risks
The problem immediately brings one serious risk, when it is possible to find out the private key from the public ACA key of the citizen for a qualified signature with the necessary costs and then falsify his qualified electronic signature at will.
He has, but Weight of handwritten signature.
An attacker can obtain a public key in various ways when it is not classified information and, for example, is found in every document that a citizen has ever signed.
A potential attacker can use this, for example, to sign any disadvantageous contracts on behalf of the victim and for anything where falsifying the signature of the target person can benefit him.
For some citizens, of course, such a risk of falsification of their signatures for 17 to 34 thousand euros may not be a serious problem, undoubtedly, but there is a large group of people for whom this means a risk that they must consider.
How PCA and SCA certificates are used today, how to get access to their public keys and what could be achieved through their misuse is not clear.
the state and its steps
Unfortunately, the state did not proactively alert citizens to this risk, although it has known about it since the end of June.
He didn’t even do so on October 16, 2017, when information about the existence of vulnerability was published.
The state or the Ministry of the Interior, under which the EIDs fall, was not specifically able to answer the questions of the DSL.sk server, which drew attention to the problem and was evidently the first to ask it, on Monday..
Moreover, yesterday the problem was unreasonably unacceptably lightened, characterized incorrectly, and even made false claims.
Today (October 18, 2017) insufficient communication continued and instead of a responsible approach to security towards citizens, they were still introduced at the press conference today..
It was only yesterday that early evening indicated and today named the specific steps it plans to take.
We are finding out when these steps should have been decided, the ministry has not yet answered the question.
Specifically, the state on eID will begin Instead of 2048-bit use 3072-bit RSA keys.
According to today’s information, this will happen in about five weeks.
{Googleads Left}
UPDATE 1: As can be seen from the opinion of the NBU for DSL.sk, the selected 3072-bit keys are a smarter and better solution than switching to 4096-bit.
The mentioned vulnerability also applies to 4096-bits, although due to their length, a practical calculation is not possible.
3072-bit keys are not generated by a vulnerable algorithm and therefore, at least according to current knowledge, they are not vulnerable.
The Ministry did not state this important security reason in its opinion for DSL.sk and states a completely different reason, for which 3072 and not 4096-bit keys were chosen.
“It is a recommendation of the supplier of the eID solution, the main factor was the assessment of time-consuming keys in the generation of keys when issuing the OP,” said.
According to representatives of the Ministry of the Interior, the certificates can be exchanged for new safer ones even remotely, using software.
A police visit will not be necessary.
UPDATE 1: NBU talks about remote exchange only with ECC certificates, whether this will mean the need for a police visit when switching to 3072-bit RSA.
He probably doesn’t talk about the mandatory exchange of certificates specifically yet and he certainly won’t replace the eID, which is not even necessary after all.
In the future, he announces the use of another asymmetrical algorithm that has not specified.
Since the chip used supports ECC, it will obviously be an ECC.
When will this happen, the ministry has not yet answered DSL.sk.
UPDATE 1: Other certificates will be ECC, i.e. with the ECDSA algorithm.
According to the ministry, they will arrive within six months, according to the NBU in January 2018.
Recommendations
If information about the vulnerability was not yet published in the last days, when information about the vulnerability was published, persons capable of misuse it are not yet technically aware of it, today they already know about it, from the available information and previous research of the Czech-Slovak team, it is possible to estimate well enough and other persons could start looking for it..
After the publication of complete information in less than two weeks, the calculation of the private key will be able to supplement many experts, including probably several people in Slovakia.
Based on the above information, unless there is an improbable and unpredictable reversal, it will simply be objectively responsible to invalidate all existing certificates and switch to more secure.
The probability that someone will attack an ordinary citizen in the next five weeks until the promised access of security certificates is probably not high.
But it cannot be ruled out.
After making them available, it will be a clear recommendation for absolutely all citizens to Immediately invalidate the existing certificates and replace them with new ones.
Of course, it is up to the specific citizen how he evaluates the existing risk for the period until the new safer certificates are made available and the discomfort that will cause the certificates to be invalidated.
After the ACA certificate for KEP is invalidated, the citizen will lose the opportunity to perform a qualified signature using eID and thus the possibility to use, among other things, services requiring such a signature.
The misuse of this certificate is, but on the other hand, clear, and this is precisely the certificate, the invalidation of which citizens should consider first.
Where the remaining PCA and SCA certificates are used is not clear.
We asked the ministry what services citizens would come by invalidating them, it has not yet responded.
EID registration itself will be functional, according to the ministry.
Certificates can be invalidated by the police or electronically at pages of the ministry.
At least yesterday, the service did not work, although the infoline told us that it was working.
We asked the ministry why, it hasn’t answered yet.
UPDATE 1: The service still doesn’t work today. “The outage of part of the service is related to a technical problem in the communication infrastructure. In a short time, probably already today, the service will be fully functional,” the ministry said in a statement for DSL.sk.
We also asked the ministry in a practical question whether if a citizen now cancels his certificates, he will receive another free of charge.
It hasn’t answered yet.
{Googleads Left}
UPDATE 1: New safer certificates will be given to the citizen for free if he now invalidates them.
It is certainly not possible to give a recommendation to any citizen not to invalidate his certificates.
Overall, if the invalidation does not represent a great discomfort for the citizen, a suitable preventive solution may be to invalidate the certificates.
If he does not need a qualified signature for a period of five weeks, a suitable solution is to cancel the ACA certificate for KEP.
So if he trusts the ministry about the date by which new safer certificates will be available.
UPDATE 1: The ministry moved the deadline by a week in just a few hours.
While there were still four to five weeks at the press conference before lunch, he is already talking about five to six weeks in the opinion for DSL.sk.
When this schedule was set we find out.
On the other hand, certificates for KEP can also be obtained on other cards from several certification authorities, and those who absolutely need it can cancel the eID certificate and get another, even if paid,.
For PCA and SCA certificates, it may be appropriate to wait for the Ministry’s information on the impact of their invalidation, if it provides.
Source: DSL.sk, from 18.10.2017












