Will machine intelligence be used for attacks as well?

I have worked for some time on using of artificial intelligence (AI) for protecting computer / information systems and networks. My work is primarily in area of intrusion prevention and detection systems (IDS and IPS). There is approach which considers machine intelligence usage for attack on systems’ security.