mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* A puzzle: CAPZLOQ TEKNIQ 1.0
@ 2006-04-15 19:13 Joe Barr
  2006-04-19  8:29 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Barr @ 2006-04-15 19:13 UTC (permalink / raw)
  To: linux-kernel


The cross-platform viral proof-of-concept in the news last week does
indeed infect both Windows and Linux ELF binaries.  At least it does on
some kernels.  Some tests show it doesn't work on the latest versions.

Hans-Werner Hilse is trying to puzzle out why.  If anyone else wants to
play with it and see if they can figure out why it is sometimes viral on
Linux and sometimes not, drop me a note offlist.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A puzzle: CAPZLOQ TEKNIQ 1.0
  2006-04-15 19:13 A puzzle: CAPZLOQ TEKNIQ 1.0 Joe Barr
@ 2006-04-19  8:29 ` Jan Engelhardt
  2006-04-19  8:38   ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2006-04-19  8:29 UTC (permalink / raw)
  To: Joe Barr; +Cc: linux-kernel

>
>The cross-platform viral proof-of-concept in the news last week does
>indeed infect both Windows and Linux ELF binaries.  At least it does on
>some kernels.  Some tests show it doesn't work on the latest versions.
>
>Hans-Werner Hilse is trying to puzzle out why.  If anyone else wants to
>play with it and see if they can figure out why it is sometimes viral on
>Linux and sometimes not, drop me a note offlist.
>

Ah, now I see the post on lwn.net. Well, already found something?


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A puzzle: CAPZLOQ TEKNIQ 1.0
  2006-04-19  8:29 ` Jan Engelhardt
@ 2006-04-19  8:38   ` Jan Engelhardt
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2006-04-19  8:38 UTC (permalink / raw)
  To: Joe Barr; +Cc: linux-kernel

>>The cross-platform viral proof-of-concept in the news last week does
>>indeed infect both Windows and Linux ELF binaries.  At least it does on
>>some kernels.  Some tests show it doesn't work on the latest versions.
>>
>>Hans-Werner Hilse is trying to puzzle out why.  If anyone else wants to
>>play with it and see if they can figure out why it is sometimes viral on
>>Linux and sometimes not, drop me a note offlist.
>

>From LWN/Newsforge:

--->2.6.15.4
[0804744d] open("E", O_RDWR) = 4
...
[0804747e] old_mmap(NULL, 28672, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 
0xb7fca000
--->2.6.16.2:
[0804744d] open("E", O_RDWR) = 4
...
[0804747e] old_mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 1, 0) = 
-1 ENODEV (No such device)


Simple as that. open() returns fd 4, but old_mmap is called with fd 1, 
which is usually stdout. Looks to me like a userspace problem.


Jan Engelhardt
-- 
| Software Engineer and Linux/Unix Network Administrator
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-19  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-15 19:13 A puzzle: CAPZLOQ TEKNIQ 1.0 Joe Barr
2006-04-19  8:29 ` Jan Engelhardt
2006-04-19  8:38   ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®