Search this site

Monday, April 30, 2012

SQLDUMPER library failed initialization. Your installation is either corrupt or has been tampered with. Please unistall then re -run to correct the problem.

Symptoms

Some of the related Symptoms of the problems are as under:

  1. Users have Windows XP (SP2)/ Vista / Windows 7 or Server based systems.
  2. The error message every time I boot up.
  3. User can use the system normally by ignoring the error message and clicking OK.
  4. The problem may appear after installing Microsoft Visual Studio or other product.
The Problem
Possible reason of the problems is un-installation of Outlook’s Business Contact Manager. The un-installation doesn't stop or disable service SQL Server VSS Writer. You can find its status in Control PanelAdministrative Tools > "Services" as started with startup type set to start Automatic. The service  SQL Server VSS Writer expects a working SQL Server installation that you have un-installed.





Solution

One of the possible solution is  open "Services" from the Windows Control PanelAdministrative Tools or typing "Services.msc" in the Run command, and stop  SQL Server VSS Writer service and set its  startup type to manual.

Friday, April 27, 2012

Some NMS and SNMP Concepts!


A network management system (NMS) is a system comprising software and hardware that utilizes Simple Network Management Protocol (SNMP) to automatically discover, map, manage, and monitor all SNMP-enabled devices on a LAN or WAN. To have more control over network devices, an NMS may need to install some additional agent or client software there.

NMS can monitor a wide variety of network devices such as desktops, servers, switches, routers. It can also monitor any device on a network that is running Internet Protocol (IP) or Internet Packet Exchange (IPX).

Both commercial and open source NMS are available. Popular/good , commercial NMS are:  Cisco Network Management Software from Cisco Systems, HP Network Management Solution (OpenView) from HP, ManageEngine OpManager from ManageEngine, WebNMS framework from ZOHO Corp.

Open source NMS are: OpenNMS from    OpenNMS.org, Nagios from     OpenSource.

To develop an NMS, you shall need a Web server (IIS/Apache...), a backend database (MySQL, MS SQL), scripting language for GUI (PHP,ASP, perl, .NEt, python...)

What is SNMP?

Simple Network Management Protocol (SNMP) is an application–layer protocol of Transmission Control Protocol⁄Internet Protocol (TCP⁄IP) protocol suite.

Today, most of the networking devices come with bundled SNMP agent, which enabled them to communicate with the network management system (NMS).

SNMP is Client/Server architecture having 2 major entities:
  1. SNMP Manager (at NMS)
  2. SNMP agent (at managed network devices )

Generally, NMS is used as:
  1. as a monitoring solution (SNMP Read Only queries) to monitor network devices
  2. as a management solution(SNMP Read Write queries) to manage network devices
  3. or a combination of above.

If it is being used as a network management solution, then the SNMP Read/Write (RW) string is present on the network devices, which drastically increases the risk after compromise of NMS system.

If it is being used as a network monitoring solution, then only the SNMP Read Only (RO) string is being used on the network devices, thus the ability for an attacker to cause damage after gaining control of an NMS system is drastically reduced.


SNMP Configuring Tips
  • NMS is Trusted Computing Base (TCB) device of your network, it has got all access in ACL (Access Control List) of router and Firewall. Hence it must be configured very carefully.
  • Both NMS and manged network devices should have same SNMP READ ONLY or READ WRITE
  • To avoid SNMP traffic sniffing and manipulation attacks, SNMPv3 or higher should be used with data encryption feature enabled
  • Ensure there is no unknown SNMP-enabled devices on your network
  • SNMP READ ONLY or READ WRITE string should be long and complex
  • Default SNMP READ ONLY or READ WRITE string should be changed, and it it is not being used then it should be removed
  • For remote administration SNMP configuration password should be set.
  • To enable SNMP client and service at Windows server/XP/Vista/7:
  • Go to :Control Panel. Click on Programs And Features link and then click on Turn Windows features on or off.
  • Type services.msc at Start> Run: Select SNMP Service Properties, click on Traps tab. In the “Community name” text box, enter a log and complex case-sensitive SNMP community name/string to which this computer will send trap messages.
  • Select Security tab: click Accept SNMP packets from these hosts. Set “Community Rights”: READ ONLY for monitor mode or READ WRITE for management mode.SNMP traffic passes over Transmission Control Protocol (TCP) ports 161 and 162 and User Datagram Protocol (UDP) ports 161 and 162. (If you sniff traffic through wireshark, you shall find SNMP protocol, and when right click, "Follow UDP Stream" menu is in context)

