Skip to main content

What are bots? – Definition and Explanation

What are bots? – Definition and Explanation

Bots – meaning & definition

A ‘bot’ – short for robot – is a software program that performs automated, repetitive, pre-defined tasks. Bots typically imitate or replace human user behavior. Because they are automated, they operate much faster than human users. They carry out useful functions, such as customer service or indexing search engines, but they can also come in the form of malware – used to gain total control over a computer.

Internet bots can also be referred to as spiders, crawlers, or web bots.

banner

What is a computer bot and what is an internet bot?

Computer bots and internet bots are essentially digital tools and, like any tool, can be used for both good and bad.

Good bots carry out useful tasks, however, bad bots – also known as malware bots – carry risk and can be used for hacking, spamming, spying, interrupting, and compromising websites of all sizes. It is estimated that up to half of all internet traffic today is made up of computer bots carrying out certain tasks, such as automating customer service, simulating human communication on social networks, helping companies search online for content and assisting with search engine optimization.

Organizations or individuals use bots to replace repetitive tasks that a human would otherwise have to perform. Tasks run by bots are typically simple and performed at a much faster rate when compared to human activity. Though not all tasks performed by bots are benign – sometimes bots are used for criminal activities such as data theft, scams, or DDoS attacks.

Malware bots and the dangers of internet bots

Malware bots and internet bots can be programmed/hacked to break into user accounts, scan the internet for contact information, to send spam, or perform other harmful acts.

To carry out these attacks and disguise the source of the attack traffic, attackers may distribute bad bots in a botnet – i.e., a bot network. A botnet is a number of internet-connected devices, each running one or more bots, often without the device owners’ knowledge. Because each device has its own IP address, botnet traffic comes from numerous IP addresses, making it harder to identify and block the source of the malicious bot traffic. Botnets can often grow themselves by using devices to send out spam emails, which can infect more machines.

One of the most common ways in which bots infect your computer is via downloads. Malware is delivered in download format via social media or email messages that advise clicking a link. The link is often in picture or video form, with either containing viruses and other malware. If your computer is infected with malware, it may be part of a botnet. 

A bot can also appear as a warning saying that your computer will get a virus if you do not click on the associated link. Clicking the link subsequently infects your computer with a virus.

While malware bots create problems and issues for organizations, the dangers for consumers include their potential for carrying out data and identity theft, keylogging sensitive information such as passwords, bank details and addresses, and phishing.

Malicious bots can easily go unnoticed. They are easily hidden within a computer and often have file names and processes similar if not identical to regular system files or processes.

Examples of malicious bots include:

Spambots

Spambots may harvest email addresses from contact or guestbook pages. Alternatively, they may post promotional content in forums or comment sections to drive traffic to specific websites.

Malicious chatterbots

Dating service websites and apps are havens for malicious chatterbots. These chatterbots pretend to be a person, emulating human interaction, and often fool people who don’t realize they are chatting to harmful programs whose goal is to obtain personal information, including credit card numbers, from unsuspecting victims.

File-sharing bots

These bots take the users’ query term (such as a popular movie or artist’s album) and respond to the query stating that they have the file available for download, providing a link. The user clicks on the link, downloads, and opens it, and unknowingly infects their computer.

Credential stuffing

This refers to bots “stuffing” known usernames and passwords (usually sourced from data breaches) into online log-in pages to gain unauthorized access to user accounts.

DoS or DDoS bots

This is where excessive bot traffic is intentionally used to overwhelm a server’s resources and prevent a service from operating.

Denial of inventory attacks

These attacks target online shops to list their products as ‘not available’. In this type of attack, malicious bots access the shopping cart, select items from the online store, and add them to the shopping cart, never completing the transaction. As a result, when a legitimate user wants to buy the product, they receive an out-of-stock message, even if the item is in stock.

Vulnerability scanners

Bots which scan millions of sites for vulnerabilities and report them back to their creator are known as vulnerability scanners. Unlike genuine bots that would inform the website owner, these malicious bots are specifically made to report back to one person who then sells the information or uses it themselves to hack websites.

Click fraud bots

These bots produce a huge amount of malicious bot traffic specifically targeting paid ads to engage in ad fraud. Responsible for fraudulently clicking paid ads, this non-human traffic costs advertisers billions every year and is often disguised as legitimate traffic. Without good bot detection software, this bot activity can cost advertisers a large proportion of their ad budget.

Traffic monitoring

Bots which are used for overloading mail servers or carrying out large-scale data theft.

Why do cybercriminals use bots?

1. To steal financial and personal information

Hackers may use botnets to send phishing or other scams to trick consumers into giving away their money. They may also collect information from the bot-infected machines and use it to steal identities and incur loans or purchase charges in the user’s name.

