Trust-Aware Malicious Node Detection in Fog Networks