Five stocks, namely HDFC Bank, ICICI Bank, Axis Bank, HUL and Bajaj Finance, contributed largely to the Sensex’s rise.