Password Security Flashcards

1
Q

Developer role password storing

A

Developers need to ensure that users passwords are stored securely

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Password Security Problems

A

Users often choose weak passwords, admins often complex policies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to store securely

A

Hash passwords with salt (hash provides preimage and collision resistance)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why do developers get passwords wrong?

A

They might not consider security or not know how to store passwords securely.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why do developers get password storage wrong? Setting

A

Lab-Setting with complete control over hardware and software
Complete task in Java over 8 hours
Lab => survey => semi structured interview
Task: Implement registration for social media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why do developers get password storage wrong? Prompts & Framework

A

Developer were either prompted to implement secure password storage or to implement API, they could use Spring(opt-in security) or JSP(manual security)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why do developers get password storage wrong? Grading

A

Up to seven points available for hashing, lenght, salt, salt length etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why do developers get password storage wrong? Results

A

Unprompted:
Hashing knowledge 9/10
Secure password storage 0/10
Didnt feel like it was security relevant
Prompted:
Hashing knowledge 9/10
Secure password storage 7/10

Framework support:
JSP: No support felt, even felt like it was not possbile
Spring: Support felt by some participants
Result: Friendly API not enough, Prompting required. Functionality first, security second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Deception Task Design in Dev Password. Setup

A

40 participants took part: Half on Qualitative, Half Quantitive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Deception Task Design in Dev Password. Result

A

H1: Prompting has an effect on security attempt
H2: Prompting does not have an effect on success after attempt is made
H3: Framework has effect on security score of participants that attempt (spring > jsf)
H4: Java experience has effect on security score (not statistically relevant)

Copy and pasting had positive effect on security
Quantitive group did not add many insights => qualitative analysis for api results

Promt/Deception allowed to study two different aspects:
Security vs Api usability

Non prompted 20/20 plaintext
Prompted 8/20 plaintext

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

“If you want, I can store the encrypted password.” Setup

A

Same study with freelancers instead of students => not enough money
Moved to company context:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

“If you want, I can store the encrypted password.” Prompting

A
  1. Prompted (secure password storage) 100 euro
  2. non prompted 200 euro
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

“If you want, I can store the encrypted password.” Results

A

Non prompted 14/21 plaintext secure 4/21
Prompted 3/21 plaintext: Secure 13/21

payment may increase security (still discussed)
many did not know how to securely store passwords
freelancer.com may be a good place to recruit participants but students did perform similary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Conducting security developer studies with students setup

A

also prompted and non prompted
also spring and jsf
36 real developers from germany

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Conducting security developer studies with students results

A

Significantly better security score.
spring still performed better then jsf
company devs differed from students in absolute terms
but they were similar in relative terms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Password studies results

A

Dont blame developers, adapt technology instead of having devs adapt