can get you into big trouble (Illegal) if you do this without permission. • Make sure you test in a closed environment to avoid leaking • Virtual Machines • Virtual Networks • No Outside Connection 9/29/2017 Punkcoder.com 5
it sounds… • Try your best to ignore what you think you know about your project. • Try to approach it like someone who wants your site offline. • You don’t have to be a super elite hacker to improve the quality of the application your working on. 9/29/2017 Punkcoder.com 13
Demand Same Origin • Include and Check a CSRF Token • More Information: • https://www.owasp.org/index.php/Cross- Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet#Warning:_No_Cross- Site_Scripting_.28XSS.29_Vulnerabilities 9/29/2017 Punkcoder.com 21
• Enable HTTPS, Transmit all Data Securely • Never Store Data in ClearText • Encrypt, using known best practices, don’t roll your own. • Ensure that there is no cache where sensitive data is concerned • More Information: • https://www.owasp.org/index.php/Top_10_2017-A6- Sensitive_Data_Exposure • https://blog.detectify.com/2016/07/01/owasp-top-10-sensitive-data- exposure-6/
Libraries, perform it regularly • Work with IT to make sure it stays patched. • Monitor for known CVEs • More Information: • https://www.owasp.org/index.php/Top_10_2017-A9- Using_Components_with_Known_Vulnerabilities • https://cve.mitre.org/ • https://www.exploit-db.com/ 9/29/2017 Punkcoder.com 23
someone else do it OAuth • Use known Libraries • More Information: • https://www.owasp.org/index.php/Authentication_Cheat_Sheet 9/29/2017 Punkcoder.com 24