| CPC G06F 21/554 (2013.01) [G06F 21/305 (2013.01); G06F 21/52 (2013.01); G06F 21/53 (2013.01); G06F 2221/033 (2013.01); G06F 2221/2123 (2013.01); G06F 2221/2143 (2013.01)] | 20 Claims |

|
1. A method comprising:
enabling detection of a redirection of data being attempted by a call by changing one or more memory permissions of a virtual file system, the call including at least one change to a memory permission of the virtual file system;
detecting, by use of executable code that is executed in response to the call being received, that the call is attempting to redirect data based on an attempt to perform the at least one change to the memory permission of the file system; and
denying the at least one change to the memory permission of the file system;
wherein enabling detection of the redirection comprises:
identifying one or more first system routines that read or write memory permissions associated with the virtual file system;
identifying one or more memory locations of the one or more first system routines; and
exchanging the one or more memory locations with one or more memory locations of one or more second routines, wherein respective ones of the second routines each comprise code that performs the functions of respective ones of the first routines and additional code that detects the redirection of the data.
|