How Can We Check Is our site has virus or not. Firstly our site will be slow down automatically if it is attacked by virus or some other activities also may showing that your site has been attacked by a virus.
so spamy links showing in your site so its also another case of virus attack

check this site it has a virus attack and I repaired this site and now its all right ...

Dani AI

Generated

Short, practical triage first: the symptoms you described (slow site, spammy links) can be caused by injected spam/redirect code, server-side backdoors, or an unrelated traffic problem such as a DDoS. Do not open suspicious pages in your browser — use Search Console (or curl/wget) to fetch example URLs and to see Google’s “Security issues” samples before you touch files. ()

Use an external scanner as a quick first look (many people use Sucuri SiteCheck), but treat those results as preliminary — remote scanners miss cloaked or server-only backdoors. Combine remote scans with server-side inspection and host logs for a real diagnosis. As and suggested, scanning helps, but it’s only one piece of the puzzle; as noted, logs and a professional review are often necessary. (techradar.com)

Quick server-side checks to run (preserve a full backup + copy of logs first):

# fetch page as Google would
curl -v --referer "https://www.google.com" --user-agent "Mozilla/5.0" "https://example.com/suspect-page"

# look for common obfuscation / dangerous functions
grep -R -n -E "eval|base64_decode|gzinflate|str_rot13|preg_replace\\('/e'|system|shell_exec|passthru|proc_open|popen" .

# find recent or unexpected files
find . -type f -mtime -7 -ls

# diff against a known-good backup
diff -qr /var/www/html /path/to/clean-backup

Those patterns and workflow are common indicators of web shells, injected PHP/JS and hidden redirects; also check .htaccess, cron jobs, new admin users and unexpected POST targets. (web.dev)

Immediate next steps: put the site into maintenance mode (or take it offline), snapshot files and logs, rotate all credentials (hosting, FTP, DB, CMS), update core/plugins/themes, remove or replace infected files from a clean backup, and then request a Google review once clean. If the site is merely slow you should also check for DDoS/traffic spikes via your host or CDN (Cloudflare provides guidance on distinguishing DDoS from malware). If unsure, follow ’s advice and get a forensic/security review so the attacker’s access vector is closed. (comparably.com)

Recommended Answers

All 8 Replies

You could download Trend Micro Housecall and burn a bootable CD. Boot from the CD and do a scan of your system.

Virustotal scans websites for viruses as well

Yup May be this is fine xp78 but not for all cases so its depends upon the problem.

Trend Micro Housecall suggested by jim can anyone tell me if any one use this for scanning...

hire a security consultant company for security assessment and present them with your logs, perhaps they can dig something out of them if the system is infected by malware such as communication to command and control server
However, if you want to do it yourself and you have no experience I would highly advise you to check those courses Here

If your antivirus software is telling you that a file contains a virus, you shouldn't blindly assume that you're dealing with a false positive; use that opportunity to ask yourself if you really need to install that application. If you do, make sure with VirusTotal first, make sure the download is from a reputable place, and then make that judgment call on your own.

by cheking firewall option in antiviras API.

it can be get DDOS attack, if yur site going slow down. it's not virus

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.