Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Security in developer’s life: knowledge is power

oxdef
October 03, 2017

Security in developer’s life: knowledge is power

OWASP Poland Day 2017

oxdef

October 03, 2017
Tweet

More Decks by oxdef

Other Decks in Programming

Transcript

  1. View Slide

  2. Security in developer’s life.
    Knowledge is power
    Security

    View Slide

  3. $ whoami
    Product security team lead in Yandex
    OWASP Russia chapter leader
    (yandex|google)://oxdef

    View Slide

  4. View Slide

  5. Automation is security’s
    answer to the agile
    development problem

    View Slide

  6. But…

    View Slide

  7. Just writing secure code
    is better

    View Slide

  8. Problems and questions
    How to avoid questions about typical vulnerabilities?
    How to make developers aware about security processes and controls?
    How to make developers read security guides?
    How to measure the result?
    How to use these metrics in other security activities?

    View Slide

  9. Security in developer’s life
    Interview
    The first day at work
    The first lines of code
    The first security audit
    The first security issues in the code

    View Slide

  10. Interview
    Learn about your new developers from the interview
    If you use hire platform then add security related questions to it
    After the interview is completed you can automatically gather and analyze
    answers via API

    View Slide

  11. The first day at work
    “Welcome” meeting and small introduction talk about security processes
    Internal staff portal with API
    Use this API for monitoring new developers
    Automatically send them “Welcome” letter

    View Slide

  12. How to write secure code at Yandex
    Alexander, welcome to our team!
    Here at Yandex we make beautiful, functional, fast AND secure services!
    Security team had prepared security guides for you:
    https://internal-portal/security/guides/.
    Please, find some time to read them as soon as possible.
    If you have any questions feel free to contact us.
    --
    Product Security Team
    https://internal-portal/security/

    View Slide

  13. View Slide

  14. Internal security portal
    Security guides
    Quick links to security self-checking services
    AskSecurity contact form
    Latest posts from internal security blog
    Current projects

    View Slide

  15. View Slide

  16. Structure
    Separate guides for web, Android, iOS and C/C++ developers
    From common topics and practices to typical issues and specific cases
    Use cards as a format for publicating complex issues
    Developers don’t want to read “long read” articles
    Content should be easily searchable based upon factors such as platform,
    programming language, framework, typical words, etc.
    Integrated self-assessment quiz and feedback form

    View Slide

  17. Content
    High-level best practices: authentication/authorization, input validation,
    output encoding, error handling, etc.
    Security team internal processes, services and controls
    OWASP Top 10 typical threads and mitigations
    Specific internal topics

    View Slide

  18. View Slide

  19. Quizzes and courses
    To measure how well developers read the guides
    Quiz should not take a lot of time
    Quiz should not be boring!
    Use FOSS, e.g. learning management system like Moodle
    Other interesting services: OWASP Security Knowledge Framework,
    Hacksplaining, Codebashing

    View Slide

  20. View Slide

  21. Developer’s profile
    Badges for various security activities
    Special flags, e.g. for reading our guides
    Security “karma”
    Use this information to make more accurate threat analysis of new releases

    View Slide

  22. Metrics
    60% developers briefed on security guides within the past year
    No more questions about security issues
    More followers in internal security blog

    View Slide

  23. Let developers be security champions

    View Slide

  24. Application security
    should be closer to
    developers. From the
    first days and lines of
    code

    View Slide

  25. Q&A

    View Slide

  26. Taras Ivashchenko
    Product security team
    [email protected]
    oxdef
    @oxdef
    Contacts

    View Slide