Re: Easter Eggs and Security



mike3 wrote:

[snip]

Increasing the complexity of ANY system has the potential for
introducing (further) security vulnerabilities. Perhaps by interaction
with other parts of the program, perhaps in some other way.

Even something as simple as just adding an extra key command
to the keyboard handler that just pops up a little message box?
How exactly can this generate a security hole? Any scenarios
you might know about?

You are increasing the system complexity, therefore you are increasing the risk, however small, of further vulnerabilities arising.

[snip]

Is this an example of an American failing to understand british humour?

Probably.

:-)

It was a tongue in cheek comment. The original post did not specify a
type of EE, so it could be just flashing 'Johnny' up on the screen or it
could be running a 3d maze of some kind, or a flight sim. Who knows?


But I'm talking about must "usual" easter eggs, which are often
simple. Like just displaying "JOHNNY". If a maze/flight sim was
added I'd bet it would easily get noticed. That is a nontrivial
program. Maybe I wasn't clear, but that was my drift -- how
could something relatively trivial be so hard to examine?

Microsoft have done both, IIRC.

I'm not suggesting that the code would be so hard to examine. It just makes the overall task (slightly) more complicated. Unnecessarily.

Your processor now has wait for interrupts from the keyboard and scan
for additional input matches. No, I'm sure this won't add much more
processor time to your application but it adds SOME. Thus denying the
processor cycles to something 'useful' Would it make the application
larger, yes, but not much. Still going to use up potentially precious
disk space.

But who is going to have such a tight margin anyway that a few
extra bytes or KBs is going to do so much?

My HDD fills regularly. I would like to save every byte I can.

In short, would your customers prefer a larger, slower application that
massages the programmers ego or would they prefer an application that
does what it is expected to do in the smallest possible space and the
shortest possible time.

I know what my customers would prefer, I know what I would prefer. YMMV.


Even when the time lost is unnoticeable? That is the type of attitude
I don't quite understand. What sort of mega-time-sensitive stuff might
a few milli or micro seconds of time slower a word processor is made
by a tiny easter egg interfere with? Can one really NOTICE that? I'd
suppose you wouldn't want to include easter eggs, in, say, a
complicated
physics simulation program for a supercomputer where every darned
cycle of every darned CPU in the machine counts, but a _word
processor_?

You didn't state the application type, you didn't state the EE type.

You're making asumptions that YOUR application will be the only one running on any said system. Maybe those clock cycles /could/ be better used. Do you know ALL the applications your customer uses/ will use?

I'm sure you'll just go ahead and stick your EEs in anyway, so why ask for opinions?

Bogwitch.
.



Relevant Pages

  • Re: Float/SSE optimization on Athlon/P4
    ... > iadd is a constant which gets computed outside of the time critical code ... Then you can keep edx as the integer part and use adc to carry into ... cycles which is 3-5 times faster than what you had before. ...
    (comp.lang.asm.x86)
  • Re: where can I find the algorithmus of AES
    ... > This doesn't seem to support your claim above in my view. ... As said, Devine showed that the ... calaculated and also the cycles used for each single key schedule operation. ...
    (sci.crypt)
  • Re: PID question
    ... desired response time", do you mean that I should be taking an average ... Each sample you take must be used as quickly as possible, to minimize time delay inside your control loop. ... I think what he meant was that it takes many cycles of your sample and control algorithm to restore the system to setpoint, after a disturbance, so just because you can sample and cycle your program 100k times per second, don't expect to recover, completely, from a step current error ...
    (sci.electronics.design)
  • Re: Acceleration With and Without a Rate
    ... Hey stooopid, what about quadrupole corrections? ... cycles every 28 days or so. ...
    (sci.physics)
  • Re: Acceleration With and Without a Rate
    ... Hey stooopid, what about quadrupole corrections? ... cycles every 28 days or so. ...
    (sci.physics.relativity)