Closed shhu6844 closed 2 years ago
Thanks for the change! Can you explain why malware detecting if SYSTEM or not is dangerous? Also, is OpenProcessToken and AdjustTokenPrivilege both dangerous? I don't know the detail of those apis but it seems to me that AdjustTokenPrivilege is only dangerous if called with specific arguments
Thank you for the feedback! I also added more information in the issue and also wiki pages. About why I choose to detect and hook these two APIs is because I don't think it is a common used method, and also the usage. I'd like to be skeptical when I find some program using these APIs, but it's just my opinion I don't know if it's actually a common used API for normal usage.
Thank you~ I'll merge this afterwards
Added OpenProcessToken and AdjustTokenPrivilege. Added TestExecutables/ProcessToken.exe