Answer the question
In order to leave comments, you need to log in
Assembler vs C?
Hello, I would like to know in what language viruses (malvaries) are written. C or assembler? If you write in assembler, and it has a lot of architectures for each processor, that is, the virus will be designed for only one purpose, and in C, any processor is suitable, but in assembler the virus weighs much less and runs much faster, how to decide on language?
Answer the question
In order to leave comments, you need to log in
In general, as a rule, they learn C, and then, if necessary, assembler. I would recommend that you first learn C, and then read the book "the art of the exploit", or immediately start with this book, it is for dummies, and it covers both C and assembler, and writing viruses.
With each of your questions, you only confirm the fact that no "hacking" is going to happen to you. PHP or something to start with, maybe you can do something on the web.
There is 1 Windows platform, and they write under it. More precisely under 32/64 bits.
Everything else is vanishingly small.
However, they often write for a specific applied language. For example VBA. And they write very well.
Well, the injection code will still have to be written in machine language, since the programs are already in machine language in memory. And the whole hacking goes through various kinds of overflows - when a piece of code (injection) crawls out of the boundaries allotted for any buffer and is eventually executed. Naturally, you need to know both C and ASM and everything else about the target system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question