Why bots attack my website and what attackers are after

A client recently asked us: “Why are there so many bots and attacks on my websites? Who even cares about them?” It is a fair question. The site is not a bank, not a famous brand, and at first glance there is nothing to take from it.
The short answer is that nobody cares about your site in particular. Attacks are automated and crawl everything that can be reached on the internet. And every site, even a small one, has three things that turn into money: customer data, payments and the server itself. In this article we explain what attackers are after, what they gain from it and how to tell that something is wrong.


Nobody picked your site in particular
According to Imperva's 2026 report, over 53% of all internet traffic in 2025 was automated, and humans made up 47%. Part of that traffic is useful: search engines, monitoring systems, price comparison sites. The rest are programs that go from address to address and check the same things: a known vulnerability, an old version, a weak password or a forgotten settings file.
How fast this happens is shown by an experiment by Unit 42 (Palo Alto Networks): of 320 deliberately vulnerable servers put on the internet, 80% were breached within 24 hours.


For the attacker, one attempt costs nothing. So it does not matter whether the site is big or small, new or old, Bulgarian or foreign. Everyone gets checked, and they get in wherever a door is open. The attempts are usually of three kinds:
- Scanning for vulnerabilities in the platform, the modules and the server. When a new vulnerability appears, mass attempts start within hours, sometimes before there is a fix. StyleSmuggler is one example.
- Guessing passwords for the admin panel, FTP and SSH.
- Trying leaked passwords. Emails and passwords stolen from other sites are tried automatically on yours too, because many people use one password everywhere.
The data: customers, emails, orders
The customer database is the first thing to be downloaded: names, emails, phone numbers, addresses, order history and passwords in protected (hashed) form. Three things happen with it:
- It is sold. Lists of emails and phone numbers are bought for spam and fraud.
- It is used against your customers. A message in the store's name that quotes a real order and address is far more convincing than ordinary spam. “Your payment did not go through, please enter your card again” works when the order number is correct.
- The passwords are tried elsewhere. If a customer uses the same password for their email, a breach at your store becomes a breach for them too.
This looks like the most harmless scenario, because the store keeps working and no money is missing. Legally, though, it is not harmless. Under the GDPR a leak of personal data is a security breach and must be reported to the data protection authority within 72 hours of becoming aware of it, and, when the risk to people is high, to the customers themselves. Penalties for failing these obligations reach 10 million euro or 2% of annual turnover. Then there is the question of how customers will take such a letter.
The money: payments
The second source of profit is the payments themselves. There are several scenarios here:
- Card data theft. Code is injected into the payment page that copies the card details while the customer types them. The order goes through normally and nothing hints at a problem. In a 2018 study by Sansec, such code stayed in stores for 12.7 days on average, and one store in five was infected again.
- Fake payment form. When payment happens on the bank's page, the attacker shows their own card form before the redirect. The customer enters the details, sees an “error” and only then reaches the real bank page.
- Swapped payee. The bank account in the order emails and invoices is changed, or the payment module settings are replaced. Customers pay, but the money lands in someone else's account. This is only found when incoming payments are reconciled, and for some merchants that takes quite a while.
- Testing stolen cards. This needs no breach. Bots place hundreds of small orders to check which stolen cards work. The store is left with the transaction fees, the disputed payments and the risk that the payment provider suspends the service.
The server: someone else's resources at your expense
Even a site with no customers and no payments has value: a server with a processor, an internet connection, an IP address and a domain with a good reputation. A hijacked server is used for:
- Sending spam. The emails go out from your server and your domain. The address lands on blacklists and emails to your own customers stop arriving, order confirmations included.
- Phishing pages and malicious code. Fake bank and courier pages are uploaded under your domain. Browsers and Google start warning that the site is dangerous.
- Hidden pages and links. Thousands of pages for casinos, drugs or replicas are added to the site, riding on your Google rankings. The owner usually only sees them in the search results.
- Cryptocurrency mining. The processor works for the attacker, the site slows down and the hosting bill grows.
- AI services on your bill. AI models are not run on an ordinary web server, because it lacks the hardware. Attackers look for something else: the keys to AI and cloud services stored in the site's settings. With them they use the service and the bill comes to you. Sysdig describes the scheme under the name LLMjacking and estimates it can cost the victim over 46,000 dollars a day.
- Cover for other people's bots. Their traffic goes through your server so that it looks as if it comes from an ordinary website.
- Attacks on others. The server becomes part of a network that scans and attacks other sites. The trail leads to you, and the hosting provider may suspend the service without warning.
There is also a fourth way to profit that combines the previous three: extortion. The database is encrypted or deleted for a ransom, or the attacker threatens to publish the customer data unless paid.
Not every bot is an attack
Many of the bots in the logs are not trying to get in anywhere:
- search engines (Google, Bing), without which there are no visits from search;
- AI assistant bots that collect content;
- price bots of competitors and price comparison sites;
- SEO tools and monitoring systems.
They are not a breach, but they load the server, sometimes more than real visitors. The useful ones are let through, and the rest are rate-limited or blocked. Blocking “all bots” is not a solution, because the search engines disappear along with them.
How to tell that something is wrong
Attack attempts are constant and are not a reason for alarm in themselves. The reason is the signs that an attempt has succeeded:
- an admin account that nobody created;
- emails from the store start landing in spam or bouncing;
- the server is under load without more visitors;
- a warning from Google, the browser or the hosting provider;
- customers report unauthorized charges after buying from you;
- a mismatch between orders and incoming payments on the account;
- new or changed files that did not come from an update;
- pages from your site in Google that you did not create.
Most of these signs appear late, when the damage is already done. So checking should not wait until you see them.
What reduces the risk
- Regular updates of the platform, the modules and the server. Mass attacks often come weeks after the fix. With the SessionReaper vulnerability in 2025 they started six weeks after it, and according to Sansec only 38% of Magento stores had applied it by then.
- Unique passwords and two-factor authentication (2FA) for the admin panel, the hosting and email.
- Restricted admin access: only for the people who work with it, with no accounts of former employees and contractors.
- A filter in front of the site that stops known attacks and limits login and payment attempts.
- Monitoring of the files, the payment page, the admin accounts and the server load.
- Backups off the server that have been checked to actually restore.
- Less data. What is not kept cannot leak: old orders, unused accounts, keys for services you no longer use.
None of this stops the attempts. The goal is that none of them succeeds, and if one does, that it is found within hours, not months.
Why do bots attack small online stores too?
Automated bots crawl publicly reachable sites looking for a chance to abuse customer data, payments or server resources. For store owners the first steps are regular updates, monitoring and tested backups. See the Magento 2 support plans.
Frequently asked questions
My site is small. Why attack it of all sites?
They are not attacking it in particular. Bots crawl every address on the internet and do not know how big the site is. Small sites are even an easier target, because they are updated and monitored less often.
Payments go through the bank's page. Does that protect me?
It protects the card data as long as the customer actually reaches the bank's page. It does not protect against a fake form shown before the redirect, a swapped bank account in the emails or a leak of customer data.
The logs show thousands of login attempts. Does that mean the site has been breached?
No. The attempts are normal background noise for any site. What matters is whether one of them succeeded, and that is checked through the admin accounts, the files and the behavior of the server.
Can I block all bots?
It is not a good idea. Search engines are bots too, and without them the site disappears from the results. The right approach is to let the useful bots through and limit or block the rest.
Do I have to notify customers if their data has leaked?
The data protection authority is notified within 72 hours, unless the breach is unlikely to create a risk for people. The customers themselves are notified when the risk to them is high. The assessment is made case by case, and it is wise to involve a lawyer.
Seeing unusual traffic or login attempts and not sure what state your site is in? Send us its address and we will tell you what we see. No obligation.