Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create file for suspicious process termination #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevross33
Copy link
Contributor

Hi,

This isn't ready for commiting but I am looking for feedback on it. The idea is to detect the killing of other processes or malware processes in a suspicious manner. So these are:

  • Command line termination of a process (which is suspicious)
  • Termination of another process; either other spawned processes although perhaps this could be ignored & especially user processes and potentially security software even though most are self defending.

The reason this is not ready is simply because while I have command line termination I have not found one that terminate anything but itself using NtTerminateProcess in some tests. So the questions are:

  • if handle != "0x00000000" and handle != "0xffffffff": should basically ignore itself (I saw both handles in process termination calls)
  • If I am correct in that self.get_name_from_pid(handle) would lookup the targetted process handle
  • Finding samples which do this to test.

I would appreciate any feedback with this. Thanks.

Hi,

This isn't ready for commiting but I am looking for feedback on it. The idea is to detect the killing of other processes or malware processes in a suspicious manner. So these are:

- Command line termination of a process (which is suspicious)
- Termination of another process; either other spawned processes although perhaps this could be ignored & especially user processes and potentially security software even though most are self defending.

The reason this is not ready is simply because while I have command line termination I have not found one that terminate anything but itself using NtTerminateProcess in some tests. So the questions are:

- if handle != "0x00000000" and handle != "0xffffffff": should basically ignore itself (I saw both handles in process termination calls)
- If I am correct in that self.get_name_from_pid(handle) would lookup the targetted process handle
- Finding samples which do this to test.

I would appreciate any feedback with this. Thanks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant