A practical guide to identifying and mitigating security risks through four comprehensive lab exercises