Abstract
Recently, a color image encryption algorithm is suggested by Lakshmanan et al. in [IEEE Transactions on Neural Networks and Learning Systems 2016, doi: 10.1109/TNNLS.2016.2619345]. In encryption algorithm, a piece-wise linear chaotic map is adopted to create a permutation matrix to perform shuffling of pixels of plain-image. The encryption of shuffled image is proceeded by extracting keystreams from chaotic inertial delayed neural network. This paper evaluates the security of encryption algorithm to unveil its inherent defects and proposes to present a complete cryptanalysis. To demonstrate the break of algorithm, we apply proposed chosen-plaintext attack that successfully recovers the exact plain-image from encrypted image without secret key. The proposed cryptanalysis shows that the encryption algorithm is inapt to realize a secure communication, the security claims by authors are not valid as the algorithm has serious security flaws and susceptible to proposed attack.
Keywords
Introduction
Drastic growth of Information technology led to imminent creation of huge amount of image data. Development of contemporary image cryptosystems became crucial as a result of increasing needs for better security relevant to applications in different fields like network communications, business, defense mechanisms, etc. Image data carry certain innate features viz. substantial correlation among image pixels and their considerably huge size [1]. The repercussions of such above reasons led to the need of appropriate encryption algorithms so as to realize quality encryption strength. In order to meet the Shannon requirements [2], an appropriate encryption scheme is characterized by confusion and diffusion, along with substantial pseudo-randomness. As a result, the encrypted image gets substantially uncorrelated to plain-image. This led to recent development of many image cryptosystems [3–7], to meet the demands of improved encryption quality and attacks resistance ability.
Chaotic dynamical phenomenon being an interesting and popular property of chaotic systems is used to design dynamic image cryptosystems. The chaotic systems are sensitively dependent on its system parameters, initial conditions, exhibit long periodicity and randomness [8, 9]. Due to these dynamic properties, chaotic systems prove to be an effective possibility for designing appropriate image encryption schemes [10–15].
The provision of security regarding the transfer of data over certain kinds of open networks, mainly Internet, is one of the many cryptographic needs. Cryptanalysis being one of the vital components of modern day cryptology can be used to analyze the susceptibilities regarding the security with an aim to arrive at practically more secure system. Therefore, it led to cryptanalysis of many contemporary image encryption schemes [16–20], by many research scholars and academicians. The security assessment of such systems is done against direct or indirect chosen plain-text attack (CPA), known plain-text attack (KPA), chosen cipher-text attack (CCA), etc, [21, 22] and proposals assure an equitable degree of security. Cryptanalysis has emerged laterally with cryptography, and the concours is quite evident through the history of cryptography- contemporary cryptanalytic algorithms invented to crack the security algorithm. Professional and practical cryptanalysts play a vital role in assessment, validation and substantiation of security of cryptosystem [22].
Li et al. have proposed a general framework to show that the permutation-only image encryption schemes are not secure and susceptible to attacks proposed by them in [23]. The reason being, a permutation matrix can always be revealed which is equivalent to secret key to recover the plain-image from cipher-image. In [24], Zeng and Liu analyzed the security of a couple images encryption scheme which is based on DNA operations and Lorenz chaotic system, it is found that the algorithm has weakness in the generation of pseudo-random sequence used for encrypting the images. They show that encryption algorithm is susceptible to the attack proposed by them using some pair of chosen-plain-text and corresponding cipher-texts. A divide and conquer attack procedure has been proposed by Yap et al. in [25] to cryptanalyze successfully an image encryption algorithm involving multiple rounds of operation. Norouzi and Mirzakuchaki cryptanalyzed an image encryption proposal which composed of two-stage permutation and one-stage substitution. The proposal found to exhibits excellent encryption effect but the same has been broken using chosen-plaintext attack by Norouzi in [26] to prove the insecurity of encryption proposal. Arroyo et al. [27] scrutinized the security of cryptosystem suggested by Vidal et al. in [28] using chaotic systems and features of quantum cryptographic communication. In [27], the authors have unveiled certain limitations due to quantum properties of the cryptosystem and loopholes similar to in analog chaos-based cryptography along with some configuration problems inherent to the encryption system. A color image encryption proposal using chaotic tent map and 6-th order hyper-chaotic CNN system consisted of one-time confusion and many-times diffusion procedures was suggested in [29]. This encryption proposal is completely cryptanalyzed by Wen as it was found to be insecure against the cryptographic attack proposed by Wen in [30]. In [31], Chen at al. have proposed a procedure of differential cryptanalysis using codebook attack to break multi-round cryptosystem of [32] using a number of differential binary images. Ahmad et al. [33] have performed security analysis of an image encryption algorithm suggested in [11] and uncovered few internal security defects to indicate that the scheme is practically unsuitable to realize image-based secure communication. In [34], Zhang et al. have broken a choquet fuzzy integral-based color image encryption technique with shift-diffusion architecture. Zhang et al. shown that the encryption technique is irreversible and breakable under known plain/cipher image pair. An novel image cryptosystem based on 3D bit matrix using 3D chaotic system and 3D Cat map are adopted for double random permutation stage which is followed by confusion process using a chaotic Logistic map is given [35]. Recently, Wu et al. have cryptanalyzed the encryption algorithm in [36]. They found that the algorithm is not applicable for secure communication as it holds few security shortcomings and vulnerable to attack proposed by them.
According to Kerckhoff, “only secrecy of the key provides security” [37], which can be further reformulated as Shannon’s maxim: “the enemy knows the system” [2], which assure the fact that the security of the cryptosystem in most instances is dependent on the secrecy of key only. For most cryptanalysts’ objectives, it is figuratively pretended that the attacker knows almost all information about the encryption system. As an implication, if the secret key or the plaintext gets arbitrated, it leads to total break of the cryptosystem [38].
Of late, Lakshamanan et al. [39] suggested an image encryption algorithm based on piece-wise linear chaotic map and synchronized master-slave chaotic inertial neural network. The algorithm is based on the permutation-diffusion structure. The statistical performance of encryption algorithm showed that it holds excellent encryption strength with high entropies, flat histograms, large key-space, good PSNR, low correlation among adjacent pixels, etc. However, the careful security investigation uncovers some security flaws that make the encryption algorithm weak and vulnerable to attack. In this paper, we performed a careful security analysis of image cryptosystem in [39], highlights implicit susceptibilities and flaws. Henceforth, by exploiting the susceptibilities, the cryptosystem is broken by proposed cryptanalysis which completely retrieves the plain-image without any prior knowledge of secret key.
The outline of remaining paper is as follows. In the subsequent section, a brief description of image encryption algorithm under study is provided. The findings of security evaluation of encryption algorithm in terms of security defects are discussed in Section 3. The proposed attack to break the encryption algorithm totally is persuaded in Section 4 along with plain-image sensitivity analysis. The Section 5 is prepared to conclude the work.
Lakshmanan et al. image encryption algorithm
In [39], an image encryption algorithm based on PWLCM and chaotic inertial neural network is proposed. The algorithm has two stages, namely the shuffling stage and encryption stage. A PWLCM system defined by Equation (1) is utilized to carry out shuffling of plain-image through a permutation matrix T. The shuffled image is then passed through the encryption stage. In this stage, the shuffled image is ciphered through keystreams U
R
, U
G
, U
B
extracted from chaotic inertial neural network whose state is governed by Equation (2).
The chaotic inertial neural network has the matrix-vector form which is given in Equation (2). The authors have discussed its synchronization and dynamical behaviour in [39].
The Equation (2) is given as:
Where, u (t) = [u1 (t) , u2 (t) , …, u n (t)] T, v (t) = [v1 (t) , v2 (t) , …, v n (t)] T, u i (t) denotes the state variable of i-th neuron at time t with a delay of τ (t). The matrices A, B, C, W1, W2 and I have to be decided as per the procedure discussed in [39].
The algorithmic description of Lakshamanan et al. image encryption stages are as follows. Assume that a color plain-image be P having size M × N × 3. The image P is decomposed to its red, green and blue components, each having size M × N. Each of the color components of P is independently processed through two algorithm stages to generate corresponding color cipher image C.
The shuffling stage involves the following steps: Iterate PWLCM with initial condition x0 and p. Compute u = floor [x
n
× M] +1. Perform the iteration of PWLCM until all M different values of u (1 = u
i
= M) are retrieved. Formulate a 2D permutation matrix T as
Perform shuffling of image P using T as
The encryption stage takes the color components of P
S
(the shuffled image from previous stage) as P
SR
, P
SG
, P
SB
, the component can be separated as:
The computation of C from P
S
is as follows: Apply RK-4 method (with step-size = 0.001 and initial conditions u0, v0, x0, y0) to iterate chaotic inertial neural network in Equation (2) for more than L = M × N times. Iterate chaotic inertial neural network for L times. Four floating point number sequences U1, U2, U3, U4 each of length are obtained.
Based on floating point sequences U1, U2, U3, U4, the encryption keystreams U
R
, U
G
, U
B
are extracted as:
The components P
SR
, P
SG
, P
SB
of image P
S
are encrypted through U
R
, U
G
, U
B
as:
Reshape C
R
, C
G
, C
B
to 2D matrices each of size M × N and prepare C as
Where, the symbols used have their usual meanings. The decryption algorithm is the reverse of encryption process (involving the two stages).
The scrutiny of Lakshamanan et al. encryption algorithm finds its inherent security defects which are discussed in what follows.
Permutation matrix T and encryption keystreams Uk are fixed
The encryption algorithm discussed in previous section is solely dependent on initial values of PWLCM and chaotic inertial neural network. However, once the secret key is kept unaltered, the resulting permutation matrix T is unchanged i.e. every plain-image is shuffled by this fixed permutation matrix. Likewise, the encryption keystreams U1, U2, U3, U4 subsequently yielding U R , U G , U B are also get fixed, meaning the each shuffled image has same kind of encryption effect and diffusion. This is a serious flaw from security point of view. It may facilitate the attacker to recover the matrix T and keystreams U R , U G , U B which are equivalent to secret keys.
Weak secret keys
Any chaos-based strong cryptosystem, the utilized chaotic system must not lead to fixed points and low period sequence which is the case of set of weak secret keys [40]. The weak keys results to low encryption quality and facilitates the attacker to know full or partial information of plain-text data [41]. The authors of image encryption algorithm under scrutiny utilized PWLCM system as pseudo-random number generator to obtain permutation matrix T for shuffling plain-image P securely. The initial condition assigned to (x0, p) derives the quality of shuffling through matrix T. The analysis of PWLCM depicts that it turn to fixed and non-random values for specified initial values of (x0, p) given in Table 1. The key space of Lakshamanan et al. included all possible values of (x0, p). However, the specified values of the two parameters cannot be used as secret keys as it lead to weak encryption and must be avoided while encryption/decryption. Thus, the encryption algorithm has set of weak keys which may result to weak and poor encryption quality.
Fixed iterative values of PWLCM system
Fixed iterative values of PWLCM system
The shuffling procedure using permutation matrix in turn imposes a size restriction on pending plain-images. Due to matrix T, the encryption algorithm under analysis is applicable to square images only. The encryption algorithm fails to encrypt any plain-images having size M × N × 3 and M ≠ N.
Precision effect
In chaos-based image cryptosystems, the chaotic systems are adopted as source of pseudo-random sequence generation. These sequences, in particular from 1D chaotic systems like PWLCM, degrade to periodic sequences after iterations for computer’s finite precision [42]. The key space analysis in [39] reveals that the authors have worked in 14-digit precision. However, a care has to be taken while encrypting large sized messages and images. As a preventive measure, some perturbation needs to be applied to chaotic systems that can easily avoid its settling to periodic sequence.
Proposed cryptanalysis to recover plain-image
According to Bruce Schneier [38], it is needed to know the inherent security defect(s) in security system which can be exploited to break the system. Crytanalyzing an encryption system may require unrealistic images or storage, but the complexity of attacks should be less than the brute-force attack. Breaking a cryptosystem can be a certified defect showing that the system doesn’t work as desired. An encryption algorithm is deemed as unsafe and insecure if it is not able to withstand any cryptanalytic attacks [30]. Kerckhoff’s principle entails the attacker to know everything of encryption algorithm except the secret key [37]. It entails that the attacker may have access to encryption or decryption machine of cryptosystem under analysis. We, as cryptanalysts exploited the security defects uncovered in previous section to propose and execute the proposed attack targeted to break the Lakshamanan et al. encryption algorithm.
In shuffling-stage of [39], the permutation matrix T is completely dependent to initial condition x0 and p of PWLCM, and it has nothing to do with pending plain-color image P. As a result, same permutation matrix is generated every time when encrypting distinct plain-images. In encryption-stage, the shuffled is PS is encrypted with keystreams extracted from chaotic inertial neural network which also doesn’t have the plain-image dependency. The keystreams solely depends on initial condition u0, v0, x0, y0, of chaotic inertial neural network. Neither the shuffling process nor the encryption process depends on pending plain-image. Consequently, the same T and U R , U G , U B gets generated by Lakshamanan et al. encryption algorithm when encrypting distinct plain-images once the secret key is unchanged. Consequently, this leads to a highly concerning susceptibility that the security of the complete cryptosystem is entirely dependent on the secrecy of the key and retrieval of it by the attacker will lead to easy decryption of the images being transferred over respective communication network. Hence, recovering the matrix T is equivalent to retrieving initial values of x0 and p of PWLCM and recovering U R , U G , U B are equivalent to retrieving initial values of u0, v0, x0, y0 of chaotic inertial neural network.
The complete proposed break procedure is prepared as chosen_plaintext_attack(). The proposed attack needs the specially designed images Z2, Z3 and J2, J3 as follows to reveal the matrix T and keystreams U
R
, U
G
, U
B
.
The Z3 = [zi,j,k] M×N×3 is 3D zero image where the pixels zi,j,k = 0 for all 1 ≤ i ≤ M, 1 ≤ j ≤ N, 1 ≤ k ≤ 3, and J3 is also a RGB image whose red component is J2 and green and blue components both are Z2.
The method y = Lakshamanan_encrypt(x) denotes the Lakshamanan et al. encryption algorithm as black box and generates encrypted color image y when encrypting color image x, z = Ex - OR (x, y) performs the bit-wise exclusive operation on inputs x and y to generate output z, reshape (x, y, z) changes the dimensions of matrix x to y × z, find_index (x, y) returns the index of element y in vector x, and rotate_CR (x, y) rotates circularly the 1D vector x in right direction by y positions.
An exemplification of proposed attack on an image of size 4 × 4 ×3 is provided. The simulation of anticipated attack on a benchmark image of peppers is shown in Fig. 1.