2. To attack legitimate web services

Criminals may use botnets to create DoS and DDoS attacks that flood a legitimate service or network with a crushing volume of traffic. The volume may severely slow down the company’s service or network’s ability to respond, or it may entirely overwhelm the company’s service or network and shut them down.

3. To extort money from victims

Revenue from DoS attacks comes through extortion (i.e., pay or have your site taken down) or through payments by groups interested in inflicting damage to a company or network. These groups include "hacktivists" — hackers with political agendas as well as foreign military and intelligence organizations.

4. To make money from zombie and botnet systems

Cybercriminals may also lease their botnets to other criminals who want to send spam, scams, phishing, steal identities, and attack legitimate websites and networks.

Bot cybersecurity

Types of bots

Aside from malware bots, what do bots do? There are many different types:

Chatbots

Bots that simulate human conversation by responding to certain phrases with programmed responses.

Social bots

Bots which operate on social media platforms, and are used to automatically generate messages, advocate ideas, act as a follower of users, and as fake accounts to gain followers themselves. As social networks become more sophisticated, it is becoming harder for social bots to create fake accounts. It is difficult to identify social bots because they can exhibit similar behavior to real users.

Shop bots

Bots that shop around online to find the best price for products a user is looking for. Some bots can observe a user’s patterns in navigating a website and then customize that site for the user.

Spider bots or web crawlers

Bots that scan content on webpages all over the internet to help Google and other search engines understand how best to answer users’ search queries. Spiders download HTML and other resources, such as CSS, JavaScript, and images, and use them to process site content.

Web scraping crawlers

Bots that read data from websites with the objective of saving them offline and enabling their reuse. This may take the form of scraping the entire content of web pages or scraping web content to obtain specific data points, such as names and prices of products on e-commerce websites.

In some cases, scraping is legitimate and may be allowed by website owners. In other instances, bot operators may be violating website terms of use or stealing sensitive or copyrighted material.

Knowbots

Bots that collect knowledge for users by automatically visiting websites to retrieve information which fulfils certain criteria.

Monitoring bots

Bots used to monitor the health of a website or system. Downdetector.com is an example of an independent site that provides real-time status information, including outages, of websites and other kinds of services.

Transactional bots

Bots used to complete transactions on behalf of humans. For example, transactional bots allow customers to make a transaction within the context of a conversation.

Download bots

Bots that are used to automatically download software or mobile apps. They can be used to manipulate download statistics – for example, to gain more downloads on popular app stores and help new apps appear at the top of the charts.

They can also be used to attack download sites, creating fake downloads as part of a Denial of Service (DoS) attack.

Ticketing bots

Bots which automatically purchase tickets to popular events, with the aim of reselling those tickets for a profit. This activity is illegal in many countries, and even when not against the law, it can be a nuisance to event organizers, legitimate ticket sellers, and consumers. Ticketing bots are often sophisticated, emulating the same behaviors as human ticket buyers.

How do bots work?

Typically, bots operate over a network. Bots that can communicate with one another will use internet-based services to do so – such as instant messaging, interfaces like Twitterbots or through Internet Relay Chat (IRC).

Bots are made from sets of algorithms which help them to carry out their tasks. The different types of bots are designed differently to accomplish a wide variety of tasks.

Take chatbots as one example – they have different methods of operation:

  • A rule-based chatbot interacts with people by giving pre-defined prompts for the individual to select.
  • An intellectually independent chatbot will use machine learning to learn from human inputs as well as looking out for known keywords.
  • AI chatbots are a combination of rule-based and intellectually independent chatbots. Additionally, chatbots may also use pattern matching, natural language processing and natural language generation tools.

There are pros and cons to each – organizations which use bots will decide which approach is best based on their requirements.

Advantages and disadvantages of bots

Computer and internet bots - Pros:

  • Faster than humans at repetitive tasks
  • They save time for customers and clients.
  • They reduce labor costs for organizations.
  • They are available 24/7
  • Organizations can reach large numbers of people via messenger apps.
  • They are customizable.
  • They are multi-purpose.
  • They can offer an improved user experience.

Computer and internet bots - Cons:

  • Bots cannot be set to perform some exact tasks, and they risk misunderstanding users – and causing frustration in the process.
  • Humans are still necessary to manage the bots as well as to step in if one misinterprets another human
  • Bots can be programmed to be malicious.
  • Bots can be used for spam.

Examples of bots

The range and variety of bots mean they are used across a wide range of areas, such as customer service, business, search functionality, and entertainment.

