CompTIA CySA+ CS0-003: Remote code execution

Remote code execution is a broad term that is used when an attacker simply executes malicious code remotely. This is different from malicious code executing by itself and usually occurs by attacker taking advantage of zero day software vulnerabilities. Attacker will identify a vulnerability in software or hardware that isn’t patched yet and will leverage that to remotely execute code on the device. Wannacry ransomware and equifax breach were both examples of remote code execution.

Cybersecurity analysts should conduct penetration testing to identify as much vulnerabilities as possible and should be ready to defend against zero day by constantly reviewing logs. There are several items to avoid to minimize remote code execution attacks like not allowing users to insert code in web application, not using certain software that is not safe even if it’s cheaper and easier to use, and not neglecting buffer overflow protection.