Results 1 to 4 of 4

Thread: Inter-process communication

Threaded View

  1. #3
    Senior Member
    Join Date
    Mar 2004
    Posts
    557
    Hi

    There are many forms of inter-process communications[1],
    certainly TCP/IP is often used, but also [D]COM or named
    pipes[2] are common. The goal of IPC actually is to provide
    some kind service to to other processes regardless
    of their owner (this would be part of the service-implementation
    itself) or even machine.

    Mailslots and pipes are accesses with file operations. If IPC$
    is accessible from other machines, you can even access an IPC$-IPC
    service from remote (not routed though).


    Restrictions are given sometimes by the operating system. For
    example, on most *nix-derivates, as most of you konw, ordinary users
    can only bind ports larger 1024.

    For a more theoretical white paper on IPC in gerenal (threading,
    thread models etc.) read [3].


    So, in summary, FOO can "write" to BAR and BAR can "write" to FOO
    because the process BAR that supports IPC is supposed to enable FOO
    to interact, as said, in principle regardless of the users ACLs and privileges.
    That's why it may be dangerous to have a process BAR started in the
    context of an administrator account providing IPC access - a vulnerability
    could be exploited to run arbitrary code in the context of an administrator
    account.



    Cheers.



    [1] http://msdn2.microsoft.com/en-us/library/aa365574.aspx
    [2] http://support.microsoft.com/kb/871044/en-us
    [3] http://research.microsoft.com/users/...terprocess.pdf
    Last edited by sec_ware; December 30th, 2007 at 03:16 PM.
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

Similar Threads

  1. Windows Error Messages
    By cheyenne1212 in forum Miscellaneous Security Discussions
    Replies: 7
    Last Post: February 1st, 2012, 02:51 PM
  2. Customizing Back|Track....Need Some Help
    By earthrocker in forum Newbie Security Questions
    Replies: 7
    Last Post: August 5th, 2006, 03:43 PM
  3. Snail Alert!
    By Egaladeist in forum Spyware / Adware
    Replies: 21
    Last Post: April 15th, 2005, 11:30 PM
  4. The history of the Mac line of Operating systems
    By gore in forum Operating Systems
    Replies: 3
    Last Post: March 7th, 2004, 08:02 AM
  5. Replies: 1
    Last Post: July 15th, 2002, 03:46 AM

Posting Permissions

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