Somalia is a sad place and one of the saddest tragedies ever is being played out, where pirates in the north are holding 40 sailors and several ramshackle ships that no one will pay a ransom for. These are seagoing fishing boats and small freighters owned by small operators with no insurance to cover ransoms and not enough cash, or inclination, to pay what the pirates demand. The negotiators (who work for the pirates) have explained all this to the pirate chiefs, who are facing hard times themselves and stubbornly refuse to face the fact that they will never get anything for these 40 sailors and their ramshackle ships (one of which recently sank at anchor). Just killing the remaining prisoners (some held for three years) and sinking the ships risks retribution from the anti-piracy patrol off shore. Countries the prisoners are from have been pressured to pay ransom but all of them adhere to the “no negotiating with terrorists” code. There is growing pressure on the pirates to simply release the unwanted prisoners on “humanitarian grounds” and at least get some good press out of this mess. That’s a bitter solution for the pirates, who have not captured a ship that could be ransomed in over a year. Several pirate gangs have disbanded and those still around have shrunk and cut the payroll considerably.
The big time piracy is largely out of business because warship patrols and better security aboard large ships passing Somalia has made it nearly impossible to seize these vessels. Holding ships for ransom only worked initially because Somalia, a state without a government since 1991, provided small ports on the coast of East Africa where pirates could bring the merchant ships they had captured and keep them there, safe from rescue attempts, until a ransom could be negotiated.
Off West Africa, pirates have come up with another angle. These pirates, believed to be only a few well-organized gangs, target small oil tankers operating in the Gulf of Guinea (where Nigeria and its neighbors have oil fields). The pirates quickly board and seize control of a tanker at night. The crew is locked up in an internal space and the tracking devices are disabled. Then the tanker is taken to rendezvous with another tanker, which takes the oil from the hijacked tanker, along with the pirates and their other loot, and makes for a port where oil brokers willing to buy stolen oil (at a steep discount), take the pirated cargo, pay the pirates, and perhaps tip the pirates off on another small tanker that could be hit. The pirates have since expanded this technique to include freighters carrying portable, high-value items (consumer electronics, for example) that can be transferred at sea before daybreak and the coast guard arrive.
The hijacked tankers, stripped of portable items of value and then set adrift, are soon found and the crew released. Normally, pirates attack merchant ships anchored near the coast, grab all the valuable portables, and quickly leave. This is considered armed robbery, although pirates increasingly kidnap a few of the ships officers (or the entire crew) and hold them for ransom. But this requires a good hideout and more resources. The pirates who steal oil cargoes require even more technical organization and connections. But because the payoff is so high (millions of dollars for a stolen oil tanker cargo), a growing number of skilled gangsters are being attracted to the business. The East African style of piracy won’t work off the Somali coast because of the anti-piracy patrol and much more alert ships.
Despite the countermeasures off Somalia. There has been something of a piracy revival in the last decade. Piracy hit a trough from the late nineteenth century into the later twentieth. That was because the Great Powers had pretty much divided up the whole planet and then policed it in the 19th century. Piracy began to revive in a modest way beginning in the 1970s, with the collapse of many post-colonial regimes.
Note that what constitutes an act of piracy is not clearly defined. It essentially comes down to non-state sanctioned use of force at sea or from the sea. This could include intercepting a speedboat to rob the passengers, but that's usually just thought of as armed robbery. And something like the seizure of the Achille Lauro in 1985 is considered terrorism, rather than piracy. In the past some marginal states have sanctioned piratical operations, like the North African Barbary States, but that is rare any more. The trend, however, is definitely up.
Pirates usually function on the margins of society, trying to get a cut of the good life in situations where there aren't many options. This is usually in areas where state control is weakest or absent, in failing and "flailed" states (a flailing state is something like Nigeria, Indonesia, or the Philippines, where the government is managing to just barely keep things together, unlike a failed state such as Somalia, where there isn't any government at all).
The solution to piracy is essentially on land, where you go into uncontrolled areas and institute some law and order and remove the pirate safe havens. This has been the best approach since the Romans eliminated piracy in the Mediterranean over 2,000 years ago. Trying to tackle piracy just on the maritime end can reduce the incidence of piracy but can't eliminate it. In the modern world the "land" solution often can't be implemented. Who wants to put enough troops into Somalia to eliminate piracy? And flailing states are likely to be very sensitive about their sovereignty if you offer to help them control marginal areas.
A new industry has developed that attempts to "pirate proof" ships operating off Somalia. The most successful (and most expensive) technique is to put a small number of armed guards on each ship. That, and warship patrols, has greatly reduced piracy off East Africa (Somalia). But off West Africa (especially the Gulf of Guinea) the piracy threat is growing because pirates have found ways to get more valuables off ships before security forces (police, coast guard, or navy) can show up.