SlideShare a Scribd company logo
1 of 12
Auditing Lustre file system
Research Project, Spring 2021
Presented By:
Sayed Erfan Arefin
Overview
๏ƒ˜ Motivation
๏ƒ˜ Lustre Parallel File System
๏ƒ˜ File system auditing
๏ƒ˜ Lustre Changelog
๏ƒ˜ Design and Implementation
๏ƒ˜ Functionalities
Motivation
๏ƒ˜ File system auditing
๏ƒ˜ Study and Understand the Luster parallel file system
๏ƒ˜ Build a tool to audit lustre parallel file system
Lustre Parallel File System
Figure: Lustre parallel file system.
Lustre Parallel File System
๏ƒ˜ Lustre is a type of parallel distributed file system
๏ƒ˜ Linux + cluster = Lustre
๏ƒ˜ Used for Large scale cluster computing, HPC
๏ƒ˜ Three components: Metadata Server (MDS), Object Storage Server(OSS), Client
File system audit
๏ƒ˜Evaluate the organization's ability to protect its information assets
๏ƒ˜Ability to properly dispense information to authorized parties
๏ƒ˜Audit consists in controlling that all data accesses made
were done according to the access control policy in place
๏ƒ˜Audit can be used as a proof of security in place
Lustre Changelog
๏ƒ˜ Lustre Changelogs are a good mechanism for audit
๏ƒ˜ Changelog records contain all information necessary for auditing purposes
๏ƒ˜ Ability to identify object of action with file identifiers (FIDs) and name of targets
๏ƒ˜ ability to identify subject of action with UID/GID and NID information
๏ƒ˜ ability to identify time of action with timestamp
Lustre Changelog
๏ƒ˜ To enable all changelog entry types:
๏ƒ˜ To register a new changelog user for a device ( example: lustre-MDT0000 ):
๏ƒ˜ Example of an OPEN changelog entry
Change log record type
Value Description Value Description
MARK Internal recordkeeping LYOUT Layout change
CREAT Regular file creation TRUNC Regular file truncated
MKDIR Directory creation SATTR Attribute change
HLINK Hard link XATTR Extended attribute change (setxattr)
SLINK Soft link HSM HSM specific event
MKNOD Other file creation MTIME MTIME change
UNLNK Regular file removal CTIME CTIME change
RMDIR Directory removal ATIME * ATIME change
RENME Rename, original MIGRT Migration event
RNMTO Rename, final FLRW
File Level Replication: file initially
written
NOPEN * Denied open RESYNC File Level Replication: file re-synced
CLOSE Close GXATR * Extended attribute access (getxattr)
Implementation
๏ƒ˜ Created 4 Virtual machines using Virtual Box: 1 Virtual
core per VM, 2 GB Memory and 20 GB disk space.
๏ƒ˜ Cent OS 8.3 is installed in all the Virtual Machines.
๏ƒ˜ Luster will be used in the VMs: 1 Luster Client, 1 MDS,
and 2 OSS
๏ƒ˜ Feed changelog data to Mongo DB
๏ƒ˜ Display auditing
Functionalities
๏ƒ˜ Logging โ€“ all access and changes to files and folders, including data and permissions should be
logged.
๏ƒ˜ Visibility โ€“ all audit log data should be easily accessible to be reviewed, filtered, searched, etc.
๏ƒ˜ Alerting โ€“ notifications should be sent based on matching criteria to actions deemed suspect.
๏ƒ˜ Reporting โ€“ this gets a bit tricky, but even native tools have the ability to export log data. So, even if
itโ€™s not pretty, the ability to generate sharable โ€œreportsโ€ should be a part of file auditing.
THANK YOU

More Related Content

Similar to Auditing Lustre file system

Chapter 10
Chapter 10Chapter 10
Chapter 10
cclay3
ย 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systems
AbDul ThaYyal
ย 
Poking The Filesystem For Fun And Profit
Poking The Filesystem For Fun And ProfitPoking The Filesystem For Fun And Profit
Poking The Filesystem For Fun And Profit
ssusera432ea1
ย 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
Ntu
ย 
Ch11 OS
Ch11 OSCh11 OS
Ch11 OS
C.U
ย 

Similar to Auditing Lustre file system (20)

