Mr. Egol, a Princeton graduate, had risen to prominence inside the bank by creating mortgage-related securities, named Abacus, that were at first intended to protect Goldman from investment losses if the housing market collapsed. As the market soured, Goldman created even more of these securities, enabling it to pocket huge profits.
Goldman’s own clients who bought them, however, were less fortunate.
Pension funds and insurance companies lost billions of dollars on securities that they believed were solid investments, according to former Goldman employees with direct knowledge of the deals who asked not to be identified because they have confidentiality agreements with the firm.
...
Goldman, among others on Wall Street, has said since the collapse that it made big money by using the ABX to bet against the housing market. Worried about a housing bubble, top Goldman executives decided in December 2006 to change the firm’s overall stance on the mortgage market, from positive to negative, though it did not disclose that publicly.
Even before then, however, pockets of the investment bank had also started using C.D.O.’s to place bets against mortgage securities, in some cases to hedge the firm’s mortgage investments, as protection against a fall in housing prices and an increase in defaults.
Mr. Egol was a prime mover behind these securities. Beginning in 2004, with housing prices soaring and the mortgage mania in full swing, Mr. Egol began creating the deals known as Abacus. From 2004 to 2008, Goldman issued 25 Abacus deals, according to Bloomberg, with a total value of $10.9 billion.
Abacus allowed investors to bet for or against the mortgage securities that were linked to the deal. The C.D.O.’s didn’t contain actual mortgages. Instead, they consisted of credit-default swaps, a type of insurance that pays out when a borrower defaults. These swaps made it much easier to place large bets on mortgage failures.
...
At Goldman, Mr. Egol structured some Abacus deals in a way that enabled those betting on a mortgage-market collapse to multiply the value of their bets, to as much as six or seven times the face value of those C.D.O.’s. When the mortgage market tumbled, this meant bigger profits for Goldman and other short sellers — and bigger losses for other investors.
http://www.nytimes.com/2009/12/24/business/24trading.html?_r=1Read the whole article... it's not so clear-cut actually. It raises a number of issues.