Knowledge Base · general

Remote Code Execution

generaltechnique notetechniquerce

The broad goal of turning an injection or deserialisation flaw into arbitrary code execution on the target.

How it works

  • Common routes: template injection, command injection, unsafe deserialisation, expression-language injection, dependency CVEs.
  • Confirm execution with a harmless command (id, whoami) before staging a shell.

Detection & defence

  • Patch dependencies and disable dangerous features (expression evaluation, unsafe deserialisation).
  • Segment and monitor egress so a successful RCE still has to call home.