14
Application Security Shay Fainberg Product Security and Anti-Fraud Outbrain

Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Application Security Shay Fainberg

Product Security and Anti-FraudOutbrain

Page 2: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Agenda

} What is Outbrain} Outbrain Application Security Challenge

} Application Security Mechanisms by Priority

Page 3: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

3

Over 20K Open Source

Libs

120 Code Changes In Production

A Day

260 Micro Services

Business Partner

150 Developers

6 Main Programming

Languages

Over 50 Open Source

Software

Over 50 External Services

Page 4: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Security by Design

} Security is part of planning} Security is part of the Spec} Security is part of architecture forum

Page 5: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Security by Design

Page 6: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Security Code lib & Services

} Examples:

} If you have resources create wrappers

Security Mechanism Chosen Lib

Secure work with mySql(Avoid SQL injection)

Hibernate createQuery(parametrized query)

HTML input validation(Anti-XSS)

OWASP AntiSamy.Scan

Output encoding (Anti-XSS)

OWASP Java Encoder Encode.forHtmlContent

Hashing Passwords MessageDigest.getInstance("SHA-256")

Page 7: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

PT & Bug Bounty

} New features & reoccurring PTs} Free alternative:

Page 8: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Open Source Libs Security

} Runs daily -> integrated to the CI

} Free alternative:

Page 9: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Automatic Security Testing

JenkinsCoordinator

AppscanScan engine

ThreadFixResults Review

Tested App

StartingScan

Scan Results

Page 10: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Automatic Security Testing Free

JenkinsCoordinator

OWASP ZAPScan engine

ThreadFixResults Review

Tested App

StartingScan

Scan Results

Page 11: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Secret Management

} Passwords to services} Applicative encryption keys} Built-int cloud soutions: AWS KMS, Azure Key Vault

} Free Alternative:

} Vault Bonus - Dynamic secrets

Page 12: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Web Application Firewall

} Cloud based WAF requires network acceleration

Page 13: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Cheap Web Application Firewall

} Basic WAF capabilities} ~250$ annually

Page 14: Shay Fainberg Product Security and Anti-Fraud Outbrain · Secret Management} Passwords to ... Built-int cloud soutions: AWS KMS, Azure Key Vault} Free Alternative:} Vault Bonus -

Security Static Code Analysis

} Requires high security skillset} Takes time before you see good results

} Free alternative: