Korea declares special security measures to deter random acts of violence