Microsoft Windows NT File System (NTFS) “Providing a false sense of file security for Windows users since 1993”

Slides:



Advertisements
Similar presentations
Working with Disks and Devices
Advertisements

File Systems Examples.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Windows XP File System Management Group D. 3 Layers of Drivers Filter Drivers Filter Drivers –Virus protection, compression, encryption File System Drivers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
Lecture 10: The FAT, VFAT, and NTFS Filesystems 6/17/2003 CSCE 590 Summer 2003.
File management in UNIX and windows 2000
Connecting with Computer Science, 2e
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
MIS Chapter 51 Chapter 5 – Managing File Access MIS 431 Created Spring 2006.
1 File Management in Representative Operating Systems.
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
Chapter 7: Configuring Disks. Configuring File Systems Fat32 –First used with Windows 95 OSR2 –Smaller cluster sizes, more efficient storage up to 32.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
Wince File systems. File system on embedded File system choice on embedded is important –File system size can be an issue –Different media are used –
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 7: Advanced File System Management.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Five Managing Disks and Data.
1 Chapter Overview Managing Compression Managing Disk Quotas Increasing Security with EFS Using Disk Defragmenter, Check Disk, and Disk Cleanup.
Operating Systems.
Hard Drive Formatting 1. Formatting Once a hard drive has been partitioned, there’s one more step you must perform before your OS can use that drive:
1 Using Compressed Files and Folders Applications and operating systems read and write to compressed files. NTFS uncompresses the file before making it.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Tasks Necessary for Setting Up a Hard Disk Initializing the disk with basic or dynamic storage type Creating partitions on basic disks or volumes on dynamic.
MCSE Guide to Microsoft Windows 7 Chapter 5 Managing File Systems.
Lesson 7-Creating Network File Systems. Overview Understand Novell’s network file system (NFS). Understand Windows file storage. Utilization of NFS.
Objectives Learn what a file system does
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 6 Windows NT/2000 Operating Systems.
Chapter 8 File Management
®® Microsoft Windows 7 for Power Users Tutorial 5 Comparing Windows 7 File Systems.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
WINDOWS XP PROFESSIONAL Bilal Munir Mughal Chapter-1 1.
Sharing Resources Lesson 6. Objectives Manage NTFS and share permissions Determine effective permissions Configure Windows printing.
Fall 2011 Nassau Community College ITE153 – Operating Systems Session 14 Windows XP Professional 1.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 7: Advanced File System Management.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 8 Managing and Supporting Windows XP.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 5: Managing File Access.
Window NT File System JianJing Cao (#98284).
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
File System Management File system management encompasses the provision of a way to store your data in a computer, as well as a way for you to find and.
Managing Disks and Drives Chapter 13 powered by dj.
File Systems— NTFS versus Ext2FS Yingfei Wang Course: Operating Systems Instructor: Prof. Anvari.
MCSE GUIDE TO MICROSOFT WINDOWS 7 Chapter 5 Managing File Systems.
Module 1: Installing Microsoft Windows XP Professional.
Lecture 11: The FAT, VFAT, and NTFS Filesystems 6/19/2003 CSCE 590 Summer 2003.
Module 3 Configuring File Access and Printers on Windows ® 7 Clients.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
Module 3 Configuring File Access and Printers on Windows 7 Clients.
Module 3: Configuring File Access and Printers on Windows 7 Clients
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 11: Managing Access to File System Resources.
MCSE Guide to Microsoft Windows Vista Professional Chapter 5 Managing File Systems.
Lecture 18 Windows – NT File System (NTFS)
Windows 2000 Security Yingzi Jin. Introduction n Active Directory n Group Policy n Encrypting File System.
Module 5: Configuring and Managing File Systems. Overview Working with File Systems Managing Data Compression Securing Data by Using EFS.
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
1 Objectives Discuss File Services in Windows Server 2008 Install the Distributed File System in Windows Server 2008 Discuss and create shared file resources.
MCSE GUIDE TO MICROSOFT WINDOWS 7 Chapter 5 Managing File Systems.
Lesson 18: Configuring Security for Mobile Devices MOAC : Configuring Windows 8.1.
ITMT Windows 7 Configuration Chapter 4 – Working with Disks and Devices ITMT 1371 – Windows 7 Configuration 1.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.
Windows Vista Configuration MCTS : NTFS Security Features and File Sharing.
11 SUPPORTING WINDOWS XP FILE AND FOLDER ACCESS Chapter 5.
Day 28 File System.
Windows XP File Systems
Chapter 3: Windows7 Part 3.
Creating and Managing Folders
Presentation transcript:

Microsoft Windows NT File System (NTFS) “Providing a false sense of file security for Windows users since 1993”

Just the Facts of NTFS 5.0 NTFS 5.0 is more advanced than the Win9x/DOS File Allocation Table (FAT) System. It natively provides file and directory object security, compress, encryption, logging, and user quota capabilities, all of which FAT did not have the capabilities of providing (must use second or third level utilities such as STACKER or DriveSpace). NTFS 5.0 can address much larger partitions than FAT16 (2GB) and equivalent partition sizes as FAT32 (2TB) File names can consist of any UNICODE (multi-national) characters, while FAT only consists of ASCII (English/American) File sizes are limited only by volume size, and not 4GB (FAT32) and 2GB (FAT16) Despite popular rumor, NTFS, like FAT, gets fragmented over time.

Basic Implementation Fundamental Data Structure of NTFS is the Metafile. The Metafiles:

NTFS Security Features Availability and Integrity –$LOGFILE –$MFTMIRR –$BADCLUS Confidentiality –$MFT –Encrypting File System (added in NTFS 5.0) Authenticity –$MFT CREATOR_OWNER

Availability and Integrity $LOGFILE –At the same time files are modified, certain information about the changes are written in two different record types to $LOGFILE. Redo records are written with information about the modification that must be redone if a modify or delete process is interrupted. An undo record is written in order to facilitate the rollback of an append if the process fails between the time the file is extended and the data is actually written in the new free space created. –Example: CHKDSK uses the information in $LOGFILE to ensure data integrity and availability if a system is powered down without flushing the disk buffers.

Availability and Integrity $MTFMIRR –Metafile that is stored “in the middle” of the disk as a backup-copy of $MFT. –Used in case MFT is corrupted. –$BOOT (which can be stored at either the first or last sector of the disk) holds pointers to both the $MFT and $MTFMIRR

Availability and Integrity $BADCLUS –If an error occurs while reading data off of an NTFS formatted partition NT will assume that the cluster is a “bad cluster.” –The error recovery process will then enter the cluster into the $BADCLUS metafile –It will then recover what it can of the data and place it in another location. –This feature is enhanced greatly with fault-tolerant file system drivers.

Confidentiality and Security $MTF –Each file and folder has it’s own record in the $MFT. –Within that record is a pointer to an attribute record $SECURITY_DESCRIPTOR –The Security Descriptor holds information that allows NT to map permissions (Allow or Deny of: Read, Write, Execute, Modify, Full, etc) to Users (represented by their internal SID) S XXXXXXXXX-XXXXXXXXX-XXXXXXXXX-500 represents the local machine’s “Administrator” account. –If no SID exists in $SECURITY_DESCRIPTOR the permission is assumed to be an outright “deny” of all rights. –As demonstrated earlier, $SECURITY_DESCRIPTOR is read by the NT operating system, not by the hardware. Therefore, it can be bypassed and the data accessed directly on disk.

Confidentiality and Security Encrypting File System (EFS) –New in NTFS 5.0 (Windows 2000) –Uses Windows 2000 Cryptography Services. –Users can explicitly specify to encrypt a file, or Windows 2000 will automatically encrypt files that are within a folder that has been specified as encrypted. –Uses a stronger variant of DES that we learned in class, DESX. This process is symmetric and quicker than asymmetric technologies which is ideal when encrypting what can be huge (up to 2TB) files. –We known symmetric encryption uses a single key to both encrypt and decrypt information; how do we keep this key secure on disk?

Confidentiality and Security The EFS Process –The first time a user encrypts a file, Windows 2000 Cryptography services creates for the user a unique private and public key for use in File System Encryption. –When a file is encrypted, EFS generates a random number, the File Encryption Key (FEK), and uses that number as the key in the DESX encryption process. –For each user that is given permission to decrypt the file, EFS encrypts the FEK with that user’s public key and stores that encrypted FEK in a special location inside the encrypted file. –Therefore only the certain user(s) can decrypt the FEK with their private key and then decrypt the file.

Confidentiality and Security Is EFS Secure? (Read: Can we crack it?) –Can we ignore EFS in an alternative operating system like we can with NTFS File encryption? NO, the data is encrypted on disk. –Can we ignore EFS while booted into NT? NO, EFS is a device driver that runs in Win2K's kernel mode, in which EFS is tightly connected with the NTFS file-system driver. At that point, EFS software and the software that allows access to the NTFS should be thought of as equivalent. Ignore one and Ignore the other. –Can we get at user’s private keys? Yes, by default the private keys are stored on disk. If anything is stored on disk-unencrypted, anyone can gain access to it if they have physical access to the machine. (BOOTDRIVE:\ Documents and Settings\Administrator\Application Data\Microsoft\SystemCertificates\My\Certificates\{random hex string} ) No, Windows 2000 can be configured to store private keys on an external smart- card that is required to logon to the workstation.

Sources NTFS and Metafiles –Windows NT File System Internals A Developer’s Guide, Nagar, Rajeev., O’Reilly Publishing. –WinNT Magazine Online ueID=27&ArticleID=3455http:// ueID=27&ArticleID=3455 –Ars Technica 1.htmlhttp:// 1.html Encrypting File System –WinNT Magazine Online cleID=5387http:// cleID=5387 –ELCOMSOFT Advanced EFS Data Recovery System