The General Directorate for Internal Security is a French security agency. It is charged with counter-espionage, counter-terrorism, countering cybercrime and surveillance of potentially threatening groups, organisations and social phenomena.