Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Review CSV file from autorunsc.exe a and handle Virustotal detections
$autorunsCsv = "\AutorunsOutput.csv"
$autorunsArray = Import-Csv $autorunsCsv
Foreach ($item in $autorunsArray) {
$detection = $item.'VT detection'
if ($detection -eq "" -or $detection -eq 'Unknown') {
continue
}
Write-Output $detection
if ($detection -notmatch "^0") {
Write-Output "Virustotal Detection on $item"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment