The First Annual Underhanded C Contest
Xcott Craver writes "We have just announced a new annual contest, the Underhanded C Contest, to write clear, readable, innocent-looking C code that implements malicious behavior. The object is to hide evil functionality that survives visual inspection of the source. The prize is beer."
Count on the likes of Sun, Microsoft, and anyone else selling a non-C language to pounce on this as a marketing opportunity.
C is a superb language. Why besmirch its reputation with a contest to make it seem as untrustworthy as possible?
Why attack the source code when you can instead attack the compiler?
You need only attack the compiler, or the linker, or the interpreter.
Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
Every year, we will propose a challenge to coders to solve a simple data processing problem, but with covert malicious behavior. Examples include miscounting votes, shaving money from financial transactions, or leaking information to an eavesdropper. The main goal, however, is to write source code that easily passes visual inspection by other programmers.
Oh dear, now we're rewarding people for writing actual malicious code that is designed to pass visual inspection from other programmers.
When these sort of tricks will show up eventually in actual voting machines or the gigantic corpus of finincial code that's been hacked together?
Or when will we start to find the underhanded tricks in things we use?
As an added bonus, most (all?) debuggers won't let you step into inlined code, making it even harder to detect.
They used to use the back section of planes to make ice cream (the cold and vibration from the propeller planes was perfect for it). It was air force tradition for quite some time.
It really just depends on what kind of plane you're talking about. I'm sure there's areas on even modern large-body jets where there's an uninsulated section large enough for a keg.
Those who can't do, teach. Those who can't teach either, do tech support.
Not the same paranoia of the previous post, but paranoia anyway. But the first thing that I thought was something like: "oh, so, this contest will show that malicious code can be inserted in open source and it will be very difficult to spot?" -- there are at least one software company that will like to point to it. Then again, I might actually be paranoid.
Clearly most of us should be submitting innocuous code to help camouflage the actual malign entries. That will make it harder for the judges to find badness. If you know that all the entries have some badness, then you'll look really hard. If you don't know which ones do, your checking gets worse.
This would make the test more like the real world too.