In that case, it probably is not a virus. It is probably malware.
Nowadays these are practically synonyms,
No, they aren't.
In that case, it probably is not a virus. It is
and antiviruses detect both.
Anti-virus software may try to detect some malware, but it would be impossible for it to detect all malware.