How to quarantine or delete infected files with ClamAV?
I scanned the home directory using ClamAV which found 13 threats.
The list was also displayed, but when I tried to delete or quarantine files, it did not proceed. Any ideas?
security antivirus clamav
add a comment |
I scanned the home directory using ClamAV which found 13 threats.
The list was also displayed, but when I tried to delete or quarantine files, it did not proceed. Any ideas?
security antivirus clamav
Can you please post a list with the files that Clamav (which searches for windows threats) assumed as threats?
– hytromo
Aug 3 '12 at 7:51
the next time scanning revealed no threats, hence i am not able to show you the threats, sorry.
– Sivamani
Aug 3 '12 at 10:55
however i dont know hoe to scn the pendrive or other devices?
– Sivamani
Aug 3 '12 at 10:56
add a comment |
I scanned the home directory using ClamAV which found 13 threats.
The list was also displayed, but when I tried to delete or quarantine files, it did not proceed. Any ideas?
security antivirus clamav
I scanned the home directory using ClamAV which found 13 threats.
The list was also displayed, but when I tried to delete or quarantine files, it did not proceed. Any ideas?
security antivirus clamav
security antivirus clamav
edited Aug 24 '16 at 19:42
karel
56.9k11127146
56.9k11127146
asked Aug 3 '12 at 7:36
Sivamani
91225
91225
Can you please post a list with the files that Clamav (which searches for windows threats) assumed as threats?
– hytromo
Aug 3 '12 at 7:51
the next time scanning revealed no threats, hence i am not able to show you the threats, sorry.
– Sivamani
Aug 3 '12 at 10:55
however i dont know hoe to scn the pendrive or other devices?
– Sivamani
Aug 3 '12 at 10:56
add a comment |
Can you please post a list with the files that Clamav (which searches for windows threats) assumed as threats?
– hytromo
Aug 3 '12 at 7:51
the next time scanning revealed no threats, hence i am not able to show you the threats, sorry.
– Sivamani
Aug 3 '12 at 10:55
however i dont know hoe to scn the pendrive or other devices?
– Sivamani
Aug 3 '12 at 10:56
Can you please post a list with the files that Clamav (which searches for windows threats) assumed as threats?
– hytromo
Aug 3 '12 at 7:51
Can you please post a list with the files that Clamav (which searches for windows threats) assumed as threats?
– hytromo
Aug 3 '12 at 7:51
the next time scanning revealed no threats, hence i am not able to show you the threats, sorry.
– Sivamani
Aug 3 '12 at 10:55
the next time scanning revealed no threats, hence i am not able to show you the threats, sorry.
– Sivamani
Aug 3 '12 at 10:55
however i dont know hoe to scn the pendrive or other devices?
– Sivamani
Aug 3 '12 at 10:56
however i dont know hoe to scn the pendrive or other devices?
– Sivamani
Aug 3 '12 at 10:56
add a comment |
2 Answers
2
active
oldest
votes
You can use clamscan
with the option --remove
to automatically remove all infected file in the scanned folder. WARNING: Files are gone.
clamscan -r --remove /home/USER
Another possibility is to move the infected files to another folder with the option --move=FOLDER
, so you can later check which files of them maybe not infected or a virus.
clamscan -r --move=/home/USER/VIRUS /home/USER
See: How do I scan for viruses with ClamAV?
add a comment |
Once the scan is finished, a window should pop up listing the threats. You have to actively select (click on) each threat you want deleted, then click on the delete or quarantine buttons. Simply clicking "delete" without selecting a file will do nothing, which is what you've run into. To select all, click on the top file, scroll to the bottom of the list, and shift-click on the last file. Then clicking quarantine or delete will process everything found. You will get confirmation windows popping up for deleting certain things like .pdf files.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f171441%2fhow-to-quarantine-or-delete-infected-files-with-clamav%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use clamscan
with the option --remove
to automatically remove all infected file in the scanned folder. WARNING: Files are gone.
clamscan -r --remove /home/USER
Another possibility is to move the infected files to another folder with the option --move=FOLDER
, so you can later check which files of them maybe not infected or a virus.
clamscan -r --move=/home/USER/VIRUS /home/USER
See: How do I scan for viruses with ClamAV?
add a comment |
You can use clamscan
with the option --remove
to automatically remove all infected file in the scanned folder. WARNING: Files are gone.
clamscan -r --remove /home/USER
Another possibility is to move the infected files to another folder with the option --move=FOLDER
, so you can later check which files of them maybe not infected or a virus.
clamscan -r --move=/home/USER/VIRUS /home/USER
See: How do I scan for viruses with ClamAV?
add a comment |
You can use clamscan
with the option --remove
to automatically remove all infected file in the scanned folder. WARNING: Files are gone.
clamscan -r --remove /home/USER
Another possibility is to move the infected files to another folder with the option --move=FOLDER
, so you can later check which files of them maybe not infected or a virus.
clamscan -r --move=/home/USER/VIRUS /home/USER
See: How do I scan for viruses with ClamAV?
You can use clamscan
with the option --remove
to automatically remove all infected file in the scanned folder. WARNING: Files are gone.
clamscan -r --remove /home/USER
Another possibility is to move the infected files to another folder with the option --move=FOLDER
, so you can later check which files of them maybe not infected or a virus.
clamscan -r --move=/home/USER/VIRUS /home/USER
See: How do I scan for viruses with ClamAV?
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Feb 1 '13 at 16:53
BuZZ-dEE
9,085115169
9,085115169
add a comment |
add a comment |
Once the scan is finished, a window should pop up listing the threats. You have to actively select (click on) each threat you want deleted, then click on the delete or quarantine buttons. Simply clicking "delete" without selecting a file will do nothing, which is what you've run into. To select all, click on the top file, scroll to the bottom of the list, and shift-click on the last file. Then clicking quarantine or delete will process everything found. You will get confirmation windows popping up for deleting certain things like .pdf files.
add a comment |
Once the scan is finished, a window should pop up listing the threats. You have to actively select (click on) each threat you want deleted, then click on the delete or quarantine buttons. Simply clicking "delete" without selecting a file will do nothing, which is what you've run into. To select all, click on the top file, scroll to the bottom of the list, and shift-click on the last file. Then clicking quarantine or delete will process everything found. You will get confirmation windows popping up for deleting certain things like .pdf files.
add a comment |
Once the scan is finished, a window should pop up listing the threats. You have to actively select (click on) each threat you want deleted, then click on the delete or quarantine buttons. Simply clicking "delete" without selecting a file will do nothing, which is what you've run into. To select all, click on the top file, scroll to the bottom of the list, and shift-click on the last file. Then clicking quarantine or delete will process everything found. You will get confirmation windows popping up for deleting certain things like .pdf files.
Once the scan is finished, a window should pop up listing the threats. You have to actively select (click on) each threat you want deleted, then click on the delete or quarantine buttons. Simply clicking "delete" without selecting a file will do nothing, which is what you've run into. To select all, click on the top file, scroll to the bottom of the list, and shift-click on the last file. Then clicking quarantine or delete will process everything found. You will get confirmation windows popping up for deleting certain things like .pdf files.
answered Mar 18 '16 at 12:26
Lacie Thayer
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f171441%2fhow-to-quarantine-or-delete-infected-files-with-clamav%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you please post a list with the files that Clamav (which searches for windows threats) assumed as threats?
– hytromo
Aug 3 '12 at 7:51
the next time scanning revealed no threats, hence i am not able to show you the threats, sorry.
– Sivamani
Aug 3 '12 at 10:55
however i dont know hoe to scn the pendrive or other devices?
– Sivamani
Aug 3 '12 at 10:56