Skip to main content

Worm:W32/Hairy.A

Classification

Category:

Malware

Type:

Worm

Aliases:

  • Virus.Win32.AutoRun.dv

Summary

This malware was written in AutoIt scripting. It uses an icon of MS Winword.

Removal

Technical Details

Upon execution, it creates a file HarryPotter-TheDeathlyHallows.doc that has the following text and opens it using MS Winword:

  • --- Harry Potter is dead. ---

It creates the folder C:\WINDOWS\Cache and copies itself as HarryPotter-TheDeathlyHallows.exe to the said folder. This file will be copied from drives C to J if present. It will also be copied to the folder C:\Documents and Settings\All Users\Desktop.

This malware creates a file named harry potter.txt which contains the following text:

  • --- Harry Potter is a dumb kid,so is Daniel . Ron Weasley is ugly but who cares . Hermione is pretty and exploited but who cares? . Dumbledore is old and haggard but who cares? . JK Rowling was an ex-witch but who cares, betcha didnt know. . All we care is that...... . Harry Potter is gonna die! . Okay, you can now get yourself a copy of the dumb Harry Potter book. ---

It also creates autorun.inf which will be copied to file which has the following data. This file be copied from drives C to J if present.

  • [Autorun] open=HarryPotter-TheDeathlyHallows.exe e shellexecute=HarryPotter-TheDeathlyHallows.exe e shell\Auto\command=HarryPotter-TheDeathlyHallows.exe e shell=Auto

After running itself, it will force restarting the infected machine.

Payload One

It deletes all existing scheduled tasks by rendering the following command:

  • AT /delete /yes

Note: AT is the command-line for task scheduler.

It attempts to create the following tasks but due to some instability of the code, it might not create them all:

  • AT 8:30 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 9:00 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 10:30 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 11:00 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 12:30 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 13:00 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 14:30 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 16:30 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.ex AT 17:00 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 18:30 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe AT 19:00 /every:M,T,W,TH,F,S,SU C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe

Note: This means that the file C:\WINDOWS\Cache\HarryPotter-TheDeathlyHallows.exe will be run everyday at the specified time.

Payload Two

It changes the Windows Product Owner and Product ID causing Windows Genuine Advantage validation to be triggered. There then no longer appears to be a valid Windows Operating System. This is done by modifying the following registry keys:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion RegisteredOwner = "Harry Potter"
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion ProductId = "HARRY-POT-TERHATE-SYOU1")

Note: To check this, you can press WindowsLogo key + Pause/Break key

Payload Three

It changes Internet Explorer's Window Title to 'JK Rowling Owns You'. It changes the start page as well.

Payload Four

It disables/hides the following System tools:

  • Task Manager
  • Registry Editor
  • Folder Options
  • Windows File search
  • Right-Click or Context Menu
  • System Tray
  • System Clock
  • Windows Firewall

Payload Five

It creates the following users:

  • Harry-Potter
  • Ron-Weasley
  • Hermione-Granger

Payload Six

It runs a batch file on every start of the infected machine that displays the following message:

This batch file is saved at C:\WINDOWS\Tempt\talk.bat. It creates the following registry key so that in every machine start up this batch will be executed:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run talk =C:\WINDOWS\Tempt\talk.bat

Protect your devices from malware with F‑Secure Total

Protecting your devices from malicious software is essential for maintaining online security. F‑Secure Total makes this easy, helping you to secure your devices in a brilliantly simple way.

  • Award‑winning antivirus and malware protection

  • Online browsing, banking, and shopping protection

  • 24/7 online identity and data breach monitoring

  • Unlimited VPN service to safe­guard your privacy

  • Password manager with private data protection

Choose how many devices you want to protect to get started.

  • Free customer support

  • Cancel anytime

  • The trial does not obligate you to buy the product

After 30 days your subscription will renew automatically for one year at €69.99.

More Support

Community

Ask questions in our Community.

User guides

Check the user guide for instructions.

Contact Support

Chat with with or call an agent.

Submit a Sample

Submit a file or URL for analysis.