I've heard of rootkits that infect computers by first having a simple virus infect the computer, make a call to the "command" computer containing the target computer's specs.
With the specs, the command computer starts compiling a rootkit to infect the target computer with, or it delivers a pre-compiled version of it.
This seems like an effective way to get around the nuance of Linux machines supporting a wide variety of platforms.
However, what if something such as the system call numbers on the target machine were different from the standard system call numbers, maybe even randomized on install?
Would this prevent the command computer from being able to send a functional rootkit/virus?
Can system call numbers be specified/assigned? (I am assuming this is possible by modifying and compiling your own kernel, or is it?)