Lebanese soldiers shot and arrested the gunman in early June, later identified as Kaiss Farraj from Syria, after a shootout that lasted almost 30 minutes and injured an embassy security guard.
The so-called Islamic State group has not claimed responsibility for the attack, nor has any other group.
The attack took place as tensions simmered in the tiny Mediterranean country, where fighting between Hezbollah militants and Israeli troops has displaced thousands along the border, following years of political deadlock and economic hardship.
Lebanese media published photos that appear to show a bloodied attacker wearing a black vest with the words “Islamic State” written in Arabic and the English initials “I” and “S.”
Judicial and security officials familiar with the investigation previously told The Associated Press that Farraj initially appeared to be a lone wolf and not linked to any extremist group.
The Lebanese Army soon after the shootout raided the eastern Lebanese towns of Majdal Anjar and nearby Suweiri, where it arrested three relatives of the suspect and two other people believed to be associated with him.
The two officials added that two others who allegedly sold weapons to the gunman were charged with selling unlicensed firearms. They spoke on condition of anonymity in line with regulations.
The officials said that Farraj, who was shot three times in the shootout, is in poor health and remains unconscious.
In 1983, a deadly bombing attack on the US Embassy in Beirut killed 63 people. US officials blame the attack on the Lebanese militant group Hezbollah.
Following that attack, the embassy was moved from central Beirut to the Christian suburb of Aukar, north of the capital. Another bomb attack struck the new location on September 20, 1984.
In September 2023, Lebanese security forces detained a Lebanese man who opened fire outside the US Embassy. There were no casualties in that attack.
In October 2023, hundreds of protesters clashed with Lebanese security forces in demonstrations near the US Embassy in support of Gaza’s people and the militant group Hamas in its war with Israel.