I know that windows source code is proprietary so how do hackers and others know what are the available exploits in windows so that the viruses can take their advantage.

closed as too broad by tlng05, Tobi Nary, Steffen Ullrich, Matthew, S.L. Barth Aug 2 '17 at 8:44

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    For example by fuzzing. your question shows a lack of understanding in many different fields of computer science and is thus way too broad for this format to be answered. I'll VTC. – Tobi Nary Aug 2 '17 at 7:59
  1. The computer still has to be able to execute a program and therefore you have the machine code available. Figuring out how a program works from there is the most common form of reverse engineering.
  2. You don't have to exploit windows to write a virus for windows. People run all kinds of programs on windows and it's enough to exploit any one of them.

Not the answer you're looking for? Browse other questions tagged or ask your own question.