Skip to content

Commit ac8a8bf

Browse files
committed
update
1 parent 708f725 commit ac8a8bf

4 files changed

Lines changed: 66 additions & 1 deletion

File tree

docs/Independent-Environment/RedLabs/STORAGE ACCOUNT PWNER/StorageAccount06/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Access key
5252

5353
<details>
5454

55-
<summary> What is the flag value? </summary>
55+
<summary> What is the flag value? </summary>
5656

5757
```plaintext
5858
asldbxuj736asoysdmi736
131 KB
Loading
209 KB
Loading
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Storage Account 07 - Access Key (File Share Access)
2+
3+
> Access Key (File Share Access)
4+
5+
:::info
6+
7+
**Scenario**
8+
9+
Storage accounts can be accessed through various methods, and one of them is by using the storage account keys. Use the storage account keys to locate the flag.
10+
11+
**Overview**
12+
13+
What are storage account keys?
14+
15+
A storage account Key is a credential that provides access to the Azure storage account. The account key is generated when you create the storage account and acts as a shared secret between your application and the storage account. There are two keys for a storage account primary and secondary.
16+
17+
**Hint**
18+
19+
- Access storage container without authentication.
20+
21+
**Impact**
22+
23+
- Disclosure of sensitive keys in this case the storage account keys can lead to unauthorized access, data breach, and service interruption in some cases it might also lead to unauthorized billing and reputational damage.
24+
- A lot of companies hardcode these sensitive storage account keys into their code which could be disclosed to unauthorized personnel.
25+
26+
**Reference**
27+
28+
- [Azure Files Docs](https://learn.microsoft.com/en-us/azure/storage/files/)
29+
- [Azure Storage Explorer](https://azure.microsoft.com/en-us/products/storage/storage-explorer)
30+
31+
:::
32+
33+
题目给出了 StorageAccountKey 和 StorageAccountName 两个信息
34+
35+
使用这两个信息,可以连接到储存账户
36+
37+
![img](img/image_20260117-211718.png)
38+
39+
在文件共享中,可以获得flag
40+
41+
![img](img/image_20260118-211802.png)
42+
43+
:::info Flags
44+
45+
<details>
46+
47+
<summary> What type of credential did we use to connect to the storage account? (Access key or connection string) </summary>
48+
49+
```plaintext
50+
Access key
51+
```
52+
53+
</details>
54+
55+
<details>
56+
57+
<summary> What is the flag value? </summary>
58+
59+
```plaintext
60+
ndhbvlgkow3926669bxpqoghsrn3926765asstwidr736asmjbvir736
61+
```
62+
63+
</details>
64+
65+
:::

0 commit comments

Comments
 (0)