TMAegisBeta
Aturan lainnya untuk azure

Microsoft Azure

TMA-AZURE-STORAGE-10.1

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

TinggiLevel 1Tinjauan manualazure

Deskripsi

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.

Cara pemeriksaan

Metode audit: Tinjauan manual

Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --include-manual.

It is not possible to audit generated SAS.

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

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.

Properti

Sistem operasi
Apa saja
Tag
access-controlauthazurecloudstorage
Referensi
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'