Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Can an EXE bypass user confirmation while invoking another EXE?

Reply
Thread Tools Display Modes

Can an EXE bypass user confirmation while invoking another EXE?

 
 
kskarun
Guest
Posts: n/a

 
      06-18-2009


I have 2 applications written in Delphi. The first exe (with a user
interface) calls another using ShellExecuteEx(), which runs as a
background process.

When the first exe invokes the second, one of these two things happen:

1. When I log in as an admin, a UAC dialog comes up with the
Allow/Cancel prompts. Selecting Allow continues the execution.

2. If I log in as non-admin, an admin credentials dialog box is
displayed, and I need to enter the admin username/password to continue.

On both occasions, I want the second exe to run without any user
intervention. How can I make it possible?

And yes, I tried applying the ElevateCreateProcess mitigation as
suggested by SUA tool, but it doesn't seem to work - the behavior is as
before.

Thanks for your help.


--
kskarun
 
Reply With Quote
 
 
 
 
Kromag
Guest
Posts: n/a

 
      06-22-2009
One way is by subverting. Look up Patch Guard. But I would not do this if I
were you.
You could seriously harm your users as well as your own security.

There's a whitepaper written up on Google code about this and many other
places.

"kskarun" <> wrote in message
news:...
>
> I have 2 applications written in Delphi. The first exe (with a user
> interface) calls another using ShellExecuteEx(), which runs as a
> background process.
>
> When the first exe invokes the second, one of these two things happen:
>
> 1. When I log in as an admin, a UAC dialog comes up with the
> Allow/Cancel prompts. Selecting Allow continues the execution.
>
> 2. If I log in as non-admin, an admin credentials dialog box is
> displayed, and I need to enter the admin username/password to continue.
>
> On both occasions, I want the second exe to run without any user
> intervention. How can I make it possible?
>
> And yes, I tried applying the ElevateCreateProcess mitigation as
> suggested by SUA tool, but it doesn't seem to work - the behavior is as
> before.
>
> Thanks for your help.
>
>
> --
> kskarun
>
> __________ Information from ESET Smart Security, version of virus
> signature database 4176 (20090622) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>


__________ Information from ESET Smart Security, version of virus signature database 4176 (20090622) __________

The message was checked by ESET Smart Security.

http://www.eset.com



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invoking SetupDiGetClassDevs(...) sometimes fails with Kerem Gümrükcü Windows Vista Drivers 2 08-14-2008 10:54 AM
How do I set User Right on Bypass traverse checking to 'Not Defined'? trey.jonn@gmail.com Windows Vista Security 2 08-05-2008 02:26 PM
Re: Invoking IE6 ends in a Help screen Frank Saunders, MS-MVP OE/WM Internet Explorer 0 10-09-2007 08:07 PM
Re: Invoking IE6 ends in a Help screen Leonard Grey Internet Explorer 0 10-09-2007 08:04 PM
Non-pnp UI Invoking James Woodall Windows Vista Drivers 2 05-21-2007 02:21 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59