Re: Can LoadIcon be used to load the icon of another process

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"a" <a@xxxxx> wrote in message
news:u0eUjJ3IJHA.5900@xxxxxxxxxxxxxxxxxxxx
Suppose the process is run as another user in my desktop. I do not
have access to the app file for sake of windows security (the app is
in the that user's profile dir). How can I get the icon?

You can't. You don't have access to that file for a reason.

I believe the icon resource is loaded into the process's virtual
memory. Is it possible to dump the memory of the process and get the
icon?

There are things like ReadProcessMemory, but they are likely to be
blocked by the same security restrictions that prevent you from getting
to the file. If it were that easy to work around Windows security, you'd
hear about it by now - it'd be on Slashdot in no time.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: Change Order Of Startup Programs?
    ... The tray icon may just be the user's gui interface and ... Then I see the NIS icon ... > in the tray and after a moment, the Windows Security message goes away. ... > (Programs or services that are providing a tray icon to view) ...
    (microsoft.public.windowsxp.customize)
  • Re: Remote Desktop "Windows Security" item does nothing - why?
    ... That icon does nothing but a call to Winlogon to either show the Gina UI or launch Task manager (depends on a system ... policy setting). ... The connection work fine, but the "Windows Security" ...
    (microsoft.public.windowsxp.embedded)
  • Re: What program/service is this icon for?
    ... Frequently asked questions about Windows Security Center ... Microsoft Community Newsgroups ... | Ever since reinstalling WinXP Home after a motherboard replacement, ... | far left of the icon tray. ...
    (microsoft.public.windowsxp.general)
  • Hacking Windows Security Principal
    ... it looks like I can use the Windows Security ... The thing that bothers me is that this object resides in the client computer ... hacker attacks. ... how difficult would be for a hacker to go directly to memory ...
    (microsoft.public.dotnet.security)
  • Re: Netrun.exe (with virus)
    ... Benjamin "Trafton" Johnstone-Anderson ... Microsoft MVP - Windows Security ... > On my desktop I have an icon that says Netrun.exe. ...
    (microsoft.public.security.virus)