News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Data Execution Prevention and Windows Explorer 8

Started by herge, February 01, 2013, 12:45:04 PM

Previous topic - Next topic

herge

 Hi Everybody:

I found this on Microsoft Help and Support because I was
getting a DEP error when I started Wundows Internet
Explorer Eight.


Understanding Data Execution PreventionData 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.

DEP can take advantage of software and hardware support. To use DEP, your computer must be running Microsoft Windows XP Service Pack 2 (SP2) or later, or Windows Server 2003 Service Pack 1 or later. DEP software alone helps protect against certain types of malicious code attacks but to take full advantage of the protection that DEP can offer, your processor must support "execution protection". This is a hardware-based technology designed to mark memory locations as non-executable. If your processor does not support hardware-based DEP, it's a good idea to upgrade to a processor that offers execution protection features.

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. In cases where a program does not run correctly with DEP turned on, you can reduce security risks by getting a DEP-compatible version of the program from the software publisher. For more information about what to do after DEP closes a program, click Related Topics.

How can I tell if DEP is available on my computer?

To open System Properties, click Start, point to Settings, click Control Panel, and then double-click System.
Click the Advanced tab and, under Performance, click Settings.
Click the Data Execution Prevention tab.
Note

By default, DEP is only turned on for essential Windows operating system programs and services. To help protect more programs with DEP, select Turn on DEP for all programs and services except those I select.
Related Topics



Guess which tick box is the box you don't have to add
but just tick?

I almost sh*t my pants Laughing.

Regards herge

Fixed a Typo Laughing was spelt wrong.
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Magnum

In my experience,  some of M.S.'s O.S.es and associated programs are more harmful than viruses.

I am thankful for Linux Puppy and other operating systems.

It's kinda fun knowing you can do some "Window adjustments" while the patient is under anesthesia.  :t





Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

herge

 Hi Magnum:

I have done it but I do not think it actual works!
I am still sending messages to Microsoft when
explorer crashes.
I think the documention is more harmfull than
the code. It's not a virius it's a undocumented
featue. If it is a virius Microsoft will NOT get
rid of it because it helps  sales for other
buisness.

  Regards herge
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Magnum

I am surprised you are using I.E. except when you have to ?

Opera is pretty good, and I am evaluating Sea Monkey now.

So far Sea Monkey uses a lot less memory than Firefox.

I found some good and humorous info here.

There's one article about microsoft's 10 biggest mistakes.

My favorite out of the 10 was a video sneaked out by a m.s. employee that shows consumer testing of either their phone or tablet. (can't remember which)

http://www.infoworld.com

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

herge


Hi Magnum:

I am not using IE8 but Microsoft uses it when it wants something
from the internet. For the the life of me I can't get IE to pulse dial
but AOL can. Not that I looked very hard. Reading Microsoft
documentation makes me sick or mad and somtimes both.

Regards herge
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Magnum

I didn't find a whole lot, but a couple.

http://www.factbites.com/topics/Pulse-dialing

http://support.microsoft.com/kb/320681

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

herge


Hi Magnum:

In middle of massive dowload I will try that P thing
after download. When I try something new from
Microsoft odds are something is going to boom
at my end.

Regards herge
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Magnum

That's why I use erunt.

I recently found out that m.s. has changed directories when it restores dlls.

M.S. sometimes reminds me of my 9 yr. old grandson when he tells me he has done his homework.

Gotta check.  :t

Good luck,
                 Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

herge

 Hi Magnum:

Just for a laugh start up c++ 2005.
ask for help for localtime_S
Find the example toss it into the Compiler.
You want  crt_localtime_s.c


1>------ Build started: Project: CRTexample, Configuration: Debug Win32 ------
1>Compiling...
1>CRTexample.cpp
1>c:\documents and settings\user\my documents\visual studio 2005\projects\crtexample\crtexample\crtexample.cpp(37) : error C3861: 'exit': identifier not found
1>c:\documents and settings\user\my documents\visual studio 2005\projects\crtexample\crtexample\crtexample.cpp(51) : error C3861: 'exit': identifier not found
1>Build log was saved at "file://c:\Documents and Settings\User\My Documents\Visual Studio 2005\Projects\CRTexample\CRTexample\Debug\BuildLog.htm"
1>CRTexample - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Somebody forgot to add
#include<stdlib.h>

Regards herge

// crt_localtime_s.c
/* This program uses _time64 to get the current time
* and then uses _localtime64_s() to convert this time to a structure
* representing the local time. The program converts the result
* from a 24-hour clock to a 12-hour clock and determines the
* proper extension (AM or PM).
*/
#include "stdafx.h"
#include <stdio.h>
#include <string.h>
#include <time.h>

int main( void )
{
        struct tm newtime;
        char am_pm[] = "AM";
        __time64_t long_time;
        char timebuf[26];
        errno_t err;

        // Get time as 64-bit integer.
        _time64( &long_time );
        // Convert to local time.
        err = _localtime64_s( &newtime, &long_time );
        if (err)
        {
            printf("Invalid argument to _localtime64_s.");
            exit(1);
        }
        if( newtime.tm_hour > 12 )        // Set up extension.
                strcpy_s( am_pm, sizeof(am_pm), "PM" );
        if( newtime.tm_hour > 12 )        // Convert from 24-hour
                newtime.tm_hour -= 12;    // to 12-hour clock.
        if( newtime.tm_hour == 0 )        // Set hour to 12 if midnight.
                newtime.tm_hour = 12;

        // Convert to an ASCII representation.
        err = asctime_s(timebuf, 26, &newtime);
        if (err)
        {
           printf("Invalid argument to asctime_s.");
           exit(1);
        }
        printf( "%.19s %s\n", timebuf, am_pm );
}
//Sample Output
//  Copy Code
//Fri Apr 25 01:19:27 PM



Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Magnum

I don't have a c++ compiler at the moment.

You reminded of another funny bit of info.

Those inf files.

Some are loaded with comments, some are funny, some are not complimentary to other software vendors, but they are like buried treasure.

Xml files are like a gold mine too.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

dedndave


herge

 Hi Magnum:

The C++ 2005 and 2008 is 686 MB so I don't
think you should  download unless you have a
super fast internet.
Not worth the effort try borland C compiler under
eight meg I think and will do most things you want
to do.

  \borland\bcc55\bin
and less problems with documentation.
Un suppoirted just like Microsoft.






Regards herge
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

jj2007


herge


Hi jj2007:

Never heard of Tiny CC and I did not  like
Pelles C.
because it does not
cout << " a = "  << a

Regards herge
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Magnum

Quote from: dedndave on February 02, 2013, 06:31:16 AM
we gotta get you a girl, Andy   :t

I have 3.

How many do you have ?

Please keep it clean.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org