Tuesday, April 5, 2011

Virus & Antivirus in Linux



Part 1:

All windows users would have heard about computer virus and anti-virus software’s and the first thing they do is install a anti-virus software in their computer. Often, the buzz in the Windows security world is about which protection-for-profit firm was the first to discover and offer protection for the malwares.


If a rogue program gets in your windows machine, the time and money you have to invest to remove those malwares not only helps to reinforce the notion that you have to have malware protection, but that it has to be the right protection, too. The security firms are aware of this and they play on hte security fears of the end-user in their advertising. The huge amount of malware available for windows and the way windows user permissions works has conditioned Windows users to accept this security tax.


It is no wonder when Windows users who are finally convinced to try Linux are in disbelief when I tell them to lay that burden down. The first question they all ask is whether Linux is virus proof and is it true that it doesn't need an Anti-virus software? My answer to that question is no. Linux is not virus proof, but the way user permission are played out and considering the number of malwares available for Linux, the role played by the Anti-virus software is negligible and downplayed in a Linux environment.


User permission on Linux

Linux implements a multi-user environment where users are granted specific privileges, due to this, to gain control over a Linux system or cause any serious damages to the system itself, the malware would have to gain root access to the system. To be clear just remember permissions on Linux are universal. They cover three things you can do with files: read, write, and execute. Not only that, they come in three levels: for the root user, for the individual user who is signed in, and for the rest of the world. By default system files can only be accessed as root user, while a normal user can have permission to read, write and execute his files alone and others can access or read the users file only if the user have given permission for them to do so. Normally in a Linux environment no user is given root permission to access system files. Because of this a malware needs root permission to have an impact on the system as a whole.


Virus in Linux environment

No, virus are environment dependent and they have limited life time. Like any biological entity, a computer virus needs to spread(reproduce) before it dies to successfully cause an outbreak. Due to the hostile nature in Linux, a virus life is short and dies before it can cause any significant damages. Also due to the difference between the binary/executable files between Windows and Linux, Windows virus has no impact on a Linux machine, and virus writers have to spend significant amount of time to create a Linux virus that can survive the hostile environment of Linux. Because of this only a couple hundred of Linux viruses are in the open (Windows has over a million malwares) and those available too have problems in taking control of an entire system.


Some malware programs require that you open an attachment. Others don't even require that user error. On Linux, there is built-in protection against such craft. Newly deposited files from your email client or Web browser are not given execute privileges. Cleverly renaming executable files as something else doesn't matter, because Linux and its applications don't depend on file extensions to identify the properties of a file, so they won't mistakenly execute malware as they interact with it. Due to this only users who tries to execute all the programs as root are those who likely get a malware to control the system. But fortunately most of the Linux users are either geeks who know what they are doing or those who even don't know how to execute a program as root. This also makes Linux a place for a virus.


Another thing to note is the software repositories used by Linux. These repositories contain all the software’s that can run in Linux and are maintained by Open Source communities and are often checked thoroughly for malware. Also most of the Linux programs or software’s are available as open-source, meaning the source code is available and the executable can be compiled and installed, thus further reducing any chance of malware.


So, is Linux virus proof?



No. But the number of viruses and the damage they can make are insignificant. Linux users, like users on every operating system, must always be aware of security issues. They must act intelligently to keep their systems safe and secure. They should not run programs with root privileges when they are not required, and they should apply security patches regularly.

Part 2: Types of Malware and how they can infect you

In the previous article we discussed about how virus has a hard time in Linux OS due to its permission system. In this article we will see the different malwares available for Linux and how they affect your system and conclude our two part article on Virus & Anti-virus in Linux.

Viruses and Trojan horses

Although there are only few Linux viruses available, it is always best to use free anti-virus scanners (like clam anti-virus) to scan the software’s you download from unknown sources. Because if the software is infected and was run with root permission, it will infect the whole system and cause enormous damages. Basically the false sense of security among the user's mind is what allows most Linux viruses to infect your system. There are some Linux distributions that allow users login as root by default (Lindows) and falsely advertise that they are secure. But the truth is any Linux OS that allows you to login as root by default is not secure than a windows 9x operating systems.
Ignorance Is Bliss

The lack of knowledge that is seen in first time Linux users makes their system more protected than most Linux users ans they don't know how to run a program or login as root by default. These type of users usually download software’s only from Linux repositories configured by that particular distro team.

