20

Click here to load reader

Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

  • Upload
    slashn

  • View
    920

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

-- Sri Harsha

Keeping a commercial site secure

- Outside-in approach

Page 2: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Agenda

Page 3: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Where do I start !

XSS SQL Injection

Request Forgery

Replay Attacks

Session Management

Open Redirects

Data Validation

Third Party

Integration

Password Storage

Local/Remote file

injection

Access / Role

privileges

Clickjacking

Network Security

Denial Of Service

Transport Layer

Business Logic

Mobile applications

Public API

DDoS

Just Too Many !

Page 4: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Back to basics

Let's state Flipkart's Business in a simple sentence

Page 5: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Back to basics

Raju pays 100 + 30 Rupees and buys one copy of "Revolution

2020"

This statement is loaded with assumptions !

Page 6: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Assumptions

Raju pays 100 + 30 Rupees and buys one copy of "Revolution

2020"

Raju "pays" 130 Rs

Really ?

Page 7: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha
Page 8: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Flipkart Payment Gateways Banks

Page 9: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha
Page 10: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Raju "pays" 130 Rs

Flipkart has multiple payment methods

Flipkart has multiple payment gateway integrations

Flipkart has mobile site and apps

Page 11: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Assumptions

Raju pays 100 + 30 Rupees and buys one copy of "Revolution

2020"

Raju pays "130 Rs"

Alrighty !

Page 12: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Raju pays "130 Rs"

Page 13: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Assumptions

Raju pays 100 + 30 Rupees and buys one copy of "Revolution

2020"

"Raju" buys Revolution 2020 for 130 Rs

Page 14: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Guess the password

Bruteforce

Hijack Session

Steal the Database

Social Logins

Mobile sites, Mobile Apps ...

Phishing Attacks

Clickjacking

Social Engineering

Try all of the above options

Page 15: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Assumptions

Raju pays 100 + 30 Rupees and buys one copy of "Revolution

2020"

Raju buys "Revolution 2020" for 130 Rs

Page 16: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Assumptions

Raju pays 100 + 30 Rupees and buys one copy of "Revolution

2020"

Raju "pays 100 for the book"

Raju pays for "Revolution 2020"

"Raju" buys the book

Raju buys "One copy"

Question each of these assumptions !

Page 17: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Back to Basics

Breaking down assumptions makes easy to visualize the

vulnerabilities

Page 18: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Rinse and repeat

State an assumption

Break it

???

Profit !!!

Repeat

Page 19: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Recap

Page 20: Slash n: Technical Session 6 - Keeping a commercial site secure – A case study through Flipkart - Sri Harsha

Questions ?

sharsha@flipkart

@mylittlefinger