Offensive Security for AI Systems: Concepts, Practices, and Applications