“If the secret is exposed, it will be exploited,” say researchers who analyzed the tactics of cloud-focused cybercrime.

“Secrets” are the pieces of sensitive information that authorize access to a cloud environment. Cloud security firm Orca Security research reveals that attackers typically find misconfigured and vulnerable assets within a mere two minutes and begin exploiting them almost instantly.
Orca Security conducted research for six months by setting up “honeypots” in nine distinct cloud environments. These honeypots were designed to simulate misconfigured resources in order to attract attackers. Each honeypot contained a secret AWS key.
Subsequently, Orca closely monitored each honeypot to observe if and when attackers would take the bait. The objective was to gather insights into the most commonly targeted cloud services, the time it takes for attackers to access public or easily accessible resources, and the duration it takes for them to discover and utilize leaked secrets.

In less than five minutes, exposed secrets on GitHub, HTTP, and SSH were discovered, according to Orca’s report. AWS S3 Containers were tracked down in less than 60 minutes.
Bar Kaduri, Lead of the Cloud Threat Research Team at Orca Security, stated, “While tactics vary by resource, our research makes one thing clear — if a secret is exposed it will be exploited.” The amount of time it takes to use a key varies greatly depending on the asset. Within two minutes, researchers observed key usage on GitHub, indicating that exposed keys were compromised almost immediately.
Other assets took longer to compromise their keys: S3 Buckets took about eight hours, while Elastic Container Registry took nearly four months.
Although the United States accounted for fifty percent of all observed exposed AWS key usage, it was also used in almost every other region, including Canada, APAC, Europe, and South America.
Aggressors are more disposed to direct surveillance on assets that are well known, effectively available, and liable to contain delicate data. Due to their high value, assets like SSH are frequently the targets of malware and cryptocurrency mining.
“Attackers find exposed secrets extremely quickly and quickly weaponize them.” Defenders must ensure that their assets are kept private unless absolutely necessary and that secrets are properly managed in this setting,” Kaduri stated.