For more accustomed users who use root login and download the software from many sources must be aware, that they must try to limit the habit of running unknown programs as root and if they have to then use a free anti-virus software for Linux and scan those executable's firs before running.

Remember as long as u don't run application as root and don't install software’s from website you don't know or trust, a Linux OS is much more safer than a Windows system with an anti-virus.

Worms and targeted attacks

The classical threat to Unix-like systems is vulnerabilities in network daemons, such as ssh and WWW servers. These can be used by worms or for attacks against specific targets. As servers are patched quite quickly when a vulnerability is found, there have been only a few widespread worms of this kind. As specific targets can be attacked through a vulnerability that is not publicly known there is no guarantee that a certain installation is secure. Also servers without such vulnerabilities can be successfully attacked through weak passwords.

WWW scripts

Linux servers may also be used by malware without any attack against the system itself, where e.g. WWW content and scripts are insufficiently restricted or checked and used by malware to attack visitors. Typically a CGI script (meant for leaving comments) by mistake allows inclusion of code exploiting vulnerabilities in the browser.

Buffer overruns

Older Linux distributions were relatively sensitive to buffer overrun attacks: if the program did not care about the size of the buffer itself, the kernel provided only limited protection, allowing an attacker to execute arbitrary code under the rights of the vulnerable application under attack. Programs that gain root access even when launched by a non-root user (via the setuid bit) were particularly attractive to attack. However as of 2009 most of the kernels include address space randomization, enhanced memory protection and other extensions making such attacks much more difficult to arrange.

Cross-platform viruses

A new area of concern identified in 2007 is that of cross-platform viruses, driven by the popularity of cross-platform applications. This was brought to the forefront of malware awareness by the distribution of an Openoffice.org virus called Bad Bunny.

Social engineering

Linux is as vulnerable to malware that tricks the user into installing it through social engineering as other operating systems. In December 2009 a malicious waterfall screen-saver was discovered that contained a script that used the infected Linux PC in denial-of-service attacks.

Conclussion



As you can see most of the malwares discussed above need users permission or mistakes to take over a Linux System. And to give you an answer about is Linux is secure, yes most Linux distro's (that dont allow you to login as root )are secure than a Windows with basic antivirus software, but also remember, being secure doesn't mean bulletproof. So if your one of these people feeling secure, think about this next time you go online. There is no bigger security hole than the one between chair and computer. Always be careful on the internet, don't click on those links marked as dangerous(I know it sounds obvious), watch out with pop-ups and try to avoid running programs as root unless it is absolutely necessary.

Source:
http://www.primeinspiration.com/os/linux/security/20-virus-a-antivirus-in-linux-part-2-types-of-malware-and-how-they-can-infect-you.html
http://www.primeinspiration.com/os/linux/security/20-virus-a-antivirus-in-linux-part-2-types-of-malware-and-how-they-can-infect-you.html

Sunday, April 3, 2011

Top 5 Malware Threats of 2010




1 - STUXNET - STUXNET was the hottest topic for 2010 when it comes to malware. Reversing STUXNET uncovered 4 zero-day exploits for vulnerabilities in the Microsoft windows operating system. While it was believed to be the first known malware to target the controls at industrial facilities such as power plants, this worm has successfully infected hundreds of thousands of computers on the Internet.


Here are the 4 vulnerabilities targeted by STUXNET:

- Microsoft Security Bulletin MS10-046
- Microsoft Security Bulletin MS10-061
- Microsoft Security Bulletin MS08-067
- Microsoft Security Bulletin MS10-073

2 - TDL4 - TDL4 is the latest version of a rootkit originally known as TDSS or Tidserv, which appeared back in 2008. However, unlike its predecessors, TDL4 is able to bypass code signing protection in 64-bit versions of Windows Vista and 7. By default these systems do not allow drivers that are not digitally signed to be loaded, but TDL4 manages to get around that by changing boot options before the operating system actually starts. TDSS is one of the most complex and dangerous malicious programs family in the world and it continues to evolve.

3 - Asprox - Asprox is a small botnet that has been used in password stealing, spam propagation, and phishing attacks. This botnet based attack is innovative by interfacing with Google’s search engine to locate vulnerable web pages. When a weakness is found, Asprox injects an iFrame based redirectional link on a vulnerable website in order to spread various types of malware.

