TMAegis
azure 관련 규칙 더 보기

TMA-AZURE-STORAGE-10.1

Ensure 'Allowed Protocols' for shared access signature (SAS) tokens is set to 'HTTPS Only'

높음레벨 1수동 검토azure

설명

Shared access signatures (SAS) can be used to grant limited access to Azure Storage resources. When generating a SAS, it is possible to specify the allowed protocols for a request made with the SAS. It is recommended to allow requests over HTTPS only. If a SAS is passed over HTTP and intercepted, an attacker performing a man-in-the- middle attack can read the SAS. Then, they can use that SAS just as the intended user could have. This can potentially compromise sensitive data or allow for data corruption by the malicious user.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

It is not possible to audit generated SAS.

조치 방법

조치 방식: 가이드 또는 인프라 패치

Remediate from Azure Portal If SAS have been created to allow HTTP and were created with a stored access policy (SAP), the SAS can be revoked by deleting the SAP or updating the SAP expiration time to a time in the past: 1. Go to Storage accounts. 2. Click on a storage account. 3. Under Data storage, click Containers. 4. Click the three dots next to a container. 5. Click Access policy. 6. Click the three dots next to an access policy. 7. Click Delete. 8. Click Save. 9. Repeat steps 1-8 as needed to revoke SAS created with SAP. If SAS have been created to allow HTTP and were not created with a SAP, the SAS can be revoked by regenerating the storage account access keys: Note: Regenerating access keys can affect any applications or Azure services that are dependent on the storage account key. 1. Go to Storage accounts. 2. Click on a storage account. 3. Under Security + networking, click Access keys. 4. Next to each key, click Rotate key. 5. Click Yes to confirm. 6. Repeat steps 1-5 as needed to revoke SAS.

속성

운영 체제
모두
태그
access-controlauthazurecloudstorage
참고 자료
CIS Microsoft Azure Storage Services Benchmark v2.0.0 - 10.1 Ensure 'Allowed Protocols' for shared access signature (SAS) tokens is set to 'HTTPS Only'