Hierarchical Model Based Risk Management of Critical Infrastructures