The Islamic State (IS) group Monday claimed responsibility for a knife attack in Tunisia the previous day, which killed one National Guard officer and badly wounded another.