1

I want to know that whether Amazon S3 Pre-Signed URL is protected from brute force attack.

For example, if I am the only person who knows the Pre-signed URL, is it extremely unlikely that somebody use brute force attack and access to bucket?

fgrieu
  • 1,072
  • 7
  • 19

1 Answers1

1

Yes. You should use AWS S3 SigV4 (various libraries support it, for example this version is required to use S3 bucket in Frankfurt region, while buckets in US Virginia might be accessible with older code using older versions of the protocol).

The signature is produced using HMAC-SHA256. Guessing a correct signature without knowing your secret access key is very hard (2 raised to the power of 128 hard). Bitcoin miners are doing a related task, and the entire bitcoin network achieves about 2^67 per second, or 2^82 per year. So 2^128 would be quite hard to achieve for your hypothetical attacker. They would get access by phishing someone who has access, not by brute force.

Z.T.
  • 7,768
  • 1
  • 20
  • 35