#attacking-defending-aws

1 messages · Page 1 of 1 (latest)

flint arrow
#

☁️

rustic plume
#

wow, ☁️ content

charred patrol
#

Thanks for creating this channel! I just joined today and finished the AWS 101 room

lament marsh
#

Let us know how it works out, I'm aiming to hit this path soon along with other projects

charred patrol
#

Will do 🙂

charred patrol
#

Nice and that is part 1 done!

#

I was just wondering, does anyone know if I will have to spin up and pay for my own instance of AWS to complete this course? Or is it like the others where they provide virtual machines to remote into?

empty fern
#

You'll need to spin up THM's I assume.

As they wiill have the credentials and what not for the instance

charred patrol
#

Thank you! I Missed that

lament marsh
#

Hopefully you'll have a lot of fun with it

unborn rose
#

Ooo nice this is going to help me with my aws sec certification

charred patrol
unborn rose
#

As for the cert exam, I am not worried about it, a good course and several good practice exams are more than enough to pass most of AWS exams.

#

I am intereseted in the practical aspect of it.

fickle ermine
quiet mantle
#

Sorry. I can’t afford this add on. Oh well.

fathom crow
#

I completed this module a couple of weeks ago. The content was great. I really enjoyed the last three sections, and I learned a lot. The first two sections are focused on teaching you the AWS Cloud environments and services. It was like a refresher for me, but I think it will be great for novices just getting started in the AWS Cloud Ecosystem. It was very expensive considering you only get 90 days of access. I spent a weekend completing the learning path, and I would consider it fun learning.

coral charm
#

HI Is anyone else having routing issues on the room AWS VPC - Data Exfiltration?
I originally kept getting error messages
" There was an error generating your environment. Please reset your environment or contact support."
But support eventually told me that everything looked ok .
So I kept going anyway. I got everything but the last question.
It seems that I did the route and the security group and the NACL correct.
But that IP is not routing.
I am going to have to reset the environment and try again i guess. I dont know if I did something wrong or not.

I guess that is why they opened this room finally - so that we could solve our problems together and not bother support ?
I was hoping for more considering how much I paid to get access to this. 💰
Anyone else having issues likethis? Did I skip a step or something maybe?

#

OK - i got the thing to route. 🎉
I just added my "special" route to ALL of the route-table-ids that i could find.
I am going to have to go back and find out why i thought I added the correct route-table-id but yet it did not work.
The name of the secret weapon almost makes it worth all the BS that I had to deal with for this room. 👽

coral charm
#

thanks , i was stuck on the last question in the room AWS VPC - Data Exfiltration - see my previous post.
I just added a route to ALL the tables until it worked.
either I was not paying close enough attention or the "real" vpc is simply more complicated than the vpc in the task.
cheers!

charred patrol
#

And that is the 2nd block done! 🙂

#

I couldn't get the very last one to work when I was trying to switch to ahsoka though :/

#

I exported the secret access key, token and id but nada

#

Anyone else get this issue too?

coral charm
# charred patrol And that is the 2nd block done! 🙂

For me , Ahsoka was not a profile but it was a role to assume via "aws sts assume-role" . I think i was using the "default" profile - meaning the one set up for the room. Maybe I am not understanding what you are asking though. 🤷

charred patrol
#

Sorry I meant this part fails for me and returns an error;

woeful jacinth
#

Hi, can someone help with the "Amazon EC2 - Data Exfiltration - Phase 3 - Initial Access". I am following the instructions and trying to get a reverse shell from the target ec2 machine to the AttackBox, but not getting anything.

bleak nebula
#

do you need to pay extra to unlock this

raw mural
bleak nebula
#

That sucks

#

Thanks tho

covert glacier
flint arrow
charred patrol
#

From Kali

flint arrow
#

You can double check profiles using aws configure list

frosty monolith
#

I'm trying to the module for attacking and defending core services - AWS S3 attack and defense but the environment is still stuck in the STS credentials lab. It won't let me reset or regenerate to get the correct permissions to restore the image to the bucket

#

Any ideas how to fix the aws environment?

covert glacier
frosty monolith
covert glacier
#

Same for me in another room. Perhaps there's something wrong then...

flint arrow
#

DM me your AWS account ID (12 digit) @frosty monolith @covert glacier

charred patrol
#

I am stuck on task 8 of AWS S3-Attack and Defence, when I need to restore the image. I get access denied. I even tried regenning the environment and updating the credentials with aws configure. Can anyone point out what I'm doing wrong? I even typed it word for word from the video tutortal I am watching. I also tried it without sudo and same issue

charred patrol
#

I also tried to create the missing policy but I'm not allowed to

flint arrow
charred patrol
#

Yes the environment in the browser is working

charred patrol
#

Anyone else's AWS credentials still stuck? 😦

flint arrow
charred patrol
#

Nothing yet 😦

flint arrow
flint arrow
charred patrol
#

Yea haha. I'm learming when the code all humbles together to just walk away for a few minutes and come back with fresh eyes lol

flint arrow
#

Yeah, the longer the commands, the more it can become Bezos spaghetti.

charred patrol
#

How you guys memorise the syntax is beyond me lol

flint arrow
#

In AWS CloudShell, while typing a long aws command and using the tab key, it will attempt to auto-complete words if they are unique, double tab will give a list of possible options.

charred patrol
#

Here is an odd one. It says to select this but I don't have it

#

It's task 3 of this room:

flint arrow
# charred patrol

Should be there. I just checked for that room. Check in CloudFormation whether one of the 3 stacks is StackSet-understanding-ec2* select this stack, select the Resources tab, there should be entry in there called InstanceProfile with PhysicalID Ec2RoomInstanceProfile with status CREATE_COMPLETE.

bleak nebula
#

What is this room even about?

stuck crag
#

Hello guys,
In STS Credentials Lap room
When I trying to create user , it’s seems I don’t have permission to create user
How can I fix it ?

charred patrol
flint arrow
charred patrol
#

I’m so confused because I generated it in this room 😄

#

I'll try again

charred patrol
#

You da best Tim

covert glacier
#

In the room "AWS Encryption Services" I assume we are not allowed to create and validate the TLS Certiticate, probably for safety reasons. Is that so? I get a permissions error despite resetting the environment.

coral charm
# covert glacier In the room "AWS Encryption Services" I assume we are not allowed to create and ...

Can you open the cloud shell? Can you run
aws kms create-key ?

i am also stuck on awsencryptionservices room
Been trying to work on the KMS/encryption room since last week.
Support seems to barely tolerate me -
They were able to get the environment to finally generate. But I have no permissions and I can not even open the "cloud shell"
I never had a serious problem with any of the thm rooms until i dropped a ton of cash on these.
Its depressing.

covert glacier
#

Sorry for the delay, I confirm I can't open the cloudshell on this environment, nor create a kms key from the attackbox

coral charm
covert glacier
flint arrow
coral charm
#

so i was able to get into cloud shell and i was now able to run
$ aws kms create-key

And a key was created
But as soon as i tried to run the 2nd command in task 3 i got an error:

[cloudshell-user@ip-10-132-45-116 ~]$ aws kms generate-data-key --key-id baba02dd-a3e0-4697-8c59-1fa6f4bde36f --number-of-bytes 16

An error occurred (AccessDeniedException) when calling the GenerateDataKey operation: User: arn:aws:iam::058264512909:user/058264512909 is not authorized to perform: kms:GenerateDataKey on resource: arn:aws:kms:us-east-1:058264512909:key/baba02dd-a3e0-4697-8c59-1fa6f4bde36f because no identity-based policy allows the kms:GenerateDataKey action
[cloudshell-user@ip-10-132-45-116 ~]$

I dont think that resetting the environment between every command is the answer, so i did not try.
This is awsencryptionservices where i have been since last week because of the aws environment issues.

flint arrow
#

It intends to show that even when you can generate a key, without having other permissions, you can not use the KMS key.

#

This is because only the kms:create-key and kms:describe-key permissions are granted in this environment, and not the kms:generate-data-key permission. TLDR: you can create a key, but can't use it to create a data-key.

covert glacier
flint arrow
#

DNS in capitals. 😎

covert glacier
# flint arrow DNS in capitals. 😎

I was writing from my phone so I made that typo, but essentially I copy pasted the command in the room task. The problem was a lack of permissions, which I wasn't able to solve despite resetting the environment.

I couldn't even list the dns zones

As always thanks for your help

flint arrow
coral charm
winter lilyBOT
#

