• JordanZ@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    11 hours ago

    I remember playing around with NTFS streams. They’re usually used to store random metadata about a file. The size of which doesn’t appear in the normal file size calculation/display in Windows. So you can have this 2kb text file that has an alternate stream with a zip file of the entire discography of a band stuffed into it. Longest file transfer of 2kb ever. Another gotcha, the second you copy that file to a file system that doesn’t support the alternate streams they just vanish. So all the sudden that long file transfer is super quick.

    • DahGangalang@infosec.pub
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      See, so I’ve never seen the purpose of NTFS streams. In a cyber security course, I was warned to look out for Alternate Data Streams, but got an unsatisfactory answer when I prodded the instructor for more (it was apparent that didn’t have anything beyond a surface level understanding of them).

      Your link was informative in grasping what they are, but I still don’t think I’m clear on how they’re used in the “real world”. Like, what (and how) would one use them for a legitimate purpose?