MyBait: Why We Lured Attackers To Encrypt Our Cloud MySQL
A company lured attackers to encrypt its cloud MySQL database, noting that managed databases leave authentication and access control to the customer.
Overview
Varonis Threat Labs tested how quickly attackers can break into managed MySQL databasesAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software by creating instances with public IP addressesThe numerical network label assigned to a device so internet traffic knows where to reach it and weak rootThe highest administrator permission level on a system, with unrestricted control over all files and programs passwords. They found that brute-forceTry every possible key until 1 reads as plaintext attacks began arriving within eight minutes of deployment. Within hours, two separate attackers broke into the Google Cloud Platform instance, stole decoy tables, and dropped ransomThe money an extortion group demands in exchange for unlocking computers or deleting stolen files notes demanding Bitcoin. The same experiment on Amazon RDS and Azure MySQL Flexible ServerA computer or program on a network that stores data and responds to requests from client devices did not result in compromise. The difference lies in how each cloud provider handles default security and logging configurationsA text file that stores settings, network addresses, and options for how a program or server runs. Organizations using these services must manage their own authenticationVerifying that a user, device, or program really is who it claims to be before allowing access and access controlThe rules and checks that decide which users or programs are allowed to view or change a resource to prevent such rapid breaches.
Terms in this story
- SQL
- The standard query language used to read, add, update, and delete records in relational databases. Almost every banking, retail, and hospital system stores its records in a database controlled by SQL, which is why SQL injection bugs that alter those queries are so dangerous.
- databases
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- IP address
- The numerical network label assigned to a device so internet traffic knows where to reach it. Every server and router on the internet has an IP address, and defenders inspect connection logs for unfamiliar IP addresses when tracing where an attack came from.
- root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- brute-force
- Try every possible key until 1 reads as plaintext. In the news, attackers use brute force when automated scripts rapidly guess thousands of passwords against a login page or test every possible key to unlock stolen data. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1); Security+ objective 2.4 lists the term
- ransom
- The money an extortion group demands in exchange for unlocking computers or deleting stolen files. In ransomware stories, victims face the hard choice of whether to pay the ransom in cryptocurrency, knowing there is no guarantee the criminals will keep their promise.
- Server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- configurations
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- authentication
- Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
- access control
- The rules and checks that decide which users or programs are allowed to view or change a resource. Even after a user logs in, access control determines whether that regular customer account can only view its own profile or accidentally read every other customer's records. Security+ objective 2.5 lists the term
- API
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- Encrypt
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Varonis website. Cite the article, not this page.
Read the full article on Varonis (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
Varonis Threat Labs set out to test that... Found by reading the article; these words are close to its own - Who is affected: "MySQL honeypots in different cloud providers..."
Copied word for word from the article - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......make things easier. The cloud provider handles patching, backups, and infrastructure." Found in the opening sentences - Security+ 3.4 Explain the importance of resilience and recovery in security architecture.
"......things easier. The cloud provider handles patching, backups, and infrastructure." Found in the opening sentences - Security+ 4.3 Explain various activities associated with vulnerability management.
"......make things easier. The cloud provider handles patching, backups, and infrastructure." Found in the opening sentences - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"......things easier. The cloud provider handles patching, backups, and infrastructure." Found in the opening sentences
How a story is connected to the course, and every objective, week and job role