What is Data Execution Prevention (DEP) in Windows?
Data Execution Prevention (DEP) helps prevent damage from viruses and other security threats that attack by running (executing) malicious code from memory locations that only Windows and other programs should use. This type of threat causes damage by taking over one or more memory locations in use by a program. Then it spreads and harms other programs, files, and even your e-mail contacts.
Unlike a firewall or antivirus program, DEP does not help prevent harmful programs from being installed on your computer. Instead, it monitors your programs to determine if they use system memory safely. To do this, DEP software works alone or with compatible microprocessors to mark some memory locations as "non-executable". If a program tries to run code—malicious or not—from a protected location, DEP closes the program and notifies you.
Is it safe to run a program again if DEP has closed it?
Yes, but only if you leave DEP turned on for that program. Windows can continue to detect attempts to execute code from protected memory locations and help prevent attacks.
How can I tell if DEP is available on my computer?
- To open System Properties, click Start, click Control Panel, and then double-click System.
- Click the Advanced tab and, under Performance, click Settings.
- Click the Data Execution Prevention tab.
By default, DEP is only turned on for essential Windows operating system programs and services.
How Data Execution Prevention affects recording using LoadRunner?
Sometimes when you try to record an application using LoadRunner in Windows, you get an error message looks similar to the following.
Here the application being blocked is Oracle SQL*PLUS. Since this is a trusted program, and to get around this problem, we need to disable DEP for this program or Enable DEP for rest of all Windows programs except this program.
To do that,
- To open System Properties, click Start, click Control Panel, and then double-click System.
- Click the Advanced tab and, under Performance, click Settings.
- Click the Data Execution Prevention tab
- In this case, check Oracle SQL*PLUS
5. Click on Ok and Ok on System Properties Window.
Try to record the same application again and this time it works.
No comments:
Post a Comment