Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Elevation

...

of particular actions in Windows 6 (Vista,

...

2008)

...

 and beyond

...

is

...

controlled

...

by

...

a

...

new

...

mechanism

...

that

...

involves

...

COM

...

Elevation

...

monikers

...

.

ACS allow the automatic elevation of configured actions by non-administrative users.  This functionality requires that "ShellExecuteHooks" be enabled which ACS does by default.  This configuration could be overridden by Group Policy. 

Setting up a Demo - Pre 7.1 SP2

  1. Updated Agents and demo configuration is located in the three attachments
  2. Replace the existing agent packages in C:\Program Files\Altiris\Arellia\ApplicationControl\Agents\7.1

...

  1. with

...

  1. the

...

  1. attached

...

  1. Update

...

  1. the

...

  1. version

...

  1. number

...

  1. of

...

  1. the

...

  1. ACS

...

  1. packages

...

  1. under

...

  1. the

...

  1. configuration

...

  1. tab

...

  1. to

...

  1. 7.1.1636

...

  1. Clone

...

  1. existing

...

  1. update

...

  1. rollout

...

  1. packages

...

  1. to

...

  1. allow

...

  1. upgrade

...

  1. (rename

...

  1. to

...

  1. include

...

  1. reference

...

  1. to

...

  1. the

...

  1. 1636

...

  1. agent

...

  1. build)

...

  1. Agent

...

  1. machines

...

  1. will

...

  1. require

...

  1. explorer

...

  1. restart

...

  1. (logoff/logon

...

  1. or

...

  1. reboot)

...

  1. for

...

  1. the

...

  1. shell

...

  1. execute

...

  1. hook

...

  1. to

...

  1. become

...

  1. active

...

  1. Import

...

  1. the

...

  1. attached

...

  1. configuration

...

  1. into

...

  1. a

...

  1. ACS

...

  1. folder

...

ACS

...

Functional

...

Overview

...

  1. COM

...

  1. Elevation

...

  1. functionality

...

  1. is

...

  1. inserted

...

  1. into

...

  1. all

...

  1. processes

...

  1. that

...

  1. leverage

...

  1. the

...

  1. Windows

...

  1. Shell

...

  1. if

...

  1. Shell

...

  1. Execute

...

  1. Hooks

...

  1. are

...

  1. enabled.

...

  1. This

...

  1. process

...

  1. is

...

  1. controlled

...

  1. by

...

  1. intercepting

...

  1. requests

...

  1. to

...

  1. elevate

...

  1. COM

...

  1. components

...

  1. via

...

  1. DCOM

...

  1. and

...

  1. setting

...

  1. up

...

  1. a

...

  1. Admin

...

  1. proxy

...

  1. via

...

  1. DCOM

...

  1. pointing

...

  1. to

...

  1. a

...

  1. (newly)

...

  1. created

...

  1. DCOM

...

  1. host

...

  1. "COMElevateHost"

...

  1. instead

...

  1. of

...

  1. the

...

  1. standard

...

  1. "DllHost"

...

  1. DLL

...

  1. surrogate

...

  1. host.

...

  1. ACS

...

  1. steps

...

  1. in

...

  1. and

...

  1. potentially

...

  1. elevated

...

  1. the

...

  1. DCOM

...

  1. host

...

  1. ("COMElevateHost")

...

  1. if

...

  1. commandline

...

  1. options

...

  1. match

...

  1. a

...

  1. particular

...

  1. elevatable

...

  1. COM

...

  1. component

...

  1. (Eg

...

  1. "Network

...

  1. Adapter

...

  1. Elevate

...

  1. Attempt"

...

  1. filter)

...

  1. If

...

  1. the

...

  1. COMElevateHost

...

  1. is

...

  1. running

...

  1. as

...

  1. an

...

  1. administrator

...

  1. then

...

  1. requests

...

  1. to

...

  1. it

...

  1. will

...

  1. deliver

...

  1. an

...

  1. elevated

...

  1. COM

...

  1. component,

...

  1. otherwise

...

  1. it

...

  1. will

...

  1. return

...

  1. an

...

  1. access

...

  1. denied

...

  1. failure

...

  1. If

...

  1. the

...

  1. shell

...

  1. execute

...

  1. process

...

  1. does

...

  1. not

...

  1. receive

...

  1. an

...

  1. elevated

...

  1. COM

...

  1. component

...

  1. it

...

  1. will

...

  1. default

...

  1. to

...

  1. standard

...

  1. processing

...

  1. which

...

  1. will

...

  1. go

...

  1. through

...

  1. standard

...

  1. UAC

...

  1. mechanisms

...

  1. (potentially

...

  1. displaying

...

  1. UI).

...

The

...

additional

...

policies

...

included

...

allow

...

greater

...

insight

...

into

...

the

...

process

...

(debugging)

...

as

...

well

...

and

...

identifiying

...

necessary

...

parameters

...

for

...

configuring

...

additional

...

filters.

...


Shell Execute Hook Registry Keys

Key

Name

Type

Value

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

...

EnableShellExecuteHooks

REG_DWORD

...

1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks

...

{AAABB7E6-188E-4DCC-90B4-4BF31EE7ED99}

...

REG_SZ

...

Arellia

...

Application

...

Control

...

ShellExecuteHook

...