malware_hash {cymruservices}R Documentation

Retrieves malware hash metadata from the Malware Hash Registry


The Malware Hash Registry (MHR) project is a look-up service similar to the Team Cymru IP address to ASN mapping project. This project differs however, in that you can query the service for a computed MD5 or SHA-1 hash of a file and, if it is malware and the service knows about it, it returns the last time it's seen it along with an approximate anti-virus detection percentage.


malware_hash(hashes, timeout = getOption("timeout"))



vector of IPv4 address (character - dotted-decimal)


numeric: the timeout (in seconds) to be used for this connection. Beware that some OSes may treat very large values as zero: however the POSIX standard requires values up to 31 days to be supported.


data frame of BGP Origin ASN lookup results

If a socket connection cannot be made (i.e. a network problem on your end or a service/network problem on their end), all columns will be NA.


Attempting to enumerate the malware registry via the public service interface is not only impractical, it is also strictly prohibited. Contact Team Cymru if the public interface is insufficient for your needs and we may be able to come up with alternative arrangement. Also, A direct connection to TCP Port 43 (WHOIS) is required for most of these API functions to work properly.

See Also


## Not run: 

## End(Not run)

[Package cymruservices version 0.5.0 Index]