Secure desktop application - weaknesses are often overlooked
In the past few years, cloud computing has made extremely strong development steps, and gradually emerged as a first choice alternative to traditional data storage and processing measures.
Also from this development trend, traditional desktop applications have been added to the Internet interface, or even own the same version available on the cloud, how to handle it will not also different from cloud applications. Currently, the security factor for traditional desktop applications is gradually overlooked. While in fact, desktop application security should be deployed in the same way as cloud applications.
- Twitter appears 'error' that causes user information to be approached by third-party advertising providers
Desktop application security should be deployed in the same way as cloud applications.
Here are some of the most common desktop application weaknesses on any operating system platform:
- Easily become the target of brute force attacks automatically after hackers have access to known password books.
- Hackers gain access to weak, predictable, or commonly used passwords.
- Storing passwords with simple text or weak hash functions.
- No multi-factor authentication (MFA).
- Disable invalid session when logging out or after timeout.
If you deploy MFA (multi-factor authentication) to your application, the attacker will not be able to complete MFA steps in a timely and automated manner, thereby helping to prevent remote infiltration attacks. brute force as well as authentication.
For passwords, use the generic password list to detect and verify weak or common passwords, combined with the use of powerful hashing algorithms for user passwords. Limit the use of weak hash functions like MD5. Also, don't store your passwords in plain text.
In addition, you should also pay attention to vague login errors, intentionally when a person enters an incorrect username or password. Otherwise, crooks can use this element to trigger attacks, thereby 'sneaking out' a valid account.
Some ways to prevent sensitive data from being stolen from an application include:
- Ensure that web traffic is fully encrypted, sent via HTTPS with a valid SSL certificate, and updated when an insecure connection is possible.
- The Encrypt request (letencrypt.org) provides a free SSL certificate to ensure seamless and secure web traffic.
- Encrypted and signed browser cookies contain sensitive information.
- Delete sensitive data when it is no longer needed.
- Passwords use strong hashing algorithms.
- Encrypt all confidential, high value data.
Prevent SQL Injection vulnerabilities
SQL Injection is one of the types of web hacking by injecting SQL query / command codes into input before transferring to the web application, you can login without a username and password, remote execution (remote execution), dump data and retrieve the root of SQL server. The attack tool is any web browser, such as Internet Explorer, Netscape, Lynx, .
Even if automated database encryption technology is used, if a SQL Injection attack is successfully deployed, the data must be read and encrypted at the base level. The encoding / decoding step should be done as part of the core application logic, which helps prevent the consequences of SQL Injection attacks.
- Overview of building enterprise security detection and response system
Access control
Access control is an important factor in application security
If an application is equipped with the ability to differentiate users based on privileges or access permissions, this may open a gap in access control, thereby increasing the rights of the attacker. should not have. Some examples include:
- Cannot prevent access to 'Members Only' pages (Members Only) when the user is not logged in or does not own the appropriate rights to view the page.
- Do not authenticate URL parameters that can be modified by users (such as exchanging IDs from one user to another)
- Believe that the value of the cookie is not changed when used to determine the user's role. By verifying both cookie encryption and signature, you can trust that the value has not changed.
Another important thing is to verify and pay attention to user rights. Don't put too much faith in the input data that users can change if they want.
When an error with security configuration is encountered, the main concerns in this case include:
- Obsolete security patches on the server system.
- Application framework security is not enabled, or incorrectly configured.
- The default account, password and security key are still valid or unchanged.
- The port is not used or turned off by default, the service is still enabled on the server system.
Ensuring that the security patches on the server system running the application have been updated with the latest version, and the proper security features of the application framework that has been activated are extremely important. In addition, you should ensure that the third-party private key (private key) is not uploaded to the source control provider, especially if the application is open source. They can be easily accessed by attackers through an automated scanning tool.
In this case, it's best to store private keys completely separate from the source code.
- The cybersecurity tools that every business should know
Use software that contains vulnerabilities continuously for a long time
Modern software today tends to use a lot of third-party components, so updating the application as well as the components of the application to the latest version plays a crucial role in the room. preventing attacks or known security holes. Unfortunately, the large number of application dependencies sometimes makes it difficult to identify and handle vulnerable components, whether direct or indirect.
- Insider attacks are becoming more and more popular and difficult to detect
Monitoring and journaling
Monitoring and logging are mandatory tasks in application security
Violation detection, attack type and user activity are the main attributes and are almost mandatory in every system protection process. If you do not have enough application logging and monitoring features, it will be difficult to determine if the system has been compromised, how it infringed, how it originated, the starting point and location of vulnerabilities in application security strategy. Very simple, if you don't know where the flaw is, you won't be able to patch it!
- Endpoint Detection and Response threats, an emerging security technology
You should read it
- The NSA identifies 4 'critical' security vulnerabilities of cloud systems
- Detect a critical flaw in VMware Cloud Director, which could pave the way for hackers to take control of enterprise servers
- The 3 most popular attacks targeting clouds today
- Establish effective cloud security platform with 5 basic steps
- Thousands of Apple ID accounts are leaked because an application's server has data leaks
- Cloud computing transforms how to prevent viruses?
- Detecting vulnerabilities in BitTorrent applications allows hackers to control user computers
- Many serious vulnerabilities have been discovered that allow attackers to take full control of the 4G router
- 4 data security applications on iPhone that you should have
- Error on CPU seriously affects cloud storage services
- Kaspersky Security Cloud guide to install Kaspersky Security Cloud for free
- IBM developed a new technology to patch security holes
Maybe you are interested
4 Security Steps to Follow When Using Remote Access Applications
15 safe software and application download websites for Windows
Air conditioner control application by iPhone
How to use ProNotes: Extension enhances the Notes application on Mac
6 accurate weather forecast applications on your phone
How to install passkey for application X (Twitter)