CWE
Home > CWE List > CWE- Individual Dictionary Definition (1.1)  
Search by ID:

CWE-69: Failure to Handle Windows ::DATA Alternate Data Stream

Individual Definition in a New Window
Failure to Handle Windows ::DATA Alternate Data Stream
Status: Incomplete
Weakness ID: 69 (Weakness Variant)
Description
Summary

The software does not properly prevent access to, or detect usage of, alternate data streams (ADS).

Extended Description

An attacker can use an ADS to hide information about a file (e.g. size, the name of the process) from a system or file browser tools such as Windows Explorer and 'dir' at the command line utility. Alternately, the attacker might be able to bypass intended access restrictions for the associated data fork.

Affected Resources
* System Process
Potential Mitigations

Software tools are capable of finding ADSs on your system.

Ensure that the source code correctly parses the filename to read or write to the correct stream.

Observed Examples
ReferenceDescription
 
 
Other Notes

Fault: multiple identifiers, non-atomic object

Background Details

Alternate data streams (ADS) were first implemented in the Windows NT operating system to provide compatibility between NTFS and the Macintosh Hierarchical File System (HFS). In HFS, data and resource forks are used to store information about a file. The data fork provides information about the contents of the file while the resource fork stores metadata such as file type.

References
Don Parker. "Windows NTFS Alternate Data Streams". 2005-02-16. <http://www.securityfocus.com/infocus/1822>.
M. Howard and D. LeBlanc. "Writing Secure Code". 2nd Edition. Microsoft. 2003.
Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfCategoryCategory68Windows Virtual File Problems
Resource-specific Weaknesses631
Development Concepts699
ChildOfWeakness BaseWeakness BaseWeakness Base66Failure to Handle File Names that Identify Virtual Resources
Development Concepts (primary)699
Research Concepts (primary)1000
ChildOfCategoryCategory634Weaknesses that Affect System Processes
Resource-specific Weaknesses (primary)631
Taxonomy Mappings
Mapped Taxonomy NameMapped Node Name
PLOVERWindows ::DATA alternate data stream
Applicable Platforms
Languages
All
Operating Systems
Windows
Time of Introduction
* Architecture and Design
* Implementation
Related Attack Patterns
CAPEC-ID(CAPEC Version 1.1)Attack Pattern Name
11Cause Web Server Misclassification
Content History
Submissions
PLOVER. (Externally Mined)
Modifications
Eric Dalci. Cigital. 2008-07-01. (External)
updated Time_of_Introduction
CWE Content Team. MITRE. 2008-09-08. (Internal)
updated Applicable_Platforms, Background_Details, Description, Relationships, Other_Notes, References, Taxonomy_Mappings
CWE Content Team. MITRE. 2008-10-14. (Internal)
updated Description
Previous Entry Names
* Windows ::DATA Alternate Data Stream (changed 2008-04-11)
Page Last Updated: November 24, 2008