The terrorist attack on the Police Training Centre in Manawan on Monday was planned in South Waziristan, Interior Adviser Rehman Malik told reporters, but he did not rule out foreign involvement.