Gave +1 Rep to @flint arrow (current: #15 - 427)

coral charm
winter lilyBOT
#

Gave +1 Rep to @flint arrow (current: #15 - 428)

loud edge
#

I am working through the STS Credentials Lab in the AWS module and I get access denied when attempting to create the user “padawan”. According to the room I should have the ability to do so.

I have already reset the environment. Does anybody know how to get this working?

loud edge
#

Error is “not authorized to perform: I am:CreateUser on resource”

loud edge
#

I generated a new environment and I still receive the same error

#

can't create the login profile if the user doesn't exist and can't create the user because it appears I do not have permission

#

can't generate an access key because the user doesn't exist

#

can't generate an sts token and I can't gain temporary credentials by using the curl command from a previous module

#

the lab even starts with "we will walk through the creation of a new IAM User and an IAM Access Key for that user."

#

and the commands provided do not work

#

some help would be appreciated because I'm stuck

coral charm
# loud edge and the commands provided do not work

i am also having lots of issues with the AWS "environment"
This is what i would reccommend:

Log into the aws console ( website ) with the info in the credentials modal pop-up thing.
Use the link and the username and the "Default Console Password:"
Then try to open up the cloud shell in aws console - the terminal .
If you get an error opening cloud shell then screenshot it.
If you DO get the shell / terminal then paste the commands into that
First run
aws sts get-caller-identity
( just for good measure )
Then run the command that is in the module task:

aws iam create-user --user-name padawan

If you cant get to cloud shell OR if you can but can not run the create-user command then open a ticket in the support chat bubble. You might have to turn off some of your browser protections to see the chat bubble, but that's capitalism for you.

You can expect to have to wait many days for support to even though this is like a 💰 400 module. Support seems to treat everyone as non-paying users . Or maybe thats just me 🤷
-nonattribution

loud edge
winter lilyBOT
#

Gave +1 Rep to @coral charm (current: #804 - 4)

charred patrol
#

Good evening all. Can anyone tell me what I am doing wrong here please?

#

I'm in the AWS Data Exfiltration room

coral charm
coral charm
charred patrol
#

Okay I'll give the reset a try

#

Thanks

flint arrow
charred patrol
#

Yeah I think AWS hates me Tim :/

flint arrow
#

The load balancer is called SSRFLoadBalancer, does not give the attack vector at all. 🤔

coral charm
charred patrol
#

Yup so my time is the same as my host system

#

How long does resetting usually take? I feel like mine is stuck

coral charm
#

a bunch of minutes, several minutes. its why i hate doing it. but one of the support form questions is " how many resets did you try" ( like its my fault for not trying hard enuf?? )

coral charm
stuck crag
#

but now i'm stuck with this 😦

#

What is the flag in the WordPress profile of the user?

#

any hint 🙂

flint arrow
#

@charred patrol Can you try the following command (output should be: None):
aws elbv2 describe-load-balancers --query LoadBalancers[1].DNSName --output text

flint arrow
magic sentinel
#

Going through the Attacking/Defending AWS, I've generated my environment, but my credentials keep coming back as undefined. I've waited several minutes because I know some environments take a bit to spin up. After that, I reset the environment and waited again. Still coming back as undefined and cannot login. Any tips? Thanks.

sacred trench
#

I am stuck on EC2 - Data Exfil still as well as having issues with room generation. I can perform every step of the lab except the revshell. I am unable to communicate with the applicationinstance from the OpenVPN or the AttackBox. My routes are correct and from looking at the network settings on the instance, they also appear to be correct but communication between me and the instance is a no go no matter what I try.

magic sentinel
#

I'm still in the IAM section. I've already regenerated the room but I don't to do it again since we're limited to 3 / 24hr. Going to just let it sit a for a while and try to refresh in a bit. Can't do anything without the creds lol

sacred trench
loud edge
#

According to support there is a limit on the number of times you can reset cloud details. Can’t even access cloud shell anymore

charred patrol
#

Hey all. Does anyone see what I am doing wrong here? I copy pasted the commands but still getting errors:

#

I'm in this room:

loud edge
# charred patrol

Do those instance IDs exist? What’s your output from the step where you write the instance information to the text files?

charred patrol
#

Yup that is where I copied it from

#

I ran these twice now but same issue

#

I even cat the reverse_shell to make sure it matches the attack box ip I got from curl intend.me

magic sentinel
sacred trench
stuck crag
#

Unfortunately, issues have become normal in the env ):

magic sentinel
sacred trench
twin gulch
#

Hello good day, can someone help me with the room Amazon EC2 - Data Exfiltration?
with task 3: Phase 1 - Initial Access / Credential Access
Im trying to do this:
root@ip-10-10-185-153:~# aws configure

AWS Access Key ID [None]: AKIA**
AWS Secret Access Key [None]: ****
Default region name [None]: us-east-1
Default output format [None]:

But i get a message saying:Connect timeout on endpoint URL: "https://elasticloadbalancing.us-east-1.amazonaws.com/"

magic sentinel
sacred trench
winter lilyBOT
#

Gave +1 Rep to @magic sentinel (current: #2000 - 1)

loud edge
#

My rooms do not generate now and I get an error that tells me to contact support.

#

I still have a ticket opened that I’m yet to get a response on.

#

I’m about ready to request a refund. This shit is broken.

#

“There was an error generating your environment. Please reset your environment or contact support.”

#

After a reset it’s the same

twin gulch
digital magnet
#

Hello everyone I'm in the AWS S3 - Attack and Defend Task 8 and whenever I try to generate the AMI from the Image I keep getting an Access Denied. I type AWS configure to configure my enviornment but still nothing. I've reset my environment about 3 times now but still nothing any help would be appreciated!!

digital magnet
loud edge
#

I’ll give it this week before I escalate but I’m expecting a comp on time lost as well.

solar summit
#

Just sent a message in "room-help", but I think this channel is more appropriate:

Need some assistance with Task 8 from https://tryhackme.com/room/awss3service . I'm supposed to find the flag in the profile of a WordPress user. I managed to log in to wordpress via the user's credentials, however there is no flag to be found in this profile (/wp-admin/profile.php).

loud edge
oblique laurel
#

If the room you're doing is broken, you can switch to other rooms in the meantime if you don't want to loose time, other than that yeah I do agree it can be quite annoying

oblique laurel
floral hemlock
#

Did you ever figure this out? stuck there too

solar summit
loud edge
#

aws acm request-certificate --domain-name blah-blah.bestcloudcompany.org --validation-method DNS

An error occurred (AccessDeniedException) when calling the RequestCertificate operation: User: arn:aws:iam:🅱️lah-blahuser/blah-blah is not authorized to perform: acm:RequestCertificate on resource: arn:aws:acm:us-east-1🅱️lah-blahcertificate/* because no identity-based policy allows the acm:RequestCertificate action

charred patrol
#

Guys I might give up on this room

#

Too many issues and they aren't getting resolved

#

I cannot even do the AWS encryption services room. I reset the envir many times and it still doesn't give me access to the cloud shell. Have any of you completed this room?

loud edge
#

When my environment breaks (which support still cannot fix) I just move on to the next without completing the last. I'm not going to get a cert but at least I'm still trying to learn something

#

there's an error in the code on the AWS Lambda room and I have no idea how people got through this section as the code doesn't work.

#

THM needs to fix the typo in the code:

There's a typo in the line within the loop where it says os.environ[key]. It seems like there's an extra space, and it should be removed.

#

def lambda_handler(event, context):
logger.debug("Received event: " + json.dumps(event, sort_keys=True))
for key in os.environ.keys():
logger.info(f"{key}={os.environ[key]}") os.environ[key]
return(event)

#

that's the code

#

it should be this

#

def lambda_handler(event, context):
logger.debug("Received event: " + json.dumps(event, sort_keys=True))
for key in os.environ.keys():
logger.info(f"{key}={os.environ[key]}")
return(event)

charred patrol
loud edge
#

get as far as you can and keep pestering support, that's what I'm doing

vagrant islandBOT
#

There are no URLs in that message.

solar summit
charred patrol
#

Hey there. Can I have some help please with the AWS IAM Enumeration room please? Task 4 wants us to install quiet_riot. It is giving me an error when I try to install it which I cannot seem to bypass. I looked on their github but it isn't listed in the issues

#

ERROR: Cannot uninstall charset-normalizer 3.3.2, RECORD file not found. Hint: The package was installed by debian.

charred patrol
#

I finished!

#

Shame there weren't any badges though 😦

solar summit
#

And congratz btw

spring cypress
#

I am having issues with EC2 Data Exfiltration when trying to gain the initial reverse shell from changing UserData. I've used my Public IP address but the ApplicationInstance does not attempt to call back to my listener. Any help please?

livid crag
#

having the same problem as L3UM... can't get the reverse shell connection to work

#

I can connect to the listener (on AttackBox) from my local so the IP is correct but can't get the EC2 intance to connect even after a few stop/start attempts. the userdata is updated, I've downloaded it

#

@flint arrow ?

rich crescent
#

I was really excited to tackle this learning path but was very surprised on how much it was!

livid crag
#

in terms of cost or content ? 🙂

rich crescent
#

Cost

livid crag
#

I'll let you know if it pays off :))

misty vault
#

Hi! Can someone please help me, the cloud details always provide undefined credentials so I cannot login to AWS environment and can't finish the room.

#

I tried to reset the environment or generate but still got the undefined creds.

novel sunBOT
raw mural
#

If you verify, you can send a screenshot of whats happening

misty vault
#

I always got this creds

#

Whenever I tried to reset the environment it always like this

flint arrow
misty vault
winter lilyBOT
#

Gave +1 Rep to @flint arrow (current: #16 - 438)

flint arrow
misty vault
winter lilyBOT
#

Gave +1 Rep to @flint arrow (current: #16 - 439)

misty vault
wispy flicker
#

Hey! I am currently studying IAM Permissions room in Introduction to IAM course and I think I might found an error or I just can't understand smth.

In task 7 Conditions there is th following statement:

{ "Effect": "Deny", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::my-logs-bucket/AWSLogs/AccountNumber/*", "Condition": { "StringNotEquals": { "aws:SourceVpc": "vpc-abcdef2", "aws:PrincipalServiceName": "glue.amazonaws.com" } } }

And there is a question

The Glue Service, running in vpc-12345, can write an object to the my-logs-bucket? (T/F)

I think that the answer is undefined, because for this policy to take action we need to have two conditions match simultaneously, but because the Glue Service is accessing the bucket in our question, we should skip evaluating this policy. Am I right?

untold fern
#

Hi there,
I'm having the same issues as user Kash above.
The cloud details always provide undefined credentials.
I've tried generating and resetting the environment, but still get the "undefined" credentials.
See picture attached.
I have created a ticket two days ago, but still waiting for a response, hence why I'm here asking for help.
Please and thank you.

untold fern
wispy flicker
#

Thus it is not explicitly denied at least

untold fern
untold fern
wispy flicker
wispy flicker
untold fern
#

The policy explicitly denies everything is not equals to the condition. Implicitly allowing the condition.

wispy flicker
untold fern
# wispy flicker Are you sure about that?? So you wanna say, that everything that is not denied i...

Sure about my boolean logic? Yes, I am 🙂
The questions is asking whether or not vpc-12345 has writing access to my-logs-bucket which based on the policy it does not. No argument there, right?

What you're referring about the implicit allowed does not affect the question whatsoever.

But yes, there would have to be another policy explicitly allowing writing access to The Glue Service, running in vpc-abcdef2

wispy flicker
#

I mean, learn that “everything that is not denied is allowed”

untold fern
wispy flicker
pure flame
#

Hi there

misty vault
#

Hi guys, got another problem on my aws. The credentials provided was wrong so I cannot access again the AWS environment.

#

I tried to reset it multiple times, but the error persist

gray raft
#

Hello there. I am stuck in the AWS S3 - Attack and Defense room - Lab S3 Abusing the Substrate, as I cannot answer the following question: What is the flag in the WordPress profile of the user? I already searched for the flag in the local files on the EC2 instance and also on the wordpress instance in my browser (through port forwarding), but I do not find the flag. Am I missing something? Thanks for the help. 🙂

raw mural
#

Put in the creds you found and you'll find the flag there

magic jacinth
#

Hey guys.. I am trying to do the AWS API gateway and this is taking forever to generate. Any suggestions on what to do?

raw mural
magic jacinth
#

@raw mural
I did the 'Leave' thing but when I tried to 'join' again it seems like I was still in it?

raw mural
#

Is the cloud details still generating?

magic jacinth
raw mural
#

@flint arrow Seems AWS environment is stuck on Generating

flint arrow
magic jacinth
#

Still the same.

flint arrow
#

Strange, as the AWS API Gateway environment did generate successfully for your AWS account. Will have to investigate further.

magic jacinth
#

My main problem is how it is stuck on a button level so I can't run it again from any other room.

flint arrow
flint arrow
magic jacinth
flint arrow
flint arrow
#

Basically the page somehow is not up-to-date:

userId:"REDACTED"
operationState:"SUCCESS"```
magic jacinth
flint arrow
#

I'll send a DM with a link to try.

gray raft
winter lilyBOT
#

Gave +1 Rep to @raw mural (current: #61 - 114)

magic jacinth
#

I think I will need an extension on access to AWS while my case gets fixed.

rain lark
#

Is this course worth the 400 dollars?

silk locust
#

375

#

i mean... idk it depends... if you're hurting for money, doing a few extra labs isn't going to change your life.

#

having said that, you can generate vulnerable AWS environments on demand to practice

#

and if that's worth $375 to you, then sure

rain lark
#

thx

magic garden
#

Can someone help me understand this? Given the operator is "StringNotEquals" but the request is coming from "glue.amazonaws.com", shouldn't that match the condition not being false and therefore allow a write?

flint arrow
magic garden
flint arrow
#

It is an OR. An explicit deny takes permissions away.

magic garden
#

Well yes but it has StringNotEquals, and the tip suggests it's AND'ed

flint arrow
#

I'll have to check in the room, which room is this?

magic garden
#

IAM permissions room under task 7 "Conditions"

#

My coworker and I were debating this, we were stuck at this suggested explanation:

In AWS IAM policies, when multiple conditions are specified within a single condition block, they are combined using a logical AND. This means that for the policy statement to apply (in this case, to deny access), all the conditions in the block must evaluate to true. If even one condition evaluates to false, the entire condition block evaluates to false, and the policy statement (the deny effect) does not apply.

However in the room, the glue service is making the request and therefore would be meeting one condition to false, given Glue is part of the 'StringNotEquals' portion

#

This is from AWS's website as well

flint arrow
#

The second one appears to be false as well, I don't think there is a glue.amazonaws.com PrincipalServiceName

magic garden
#

Well the question is a bit confusing as it just says "The Glue Service", does this mean it's not the aws:PrincipalServiceName "glue.amazonaws.com"?

flint arrow
#

I think so, the documentation does not show a PSN condition context keys for the glue service .

magic garden
#

Apologies, what do you mean by PSN?

flint arrow
#

PrincipalServiceName 🙂

magic garden
#

But isn't the condition context key stringnotequals?

flint arrow
#

Yes, so both conditions are met as not equal, so it is a deny.

magic garden
#

I guess where I'm getting hung up is where AWS docs state:

"When multiple values are specified for a single context key in a policy with negated matching condition operators, the effective permissions work like a logical NOR. In negated matching, a logical NOR or NOT OR** returns true only if all values evaluate to false**"

In this instance, StringNotEquals is a negating matching operator and given Glue is present in the policy, wouldn't the scenario cause the policy to evaluate as false and therefore negate the deny effect?

flint arrow
#

Only if there was a glue.amazonaws.com PSN that represents the Glue Service, which I can't find as true. I'll see if I can make the question more clear.

#

AWS does not openly list these PSNs, which complicates it even further. 😄

magic garden
#

OOOOH

#

Okay yeah

#

That SUPER needs clarifications, see I didn't realize that:

The aws:PrincipalServiceName condition key in AWS IAM policies is used to specify AWS service principals. These principals are predefined by AWS and correspond to the various AWS services that can make requests on your resources. You cannot create your own aws:PrincipalServiceName values; you must use the ones provided by AWS.

#

That is super super duper important, my brain saw "The Glue Service" and related to the policy JSON there. I think it would be very help to clarify that some of those aws:PrincipalServiceName cannot exist

#

Thank you for taking so much time to clarify this for me!

#

BUT to be clear @flint arrow if that aws:PrincipalServiceName was one that existed but it was coming from the wrong VPC, it would still go through and not be denied, right?

flint arrow
#

Than it would be allowed. 😄

magic garden
#

Okay that is awesome, now it is crystal clear haha

jaunty shale
#

hello anyone was facing this issue while generating the cloud enviroment ?

raw mural
jaunty shale
#

I could not spin up the environment

raw mural
#

What happens when you try to spin it up? Is it getting stuck?

silk locust
#

honestly i completed the whole thing 100%, and i ran into issues from time to time with incorrect permissions and stuff. if you just regenerate it like 2 or 3 times a lot of times it just fixes itself.

scenic olive
#

Anyone make it through the AWS Lambda? Have trouble with the file handler question.

scenic olive
#

The handler function is missing from the zip file. What should the filename be? Makes no sense to me.

scenic olive
#

Figured it out. That was a tough one.

magic garden
#

I don't understand what we are supposed to do in this task, when I attempt to run the commands specified in Cloudshell I just get back:

"An error occurred (AccessDenied) when calling the CreateUser operation: User: arn:aws:iam::339712963689:user/339712963689 is not authorized to perform: iam:CreateUser on resource: arn:aws:iam::339712963689:user/padawan because no identity-based policy allows the iam:CreateUser action"

#

I'm resetting the environment but seems to be taking a minute and is stuck in 'resetting'. Though I'm guessing this is normal?

#

Okay after environment reset I'm getting the same error for lack of privileges to create the user:

#

Okay figured it out. If anyone in the future is wondering why they cannot "create user", it's because you need to "generate the environment". After you do it will look like this in the cloud details tab:

flint arrow
magic garden
flint arrow
#

And which part you don't need when using AWS arn signifiers like s3://

magic garden
#

Ooooh, now it is making some more sense and things are happening. For the second link, that's not a bucket...right? Is Amazon gonna door down for attempting to sync that? Haha

flint arrow
#

Second link will not work. 😄

magic garden
#

Yeah I got a failure or a deny and then afterwards I was like "Wait...this doesn't look right" lol

magic garden
flint arrow
magic garden
flint arrow
magic garden
winter lilyBOT
#

Gave +1 Rep to @flint arrow (current: #16 - 448)

flint lichen
#

anyone could recommend some good reverse engineering resources like free Books, online courses, or tutorials. Thanks in advance!

primal flower
#

Hi team, I'm having errors generating the environment for the EC2 Data Exfiltration room. It failed multiple times, and it now says:

Uh-oh! You have maximised your number of attempts. Please try again

Did this happen to anyone here?

karmic nacelle
#

I don't know what I'm doing wrong, but I've issue with the environment of Amazon EC2 - Data Exfiltration. I've already reset the environment two times, but still without success. I receive permission denied almost on everything. If I try the elbv2 describe-load-balancers I've receive: An error occurred (AccessDenied) when calling the DescribeLoadBalancers operation: User: arn:aws:iam::xxx:user/xxx is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers because no identity-based policy allows the elasticloadbalancing:DescribeLoadBalancers action. If I access to the console on cloudshell I receive this message: ```Unable to create the environment. This may be due to insufficient permissions to create VPC or public environments, or because the environment no longer exists. For more information, contact your IAM administrator.

System error: User: arn:aws:iam::xxx:user/xxx is not authorized to perform: cloudshell:GetEnvironmentStatus on resource: ```.
I can reset the environment again, but it will be the third time.

warped viper
warped viper
winter lilyBOT
#

Gave +1 Rep to @primal flower (current: #2127 - 1)

karmic nacelle
raw mural
static ledge
#

does attackboxes have internet connectivity? doing sts credentials lab and tasks are asking me to use attackbox, but when i run aws sts get-caller-identity, i'm only getting "could not connect to the endpoint URL: ..."

fast ginkgo
#

Hi all. Is anyone else experiencing issues with generating or resetting their environments? For the past two days for multiple rooms beginning with EC2 Data Exfiltration and each room after that, it takes a really long time to generate the environment. Lately, I have not received a message stating the environment was generated successfully and is ready to use; I have to refresh the page. Then, when I log in to the AWS console, I see access denied in many of the panes. I sent a ticket two days ago but no one has responded. I'm curious if anyone else has had issues with their environments. So far, this "attacking-defending AWS" path has been riddled with technical problems that have hindered learning. Which is a shame, because I think it is a great learning path, but the tech issues really need to be worked out.

warped viper
#

@fast ginkgo Yes, there are a few of us who spoke up recently about the EC2 Data Exfiltration lab being broken. Myself, @primal flower, @karmic nacelle, and now you. I’ve done a dozen+ resets to no avail. I have a support ticket opened with @raw mural that has been open since July 6th. He said the AWS team is still looking into it.

I was offered a full refund by THM on the condition that they revoke my access to the AWS learning path, which really sucks because I am 90% complete with the path so I don’t want to do that but I do think partial refunds are in order.

I was advised to just skip that module until a solution is found. However, fast forward and now I am at another lab-breaking bug in the AWS IAM Initial Access Task 5 section.

@flint arrow can you please have your AWS team look into these 2 separate bugs? I’ve spent 10 hours of my own time trying to troubleshoot the EC2 Data Exfil room.

Thank you

winter lilyBOT
#

Gave +1 Rep to @fast ginkgo (current: #2157 - 1)

fast ginkgo
# warped viper <@941676826307231754> Yes, there are a few of us who spoke up recently about the...

I appreciate the response. It's somewhat relieving to know I'm not the only one experiencing issues with it. However, I am still waiting to hear back from THM on my ticket. I plan to follow up with them tomorrow. I, too, enjoy the module and am so close to finishing it. I would prefer they fix the problem so I can complete the path. Or perhaps grant a 30-to 60-day access extension to allow me to finish it once they correct it. We will have to see how they respond. Thanks again!

winter lilyBOT
#

Gave +1 Rep to @warped viper (current: #2157 - 1)

flint arrow
onyx prairie
#

Hello,
I have an issue with the room Data Exfiltration.
The command to list all load balancers does not work. I have this message :

An error occurred (AccessDenied) when calling the DescribeLoadBalancers operation: User: arn:aws:iam::339713192398:user/339713192398 is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers because no identity-based policy allows the elasticloadbalancing:DescribeLoadBalancers action

The command still not work with attack box with message

Connect timeout on endpoint URL: "https://elasticloadbalancing.us-east-1.amazonaws.com/"

echo peak
#

I am in the same boat with the EC2 Data Exfiltration room not loading properly and resetting it does not work properly. Quite a shame 😦
Here's what I'll do, and will update this as I move along. Follow the 'skip this for now' advice and move on with the VPC rooms. Generating the environment for the VPC room might also help as a workaround reset or something.

echo peak
# echo peak I am in the same boat with the EC2 Data Exfiltration room not loading properly a...

Current error for the ec2 data exfiltration room:


An error occurred (AccessDenied) when calling the DescribeLoadBalancers operation: User: arn:aws:iam::12345678912 :user/12345678912 is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers because no identity-based policy allows the elasticloadbalancing:DescribeLoadBalancers action```

I have generated a different room (the "AWS VPC - Attack and Defense"), which loaded fine. Having this room generated makes the generate button on the ec2 data exfiltration visible again. Upon (re)generating the ec2 data exfiltration room again, the issue persists. 

From the messages earlier in this chat, I can tell that THM is aware of this issue and the issue does not seem to be caused by a user. However, it would be nice to know if someone is also looking into it. I am fine with skipping, but would like to 100% this before the 3 months are up. (:
echo peak
flint arrow
echo peak
onyx prairie
#

Hello,

I Have the same issue for the room AWS VPC - Data Exfiltration

aws ec2 allocate-address

An error occurred (UnauthorizedOperation) when calling the AllocateAddress operation: You are not authorized to perform this operation. User: arn:aws:iam::339713192398:user/339713192398 is not authorized to perform: ec2:AllocateAddress on resource: arn:aws:ec2:us-east-1:339713192398:elastic-ip/* because no identity-based policy allows the ec2:AllocateAddress action. Encoded authorization failure message: zevAl8v_-Yy36aVk_69zTTiyXRBNP9RSmiNAhmeU1bOAGP3AiE0BYVH9tW06hQ0v0LeAaHNmPimWGoMJ29GuE2mEq0EVN0vt-SdSUcLF-PLc5HvnKvk1JgIQepPvnc6mCcX2h1hzdiMAG9HqWRcgmpz5tDKzza9TETbGZ0Az64sJHxI5-pBprg837FXGOXYUDH9-Vn0XGDXqNXmzlYpMFblS5iYh0HygYOqVhjvOf9l7PAqBX1v4H2tk6d4WyBOxg71l-CthEs3Hsf0edqM_OQkkkRJUBZowldOb7yStOcVqVV3ySp_iTszZWZ_QkjgS7hVDODkPmDDGdSgYRLNUcqzidGRxOpyMpiwsCCsgOSt3XPsDp9hjH1IB1dmTYWXoj38nxZh6TBWQ9koDZgXXI_zd7BgeK4hzWp0L954c59l39Qv9kejzBZnV8ipVYDAfD-9lKnC3Hv8BvIrLgN0VZaXXPvhNhOrktble8rvMjjrS-WQQM_NJviWl9sypowlGuA

Is it possible to fix it ?

#

Moreover, the connexion from the Attack Box get into time out.

hallow swan
#

Hi everyone, I am just new with the aws path, and have first issue with IAM Principles room - (my account doesn't have permissions to see the users in the IAM Console), as I understand the typical way of operating here is to reset the environment, and to pray that the next one will be correct?

hallow swan
#

Is it normal that I wait a few days for any sign from the tech support?

inland knot
raw mural
drifting pelican
# hallow swan Hi everyone, I am just new with the aws path, and have first issue with IAM Prin...

Hi! I just wanted to say I have the same issue with mine. Signed up yesterday and have tried to reset environment a few times. When logging in via the console, there are no permissions on the account. I’ve also tried using the CLI but same permissions issue.

Btw I ran the keys through a tool I built (https://github.com/MillerMedia/awtest) and it seems they have basically no permissions.

GitHub

Pentesting tool for AWS Credentials. Contribute to MillerMedia/awtest development by creating an account on GitHub.

drifting pelican
#

Ok, update on this. I only had a ‘reset environment’ button previously but for some reason when I went to cloud details in the ‘AWS S3 - Attack and Defense’ room, there was a ‘Generate Environment’ button again so I clicked it and it seemed to work this time

drifting pelican
#

Thought on one of the rooms. In the AWS S3 - Attack and Defense room the final question ‘What is the flag in the Wordpress profile of the user?’ Is super confusing because:

||You get the users credentials by logging into the EC2 service. These logins work on the Wordpress instance on that EC2 instance which I accessed by SSH port forwarding remote port 80 to my local machine (since we only have SSH to that machine). I logged in, searched around forever and could not find the flag. The flag is on the actual bestcloudcompany.org site with the same credentials. Didn’t make any sense to me why that would be the case? Perhaps an easy fix would be to also include the flag in the users profile on the version we spin up from the AMI?||

drifting pelican
#

Hi, any updates on the issues with the IAM principals room (and the other Introduction to IAM). I have finished all other AWS rooms and am stuck because the environment does not generate the right IAM permissions for me to do those rooms. Thanks!

hallow swan
#

I didn't get any answer for more than week

drifting pelican
#

Hmm yeah I guess. I’ve finished everything else that I can for the AWS modules

hallow swan
#

Do you know any additional channel to contact tryhackme, it seems they give a f. to the chat

#

thanks

drifting pelican
#

I don’t. I’ve opened a ticket too and posted here but that’s all I know. Maybe the #subscriber channel?

hallow swan
#

hwo did you open the ticket, via chat?

drifting pelican
#

@hallow swan yes the icon on the bottom right of the screen when on the website. Can open up a ticket that way

hallow swan
#

IMO IAM rooms are correcred now, I gave it try once again, and everything with privildges is OK.

lusty mist
#

Can anyone provide a tip for AWS VPC Task 9 answer, "What is the routing target prefix for the VPC Peering connection?". My AWS environment doesn't have any peering connections. I've looked everywhere. And the hint isn't helpful since all it says is to include the dash

#

Is this the only place to come for help when stuff isn't working as it is supposed to in these AWS labs? jw

brisk ravine
#

Hello, whenever I try to generate/reset an environment I can get a username but the rest of the information are set to undefined: can someone assist me ? Thank you

gaunt arch
#

Hey folks - I've had a support case open re: AWS Environment since Sept 30. @raw mural has a been handling the case and has been very gracious. The problem is I can't complete the Hacking and Defending AWS track because my environment is either "not ready" or broken. Anyone else had any issues with the AWS environments?

dark wedge
polar sparrow
#

Please help, I'm doing the aws lambda room task 4 Components of lambda question: what are the first two sentences of the error message you received when the get-function command tried to read the environment variables, I literally copied and pasted the error message: Lambda was unable to decrypt the environment variables
because the KMS access was denied. Please check your KMS permissions. KMS Exception:
AccessDeniedException KMS Message: The ciphertext refers to a customer master key that does not exist, does not
exist in this region, or you are not allowed to access. Its still saying its wrong yet I looked up someone else also doing it and they did the same thing so I don't know what I'm doing wrong. My access also ends for the course on the Monday

dark wedge
polar sparrow
#

It had been a few weeks since I used it last, I have created a ticket but I don't know what the chances of them getting back to me are before I lose access

#

But if aws has changed their policy and settings what does that mean for us and will we not be able to complete this training?

dark wedge
half tulip
#

@dark wedge same, stuck without an option to generate creds and without access to AWS env for 1+ week and been waiting for tryhackme staff to fix the access issue

polar sparrow
#

I created a support ticket but I have heard nothing back I'm on 99% completion but can't get the cert because of the broken question 😭

dark wedge
#

my access was useless for 3+ weeks, the 3-month licence only left 1/3 time.....😇

gaunt arch
#

I finally had my issued resolved. I asked for an extension based on the lost time and it was granted. I would suggest doing the same.

winter lilyBOT
#

Gave +1 Rep to @gaunt arch (current: #2340 - 1)

dark wedge
gaunt arch
misty plinth
#

Does anybody know where to look for the flag in the wordpress profile of the user in the "AWS S3 - Attack and Defense" room? I tried to look everywhere that makes sense but found nothing

#

I'm logged in as the user in wordpress, with the creds retrieved earlier in that room, just didn't see anything.

lusty mist
#

Has anyone ever been able to complete AWS VPC - Attack and Defense Task 9? "What is the routing target prefix for the VPC Peering connection?" It seems impossible in my labs as thee is not a Peering Connection. This lab seems busted

supple oasis
#

Hey folks, I have a question regarding the "AWS S3 - Attack and Defense" room. When trying to sync the S3 bucket for task 6 I'm getting Access Denied. I was wondering if anyone else ran into this issue, or maybe some permissions changed on that S3 bucket so that it's no longer public?

nova sequoia
#

Hello friends, I'm currently experiencing some issues within the STS Credential Lab for the Attack & Defending AWS path and was wondering if someone else has solved this issue before. The task is to create an IAM user account specified in the room, however the Cloud Environment does not have the privileges to invoke the operation CreateUser. (iam:CreateUser on resource: arn:aws:iam::799048156303:user/padawan because no identity-based policy allows the iam:CreateUser action). I’ve reset the cloud environment to no success where I'm curious if this needs to be resolved by THM staff.
https://gyazo.com/10258702c6d223bf0813d79c8aceaf88

nova sequoia
icy reef
#

You are not authorized to perform this operation. User: arn:aws:iam::2169890993** :user/2169890993** is not authorized to perform: ec2:RunInstances on resource: ..

#

altho i am logged in with the right creds

#

tried to reset lab, same issue

#

ec2 part

wispy flicker
#

Hey! I have difficulties submitting answers to task 6 in AWS IAM Enumeration room. My scan shows me N principals, but it seems like TryHackMe expects another answer…

empty hare
#

hi...has anyone done any other aws training, such as HackTricks or CloudBreach? How does this one compare? Thanks!

idle pagoda
#

Hey Guys,
I am planning to get the AWS labs and I just wanna know whether it's worth it for the price (£329) :/

empty hare
#

how do i get help with the aws console? i had to reset the environment and it reset with many errors. and unable to reset again (max limits)

empty hare
#

Any help??

dreamy coral
#

When I have had issues @empty hare Ive went to anotehr module in the course - generetated from the other module. Once thats completed. Gone back to the one im working on and then generetated it again. Its a work around for when you need to start over or hopefully sort out the problem you are having.

empty hare
empty hare
pliant hound
#

hey ther

#

i'm planning to buy the course but price is a little bit salty, does anybody purchased before? is it worth ?

restive summit
spiral reef
#

Hello, anyone in AWS Training ? I'm getting always this message when clicking on cloud details
Environment State:

Not Ready
You do not have access to any environment

agile sorrel
#

Hello, is Attacking-Defending AWS path learning material still going to be accessible after 3 months of course duration. I am sure AWS environment won't be available but I am wondering at least if we can have access to the course material after 3 month

covert plover
lunar stump
#

can anyone help with IAM Credentials room, in Task 5, it's mentioned "The Root User or an IAM User can only have two Access Keys at one time."
Then the question "How many active IAM Access Keys does the TryHackMe-IAM-User have?" has an answer 1 not 2 ??

iron olive
#

Hello everyone it will learn me the basics of AWS

lunar stump
arctic cypress
#

Is anyone else having issues with not having the correct privileges in the console to perform actions? Right now I am working on the VPC room and i can see the answer wants a 10.xxx.x.x/xx address. However, when i go to the VPC console and even on the page a 172.xxx.x.x address is listed. What’s going on and how do we complete these rooms when nothing matches.

raw fiber
#

how long does a environment reset take, it been almost 10 mins!

#

and now it seays I've used all my resets for today! We need some direct support here! Not great for £300

terse lynx
#

STS Credentials lab - "Refer to Task 2 where we added the user to the padawans IAM Group." Task 2 is nothing to do with this. Like who even does the QA checks for these?

#

I expect absolute perfect stuff if I am paying £160

raw fiber
raw fiber
raw fiber
terse lynx
raw fiber
#

On the "EC2 Storage and Networking" section, did anyone have issues with the "What CTO is quoted in the flag you found on the volume?" flag? I mounted the volume, but there is no flag

raw fiber
#

Not sure how it happened, but my instance is in AZ zone 1d, my volume is too. But even when I try and attach the volume to my instance in the GUI, it says there are no instances available in 1d.

#

Ah got it now, wasn't clear about swapping between cloudshell vs beig in local instance

spring saddle
#

Since a few days I can no longer generate an AWS environment from “Cloud Details” even though I have a valid subscription license for AWS course.
I am getting the following message on "Cloud Details":

  • Environment State: Not Ready
  • You do not have access to any environment

I see on Discord that several people are asking the same question, but I can't find a solution. I have also sent an email to the helpdesk, but have not received a reply even after several days.

Could someone please help me with a solution?

terse lynx
#

not sure if this is a glitch but when I need to generate an environment it needs to have the appropriate environment name instead its just : You have access to an environment for the following rooms:

STS Credentials Lab
STS Credentials Lab
Please note that generating an environment for this room will destroy the environment used in previous rooms

#

its changed now to this: You have access to an environment for the following rooms:

STS Credentials Lab
AWS S3 - Attack and Defense
AWS S3 - Attack and Defense
AWS S3 - Attack and Defense
AWS S3 - Attack and Defense
AWS S3 - Attack and Defense
which is now correct but a tad few many blobhuh

terse lynx
#

AWS S3 - Attack and Defense - Lab was not good, some of the commands were lacking or were not explained properly at all.

raw fiber
#

I still cannot finish the last question for AWS S3 - Attack and Defense (What is the flag in the WordPress profile of the user?) Not sure if I am missing anything obvious. @terse lynx did you complete it with that PW?

terse lynx
raw fiber
spring saddle
winter lilyBOT
#

Gave +1 Rep to @terse lynx (current: #639 - 9)

raw fiber
terse lynx
#

but yeah I do agree, could do with more support

proud temple
terse lynx
#

I am not sure how tickets get picked up but I would hope that people with a cloud license gets put on top of the pile and gets looked first before the premium and free users

raw fiber
raw fiber
raw mural
#

Hey, We are looking into the issue with S3. As soon as we have an update I will let you know

#

For the issues occurring. We can extend your license for the duration until the bugs are fixed

winter lilyBOT
#

Gave +1 Rep to @raw mural (current: #55 - 167)

raw fiber
raw fiber
raw fiber
sullen wraith
#

Hi all I am currently in the AWS introduction. and on the IAM Principals when I generate the environment I am not given any credentials outside of username. Is there something I need to do to access that information?

terse lynx
#

Amazon EC2 - Attack & Defense ----> Task 3 step 4: first, select "64-bit (Arm)", then make sure "Amazon Linux" is highlighted. It does not even appear like it does in the screenshot

#

Instead I get the error: The AMI ID (ami-0b86aaed8ef90e45f) is not valid. The AMI might no longer exist or may be specific to another account or Region.

#

Even though I have filled out the exact same Amazon Machine Image (AMI) like in the screenshot

#

Sigh this is the second lab with problems. All the theory stuff has no issues but the most valuable stuff which is labs has issues. Not good, I am going to reset environment and try again. But not happy overall with this

#

Not only that, I have been sent out as a test from my team at work to try this and if its good the whole team will get it. Looks like that aint happening.

#

Thank God reseting worked. I have a feeling that when u launch the cloud instance it gets stuck in the previous lab or something idk

terse lynx
#

Overall impression so far. I feel the content is rushed through, It just starts as though it assumes you know everything back to front and you are an AWS wizard. "Attack and Defend" Where exactly is the defend in the EC2 lab. How can a defender look through the logs or find stuff that indicates this suspicious behaviour? 1st and 2nd lab have been low quality content so far. Not great. The azure path on the other hand is well structured and does not assume you know everything.

#

Where is the Cloudtrail logs, where is the investigation part????

#

I am just halfway and I feel the money put into this has not been worth it for the AWS path. Hoping the rest of the labs will change my perspective, so far the theory has been average and the labs have been trash. Sorry for being blunt I give credit when its good and up front when its bad.

raw fiber
# raw mural Whats your THM username?

mechs85. I got around this by reseting the room, even after I had just generatd it. But my isue is now as quoted above (pinging public IP of EC2 instance). I'll do the rooms I had issues with again next week, but sometimes its hard to know if it is a room issue or anything else

raw fiber
# terse lynx Where is the Cloudtrail logs, where is the investigation part????

that is the inverse of what someone said in the Azure room, it's all blue and not much red. I have forgotten about the defensive side of things on this course, but luckily for me I am actually doing a threat hunting Cloud course and I knew nothing about AWS, so I chose this course for the attack side.

I will hold off judgement for now, but honestly I don't know why this cost me x3 times more than my premium subscription; and I have actually cancelled my yearly premium now. THM would not see good for the discount code I did not know about, so this was £300+ for me and it certainly just feels like it is that price for the AWS workload cost and not the content.

Anyway, I am hopefully going to finish up next week, take some notes and move on from this. But I hope THM will see to it they either give us permanent room access or much longer to redo these labs, as it has been really bad.

terse lynx
#

"We have millions of users waiting for us to do more, and if we don’t solve their problems better than anyone else, a competitor will." - Ben Spring. Yes that competitor will be HTB @supple crescent .

empty fern
#

Hay, can I dm you?

supple crescent
supple crescent
raw fiber
#

So ATM I have the following hurdles:

-Wordpress login for user fails
-No peering for VPC connection
-Cannot contact public IP for VPC exfil room.

LMK if people are also stuck on these, as its hard to know if I need to reset my env or if there are general hiccups.

terse lynx
raw mural
winter lilyBOT
#

Gave +1 Rep to @raw mural (current: #54 - 169)

raw fiber
terse lynx
#

did not work for me although I have not tried again

raw fiber
#

ok, I just tried again, still nada. Trying some of the others that hopefully were fixed with a reset

terse lynx
#

there was a question on peering I was stuck on for a very long time

#

I am going to do the VPC exfil room now

raw fiber
# terse lynx there was a question on peering I was stuck on for a very long time

Yeah that, I actually watched a video of someone getting stuck for ages on the same thing. Questionw as not clear at all

https://www.youtube.com/watch?v=pFKUHZTYzqg

Join the Hack Smarter community: https://hacksmarter.org
--- This is from a series of working through the full "Attacking & Defending AWS" Learning Path on TryHackMe. This is a B2B exclusive path, and I have received permission from TryHackMe to live stream all of the content.

In this video, we begin to learn about AWS Virtual Private Cloud (V...

▶ Play video
terse lynx
terse lynx
#

I was hoping I could maybe do a few tasks before hitting a brick wall but it looks like I can't 😅

raw fiber
#

well, that's a waste of time me trying 😄 I was trying to regen the environment. Ah well. @raw mural - still issues on the VPC exfil room it seems

terse lynx
#

I tried doing aws configure command and tried to fill out the relevant details but that did not work either

raw fiber
#

yeah let me know. I'll try in CloudShell

terse lynx
#

@raw fiber reseting worked

#

probably might be worth reseting every time you start a new aws room.

terse lynx
#

or first?

sullen wraith
#

Anyone know why I cannot get cloud details on the IAM principals after resetting the environment?

terse lynx
#

@supple crescent see my DM? u asked to DM you but not sure whether you seen it yet.

novel magnet
#

Is this supposed to happen? I am in the resource policies & sscps room*

flint arrow
winter lilyBOT
#

Gave +1 Rep to @flint arrow (current: #17 - 542)

terse lynx
#

"Attack and Defense" I am close to finishing this and have not seen one bit on defending

valid sparrow
#

Is it possible that the password for the lab 'S3 - Abusing the Substrate' in the Attacking and Defending AWS > Core Services > AWS S3 - Attack and Defense section has been changed? I'm trying to access the flag in the WordPress profile and want to make sure the room credentials are still valid.

glacial bough
#

I'm in the IAM Principles room, says to 'Take a look at the users that exist in your TryHackMe Account via this AWS Console Link'.
Link opens to a log in page and I have no credentials.
Cloud details button at the top of the page has no credentials in and no access to any environment.
Not sure how to log in...

valid sparrow
glacial bough
valid sparrow
glacial bough
terse lynx
#

sorry all the aws rooms

glacial bough
terse lynx
#

afaik

glacial bough
winter lilyBOT
#

Gave +1 Rep to @terse lynx (current: #552 - 11)

raw fiber
terse lynx
# raw fiber Nope. This has been an issue since last month. They have not bothered to address...

I might make a blog post or something, not sure yet. I think its important people know our experience with it rather than blindly trusting without any reviews and giving money to THM. I think its important as well people review this chat to see how other people found it. I am not biased, I think the azure path was generally good apart from the hiccups with the 3 rooms that were privated. The challenge room was fixed relatvely quickly on that side but the other 2 rooms are still not fixed. But the AWS path has been an absolute ballache to do.

#

At this point I have been enjoying the free rooms more than the paid rooms. The free rooms do not seem to experience that many issues.

#

@raw fiber also I have heard lot of good stuff on pwnedlabs in regards to aws/azure labs and some of them are free. I have not tried it but I will be giving that a shot at some point.

terse lynx
#

AWS IAM Enumeration - Cloudshell does not work with quiet riot

raw mural
raw mural
naive fern
#

Anybody experiencing issues with connecting EC2 instance? Getting error message " Instance is not in public subnet". There is no other subnet available to select while creating an instance. Same error with the default demo ec2 instance as well. Room : Amazon EC2 - Attack & Defense

raw fiber
glacial bough
terse lynx
#

I just went to the next lab. I don't want to spend more and more time troubleshooting a tool.

sturdy moss
#

Unable to generate AWS credentials what to do?

#

Environment is active but no credentials appeared in credentials tab

terse lynx
#

then generate again

raw fiber
#

Just to confirm, no one can do the WordPress user question yet, right? Happy to feel like an idiot and get advice if I'm wrong. @raw mural

sturdy moss
terse lynx
sturdy moss
terse lynx
#

You could probably email , or I would hope someone from THM who reads this chat would chip in and help.

raw mural
#

Looks like still being looked into

raw mural
sturdy moss
raw mural
wooden quarry
winter lilyBOT
#

Gave +1 Rep to @drifting pelican (current: #1418 - 3)

terse lynx
#

@supple crescent just checking whether u managed to read my dm u asked me to send u.

valid sparrow
#

(RESOLVED you need python 3.11)Has anyone else experienced issues with quiet-riot in the room AWS IAM Enumeration -> Enumerating IAM Users and Roles? ModuleNotFoundError: No module named 'jmespath' if I used python3.9 and ModuleNotFoundError: No module named 'botocore.vendored.six.moves'
with python3.13

quasi basalt
#

Hi. I'm stuck on "AWS S3 - Attack and Defense". I obtained default password for user from ec2 instance. But, the password didn't work on http://bestcloudcompany.org/wp-login.php . Am i in correct path?

valid sparrow
raw mural
sturdy moss
raw mural
#

Not sure about the issue waiting for the root cause to be found but I had to reset your creds/env

sturdy moss
#

Thank you so much

raw mural
#

It's happened to a few other users as well

sturdy moss
raw fiber
valid sparrow
sturdy moss
#

I tried but I got authentication failed

royal wadi
#

Hello @raw mural
I'm Unable to generate AWS credentials, need you help in fixing the issue
My environment is active but no credentials appeared in credentials tab
I even tried resetting the environment

#

My user name is jayanthiramasri

raw fiber
#

Can someone DM me the flag for the WordPress user? I have everything except the last flag, due to the auth info for user not working, as per this chat. Thanks!

raw fiber
#

@raw mural - how long of an extension are we going to get on our AWS path?

sullen wraith
#

Reading through this it seems I'm not the only one with an authentication failed error. Anyone had any luck getting it fixed?

solemn bolt
sturdy moss
quasi basalt
#

Can someone DM me the flag for the WordPress user? I have finished other than the question. The auth info for user is not working, as per this chat. Thank you in advance!

little spear
#

from the cloud console, I am getting this in sts credentials lab. did i miss a step?
~ $ aws iam create-user --user-name padawan

An error occurred (AccessDenied) when calling the CreateUser operation: User: arnawsiam::160326976186:user/160326976186 is not authorized to perform: iam:CreateUser on resource: arnawsiam::160326976186:user/padawan because no identity-based policy allows the iam:CreateUser action

solemn bolt
little spear
#

Ah ok

#

Thanks

#

How do I tell how long I have left in my cloud labs

broken stirrup
#

Hi - was enjoying these labs a lot but I've hit a snag - the cloud environment has been stuck 'generating' for over 24 hours and I can't cancel or reset. I think I accidentally set up the STS Credentials lab twice which might be causing issues - Any help?

"Environment State: Generating
You have access to an environment for the following rooms:

STS Credentials Lab
STS Credentials Lab"

broken stirrup
solemn bolt
empty fern
edgy musk
#

hi guys im new here i need hackers and spammer friends sendme a PM

strong island
#

Hi Everyone, I am stuck at AWS s3 - Attack and Defense task. I have retrieved the username and password but it doesn't work at wp-login page. I can see it is a known issue. Can someone from THM or here help me for the last flag in Task 8

raw mural
blazing falcon
# raw mural It’s a known bug and be ing investigated

On the same, it looks like the security groups are preventing access to the WP site as they only allow SSH.

I used ssh dynamic port forwarding to access the site and login which has worked fine but I still can’t find the flag 🙃

raw mural
blazing falcon
#

Thank you king

blazing falcon
#

Also for the attacking EC2, the IMDS stuff under instance permissions needs to be updated to IMDS v2 as v1 doesn’t work by default anymore.

commands should be updated to include the TOKEN step here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html

Basically need to add this is a prestep:

TOKEN=curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"

Then in the follow up curl commands to the IMDS add the metadata token header with:

-H “X-aws-ec2-metadata-token: $TOKEN”

#

With those additions worked in the lab instructions work as expected

#

The steps are already in the section, just needs to be added earlier to be able to query the metadata service

faint stump
#

The room "Resource Policies & SCPs" no longer shows in the "Intro to IAM" module . Can staff say if it's out or if/when it will come back? My cloud subscription ends very soon.

faint stump
#

Another room seems to have disappeared along the way, "AWS Encryption Services" .
Any staff member can tell if it is going to be back? Soon?

stoic skiff
#

If there is not an update, can I receive the flag so I can move to the next room?

faint stump
#

@stoic skiff About that, can I DM you?

faint stump
#

In the room "AWS IAM Enumeration" , the very last answer expects 4 values but there is a fifth.
Anybody knows why?
The question is "What services appear enabled based on the [quiet_riot] results?" But that 5th service does look enabled in the console.

faint stump
stoic skiff
#

Also, just a thought, something I was running into - on the AWS VPC - Data Exfiltration, may want to specify the region (us-east-1). I tried basically every region before I got to that one haha.

#

(not sure why i thought a THM lab would be in Melbourne Australia but hey you never know)

faint stump
stoic skiff
#

wow i'm blind

#

well thank you that is super enlightening

faint stump
#

Last AWS room, last task seems to have a python code error (AWS IAM Initial Access, Task 6) .
When using boto3.client('s3') instead of session.client('s3'), I was getting the following python error in my own Kali box (running python 3.13.3) when calling python3 upload.py
botocore.exceptions.NoCredentialsError: Unable to locate credentials

cursive igloo
#

Who can teach me on how to hack account

solemn bolt
civic obsidian
#

Hey all, I'm doing the AWS S3 - attack and defense and on task 8 for the question 'what is the flag in the WordPress profile of the user", I tried basically everything but the web page won't load when I try to visit <ami public Ip address>/wp-login.php it times out no matter what I try

#

I can ssh into the ec2 instance but when I try to visit the public Ip it times out

#

I've been stuck on this for 4 days, I'm losing my fucking mind

#

Oh I just read it's a known bug. Any update on fix?

faint stump
# civic obsidian Oh I just read it's a known bug. Any update on fix?

It's been nearly 3 months. I've been there few weeks ago, using the domain name loads the page, but the credentials never worked, as if someone changed the pwd a while ago.
I've seen THM change the question/answer when similar problems occurred. Not for this one it seems, yet. I understand THM must prioritize room corrections but this one impacts cloud subscription time limits.
If using the domain name still fails, I may be of some help if you wish to DM me.

civic obsidian
#

Sounds good, but it seems you're not accepting DMs or friend requests so you're gonna have to req me

glossy wyvern
#

Hey Folks, I just did the S3 room. but whatever i do I cannot terminate the EC2 Instances, have tried through AWS CLI, attackbox, AS well as resetting the env in TryHackMe. Keep getting Permission errors (AWS) or "Something went wrong" (THM)
Just dont want to leave instances running, will these terminate or can THM staff terminate them for me?

civic obsidian
knotty pike
#

Hi, I cannot log in to the WordPress site on AWS S3 for the Attack and Defense - Task 8 using the username and password found.

#

Hi @raw mural , I am unable to log in to the WordPress site on AWS S3 for the Attack and Defense - Task 8 using the found username and password.

raw mural
solar dawn
#

Please is anyone into secure side review lately am looking for someone to do it with

solar dawn
#

Pls anyone into secure code review?

flint turtle
#

Hello

supple wind
#

Hi, I'm having trouble loading the wp login page for task 8 in the AWS S3 room. Looks like it was an issue a month ago. Is that still the case? I've been using to the public ip for my ec2 instance generated from the ami with /wp-login.php

obsidian rock
raw swan
#

anyone see this "hello friends" cloud environment?

#

Is that supposed to be there ?

raw swan
#

Does a green checkmark ever show up when you finish Attacking and Defending AWS?

crystal iron
glacial bough
grim crescentBOT
#

@thick wagon Please slow down — spam isn’t allowed.

grim crescentBOT
#

@undone plume Please slow down — spam isn’t allowed.

#

@wary python Please slow down — spam isn’t allowed.

languid current
#

Is there a way to copy paste the credentials into the attacker box when we're running the attacker os in web browser ?

#

I remember that was working for me about 2 weeks ago .

languid current
#

I have problem in room "AWS VPC - Data Exfiltration" .

I already configured my new environment with aws-configure command on my attacker box .

But when I call "aws ec2 allocate-address" I get authorization error :

An error occurred (UnauthorizedOperation) when calling the AllocateAddress operation: You are not authorized to perform this operation. User: arn:aws:iam:::user/[REDACTED]is not authorized to perform: ec2:AllocateAddress on resource: arn:

Anyone faced the same issue ?

cedar crow
raw swan
timid yarrow
#

I can't access to the any environment 。

#

Can't create a cloud environment.

narrow spoke
#

I can't see any environment, I see I am not the only one having this issue

versed plaza
#

contact me on DM

sacred goblet
#

Hello, any known way to deal with no option to generate environment when doing AWS labs?

narrow spoke
#

Nope, going to be making a complaint and asking for a full refund. The only two rooms I was interested in (when I purchased THM sub) were the AWS and Azure paths and both of them have issues with their labs.

sacred goblet
dire sparrow
#

Anyone having trouble resetting or generating their environment?

I selected an environment reset for the STS credentials lab and it has just been sitting at 'resetting' for hours.

desert gazelle
#

currently running into the following issue:
In STS Credentials Lab https://tryhackme.com/room/stscredentialslab
we are tasked to create a padawan user / list the groups of the user, but we are not authorized to create the user / and the user does not exist. The Environment has been set up and also resetted

TryHackMe

TryHackMe is a free online platform for learning cyber security, using hands-on exercises and labs, all through your browser!

dire sparrow
# desert gazelle currently running into the following issue: In STS Credentials Lab https://tryh...

I ran into this same issue. Apparently what you're supposed to do is generate a new environment within the STS lab, then you get the necessary permissions to work the lab. I contacted support over a week ago for an answer on this and never heard back.

Now I have a new problem with the same lab, I tried to reset the envrionment again and it's been stuck on 'resetting' for two days. Hope things go better for you. ripeyes

desert gazelle
dire sparrow
#

@desert gazelle support finally got back to me and reset the room got it all setup. you will know it's setup for the room when it says this on the bottom

desert gazelle
winter lilyBOT
#

Gave +1 Rep to @dire sparrow (current: #3584 - 1)

stuck mango
#

Hi guys, is there any way to remove the aws path from my learning? Didn't realise its a paid module on top of premium and now it keeps coming up as my current path.

craggy summit
#

Can anyone help me to perform some action on a website , I have the vulnerability but don't know how to exploit

onyx plover
#

Hello, what is the latest name for Defense Security?

valid pawn
#

Hello, sorry for asking this here if the information is available somewhere.

Is there a general estimation of hur much time the AWS path might take to complete? I know this will differ a lot between participants, but since rooms usually have a rough estimation, I would assume that there could be some number of hours to indicate the required input per week, or something like that.

coral ocean
valid pawn
winter lilyBOT
#

Gave +1 Rep to @coral ocean (current: #351 - 26)

grim crescentBOT
#

@jaunty needle Please slow down. Further spam will result in a short timeout.

simple hazel
#

Hello, I haven't found an answer regarding access to the Attacking and Defending AWS path.

I am following the security engineer path and have validated security engineer and DevSecOps, so I wanted to start learning Azure and AWS. However, both Azure DevSecOps room or Attacking and Defending AWS path require additional fees, but they are only available for team or business plans.

As an individual premium user, do we not have access to this even if we pay for an add-on?

valid pawn
lean socket
#

It used to be a one time subscription fee of 300 GBP if I recall correctly.

long halo
#

Hey everyone , I am interested in the 'Attacking and Defending AWS' learning path. I previously saw a “three month” individual subscription option for over $300, but now when I attempt to access a cloud room, I am redirected to a page for 'Team' licenses.

Does the individual subscription still exist? Additionally, does the Team license include full access to the cloud testing environments? Finally, will I still earn points for completing rooms if I am using a Team subscription?

marble glen
#

I have been trying to find the flag in AWS S3 - Attack and Defense room. I got the username and password but there's no way I am able to authenticate to http://bestcloudcompany.org/wp-login.php. I even logged into thes pinned up backup AMI. Can anyone help?

#

Can anyone who has already solved the lab send the flag since I'm done with the whole solution except logging into bestcloudcompany which is giving me "incorrect password"?

marble glen
#

Why is this server so inactive?

#

@dense pivot @green briar anyone?

dense pivot
#

You're in a channel where people have to pay a separate cloud sub to access the content. Not a lot of users do that. The channel is inactive but server is active. Check #general Etc.

marble glen
dense pivot
#

Unfortunately I have done very little of the AWS path. Have you tried looking for online walkthroughs?

marble glen
#

I tried, there's none.

#

There were other people facing the same issue earlier. The support reverted them in like 3 months is what I see.

dense pivot
#

Hm let me see if I can forward this internally.

#

Do open a ticket too just in case.

marble glen
#

I already sent a mail and raised the same query via support chat.

marble glen
#

New issue, the AWS env is not resetting. It's taking forever to reset.

marble glen
marble glen
#

@dense pivot Could you kindly check with the support team regarding an issue I had submitted via mail? The environment never gets reset. It just keeps saying "resetting" from past 5 days. I even created a support ticket and no response.

marble glen
#

#89018103

leaden ermine
marble glen
#

Thanks @dense pivot

winter lilyBOT
#

Gave +1 Rep to @dense pivot (current: #22 - 521)

leaden ermine
knotty crypt
#

Bonjour

warm crescentBOT
#
Pong!
API Latency

128ms

Client Latency

398ms

novel sunBOT
#

@warm crescent

TryHackMe's Email

TryHackMe's support email address.

ocean yoke
#

hi

eternal wadi
#

hiiii