Simulation of successful cryptanalysis under proposed chosen-plaintext attack: (a) color image P, (b) encrypted image C (known to attacker) of plain-image P (unknown and to be recovered), (c) zero image of size M×N×3, (d)-(f) recovered encryption keystreams, (g)-(i) recovered components of plain-image P, and (j) recovered color image P.
An example of proposed attack on a color image P (i, j) = (p
r
(i, j) , p
g
(i, j) , p
b
(i, j)) of size 4 × 4 ×3 is as follows.
As a cryptanalyst, the encrypted image C is known to us rest are unknown
Retrieved permutation sequence equivalent to matrix T is [16, 11].
Re-arranging above P
SR
, P
SG
, P
SB
to get recovered components of plain-image P as:
The Lakshamanan et al. encryption algorithm exhibits considerably no sensitivity or responsiveness towards any (minor) alterations in plain-images. In order to arbitrate the sensitivity of encryption algorithm, we take two plain-images namely - P1 and P2 having only one (middle) pixel difference. Let C1 and C2 being their respective cipher images independently obtained by encryption algorithm under study. The difference image D between images C1 and C2 is obtained as D = bit-exor(C1, C2). Apparently, if the cipher-text images C1 and C2 are identical then their difference image D has almost all zero or near to zero gray value pixels, consequently D will be similar to a black image. Whereas, if they are completely specific and different in comparison to one another, up to a considerable extension, then the difference image D will be quite similar to random-image or noise-like image. The algorithm’s responsiveness to plain-image is simulated in Fig. 2 to demonstrate the low sensitivity to plain-image. From the figure, it is quite noticeable that the content of image D is like a black image except that middle pixel, implicating that the cipher-text images C1 and C2 are almost exact and give merely one pixel difference out of M×N pixels.

