Created
June 1, 2022 00:23
-
-
Save ecapuano/fc0cde0e9293bff8b01783cf8666d214 to your computer and use it in GitHub Desktop.
Velociraptor Unsigned Processes w/VT Lookups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run against hunt results from Windows.System.Pslist | |
// Note: Returns ONLY unsigned processes, which minimizes less critical API calls | |
// Use's the server side enrichment artifact 'Artifact.Server.Enrichment.Virustotal' from @therealwlambert | |
LET VTKey <= "$apikey" | |
LET Results = SELECT Pid,Ppid,TokenIsElevated,Name,CommandLine,Exe,Hash.SHA256 AS SHA256, Authenticode, Username FROM source() | |
WHERE NOT Authenticode.Trusted = "trusted" // unsigned binaries | |
LIMIT 50 | |
SELECT *, {SELECT * FROM Artifact.Server.Enrichment.Virustotal(VirustotalKey=VTKey, Hash=SHA256) } AS VTResults FROM foreach(row=Results) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment