Equity benchmark Sensex rallied over 500 points in the opening session on Thursday tracking gains in index majors HDFC Bank, Reliance Industries and Infosys amid massive buying by foreign institutional investors. A positive trend in global markets also supported the surge.