The Linux Backdoor Attempt of 2003 (2013)
freedom-to-tinker.com
The Linux Backdoor Attempt of 2003 (2013)
1–10 of 144 posts
Re: The Linux Backdoor Attempt of 2003 (2013)
#2Re: The Linux Backdoor Attempt of 2003 (2013)
#32018 https://news.ycombinator.com/item?id=18173173
Discussed at the time (of the article): https://news.ycombinator.com/item?id=6520678
Re: The Linux Backdoor Attempt of 2003 (2013)
#4Re: The Linux Backdoor Attempt of 2003 (2013)
#5>Operator '&&' cannot be applied to operands of type 'bool' and 'int'
Re: The Linux Backdoor Attempt of 2003 (2013)
#6Re: The Linux Backdoor Attempt of 2003 (2013)
#7The crucial question to me seems to be if this condition:
options == (__WCLONE|__WALL)
can be willfully introduced by a bad actor, and otherwise never really occur. Unfortunately I don't know this (not familiar with Linux development) but herein lies the answer it would seem.Re: The Linux Backdoor Attempt of 2003 (2013)
#8> this is not a mistake.
> Assume that the coder meant == 0 what is he trying to enforce. If these 2 bits (_WCLONE and _WALL) are set and your are root then the call is invalid. The bit combination is harmless (setting WALL implies WCLONE [...]), and why would you forbid it for root only.
Re: The Linux Backdoor Attempt of 2003 (2013)
#9Was this a backdoor or not? Following the comments on the article and previous posts here on HN it seems the jury is out AFAICS. The crucial question to me seems to be if this condition: options == (__WCLONE|__WALL) can be willfully introduced by a bad actor, and otherwise never really occur. Unfortunately I don't know this (not familiar with Linux development) but herein lies the answer it would seem.
Re: The Linux Backdoor Attempt of 2003 (2013)
#10Needless to say, the better class of compiler catches this fine. gcc 9 does with -Wall and makes it an error with -Werror. Ditto clang 9. (Look at me giving version numbers as if this were recent. Any non-antediluvian C compiler worth using will do the same.) My point is, any reasonable build would at least pop up some errors for this, making it appear amateurish to me.