Last active
January 7, 2024 18:12
-
-
Save zmallen/d2305badb3d3dcabc38bdd57f72b07db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule AWSAccessKeys | |
{ | |
meta: | |
author = "@techyteachme" | |
desc = "Match potential AWS secrets in any file" | |
strings: | |
$re1 = /((ASIA|AKIA|AROA|AIDA)([A-Z0-7]{16}))/i | |
$re2 = /aws_secret_access_key\x20\x3d\x20([a-zA-Z0-9+\/]{40})/i | |
condition: | |
all of them | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment