I want to develop a framework to detect the malicious code in the system,how can I do that that,what are the steps to develop a framework also I need the coding part for that implementation?