Live data from Hacker News

Rooting Out Malware with a Side-Channel Chip Defense System

spectrum.ieee.org

11–13 of 13 posts

Re: Rooting Out Malware with a Side-Channel Chip Defense System

#11
post #3
post #2

That is very interesting! I worked on a similar idea (but on the malware side… :-p) a few years back. The idea of our paper [1] is that if programs could run and at the same time produce a functionally equivalent to themselves program that uses different instructions (to do the same thing), then power fingerprinting these programs would be very hard, as each execution's power trace would be different. We implemented…

Wow, you seem to have been way ahead of this project! It seems like this is a kind of equivalent to constant-time operations -- but constant-power operations? Is that also relevant to defending against DPA? Should we think of the proposed technique as a new application of DPA? (Is Cryptography Research going to sue them?)

> Wow, you seem to have been way ahead of this project!

Not really, like I said the idea is similar but as fabulist pointed out [1], they have a whitelist approach so I'm not really sure that our idea could systematically break their system.

> It seems like this is a kind of equivalent to constant-time operations -- but constant-power operations?

You get the right intuition, but no. There are constant-power countermeasures but this is not it. You see, there are two types of side-channel countermeasures: palliatives and curatives. Palliative countermeasures, like the one we discussed in the paper I mentioned in my previous comment, attempt to make the attack more difficult by blurring the information the attacker has access to using randomness, but there is no theoretical foundation behind. By contrast, curative countermeasures aim at providing a leak-free implementation based on a security rationale. There are two strategies to achieve this: the first one is to make the leakage as decorrelated as possible from the sensitive data (masking), and the second one is to make the leakage constant, irrespective of the sensitive data (balancing).

So your idea of constant-power exists, it is called balancing. I worked on this kind of countermeasures at assembly code level [2] if you are interested, and there are many other very interesting papers in the references to go through.

> Is that also relevant to defending against DPA?

Yes, it is mostly relevant against DPA. Actually constant-power operations are good against DPA, but absolutely not against PFP (what the linked post describes) since it makes it easier: it's always the same power trace!

> Should we think of the proposed technique as a new application of DPA? (Is Cryptography Research going to sue them?)

Since it seems to be done live I would rather say SPA (Simple Power Analysis) than DPA, but I guess the safer is to say that it is a (possibly new) application of the power side channel analysis.

(I don't know.)

[1] https://news.ycombinator.com/item?id=9122672

[2] http://pablo.rauzy.name/research.html#formaldpl

Re: Rooting Out Malware with a Side-Channel Chip Defense System

#12
post #6

"All malware, no matter the details of its code, authorship, or execution, must consume power. And, as PFP has found, the signature of malware’s power usage looks very different from the baseline power draw of a chip’s standard operations." I stopped right there because I smell assumptions that any number of things might violate: background tasks, VMs, VPN software, background P2P networking software (e.g. belonging…

I've found that if someone's comment says "I stopped reading at X", the comment is more likely to respond to an unintentionally-constructed strawman than to the actual article content.

Re: Rooting Out Malware with a Side-Channel Chip Defense System

#13
post #4
post #2

That is very interesting! I worked on a similar idea (but on the malware side… :-p) a few years back. The idea of our paper [1] is that if programs could run and at the same time produce a functionally equivalent to themselves program that uses different instructions (to do the same thing), then power fingerprinting these programs would be very hard, as each execution's power trace would be different. We implemented…

I'm sure it won't be long before malware creators find a way to obfuscate power profiles. How do you visualize the power profile of a specific program (can you)? Could you use a simple power analyzer to potentially detect malware, or do you need something more refined?

> How do you visualize the power profile of a specific program (can you)? Could you use a simple power analyzer to potentially detect malware, or do you need something more refined?

I don't really know. Most power analysis side channel attacks focus on embedded systems where only the target code runs. But recently, TAU researchers did very cool stuff with power analysis on laptops running a normal OS [1] and their presentation at CHES last year was very impressive.

[1] http://www.tau.ac.il/~tromer/handsoff/

Post reply on HN