I am looking for updated lists of IP addresses that belong to malware's C&C, botnets, malicious scanners, or other sort of malicious activities.
Is there any public database of malicious IP addresses?
There are several freely available threat intelligence feed around.
See e.g. https://threatfeeds.io/
Do note that such lists are ephemeral in nature. Which IPs are currently being used for malicious activity is ever changing, and the information generally decreases in value as soon as it is openly published. For this reason, most high-quality threat feeds come from organizations that either sell them, or only share them with trusted partners.
https://www.malwaredomainlist.com/https://www.malwaredomainlist.com/mdl.php Last update: 2017 – Jul 03 '19 at 19:46