Our paper on catching an attacker who already has a valid key, and what building it showed us
An unpublished eighth-semester paper about stolen cloud keys, and the three things we only found once we built what it describes, including a place where the paper contradicts itself.
The paper, and where it stands
"Risk-Adaptive Authorization for Hybrid Cloud IAM" is eighth-semester work at Madan Bhandari Memorial College, Tribhuvan University, written with Ashal Pandey and Famous Dhungana. It is not published. No journal has taken it, nobody outside the team has reviewed it, and the tests it describes have not been run. So read what follows as a design and an argument, not as a result.
It is on this site anyway, in full, because a design nobody has measured is still a design you can read and argue with. What it should not get is the credit for an experiment it has not done, and the demo page says so at the top rather than in a note at the bottom.
Most cloud break-ins involve no breaking
The attacker this paper cares about already has a working key. They phished it, found it in a repository, or lifted it off a build machine. From then on they use it the way its owner would, taking a little more power with each ordinary command. Every request is properly signed. Every command is one that normal deploy tools run every day. Nothing looks wrong, because at the level the request is checked, nothing is wrong.
The two obvious defences each fail, and they fail on opposite cases. Watch behaviour only, and a patient attacker walks past you. Give them a few weeks and they look normal, so the request that finally hands over admin rights looks no stranger than the hundred harmless ones before it. Check permissions only, and you block the wrong person, because the engineer fixing an outage at two in the morning types the very same command. A system that only asks what a request would unlock cannot tell those two people apart.