Skip to main content

Automated Key Recovery Attacks on Round-Reduced Orthros

  • Conference paper
  • First Online:
Progress in Cryptology - AFRICACRYPT 2022 (AFRICACRYPT 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13503))

Included in the following conference series:

Abstract

Orthros is a low-latency keyed pseudo-random function designed by Banik et al. in FSE 2022. It adopts the parallel structure composed of two keyed permutations. Both branches take the same 128-bit input and their outputs are XORed to generate the final 128-bit output. Benefiting from this special structure, it’s security is hard to evaluate, especially for key recovery attacks. In its specification, the most effective distinguisher proposed is a 7-round integral one. However, it can only lead to key recovery attacks worse than exhaustive attack. Besides, there is no key recovery attack presented in the design document. Therefore, we are motivated to see whether a valid key recovery attack exists and how powerful it can be. In this paper, we aim to proceed differential and differential-linear key recovery attacks on Orthros. To deal with the special structure, we introduce two automated key recovery attack frameworks that work for such two-branch ciphers. With the help of them, we finally got a 7-round differential-linear key recovery attack and a 6-round differential one. Both attacks are the first key recovery attacks on this cipher. However, they are so far from threatening its full-round security.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    We gave a more detailed explanation on such integral attacks in Appendix A.

  2. 2.

    https://stp.github.io/.

  3. 3.

    STP supports two kinds of input languages, here we use the CVC language to describe our model. For more information, please refer to https://stp.readthedocs.io/en/latest/cvc-input-language.html.

  4. 4.

    That is what we mean by 0.5 round.

