Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CWE-69:Improper Handling of Windows ::DATA Alternate Data Stream
Weakness ID:69
Version:v4.17
Weakness Name:Improper Handling of Windows ::DATA Alternate Data Stream
Vulnerability Mapping:Allowed
Abstraction:Variant
Structure:Simple
Status:Incomplete
Likelihood of Exploit:
DetailsContent HistoryObserved CVE ExamplesReports
▼Description

The product 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.

▼Alternate Terms
▼Relationships
Relevant to the view"Research Concepts - (1000)"
NatureMappingTypeIDName
ChildOfAllowedB66Improper Handling of File Names that Identify Virtual Resources
Nature: ChildOf
Mapping: Allowed
Type: Base
ID: 66
Name: Improper Handling of File Names that Identify Virtual Resources
▼Memberships
NatureMappingTypeIDName
MemberOfProhibitedC904SFP Primary Cluster: Malware
MemberOfProhibitedC1404Comprehensive Categorization: File Handling
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 904
Name: SFP Primary Cluster: Malware
Nature: MemberOf
Mapping: Prohibited
Type:Category
ID: 1404
Name: Comprehensive Categorization: File Handling
▼Tags
NatureMappingTypeIDName
MemberOfProhibitedBSBOSS-294Not Language-Specific Weaknesses
MemberOfProhibitedBSBOSS-296Windows(os class) Weaknesses
MemberOfProhibitedBSBOSS-312Other (impact)
MemberOfProhibitedBSBOSS-316Bypass Protection Mechanism (impact)
MemberOfProhibitedBSBOSS-322Hide Activities (impact)
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-294
Name: Not Language-Specific Weaknesses
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-296
Name: Windows(os class) Weaknesses
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-312
Name: Other (impact)
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-316
Name: Bypass Protection Mechanism (impact)
Nature: MemberOf
Mapping: Prohibited
Type:BOSSView
ID: BOSS-322
Name: Hide Activities (impact)
▼Relevant To View
Relevant to the view"Software Fault Pattern (SFP) Clusters - (888)"
NatureMappingTypeIDName
MemberOfProhibitedC904SFP Primary Cluster: Malware
Nature: MemberOf
Mapping: Prohibited
Type: Category
ID: 904
Name: SFP Primary Cluster: Malware
▼Background Detail

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.

▼Common Consequences
ScopeLikelihoodImpactNote
Access ControlNon-RepudiationOtherN/ABypass Protection MechanismHide ActivitiesOther
N/A
Scope: Access Control, Non-Repudiation, Other
Likelihood: N/A
Impact: Bypass Protection Mechanism, Hide Activities, Other
Note:
N/A
▼Potential Mitigations
Phase:Testing
Mitigation ID:
Strategy:
Effectiveness:
Description:

Software tools are capable of finding ADSs on your system.

Note:


Phase:Implementation
Mitigation ID:
Strategy:
Effectiveness:
Description:

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

Note:

▼Modes Of Introduction
Phase: Implementation
Note:

N/A

▼Applicable Platforms
Languages
Class: Not Language-Specific(Undetermined Prevalence)
Operating System
Class: Windows(Undetermined Prevalence)
▼Demonstrative Examples
▼Observed Examples
ReferenceDescription
CVE-1999-0278
In IIS, remote attackers can obtain source code for ASP files by appending "::$DATA" to the URL.
CVE-2000-0927
Product does not properly record file sizes if they are stored in alternative data streams, which allows users to bypass quota restrictions.
Reference: CVE-1999-0278
Description:
In IIS, remote attackers can obtain source code for ASP files by appending "::$DATA" to the URL.
Reference: CVE-2000-0927
Description:
Product does not properly record file sizes if they are stored in alternative data streams, which allows users to bypass quota restrictions.
▼Affected Resources
  • System Process
▼Functional Areas
    ▼Weakness Ordinalities
    OrdinalityDescription
    ▼Detection Methods
    ▼Vulnerability Mapping Notes
    Usage:Allowed
    Reason:Acceptable-Use
    Rationale:

    This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.

    Comments:

    Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

    Suggestions:
    ▼Notes
    Theoretical

    This and similar problems exist because the same resource can have multiple identifiers that dictate which behavior can be performed on the resource.

    N/A

    ▼Taxonomy Mappings
    Taxonomy NameEntry IDFitEntry Name
    PLOVERN/AN/AWindows ::DATA alternate data stream
    Taxonomy Name: PLOVER
    Entry ID: N/A
    Fit: N/A
    Entry Name: Windows ::DATA alternate data stream
    ▼Related Attack Patterns
    IDName
    CAPEC-168
    Windows ::DATA Alternate Data Stream
    ID: CAPEC-168
    Name: Windows ::DATA Alternate Data Stream
    ▼References
    Reference ID: REF-562
    Title: Windows NTFS Alternate Data Streams
    Author: Don Parker
    Section:
    Publication:
    Publisher:
    Edition:
    URL:https://seclists.org/basics/2005/Feb/312
    URL Date:2023-04-07
    Day:16
    Month:02
    Year:2005
    Reference ID: REF-7
    Title: Writing Secure Code
    Author: Michael Howard, David LeBlanc
    Section:
    Publication:
    Publisher:Microsoft Press
    Edition:2nd Edition
    URL:https://www.microsoftpressstore.com/store/writing-secure-code-9780735617223
    URL Date:
    Day:04
    Month:12
    Year:2002
    Details not found