In the world where most of the information is being shared over the internet which even contain personal information because of which every single entity is vulnerable over the internet. There are many ways to exploit the system where malwares are the most common one. There have been many proposed approaches to detect these malwares which have been proven to be successful in detecting efficiently. The proposed approaches still lack the detection of the shellcodes. In this paper we are proposing a method to detect the injected shellcode using reverse engineering in portable executable files. Portable executable files are independent of the system, which makes them usable without any prior requirements and hence malwares are injected in these files with extension .exe. We will observe that using our method we are able to detect the presence of shellcode in a file.