Threat Description

Virus: ​W32/Small.AJ

Details

Category: Malware
Type: Virus
Platform: W32
Aliases: Virus.Win32.Small.aj

Summary


Virus:W32/Small.AJ is a simple partially encrypted appending parasitic file infector. The virus does not have any other payload in addition to spreading itself.



Removal


Automatic action

Once detected, the F-Secure security product will automatically disinfect the suspect file by either deleting it or renaming it.

More scanning & removal options

More information on scanning or removal options is available in the documentation for your F-Secure security product on the Downloads section of our Home - Global site.

You may also refer to the Knowledge Base on the F-Secure Community site for more information.

Contact Support

For further assistance, F-Secure customers can request support online via the Request support or the Chat forms on our Home - Global site.



Technical Details


Infection

Virus:W32/Small.AJ infects Windows PE-files (Portable Executable) with .EXE extensions.The virus skips folders starting with the letters "SYST". The purpose of this is in all likelihood to avoid infecting Windows system files in folders such as C:\Windows\System32.Small.AJ appends itself to the last section of the infected host file. To ensure its execution, the virus patches the header of the file to have the address of entry point start the infected file's execution from the first instruction of the virus.The virus changes the size of the last section as well as the total size of the executable image to match the slight increase in size. The characteristics of the last section are altered to make it writable.To ensure each file is infected just once, an infection marker (_757) is added to an unused part in the file headers. Due to the way the virus checks the size of the last section of the host file, the virus in some cases ends up overwriting a part of the host file instead of appending to it.The virus also preserves the last modification date of the infected files in an attempt to better hide the infection.The actual file-infecting part of the virus body is executed as a separate thread to be run simultaneously with the host to prevent a long delay before the actual host file is executed. The virus does not stay memory resident, the malicious thread exits once it has traversed through logical drives and infected all as of yet uninfected files.The total size of the virus is 1277 bytes, of which 733 are encrypted with a simple XOR-encryption using the same key for every infection.

Payload

The code of the virus indicates that its sole purpose is simply to spread itself. However, due to an oversight in the code there is often likely to be collateral damage when the virus overwrites part of a host file. Overwritten files have a slightly unorthodox file structure. Such overwritten files will usually fail to run.





Description Created: 2008-05-12 12:44:33.0

Description Last Modified: 2008-05-12 17:58:12.0


SUBMIT A SAMPLE

Suspect a file or URL was wrongly detected? Submit a sample to our Labs for analysis

Submit Now

Give And Get Advice

Give advice. Get advice. Share the knowledge on our free discussion forum.

Learn More