Writing Secure Code
STRIDE Threat Model
- Spoofing identity
- Tampering with data
- Repudiation
- Information disclosure
- Denial of service.
- Elevation of privilege
Top 10 Most Dangerous Software Errors
- Improper Neutralization of Special Elements used in an SQL Command
(‘SQL Injection’) - Improper Neutralization of Special Elements used in an OS Command (‘OS
Command Injection’) - Buffer Copy without Checking Size of Input (‘Classic Buffer Overflow’)
- Improper Neutralization of Input During Web Page Generation (‘Cross-site
Scripting’) - Missing Authentication for Critical Function
- Missing Authorization
- Use of Hard-coded Credentials
- Missing Encryption of Sensitive Data
- Unrestricted Upload of File with Dangerous Type
- Reliance on Untrusted Inputs in a Security Decision
Thanks to TrendMirco’s Stanley Liu
TrendMicro: http://www.trendmicro.com.cn/cn/