Virus-scanning is the process of finding and eliminating malicious software on a computer. Use this tag for programming questions related to virus scanning on any platform/OS.
Questions tagged [virus-scanning]
104 questions
3
votes
1 answer
Windows Antimalware Scan Interface thread safety
The Windows Antimalware scan Interface (AMSI) contains abstractions which can be used to call the currently active virus scanner in Windows:
https://learn.microsoft.com/en-us/windows/desktop/amsi/antimalware-scan-interface-functions
There are 2…

Nitradamus
- 111
- 1
- 4
3
votes
1 answer
How can I find whether a file is infected by virus using VirusTotal.NET library in C#?
I am currently using VirusTotal.NET nuget package in my C# MVC project to scan uploaded files. I am using the same example given here https://github.com/Genbox/VirusTotal.NET
VirusTotal virusTotal = new VirusTotal("YOUR API KEY HERE");
//Use HTTPS…
user10606387
3
votes
3 answers
Unknown code in webpages
Im finding unknown code in our live webpages.
We also noticed couple of websites hosted on our shared web hosting space are mysteriously getting deleted.
The unknown code we found is displayedd below in image format. Kindly update us what kind of…

Vikram
- 817
- 4
- 22
- 34
3
votes
2 answers
ClamAV and Python
I would like to write a small commandline scanner using ClamAV and Python. I have tried several tutorials and instructions on this matter, but have been unable to get this working. Everything I have read says I need ClamAV, Clamd and Python…

Zac Brown
- 5,905
- 19
- 59
- 107
3
votes
4 answers
Google blocked my site: all *.js files infected. How to find a process that infects my JavaScript code?
I have a site, online shop.
A few days ago my antivirus began to issue warnings that some of the *.js files are infected.
I looked at this infected files and found that the following code appended at the end (showed only part of it):
/*! jQuery…
user1134181
3
votes
1 answer
Can a virus scan close a java TCP socket connection?
I have a java 1.6 "client" running on a managed windows 2008 server. When the "client" starts up it connects to an external machine using:
socket = new Socket(host, port);
This socket connection has been closing on a weekly basis with the added…

gjrwebber
- 2,658
- 2
- 22
- 26
3
votes
4 answers
Virus scan for files being uploaded to Sitecore
Are there any best practices on virus scanning all files being uploaded to the Sitecore media library (and ultimately stored in Sitecore's DB)?
I searched all over the web but there is too much noise caused by the word virus since many people seem…

Francesco Gallarotti
- 1,221
- 1
- 16
- 39
3
votes
1 answer
How to configure PHP to automatically scan uploaded files with `clamscan`?
I have an idea that will make all Linux servers running PHP more secure.
I want to configure php.ini File Uploads to scan any new file upload with ClamAV's clamscan.
Is it possible? How should I configure it?

Michael Atef
- 93
- 1
- 10
2
votes
2 answers
Subversion: Get ip-address of user in pre-commit hook?
We're hosting a subversion repository for distrubuted software development. So non-employees have access to some of our sorce code. Our company's IT security policy requires us to virusscan all files uploaded from outside of our corporate intranet.…

ChrisK
- 315
- 4
- 15
2
votes
1 answer
Cannot find a differ supporting object '[object Object]' of type 'object'. --> VirusTotal JSON to Display in a Table
I'm trying to parse data from VirusTotal JSON to Display in a Table.But i'm unable to use ngfor
scan(file) {
this.http.get("api/Scanner/").subscribe(result => {
this.value = result;
console.log(this.value.scans);
});
}
In…

techno
- 6,100
- 16
- 86
- 192
2
votes
1 answer
Is there any way to determine if a program uses a specific Windows API functions?
Ok, it may be a bit difficult to explain:
Suppose someone creates a Windows application (using C# or any other language) that uses the GetDesktopWindow() function on the user32.dll to capture a Screenshot and then sends this image to any online…

Daniel Ribeiro
- 498
- 1
- 4
- 15
2
votes
1 answer
VirusTotal Uploaded File is Zero Bytes
I'm trying to upload a file to VirusTotal using .Net Core.But the uploaded file size is Zero Bytes.Why does this happen?
[Route("api/[controller]")]
public class ScannerController : Controller
{ [HttpGet]
public async…

techno
- 6,100
- 16
- 86
- 192
2
votes
0 answers
JavaScript Malware Scanning Detected BitCoin Mining on flatmap-stream v0.1.1
Not sure if this is related to this forum, please try to assist.
I have a website running in production. The customer run a virus scanning using VirusTotal and found a Virus on flatmap-stream NodeJS module which is a dependent of nodemon@1.18.4…

user829174
- 6,132
- 24
- 75
- 125
2
votes
0 answers
As a file hosting provider, how do you prevent phishing?
We develop a service much like Dropbox or Google Drive or S3 where our customers can host their files and get direct links to them with our domain, e.g. www.ourservice.com/customer_site/path/to/file.
Recently we started receiving emails from our…

Scadge
- 9,380
- 3
- 30
- 39
2
votes
1 answer
Hexadecimal virus signatures database
Over the past couple of weeks, I was in the process of developing a simple virus scanner. It works great but my question is does anybody know where I can get a database (a single file) that contains 8000 or more virus signatures WITH their names,…

Seif Shawkat
- 237
- 2
- 15