Smolen Alex Securing The Mvc Architecture Part One

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Smolen Alex Securing The Mvc Architecture Part One - Presentation Transcript

    1. Securing the MVC Architecture Part One Alex Smolen Software Security Consultant Foundstone, Inc Mission Viejo, CA [email_address]
    2. Who are you?
      • Name: Seymour Flaus
      • Age: 28
      • Title: Software Security Architect
    3. You like spicy food…
    4. And pinball…
    5. And astronomy.
    6. You don’t like clueless bosses…
    7. Or frightening cats…
    8. Or Insecure Software!
    9. First day at work…
      • HACME Inc.
    10. Hugh Jasul Good Morning! Care for coffee?
    11. Seymour Flaus No thanks.
    12. Hugh Jasul Great. Hey, want to see a picture of my cat?
    13. Seymour Flaus Uh…
    14.  
    15. Seymour Flaus Cute.
    16. Hugh Jasul Enough small talk, Seymour. Hacme Inc. is in a bit of trouble…
    17. Seymour Flaus Trouble?
    18. Hugh Jasul We’ve had a few security “issues”…
    19. Seymour Flaus Such as?
    20. Hugh Jasul Hackers have been hacking into Hacme Bank accounts!
    21. Seymour Flaus Oh, is that all? So it’s not just a clever name.
    22. Hugh Jasul No, there’s more. But find and fix this vulnerability right now! We’re going live tomorrow!
      • Get to work!
    23. Seymour Flaus OK, fixed it!
    24. Hugh Jasul Not so fast, we got a complaint from one of our UAT testers.
    25. Seymour Flaus Who’s that?
    26.  
    27. Seymour Flaus OK, back to the drawing board.
    28. Hugh Jasul Fantastic work, Seymour. By the way, we’re going to need you on Saturday morning for a four hour meeting…
    29. Seymour Flaus Great. Nice to be appreciated.
    30. Hugh Jasul Next order of business… Hacme Books customers are complaining that a book is being added to their cart!
    31. Seymour Flaus I’m on it!
      • Get to work!
    32. Hugh Jasul Great job Seymour! By the way, I have some dry cleaning ready, could you..
    33. Seymour Flaus I got my masters for this?
    34. Hugh Jasul Great, great, great. Now, I know you’ve been busy, but there’s a top priority task at hand.
    35. Seymour Flaus Do tell.
    36. Hugh Jasul People have been cheating on Hacme Casino and scamming us for big $$$. Find and fix!
    37. Seymour Flaus Here we go…
      • Get to work!
    38. Hugh Jasul Alright, I think that’s a great first day. I’m off to the golf course…
    39. Seymour Flaus See ya. I’m going to go hit up craigslist for a new job.
    40. Introduction
      • Who am I?
      Software Security Consultant Developer Architect/Designer
    41. Introduction Who am I talking to? People using… People building… Software security folks frameworks.
    42. Introduction What’s the point? WTF?
    43. Security Concerns
      • Analyze each component of architecture for security responsibilities
    44. MVC Architecture View Model Controller
    45. MVC Architecture View Model Controller View
    46. MVC Architecture View Model Controller
    47. Security Concerns
    48. Security Concerns - Model
      • Data Protection in Storage
    49. Security Concerns - Model
      • Encrypt credit card
      • information
      • Hash passwords
      • Scrub personally
      • identifiable information
      Data Protection in Storage
    50. Security Concerns - Model
      • Fine Grained Authorization
    51. Security Concerns - Model
      • Verify user is accessing their own account
      • Verify that transaction is made at an appropriate hour
      • Make sure that user is not “cheating”
      Fine Grained Authorization
    52. Security Concerns - Model
      • Logging
    53. Security Concerns - Model
      • Log login attempts
      • Log input validation failures
      • Log access to log
      Logging
    54. Security Concerns - Model
      • Authentication
    55. Security Concerns - Model
      • Secure transport layer
      • Check password policies
      • Lockout account
      Authentication
    56. Security Concerns - View
      • Data Sanitization
    57. Security Concerns - View
      • HTML encode dynamic data
      • Mask sensitive information
      • Remove comments
      Data Sanitization
    58. Security Concerns - View
      • Error Handling
    59. Security Concerns - View
      • Give user friendly error message
      • Remove system error information
      • Prevent username enumeration
      Error Handling
    60. Security Concerns - View
      • Data Protection in Storage
    61. Security Concerns - View
      • Prevent pages from being cached
      • Don’t pass sensitive information in URL
      • Disable AUTOCOMPLETE
      Data Protection In Storage
    62. Security Concerns - View
      • Data Protection in Transit
    63. Security Concerns - View
      • Use SSL for secure content
      Data Protection In Transit
    64. Security Concerns - Controller
      • Data Validation
    65. Security Concerns - Controller
      • Verify entered date is actually a valid date
      • Make sure comments are less than 500 words
      • Look for recognized attack strings
      Data Validation
    66. Security Concerns - Controller
      • Session Management
    67. Security Concerns - Controller
      • Verify session is valid
      • Check username, roles
      • Perform session timeout
      • Authenticate again
      Session Management
    68. Security Concerns - Controller
      • Coarse-Grained Authorization
    69. Security Concerns - Controller
      • Verify user is authenticated for sensitive resources
      • Verify user is in correct role
      • Make sure IP address is internal
      Coarse-Grained Authorization
    70. Security Concerns - Controller
      • Data Protection in Transit
    71. Security Concerns - Controller
      • Use SSL
      • Set secure cookies
      Data Protection in Transit
    72. Thanks!
    73. Stay tuned for…
      • Examination of security mechanisms in:
        • J2EE/Struts
        • ASP.NET
        • Ruby on Rails

    + alsmolaalsmola, 3 years ago

    custom

    780 views, 0 favs, 1 embeds more stats

    This is the slide deck for the presentation I gave more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 780
      • 772 on SlideShare
      • 8 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds
    • 8 views on http://keepitlocked.net

    more

    All embeds
    • 8 views on http://keepitlocked.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories