Archive for September, 2009

The Clampi Virus and other Malware

Tuesday, September 22nd, 2009

There is a rash of news recently about an old virus, the Clampi virus. It is designed to run and do little until the user logs into an online banking site. It then captures the username and password of the person logging in and sends it off to the malware writers who use the information to withdraw money from the victim’s account.

This is really nothing new.

Viruses and other malware of this type have been around for a long time. Either through programs that do similar things, including capturing keystrokes, to “Phishing” attacks, which are specially crafted e-mails that trick users into visiting websites that look legitimate, but actually are fraudulent copies of the genuine site.

The removal instructions for this virus are the same as for most others, turn off system restore, boot in safe mode, run scans, and clean out the registry of the data the virus inserts. Since most new malware uses dynamic naming, that is the name of the program file for the virus is random, you can’t immediately identify which file it is.

Due to multiple vulnerabilities within Windows itself, it is often too late once the victim has visited the website to protect the computer. It is better if it is blocked before it enters your business network.

NMP has a security product, the NMP Expanse, that will intercept and block viruses, spyware, trojan programs, phishing attacks, spam, and other bad data from ever reaching the inside of your network. Best of all, it can be installed without having to reconfigure your network. It can sit quietly and filter all of the traffic going both in and out of your network.

While you still need software on your desktop to protect your system, it is most effective to block the attacks before they ever reach your computer.

Links For Web Design

Tuesday, September 15th, 2009

Here’s a list of some good links. A lot of these are great for beginners –they are places I relied on many years ago when I was first starting in Web Design.

http://www.cdilearn.com/cmat/html/crossref.html - HTML tags. Anyone who works in web design should know basic HTML –there’s no excuse not to, no matter how shiny and full featured your web page editor might be.

http://www.ascii.cl/htmlcodes.htm – ASCII codes. You’ll need these to go along with your HTML.

http://www.tizag.com/ – They have some excellent beginner’s tutorials for php, asp, mysql and other web essentials.

Those three are pages I’ve used for years –now here’s one I just found today: a clear concise cheatsheet for .htaccess regex (regular expressions redirects).

http://forums.doctornuke.com/apache-web-http-server/423-tips-regex-code-htaccess.html

Object Oriented Programming

Wednesday, September 9th, 2009

For years I resisted object oriented programming. If you’re used to linear programming it can be quite a mental adjustment. But there are some very good reasons that the object-oriented approach has revolutionized programming.

Perhaps the easiest way to understand the “objects” of object oriented programming are as specialized stand-alone programs. There are ways to get data into them, ways to get data out of them, and functions that do things with the data.

The important part of this idea is “stand-alone”. The nice thing about the objects is that nothing that happens inside of them directly affects the outside world. This makes it easy for a programmer to use many objects together, even if some of the objects were programmed by someone else. There’s no worry that you might accidentally use the same name for two different variables, or that your programming might conflict with the other person’s methods.

In addition, since each object has a limited, specialized function, if there’s a programming error, it’s easy to find the source, isolate the problem, and fix it without breaking other parts of your program.

The final value of object oriented programming is that it makes it easier to read programming code (at least assuming you understand the OOP programming conventions and syntax!). This is because your main program now contains only the large overall structure of the program. When you get to an object, assuming it is well-named, you can tell what it does at a glance.

Although objects can be quite complex on the inside, if you do ever have to get inside an object and tinker with it, the fact that you know it is designed for specific limited tasks will help you understand what you are looking at. In addition, the fact that objects can contain other objects means that even the inside of an object can benefit from the same simplifying effect as does the main program.

In summary: programmers, don’t be frightened by OOP. An object is nothing but a self-contained program with input, output and internal transformations.