OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security...

26
OWASP Changing the Game A study of heroic behavior Jason Kent Director, Web ApplicaAon Security KzEuNjE0LjQ0Ni4wODcw Qualys

Transcript of OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security...

Page 1: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

OWASP  Changing  the  Game  

A  study  of  heroic  behavior    

Jason  Kent    Director,  Web  ApplicaAon  Security  

KzEuNjE0LjQ0Ni4wODcw  

Qualys    

Page 2: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

whoami  

Page 3: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Dean’s  invenAons  

Page 4: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Dean’s  invenAons  

Page 5: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

SoluAons  

•  When  we  are  faced  with  problems,  we  try  to  find  soluAons  

•  The  problems  facing  today’s  ApplicaAon  Security  professionals  are  many,  but  the  soluAons  to  them  need  to  be  simple  

Page 6: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Visible  Targets  “The  inherent  need  for  many  web  applicaAons  to  be  Internet  visible  makes  them  a  logical  target”  

Associated  with  Data  Loss  “Web  ApplicaAons….were  associated  with  over  a  third  of  total  data  loss”  

Popular  and  Successful  A;ack  Vector    “Web  applicaAons  abound  in  many  larger  companies,  and  remain  a  popular  (54%  of  breaches)  and  successful  (39%  of  records)  aZack  vector.  “    

6

Why Web App Security Matters

Page 7: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Why Web App Security Matters

7

*Modified  from  report  to  present  only  Larger  Orgs  data  

Page 8: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Why Web App Security Matters

8

Page 9: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

The  costs  for  fixing  security  flaws  are  dramaBcally  lower  the  earlier  in  the  development  lifecycle  they  are  fixed  

   

9

Best Practice - Security Early in Lifecycle

Page 10: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

   

10

Conventional Approach Bottlenecked at IT Security

Developer   App  Owner   IT  Security  

Dev  App1     QA  App1   UAT-­‐App1   Prod-­‐App1  

Scanner  

Report  of  Scan    Results  

Developer  

Fix  Code  

Promote   Promote   Promote  

Scan  App  VulnerabiliBes  not  idenBfied  or  fixed  early  in  lifecycle  

IT  Security  Bo;leneck  

Page 11: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Today  

•  Web  ApplicaAons  are  ocen  not  secure  •  We  spend  Ame  chasing  the  applicaAon  owners  to  fix  code  

•  They  don’t  have  a  project  for  it  and  one  has  to  be  created  

•  We  spend  more  Ame  creaAng  paperwork  than  doing  work  

Page 12: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

App  Sec  Today  

Page 13: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Dean’s  philosophy  

•  Never  build  a  south  poinAng  chariot  •  AZack  the  problem  in  a  manner  that  suits  everyone  

•  Try  to  find  a  soluAon  that  uses  normal  behaviors  as  a  guide  

Page 14: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Trends  

•  Some  organizaAons  are  mandaAng  scanning  in  the  SDLC  – Most  are  failing  at  it  

•  DEV  Teams  are  begging  for  a  way  to  get  the  App  Sec  Team  off  of  their  back  

Page 15: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Why  failing?  

Page 16: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Identify App

Discovery

Pre-Scan

Scan

Last Scan Response Doc

Discovery Doc from ATL· Base URL· Username/Password· Scan Window· Data overview (PII, sensitivity)· Architectural DiagramDiscovery Meeting

ATL +1, TT, PM

Spider App

Set up W/L and B/L

Verify Complete URL list with ATL

Identify App Team Lead

Send Discovery Doc to ATL

Set Discovery Meeting

No

Yes

Troubleshoot Scanner Issues

Run Scan during approved window

Clean Scan No

Yes

Open ticket with Qualys

Acronyms used in this document· ATL- App Team Lead

· The manager on the Apps team that is leading their half of the process

· TT – Tech Team· The IS Security resource performing the Scanning and Reporting

· PM – Project Manager· The IS Security resource scheduling the meetings and coordinating schedules between teams

