파일시스템
2011.03.17 13:41

$EFS Attribute

조회 수 1516 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제

$EFS Attribute

When NTFS encrypts file, it sets flag Encrypted (0x4000) for the file and creates $EFS attribute for the file where it stores DDFs and DDRs. This attribute has Attribute ID = 0x100 in NTFS and can be pretty lengthy, occupying from 0.5K to several kilobytes depending on number of DDFs and DRFs.

Here's an example of $EFS attribute with more details.

$EFS attribute size

Computer SID and user number. It specifies folder where EFS stores certificates. In order to get folder name EFS makes some manipulations:

5A56B378 1C365429 A851FF09 D040000 - data stored in $EFS,

78B3565A 2954361C 09FF15A8 000004D0 - reversed

2025018970-693384732-167712168-1232 - converte to decimal

S-1-5-21-2025018970-693384732-167712168-1232 - SID prefix added

So, the folder will be %User Profile%Application DataMicrosoftCryptoRSAS-1-5-21-2025018970-693384732-167712168-1232

Public key thumbprint

Private key GUID (also used as container name). This name EFS uses when it aquires context from CryptoAPI provider. If there's only one DDFin $EFS attribute, container name can be figured out from $EFS (this field), but as more users added to the file (more DDFs or DRFs), PK GUID is not stored for all of them and must be retrieved from certificate storage based on public key thumbprint.

Cryptographic provider name = Microsoft Base Cryptographic Provider v.1.0

User name, to whom current DDF or DRF belongs

Encrypted FEK. Usually FEK is 128-bit long (in case of DESX) but since it's encrypted with 1024-bit RSA key, its encrypted length is 1024 bits.

?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
61 하드디스크 ATA/ATAPI-7 — the seventh revision of the ATA standard released in 2003 file admin 2011.03.16 1127
60 하드디스크 ATA/ATAPI-6 — the sixth revision of the ATA standard released in 2001 file admin 2011.03.16 1103
59 하드디스크 ATA/ATAPI-5 — the fifth revision of the ATA standard released in 2000 file admin 2011.03.16 1163
58 매킨토시 맥사용시 주요장애원인과 대처 admin 2011.03.17 1533
57 서버/레이드 레이드란? admin 2011.03.17 1077
56 파일시스템 NTFS 기초 admin 2011.03.17 1087
55 파일시스템 NTFS 파티션 부트섹터 admin 2011.03.17 2074
54 파일시스템 NTFS MFT 분석 admin 2011.03.17 1434
53 파일시스템 NTFS 파일속성 admin 2011.03.17 1313
52 파일시스템 NTFS 시스템 파일 admin 2011.03.17 1560
51 파일시스템 NTFS Multiple Data Streams admin 2011.03.17 1389
50 파일시스템 NTFS Compressed Files admin 2011.03.17 1482
49 파일시스템 EFS - Encrypting File System admin 2011.03.17 1567
48 파일시스템 Using EFS admin 2011.03.17 1607
47 파일시스템 EFS Internals admin 2011.03.17 112802
» 파일시스템 $EFS Attribute admin 2011.03.17 1516
45 파일시스템 Issues with EFS admin 2011.03.17 1475
44 파일시스템 NTFS Sparse Files (NTFS5 only) admin 2011.03.17 1659
43 파일시스템 Data Integrity and Recoverability with NTFS admin 2011.03.17 1489
42 파일시스템 NTFS vs FAT admin 2011.03.17 4183
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6