Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Up and Running » Security » Security » SP2 causes problems!
Search Topic:
Uniqs:
562
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
"Our sleazy affiliates did it..." »
« Re: Router  
AuthorAll Replies


h3lpme

@telia.com

SP2 causes problems!

Hi everybody!

I just recently installed SP2, and all of a sudden, several programs doesn't work.

I have this little application that I have coded that sits in the tray and provide favorite link, now this application just wont work:

When I try to install it, it doesn't create any registry entry in /run, and it doesn't even start a process..

When I execute it, nothing happens..

What could this be??

It works great on my SP1 machine, and on several other machines I have tried.

Please help...


parputt
Premium
join:2001-11-25
New Iberia, LA
·AT&T Southeast

Many older apps. do not work with SP2. If memory serves correct there is a warning given about this prior to install. Sorry, but you should have read the fine print.
--
"The tree of liberty must be refreshed from time to time with the blood of patriots and tyrants." -- Thomas Jefferson


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

reply to h3lpme
Generally speaking, SP2 only really breaks applications that were coded insecurely in the first place, so it's a fair bet that your app needs a bit of tuning up.

What's it written in? Do you have a debugging channel (via OutputDebugString) that you could use to look for API failures?

Steve
--
Stephen J. Friedl • Unix Wizard • Microsoft Security MVP • Tustin, California USA • my web site


h3lpme

@telia.com

reply to h3lpme
Thanks for the fest reply guys!

Well, there's mainly 2 application that doesn't work.. NOTHING happens when I execute then, nothing..

They are written in C++ (MS Visual Studio 6).

I'm not that good of a coder, and have no experience of debugging really.. but well, then I know that some application simply doesn't work, huh..

Perhaps you know of some place where I can read about what functions are blocked?

THANKS a lot!


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

said by h3lpme:

Perhaps you know of some place where I can read about what functions are blocked?
It's not so much about API functions are blocked, but some insecure behaviors are. RPC, self-modifying code, as well as some kinds of network activity. This is not an exhaustive list.

I'm a Win32 developer; if you care to send me the source, I'd be glad to take a look and offer some pointers as to what might be causing you grief. I have SP1 and SP2 systems right in front of me. steve@unixwiz.net

Steve
--
Stephen J. Friedl • Unix Wizard • Microsoft Security MVP • Tustin, California USA • my web site


h3lpme

@telia.com

reply to h3lpme
Thanks a lot for that Steve! =)

However, I just now realized something;

The application does work, if executed or registered manually (there's also one dll)

When I execute them from my NSIS installer, nothing happens, nothing..

So I guess there's nothing wrong with the source.. perhaps it will work with inno setup

Really weird anyway, I've been banging my head for hours trying to figure this one out

Thanks!!


H3lpme

@telia.com

reply to h3lpme
I just solved it!

I always compress my binaries with teLock, and this is what caused my misery!

Apparently, applications compressed with this application doesn't work flawlessly on SP2.. good to know, they work 100% on SP1 though..

Thanks for the help!


hpguru
Curb Your Dogma
Premium
join:2002-04-12

said by H3lpme:

I always compress my binaries with teLock...
Things that make you go Hmmmm...
--
Get hpHOSTS! Member ASAP


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

reply to H3lpme
said by H3lpme:

Apparently, applications compressed with this application doesn't work flawlessly on SP2.. good to know, they work 100% on SP1 though..
This smells like the application is trying to execute a data page, which is impacted by SP2's Data Execution Protection.

I'd imagine that self-unpackers allocate a big chunk of memory with either HeapAlloc() or VirtualAlloc(), unpack the data into it, then jump into the entry point. But with DEP, stack and data pages aren't executable, so I think they'd need to use VirtualProtect() to explicitly mark the pages executable.

I think it's also possible to disable DEP on a per-application basis.

A detailed description of the Data Execution Prevention (DEP) feature in Windows XP Service Pack 2

Steve
--
Stephen J. Friedl • Unix Wizard • Microsoft Security MVP • Tustin, California USA • my web site
Forums » Up and Running » Security » Security"Our sleazy affiliates did it..." »
« Re: Router  


Tuesday, 10-Nov 16:07:26 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [104] Moto Sold About 100,000 Droids
· [92] Verizon Keeps Swinging At AT&T
· [86] VoIP Over 3G Still Not Working For iPhone
· [57] Government Will Release Some Telco Wiretap Lobbying Documents
· [34] Bill Would Force ISPs To Block Financial Scams
· [32] Verizon's Hanging Up On Rural America
· [24] Mediacom Hints At 50, 100 Mbps Speeds
· [18] Clearwire To Get Another $1.5 Billion
· [18] Sprint Announces Job Cuts
· [14] Google Offers Free Holiday Airport Wi-Fi
Most people now reading
· Google Has Acquired Gizmo5 [VOIP Tech Chat]
· Windows 7 boot manager editing questions [Microsoft Help]
· House inspector failed to find major gas leak [Home Repair & Improvement]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· [WIN7] Outlook express under Windows 7? [Microsoft Help]
· Replace entry door [Home Repair & Improvement]
· [ Classes] ATTN Death Knights - Post your spec for critique! [World of Warcraft]
· A fishy CRTC tarriff filed by bell? [TekSavvy]
· Pittsburgh: Guide Update 11/10 [Comcast Cable TV]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]