4 - ZeuS 2.0 - ZEUS Botnet is still active in 2010. This trojan steals data from infected computers via web browsers and protected storage. Once infected, the computer sends the stolen data to a bot command and control (C&C) server, where the data is stored. ZeuS is sold in the criminal underground as a kit for around $3000-4000, and is likely the one malware most utilized by criminals specializing in financial fraud.

5 - Trojan Proxies - This type of malware turns the victim’s computer into a proxy server. This gives the attacker the opportunity to remotely perform malicious activity through your computer.


source: http://vitalisec.blogspot.com/2011/01/top-5-malware-threats-of-2010.html
thks 

Tuesday, March 29, 2011

…and then, 5 minutes before midnight…

…think about what you want to do, what you really want to do, in the coming new year. About what you want to change in your life. Don’t say “I’ll try it” – say “I’ll do it”.

But if you say…

I will stop smoking…
I will stop insulting my neighbor…
I will stop speaking blasphemy…
I will stop drinking too much…


You know, this will never happen.

Go out of yourself and give for the homeless, give for the research against cancer, against leucemia…go and take a godfathership for a child in Asia, Africa, South America….

…..go and spend the half of money of last year in fireworks….and next year the half of this year…

soure: http://boxset.ru/and-then-5-minutes-before-midnight/
thanks

Sunday, March 13, 2011

CHẢY ĐI SÔNG ƠI



Ơi con sông hiền hòa, chở đầy nước ngọt phù sa
Ơi con sông thiết tha, ấp ôm bến bờ xứ sở
Sông mấy ngàn năm tuổi, miệt mài chảy mãi khôn nguôi
Chuyện bao đời sông biết cả
Mà sao vẫn trẻ mãi không già

Chảy đi sông ơi, chảy đi sông ơi
Ơi con sông trôi suốt muôn đời
Hãy cho ta gửi lời thương nhớ
Nhắn giùm ta về nơi góc biển
Rằng phía đầu nguồn ta vẫn ngóng trông
Chảy đi sông ơi, chảy đi sông ơi
Ơi con sông tiêng hát muôn đời
Hãy cho ta nói lời cay đắng
Nhắn về ai ở nơi góc biển
Rằng nỗi muộn sầu đang ngày đêm chan chứa
Ơ....
Ơi con sông hiền hòa, dịu dàng an ủi lòng ta
Ơi con sông thiết tha, chứa chan chung tình sâu nặng
Sông vỗ về đôi bờ, thì thầm ngày tháng khôn nguôi
Sông hiến mình tất cả, đời sông không hề tiếc với đầy

Chảy đi sông ơi, chảy đi sông ơi
Ơi con sông trôi suốt muôn đời
Hãy cho ta gửi lời thương nhớ
Nhắn giùm ta về nơi góc biển
Rằng phía đầu nguồn ta vẫn ngóng trông
Chảy đi sông ơi, chảy đi sông ơi
Ơi con sông tiêng hát muôn đời
Hãy cho ta nói lời cay đắng
Nhắn về ai ở nơi góc biển
Rằng nỗi muộn sầu đang ngày đêm chan chứa

Này đây những chiếc lá ta thả trôi sông
Hãy mang theo nỗi lòng ta xuôi theo dòng
Này đây những chiêc lá như nụ hôn ta
Hay trôi đi trôi về nơi xa ấy
Chảy đi sông ơi, chảy đi kìa sông ơi.


Thursday, March 10, 2011

March 2011 Microsoft Super Tuesday


February has a fairly heft drop. It includes fixes for a number of publicly disclosed vulnerabilities that have public exploits. Following is a look at the bulletins that address these issues.

* MS11-003: Cumulative Security Update for Internet Explorer 

Two of the four vulnerabilities patched in Internet Explorer were publicly released. CVE-2010-3971 covers a vulnerability in multiple recursive import statements within a CSS file. This use after free bug can lead to remote code execution and has public exploits readily available. IBM customers have had protection available in the previously released CSS_Import_Corruption signature. The other vulnerability listed as publicly disclosed is CVE-2011-0038. This is a dll hijacking vulnerability in IE 8 when opening .html files. The two privately disclosed vulnerabilities are both critical memory corruption vulnerabilities that can lead to remote code execution.

* MS11-004: IIS FTP Service Heap Buffer Overrun Vulnerability

