Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


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

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

Re: SP2 causes problems!

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

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

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

Re: SP2 causes problems!

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

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

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

Re: SP2 causes problems!

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

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, 08-Dec 23:26:53 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
· [193] Sprint Sued For Distracted Driving Death
· [81] 3G Network Test Says AT&T Is Tops
· [72] Mediacom Unveils 105 Mbps Pricing
· [62] Sprint Poised For A Turnaround?
· [50] The Future Of Wi-Fi Is Bright
· [48] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [44] Microwaving Your Innards Is Not 'Extreme'
· [39] Verizon LTE: 5-12 Mbps Downstream
· [19] AT&T Releases Network Reporting iPhone App
Most people now reading
· Comcast refused to install 400' feet. [Comcast HSI]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Windows 7 boot manager editing questions [Microsoft Help]
· ICC Strats??? [World of Warcraft]
· [Future9] Notification of ATA Disconnect [VOIP Tech Chat]
· Servers UP!!! [World of Warcraft]
· Microsoft Security Bulletin(s) for December 8, 2009 [Security]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· Man Downloads Child Porn "Accidentally," Faces 20 Years [Security]
· World of Warcraft Client Patch 3.3 (12-8-2009) [World of Warcraft]