Design review some key points - rinku191/AppSec_Topics_for_Interview GitHub Wiki
- Lack of encryption of sensitive data in transmission and rest mode
- Sensitive data like SSN, Aadhar, Account no should be mask while displaying
- Strong encryption algo should be used
- Insecure encryption key, Password,token and session
- Using insecure places to store sensitive information e.g. app data held in a cache which is accessible to other applications.
- Improper exception handling
- Logging properly not configure- Dev env should not store sensitive info, Stack trace, debug info
- Secure Protocol like TLS 1.2, HTTPS, FTPS and secure SMTP should be configure by default
- Strong hashing algo with salt is used for hashing
- Password must be hashed with salting.
- DB administrative portal should be only accessible by administrator.
- Certificate should not be self signed and expired
- Encryption key should be rotated
- Cookie must be configure with HTTP-only, secure, scope with domain and starting path of the app
- Policy document should be temper proof while passing from Server to Client app
- Policy should be store in safe place and standard user can’t do temper.
- Mitigate single point of failure
- Unused port should not open and expose to the outside world.
- OS should be updated and patched
- Unused process should be stopped from OS
- Firewall only expose serving port to outside world
- Antivirus should be install and updated on the System
- Unused feature should be removed from the app
- RBAC should be implemented and user has to assign access based on principal of least privilege.