Skip to content

Instantly share code, notes, and snippets.

Created April 23, 2021 01:05
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') {
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