파일시스템
2011.03.17 13:41

$EFS Attribute

조회 수 1515 추천 수 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
번호 분류 제목 글쓴이 날짜 조회 수
101 PC관리 MALWARE MAINTENANCE admin 2013.06.29 365170
100 파일시스템 hfs+ 개요 admin 2011.03.19 173019
99 파일시스템 EFS Internals admin 2011.03.17 112683
98 포렌식 Digital Forensic 의 정의 admin 2011.03.19 102513
97 파일시스템 FAT 파일시스템 FAT32 테이블 살펴보기 admin 2011.03.16 16892
96 기타 하드디스크란? master 2017.03.14 11663
95 파일시스템 NTFS Optimization admin 2011.03.17 9388
94 PC관리 DISK MAINTENANCE admin 2013.06.29 8926
93 파일시스템 ext2 개요 admin 2011.03.19 6037
92 메모리 플래시메모리의 장애원인과 복구절차 admin 2011.03.14 5140
91 하드디스크 하드디스크 주요 장애원인 및 복구절차 admin 2011.03.14 5082
90 기타 플래시메모리란? master 2017.03.15 4475
89 레이드 레이드의 구성종류 master 2017.03.16 4277
88 파일시스템 NTFS vs FAT admin 2011.03.17 4183
87 파일시스템 EXT3 개요 admin 2011.03.19 2551
86 메모리 낸드 플래시 서비스 가능 메모리 admin 2013.06.07 2529
85 기타 ONFI 란 admin 2013.06.28 2468
84 파일시스템 EXFAT 개요 admin 2011.09.26 2365
83 DIY복구 포맷 후 복구 admin 2013.06.22 2167
82 기타 이메일이란? master 2017.03.14 2103
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6