Quote:
Originally Posted by mr.cracker
I had already installed cygwin. but in windows there is no kernel. Then how it is possible?? Is the shellcode is mainly focus on Unix like system?
|
Linux got a kernel.
Windows got a kernel.
Mac OS got a kernel.
A kernel is just a word for the very innermost tasks a Operating System. These are managing the memory, detecting and serving all hardware pieces and take care about the rights.
These tasks have to be done no matter how the resulting system is called.
If you write "shellcode" in windows, you can execute this code on a Linuxbox.
If, and only if this code is written for a linux shell.
Linux has a load of different shells. "bash" "dash" "ksh" "tsh" just to name a few.
If yxou are writing "shellcode" for the "powershell" you can run this code in windows as "powershell" is a windows shell. It won't run on a linux box.
If you install "cygwin" in windows, you are able to run real Linux shellscripts.
If you install "wine" on a Linux box, you are able to run Powershell scripts on Linux.
But in this two cases they run in a kind of simulation of the other operating system.
So again: You can write "shellcode" with every editor on every operating system.
But the written code is only executable on the corresponding platform.