Re:AWS Fargate Deep Dive
by fovc on Sunday September 15, 2019 @01:00PM
(#20978172)
I was thinking of this very limitation when posting the original Q. If e.g., there a RCE issue with my PHP server on Fargate, as the attacker I have a foothold and there's no monitoring inside the container as I try to move laterally. I guess the same is true with EC2 backed containers though
[ Parent
| on HN ]
You can instrument the container itself (the environment in which RCE against PHP would provide an attacker).
You can't instrument the container engine or the host server, because AWS owns the security of those. But AWS will do a better job with those than you will, or at least, your whole usage of AWS is premised on that.
How often do people actually instrument their containers? I guess my original premise is wrong if you can simply set up the same monitoring inside your container
You can't do the same things; for instance, some container instrumentation schemes want an LKM to be resident, and that obviously won't work on Fargate. But you can generally accomplish the same goals.