Plain-image sensitivity analysis: (a) plain-image P1, (b) plain-image P2, (c) encrypted image C1 of P1, (d) encrypted image C2 of P2, and (e) difference between images C1 and C2.
A strong image cryptosystem should be able to bring substantial difference between C1 and C2 even if their respective plain-images differ minutely [1, 43]. Therefore, it can be stated that the Lakshamanan et al. encryption algorithm possesses no plain-image sensitivity contrary to the fact that it is an indispensable need of strong image cryptosystems.
Hence, the security flaws presented in Section 3, cryptanalysis under proposed attack in Section 4 validate that the encryption algorithm doesn’t deemed secure. The authors claim, refer to conclusion section in [39] that their algorithm is robust and resistant against different security attacks is completely invalid. To contradict the authors claim, made in abstract section in [39], we claim that their encryption algorithm highly lacks security and unreliable for use in secure communication applications.
In this paper, we evaluate the security of a recently suggested chaotic systems based image encryption algorithm. The encryption algorithm is exclusively dependent on secret key and has considerably no dependency to pending plain images. This implicit flaw and others make it susceptibility to cryptanalysis proceeded in this paper as proposed attack. The proposed security analysis of algorithm uncovers its certain implicit security defects The exploitation of these susceptibilities are manifested and it has been shown through simulation that the plain-image can be recovered from encrypted one under proposed cryptanalysis without any prior knowledge of secret key or initial values of chaotic systems utilized. Henceforth, we can allegedly proclaim that the encryption process suggested by Lakshamanan et al. completely lacks security; it is totally unreliable, insecure and unfeasible to use it for secure transmission of images over communication channels.
