Line 1:
Line 1:
This article is a collection of ideas of how [[compel]] can be used.
This article is a collection of ideas of how [[compel]] can be used.
+
+
== Run a new thread ==
One thing parasite code can do is call <code>clone()</code> and create a thread having access to main process' VM, FDT, FS, etc. The new thread can then do the following things:
One thing parasite code can do is call <code>clone()</code> and create a thread having access to main process' VM, FDT, FS, etc. The new thread can then do the following things:
Line 10:
Line 12:
** Remote swap for task
** Remote swap for task
** WSS detection
** WSS detection
+
+
== Do some work and unload ==
Another thing is to perform some activity on behalf of the victim and then just unload itself. With this, we can do:
Another thing is to perform some activity on behalf of the victim and then just unload itself. With this, we can do: