http://www.developer.com/java/j2me/article.php/3322931/Malware-Is-Your-Workstation-at-Risk-Part-2.htm
In Part 1 of this article: In Part 2, using one of the possible 'infection' methods, I will explain how different types of Malware (Virus, Worms, Trojans, Backdoors, and RootKits) work and what a malicious attacker could do to you (Source-Code poisoning). Malware is the name commonly used to describe any kind of Malicious Software. It is any piece of code that was designed with malicious intent in mind. The most famous types of Malware are: For example, in an infected machine, although the RootKit program is active and running in its own process, the 'Task Manager' won't show it because 'Task Manager' relies on Windows Kernel functions to retrieve the list of running Processes (that can be changed so that the results won't include the RootKit's own process). For an extended and well-presented explanation of these Malware programs, I strongly recommend the Ed Skoudis book Malware: Fighting Malicious Code (ISBN: 0-13-101405-6). There are several ways in which these Malware programs can be propagated: In my example, your machine is attacked by a V.W.T.B.R.M. (Virus.Worm.Trojan.Backdoor.RootKit.Malware) program. The original infection occurs through an e-mail attachment sent to your company's sales department (although, as you read in Part 1, there are other available paths to 'Infection'). This scenario starts in the malicious attacker's Development Labs, where he/she and his team are working on their latest V.W.T.B.R.M. program. These malicious attackers are not kids and should not be ignored. They are organized criminals whose aim is to gain access to sensitive servers (located inside corporate networks) to steal information and blackmail their owners. They are professionals (in their field). Have no scruples, are well financed and have patience (i.e. time is on their side). So their V.W.T.B.R.M. will not: Basically, their V.W.T.B.R.M. will be hyper-stealthy and very hard to detect. Once completed, fully tested, and QAed (Quality Assuranced), the V.W.T.B.R.M. is ready for deployment. To gain access to sensitive internal networks and be virtually undetected, the malicious attackers perform an indirect strike. They attack software development houses that create software for the targeted companies. They don't really have a particular software development house in mind and the first wave will be a wide hit aimed at finding vulnerable companies. Research on the Internet reveals hundreds of software development companies; a personalized e-mail is sent to each of them. Example of e-mail sent: From: Name.X@_Credible_looking_URL.com Dear Company X Sales team: I'm acting on behalf of our client (international corporation), which is looking for a software development house such as yours to outsource their current Internet/Intranet/Extranet project. {... more details about the project (which will be created based around Company X's strengths) ...} {... explain why they are contacting company X ...} {... final comment saying how impressed they were with Company X's portfolio and experience in creating similar solutions ...} Please find attached a zip file (called "Request_For_Proposal.exe") that contains a PowerPoint presentation about the project (Project.ppt) and a Request for Proposal Word document (RfP.doc) that you will need to use as the template for your response. Best regards Name.X At Company_X, all e-mails from Sales@Company_X.com go directly to the sales department. They (pressured by management to meet their quarterly or monthly targets) can't believe their luck and eagerly opens the attachment and start working on the requested proposal. What the sales staff didn't notice (and neither did their anti-virus software) was that the attached zip file (the Request_for_Proposal.exe file) was a TROJAN (i.e. it was the V.W.T.B.R.M. program). The file contained: So, the V.W.T.B.R.M. Malware is executed. The Sales staff don't notice the 'infection' and spend the rest of the day working on the fictitious proposal. (From the malicious attacker's point of view, it is very important that the attack goes un-noticed.) The V.W.T.B.R.M. program (i.e. the VIRUS), once executed, does the following: And so it happens that one of the vulnerable machines is YOUR development workstation: Having sent the e-mails with the V.W.T.B.R.M. program, the malicious attackers are now waiting for the responses. And, sure enough, eventually YOUR computer is 'calling home', by contacting the 'listening server' (which is another previously compromised machine located somewhere on the Internet) asking for orders. The BACKDOOR installed in YOUR computer provides the malicious attackers with a command prompt shell with Administrative rights. This shell will be used to: The malicious attackers will, now patiently, wait for your development cycle to finish and for your product to be shipped to your clients, which will install them in their servers located inside their corporate network. Because your company doesn't provide the source code of your software, it will be almost impossible for your clients to detect the BACKDOOR included. Once the program is executed in your client's servers, the BACKDOOR is activated and your client will be involved in a serious security incident that could be very expensive and damaging. And once the authorities get involved, guess where the forensic evidence will point to: Your Company, Your Computer, and ultimately YOU! Recapping the different types of Malware used in this example: If your company has a good security infrastructure and is well prepared to mitigate these stealth attacks, you are correct. But... if your company's IT security is not able to detect and block the attacks described in this article, the question will be WHEN and not IF. Today, most System Administrators and IT Security staff don't have programming backgrounds. They are not able to write scripts that, for example, automate security tests and detect possible intrusions. If you are interested in learning about security and dedicate enough time to that endeavour, you could make a real difference in your company's security infrastructure (and your value as a IT professional will increase dramatically). Now is the time to make the jump and add 'IT Security Knowledge' to your skills set and CV. Learn how Malware works and you will be able to write Anti-Malware scripts and applications for your projects and for your company. Dinis Cruz is an experienced security consultant based in London (UK) and specialized in ASP.NET Application Security, Active Directory Deployments, and Ethical Hacking. Dinis is also the creator and main developer of the OWASP's Open Source project: ASP.NET Security Analyser (ANSA). You can contact him at Dinis.developer.com@ddplus.net.
Malware: Is Your Workstation at Risk? Part 2
March 9, 2004
Malware Definitions
A V.W.T.B.R.M. (Virus.Worm.Trojan.Backdoor.RootKit.Malware)
The Development lab
The innocent RfP (Request for Proposal)
To: Sales@Company_X.com
Subject: Request for Proposal (RfP)
Message:
Credible_looking_Company name
Credible_looking_Company.URL
Back at the Malicious Attackers' HQ
Waiting for the Jackpot
V.W.T.B.R.M. in a Nutshell
Nahh.... It Could Never Happen to Me
About the Author