DiscoverChaos Computer Club - ChaosWest @ 35c3 (mp3)pam_panic - A Linux authentication module for people in distress (35C3-chaoswest)
pam_panic - A Linux authentication module for people in distress (35C3-chaoswest)

pam_panic - A Linux authentication module for people in distress (35C3-chaoswest)

Update: 2018-12-28
Share

Description

pam_panic is an authentication module made for people who think they might get into a distressing situation where they are forced to type in or even tell the password to bad people.
The idea is to use a password or a media device at a login screen which issues a destruction of the LUKS keyslots.
There will be a little crash course on what LUKS is to be more clear how and why it works.

## pam_panic ##
[on github](https://github.com/pampanic/pam_panic)

### Purposes ###
- Make a LUKS encrypted filesystem inaccessible when in distress


### What is the idea? ###
- Have an encrypted system done by LUKS
- Have two passwords or two media devices (One of the passwords/media devices is used for regular authentication, the other one is used for issuing a destruction of the LUKS key material slots and have a reboot/shutdown)
- Ask for a password/media device before your regular user password


### Crash course: LUKS ###
- What do we need to know to get this to work?
- How does the LUKS header look like?

### Making my data inaccessible ###
- Using `cryptsetup luksErase`

### Scenarios ###
Scenarios where it can help:

- Being forced to type/tell your password
- Raids


Scenarios where it doesn't help:

- Letting them make a clone of your hard drive, then having your password/media device forced from you


## Demonstration of pam_panic ##
1. Setup
2. Show authentication password and media device
3. Show panic password/media device and show the result of inaccessibility

## Q+A ##
..if there's enough time.
about this event: https://fahrplan.chaos-west.de/35c3chaoswest/talk/NBCWSE
Comments 
In Channel
IMFUC (35C3-chaoswest)

IMFUC (35C3-chaoswest)

2018-12-2821:12

loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

pam_panic - A Linux authentication module for people in distress (35C3-chaoswest)

pam_panic - A Linux authentication module for people in distress (35C3-chaoswest)

Bandie