CrazyEngineers
  • How to create a virus (just for study purpose)?

    Nilesh More

    Member

    Updated: Oct 26, 2024
    Views: 1.1K
    Hello Frds..... I am Second Year engg. student i wana create a virus (not creating just going through this knowledge) but i have no idea about virus codig plz help me????????
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Kaustubh Katdare

    AdministratorMar 29, 2013

    A virus is a simple computer program that does something malicious. Writing your first virus is going to be very simple. I'll give you an idea -

    1. Write a C program that executes a command to delete all the contents of a specific directory on your D: , E: drive.

    2. Now figure out a way to execute this program whenever user turns on his computer.

    So your virus will execute itself when the person starts his computer and delete the contents of specific directory. That's what basically virus do. Now go ahead and start coding this basic virus. Share your code with us below and ask doubts if you get stuck.
    Are you sure? This action cannot be undone.
    Cancel
  • Sanyam Khurana

    MemberMar 29, 2013

    The virus are best made in Batch file programming. I could offer here some code, if and only if , it doesn't break the forum rules.
    Are you sure? This action cannot be undone.
    Cancel
  • Sanyam Khurana

    MemberMar 29, 2013

    Or you could just search on some Batch File Tutorials on Net, you could even make some short script to quickly restart or turn off computer, or even something which deletes all the temporary files (I have one) 😉

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • Sanyam Khurana

    MemberMar 29, 2013

    And yes, after gaining knowledge, if you just made one just for the sake of some practical knowledge, don't click it (If it contains the coding to delete system32 files)

    It will ruin your OS ! 😛
    Are you sure? This action cannot be undone.
    Cancel
  • Nilesh More

    MemberMar 29, 2013

    Kaustubh Katdare
    A virus is a simple computer program that does something malicious. Writing your first virus is going to be very simple. I'll give you an idea -

    1. Write a C program that executes a command to delete all the contents of a specific directory on your D: , E: drive.

    2. Now figure out a way to execute this program whenever user turns on his computer.

    So your virus will execute itself when the person starts his computer and delete the contents of specific directory. That's what basically virus do. Now go ahead and start coding this basic virus. Share your code with us below and ask doubts if you get stuck.
    Thank sir..i will do it not immediately but definitely because i am participate in project competition that is why now i am going to my registry cleaner project.
    Again thanks sir........
    Are you sure? This action cannot be undone.
    Cancel
  • Nilesh More

    MemberMar 29, 2013

    Sanyam Khurana
    And yes, after gaining knowledge, if you just made one just for the sake of some practical knowledge, don't click it (If it contains the coding to delete system32 files)

    It will ruin your OS ! 😛
    Thank sir..i will do it not immediately but definitely because i am participate in project competition that is why now i am going to my registry cleaner project.
    Again thanks sir........
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register