The General Security Directorate (; ) is a Lebanese intelligence agency founded on July 21, 1921 and originally known as the "first bureau". On June 12, 1959, Decree-Law No. 139, in force from that date, was published. Under this decree the General Security becomes a branch depending on the power of the Minister of Interior and headed by a Director General, as President. On December 16, 1959, Organizational Decree No. 2873 was published. It establishes a regional organization of general security and creates more Branch, regional departments, border, maritime and air.

Its full name is "General Directorate of General Security" ( (DGSG), ).

General Directorate of General Security

Its primary function is to collect and gather intelligence, and to inform the Lebanese government to ensure national security and public order throughout the territory of the Republic of Lebanon. General Security is also responsible for monitoring resident aliens on Lebanese soil by issuing them visas and entry permits into Lebanese territory, and residence permits and card stays. It monitors the media by ensuring they do not touch with their content, public order, or undermines an institution of the Lebanese state, and community components to the Lebanese society.

General Directorate of General Security

Finally, it is responsible for issuing passports and travel documents to Lebanese citizens. Until 1998 the General Director of the General Security Directorate had been a Maronite when former President Emile Lahoud appointed a Shia for the first time since 1943.

General Directorate of General Security

The General Security National Day as celebrated in Lebanon is on the 27th of August of each year.

Security Functions

Gathering Intelligence, Collecting information concerning political, economical and social matters. Collect information concerning political, economic and social interest of the Government. Evaluate, analyse and use information in different areas. Participate in legal investigations in the context of offences against the internal or external security of the state. Supervise the preparation and implementation of security measures. Ensure security cooperation, with respect to different functions. Fight against anything that undermines security by monitoring and prosecuting acts of sabotage, the authors of disorder and rumor mongers to compromise security. Fights against dissolved, secret, and forbidden parties or associations. Prepares notices and prosecution of research, travel bans. Participates in monitoring borders, airspace, and territorial waters.

Foreigner Service

Provide the facilities required by foreign parties, concerning delegations, missions, invitations and meetings of Arab and foreign visitors. Control entry of foreigners in Lebanon, their stays and departures; control their movement and ensure their safety. Controlling foreigners on Lebanese territory. Prepare correspondence relating to the deportation of foreign and security incidents. Follow cases concerning residence of aliens. Coordinating the relations with foreign missions working in Lebanon. Responsible for liaison and relationships between embassies and diplomatic missions Arab, foreign, international internships in the fields of sessions and abroad. Monitor and facilitate departures and arrivals of travelers of different nationalities. Escort statesmen foreigners arriving in Lebanon and ensure their safety during their travel on the Lebanese territory.

Technical Functions

Grant permits for passage. Issue of Lebanese passports. Grant permanent residence permits and temporary. Organize and issue travel documents for Palestinian refugees residing in Lebanon or from foreign countries. Grant entry visas. Supervise all procedures relating to civil status and naturalization applications. Escort the Lebanese statesmen.

Cyber-espionage

According to an investigation from Lookout and the Electronic Frontier Foundation, the GDGS has run at least 10 campaigns since 2012 to compromise the security of Android phones in at least 21 countries. The GDGS hacking team, designated "Dark Caracal", used phising attacks to trick targets into downloading impersonations of WhatsApp, Viber and Signal, allowing the GDGS to extract gigabytes of data. The reporting was denied by Major General Abbas Ibrahim.