Two staff of Libyan state oil firm and two gunmen were killed in an attack on the National Oil Corporation’s (NOC) headquarters in Tripoli on Monday, a security official said.