Arent reparse points a massive security risk?












-1















As far as i understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)



Wouldnt it then be possible to create an image.jpg that has a reparse point to cmd.exe? Or am i mistaken in what reparse points are?










share|improve this question



























    -1















    As far as i understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)



    Wouldnt it then be possible to create an image.jpg that has a reparse point to cmd.exe? Or am i mistaken in what reparse points are?










    share|improve this question

























      -1












      -1








      -1








      As far as i understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)



      Wouldnt it then be possible to create an image.jpg that has a reparse point to cmd.exe? Or am i mistaken in what reparse points are?










      share|improve this question














      As far as i understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)



      Wouldnt it then be possible to create an image.jpg that has a reparse point to cmd.exe? Or am i mistaken in what reparse points are?







      windows security reparse-points






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 7 '18 at 18:12









      Martijn DeleijMartijn Deleij

      142




      142






















          1 Answer
          1






          active

          oldest

          votes


















          -1















          Am I mistaken in what reparse points are?




          Reparse points can only be used by applications. The data contained in a reparse point requires an application to interpret the data and process the file. In the process of creating the reparse point, a reparse tag must also be defined, which identifies the data it is storing.




          A file or directory can contain a reparse point, which is a collection of user-defined data. The format of this data is understood by the application which stores the data, and a file system filter, which you install to interpret the data and process the file.



          Would it then be possible to create an image.jpg that has a reparse point to cmd.exe?




          The reparse point wouldn't be accessed by just any old Photo application. I also seriously doubt, if Windows would even let you set a reparse point, due to the size of an executable.



          Reparse Points




          As far as I understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)




          You should be talking about them, since reparse points are used, to create NTFS symbolic links in the first place. They are also used to create mounted directories.




          reparse points are used to implement NTFS file system links, they are also used to implement, mounted folders




          junction.exe from SysInternals






          share|improve this answer


























          • I understand that, but what happens if you create a reparse point with the tag of a Symlink, then add it to a jpg file and point it to cmd.exe? Wouldnt windows treat the jpg file as a symlink then and instead of opening the jpg, open cmd.exe?

            – Martijn Deleij
            Nov 7 '18 at 18:55











          • Due to a member of this community who decided to serial downvote my answers I have decided to turn this answer into a community wiki.

            – Ramhound
            Jan 15 at 22:00











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1373541%2farent-reparse-points-a-massive-security-risk%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          -1















          Am I mistaken in what reparse points are?




          Reparse points can only be used by applications. The data contained in a reparse point requires an application to interpret the data and process the file. In the process of creating the reparse point, a reparse tag must also be defined, which identifies the data it is storing.




          A file or directory can contain a reparse point, which is a collection of user-defined data. The format of this data is understood by the application which stores the data, and a file system filter, which you install to interpret the data and process the file.



          Would it then be possible to create an image.jpg that has a reparse point to cmd.exe?




          The reparse point wouldn't be accessed by just any old Photo application. I also seriously doubt, if Windows would even let you set a reparse point, due to the size of an executable.



          Reparse Points




          As far as I understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)




          You should be talking about them, since reparse points are used, to create NTFS symbolic links in the first place. They are also used to create mounted directories.




          reparse points are used to implement NTFS file system links, they are also used to implement, mounted folders




          junction.exe from SysInternals






          share|improve this answer


























          • I understand that, but what happens if you create a reparse point with the tag of a Symlink, then add it to a jpg file and point it to cmd.exe? Wouldnt windows treat the jpg file as a symlink then and instead of opening the jpg, open cmd.exe?

            – Martijn Deleij
            Nov 7 '18 at 18:55











          • Due to a member of this community who decided to serial downvote my answers I have decided to turn this answer into a community wiki.

            – Ramhound
            Jan 15 at 22:00
















          -1















          Am I mistaken in what reparse points are?




          Reparse points can only be used by applications. The data contained in a reparse point requires an application to interpret the data and process the file. In the process of creating the reparse point, a reparse tag must also be defined, which identifies the data it is storing.




          A file or directory can contain a reparse point, which is a collection of user-defined data. The format of this data is understood by the application which stores the data, and a file system filter, which you install to interpret the data and process the file.



          Would it then be possible to create an image.jpg that has a reparse point to cmd.exe?




          The reparse point wouldn't be accessed by just any old Photo application. I also seriously doubt, if Windows would even let you set a reparse point, due to the size of an executable.



          Reparse Points




          As far as I understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)




          You should be talking about them, since reparse points are used, to create NTFS symbolic links in the first place. They are also used to create mounted directories.




          reparse points are used to implement NTFS file system links, they are also used to implement, mounted folders




          junction.exe from SysInternals






          share|improve this answer


























          • I understand that, but what happens if you create a reparse point with the tag of a Symlink, then add it to a jpg file and point it to cmd.exe? Wouldnt windows treat the jpg file as a symlink then and instead of opening the jpg, open cmd.exe?

            – Martijn Deleij
            Nov 7 '18 at 18:55











          • Due to a member of this community who decided to serial downvote my answers I have decided to turn this answer into a community wiki.

            – Ramhound
            Jan 15 at 22:00














          -1












          -1








          -1








          Am I mistaken in what reparse points are?




          Reparse points can only be used by applications. The data contained in a reparse point requires an application to interpret the data and process the file. In the process of creating the reparse point, a reparse tag must also be defined, which identifies the data it is storing.




          A file or directory can contain a reparse point, which is a collection of user-defined data. The format of this data is understood by the application which stores the data, and a file system filter, which you install to interpret the data and process the file.



          Would it then be possible to create an image.jpg that has a reparse point to cmd.exe?




          The reparse point wouldn't be accessed by just any old Photo application. I also seriously doubt, if Windows would even let you set a reparse point, due to the size of an executable.



          Reparse Points




          As far as I understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)




          You should be talking about them, since reparse points are used, to create NTFS symbolic links in the first place. They are also used to create mounted directories.




          reparse points are used to implement NTFS file system links, they are also used to implement, mounted folders




          junction.exe from SysInternals






          share|improve this answer
















          Am I mistaken in what reparse points are?




          Reparse points can only be used by applications. The data contained in a reparse point requires an application to interpret the data and process the file. In the process of creating the reparse point, a reparse tag must also be defined, which identifies the data it is storing.




          A file or directory can contain a reparse point, which is a collection of user-defined data. The format of this data is understood by the application which stores the data, and a file system filter, which you install to interpret the data and process the file.



          Would it then be possible to create an image.jpg that has a reparse point to cmd.exe?




          The reparse point wouldn't be accessed by just any old Photo application. I also seriously doubt, if Windows would even let you set a reparse point, due to the size of an executable.



          Reparse Points




          As far as I understand it, reparse points can be added to any file (not talking about symbolic links, but adding them to the ADS of existing files)




          You should be talking about them, since reparse points are used, to create NTFS symbolic links in the first place. They are also used to create mounted directories.




          reparse points are used to implement NTFS file system links, they are also used to implement, mounted folders




          junction.exe from SysInternals







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 15 at 21:59


























          community wiki





          3 revs
          Ramhound














          • I understand that, but what happens if you create a reparse point with the tag of a Symlink, then add it to a jpg file and point it to cmd.exe? Wouldnt windows treat the jpg file as a symlink then and instead of opening the jpg, open cmd.exe?

            – Martijn Deleij
            Nov 7 '18 at 18:55











          • Due to a member of this community who decided to serial downvote my answers I have decided to turn this answer into a community wiki.

            – Ramhound
            Jan 15 at 22:00



















          • I understand that, but what happens if you create a reparse point with the tag of a Symlink, then add it to a jpg file and point it to cmd.exe? Wouldnt windows treat the jpg file as a symlink then and instead of opening the jpg, open cmd.exe?

            – Martijn Deleij
            Nov 7 '18 at 18:55











          • Due to a member of this community who decided to serial downvote my answers I have decided to turn this answer into a community wiki.

            – Ramhound
            Jan 15 at 22:00

















          I understand that, but what happens if you create a reparse point with the tag of a Symlink, then add it to a jpg file and point it to cmd.exe? Wouldnt windows treat the jpg file as a symlink then and instead of opening the jpg, open cmd.exe?

          – Martijn Deleij
          Nov 7 '18 at 18:55





          I understand that, but what happens if you create a reparse point with the tag of a Symlink, then add it to a jpg file and point it to cmd.exe? Wouldnt windows treat the jpg file as a symlink then and instead of opening the jpg, open cmd.exe?

          – Martijn Deleij
          Nov 7 '18 at 18:55













          Due to a member of this community who decided to serial downvote my answers I have decided to turn this answer into a community wiki.

          – Ramhound
          Jan 15 at 22:00





          Due to a member of this community who decided to serial downvote my answers I have decided to turn this answer into a community wiki.

          – Ramhound
          Jan 15 at 22:00


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1373541%2farent-reparse-points-a-massive-security-risk%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Mouse cursor on multiple screens with different PPI

          Agildo Ribeiro

          Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”