The I-T department has attached a portion of shares held by Siddhartha and Coffee Day Enterprises Ltd in IT firm Mindtree over a potential tax demand.