Results 1 to 5 of 5

Thread: "Stealth" functions of the Windows API

  1. #1
    Join Date
    Feb 2009
    Posts
    117

    "Stealth" functions of the Windows API

    Hello,

    I want to retrieve information displayed by an (other) Windows GUI application that runs on my PC.

    I wonder about stealth functions provided by the Windows API, I do not want this external application to detect that I collect information about its objects windows!

    It seems to me that the use of functions such as GetWindowInfo, GetWindowText will add messages to the external application of a human user would not have generated.

    Do you have any ideas to avoid this problem? How do I know if a function of the API is "stealth" or not?

  2. #2
    Join Date
    Mar 2008
    Posts
    258

    Re: "Stealth" functions of the Windows API

    Have you used GetWindowInfo () method to send a message to the window?

  3. #3
    Join Date
    Jan 2006
    Posts
    211

    Re: "Stealth" functions of the Windows API

    There are many APIs that send some messages to windows (I think) but apart from abusing the window with SendMessage I do not think there have a means to differentiate between the user and another application (and Windows, which uses the Windows API to manage the windows ...).

    But conversely, why you worry about that?

  4. #4
    Join Date
    Feb 2009
    Posts
    117

    Re: "Stealth" functions of the Windows API

    Thank you for your interest.

    I think you're right (GetWindowInfo () does not send a message).

    But as regards GetWindowText (), I must replace it with a consignment of WM_GETTEXT message (see MSDN). I believe the overall performance of the functions of the windowing API add a message to the tail of the application will be handled by a callback function. This feature may well increment a counter to see if the application is requested by a non-human user!

  5. #5
    Join Date
    Mar 2008
    Posts
    258

    Re: "Stealth" functions of the Windows API

    Accessibility software (such as speech) are the GetWindowText () also, you know ...

    There are too many things that make calls GetWindowText () so that software can afford to count this as a problem.

Similar Threads

  1. Replies: 4
    Last Post: 12-02-2011, 07:10 AM
  2. Replies: 5
    Last Post: 16-01-2011, 07:26 PM
  3. Replies: 6
    Last Post: 18-05-2010, 12:27 AM
  4. Replies: 0
    Last Post: 09-12-2008, 06:10 PM
  5. Replies: 1
    Last Post: 15-11-2007, 02:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,301,394.42750 seconds with 17 queries