Testnet Environment For Attack Modelling: The Methodology