Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Jenisha. R , Mariya Desona. S , Priyanga. V
DOI Link: https://doi.org/10.22214/ijraset.2022.44575
Certificate: View Certificate
The Internet of Things (IoT) describes the network of physical objects or things that are embedded with sensors, software, and other technologies for the purpose of connecting and exchanging data with other devices and systems over the internet. Although several IoT devices are openly accessible to all in the network, it is extremely vital to be aware of the security risks and threats of cyber- attacks; therefore, it should be secured. In Cryptography, plain text is converted to encrypted text before it is sent, and it is converted to plain text after communication on the other side. Steganography is a method of hiding secret data, by embedding it into an audio, video, image, or text file. One technique is to hide data in bits that represent the same color pixels repeated in a row in an image file. In this project it proposes to encrypt the IoT networks data by Cryptography method and hide the encrypted message inside an image file using Steganography method as well increases the number of bits that can be saved within a pixel of an image. To incorporate the usage of convolutional neural networks in traditional steganography method to drastically increase the payload that can be transmitted through an image. Thus, in this project the convolutional networks algorithm will be developed and trained in such a way to increase the payload of the data to be encrypted as well as safely decrypted to view the original message.
I. INTRODUCTION
A. General Introduction
The Internet of Things (IoT’s) is the concept of connecting any device (so long as it has an on/off switch) to the Internet and to other connected devices. The IoT is a giant network of connected things and people – all of which collect and share data about the way they are used and about the environment around them. IoT devices contain sensors and mini-computer processors that act on the data collected by the sensors via machine learning. IoT devices share the sensor data they collect by connecting to an IoT gateway or other edge device where data is either sent to the cloud to be analyzed or analyzed locally. Sometimes, these devices communicate with other related devices and act on the information they get from one another. The devices do most of the work without human intervention, although people can interact with the devices for instance, to set them up, give them instructions or access the data.
The internet of things helps people live and work smarter, as well as gain complete control over their lives. In addition to offering smart devices to automate homes, IoT is essential to business. IoT provides businesses with a real- time look into how their systems really work, delivering insights into everything from the performance of machines to supply chain and logistics operations. IoT enables companies to automate processes and reduce labour costs. It also cuts down on waste and improves service delivery, making it less expensive to manufacture and deliver goods, as well as offering transparency into customer transactions. As such, IoT is one of the most important technologies of everyday life, and it will continue to pick up steam as more businesses realize the potential of connected devices to keep them competitive.
Some of the advantages of IoT include the following,
a. Ability to access information from anywhere at any time on any device;
b. Improved communication between connected electronic devices;
c. Transferring data packets over a connected network saving time and money;
d. Automating tasks helping to improve the quality of a business's services and reducing the need for human intervention.
Some disadvantages of IoT include the following:
B. Technologies Used
Cryptography or cryptology derived fromGreek word “kryptos”, which means “hidden” and “graphein”, means "writing", and is the practice and study of techniques for secure communication in the presence of adversarial behaviour.
Cryptography refers to secure information and communication techniques derived from mathematical concepts and a set of rule-based calculations called algorithms, to transform messages in ways that are hard to decipher. A cryptographic algorithm, or cipher, is a mathematical function used in the encryption and decryption process. A cryptographic algorithm works in combination with a key a word, number, or phrase to encrypt the plaintext. The same plaintext encrypts to different cipher text with different keys. The security of encrypted data is entirely dependent on two things: the strength of the cryptographic algorithm and the secrecy of the key. These deterministic algorithms are used for cryptographic key generation, digital signing, verification to protect data privacy, web browsing on the internet and confidential communications such as credit card transactions and email.The first known use of a modern cipher was by Julius Caesar (100 B.C. to 44 B.C.), who did not trust his messengers when communicating with his governors and officers. For this reason, he created a system in which each character in his messages was replaced by a character three positions ahead of it in the Roman alphabet.
Cryptographic techniques concern themselves with three basic purposes:
Integrity Ensuring that data doesn’t change between the time it leaves the source and the time it reaches its destination.
2. Steganography
Steganography has been derived from two Greek words “Stego” which means “Covered” and “Graphia” which means “writing”, thus translating to ‘covered writing’, or ‘hidden writing’. Steganography is a method of hiding secret data, by embedding it into an audio, video, image, or text file. It is one of the methods employed to protect secret or sensitive data from malicious attacks. In modern digital steganography, data is first encrypted or obfuscated in some other way and then inserted, using a special algorithm, into data that is part of a particular file format such as a JPEG image. The secret message can be embedded into ordinary data files in many different ways. While cryptography and steganography are related, there is a difference between the two. Cryptography is used to scramble messages so that they cannot be understood. It does not hide the fact that the message exists. Steganography, on the other hand, conceals the fact that the message exists by hiding the actual message in another.In the 20th century, invisible inks were widely used. Fluids like vinegar, milk and fruit juices were used to write messages that could not be seen unless subjected to special treatment. When heated, these fluids turn dark and the message can be read. The current form of this technique is also quite similar, the idea being to prevent the detection of a message by hiding it rather than distorting it.
Steganography's ultimate objectives, which are
3. Deep Learning Process
A deep neural network provides state-of-the-art accuracy in many tasks, from object detection to speech recognition. They can learn automatically, without predefined knowledge explicitly coded by the programmers.
To grasp the idea of deep learning Process fig 1.1 as shown, imagine a family, with an infant and parents. The toddler points objects with his little finger and always says the word 'cat.' As its parents are concerned about his education, they keep telling him 'Yes, that is a cat' or 'No, that is not a cat. The infant persists in pointing objects but becomes more accurate with cats. The little kid, deep down, does not know why he can say it is a cat or not. He has just learned how to hierarchies complex features coming up with a cat by looking at the pet overall and continue to focus on details such as the tails or the nose before to make up his mind. A neural network works quite the same. Each layer represents a deeper level of knowledge, i.e., the hierarchy of knowledge. A neural network with four layers will learn more complex feature than with that with two layers.
The learning occurs in two phases
The neural network repeats these two phases hundreds to thousands of time until it has reached a tolerable level of accuracy. The repeat of this two-phase is called an iteration.
C. Objectives of the Project
D. Scope Of The Project
II. LITERATURE SURVEY
A. Literature Survey
In the recent literature on steganalysis, it has been observed that a deeper network is, in general, preferred for detecting low tone embedding noise, e.g., SRNet. However, very recently, a deep model, called FractalNet, became popular, which is based on selfsimilarity and grows deeper and wider by maintaining a balance between depth and width using a recurrent adaptation of a fundamental building block. In this work, the concept of the FractalNet model has been exploited for steganalytic detection, where the embedded image has been used as input. In a practical scenario, it has been observed that steganalytic detection for test images is increasing if the width of the network can be increased with a certain proportion to the depth. The proposed deep network is designed by repeating a basic fractal block in such a way that a balance between the depth and width of the overall network can be maintained. A comprehensive set of experiments reveals that the proposed model outperformed the state-of-the-art results. An ablation study is also included to justify the proposed architecture in favor of its performance. The heavy data augmentation, FractalNet still cannot have the best result when comparing with those with other algorithms.
2. Securing Data in Internet of Things (IoT) Using Cryptography and Steganography
Internet of Things (IoT) is a domain wherein which the transfer of data is taking place every single second. The security of these data is a challenging task; however, security challenges can be mitigated with cryptography and steganography techniques. These techniques are crucial when dealing with user authentication and data privacy. In the proposed work, the elliptic Galois cryptography protocol is introduced and discussed. In this protocol, a cryptography technique is used to encrypt confidential data that came from different medical sources. Next, a Matrix XOR encoding steganography technique is used to embed the encrypted data into a low complexity image.
The proposed work also uses an optimization algorithm called Adaptive Firefly to optimize the selection of cover blocks within the image. Based on the results, various parameters are evaluated and compared with the existing techniques. Finally, the data that is hidden in the image is recovered and is then decrypted. It increases the size of the encrypted message significantly more than RSA encryption. Furthermore, the EGC algorithm is more complex and more difficult to implement.
3. Adaptive Payload Distribution in Multiple Images Steganography Based on Image Texture Features
With the coming era of cloud technology, cloud storage is an emerging technology to store massive digital images, which provides steganography a new fashion to embed secret information into massive images. Specifically, a resourceful steganographer could embed a set of secret information into multiple images adaptively, and share these images in cloud storage with the receiver, instead of traditional single image steganography. Nevertheless, it is still an open issue how to allocate embedding payload among a sequence of images for security performance enhancement. This paper formulates adaptive payload distribution in multiple images steganography based on image texture features and provides the theoretical security analysis from the steganalyst’s point of view. Two payload distribution strategies based on image texture complexity and distortion distribution are designed and discussed respectively. The proposed strategies can be employed together with these state-of-the-art single image steganographic algorithms. The comparisons of the security performance against the modern universal pooled steganalysis are given. Furthermore, this paper compares the per image detectability of these multiple images steganographic schemes against the modern single image steganalyzer. Compared with Embedding Strategy Based on Distortion Distribution (ES-DD) and IMS, the security performance of ES-ITC is slightly low, especially for higher payload rates.
4. Deep Residual Network for Steganalysis of Digital Images
Steganography detectors built as deep convolutional neural networks have firmly established themselves as superior to the previous detection paradigm – classifiers based on rich media models. Existing network architectures, however, still contain elements designed by hand, such as fixed or constrained convolutional kernels, heuristic initialization of kernels, the threshold linear unit that mimics truncation in rich models, quantization of feature maps, and awareness of JPEG phase. In this paper, we describe a deep residual architecture designed to minimize the use of heuristics and externally enforced elements that is universal in the sense that it provides state-of-theart detection accuracy for both spatial-domain and JPEG steganography. The key part of the proposed architecture is a significantly expanded front part of the detector that “computes noise residuals” in which pooling has been disabled to prevent suppression of the stego signal. Extensive experiments show the superior performance of this network with a significant improvement especially in the JPEG domain. Further performance boost is observed by supplying the selection channel as a second channel.Low accuracy for complex data and the process is complicated and also time consuming.
B. Conclusion
From the above reference papers, we can conclude that the following are the major disadvantages:
III. PROPOSED SYSTEM
A. Existing System
In the recent literature on steganalysis, it has been observed that a deeper network is, in general, preferred for detecting low tone embedding noise, e.g., SRNet. However, very recently, a deep model, called FractalNet, became popular, which is based on selfsimilarity and grows deeper and wider by maintaining a balance between depth and width using a recurrent adaptation of a fundamental building block. In this work, the concept of the FractalNet model has been exploited for steganalytic detection, where the embedded image has been used as input. In a practical scenario, it has been observed that steganalytic detection for test images is increasing if the width of the network can be increased with a certain proportion to the depth. The proposed deep network is designed by repeating a basic fractal block in such a way that a balance between the depth and width of the overall network can be maintained. A comprehensive set of experiments reveals that the proposed model outperformed the state-of-the-art results. An ablation study is also included to justify the proposed architecture in favor of its performance.
0.05 bpp. Sometimes, the model failed to converge at all.
B. Proposed System
The Internet of Things (IoT) describes the network of physical objects or things that are embedded with sensors, software, and other technologies for the purpose of connecting and exchanging data with other devices and systems over the internet. Although several IoT devices are openly accessible to all in the network, it is extremely vital to be aware of the security risks and threats of cyber- attacks; therefore, it should be secured. In Cryptography, plain text is converted to encrypted text before it is sent, and it is converted to plain text after communication on the other side. Steganography is a method of hiding secret data, by embedding it into an audio, video, image, or text file. One technique is to hide data in bits that represent the same color pixels repeated in a row in an image file. By applying the encrypted data to this redundant data in some inconspicuous way, the result will be an image file that appears identical to the original image but that has "noise" patterns of regular, unencrypted data. In this project we are going to encrypt the IoT networks data by Cryptography method and hide the encrypted message inside an image file by Steganography method as well increases the number of bits that can be saved within a pixel of an image. Thus, in this project the convolutional networks algorithm will be developed and trained in such a way to increase the payload of the data to be encrypted as well as safely decrypted to view the original message.
C. Architecture Diagram
D. Working
In this project, it proposes system to secure army data stored in network inside an image file using Steganography method as well increases the number of bits that can be saved within a pixel of an image.The usage of convolutional neural networks in traditional steganography method to drastically increase the payload that can be transmitted through an image. So, the first step in the project will be collecting the DIV2K dataset and then will be separating these datasets into training as well as testing dataset where the testing dataset will be kept separate and the training dataset will be used to train the model. For training the dataset, encoding, decoding and critic modules are used. For training the algorithm 20 to 100 epochs are used. The Encoder module takes an cover image and a data tensor and combines them into a steganographic image. The Critic module takes an image and predicts whether it is a cover image or a steganographic image (N, 1). The Decoder module takes a steganographic image and attempts to decode the embedded data tensor. Then calculating the metric values such as payload, bits per pixel and accuracy, will be used to predict the accuracy of the model. After that, algorithm is enhanced to increase the payload or storage capacity of the message inside the image. The normal storage capacity is 0.5 bits per pixel. By modifying the existing algorithm in a such way to increase the bpp to more than 2 to 3 bpp, it will be trained and compared to the existing system using the metrics. After performing cryptography, using AES algorithm the data has been encrypted and the hash key has been generated. This hash key has been encoded inside an image using steganography and encoding the message in the image, the original image and the encoded image will looks the same. Whenever the data needs to be decrypted the hash is been decoded from the image using steganography decryption and cryptography decryption is applied to get the actual data. Also it will be safely decrypted using AES to view the original message.Finally a sensor will be connected to get the real time values and these data will be stored in the cloud for future purpose. Whenever the data needs to be decrypted from the cloud the hash will be decoded and applied to get the actual data.
E. System Analysis
a. AES Cryptography Encryption
The features of AES are as follows
AES Cryptoraphy Encryption fig 3.5 is an iterative rather than Feistel cipher. It is based on ‘substitution– permutation network’. It comprises of a series of linked operations, some of which involve replacing inputs by specific outputs (substitutions) and others involve shuffling bits around (permutations). Interestingly, AES performs all its computations on bytes rather than bits. Hence, AES treats the 128 bits of a plaintext block as 16 bytes. These 16 bytes are arranged in four columns and four rows for processing as a matrix. Unlike DES, the number of rounds in AES is variable and depends on the length of the key. AES uses 10 rounds for 128-bit keys, 12 rounds for 192-bit keys and 14 rounds for 256bit keys. Each of these rounds uses a different 128-bit round key, which is calculated from the original AES key.
b. AES Cryptography Decryption
The process of decryption of an AES ciphertext is similar to the encryption process in the reverse order. Each round consists of the four processes conducted in the reverse order.
c. Encoding and decoding of Image
Steganography is the process of embedding the data into the object without using any private keys. This type of steganography entirely depends upon the secrecy. This type of steganography uses a cover image in which data is to be embedded, personal information to be transmitted, and encryption decryption algorithms to embed the message into image. Many different carrier file formats can be used, but digital images are the most popular because of their frequency on the internet. For hiding secret information in images, there exist a large variety of steganography techniques some are more complex than others and all of them have respective strong and weak points. Different applications may require absolute invisibility of the secret information, while others require a large secret message to be hidden. Steganography in the transform domain involves the manipulation of algorithms and image transforms. These methods hide messages in more significant areas of the cover image, making it more robust. Many transform domain methods are independent of the image format and the embedded message may survive conversion between lossy and lossless compression.
F. Hardware Description
This block diagram fig 3.8 describes Model B and B+; Model A, A+, and the Pi Zero are similar, but lack the Ethernet and USB hub components. The Ethernet adapter is internally connected to an additional USB port. In Model A, A+, and the Pi Zero, the USB port is connected directly to the system on a chip (SoC). On the Pi 1 Model B+ and later models the USB/Ethernet chip contains a five-port USB hub, of which four ports are available, while the Pi 1 Model B only provides two. On the Pi Zero, the USB port is also connected directly to the SoC, but it uses a micro USB (OTG) port.
The Broadcom BCM2835 SoC used in the first generation as shown in the fig 3.9 Raspberry Pi includes a 700 MHz ARM11 76JZF-S processor, VideoCore IV graphics processing unit (GPU), and RAM. It has a level 1 (L1) cache of 16 KB and a level 2 (L2) cache of 128 KB. The level 2 cache is used primarily by the GPU. The SoC is stacked underneath the RAM chip, so only its edge is visible. The 1176JZ(F)-S is the same CPU used in the original iPhone, although at a higher clock rate, and mated with a much faster GPU. The earlier V1.1 model of the Raspberry Pi 2 used a Broadcom BCM2836 SoC with a 900 MHz 32-bit, quad-core ARM Cortex-A7 processor, with 256 KB shared L2 cache. The Raspberry Pi 2 V1.2 was upgraded to a Broadcom BCM2837 SoC with a 1.2 GHz 64-bit quad-core ARM Cortex-A53 processor, The Raspberry Pi 3+ uses a Broadcom BCM2837B0 SoC with a 1.4 GHz 64-bit quad-core ARM CortexA53 processor, with 512 KB shared L2 cache. Raspberry Pi provided a real-world performance roughly equivalent to 0.041 GFLOPS. On the CPU level the performance is similar to a 300 MHz Pentium II of 1997–99. Raspberry Pi 2 V1.1 included a quad core Cortex-A7 CPU running at 900 MHz and 1 GB RAM. To be highly dependent upon task threading and instruction set use Benchmarks showed the Raspberry Pi 3 to be approximately 80% faster than the Raspberry Pi 2 in parallelised tasks.
2. DHT11 - Humidity and Temperature Sensor
As shown in the fig 3.10.DHT11Sensor is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). The only real downside of this sensor is you can only get new data from it once every 2 seconds.
Features
G. Software Description
The purpose of the Software Requirement Specification is to produce the specification of the analysis task and also to establish complete information about the requirement, behaviour and also the other constraint like functional performance and so on. The main aim of the Software Requirement Specification is to completely specify the technical requirements for the software product in a concise and in unambiguous manner.
After that, the whole virtual machine is cleared and we have to start again. We can run multiple CPU, GPU, and TPU instances simultaneously, but their resources are shared between these instances.
Colab notebooks allow us to combine executable code and rich text in a single document, along with images, HTML, LaTeX and more. When we create our own Colab notebooks, they are stored in our Google Drive account. To learn more, see Overview of Colab. To create a new Colab notebook we can use the File menu above, or use the following link: create a new Colab notebook. Colab notebooks are Jupyter notebooks that are hosted by Colab. As a developer, we can perform the following using Google Colab;
IV. RESULTS AND DISCUSSIONS
A. Introduction
This chapter discusses about the practical results obtained while implementing the project.
B. Results Obtained
To begin with, testing of the trained model, we can split our project into modules of implementation that is done.
As the image file is processed for getting the data hidden inside, it throws error as no data found, which is because the bits per pixel was very less and hence data was not encoded successfully. Now, the enhanced model file is been loaded to perform the encoding of the data which can be seen in the below figure. As the encoding starts, the data gets converted to cipher text and an output image file is generated successfully which can be seen from the below fig 4.7.
In the existing system, with heavy data augmentation, FractalNet still cannot have the best result when comparing with those with other algorithms and Fractal networks are resistant to being too deep; extra depth may slow training. Thus, from the above result we have successfully achieved the results with more than 3 bits per pixel along with the real time encoding and decoding of the data.
Steganography is not intended to replace cryptography but rather to supplement it. If a message is encrypted and hidden with a steganographic method it provides an additional layer of protection and reduces the chance of the hidden message being detected. This project proposed that encrypt the IoT networks data by Cryptography method and hide the encrypted message inside an image file using Steganography method as well increases the number of bits that can be saved within a pixel of an image using the currently prevailing deep learning approach. Using which we have developed an algorithm effectively protect and secure the data. In the coming future, we will be implementing bits storage increasing and cryptography encryption and decryption performed in the next phase. We review the application of the data to be encrypted and decrypted for the data security field and it can promote to protect and secure the data with more accuracy. In this field there are more chance to develop or convert this project in many ways. The accuracy of the prediction will be increased by using different efficient techniques and algorithms. Thus, this project has an efficient scope in coming future to increase the payload of the data to be encrypted as well as safely decrypted to view the original message.
[1] Brijesh Singh, Arijit Sur, PinakiMitra (2021),”Steganalysis of Digital Images Using Deep Fractal Network”Vol. 8, Issue: 3,PP:599-606. [2] Hassaballah, Mohamed Abdel Hameed, Ali Ismail Awad, Khan Muhammad (2021),”A Novel Image Steganography Method for Industrial Internet of Things Security”Vol. 17, Issue: 11. [3] Khari, Aditya Kumar Garg, Amir H. Gandomi, Rashmi Gupta, RizwanPatan, BalamuruganBalusamy (2020),”Securing Data in Internet of Things (IoT) Using Cryptography and Steganography”Vol. 50, Issue: 1,PP:73-80. [4] Mehdi Boroumand, Student Member, IEEE, Mo Chen, Member IEEE, and Jessica Fridrich, IEEE (2019),“Deep Residual Network for Steganalysis of Digital Images” Vol.14, Issue: 5,PP:1181-1193. [5] Pietro Tedeschi, Savio Scian calepore, Areej Eliyan, Roberto Di Pietro (2020),“LiKe: Lightweight Certificateless Key Agreement for Secure IoT Communications” Vol. 7, Issue: 1,PP:621-638. [6] Ru Zhang, Feng Zhu, Jianyi Liu, Gongshen Liu (2020),”Depth-wise separable convolutions and multi-level pooling for an efficient spatial CNN-based steganalysis “ Vol.15. [7] Songtao Wu, Sheng-huaZhong, Yan Liu (2020), “A Novel Convolutional Neural Network for Image Steganalysis with Shared Normalization”,Vol.22, Issue: 1. [8] Wei Lu, Junjia Chen, Junhong Zhang, Jiwu Huang, Jian Weng, Yicong Zhou (2020) “Secure Halftone Image Steganography Based on Feature Space and Layer Manju”. [9] Weixuan Tang, Bin Li, Shunquan Tan, Mauro Barni, Jiwu Huang (2019), “CNN-based Adversarial Embedding for Image Steganography”Vol.14, Issue:8.
Copyright © 2022 Jenisha. R , Mariya Desona. S , Priyanga. V . This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET44575
Publish Date : 2022-06-19
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here