Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 382 Bytes

win-filesysvulns.md

File metadata and controls

12 lines (10 loc) · 382 Bytes

Alternate Data Streams:

  • File on NTFS formatted drive has 2 streams:

    • Data stream: default stream - contains data
    • Resource stream: used for metadata
  • in cmd:

    • notepad test.txt:secret.txt
    • if some text is stored in secret.txt, it won't be visible in test.txt
    • type payload.exe > windowslog.txt:winpass.exe
    • mklink wsupdate.exe windowslog.txt:winpass.exe
    • wupdate