Examples of well-known services which use bots include:

  • Instant messenger apps such as Facebook Messenger, WhatsApp, and Slack.
  • Chatbots such as Google Assistant and Siri.
  • The World Health Organization built a bot on WhatsApp to share public information related to the coronavirus pandemic.
  • National Geographic built a conversational app which supposedly conversed like Albert Einstein would have, to promote their show Genius.
  • News apps such as the Wall Street Journal, to show news headlines.
  • Spotify, which allows users to search for and share tracks via Facebook Messenger.
  • Lyft, Uber’s biggest competitor, allows customers to make requests via Slack, Messenger, and Alexa.
  • Mastercard allows customers to check their account transactions using the Facebook Messenger bot.
  • Lidl created a bot to help make wine recommendations to customers.

How to tell if your computer is infected by bots

Ways in which you can tell if your computer is part of a botnet include:

  • Your computer keeps crashing without an identifiable reason.
  • Applications that previously worked seamlessly now work in fits and starts.
  • Programs which previously loaded quickly are now slow to start.
  • The computer takes a long time to shut down or does not shut down properly.
  • Your internet access slows to a crawl.
  • The browser features components you didn’t download.
  • Windows Task Manager shows programs with cryptic names or descriptions.
  • Settings have changed, and there is no way to reverse them.
  • Pop-up windows and advertisements appear even when you are not using a web browser.
  • The fan goes into overdrive when the device is idle.
  • Friends and family report receiving email messages from you, but you did not send them.
  • You cannot download operating system updates.

What to do if your computer is infected by bots

If your computer is already infected by bots, the most important consideration is protecting your data.

Here are some steps to take:

Step 1: Disconnect your computer from the network as soon as possible – this will stop the theft of sensitive information and prevent your computer from being used to attack other networks.

Step 2: Move all important or personal data to another computer or an external hard drive. Ensure these are malware-free before you do.

Step 3: Carry out a factory reset of your machine (bear in mind that as well as targeting the problem, it will also remove files and programs you have created, delete drivers, and return settings to their defaults)

Step 4: Clean your computer using various security tools or by asking a professional to work on the device

Remember, prevention is the best cure when it comes to bots and all other forms of malware. So, it’s important to have cybersecurity installed on all your devices.

How to protect your computer from bots

The difficulty for consumers is that many online customer touchpoints – including websites, mobile apps, and APIs – are being attacked by bots. It is possible to protect your computer from bots, but it requires vigilance and knowing what to look for.

Here are some steps to take to protect your systems from botnet infiltration:

Install anti-malware software

Use comprehensive anti-malware software to protect your device. For example, Kaspersky Total Security blocks viruses and malware in real-time and stops hackers from taking over your PC remotely. Make sure your anti-virus and anti-spyware programs are set to update automatically.

Ensure all your software is up to date

Never ignore system updates. Routinely check for browser and operating system updates and patches.

Use a strong password

A strong password is difficult to guess and includes a combination of uppercase and lowercase letters plus numbers and symbols. Avoid using the same password for multiple accounts. We recommend using a secure password manager tool.

Only click on links you trust

Only click internet links or open emails if you trust the source. Common user risks occur when downloading content from unknown sites or from friends who don't have up-to-date protections and unwittingly pass infected files to other users.

Always use extreme caution when downloading information or files from someone whose computer is not protected. Avoid using flash drives, or thumb drives, in an infected computer.

Avoid untrustworthy websites and ads

A common way users are tricked into downloading malware bots is through intriguing ads or downloads they come across during web browsing. Be cautious about downloading free versions of software from websites you don’t recognize, and never click on pop-up ads that claim only they can fix your computer’s performance or virus issues. In many cases, interacting with these pages will trigger a malware installation on your computer.

Install a firewall

A firewall can help to block malicious attacks.

Use a bot manager

Organizations can stop malicious bots by using a bot manager. Bot managers can be included as part of a web app security platform.

A bot manager can be used to allow the use of some bots and block the use of others that might cause harm to a system. To do this, a bot manager will classify any incoming requests by humans and good bots and known malicious and unknown bots. Any suspect bot traffic is then directed away from a site by the bot manager.

Some basic bot management feature sets include IP rate limiting and CAPTCHAs. IP rate limiting will limit the number of same-address-requests, while CAPTCHAs often use a puzzle to differentiate bots from humans. 

Remember, good bots are a crucial part of the internet’s infrastructure and perform many useful tasks. But bad bots are difficult to detect without an anti-virus program because they are designed to hide in plain sight. So, it is important to be aware of the risks posed by malicious bots, and practice good cybersecurity at all times.

Related Articles:

What are bots? – Definition and Explanation

What is a computer bot? An internet bot or web robot is an automated program that performs automated tasks. Learn how to protect yourself from malware bots.
Kaspersky logo

Featured posts