Hamas has prepared for a long, drawn-out war in the Gaza Strip and believes it can hold up Israel's advance long enough to force its archenemy to agree to a cease-fire, two sources close to the organization's leadership said.

Hamas, which rules Gaza, has stockpiled weapons, missiles, food and medical supplies, according to the people, who declined to be named due to the sensitivity of the situation. The group is confident its thousands of fighters can survive for months in a city of tunnels carved deep beneath the Palestinian enclave and frustrate Israeli forces with urban guerrilla tactics, the people said.

Ultimately, Hamas believes international pressure for Israel to end the siege, as civilian casualties mount, could force a cease-fire and a negotiated settlement that would see the militant group emerge with a tangible concession such as the release of thousands of Palestinian prisoners in exchange for Israeli hostages, the sources said.