visit
The Kernel is the core of an operating system and has complete control over everything (processor, memory, chips, etc.) on the system. Whenever a program needs to do anything (i.e. write to files, open network connections, etc.), it hands control of user-space processing to the kernel temporarily.Now, for the analogy:
Whenever Batman and the rest of the Justice League are out fighting mega-criminals, Alfred (the kernel) is handed control of the Batcave (the processor) so that he can provide important information and help the group win. When the team defeats the bad guys, Batman relieves Alfred of his control and takes the Batcave back.
Spectre attacks induce a victim to speculatively perform operations that would not occur during correct program execution and which leak the victim’s confidential information via a side channel to the adversary.Now for the analogy:
During their time off between battles, the Justice League likes to play hide and seek in Batman’s mansion. Normally, everybody hides and the seeker has to go around and search for all the other people. However, today it’s Superman’s turn to seek and he just doesn’t want to play! Instead of honestly going around and searching for the rest of the team, Superman decides to cheat and use his x-ray vision. Now, Superman can see exactly where everybody is! In addition, he now knows where Bruce hides all his valuables — including his bespoke Superman action figure!
First, an attacker makes the CPU execute a transient instruction sequence which uses an inaccessible secret value stored somewhere in physical memory. The transient instruction sequence acts as the transmitter of a covert channel, ultimately leaking the secret value to the attacker.Now, let’s take a look at the analogy
Batman is trying to recruit the flash to the justice league. As he and the flash are walking down the street, Batman whispers the location of the bat cave into the flash’s ear. Unfortunately for them, the Joker has installed super advanced listening devices all over the city and now knows exactly where the Batcave is.