Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #126312

Re: System V Shared Memory Security

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups comp.lang.c
Subject Re: System V Shared Memory Security
Followup-To comp.lang.c
Date 2018-02-05 20:32 -0500
Organization The Pitcher Digital Freehold
Message-ID <p5b0js$i1f$1@dont-email.me> (permalink)
References <c0a908ed-66cc-40c1-8ed5-2d34f42a280f@googlegroups.com>

Followups directed to: comp.lang.c

Show all headers | View raw


hwding wrote:

> Is it possible to attach to an existing SHM owned
> by other process group and alter its content?
> 
> For example:
>   # ipcs
>   ------ Shared Memory Segments --------
>   key        shmid      owner      perms      bytes      nattch     status
>   0x01050404 196608     abcd       777        4096       2
> 
>   Then we attched to this segment using id 196608:
>   shmat(196608, NULL, 0);
>   Read then alter its data to attack these processes.
> 
> Is there a necessity to protect the sensitive content
> when two processes are using a shared memory? By what
> means?

The answers to all these questions, and more, can be yours for a simple 
visit to one of the comp.unix newsgroups. May I suggest
 comp.unix.programmer or comp.unix.questions ?

In any case, these questions are /really/ off-topic here

-- 
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

System V Shared Memory Security hwding <m@amastigote.com> - 2018-02-05 17:26 -0800
  Re: System V Shared Memory Security Ian Collins <ian-news@hotmail.com> - 2018-02-06 14:30 +1300
    Re: System V Shared Memory Security hwding <m@amastigote.com> - 2018-02-05 17:33 -0800
      Re: System V Shared Memory Security Keith Thompson <kst-u@mib.org> - 2018-02-05 18:14 -0800
  Re: System V Shared Memory Security Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2018-02-05 20:32 -0500
  Re: System V Shared Memory Security Les Cargill <lcargill99@comcast.com> - 2018-02-09 21:28 -0600
    Re: System V Shared Memory Security scott@slp53.sl.home (Scott Lurndal) - 2018-02-11 17:23 +0000
      Re: System V Shared Memory Security Les Cargill <lcargill99@comcast.com> - 2018-02-11 12:09 -0600
        Re: System V Shared Memory Security scott@slp53.sl.home (Scott Lurndal) - 2018-02-12 19:16 +0000
          Re: System V Shared Memory Security "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2018-02-12 12:10 -0800
          Re: System V Shared Memory Security Les Cargill <lcargill99@comcast.com> - 2018-02-12 21:00 -0600
  Re: System V Shared Memory Security "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2018-02-14 00:49 +0800

csiph-web