1. A method for treatment of malicious objects on a computer, the method comprising: performing, by an antivirus software executable by a hardware processor, an antivirus scan of a first plurality of objects associated with the operating system of the computer and a second plurality of objects requiring separate corresponding drivers to access; detecting, by the antivirus software, a malicious object on the computer; formulating at least one task for treatment of the detected malicious object; configuring and activating on the computer an antivirus driver of the antivirus software to execute the at least one formulated task for treatment of the detected malicious object; before rebooting the computer, checking an integrity of the at least one task by using another driver; rebooting the computer by the antivirus software; upon detecting a modification of the at least one task by the detected malicious object, restoring the at least one task by using the another driver; and loading the antivirus driver to execute the at least one task for treatment of the detected malicious object.