X
X

Select Your Currency

₺ Türk Lirası $ US Dollar
X
X

Select Your Currency

₺ Türk Lirası $ US Dollar

What Is Botnet Protection? A Layered Approach for Websites

HomepageArticlesSecurityWhat Is Botnet Protection? A Layere...

Botnet protection is a security approach designed to identify and reduce the impact of automated, coordinated requests coming from devices compromised by malware. It is not limited to a single blocking rule: traffic behavior analysis, application-layer controls, account security, and, when necessary, network protections from the hosting provider should be evaluated together.

What problem does botnet protection solve?

A botnet is a network of numerous computers, servers, or smart devices remotely controlled by an attacker. Without their owners’ knowledge, these devices may send requests to websites, attempt logins, scrape content, or generate heavy traffic at the same time. The fact that requests come from different IP addresses does not mean that they are not automated; the same URL pattern, similar browser behavior, and unusual request frequency can be meaningful when considered together.

The goal is not to block all automation. Search engine crawlers, payment services, or integrations used by a company may be legitimate. For this reason, a protection mechanism should examine more than the request’s IP address: it should also consider its rate, session behavior, request headers, failed-login rate, and the nature of the requested resource. Because it is not always possible to distinguish legitimate user traffic from abused automation with certainty, gradual measures are safer than immediately applying a permanent block.

The difference between DDoS protection and botnet protection

DDoS is a type of attack focused on exhausting resources or network capacity to make a service unavailable. A botnet may be one of the infrastructures used to carry out such an attack, but it can also be used for low-volume password attempts and content scraping. Therefore, the ability of a network to filter high-volume traffic does not by itself mean that it will detect slow, distributed bot activity targeting the application.

For example, hypothetically, suppose a product website’s homepage loads normally while hundreds of failed attempts appear at short intervals on the administrator login page. Because the network traffic does not exceed total capacity, this event may not be a classic volumetric DDoS attack; however, it presents an account-takeover risk. In this situation, the first choice should not be acquiring more resources, but applying multifactor authentication at the login endpoint, rate limiting, and a rule that monitors failed attempts. If all pages on the same site become slow at the same time and congestion is visible at the network layer, the provider’s network-level DDoS capacity should also be evaluated.

Choosing protection layers according to need

The first decision is to determine what behavior is causing the problem. If only specific endpoints, such as login, search, or the cart, are being abused, an application firewall and endpoint-based rate limiting are more appropriate; if traffic congestion extends across the entire server, network-level filtering and capacity planning are also required. If account attempts increase while traffic appears normal, authentication controls should take priority. This makes it possible to change the layer that corresponds to the observed behavior instead of raising every limit in every situation.

The second decision concerns the cost of blocking legitimate users by mistake. If a news, retail, or reservation website is sensitive to losing legitimate visitors, monitoring and gradual limiting should be used first. If the traffic pattern is clearly automated, a short delay, additional verification, or rate limiting may be considered. By contrast, if access to a critical administration panel is expected only from specific networks, narrowing the access area may be more appropriate; however, this rule should not be applied before remote administrators and an emergency access method have been planned.

  • Web application firewall: Applies rules based on URLs, methods, sessions, and request behavior; however, incorrectly designed rules can also affect legitimate clients.
  • Rate limiting: Limits the number of attempts that a particular IP address, account, or endpoint can make within a short period; it may not be sufficient by itself against distributed botnet traffic.
  • Stronger authentication: Multifactor login and unique passwords make it harder for bots to take over an account even if a password attempt succeeds.
  • Network-layer filtering: May help reduce large and distributed traffic waves before they reach the server; which attack types it covers varies by provider.

Evaluating a protection solution safely

Before beginning the evaluation, verify that you have access to the domain’s DNS management, the application’s administration panel, and, if possible, security event logs. In a shared hosting panel, you cannot change network rules that only the server administrator can see; in that case, you must distinguish between the security options available in the panel and the scope explicitly stated in the provider’s documentation. On managed or self-managed servers, the application, reverse proxy, and network layers should be examined separately.

  1. Define the need in writing: Note which URL is affected, at what times, and by what behavior. If only login attempts are increasing, look for the solution at the authentication layer; if there is general slowness, examine network and server resources during the same time period as well.
  2. Compare the available evidence: Web server access logs may contain request times, response codes, requested paths, and client information; application logs may contain failed-login or rate-limiting events. If you see the same IP addresses attempting to access many different accounts at short intervals, consider a rule targeting the login endpoint. Seeing only a single client identifier should not be treated as proof of a botnet.
  3. Choose one low-risk control: First apply a rate limit or additional verification only to the affected endpoint, and save the existing rule. If legitimate clients need an exception, define it within a narrow, verifiable scope instead of opening a broad IP range.
  4. Repeat the same operation: After the change, repeat the same login or request scenario. Review new records created after the change time; if failed attempts decrease while normal user responses remain intact, the result is consistent with the control’s objective. If blocked legitimate requests increase in the new records, restore the previous value and narrow the rule.
  5. Examine persistent symptoms at a different layer: If the entire site remains slow and network congestion continues despite endpoint limiting, ask about the scope of the provider’s network protection instead of making the same application rule increasingly strict. If the problem remains limited to a particular plugin or API call, evaluate that component’s version, query cost, and authentication separately.

It is important to save the original values and the time before making a change. Changing DNS, the application firewall, and server settings at the same time makes it unclear which intervention affected the result. When a rule needs to be rolled back, check whether it affected legitimate users as well as attacker traffic; prefer a temporary, measurable limit over a permanent block.

How should you verify the scope of protection?

The fact that a provider or security product uses the term “bot protection” does not mean that it automatically stops every botnet behavior. Ask which layer examines the traffic, whether separate rules exist for login attempts and API calls, how IPv6 and cached content behave, how detailed the event logs are, and whether exceptions can be defined in the event of false positives. If the scope is not explained, do not plan on the assumption that protection exists; include only capabilities that are explicitly documented.

The first safe step is to classify recent events by timestamp and identify the single endpoint that has been abused most frequently. Then apply a low-risk rate or verification control at that endpoint, comparing it with the saved previous value, and review new records of the same operation. If general network congestion continues, instead of hardening the application rule without limit, review infrastructure options through İyibirNet and ask the provider questions about its scope.


Top