Is malicious compilation time possible?

Can I use open source software to install malware at compile time? I am thinking of macro macros or makefile-related files that will execute evil code at compile time. Or am I sure until I run the compiled program?

+4
source share
2 answers

Note that a make file is just a list of commands to run. So take, for example, the idea that you can distribute the source code of malware in a make file project. Then, when you create the project, the make file goes over and compiles the malware ... and then at the end it executes the newly compiled malware - say, for example, pretending to run the unit test on what you think is not malicious BY.

It is certainly possible.

+2
source

Source: https://habr.com/ru/post/1545148/


All Articles