Improving security of lightweith SHA-3 against preimage attacks
Abstract
In this article we describe the SHA-3 algorithm and its internal permutation in which potential weaknesses are hidden. The hash algorithm can be used for different purposes, such as pseudo-random bit sequences generator, key wrapping or one pass authentication, especially in weak devices (WSN, IoT, etc.). Analysis of the function showed that successful preimage attacks are possible for low round hashes, protection from which only works with increasing the number of rounds inside the function. When the hash function is used for building lightweight applications, it is necessary to apply a small number of rounds, which requires additional security measures. This article proposes a variant improved hash function protecting against preimage attacks, which occur on SHA-3. We suggest using an additional external randomness sources obtained from a lightweight PRNG or from application of the source data permutation.References
Bertoni, G., Daemen, J., Peeters, M., Van Assche, G.: Keccak sponge function family main document, http: //keccak.noekeon.org/Keccak-main-2.1.pdf.
FIPS 202, SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions, csrc.nist.gov/publications/drafts/fips-202/fips_202_draft.pdf.
Najjar M., Stokłosa J., The nonlinearity of homogenous Boolean functions and the design of strong cryptographic algorithms. Burakowski W., Wieczorek A. (eds.), Regional Conference on Military Communication and Information Systems. Zegrze 1999, Vol. 2, 71–76.
Chengxin Qu, Seberry J., Pieprzyk J., Homogenous bent functions (preprint), University of Wollongong, NSW, Australia 1998.G. Eason, B. Noble, and I.N. Sneddon, “On certain integrals of Lipschitz-Hankel type involving products of Bessel functions,” Phil. Trans. Roy. Soc. London, vol. A247, pp. 529-551, April 1955. (references)
Bertoni G., Daemen J., Peeters M., and Assche G., Sponge-based pseudo-random number generators, CHES 2010: Cryptographic Hardware and Embedded Systems, CHES 2010 p.33-47.
Borowski M., Gliwa R., Rozwój algorytmów uwierzytelnionego szyfrowania, www.wil.waw.pl/art_prac/2014/PTiWT_8-9_14_3.pdf.
https://en.bitcoin.it/wiki/Hashcash
Dinur I., Security Evaluation of SHA-3, https://www.cryptrec.go.jp/estimation/techrep_id2402.pdf.
Dinur I., P Morawiecki P., J Pieprzyk J., Srebrny M., Straus M., Cube Attacks and Cube-attack-like Cryptanalysis on the Round-reduced Keccak Sponge Function, https://eprint.iacr.org/2014/736.
Morawiecki P., Malicious Keccak, https://eprint.iacr.org/2015/1085.
Morawiecki P., Pieprzyk J., Srebrny M., and Straus M.: Preimage attacks on the round-reduced Keccak with the aid of differential cryptanalysis, https://eprint.iacr.org/2013/561.
Dinur I., Morawiecki P., J Pieprzyk J., Srebrny M., Straus M., Practical Complexity Cube Attacks on Round-Reduced Keccak Sponge Function, https://eprint.iacr.org/2014/259.pdf
Morawiecki P., Pieprzyk J and Srebrny M. Rotational cryptanalysis of round-reduced Keccak. IACR Cryptology ePrint Archive, 20 12, pp. 546-562.
Chang D. , Kumar A., Morawiecki P., Sanadhya S., 1st and 2nd Preimage Attacks on 7, 8 and 9 Rounds of Keccak-224,256,384,512, http://csrc.nist.gov/groups/ST/hash/sha-3/Aug2014/documents/chang_paper_sha3_2014_workshop.pdf.
Najjar M., Stokłosa J., Petra-2 cryptographic hash function, NATO Regional Conference on Military Communications and Information Systems 2001, Zegrze, 2001, vol. I, 317–320.
Lathrop J., Cube Attacks on Cryptographic Hash Functions, http://scholarworks.rit.edu/cgi/viewcontent.cgi?article=1653&context=theses.
Sekar G., Bhattacharya S., Practical (Second) Preimage Attacks on TCS SHA-3, https://eprint.iacr.org/2013/150.pdf.
NIST SP 800-22rev1a, A Statistical Test Suite for the Validation of Random Number Generators and Pseudo Random Number Generators for Cryptographic Applications, April 27, 2010.
https://csrc.nist.gov/projects/hash-functions/sha-3-project
Dinur I., and Shami A, Cube Attacks on Tweakable Black Box Polynomials, https://eprint.iacr.org/2008/385.pdf
Borowski M., Cryptographic Applications of the Duplex Construction, https://journals.umcs.pl/ai/article/download/3389/2583.
Sekar G., Bhattacharya S., Practical (Second) Preimage Attacks on TCS SHA-3, https://eprint.iacr.org/2013/150.pdf.
Downloads
Published
Issue
Section
License
Copyright (c) 2018 International Journal of Electronics and Telecommunications
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
1. License
The non-commercial use of the article will be governed by the Creative Commons Attribution license as currently displayed on https://creativecommons.org/licenses/by/4.0/.
2. Author’s Warranties
The author warrants that the article is original, written by stated author/s, has not been published before, contains no unlawful statements, does not infringe the rights of others, is subject to copyright that is vested exclusively in the author and free of any third party rights, and that any necessary written permissions to quote from other sources have been obtained by the author/s. The undersigned also warrants that the manuscript (or its essential substance) has not been published other than as an abstract or doctorate thesis and has not been submitted for consideration elsewhere, for print, electronic or digital publication.
3. User Rights
Under the Creative Commons Attribution license, the author(s) and users are free to share (copy, distribute and transmit the contribution) under the following conditions: 1. they must attribute the contribution in the manner specified by the author or licensor, 2. they may alter, transform, or build upon this work, 3. they may use this contribution for commercial purposes.
4. Rights of Authors
Authors retain the following rights:
- copyright, and other proprietary rights relating to the article, such as patent rights,
- the right to use the substance of the article in own future works, including lectures and books,
- the right to reproduce the article for own purposes, provided the copies are not offered for sale,
- the right to self-archive the article
- the right to supervision over the integrity of the content of the work and its fair use.
5. Co-Authorship
If the article was prepared jointly with other authors, the signatory of this form warrants that he/she has been authorized by all co-authors to sign this agreement on their behalf, and agrees to inform his/her co-authors of the terms of this agreement.
6. Termination
This agreement can be terminated by the author or the Journal Owner upon two months’ notice where the other party has materially breached this agreement and failed to remedy such breach within a month of being given the terminating party’s notice requesting such breach to be remedied. No breach or violation of this agreement will cause this agreement or any license granted in it to terminate automatically or affect the definition of the Journal Owner. The author and the Journal Owner may agree to terminate this agreement at any time. This agreement or any license granted in it cannot be terminated otherwise than in accordance with this section 6. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.
7. Royalties
This agreement entitles the author to no royalties or other fees. To such extent as legally permissible, the author waives his or her right to collect royalties relative to the article in respect of any use of the article by the Journal Owner or its sublicensee.
8. Miscellaneous
The Journal Owner will publish the article (or have it published) in the Journal if the article’s editorial process is successfully completed and the Journal Owner or its sublicensee has become obligated to have the article published. Where such obligation depends on the payment of a fee, it shall not be deemed to exist until such time as that fee is paid. The Journal Owner may conform the article to a style of punctuation, spelling, capitalization and usage that it deems appropriate. The Journal Owner will be allowed to sublicense the rights that are licensed to it under this agreement. This agreement will be governed by the laws of Poland.
By signing this License, Author(s) warrant(s) that they have the full power to enter into this agreement. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.