{ QA

Quarterly

Un-announced

Incident Response

ReportSave Archive Document

Forward Report to ATL +1, TT, PM

Schedule Acceptance Meeting

Acceptance MeetingATL +1, TT, PM

ATL Response Document

Modulo Survey· Do Nothing· Compensating Control· Upgrade Code· Retire

Justifications etc

Risk Acceptance

Forward report and ATL Response document to InfoSec Manager for

Review

ATL response accepted by management

ATL creates Expense project to implement suggested response

Yes

InfoSec Manager, ATL, and ATL’s Director reach an agreement on acceptable responses.No

Documentation

Create Master File

ATL Response Doc

Scan Report

Documentation of Password Settings, W/L, B/L, workarounds, etc

TT Reviews ATL Response doc and provides suggestions for manager

accept/reject response.

ATL Director accepts Response Doc

1 Day

1 Day

3 Days

1 Day

1 Day

30 Days

5 Day

1 Day

Page 17: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Identify App

Discovery

Pre-Scan

Scan

Last Scan Response Doc

Discovery Doc from ATL· Base URL· Username/Password· Scan Window· Data overview (PII, sensitivity)· Architectural DiagramDiscovery Meeting

ATL +1, TT, PM

Spider App

Set up W/L and B/L

Verify Complete URL list with ATL

Identify App Team Lead

Send Discovery Doc to ATL

Set Discovery Meeting

No

Yes

Troubleshoot Scanner Issues

Run Scan during approved window

Clean Scan No

Yes

Open ticket with scanning vendor

Acronyms used in this document· ATL- App Team Lead

· The manager on the Apps team that is leading their half of the process

· TT – Tech Team· The IS Security resource performing the Scanning and Reporting

· PM – Project Manager· The IS Security resource scheduling the meetings and coordinating schedules between teams

{ QA

Quarterly

Un-announced

Incident Response

Report

1 Day

1 Day

3 Days

1 Day

Page 18: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

ReportSave Archive Document

Forward Report to ATL +1, TT, PM

Schedule Acceptance Meeting

Acceptance MeetingATL +1, TT, PM

ATL Response Document

Modulo Survey· Do Nothing· Compensating Control· Upgrade Code· Retire

Justifications etc

Risk Acceptance

Forward report and ATL Response document to InfoSec Manager for

Review

ATL response accepted by management

ATL creates Expense project to implement suggested response

Yes

InfoSec Manager, ATL, and ATL’s Director reach an agreement on acceptable responses.No

Documentation

Create Master File

ATL Response Doc

Scan Report

Documentation of Password Settings, W/L, B/L, workarounds, etc

TT Reviews ATL Response doc and provides suggestions for manager

accept/reject response.

ATL Director accepts Response Doc

1 Day

1 Day

30 Days

5 Day

1 Day

Page 19: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

App  Sec  Tomorrow  

•  Security  bugs  are  funcAon  bugs  •  The  same  QA  processes  apply  •  The  QA  team  and  DEV  are  familiar  with  App  Sec  Tools  -­‐  Scanners,  Proxies  (ZAP  anyone?)  are  used  as  a  QA  step  

•  Tools  all  feed  standard  DEV  reporAng  tools  (Bugzilla)  

Page 20: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

How  close  are  we?  

•  ZAP  is  gaining  popularity  with  QA  •  Some  tools  on  the  market  can  be  setup  for  QA  to  use  

•  Open  Source  is  ruling  processes,  we  need  to  harness  that  – Selenium  – Thread  Fix  

Page 21: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

The  ulAmate  workflow  

•  DEV  checks  code  into  their  DEV/QA  system  – QA  performs  funcAon  tests  and  app  scans  at  the  same  Ame  

– They  return  bugs  to  DEV  – DEV  realizes  they  are  using  a  bad  validaAon  rouAne  or  regularly  forgelng  tokens  etc…  

– DEV  fixes  their  libraries  to  match  best  security  pracAce  

Page 22: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Living  in  a  vacuum  DEV    CreaAng  Problems  

QA    FuncAon  and  Security  

Tested  app  deployed  

Audit  

Pen  Test  

Prod  Scan  

Page 23: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

A  reality  

AutomaAon  is  an  efficiency  force  mulAplier    –  Jason  Kent  

Page 24: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

   

24

Eliminating IT Security Bottleneck

QA   App  Owner   IT  Security  

Dev  App1     QA  App1   UAT-­‐App1   Prod-­‐App1  

Reports  

Developer  

Fix  Code  

Promote  Promote   Promote  

Cloud  Portal  

Oversight  /ProducAon  Scanning  Scan  QA  Scan  Dev  

All  Stakeholders  ParBcipate  

VulnerabiliBes  are  idenBfied  and  fixed  early  in  lifecycle    

Page 25: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

Live Demo  

25

Page 26: OWASP&Changing&the&Game& › › OWASP_Changing_the_Game_-… · Bottlenecked at IT Security Developer& App& Owner& IT&Security& DevApp1&& QAApp1 UAT_App1 Prod_App1 Scanner& Reportof&

[email protected]    

@jkentakula    

Thank You