How can I close an S3 bucket that’s been used for unauthorized data transfers?

0
12
Asked By TechNovice123 On

Hi everyone, I really need some guidance here. We discovered that one of our servers has been compromised. A PowerShell command was run that sets up an S3 connection, and I've captured the following environment variables:

- AWS_ACCESS_KEY_ID: (redacted)
- AWS_SECRET_ACCESS_KEY: (redacted)
- RESTIC_REPOSITORY: 's3:s3.eu-west-1.wasabisys.com/backvalue/(redacted)'
- RESTIC_PASSWORD: (redacted)

It appears that a modified winupdate.exe was used as a cover for exfiltration. Any data that is now stored on this S3 repository has been unlawfully uploaded. Since I don't have any account access, I'm wondering how I can go about shutting down this repository. Any help would be greatly appreciated!

5 Answers

Answered By S3Seeker On

If you have the credentials still, you might access the Wasabi storage and try to delete the data that's been uploaded. Just be careful when doing this, as unauthorized access could have legal implications.

Answered By SupportSleuth On

The best route is probably to contact AWS support directly for help with abuse reports. They can assist you in shutting down the bucket, although be prepared for a bit of back and forth.

Answered By CloudWhisperer On

Using the AWS CLI, you might run the command `aws sts get-caller-identity`, which could give you the AWS account number linked to those credentials. This might help inform AWS of the account being used for illegal activities. You could also try accessing the bucket to see what’s been uploaded and document it. However, if you only have write access, consider uploading non-essential data to flood the bucket and increase costs to the perpetrator!

Answered By ScriptSlinger On

If you have the valid credentials, you could just write a quick script to delete all the data you've got access to. Do this before they potentially revoke the credentials!

Answered By CloudGuru97 On

It looks like you're dealing with a Wasabi storage bucket, which is different from AWS. I'd recommend reaching out to Wasabi’s customer support directly, as they might be able to assist you in this situation. Contacting them may yield a quicker response than going through AWS. Also, involving law enforcement could expedite the process if illegal activity is confirmed. Good luck!

DataHunter21 -

Definitely still send an AWS report; they can contact Wasabi to address any Terms of Service violations and help escalate your issue.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.