Softpanorama

May the source be with you, but remember the KISS principle ;-)
Contents Bulletin Scripting in shell and Perl Network troubleshooting History Humor

Malware Defense History

by Dr. Nikolai Bezroukov.

Copyright: Dr. Nikolai Bezroukov 1994-2013. Unpublished notes. Version 0.80.October, 2013

Contents : Foreword : Ch01 : Ch02 : Ch03  : Ch04 : Ch05 : Ch06 : Ch07 : Ch08 : Ch09 : Ch10 : Ch11 : Ch12 : Ch13


Chapter 6: Mail Worms

Hybris(hahaha, sexyfun): A Stealth Worm With Plug-ins

This virus/worm exists in several forms.

The oldest initial version is distributed as an attachment's) to the following e-mail message (can be in Spanish too): 

From: Hahaha <hahaha@sexyfun.net>
Subject: Snowhite and the Seven Dwarfs - The REAL story!

Today, Snowhite was turning 18. The 7 Dwarfs always where very educated and
polite with Snowhite. When they go out work at mornign, they promissed a
*huge* surprise. Snowhite was anxious. Suddlently, the door open, and the Seven
Dwarfs enter...

The email will have one of several files attached looking like porno stuff.  The names joker.exe, sexy virgin.scr, midgits.scr, and dwarfs4me.exe are the most common (A lot of other filenames can be generated but are less common). 

Newer version of the virus tried to reply to the messages send to a particular mailbox. somethign this is really funny. Below is the message that virus send in resonce to the authomatic notification about virus infection by antivirus software. The deleted attachment has name Me_nude.AVI.pif

'Nikolai N Bezroukov' wrote: ==== -

-

- Due to the virus threat the delivery of the "executable" attachment

that you

- send to was blocked (see below).

- BASF users should comply with the policy BC003.

- Distribution of pirated software, obscene or defamatory attachments is

- prohibited.

- If the attachment is for business purposes please use WinZip or rename

the file

- by adding OK to the extension

- (for example, setup.okexe instead of setup.exe, but not setup.ok.exe or

- setupok.exe) and res ...'

> Take a look to the attachment.

 Attachment  Me_nude.AVI.pif

Date: 10/8/2001 23:8:24

Event: (File Type Blocking)

File: Me_nude.AVI.pif

Action: quarantine

Attachment does not contain any read file: it's just the virus executable code.  It has been spreading since Sept. 2001 all over the world. AV researchers suspect that Hybris was written in Brazil and is related to Babylonia -- the first of its kind in 1999. First discovered by Russian developers at Kaspersky Labs (Cambridge, U.K.) as having originated in South America, the Hybris worm start spreading in Sept 2000 and in the second half of  2001 is still one of the most common e-mail worm.

If the file is opened the virus will infect an unprotected computer, it will find all the email addresses on the computer to create a list, then it will send the same message, as above, to all the addresses in the list.  Upon execution, this worm can patch the WSOCK32.DLL file so that it can attach itself to email sent out from the infected computer. Once the worm patches the WSOCK32.DLL, it can monitor Internet activity, including the sending and receiving of email.  

That means that a user PC could be sending infected emails without the user knowledge.  All e-mails have face "From" address hahaha@sexyfun.net instead of real user e-mail address, so recipients won't see the infected machine return e-mail address so they won't know it came from this particular user.

This virus only affects computers running Windows. It will not infect any other operating systems like MacOS or Linux at this time. Those users using those operating systems that aren't affected can still receive the infected and those annoying messages, but will not be infected themselves and they won't infect others.

for the home users it's important to have some antivirus program installed (Norton Utilities are really cheap now and in addition to antivirus contain a lot of useful things like Disk Optimizer, etc.)

This virus has complex plug-in architecture and can mutate so not all strains can be detected on the e-mail gateway and users still can get them in thier mailboxes. While it currently carries a non-destructive payload, it has complex plug-in architecture that might be used to turn it into a destructive worm.

