36
Present Absence of Linux Filesystem Security Philip Derbeko January, 2018

Present Absence of Linux Filesystem Security

Embed Size (px)

Citation preview

Page 1: Present Absence of Linux Filesystem Security

PresentAbsenceofLinuxFilesystemSecurityPhilipDerbeko

January,2018

Page 2: Present Absence of Linux Filesystem Security

AboutMe([email protected])

Page 3: Present Absence of Linux Filesystem Security

PresentAbsence

Acharacterwhodoesnotappearformuchof,ifnotalltheplot,butwhosepresenceisneverthelessfelt.Moreaccurately,theabsenceofthecharacterismostsignificant.

Page 4: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 5: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 6: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 7: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 8: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 9: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 10: Present Absence of Linux Filesystem Security

RecapofFSSecurity

1. Read/Write/Execute2. Inheritance3. Only“Allow”permissions

Page 11: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 12: Present Absence of Linux Filesystem Security

RecapofFSSecurity

Page 13: Present Absence of Linux Filesystem Security

Privacyvs.Security

Page 14: Present Absence of Linux Filesystem Security

The“Root”oftheproblem

Permanentlinktothiscomic:https://xkcd.com/149/

Page 15: Present Absence of Linux Filesystem Security

CapabilitiesAnyone?

Page 16: Present Absence of Linux Filesystem Security

CapabilitiesAnyone?

Page 17: Present Absence of Linux Filesystem Security

LSMtotherescue???

Issues:- Notmandatory- Singleactivemodule- Kernelcompilation- LimitedHooks

Page 18: Present Absence of Linux Filesystem Security

3SecurityGaps

1.Contextofoperations2.WeirdOperations3.DestructiveOperations

Page 19: Present Absence of Linux Filesystem Security

Contextofoperations

Page 20: Present Absence of Linux Filesystem Security

Doyoureallyknowwhatisgoingon?

Page 21: Present Absence of Linux Filesystem Security

Doyoureallyknowwhatisgoingon?

Page 22: Present Absence of Linux Filesystem Security

ContextofOperations

Page 23: Present Absence of Linux Filesystem Security

WeirdOperations

Page 24: Present Absence of Linux Filesystem Security

WeirdOperations

Page 25: Present Absence of Linux Filesystem Security

WeirdOperations

Page 26: Present Absence of Linux Filesystem Security

WeirdOperations

Page 27: Present Absence of Linux Filesystem Security

DestructiveOperations

Page 28: Present Absence of Linux Filesystem Security

DestructiveOperations

Page 29: Present Absence of Linux Filesystem Security

DestructiveOperations

KillDisk –encryptionloop

Page 30: Present Absence of Linux Filesystem Security

DestructiveOperations

Encoder–encryptionloop

Page 31: Present Absence of Linux Filesystem Security

DestructiveOperations

Page 32: Present Absence of Linux Filesystem Security

DestructiveOperations– ShieldFS assumptions/findings

1. #offolderlistingoperations2. #ofreadfiles3. #ofwrittenfiles4. #ofrenamedormovedfiles5. #ofaccessedfiles6. Averageentropyoffile-writeoperations

Page 33: Present Absence of Linux Filesystem Security

Solution?

Page 34: Present Absence of Linux Filesystem Security
Page 35: Present Absence of Linux Filesystem Security

[email protected] www.ensilo.com company/enSilo @enSiloSec

ThankYou

Page 36: Present Absence of Linux Filesystem Security

WeirdOperations