The IIS FTP service has a publicly disclosed vulnerability in the handling of IAC commands. Due to the limited control an attacker could exert on the data written past the heap buffer, this vulnerability was initially classified as a denial of service. Subsequent research showed that even with limited control an attacker could potentially gain remote code execution. The known public exploits at the time of this writing are denial of services against the FTP service. IBM customers have had protection available from this via the previously released FTP_IIS_IAC_Overflow signature.

* MS11-008: Windows Shell Graphics Processing Overflow Vulnerability

This bulletin covers a vulnerability in the rendering of a malformed thumbnail in meta-data embedded within certain file formats such as Microsoft Word .doc files that can lead to remote code execution. Public exploits of this vulnerability are readily available. The exploit occurs when Windows Explorer attempts to render the malicious file in preview mode. An attacker could attach a malicious file to an email and wait for the victim to browse to it or entice the victim to open a share containing a malicious document. IBM customers have had protection available from this via the previously released CompoundFile_Windows_Thumbnail_Overflow signature. X-Force member Jon Larimer recently blogged about his presentations on this class of vulnerabilities in shell extensions.

Source: http://blogs.iss.net/archive/2011_02_MSFT_Super_T.html

what integrity ...!!

Wednesday, January 5, 2011

2010 in Review: 2010′s Most Dangerous List

As 2010 comes to a close, here's a list of the riskiest items we encountered in the past year:

  • Hardware: The riskiest hardware device used in 2010 was the German identification card reader. These cards contain encoded private information such as fingerprints. Unfortunately, the information on them can be quite easily stolen by using certain card readers.
  • Website software: The riskiest software used by websites in 2010 was the popular blogging platform WordPress. Tens of thousands of unpatched WordPress blogs were used by cybercriminals for various schemes, primarily as part of redirection chains that led to various malware attacks or other blackhat search engine optimization (SEO)-related schemes.
  • IP: The most dangerous IP used in 2010 was Internet Relay Chat (IRC). Thirty percent of all botnets used IRC to communicate with infected machines and their command-and-control (C&C) servers. Fortunately, blocking IRC use in networks reliably stops botnets.
  • OS: The riskiest OS used was Apple's Mac OS X. In November, Apple sent users a massive maintenance release that weighed in at at least 644.48MB. The weighty upgrade included fixes for multiple security vulnerabilities since the previous update released in mid-June. Apple's penchant for secrecy and longer patch cycles also increased the risk for users.
  • Website: The most dangerous website in the world was Google. Its tremendous popularity led cybercriminals to target it specifically for blackhat SEO-related schemes, which in turn, led users to significant malware threats, particularly FAKEAV. In addition, Google's ad network was also frequently victimized by malvertisements.
  • Social network: In another case wherein popularity led to danger, Facebook could be considered the most dangerous social networking site around. Everything from survey scams to KOOBFACE malware proliferation ensued on the site, as cybercriminals went where the people were, that is, Facebook.
  • Top-level domain: The most dangerous top-level domain in the world was CO.CC, which allowed cybercriminals to register thousands of domains on the fly with very little in the way of verification. This, along with Russian ISPs that routinely refused to shut down malicious sites, made for a very dangerous combination.
  • File format: PDF was the riskiest file format in 2010, as Adobe Acrobat and Reader vulnerabilities routinely became part of exploit toolkits.
  • Runtime environment: The most dangerous runtime environment for users in 2010 was Internet Explorer (IE) with scripting enabled. Even today, most browser exploits specifically target IE. However, Java is quickly becoming a more prominent target and could become the prime target in 2011.
  • Infection channel: The most common infection channel was still the browser, as more than two-thirds of all infections used this as infection vector. Previous infection methods like flash disks and spammed messages were still around but were less prominent than before.

Source: http://blog.trendmicro.com/2010s-most-dangerous-list/

Thanks!

Saturday, January 1, 2011

Happy New Year!



The New Year is coming,
so let us all rejoice.
Past mistakes long behind us.
Only thing left to do is forget your memories,
as the clock strikes 12.
A new year ahead of us.
It will be full of happy times,
good memories and bad.
There will be regret,
Hope,
Happiness,
Premonition,
Depression,
Paranoia and Confusion.
But these won’t last.
The Seasons will fly past.
Spring,
Summer,
Fall.
Ending with Winter.
Then another New Year will begin.
A year goes by,
Full of so many experiences.
But it fly’s so fast,
Before you know it the New year is old.
And it’s time for 2011.

THANKS!