Israeli forces poised to invade Gaza on a mission to wipe out Hamas will confront an ever-more capable opponent trained for years by a clandestine support network that stretches far beyond the tiny enclave to Iran and allied Arab groups.
Hamas' deadly attack on southern Israel six days ago - unprecedented for the group in its planning and scale - was a devastating demonstration of the military expertise it has gained since seizing control of Gaza in 2007.
"Necessity is the mother of invention," said Ali Baraka, a senior Hamas operative, adding that the group had long drawn on money and training from Iran and Iranian regional proxies like Lebanon's Hezbollah, while bolstering its own forces in Gaza.
Difficulties in importing weapons meant that over the past nine years "we developed our capabilities and are able to manufacture locally", said Baraka, who is based in Lebanon.
In the 2008 Gaza war, Hamas rockets had a maximum range of 40 km (25 miles), but that had risen to 230 km by the 2021 conflict, he added.
Today the secretive and sprawling organisation is unrecognizable from the small Palestinian group that issued its first leaflet 36 years ago protesting at Israeli occupation, according to Reuters interviews with 11 people familiar with the group's capabilities, including Hamas figures, regional security officials and military experts.
"They are a mini-army," said a source close to Hamas in the Gaza Strip, who declined to be named due to the sensitivity of the matter. He said the group had a military academy training a range of specialisations including cyber security, and boasts a naval commando unit among its 40,000-strong military wing.
By contrast, in the 1990s Hamas had less than 10,000 fighters, according to the globalsecurity.org website.
Since the early 2000s the group has built a tunnel network under Gaza to help fighters melt away, house weapons factories and bring in weapons from abroad, according to a regional security source, who also declined to be named. The group has acquired a range of bombs, mortars, rockets, anti-tank and anti-aircraft missiles, Hamas operatives have said.
The expanding capabilities have produced increasingly lethal results over the years. Israel lost nine soldiers during its incursion in 2008. In 2014, the number jumped to 66.
H.A. Hellyer, a senior associate fellow at Britain's Royal United Services Institute, said Israel was capable of destroying Hamas in its expected attack on the densely populated enclave.
"The question isn't whether it's possible or not. The question is what sort of price will be exacted on the rest of the population, because Hamas does not live on an island in the ocean or in a cave in the desert."
After the most recent Gaza war in 2021, Hamas and an affiliated group called Palestinian Islamic Jihad managed to retain 40% of their missile inventories, a key target of the Israelis, according to the U.S. based non-profit Jewish Institute for National Security of America, keeping roughly 11,750 missiles compared with 23,000 before the conflict.
OVERWHELMS DEFENCES
Hamas, whose 1988 founding charter called for Israel's destruction, is classified a terrorist organisation by Israel, the United States, the European Union, Canada, Egypt and Japan.
For Iran, Hamas has helped it realise a years-long ambition to encircle Israel with legions of paramilitaries, including other Palestinian factions and Lebanon's Hezbollah, according to Western officials. Armed with sophisticated weaponry, all share a longtime enmity to Israel's occupation of Palestinian land.
The group's leaders are spread across the Middle East in countries including Lebanon and Qatar, but its power base remains Gaza. It has urged Gazans not to heed Israel's call to leave ahead of the expected ground invasion, which follows days of Israeli bombardment that has killed about 1,800 people.
In the attack on Oct. 7, the worst breach in Israel's defences in 50 years, Hamas fired more than 2,500 rockets as fighters using paragliders, motorbikes and four-wheel drive vehicles overwhelmed Israeli defences and tore through towns and communities, killing 1,300 people and taking dozens hostage.
The people we spoke to said that while Iran trained, armed and funded the group, there was no indication that Tehran directed or authorized the Oct. 7 attack
"The decision, zero-hour, all of that was in Hamas' hands - but of course the general cooperation, training and preparation all came from Iran," said the regional security source.
Iran acknowledges it helps finance and train Hamas but has denied a role in the attack, although it praised it.
Hamas's Ismail Haniyeh, said in an interview with Al Jazeera television last year that his group had received $70 million in military help from Iran. "We have rockets that are locally manufactured but the long-range rockets came from abroad, from Iran, Syria and others through Egypt," he added.
According to a U.S. State Department report from 2020, Iran provides about $100 million annually to Palestinian groups, including Hamas, Palestinian Islamic Jihad, and the Popular Front for the Liberation of Palestine-General Command.
An Israeli security source said that Iran had significantly increased funding for Hamas' military wing in the past year from $100 million to about $350 million a year.
HAMAS FOUNDER SHEIKH YASSIN
The idea of Hamas - meaning zeal in Arabic - began to take form on Dec. 10, 1987, when some members of the Muslim Brotherhood convened the day after an Israeli army truck crashed into a car carrying four Palestinian day-workers, killing all of them. Stone-throwing protests, strikes and shutdowns in Gaza followed.
Meeting at the house of Sheikh Ahmed Yassin, a Muslim cleric, they decided to issue a leaflet on Dec. 14 calling for resistance as the First Intifada, or uprising, against Israel erupted. It was the group's first public act.
After Israel withdrew from Gaza in 2005, Hamas began importing rockets, explosives and other equipment from Iran, Western intelligence sources have said. They were shipped via Sudan, trucked across Egypt and smuggled into Gaza through a labyrinth of narrow tunnels beneath the Sinai Peninsula, they added.
Flows of weapons, training and funds also went from Iran to other regional paramilitary allies, eventually giving Tehran a commanding presence in Lebanon, Syria, Iraq, Yemen and Gaza.
Some of these allies form part of a "Shi'ite axis" that extends from Shi'ite paramilitaries in Iraq, to Hezbollah in Lebanon to Syria's ruling minority Alawite, an offshoot of Shi'ite Islam.
The jewel in the crown of Iran's militia network is Hezbollah - conceived at the Iranian embassy in Damascus in 1982 after Israel invaded Lebanon during the 1975-90 civil war.
Hezbollah bombed US targets and ran a hostage-taking and hijack agenda, drove Israel out of Lebanon in 2000 and then gradually seized hold of the levers of the Lebanese state.
Iran seized the opportunity to co-opt Hamas in 1992 when Israel deported about 400 Hamas leaders to Lebanon, the source close to Hamas said. Iran and Hezbollah hosted Hamas members, shared military technology and trained them in building home-made bombs for suicide attacks, the person added.
Baraka, the Hamas official, said the ultimate aim of the Oct. 7 attack on Israel was to win the release of all 5,000 Palestinian prisoners held in Israeli jails, halt Israeli raids on Al Aqsa mosque, the third-holiest site in Islam, and lift a 16-year-old blockade of Gaza.
He warned that if Israel's ground offensive went ahead, blessed by the US and Britain, the war wouldn't be confined to Gaza but could spill over into a regional conflict.
"It's not just an Israeli war on Gaza, there is an Atlantic war on Gaza with all the powers," he said. "There will be new frontlines."
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)
Track Latest News Live on NDTV.com and get news updates from India and around the world