Thos behind the foiled Anzac Day terror plot planned to kill a police officer and go on a shooting rampage, a security official says.