The Trojan was detected when I was running an app (I think it's an optimizer app) when a command prompt window popped up, there was a piece of text, it's not even a code, It popped up for like 2 seconds before closing and then Kaspersky asked me to take action as my PC started to behave strangely