Nowadays, the Pegasus name has become very well-known. Because spyware named Pegasus has been distributed on the internet. And many mobiles and IT devices are becoming hacked by it !! How does PEGASUS delete itself? || How PEGASUS spyware is self-destructible?
#Step: 1
At first, we'll make a folder named "pegasus example" on our computer. Ok?
#Step: 2
After that, we'll make a Python file named "pegasus.py" inside the "pegasus example" folder.
#Step: 3
Then we'll open the file named "pegasus.py" with a Python Code Editor named Visual Studio Code by Microsoft.
#Step: 4
And now we'll write codes in this file. At first, we'll import a python module named the "os" module which will enlist the file into the folder.
#Step: 5
After this malicious codes will be there in the code's body part which will spy on your data and upload and deliver the data on the spyware's author server !!
#Step: 6
And then it will execute the self-destroyer code which is able to delete the spyware from the device. Here for an example, we have used a piece of python self-destroyer code which is "os.remove('pegasus.py')". When the code will be executed the spyware will be automatically deleted !!
If we run this code now. What will be happened? Ok, let's see below.
As you can see here that there is no file in the "pegasus example" folder. But there was a file named "pegasus.py" before we had run the program. So, what happened? The spyware file has deleted itself automatically !!
Thus the PEGASUS spyware deletes itself. If there are hacking codes and malicious codes in the body part of the code then it will execute the malicious codes and spy your data and transfer them to its author's server !!
Computer programs get executed from upward to downward. That means on the first line of code there is "import os". So, that will firstly be executed. Then we have not written anything here. But imagine for a sec, if there are malicious codes then those codes will be executed and spy on your data. And after that, the downward code will be executed which is "os.remove('pegasus.py')". It will delete the spyware program by itself.
So, all over what happened? The spyware program has been executed on your device and performed its malicious tasks and after that, it has been also deleted by itself !! How dangerous is this !!
Right?
In this way, it comes on your device and performs its malicious task which is spying and hacking your important data and upload or send that data on the spyware's author server !!
What is PEGASUS?
0 Comments