republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


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


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

reply to H3lpme
Re: SP2 causes problems!

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


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

reply to H3lpme
said by H3lpme:

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


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!


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!!


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

reply to h3lpme
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 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

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


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

reply to h3lpme
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


h3lpme

@telia.com

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...
Forums » Up and Running » Security » Security"Our sleazy affiliates did it..." »
« Re: Router  


Monday, 14-Dec 19:50:40 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
· [114] Verizon Kindly Forgives Kid's $21,917 3G Bandwidth Bill
· [102] Google To Sell Phone Directly To Consumers
· [66] TiVO Tries To Figure Out Where It Fits
· [52] Faster Verizon DSL Service Will Burn Your House Down
· [43] NY Times: AT&T 3G Network Is Secretly Awesome
· [22] Rural Broadband User? You're Screwed
· [21] Sweden First To Get LTE Service
· [18] Can Satire Take Down AT&T's 3G Network?
· [1] Monday Morning Links
· [1] Monday Evening Links
Most people now reading
· Official Mediacom Email Discussion Thread [Mediacom]
· Ashen Verdict Rep farming guide (ICC 10) [World of Warcraft]
· personal check etiquette [General Questions]
· how to get money back when ripped off [General Questions]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Wind to get Cabinet intervention possibly today [TekSavvy]
· So independants will be out of business in..........? [Canadian Broadband]
· www.pivcorp.com scam [Spam, Scam and Phishbusters]
· Sinclair vs. Mediacom round two [Mediacom]
· Florida Family Law questions [General Questions]