itcamp 2011 - paula januszkiewicz - password secrets revealed

28
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies Paula Januszkiewicz CQURE: IT Security Auditor, MVP, MCT http://blogs.technet.com/plwit/ [email protected] Password Secrets Revealed! Everything you want to know but are afraid to ask… or had no time to check it! @itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Upload: itcamp

Post on 18-Nov-2014

1.611 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Paula Januszkiewicz

CQURE: IT Security Auditor, MVP, MCT

http://blogs.technet.com/plwit/

[email protected]

Password Secrets Revealed! Everything you want to know but are afraid to ask…

…or had

no time to

check it!

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Page 2: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

IT Camp 2011

• Thanks for coming!

• ITCamp is made possible by our sponsors:

Page 3: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies 3

http://facebook.com/MVPpress

http://twitter.com/MVPpress

Follow us on:

MVP-Press Training Course

Planning, Deploying and Managing Microsoft Forefront Threat Management Gateway 2010 Available for online purchase: http://www.mvp-press.com

Page 4: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Agenda

1 2 3

What are passwords for… nothing!

Passwords – some examples

Summary

(Things you should remember)

Page 5: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 6: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies @itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Page 7: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

… would be beautiful, but it is not

• Strong passwords or / and user awareness

Complexity

Characters

Letters

(Lower)

Letters (Upper

& Lower)

Letters (All) &

Digits

Letters &

Digits &

Special

6 308,915,776 19,770,609,664 56,800,235,584 304,006,671,42

4

8 208,827,064,57

6

53,459,728,531

,456

218,340,105,58

4,896

2,044,140,858,

654,976

10 141,167,095,65

3,376

144,555,105,94

9,057,024

839,299,365,86

8,340,224

13,744,803,133

,596,058,624

12 95,428,956,661

,682,176

390,877,006,48

6,250,192,896

3,226,266,762,

397,899,821,05

6

92,420,056,270

,299,898,187,7

76

Page 8: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Time to crack passwords

Complexity

Characters

Letters

(Lower)

Letters (Upper

& Lower)

Letters (All)

& Digits

Letters & Digits

& Special

6 154,4 seconds 164,7 hours

8 29 hours … … …

10 816 days … … …

12 51152123 years … … 87918622783,7

years

Avg. password cracking: 2 millions per second

Page 9: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

3 cryptograpgy basis

Page 10: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 11: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

DEMO

Passwords in the Web: Null Byte Injection, Inside the SSL Tunnel

Page 12: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 13: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Protected Storage

• Now: Read-Only

• DPAPI

– Data Blob + Entropy

– Master Key

– User Password

Page 14: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 15: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

DEMO

VNC

Page 16: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 17: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

DEMO

Wireless (In) Security

Page 18: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 19: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Crack Basics: Windows

• Locally: Security Accounts Manager

• Domain: NTLS

• Direct reading? Why not?

– SAMInside, Cain, ERD Commander, pwdump + LC5, john the ripper

• PSTORE

Page 20: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

DEMO

SAM (Tools), DefineDosDevice, System Privileges, SAPD, Notification Package, GINA.DLL

Page 21: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 22: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Rainbow Tables

• OphCrack

• RainbowCrack

• http://www.insidepro.com/tables.php

• http://www.freerainbowtables.com/en/tables/ntlm/

• https://www.objectif-securite.ch/en/products.php?hash=EE84987FE4DC6997ABD2655ED5D5C144&drgn=2

Page 23: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 24: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Password Cracking Tools

• Linux – John the Ripper (http://www.openwall.com/john/)

• Windows – John the Ripper

– SamInside / Passwords Pro (http://www.insidepro.com)

– Cain (http://www.oxid.it/cain.html )

– LC5 / pwdump – Top 10 Tools: http://sectools.org/crackers.html

Page 25: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Life without passwords…

Passwords in the Web

Summary

Protected Storage

VNC

Wireless (In) Security

Passwords in the Operating System

Rainbow tables

Cracking toolkit

What to expect?

Page 26: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Summary

• Have your own dictionary file

• Use well-designed password policies

• Train users – show them what may happen if their password is revealed

• Test your users’ passwords

Page 27: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Q&A

Page 28: ITCamp 2011 - Paula Januszkiewicz - Password secrets revealed

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Don’t forget!

Get your free Azure pass!

• 30+15 days, no CC req’d

– http://bit.ly/ITCAMP11

– Promo code: ITCAMP11

We want your feedback!

• Win a WP7 smartphone

– Fill in your feedback forms

– Raffle: end of the day