AWS codedeploy: Document CodeDeploy agent folder permissions and Authenticode signing
Summary
Adds guidance that from agent version 2.1.3 only Administrators and SYSTEM can modify the install folder (standard users read-only), and that the MSI and agent binaries are Authenticode-signed by Amazon with instructions to verify via Get-AuthenticodeSignature.
Security assessment
The change documents least-privilege file permissions on the agent install directory and integrity verification of signed installer/binaries, which are concrete hardening and supply-chain integrity best practices; no specific CVE or incident is referenced, so it is security documentation rather than a vulnerability fix.
Evidence
+For version 2.1.3 and later, only the Administrators group and the SYSTEM account can modify this folder and its contents. Standard users can read the folders that the agent creates for deployments, such as `deployment-logs`, but can't modify them.
Diff
diff --git a/codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md b/codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md index 7034c99..1bbb8e0 100644 --- a//codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md +++ b//codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md @@ -27,0 +28,11 @@ The folder that the CodeDeploy agent is installed to is `C:\ProgramData\Amazon\C +For version 2.1.3 and later, only the Administrators group and the SYSTEM account can modify this folder and its contents. Standard users can read the folders that the agent creates for deployments, such as `deployment-logs`, but can't modify them. + +###### Note + +The agent installer (`codedeploy-agent.msi`) and the agent binaries it installs (`codedeploy-agent.exe` and `codedeploy-local.exe`) are Authenticode-signed by Amazon. To check a signature, run: + + + Get-AuthenticodeSignature -FilePath .\codedeploy-agent.msi + +The `Status` must be `Valid`. +