Actually, it is interesting, but are there any viruses that are written in some JAVA or .NET and is it possible to exist at all?

The disadvantages of such platforms include the fact that:

  1. You can decompile a virus without any problems and get the source code, which will allow you to get a cure as soon as possible.
  2. The need for runtime programs. True, Microsoft started delivering new Win with .Net by default.
  • one
    IMHO now you can write a completely legitimate script from an antivirus point of view, which, for example, deletes all user files and even requests confirmation of its actions from the user, shoves it into the installer or autorun and in 8 out of 10 cases the user clicks OK and then runs in circles the ubiquitous hackers have a ceiling and swearing, although they asked him black in Russian if he agrees with what the program is going to do. So the security holes must be plugged starting from the pad between the chair and the keyboard =) - rdorn

4 answers 4

In fact, any program that performs (malicious) actions that the user does not expect can be perceived as a virus. So it does not matter at all what such a program is written on, as long as it is granted appropriate privileges (file deletion, network interaction, etc.). So if it does not work in a strictly isolated environment, the so-called. "sandbox", it may well realize its malicious intentions.

  • In the strict sense of the term "virus" means infection and self-propagation. But such a. NET, for example, I have not seen. Although, I think this can be. - Vladimir Martyanov
  • @ Vladimir Martiyanov, the question is, is there anything that will prevent these actions precisely because the application is running in a managed environment (compared to the native application)? It seems to me that no. - αλεχολυτ
  • I also think that no. On the other hand, the .NET file format and, accordingly, the implementation of code in them is much more complicated than the usual MZPE. Probably because there is no full-fledged VIRIA on .NET - Vladimir Martyanov

Of course!

Previously, viruses were very common in Visual Basic. For example, the classic ILOVEYOU virus .

From the older - macro viruses under Microsoft Office.

    Trojans on .NET are quite possible for themselves, now it is not even uncommon. Malvar for Android for the most part just written on a toad. Macro viruses are now widely used, there are VBA. JS Trojans are a massive phenomenon.

      There is a whole class of “script viruses” that are not compiled anywhere, the EMNIP drug-writing speed does not help if the virus crawls faster than it is treated. LoveLetter - more than 2 million computers per day. + Many "boot-viruses" some were written in javascript running with autorun.html.