References

  1. FIPS 46-3: Data encryption standard. National Institute of Standards and Technology (1977). https://csrc.nist.gov/csrc/media/publications/fips/46/3/archive/1999-10-25/documents/fips46-3.pdf

  2. Banik, S., Isobe, T., Liu, F., Minematsu, K., Sakamoto, K.: Orthros: a low-latency PRF. IACR Trans. Symmetric Cryptol. 2021(1), 37–77 (2021). https://doi.org/10.46586/tosc.v2021.i1.37-77

  3. Banik, S., Pandey, S.K., Peyrin, T., Sasaki, Y., Sim, S.M., Todo, Y.: GIFT: a small present. In: Fischer, W., Homma, N. (eds.) CHES 2017. LNCS, vol. 10529, pp. 321–345. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-66787-4_16

    Chapter  Google Scholar 

  4. Bar-On, A., Dunkelman, O., Keller, N., Weizman, A.: DLCT: a new tool for differential-linear cryptanalysis. In: Ishai, Y., Rijmen, V. (eds.) EUROCRYPT 2019. LNCS, vol. 11476, pp. 313–342. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-17653-2_11

    Chapter  Google Scholar 

  5. Barrett, C.W., Sebastiani, R., Seshia, S.A., Tinelli, C.: Satisfiability modulo theories. In: Biere, A., Heule, M., van Maaren, H., Walsh, T. (eds.) Handbook of Satisfiability, Frontiers in Artificial Intelligence and Applications, vol. 185, pp. 825–885. IOS Press (2009). https://doi.org/10.3233/978-1-58603-929-5-825

  6. Biham, E., Shamir, A.: Differential cryptanalysis of DES-like cryptosystems. In: Menezes, A.J., Vanstone, S.A. (eds.) CRYPTO 1990. LNCS, vol. 537, pp. 2–21. Springer, Heidelberg (1991). https://doi.org/10.1007/3-540-38424-3_1

    Chapter  Google Scholar 

  7. Biham, E., Shamir, A.: Differential cryptanalysis of DES-like cryptosystems. J. Cryptol. 4(1), 3–72 (1991). https://doi.org/10.1007/BF00630563

    Article  MathSciNet  MATH  Google Scholar 

  8. Chen, Q., Shi, D., Sun, S., Hu, L.: Automatic Demirci-Selçuk meet-in-the-middle attack on SKINNY with key-bridging. In: Zhou, J., Luo, X., Shen, Q., Xu, Z. (eds.) ICICS 2019. LNCS, vol. 11999, pp. 233–247. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-41579-2_14

    Chapter  Google Scholar 

  9. Cook, S.A.: The complexity of theorem-proving procedures. In: Harrison, M.A., Banerji, R.B., Ullman, J.D. (eds.) Proceedings of the 3rd Annual ACM Symposium on Theory of Computing, Shaker Heights, Ohio, USA, 3–5 May 1971, pp. 151–158. ACM (1971). http://doi.acm.org/10.1145/800157.805047

  10. Cui, J., Hu, K., Wang, Q., Wang, M.: Integral attacks on Pyjamask-96 and round-reduced Pyjamask-128. In: Galbraith, S.D. (ed.) CT-RSA 2022. LNCS, vol. 13161, pp. 223–246. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-95312-6_10

    Chapter  Google Scholar 

  11. Derbez, P., Fouque, P.-A.: Automatic search of meet-in-the-middle and impossible differential attacks. In: Robshaw, M., Katz, J. (eds.) CRYPTO 2016. LNCS, vol. 9815, pp. 157–184. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-53008-5_6

    Chapter  MATH  Google Scholar 

  12. Dobbertin, H., Bosselaers, A., Preneel, B.: RIPEMD-160: a strengthened version of RIPEMD. In: Gollmann, D. (ed.) FSE 1996. LNCS, vol. 1039, pp. 71–82. Springer, Heidelberg (1996). https://doi.org/10.1007/3-540-60865-6_44

    Chapter  Google Scholar 

  13. Dong, X., Qin, L., Sun, S., Wang, X.: Key guessing strategies for linear key-schedule algorithms in rectangle attacks. IACR Cryptology ePrint Archive, p. 856 (2021). https://eprint.iacr.org/2021/856

  14. Gauravaram, P., et al.: Grøstl - a SHA-3 candidate. In: Handschuh, H., Lucks, S., Preneel, B., Rogaway, P. (eds.) Symmetric Cryptography, 11.01. - 16 January 2009. Dagstuhl Seminar Proceedings, vol. 09031. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, Germany (2009). http://drops.dagstuhl.de/opus/volltexte/2009/1955/

  15. Langford, S.K., Hellman, M.E.: Differential-linear cryptanalysis. In: Desmedt, Y.G. (ed.) CRYPTO 1994. LNCS, vol. 839, pp. 17–25. Springer, Heidelberg (1994). https://doi.org/10.1007/3-540-48658-5_3

    Chapter  Google Scholar 

  16. Matsui, M.: Linear cryptanalysis method for DES cipher. In: Helleseth, T. (ed.) EUROCRYPT 1993. LNCS, vol. 765, pp. 386–397. Springer, Heidelberg (1994). https://doi.org/10.1007/3-540-48285-7_33

    Chapter  Google Scholar 

  17. Mouha, N., Preneel, B.: Towards finding optimal differential characteristics for ARX: application to Salsa20. Cryptology ePrint Archive, Report 2013/328 (2013). https://eprint.iacr.org/2013/328

  18. Qin, L., Dong, X., Wang, X., Jia, K., Liu, Y.: Automated search oriented to key recovery on ciphers with linear key schedule applications to boomerangs in SKINNY and ForkSkinny. IACR Trans. Symmetric Cryptol. 2021(2), 249–291 (2021). https://doi.org/10.46586/tosc.v2021.i2.249-291

  19. Shi, D., Sun, S., Derbez, P., Todo, Y., Sun, B., Hu, L.: Programming the Demirci-Selçuk meet-in-the-middle attack with constraints. In: Peyrin, T., Galbraith, S. (eds.) ASIACRYPT 2018. LNCS, vol. 11273, pp. 3–34. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03329-3_1

    Chapter  Google Scholar 

  20. Todo, Y.: Structural evaluation by generalized integral property. In: Oswald, E., Fischlin, M. (eds.) EUROCRYPT 2015. LNCS, vol. 9056, pp. 287–314. Springer, Heidelberg (2015). https://doi.org/10.1007/978-3-662-46800-5_12

    Chapter  Google Scholar 

  21. Todo, Y., Morii, M.: Bit-based division property and application to Simon family. In: Peyrin, T. (ed.) FSE 2016. LNCS, vol. 9783, pp. 357–377. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-52993-5_18

    Chapter  Google Scholar 

  22. Zong, R., Dong, X., Chen, H., Luo, Y., Wang, S., Li, Z.: Towards key-recovery-attack friendly distinguishers: application to GIFT-128. IACR Trans. Symmetric Cryptol. 2021(1), 156–184 (2021). https://doi.org/10.46586/tosc.v2021.i1.156-184

Download references

Acknowledgments

The authors would like to thank the anonymous reviewers for their valuable comments and suggestions to improve the quality of the paper. The research leading to these results has received funding from the National Natural Science Foundation of China (Grant No. 62032014, Grant No. 62002201, Grant No. 62002204), the National Key Research and Development Program of China (Grant No. 2018YFA0704702, Grant No. 2021YFA1000600), the Major Basic Research Project of Natural Science Foundation of Shandong Province, China (Grant No. ZR202010220025), and the Program of Qilu Young Scholars (Grant No. 61580082063088) of Shandong University.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Meiqin Wang .

Editor information

Editors and Affiliations

Appendices

A Integral Key Recovery Attacks on Orthros

In this section, we show that there is no integral key recovery attacks can be mounted for more than 6 rounds with complexities better than the exhaustive attack. Hence, our proposed 7-round differential-linear attack is the best key recovery one.

The 7-round integral distinguishers given in the design document [2] have 127 active bits in the input. One of them can make all output bits after 7 rounds balanced when the 0-th bit is constant and the remaining 127 bits take all possible \(2^{127}\) values. As pointed out by designers, these 7-round distinguishers cannot be used to mount key recovery attacks on 8-round Orthros. When adding one round after the distinguisher, one has to guess one of the branch outputs in order to reverse the ciphertext. In this case, it costs more than the exhaustive attack. If we try to prepend one round before it, we have to traverse all \(2^{128}\) inputs which is also not better than the exhaustive attack.

