Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

The Linux Backdoor Attempt of 2003
Freedom to Tinker ^ | 9 October 2013 | Ed Felten

Posted on 10/10/2013 12:25:17 PM PDT by ShadowAce

click here to read article


Navigation: use the links below to view more comments.
first previous 1-2021-29 last
To: Boogieman

Many programming languages have since changed Boolean and equality checks to utilize linguistic code in addition to old-school code.

A good example is Microsoft’s Powershell or VBscript where one can use equality identifiers such as “-eq” or “-lt/-gt” (less-than/greater-than) in addition to the conventional syntax.

I’ve taken a liking to -eq or even -like for a more loose check.

This article, by the way, continues to bolster the open source movement as a much better, safer alternative to closed-source operating systems like Windows and OSX. Huzzah for community acceptance!


21 posted on 10/10/2013 3:35:46 PM PDT by rarestia (It's time to water the Tree of Liberty.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: StormEye
The PRC, Russia, NSA, a private group of would be hackers etc. Lots of suspects here.

Isn't it sad that we have to lump the NSA in with the other nefarious types?

It has not been "our" government for a long time.

22 posted on 10/10/2013 4:22:52 PM PDT by zeugma (Is it evil of me to teach my bird to say "here kitty, kitty"?)
[ Post Reply | Private Reply | To 8 | View Replies]

To: 2 Kool 2 Be 4-Gotten

an interesting secondary check would be to look for any code out there that would make the call with both of those options set. see if something was checked in somewhere... and maybe follow from there


23 posted on 10/10/2013 4:38:19 PM PDT by sten (fighting tyranny never goes out of style)
[ Post Reply | Private Reply | To 20 | View Replies]

To: sten

I think this is a system call so the call would likely come from user land so it’s not like you could just scan the kernel code base - I wonder if it’s simply something that could be called from any arbitrary userland program which effectively means there’s no fixed code base to scan. Assuming this is in the code that handles the system calls from userland.


24 posted on 10/10/2013 6:30:16 PM PDT by 2 Kool 2 Be 4-Gotten
[ Post Reply | Private Reply | To 23 | View Replies]

To: rarestia

Well, OK, but this is from kernel code and last time I checked there as no Powershell or VBScript in the linux kernel nor do I expect that to happen any time soon :)


25 posted on 10/10/2013 6:31:19 PM PDT by 2 Kool 2 Be 4-Gotten
[ Post Reply | Private Reply | To 21 | View Replies]

To: ShadowAce

Certainly in 2013 Obama would ‘back door’ any opportunity he can.


26 posted on 10/10/2013 7:01:30 PM PDT by lbryce (Obama:The Worst is Yet To Come)
[ Post Reply | Private Reply | To 1 | View Replies]

To: 2 Kool 2 Be 4-Gotten
Whether this itself makes sense (i.e. to only take the conditional if both flags are set) or it this would tend to be something with some more devious intent - I don’t have enough knowledge to say.

C short-circuit evaluates conditionals. That means, if the first term of an ANDed pair of terms is false, the second term is never evaluated.

So, in this case, the term (options == (__WCLONE|__WALL) is acting as an "open sesame" incantation. You have to know about it in order to open the backdoor. Unless the options check evaluates to true, the (current->uid = 0) is simply skipped. If the options check does evaluate true, then the uid gets set to zero (root), and the number zero is evaluated as a boolean, resulting in a value of false. Thus, in neither case does retval = -EINAL; take place.

27 posted on 10/10/2013 7:53:37 PM PDT by cynwoody
[ Post Reply | Private Reply | To 20 | View Replies]

To: cynwoody

True enough. However, I didn’t mean to imply anything different.

My point wasn’t the contrary of what you are saying. My point was more along the lines of not knowing if the case of having both flags being true was a “real case” that comes up in daily life or instead was basically a “open sesame” case stuck in for malicious intent.


28 posted on 10/10/2013 9:17:35 PM PDT by 2 Kool 2 Be 4-Gotten
[ Post Reply | Private Reply | To 27 | View Replies]

To: 2 Kool 2 Be 4-Gotten

Agreed. I was speaking to wider languages. I don’t expect kernel code to ever be modified.


29 posted on 10/11/2013 4:32:23 AM PDT by rarestia (It's time to water the Tree of Liberty.)
[ Post Reply | Private Reply | To 25 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-29 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson