Get-VirusTotalReport - Querying VirusTotal service using PowerShell

Get a VirusTotal Report for for specific executable file or hash. A SHA256 Cryptpgraphic Hash can be provided to VirusTotal. Written by Moti Bani - mobani@microsoft.com - (http://blogs.technet.com/b/motiba/) with script portions copied from http://psvirustotal.codeplex.co

 
 
 
 
 
4.5 Star
(2)
4,188 times
Add to favorites
Security
12/29/2015
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • getting error
    2 Posts | Last post July 27, 2018
    • I am getting this error - please  help
      
      
      PS D:\powershell> Get-VirusTotalReport -VTApiKey YourAPIKey_1234567890 -Hash be677bd5fb580ed1acf47777b34b19597feeea07d1ee90646ffa310e58232cbb
      
      
      Invoke-RestMethod : The remote server returned an error: (403) Forbidden.
      At line:46 char:17
      + ... $VTReport = Invoke-RestMethod -Method 'POST' -Uri 'https://www.virust ...
      +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
          + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
       
      
      
      MD5       : 
      SHA1      : 
      SHA256    : 
      VTLink    : 
      VTReport  : /
      VTMessage : 
      Engines   : {}
      
    • i know response is a year late, however, you just need to change YourAPIKey_1234567890 to your actual APKI key
      without YOURAPKIKEY_ in front
      example
      -VTApiKey abcdefg1234567fdsa987654qwer