DFSNov1.pptx
DFSNov1.pptxDFSNov1.pptx
DFSNov1.pptx
ย 
Chapter 10
Chapter 10Chapter 10
Chapter 10
ย 
Section02-Structures.ppt
Section02-Structures.pptSection02-Structures.ppt
Section02-Structures.ppt
ย 
Chapter 8 distributed file systems
Chapter 8 distributed file systemsChapter 8 distributed file systems
Chapter 8 distributed file systems
ย 
Windowsforensics
WindowsforensicsWindowsforensics
Windowsforensics
ย 
Distributed System by Pratik Tambekar
Distributed System by Pratik TambekarDistributed System by Pratik Tambekar
Distributed System by Pratik Tambekar
ย 
Poking The Filesystem For Fun And Profit
Poking The Filesystem For Fun And ProfitPoking The Filesystem For Fun And Profit
Poking The Filesystem For Fun And Profit
ย 
Linux_Commands_MT.pdf
Linux_Commands_MT.pdfLinux_Commands_MT.pdf
Linux_Commands_MT.pdf
ย 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
ย 
Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfs
ย 
Dos unit 4
Dos unit 4Dos unit 4
Dos unit 4
ย 
Leveraging NTFS Timeline Forensics during the Analysis of Malware
Leveraging NTFS Timeline Forensics during the Analysis of MalwareLeveraging NTFS Timeline Forensics during the Analysis of Malware
Leveraging NTFS Timeline Forensics during the Analysis of Malware
ย 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
ย 
Linux textbook notes - Graham Helton
Linux textbook notes - Graham HeltonLinux textbook notes - Graham Helton
Linux textbook notes - Graham Helton
ย 
Securing Applications and Pipelines on a Container Platform
Securing Applications and Pipelines on a Container PlatformSecuring Applications and Pipelines on a Container Platform
Securing Applications and Pipelines on a Container Platform
ย 
Cl309
Cl309Cl309
Cl309
ย 
Distributed File Systems
Distributed File SystemsDistributed File Systems
Distributed File Systems
ย 
Ch11 OS
Ch11 OSCh11 OS
Ch11 OS
ย 
OSCh11
OSCh11OSCh11
OSCh11
ย 
OS_Ch11
OS_Ch11OS_Ch11
OS_Ch11
ย 

Recently uploaded

UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
ย 
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night StandCall Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
amitlee9823
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
KreezheaRecto
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 

Recently uploaded (20)

Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
ย 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
ย 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
ย 
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night StandCall Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
ย 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
ย 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
ย 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
ย 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
ย 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
ย 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 

Auditing Lustre file system

  • 1. Auditing Lustre file system Research Project, Spring 2021 Presented By: Sayed Erfan Arefin
  • 2. Overview ๏ƒ˜ Motivation ๏ƒ˜ Lustre Parallel File System ๏ƒ˜ File system auditing ๏ƒ˜ Lustre Changelog ๏ƒ˜ Design and Implementation ๏ƒ˜ Functionalities
  • 3. Motivation ๏ƒ˜ File system auditing ๏ƒ˜ Study and Understand the Luster parallel file system ๏ƒ˜ Build a tool to audit lustre parallel file system
  • 4. Lustre Parallel File System Figure: Lustre parallel file system.
  • 5. Lustre Parallel File System ๏ƒ˜ Lustre is a type of parallel distributed file system ๏ƒ˜ Linux + cluster = Lustre ๏ƒ˜ Used for Large scale cluster computing, HPC ๏ƒ˜ Three components: Metadata Server (MDS), Object Storage Server(OSS), Client
  • 6. File system audit ๏ƒ˜Evaluate the organization's ability to protect its information assets ๏ƒ˜Ability to properly dispense information to authorized parties ๏ƒ˜Audit consists in controlling that all data accesses made were done according to the access control policy in place ๏ƒ˜Audit can be used as a proof of security in place
  • 7. Lustre Changelog ๏ƒ˜ Lustre Changelogs are a good mechanism for audit ๏ƒ˜ Changelog records contain all information necessary for auditing purposes ๏ƒ˜ Ability to identify object of action with file identifiers (FIDs) and name of targets ๏ƒ˜ ability to identify subject of action with UID/GID and NID information ๏ƒ˜ ability to identify time of action with timestamp
  • 8. Lustre Changelog ๏ƒ˜ To enable all changelog entry types: ๏ƒ˜ To register a new changelog user for a device ( example: lustre-MDT0000 ): ๏ƒ˜ Example of an OPEN changelog entry
  • 9. Change log record type Value Description Value Description MARK Internal recordkeeping LYOUT Layout change CREAT Regular file creation TRUNC Regular file truncated MKDIR Directory creation SATTR Attribute change HLINK Hard link XATTR Extended attribute change (setxattr) SLINK Soft link HSM HSM specific event MKNOD Other file creation MTIME MTIME change UNLNK Regular file removal CTIME CTIME change RMDIR Directory removal ATIME * ATIME change RENME Rename, original MIGRT Migration event RNMTO Rename, final FLRW File Level Replication: file initially written NOPEN * Denied open RESYNC File Level Replication: file re-synced CLOSE Close GXATR * Extended attribute access (getxattr)
  • 10. Implementation ๏ƒ˜ Created 4 Virtual machines using Virtual Box: 1 Virtual core per VM, 2 GB Memory and 20 GB disk space. ๏ƒ˜ Cent OS 8.3 is installed in all the Virtual Machines. ๏ƒ˜ Luster will be used in the VMs: 1 Luster Client, 1 MDS, and 2 OSS ๏ƒ˜ Feed changelog data to Mongo DB ๏ƒ˜ Display auditing
  • 11. Functionalities ๏ƒ˜ Logging โ€“ all access and changes to files and folders, including data and permissions should be logged. ๏ƒ˜ Visibility โ€“ all audit log data should be easily accessible to be reviewed, filtered, searched, etc. ๏ƒ˜ Alerting โ€“ notifications should be sent based on matching criteria to actions deemed suspect. ๏ƒ˜ Reporting โ€“ this gets a bit tricky, but even native tools have the ability to export log data. So, even if itโ€™s not pretty, the ability to generate sharable โ€œreportsโ€ should be a part of file auditing.