Open yellow-starburst opened 1 year ago
Also - yes, I double checked it’s not an added feature. This request is different than a malicious powershell profile that could be used as persistence. https://attack.mitre.org/techniques/T1546/013/
Yes, This attack is more of a forensics related test, that checks what was commands were run in the past X amount of attempts. I know you dislike adding anything related to forensics; I think this is a really important test to look for what the attacker may have done to actually add the persistence. In other words helps reduce time to figure out the persistence needle in the haystack.
It's not directly related to finding persistences but I may look into it. The thing is, it's not that I don't like forensics, it's that I think tools should do just one thing and do it in the best way possible. Extending PersistenceSniper in that way is going against this "rule", to me. Nonetheless, it may be useful, so I'll look into how to do it.
Feature request to add a way to output the contents of powershell console history that can show the attackers commands. https://0xdf.gitlab.io/2018/11/08/powershell-history-file.html