Benatia blasted in from a corner during the 2-0 victory away to the Ivory Coast.
Morocco and Tunisia will join Nigeria, Egypt and Senegal as the African sides in Russian Federation next summer.
As the final set of matches of CAF World Cup qualification concluded, all five African World Cup slots have been confirmed, including Tunisisa and Morocco.
Morocco stunned Ivory Coast 2-0 to qualify for the 2018 World Cup, while Tunisia also booked their ticket to Russian Federation on Saturday.
Following a shock defeat to Gabon in Group C, the Ivorians had to win to reach a fourth straight World Cup.
The Atlas Lions are returning to the World Cup for the first time in 20 years after they last made it in 1998.
Morocco's win in Abidjan gave coach Herve Renard success over his former team and the country he led to the African Cup title in 2015.
It will be Tunisia's first FIFA World Cup involvement since 2006 in Germany, and it joins Morocco, Egypt, Senegal and Nigeria as Africa's five representatives for Russian Federation 2018.
Dirar's in-swinging cross beat everyone and found the corner of the net in the 25th minute.
Achraf Hakimi had the first real opportunity for the visitors in the sixth minute, but the Real Madrid defender's shot from the edge of the box sailed over the bar. Goals from Nabil Dirar and Mehdi Benatia in the first half secured qualification for the Moroccans who won the group with 12 points.
The Tunisians secured a fifth appearance at the tournament by topping the table with 14 points, one more than the Democratic Republic of Congo.
Tunisia dominated possession at the Stade Olympique, but unpredictable Libya defended resolutely, creating an increasingly tense atmosphere.
Senator Richard Shelby of Alabama said "If that's true", referring to the allegations, "then he wouldn't belong in the Senate". His campaign also said that if the allegations were true, they would have come up before.
No one was injured in the minor crash but passengers say the bus could have actually avoided the truck backing its way. The Las Vegas self-driving shuttle is a 12-month pilot project by AAA and Keolis, a transportation management company.
Today, Nintendo made the announcement that Hulu would be the first major player in the field to bring its content to the Switch. Where it gets hard , is that Hulu itself requires a US-registered IP address and subscription to actually make use of.
The suspension dates back to a year-long investigation into domestic violence accusations from his ex-girlfriend Tiffany Thompson. While his legal options aren't exhausted - Thursday's ruling isn't a verdict - Elliott will miss the Cowboys' next six games.
One woman told CBS News' Tony Dokoupil about a horrific experience at a Mexican resort that TripAdvisor initially refused to post. Steve Kaufer, the CEO of TripAdvisor , said the company, "apologized to the victim [Love] for her experience".
Russian Federation has vehemently denied allegations of interfering in the USA election past year that brought Trump to power. Russian and United States presidents Vladimir Putin and Donald Trump will meet tomorrow in Vietnam.
Three UCLA basketball players can not leave their Chinese hotel after being arrested for allegedly shoplifting. LaVar and his wife, Tina, reportedly ate breakfast with the UCLA team on Wednesday morning.
The problem, as readily became apparent from Moore's defiant statements, is that he isn't going to step aside. Daniel Dale, a reporter for the Toronto Star , spoke with a number of Alabama Republican county chairs.
The iOS 11 and iOS 11 .1.1 update is free for the iPhone , iPad and iPod touch, but is only coming to a select group of devices. Apple Pay Cash has arrived as part of the iOS 11 .2 beta, and early reviews suggest it's really easy to use.
Barros mentioned that Equifax is working on an application that would let customers lock and unlock personal credit data. Mayer joined former and current CEOs of Equifax in testifying before the committee examining recent data breaches.