The Art of Computer Virus is undeniably part of the latter category. Without going into details as far as the works of Mark and Eric Filiol Ludwig, the author sincerely done (the author is employed by a major publisher of anrivirus) of the subject.
Read to get his own idea and enrich their technical knowledge on the issue.