The true originality of Hybris -- and possibly its true danger -- lies in its plug-in architecture. Using a new architecture, the worm can connect to either the alt.comp.virus Usenet newsgroup or to a series of Web sites, and transparently download its own updates similar to Trojan horse programs. One effect of this self-upgrading model is that the worm's signature -- the appearance it presents to anti-virus programs -- can be altered in unpredictable ways, defeating anti-virus products that may only be able to detect its previously known signatures. And not only is Hybris' payload self-upgrading, but its own binary core components are, too, leaving no single element of the worm persistently traceable.

"What we have here is perhaps the most complex and refined malicious code in the history of virus writing," said Eugene Kaspersky, Head of Kaspersky Labs' Anti-Virus Research Center, in a statement on the company's site. "It is defined by an extremely complex style of programming and all the plugins are encrypted with very strong RSA 128-bit crypto-algorithm key. The components themselves give the virus writer the possibility to modify his creation 'in real time,' and in fact allow him to control infected computers worldwide."

"The architecture of the plug-in approach is interesting, and it makes it possible for a programmer to turn it into a dangerous virus. New threats like this are going to promote changes in the work to fight viruses. These kinds of threats are an evolutionary pressure on AV technology."

In its original version, Hybris distributed itself as an e-mail attachment; however, recent reports indicate that it can also distribute itself using ICQ, an instant messaging platform used by over 30 million people. The worm infects the Windows Internet sockets library file WSOCK32.DLL, enabling it to control users' Internet connections and intercept e-mail addresses of incoming messages using a method similar to that employed by the MTX virus. Once it has obtained an address, Hybris automatically sends itself to the next computer.

Surprisingly, Hybris can also modify the WSOCK32.DLL even if it has been write-protected. In such a case, Hybris makes a copy of WSOCK32.DLL, infects that copy, and then writes the name of the infected copy in the WIN.INI initialization file. The next time Windows is rebooted, the system recognizes the infected library rather than WSOCK32.DLL. The worm ensures its persistence by making a copy of itself with a random name, then writing an entry pointing to this copy in the Windows System Registry -- specifically in the Run_Once Registry key. This way, Hybris can recopy itself even if its original copy is erased.

To date, all the plug-ins observed in the virus newsgroups have utilized a strong encryption algorithm.

So even though they're being posted out in the open, it isn't clear what these plug-ins will do until after it's been done. The following behavior, however, is known: One of Hybris' components searches local hard drives for .ZIP and .RAR archive files. When it finds one, Hybris searches inside that file for an .EXE filename. It then renames that file with an .EX$ extension, and then adds a copy of itself to the archive using the .EXE filename.

Another Hybris component actually uploads infected files from users' hard drives to the alt.comp.virus newsgroup. This same component also grabs e-mail addresses from the headers of messages posted to newsgroups to which the user subscribes, and sends copies of itself to those e-mail addresses as attachments. Over the past few weeks, this seems to have increasingly become the way by which the worm is propagating.

The only observed, known danger attributed to Hybris is a payload component which, on the 24th of September of any year, or at one minute before the hour during any day in the year 2001, displays a large animated spiral in the middle of the screen that is difficult to close.

At the same time the plug-ins can't work without the base executable and most AV programs are able to detect the base executable file. The morphing nature of the virus could spawn several new versions.


Webliography

Antivirus vendors

Symantec
Update Page
Write-up
AVP
Update Page
Write-up
F-Prot
Update Page
Write-up
McAfee
Update Page
*Write-up
PC-Cillin
Update Page
Write-up
Sophos
Update Page
Write-up

 

SANS Institute Paper on Hybris Virus

Hybris – Stealth Worm and Trojan with Plug-ins

W95.Hybris Virus AKA Snow White and The Seven Dwarfs


Etc

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit exclusivly for research and educational purposes.   If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner. 

ABUSE: IPs or network segments from which we detect a stream of probes might be blocked for no less then 90 days. Multiple types of probes increase this period.  

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least


Copyright © 1996-2016 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License.

The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

Last modified: May 08, 2017