It will come as no surprise that chatbots are everywhere and they are here to stay! In fact, 80% of companies want to have some type of chatbot implemented by 2020.
Chatbots are our friendly assistants that make life easier by helping us book flights, appointments, shop, get answer to our questions etc. They also allow companies to lower the cost in customer service and have their customer support agents attending to more complex situations.
Win-Win Situation! 😉
Typically, chatbots that are used in industries such as retail, banking, financial services, and travel, handle very important data such as credit/debit cards, SSN, bank accounts and other Sensitive PII (Personally identifiable information). The collection of this type of data is vital for the chatbot to do its job, therefore, chatbots and others digital assistants become an attractive target to be exploited by an attacker to steal users’ information.
Just like any new technology, the benefit comes with great responsibility and cyber-security risks. For this reason, is very important to know the security practices that are commonly implemented when working with chatbots. For the most part, chatbots don’t present security issues that haven’t already been discovered and properly mitigated.
Being aware of the security practices not only helps you to ensure that your chatbot is secure but also gives you peace of mind that your chatbot will not be at risk 🙂
Types of security concerns
Security concerns fall into two main categories:
Threats are usually defined as ways that a system can be compromised.
Threats can include events such as Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privileges and many more.
After an attack, hackers can threaten to expose information or sell personal information on the deep web. Each different attack should be mitigated with their respective techniques.
Vulnerabilities are defined as ways that a system can be compromised that are not properly mitigated. A system can become vulnerable and open to attacks when it is not well maintained, has poor coding, lacks protection, or due to human errors. The most effective way to mitigate vulnerabilities is to implement SDL (Security Development Lifecycle) activities into the development lifecycle.
Spoiler Alert: SDL activities article to follow 😉
It is very important to be aware of the different attacks that can be exploited in these two categories. Security awareness is one of the most important things that a company should invest in, but security measures often go unnoticed until an attack happens.
In 2017, the average total cost of a successful cyber-attack was over $5 million, or $301 per employee. (Ponemon Institute)
Better safe than sorry! 🙂
Chatbots can offer a solution to some of the well-known security weaknesses. Encryption and other security measures minimize the vulnerability of a system through highly secure protocols. As a result, chatbots not only offer a great user interface for conversations but also provide security to some vulnerabilities.
Brief introduction to a few of the security practices implemented when working with a chatbot
1. End-to-end encryption
It is very important to have E2EE, this ensures that the whole conversation will be encrypted. Data in transit can also be tampered and spoofed, different protocols exist to provide encryption while addressing these issues, we will take a look at them later. Encryption in some cases might need to be used with authentication and integrity protection schemes.
As you may know, chatbots can also connect to channels like Facebook messenger, Telegram, Slack, etc. In this case, the ideal mitigation for E2E is to only allow chatbots to connect to channels that support data encryption. Article 32 (a) of the General Data Protection Regulation (GDPR) specifically requires that companies take measures to pseudonymize and encrypt personal data.
The good news is that thanks to regulations like GDPR, more companies are paying attention to data encryption and therefore giving chatbots more channels to connect to in a secure manner. For example: In 2016, Facebook messenger introduced the new feature called “Secret Conversations” that enables E2E based on Signal Protocol developed by Open Whisper Systems.
2. User identity authentication and authorization
User authentication is used to identify that a user is verified with valid and secure login credentials such as a username and password. The credentials are exchanged for a secure authentication token, this token is used throughout the user’s session.
One of the security measures used in chatbots especially on the banking cases is authentication timeouts, when the generated token can only be used for a preset amount of time, after that, the system will be forced to make a new one.
Two-factor authentication is another way to verify the identity of a user by asking them to verify their account through an email and text message, this authentication technique also helps with authorization by granting the right person access and keeping the information in the right hands.
3. Self-destructive messages
When Sensitive PII (Personally identifiable information) is being transmitted, the message with this information will be destroyed after a set amount of time. This type of security measure is crucial when working with banking and other financial chatbots.
Article 5 (e) of the General Data Protection Regulation (GDPR) states that personal data shall be kept for no longer than is necessary for the purposes for which it is being processed.
Another GDPR compliance measure is to have an “intent level” of privacy, the user can exchange personal information but the data will not be revealed even from the backend, only the intents from the user are logged and kept for audit purposes.
4. Secure Protocols
We know that network security can often be a tough topic, you can think of the purpose of secure protocols as to transfer data from point A to point B without being intercepted, read by unauthorized individuals, altered or deleted.
HTTPS is the web protocol ensuring the privacy and integrity of our data, this protocol transfers data over Hypertext transfer protocol (HTTP) through an encrypted connection by Secure Sockets Layer (SSL) or Transport Layer Security (TSL).
Concern for security is very important in times of new technologies as they may bring new threats, however, companies are taking greater safety measures to ensure that users’ information is safe. Regulations such as GDPR, California Consumer Privacy Act (CCPA) and others are enforcing data security policies that obligate companies to protect customers’ data.
Even though chatbots are relatively new technology, the security practices that stand behind them have been used and proven to be effective for many decades, this gives our users peace of mind that their data will be handled in a secure manner.
Now that you know how bots are secured! It is time to start building your own chatbot using SAP Conversational AI, and leave the security worries to the experts 😉
Happy secure bot building!
Click here to find out how I make $600 a day from home!