NMS Standards

Most NMS adopt 'FCAPS' ISO Telecommunications Management Network model and framework for network management. FCAPS is an acronym for Fault, Configuration, Accounting, Performance, Security.
  1. Fault Management: NMS correlates and manages notifications received from the agent installed on manged devices. If a parameter increases in size or complexity, it generate alarm to the manager via Email, SMS, RSS feeds and Twitter.
  2. Configuration Management: NMS is supposed to be vendor neutral and support multiple hardware and software devices. It creates inventory of physical (hardware version and revisions, firmware details) and logical configuration (system/network settings etc.) of devices and keeps this information up-to-date for proper planning.
  3. Accounting Management: NMS measures network utilization so that individual or group users on the network can be regulated appropriately for the purposes of accounting or chargeback.
  4. Performance Management: NMS monitors and measures various aspects of performance so that overall performance can be maintained at an acceptable level.
  5. Security Management:NMS ensures authentication, access control, data confidentiality, data integrity, and non-repudiation. These may be applied in course of any communications between network devices and between users.
http://www.technologydwell.com/

Wednesday, April 25, 2012

Tor proxy software to Surf Anonymously .Installing Tor on Ubuntu.

Tor (from https://www.torproject.org) is a software project that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security. Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location.

Tor works with many of your existing applications, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol.

GUI Tools Available for Tor
Currently we have the following TOR GUI Applications.

Vidalia
Vidalia is a cross-platform controller GUI for the Tor software, built using the Qt framework. Using Vidalia, you can start and stop the Tor software, view its status at a glance, and monitor bandwidth usage. Vidalia also makes it easy to contribute to the Tor network by helping you set up and manage your own relay.

Installing Tor on Ubuntu 11.10

1. Open Terminal and type following commands:

sudo apt-get install vidalia polipo tor

Tip:  Tor is a network of anonymising TCP proxies. In order to use tor to access the web, your web browser needs to go through a proxy that can speak to tor; this is usually Polipo.

2. Then add this line to your /etc/apt/sources.list file:

sudo gedit /etc/apt/sources.list
     
and add:

deb     http://deb.torproject.org/torproject.org <DISTRIBUTION> main

Tip: you can figure out the name of your distribution by a little look over at sources.list file. It may be sid, wheezy, squeeze, karmic, lenny, natty, maverick, lucid, or oneric.
3. Now update and upgrade the package:

sudo apt-get update
sudo apt-get upgrade


4. Configure polipo proxy:
 type following command in terminal:

sudo nautilus
It will open Nautilus file manager with root privileges.

Now,  go to /etc/polipo directory and open file config by double clicking and selecting gedit or any other text editor, and add  following line:


socksParentProxy = "localhost:9050"
socksProxyType = socks5


proxyAddress = "127.0.0.1"
proxyPort = 8118
Tip:  you can simply Uncomment and modify the existing line starting with sock5proxy by removing #

5. Now to surf internet anonymously, configure following Network Setting in any Web Browser:

       Polipo Proxy IP address: 127.0.0.1, port 8118 
       (for all protocols except Socks)
Example: for mozilla FireFox:
 

Now, check your IP-Address  through www.whatismyip.com or www.ipchicken.com or any site you know.
6.  If you are accessing Internet through a proxy (HTTP or Socks), then you need to configure Tor for this:
type following command in terminal:
 
sudo nautilus

It will open Nautilus file manager with root privileges.
Now,  go to /etc/tor directory and open file torrc by double clicking and selecting gedit or any other text editor, and add following line:
 
i.) for HTTP proxy running at IP address 192.168.1.1 listening at port 3128, add following: 
    
 HttpProxy 192.168.1.1:3128 
If you need to authenticate to the proxy for Internet access by providing username and password then add following lines also:

         HttpProxyAuthenticator yourusername:yourpassword
          
         ii). for Socks proxy running at IP address 192.168.1.1 listening at port 1080, add following:

Socks5Proxy 192.168.1.1:1080

Tips:
  •  following commands might help in troubleshooting in case of service crash:


sudo /etc/init.d/tor restart
sudo /etc/init.d/polipo restart