Army detains 25 miscreants