Arent reparse points a massive security risk?
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
add a comment |
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
add a comment |
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
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
windows security reparse-points
asked Nov 7 '18 at 18:12
Martijn DeleijMartijn Deleij
142
142
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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