CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Internal Security > Endpoint Security (Formerly Integrity)
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-11-10
Junior Member
 
Join Date: 2006-11-27
Location: germany
Posts: 11
Rep Power: 0
Felix has an average reputation (10+)
Default How to run a batch-skript as remediation resource

Hi,

I would like to check if a registry key has a specific value and if it is the value,
i would like to run a local file:

just to clarfiy:
Code:
if regkey = X
then 
run iclient -HU100
My idea is to use a batch script as a remediation ressource which includes the following command:

Code:
%ProgramFiles%\CheckPoint\Integrity Client\iclient.exe -HU100
But sadly automatically applying is just working with *.exe files. Does somebody has a good idea, how I could handle that?

We are using Integrity version 6.5.664


thanks in advance

best regrads
Felix
Reply With Quote
  #2 (permalink)  
Old 2008-11-13
Senior Member
 
Join Date: 2007-06-22
Posts: 111
Rep Power: 2
CSING has an average reputation (10+)
Default Re: How to run a batch-skript as remediation resource

some have created a small exe such as runany.exe that will accept parameters. This was designed to run a single command from the endpoint.

your remediation rule be If regkey=x

then

runany %ProgramFiles%\CheckPoint\Integrity Client\iclient.exe -HU100

Several issues arise with this solution.

1. the program runs in the security context of vsmon.exe which is system. meaning that some evironment variables and registry keys have different scope.

2. Older versions prior to hfa 04 has issues with parameters in the remediation rule.


this may give you some ideas.
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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 01:19.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0