Another way is proceeding a 7-round attack based on a 6.5-round distinguisher. The first round of this distinguisher contains all operations except for the Sbox layerFootnote 4, while the others are composed of all operations. By adding the Sbox layer and the whitening key addition operation before such distinguisher, we try to mount a 7-round attack. To find the distinguisher in each branch, we constructed an automatic searching algorithm following the way introduced in [10]. As a result, we found several 6.5-round distinguishers which hold for both branches. Among these distinguishers, the best ones have 5 bits fixed and take all possible values on the other 123 bits. These five bits cover a full output of a Sbox \(S_1\) (4-bit) and one bit of the output of another Sbox \(S_2\).

Without loss of generality, assuming that \(S_1\) is the i-th Sbox while \(S_2\) is the j-th Sbox. In this case, we have to traverse all inputs of the added Sbox layer except for the i-th Sbox to check whether the distinguisher holds. Meanwhile, to get these 124-bit input to the Sbox layer in Branch1, the 4-bit whitening key \(WK^1[j]\) should be guessed, where \(WK^1[j]\) denotes the j-th nibble of \(WK^1\). As for Branch2, another 4-bit whitening key \(WK^2[j]\) also needs to be guessed. According to bit permutations utilized in the key schedule of Orthros, there is at most one common bit in \(WK^1[j]\) and \(WK^2[j]\). Hence, we have to guess 7 master key bits for each input. Recall that we need to traverse \(2^{124}\) inputs. Therefore, such an attack costs \(2^{124}\cdot 2^{7}=2^{131}\) full-round encryptions of Orthros, which is worse than the exhaustive attack which needs \(2^{128}\) full-round encryptions.

B Differential-Like Attacks Considering Two Rounds Prepended

Since the active pattern of plaintexts affects the data complexity of key recovery attack, we wonder how many bits will be activated from randomly chosen input differences. The relation between the active pattern and input differences can be deduced with active pattern propagation properties of each operation. To find the minimal number of activated bits, we construct this deducing procedure into several equations following Property 610 and solve them with the automatic searching tool STP. Note that we don’t make any restriction on these two input differences. As a result, we obtain that at least 22 nibbles (i.e. 88 bits) will be activated when two rounds are prepended.

Fig. 5.
figure 5

Key recovery attack on Orthros considering two rounds

Key recovery attack framework in this case is illustrated in Fig. 5. In this attack, the best way we can do to construct plaintext pairs is following the strategy utilized in Algorithm 1. For each structure, we choose \(2^{88}\) plaintexts M which takes all possible values in these 88 activated bits while fixed in others. For each plaintext M, we encrypt it under \(2^{88}\) guessed values of \(WK^1\). After applying the first Sbox layer, one can obtain 88-bit \(Y^1\). Then one can achieve \((Y^{1})'=Y^1\oplus \alpha ^1\), where \(\alpha ^1\) is deduced from \(\varDelta ^1\) and takes more than one possible value. With the 88-bit \((Y^{1})'\), one can obtain \(M'\) by applying the inverse of Sbox layer.

Note that the above procedure has already cost at least \(T=2^{88}\cdot 2^{88}\cdot \frac{22}{32}\approx 2^{175.46}\) times of proceeding the Sbox layer. Assuming that the proceeding cost of Sbox layer equals to \(\frac{1}{2}\) one-round encryption and we’re mounting attacks on an R-round Orthros, this procedure costs \(T\cdot \frac{1}{2}\cdot \frac{1}{R}\ge T\cdot \frac{1}{2}\cdot \frac{1}{12}\approx 2^{170.87}\) full-round encryptions. This costs much worse than the exhaustive attack where time complexity is \(2^{128}\) full-round encryptions.

C Permutations Adopted in Orthros

Bit and nibble permutations used in the round function of Orthros are shown in Table 5 and 6, while Table 7 describes bit permutations utilized in key schedules.

Table 5. Bit permutations \(P_{br1}\) and \(P_{br2}\) adopted in Orthros [2]
Table 6. Nibble permutations \(P_{nr1}\) and \(P_{nr2}\) adopted in Orthros [2]
Table 7. Bit permutations \(P_{bk1}\) and \(P_{bk2}\) adopted in Orthros [2]

D DDT, LAT and DLCT for the Sbox of Orthros

We illustrate DDT, LAT and DLCT for its Sbox in Table 8, 9 and 10, respectively.

Table 8. Differential distribution table \(DDT(\varDelta _{in},\varDelta _{out})\)
Table 9. Linear approximation table \(LAT(\varGamma _{in},\varGamma _{out})\)
Table 10. Differential-linear connectivity table \(DLCT(\varDelta _{in},\varGamma _{out})\)

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, M., Sun, L., Wang, M. (2022). Automated Key Recovery Attacks on Round-Reduced Orthros. In: Batina, L., Daemen, J. (eds) Progress in Cryptology - AFRICACRYPT 2022. AFRICACRYPT 2022. Lecture Notes in Computer Science, vol 13503. Springer, Cham. https://doi.org/10.1007/978-3-031-17433-9_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-17433-9_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-17432-2

  • Online ISBN: 978-3-031-17433-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics