| |
| 1) Go to the Application > Terminal |
| 2) Get root privileges |
| ubuntu@ubuntu-laptop:~$ sudo -s |
| 3) Check For Openssl |
| root@ubuntu-laptop:~# openssl version |
| 4)Go to desktop |
| root@ubuntu-laptop:~# cd ./Desktop |
| 5)Create a text file that contain confidential information (eg:Creditcard info) |
| root@ubuntu-laptop:~/Desktop# echo "Credit Card Info:5678" > secret.txt |
| 6)A text file with credit card information is created in the desktop and you can open it and see the |
| credit card number . |
| root@ubuntu-laptop:~/Desktop# cat secret.txt |
| So anyone can see your credit card number in the secret.txt text file. We need to encrypt to hide the |
| information present in the text file |
| 7)For Encryption option |
| Openssl -h |
| root@ubuntu-laptop:~/Desktop# openssl --help |
| 8) From the options i will use [aes-256-cbc] encryption standard to encrypt the information present in |
| the text file. |
| root@ubuntu-laptop:~/Desktop# openssl enc -aes-256-cbc -a -in secret.txt -out secret.txt.aes256cbc |
| enter aes-256-cbc encryption password: [enter a password] |
| Verifying - enter aes-256-cbc encryption password: [verify entered password] |
| 9) Now check the text file information |
| root@ubuntu-laptop:~/Desktop# cat secret.txt.aes256cbc |
| 10)Shred the secret.txt as we have secret.txt.aes256cbc file where our credit card info is stored |
| root@ubuntu-laptop:~/Desktop# shred secret.txt |
| 11)Remove secrets.txt |
| root@ubuntu-laptop:~/Desktop# rm secret.txt |
| 12)Now no one can see your credit card info present in the text file |
| and inorder the see the information present in the notepad file we use decryption using the aes-256- |
| cbc standard . |
| 13) |
| root@ubuntu-laptop:~/Desktop# openssl enc -d -aes-256-cbc -a -in secret.txt.aes256cbc |
| enter aes-256-cbc decryption password:[enter the password] |
| The Information Stored in the text file will be displayed. |
| (2)Integrity |
| Check the file integrity |
| To check the file integrity of secret.txt we need to use the md5sum |
| 1) Go to the file directory |
| root@ubuntu-laptop:~/Desktop# |
| 2) MD5 Sum |
| root@ubuntu-laptop:~/Desktop# md5sum secret.txt |
| A md5 hash is generated |
| Once if you made a small change in the words , the md5 value will be changed . |
| 3) Enter a small dot after opening the text file and compute the md5sum .And see how a dot can |
| change the md5sum |
| (3)MD5 Sum using openssl |
| (4) Anonymity |
| Anonymity Browser (Tor) will help you to anonymous and all your activities will be hidden. |
| This tool will change your IP Address within seconds.. |
| Steps: |
| 1) |
| Go for |
| www.google.com |
| ,type tor |
| 2) |
| Click on download from ww.torproject.org |
| 3) |
| Extract the contents |
| 4) |
| Go to the extracted location |
| 5) |
| Click Start tor Browser |
| 6) |
| You will get a new Mozilla windows open where u can see Congratulation’s .You are using Tor |
| . |
| 7) |
| After that go to |
| www.whatismyipaddress.com |
| and check the ip address |
| 8) |
| Note the IP Address |
| 9) |
| Then go to the task bar there you can find Vidalia Control Panel (Tor Browser) |
| 10) |
| Click the option (Use new identity) |
| 11) |
| Then a message will pop up All subsequent connections will appear to be different than your |
| old connections |
| 12) |
| Check the ip address now ( |
| www.whatismyipaddress.com |
| ) ,see the change in ip address |
| 13) |
| After that if u want to stop the tor browser and check the IP Address again to see your real IP. This is the best way for IP Spoofing Technique |
| |
No comments:
Post a Comment