CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Posts
    16

    [Semi-resolved] Win32 API hooks and OS hardening

    Hi guys,

    I have an application written as a windows service (installed to run as localsystem) that will specifically monitor one application and securely inject a password when it detects the correct screen. It works perfectly when I test it on every PC and VM in the office, but at the client site, the service can't see any windows events AT ALL. I'm really confused.

    When i enable full logging of the Win32 events, my app in the office grabs a shedload of events. But the service running on the client site doesn't see a thing. If I launch the observer module at the command line rather than through the service, it works!!

    Is there any OS hardening setting that could be blocking my app on the client's PC?

    Regards,
    mike
    Last edited by rashkar; April 15th, 2007 at 08:55 PM.

  2. #2
    Join Date
    Feb 2003
    Location
    California
    Posts
    334

    Re: Win32 API hooks and OS hardening

    Your client probably has a domain structure set up with policies completely different from those in place at your office.

    Try this:
    Have the client run your service as an administrator (not necessarily the built-in adminstrator account, but any account belonging to the administrator group). They need to go in Control Panel, Administrative Tools, Services, and selecting your service, right-click and choose "Properties." Choose the "Log On" tab, select "This account:" and let them enter credentials for an admin account.

    I'm not suggesting this is a solution to your problem, but it will help you determine if it's a security/policy issue.
    Henri Hein
    Principal Engineer, Propel
    Do not credit Propel with my views or opinions.

  3. #3
    Join Date
    Apr 2007
    Posts
    16

    Re: Win32 API hooks and OS hardening

    Hi!

    Yeah, that's the first thing we tried. It had no effect.

    Regards,
    Mike

  4. #4
    Join Date
    Apr 2007
    Posts
    16

    Re: Win32 API hooks and OS hardening

    Hi guys, it wasn't OS hardening... It was RDP. since the topic has changed, I'll close this and start a fresh thread.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured