So far I know there is no specific way of knowing an ICO scam or not. But you will have so many resources to know in detailed about an ICO. SO doing sufficient study regarding the project, you will be able to know the reliability of any ICO. And till now there is no ruling body established to punish the scam.