Archive for the ‘Web Security’ Category
Friday, March 12th, 2010
Chmod Protection:
Chmod (abbreviation from the English language to change mode, change mode) is a command of Unix systems and Unix-like systems, and more generally of POSIX systems to change the permissions of files and directories.
Chmod is also the name of a system call, defined by the POSIX standard, which change the permissions of a file or directory. In fact, the chmod command by invoking the same name system call.
The chmod command appeared for the first time in the first version of Unix from AT & T and is still used in Unix and Unix-like machines.
Chmod
The general syntax of chmod is:
chmod [options] [-] mode file1 [file2 ...]
Mode parameter indicates the changes to be applied to permits.
The double hyphen – (optional) indicates that the following parameters are not considered options.
Among the main options are:
R
Change the permissions of directories recursively listed and their content.
-h
For BSD-derived systems (such as FreeBSD, NetBSD and OpenBSD, and even Mac OS X), where you can also assign permissions to symbolic links, this option specifies precisely to change the permissions of symbolic links instead of those files referenced.
Examples:
Symbolic representation
* Chmod ‘u = rwx “,” g = rx “,” o = x “filename
* Chmod “+ o = rx” filename
* Chmod “= u + rwx”, “go =-” filename
* Chmod “+ u = rws”, “go =-” filename
For the meaning of S also see other Unix permissions.
Octal representation
* Chmod 734 filename
Mode
The mode is a string that indicates how to set or change the permissions of files and directories specified. Can be expressed as an octal number, or in symbolic form.
Octal mode
It is a number composed of one to four octal digits (eg 640 or 4755), according to the octal representation of permissions, which indicates permission to be given directly to the file without taking into account those already present.
For example, a 755 permission set read, write and execute (7) to the owner (first digit), and read and execute (the two 5) per group (second figure) and other (third digit).
Symbolic mode
It is a series of one or more text values separated by commas.
Each value is in turn composed of three parts:
* A first part consists of zero or more letters that select the classes (owner, group, others) for which you want to modify the permission:
ou – select the class concerning the owner
or g – select the class for the group
oo – select the class relative to other users
or no letter or – selects all classes
* A second part consists of a single character indicating whether permission should be added, removed or set to the selected classes:
o + – adds the specified permissions to the selected classes, does not remove permissions already granted but not specified
o = – set the permissions specified in the classes selected, removes any permissions already granted but not specified
o – - removes the permissions specified by the selected classes
* A third part consists of zero or more letters (e.g., r, w, x, s, t) according to the symbolic representation of permits give the permissions to add, remove or set.
Examples of rules are expressed in a symbolic “ugo = rwx”, “u = rwx, go = r”, “+ x”.
Examples of the
* 0755 – sets read, write and execute for the owner, and read and execute for group and others (common for directories and executable files);
* 0700 – sets read, write and execute for the owner, no permissions for group and others (common for directories private);
* 0600 – Set read and write to the owner and no permissions for group and others (common for data files);
* 0640 – Set read and write for owner, read only for the group and no permissions for others (the common data files to be shared);
* + R – adds read permission for the owner for the group and for others. Not remove other permits already present;
*-X – remove execute permission to owner, group and others. Not remove other permits already present;
* Ug = rx – sets the read and execute permission to the owner, remove any existing writable, does not alter the permissions for others;
* U = rx, g = – sets the read and execute permission to the owner, by removing any write permission already exists, remove all existing permissions for the group and for others.
The system call chmod
System call chmod is declared in the header file sys / stat.h:
# include <sys/stat.h>
int chmod (const char * path, mode_t mode);
Type mode_t is a matte (usually a type integer) that represents the access permissions.
The path parameter is the name of the file or directories that change the permissions.
The mode parameter indicates the permissions for the file or directory.
Return value
The return value is 0 on success. If an error is -1, and the variable errno indicates the specific error.
Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.
Tags: Chmod Protection, website protection Posted in Web Security | No Comments »
Friday, March 12th, 2010
What Is Adware Software?
An adware is software that displays advertising during its use. These programs are annoying to almost all its users, who, due to the other positive features of the program running the adware, must use it in order to get some work done. Most of the time, the useful free-to-use program also downloads an adware attachment because the free program makes money from the adware software makers. Thankfully, most of these adware programs do not have viruses or malwares included, but they are nuisance programs due to the constant advertisements that they either display or through using pop up windows – sometimes they pop up many advertisements thus making you lose your concentration, production, and temper.
The adware usually contains two parts:
- A useful part (usually a game or utility) that prompts a user to install it on his computer;
- Part that handles the display of advertising.
The term adware refers sometimes all of the two previous games and sometimes the second part. Some also contain adware spyware to spy on the habits of the user to send targeted advertising.
Etymology
The word “adware” is a portmanteau word derived from the fusion of “advertising” and “software”. The English word comes from adware advertising supported software.
Adware Operation
Display advertising is generally considered by the developer of adware as a way to recoup its development costs, allowing the developer to provide the software free or at low cost. Revenues from advertising permit or encourage developers to continue to develop, maintain and improve the software.
By cons, ads can be seen as interruptions or distractions by users.
Some adware allow the user to get rid of the publicity at a certain cost.
Malware Program
An adware is considered malicious software when the software vendor does not indicate clearly that the potential user will receive advertising while using the software.
Examples of popular adware programs:
- 123 Messenger
- 180SearchAssistant
- 888bar
- Adssite Toolbar
- AOL Instant Messenger
- Antivirus 200 * Family
- Bearshare
- Bonzi Buddy
- BlockChecker
- Burn4Free
- ClipGenie
- Comet Cursor
- Crazy Girls
- Cydoor
- Daemon Tools (the software is downloaded with the Daemon Tools Toolbar QuickTime Task but can be deleted by the user during installation)
- Direct Revenue
- DivX
- DollarRevenue
- Ebates MoneyMaker
- ErrorSafe
- Evernote
- Ezula
- FaceGame.exe
- FlashGet
- Gamespy
- Gamevance
- Gator
- Gool.exe
- Kazaa
- Limewire (on some music downloads)
- Messenger Plus! Live (The software is downloaded with adware that can be removed during installation)
- MessengerSkinner
- Micro Antivirus
- Mirar Toolbar
- Oemji Toolbar
- PornDigger!
- RealPlayer
- Smiley Central
- TagASaurus
- TopMoxie
- Tribal Fusion
- VideoThang
- Viewpoint Media Player
- VirusProtectPro
- WeatherBug
- WhenU
- WinAce (now with MeMedia AdVantage)
- WinFixer
- Windows Live Messenger
- WinZix
- XXX Shop online
- XXX Toy
- Zango
- Zango Toolbar
- Zwinky
The Eudora email program is an example of a program available in several distribution modes, including mode adware. After a trial period during which all program features are available, the user is offered the following choices: a free (freeware) with limited functionality, adware version (with ads) with all features enabled or a paid version includes all functions without commercials.
Prevention and Detection of Adware
Several contain adware spyware. Programs have been developed to detect and remove malicious software. These programs can detect and remove spyware of adware. The most popular of these programs are: Ad-Aware, Malwarebytes’ Anti-Malware and Spybot – Search & Destroy. It should be noted that these programs are specifically designed to detect spyware and does not detect the virus.
Almost all antivirus software also detects spyware, or offer software to detect spyware. The reluctance of publishers to block antivirus spyware virus directly into them is due to fear of prosecution. Kaspersky, for example, was sued by Zango after blocking its adware.
Some adware programs can even send your privacy related data that is stored on your PC to its makers without your knowledge and, of course, your consent. These programs also keep secret surveillance on your purchase habits, on your browsing history, and every other usage pattern and then send that data over the internet to their makers.
Not only are the hackers involved in making such adware programs, but sadly, even the reputable companies are resorting to these illegal tactics to gather such data for their marketing and research purpose.
Although these adware programs do not harm your computer much, for example, like a virus or other malicious programs, but their data collecting activities, including collecting your private information, makes them no less evil than the virus-like programs.
Using a good adware and spyware removal program can stop these adware programs from running indefinitely on your PC, but not downloading suspicious programs, and also doing a thorough pre-download research using the search engines about any program that you wish to download any such program can at least protect your PC and the very important data present on it to a great extent.
Doing a research about any software is not difficult at all. Using Google or Yahoo, you can easily search for any complaints about the program that you wish to download. There are optional programs present on the internet that can do the same functions for you safely and securely, so do researches for those types of programs too.
Also using a great adware and spyware related software is recommended, but you must take care to always keep these programs updated regularly so that the latest patterns and versions of adware and spyware are covered while they detect your PC for these adware and spyware programs.
Therefore, using a good adware and spyware removal program along with your regular anti-virus program, keep them regularly updated (fortunately, if you run them in automatic mode, they can download the latest patches automatically from their websites), and take care that you do not download and store any program on your PC without first doing a thorough check for adware, spyware, malware, trojans, and viruses, etc.
Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.
Tags: adware, adware program, adware software, adware spyware, adware spyware malware, What Is Adware Software Posted in Web Security | No Comments »
Thursday, March 11th, 2010
What Is Spyware?
Spyware is malicious software that installs on a computer in order to collect and transfer information on the environment in which it was installed, often without the user’s knowledge. The development of this type of software is associated with the Internet which serves as a means of transmitting data.
Spyware Diffusion
Spyware is often included in free software and are usually installed without the knowledge of the user. Spyware programs are usually active only after restarting the computer. Some, like Gator, are stealthy and do not find themselves in the process table (access: (Ctrl + alt + del for Windows), (‘ps’ for Unix). An anti-spyware however powerful can detect and send a warning before installation.
Use of Spyware
Spyware is developed primarily by companies offering advertising on the Internet. To enable the sending of targeted advertising, it is necessary to know its target. This knowledge can be easily obtained by profiling techniques including spyware is.
Spyware Operation
Spyware is composed of three distinct mechanisms:
- The mechanism of infection, which installs the software. This mechanism is identical to that used by viruses, worms or Trojans. For example, spyware Cydoor use consumer software such as Kazaa vector of infection;
- The mechanism for collecting information. For spyware Cydoor, the collection is to record everything the user searches and downloads through Kazaa.
- The mechanism for transmission to third. This mechanism is generally provided via the Internet. The third may be the program designer or company.
The spyware may display advertising offerings, download a virus, install a trojan (what WhenU.SaveNow, for example), capture passwords by recording the keys pressed on the keyboard (keyloggers), spying programs implemented at a given time, or even spy on websites visited.
Vectors of infection
The spyware often attack Microsoft Windows systems because of their popularity and especially the office launched with all rights mostly. Some Web pages may, once loaded, installed unbeknownst to the user spyware, usually by using security holes in the browser of the victim.
Spyware is often found in freeware or shareware, to return their development. Some freeware stop working after removing the spyware associated. There is no known free software – like Mozilla Firefox – which contain spyware.
Finally, some system administrators or network administrators install this software to remotely monitor the activity of their computers without having to connect it.
Popular software containing spyware:
- Kazaa, which includes Cydoor
- DivX, except for the paid version and standard version without the encoder
- The HP printer drivers and probably other brands send information of unknown nature to the site of the mark when printing
Control and Prevention of Spyware
Program that work against spyware
There are many specific software to detect and remove some of the software under Microsoft Windows:
(Warning: There are false antiespion software that install spyware on computers of their users!)
Free Anti-Spyware software:
- Ad-Aware, developed by Swedish company Lavasoft. Specializing in removing adware. There is a more sophisticated paid version.
- A-squared Free
- Spybot – Search & Destroy, a free program that can also suppress other markers of activity on the system (log files)
- Spyware Blaster protects your browser to install spyware.
- Windows Defender (formerly Microsoft AntiSpyware) (original included in Windows Vista and Windows 7)
- HijackThis, this software can detect and destroy all processes running on your computer
- Ewido Security Suite software detects and eliminates a large number of malware (free version for individuals). Is now called AVG Anti-Spyware.
- SmitFraudFix
- AVG Anti-Virus
- Super Anti-Spyware, Version individuals (Home edition), also known as SAS
- ComboFix for advanced users
Software-paying (or check, etc.):
- Spyware Doctor, a utility-class
- SpyBouncer, extensive database
- PestPatrol
- Spy Sweeper
- Spy Subtract
- CheckFlow software suite, anti-spyware, surf anonymously and parental controls (French publisher)
- Videotron Security Services Version comprehensive and effective.
Faux-Software (avoid).
This software, like antivirus, uses databases that are updated frequently. It is recommended to use several of these programs, because none detects all spyware. Even using them all, one detects a portion of existing spyware.
Spyware Prevention
Before installing software downloaded, make sure you have installed an anti-virus and anti-spyware. For added safety, take some additional information by searching for user reviews, which may indicate hidden threats of certain programs.
The use of free software is a good way to fight against spyware, since the sources of these programs are available, verifiable, modifiable, which allows the detection and removal of spyware programs. In the non-free software, as sources are not available, it is more difficult to detect this kind of threat and impossible to eliminate.
Finally, beware of traps. In the past, some programs supposedly designed to fight against spyware contain themselves what kind of threat or proved totally ineffective for the sole purpose of charging a license (if Spyware Assassin by example), etc.
The main vectors of infection are:
- Cracking software protection type cracks and keygens;
- False codecs;
- Free software;
- False security software;
- Surfing sites at high risk of infection;
- Attachments and instant messaging worms.
Controlling outflows
Controlling outflows is mostly carried by the network administrator. Through a firewall, the outgoing flow control block any connection that tries to be from the computer (or internal network) to the outside (usually the Internet), except connections allowed before (we usually allows connections to websites, but allows less often peer-to-peer).
Even if the control of outflow is still poorly developed at present, it is essential in understanding and blocking of certain problems, such as the presence of spyware, as they will be required to connect to the to send out the information they have collected.
Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.
Tags: Spyware Diffusion, Spyware Prevention, Vectors of infection, What Is Spyware Posted in Web Security | No Comments »
Thursday, March 11th, 2010
Most frequent symptoms of infection
- Slow down your computer: The computer is working much more slowly than usual. Takes a long time to open applications or programs. The operating system takes a long time to perform simple tasks that usually do not require much time;
- Inability to run a program or open a specific file;
- Disappearance of files and folders: files stored in specific folders (usually those belonging to the operating system or certain applications) have disappeared since deleted from the virus. Could be lost entire folders and directories;
- Inability to access the contents of files: opening a file, you receive an error message or simply can not be opened. A virus may have changed the File Allocation Table (FAT) that causes the loss of addresses that are the starting point for locating files;
- Error messages unexpected or unusual: Displaying dialog boxes contain messages absurd, funny, mischievous or aggressive;
- Reduction of space in the memory and hard drive, significantly reducing the free space on your hard disk, when a program is running, you receive a message indicating insufficient memory to do so (although this is not true and there are no other programs open)
- Bad sectors you are alerted of the existence of errors in the disk on which you are working and warned that the file can not be saved or that you can not perform an action,
- Changes in ownership of the file: The virus modifies some or all of the files it infects. Consequently are no longer correct or change the properties associated with the infected file. Among the properties most affected: time / date (of creation or last modified), size, etc;
- Operating system error: operations normally performed and supported by the operating system determines the error messages, the execution of operational requirements or the failure to execute the transaction request;
- Duplication of files: if there are two files with the same name but with extension EXE, COM, respectively, the COM extension will be a virus. Viruses do so because if there are two files with the same name as the operating system will always first with the COM extension;
- Renaming of files: a virus can rename files infected and / or specific files;
- Problems starting the computer: The computer does not start or not start in the usual way;
- Computer crash: despite the opening of a few or no programs and the lack of a heavy load on the system, it hangs ( ‘Crash’), making it necessary to use the Task Manager to remove the blocked task or reboot the computer ;
- Stopping the running program without the user has performed operations unexpected or done something that could have caused this result;
- Opening and closing the CD / DVD without user intervention;
- Keyboard and / or mouse not working properly: the keyboard does not write what is typed by the user or transactions which do not correspond to your key presses. The mouse pointer moves by itself or independently from the movement requested by the user;
- Disappearance of sections of windows specific sections (buttons, menus, texts etc.) that should appear in a particular window are missing or not displayed. Or in windows in which should not appear anything but icons appear strange or unusual content (e.g., in the Windows taskbar).
Spontaneous Reboot the computer
- Antivirus turned off automatically;
- Programs suddenly no longer functional or dysfunctional;
- Slowness of Internet connection;
- Issuance by the computer sound unusual;
- Microsoft Internet Explorer crashes or otherwise malfunctioning, ensuring the continuity errors (for example, fails to close the applications)
Keep in mind that the symptoms described above may be due to causes other than viruses. In the case of presence of one or more of these symptoms, it is advisable to run a virus scan of system;
Techniques Used For Detection Of Virus
There is a general method to identify viruses within a system. The detection techniques used by the virus are different: used simultaneously guarantee an excellent probability of detection of the presence of a virus. According to detection techniques used, the virus can be divided into three types:
- Monitoring programs: are aimed at preventing infection by monitoring for suspicious activity (for example, the request to format a disk or access to privileged areas of memory). They are important because they represent the first line of defense. But they are easy to pass through the technique of tunneling.
- Scanner searches for viruses through two techniques:
- a) For the comparison of signatures stored in an internal database with those possibly contained in files infected;
- b) For use of heuristics to viruses that are encrypted or unknown.
Programs detection: using two techniques:
- Check the integrity: calculate the hash of files to be compared later with the new values resulting from a new calculation to verify that files have not changed in the meantime.
- Heuristics: save enough information to restore the original file if it is damaged by a virus.
Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.
Tags: Life Cycle Of A Virus, virus, What Is A Virus Posted in Web Security | No Comments »
Thursday, March 11th, 2010
Methods Of Dissemination
What distinguishes the virus worms, and proper mode of replication and dissemination: a virus is a snippet of code that can not be run separately from a program host, while a worm is a stand-alone application. Also, some worms spread by exploiting security vulnerabilities, and therefore do not depend on whether the trick user to be performed.
Before the widespread use of Internet connections, the means of spreading the virus mainly from one machine to another was the exchange of floppy disks containing infected files or virus boot. The preferred vehicle of infection was instead represented today by e-mail communications and peer to peer networks (e.g., eMule).
In computer systems is customary to use the Windows registry keys necessary to enter into the new programs created ad hoc with the programmer of the virus that start automatically at startup. One of the weaknesses of Windows is its own registry. There are various programs to keep an eye on the dangerous in the Windows registry keys, one of which is Absolute Startup, which at regular intervals of time scans of areas at risk register to see if a new virus or crash program was added in those keys.
False Virus
The lack of knowledge of the mechanisms of spread of viruses and the manner in which the topic is often the media allow the spread of both viruses as virus hoax, also called the hoax: they are messages that warn of the spread of a terrible new phantom virus tones catastrophic and invite the recipient to forward it to as many people as possible. It is unclear how these false alarms are harmful as they increase the amount of spam and spreading false information, or even harmful.
Virus Yesterday And Today
Today, there are very few malicious code which can be attributed, really, the name of the virus. A time when the exchange took place via physical media file, usually a floppy drive, these were to be a vehicle of infection and therefore it was important, wanting to create a virus that spreads, that this was as silent as possible. They were written in assembly language, which makes them small, high performance yet insidious following the rule: if you do not know what to look figured if you know how to find it.
Speaking today of viruses, entering into details, but you make an error. It is aimed at, the term virus, all the malicious code can cause damage to a user. The exchange files via physical devices such as floppy disks, the almost total abandonment of self to make a boot procedure and recovery, has rendered obsolete the old concept of viruses, malicious code a little difficult to locate.
Nevertheless, the machines are increasingly powerful, consumers increasingly less and less prepared, broadband for all. The information travels from one end of the globe without physical constraints now, and so the malicious code.
The old concept of the virus was replaced with the more modern worms. The worms are not written in assembly but in most programming languages ever higher level, in close connivance with the operating system, in almost all cases, Windows, and its vulnerability.
All this makes the writing of malicious code much easier than before and the large number and diversity of worms with their variants is an obvious example. These new types of infections entering the system almost always alone exploiting the vulnerability, and they do not do much to hide, rather than replicate like worms infect files, which is a more complex and now abandoned.
Lately, they have become very fashionable and highly destructive payload, or which expose the victim to other types of attacks. The life of the worm is generally shorter than that of a virus because they identify, thanks to the Internet, has become a big business now more than in former times and is probably why more and more often leads developers to want a life span shorter for the machine that houses it, and some hair in less user.
The worms are acting increasingly as retrovirus and, wanting to run faster than the patch that corrects the vulnerability that allowed it to spread, often you are to update the antivirus when the code has already taken hold in the system.
Exchange Of Virus
Many virus programmers today, but particularly in the past, exchanged sources of virus to understand new programming techniques. Many exchanges of virus occurred through websites called VX. VX means Virus eXchange. Nowadays sites (at least public ones) dedicated to VX have been few, but we think that there are underground sites that contain databases accessible only to crew recent virus writer. You can get a virus through email, which installs the virus even if they are not open.
Continued…
Tags: Life Cycle Of A Virus, virus, What Is A Virus Posted in Web Security | No Comments »
|
|
|
| © 2003 - 2010 Storm Internet Ltd |
|
|