<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>linux-security &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/linux-security/</link>
	<description>Feed of posts on WordPress.com tagged "linux-security"</description>
	<pubDate>Wed, 10 Feb 2010 05:58:45 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Creating a simple samba server]]></title>
<link>http://white-code.com/2010/01/14/creating-a-simple-samba-server/</link>
<pubDate>Thu, 14 Jan 2010 07:54:49 +0000</pubDate>
<dc:creator>nath8</dc:creator>
<guid>http://white-code.com/2010/01/14/creating-a-simple-samba-server/</guid>
<description><![CDATA[Computer Network recently considered as main part of an enterprise. The most important thing is file]]></description>
<content:encoded><![CDATA[Computer Network recently considered as main part of an enterprise. The most important thing is file]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux command for verifying empty password]]></title>
<link>http://white-code.com/2010/01/13/linux-command-that-difficult-to-understand/</link>
<pubDate>Wed, 13 Jan 2010 11:40:32 +0000</pubDate>
<dc:creator>nath8</dc:creator>
<guid>http://white-code.com/2010/01/13/linux-command-that-difficult-to-understand/</guid>
<description><![CDATA[Verify account that have an empty password # awk -F: &#8216;($2 == &#8220;&#8221;) {print}&#8217; /e]]></description>
<content:encoded><![CDATA[Verify account that have an empty password # awk -F: &#8216;($2 == &#8220;&#8221;) {print}&#8217; /e]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux Security]]></title>
<link>http://vinodbm.wordpress.com/2010/01/02/linux-security/</link>
<pubDate>Sat, 02 Jan 2010 06:13:34 +0000</pubDate>
<dc:creator>vinodbm</dc:creator>
<guid>http://vinodbm.wordpress.com/2010/01/02/linux-security/</guid>
<description><![CDATA[Is UNIX secure than windows? There are so many flavors of Unix plus some custom build versions. Thes]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Is UNIX secure than windows? There are so many flavors of Unix plus some custom build versions. These versions are build for its own purpose and not really for securing</p>
<p>Windows <span style="text-decoration:line-through;">rules</span> user desktops, as such the number of attacks targeted towards windows os are more. However for a determined attacker it can be quite easy to break the UNIX system once he has enumerated the target</p>
<h3><strong>Whats is RootKit</strong></h3>
<p>Modified and recompiled UNIX tools (rootkits) typically ps, netstat, passwd are available which are designed to hide any trace of intruder’s presence or existence. These can be exploited to monitor traffic, create back door, alter log files, change</p>
<h4>Linux root kits countermeasure</h4>
<p><strong>chkrootkit</strong> is a tool to locally check the signs of rootkits, it check for the system binaries for rootkit modifications</p>
<p><strong>AIDE (Advanced intrusion detection environment)</strong> is a replacement for tripwire, it creates a DB from regular expression that it finds from the config file, and once the DB is initialized it can be used to verify the integrity of files. The first AIDE database is snapshot of the system in its normal state and the yardstick by which all subsequent updates and changes will be measured</p>
<h3>Hardening Linux</h3>
<ol>
<li>Install only the minimal required software and applications on the UNIX kernel</li>
<li>Patching the system</li>
<li>Restricting access with Iptables and Security-Enhanced Linux (SELinux)</li>
<li>Securing the file system permissions and S*ID binaries</li>
<li>Improving the login, user security, and password policies</li>
<li>Proper physical and boot security controls</li>
<li>Securing processes via network access controls</li>
<li>Increasing the logging and audit information</li>
<li>Configuring vendor supplied security software (IPS, firewall)</li>
<li>Making regular data backups to facilitate recovery in case of failures</li>
<li>Maintaining reliable power and cooling</li>
<li>Securing cabling</li>
<li>Deploying redundant hardware</li>
<li>Maintaining well trained and motivated employees to avoid intentional or unintentional sabotage to the device</li>
</ol>
<p><span style="color:#ffffff;">Network security blogs</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Metasploit Framework 3.3 Released!]]></title>
<link>http://aminesoft.wordpress.com/2009/11/19/metasploit-framework-3-3-released/</link>
<pubDate>Thu, 19 Nov 2009 17:39:14 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/11/19/metasploit-framework-3-3-released/</guid>
<description><![CDATA[We are excited to announce the immediate availability of version 3.3 of the Metasploit Framework. Th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://aminesoft.wordpress.com/files/2009/11/logo.png"><img class="aligncenter size-full wp-image-672" title="logo" src="http://aminesoft.wordpress.com/files/2009/11/logo.png" alt="" width="232" height="32" /></a>We are excited to announce the <a href="http://www.metasploit.com/framework/download/">immediate availability</a> of version 3.3 of the Metasploit Framework. This release includes <a href="http://www.metasploit.com/modules/exploit/">446 exploits</a>, <a href="http://www.metasploit.com/modules/auxiliary/">216 auxiliary modules</a>, and <a href="http://www.metasploit.com/modules/payload/">hundreds of payloads</a>, including an in-memory VNC service and the Meterpreter. In addition, the Windows payloads now support NX, DEP, IPv6, and the Windows 7 platform. More than <a href="http://www.metasploit.com/redmine/projects/framework/changelog#Metasploit%203.3">180 bugs</a> were fixed since last year’s release of version 3.2, making this one of the more well-tested releases yet.</p>
<h2><strong>FOR DOWNLOAD</strong></h2>
<table style="height:135px;" border="0" cellspacing="0" cellpadding="0" width="523">
<tbody>
<tr>
<td valign="top"><img src="http://www.metasploit.com/images/platform-icons/linux.png" alt="" /> <a href="http://hotfile.com/dl/18025793/5372a34/framework-3.3-linux-i686.run.html" target="_blank">framework-3.3-linux-i686.run<br />
</a>
<p>&#160;</p>
<div>35,434,869 bytes (34M)</div>
</td>
<td>Linux 32-bit <a href="http://www.metasploit.com/redmine/projects/framework/wiki/Install_Linux">installer</a> including all dependencies.
<p>&#160;</p>
</td>
</tr>
<tr>
<td valign="top"><img src="http://www.metasploit.com/images/platform-icons/linux.png" alt="" /><a href="http://hotfile.com/dl/18025850/ece1479/framework-3.3-linux-x86_64.run.html" target="_blank"> framework-3.3-linux-x86_64.run</a>
<p>&#160;</p>
<div>36,635,297 bytes (35M)</div>
</td>
<td>Linux 64-bit <a href="http://www.metasploit.com/redmine/projects/framework/wiki/Install_Linux">installer</a> including all dependencies.
<p>&#160;</p>
</td>
</tr>
<tr>
<td valign="top"><img src="http://www.metasploit.com/images/platform-icons/unix.png" alt="" /> <a href="http://hotfile.com/dl/18025865/4cfd37e/framework-3.3.tar.bz2.html" target="_blank">framework-3.3.tar.bz2</a>
<p>&#160;</p>
<div>22,614,595 bytes (22M)</div>
</td>
<td>Unix tar format for <a href="http://www.metasploit.com/redmine/projects/framework/wiki/Installation">installing</a> on all other operating systems.</td>
</tr>
</tbody>
</table>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dr.Web® anti-virus for Linux (GUI based)]]></title>
<link>http://aminesoft.wordpress.com/2009/09/28/dr-web%c2%ae-anti-virus-for-linux-gui-based/</link>
<pubDate>Mon, 28 Sep 2009 12:30:47 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/09/28/dr-web%c2%ae-anti-virus-for-linux-gui-based/</guid>
<description><![CDATA[Dr.Web Security Suite for Unix Appliance and  Dr.Web® anti-virus for Linux (GUI based) is a group of]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Dr.Web Security Suite for Unix Appliance and  Dr.Web® anti-virus for Linux (GUI based) is a group of modular solutions that can be installed on appliances running Unix-family (Linux/FreeBSD/Solaris(x86) operating systems. The solutions work as a corporate Internet-gateway – a proxy-server used to provide access to the Internet to intranet users.</p>
<p>Depending on your licensing scheme and the set of selected plugins solutions of Dr.Web Security Suite for Unix Appliance can perform the following tasks:<br />
process incoming and outdoing mail and filter out viruses and spam;<br />
scan http and ftp traffic for viruses;<br />
detect and remove any malicious objects;<br />
parse e-mails and analyze each component of a message;<br />
filter e-mail according to white and black lists;<br />
process correctly archived files of most known formats including multi-volume and self-extracting (SFX) archives;<br />
notify recipients or other selected users on results of scanning using templates ensuring that provided information is easy to read<br />
collect statistics regarding all activities of the system;<br />
protect its own plug-ins against failures.<br />
Benefits<br />
Dr.Web means its own technologies and anti-virus laboratory<br />
Dr.Web anti-virus technology has been developed since 1992 and is owned by Doctor Web.<br />
here are few anti-virus vendors in the world with their own technologies for detecting and curing malware, a virus monitoring service and an analytical laboratory. It provides a rapid response to latest threats and allows solving any problems of customers in a few hours.</p>
<p>Large enterprise network experience<br />
Dr.Web solutions for small and medium-sized companies and large corporate networks with dozens of thousands of computers have been developed and improved since 1992. The State Duma of Russia, its Defense and Foreign ministries FSB (Federal Security Service) and many other enterprises, educational institutions and research departments trust anti-virus solutions from Doctor Web.</p>
<p>Openness of the solutions<br />
As usual, Doctor Web makes its contribution to development of open source anti-virus products. Solutions included in Dr.Web Security Suite for Unix Appliance have an unlimited potential for expanding their functionality. Virtually any user with a sufficient skill can implement a desired feature using the source code and the SDK supplied with the software.</p>
<p>Exceptional scalability<br />
Dr.Web Security Suite for Unix Appliance can perfectly suite needs of a small company with just one e-mail server and meet the unlimited e-mail filtering requirements of transnational telecoms or Internet service providers, Its efficiency, flexibility of settings and capability of filtering huge volumes of e-mail traffic “on-the-fly” can comply even with highest demands.</p>
<p>Optimal configuration<br />
Configuration of servers with preinstalled Dr.Web Security Suite for Unix Appliance is the result of thorough optimization. Solutions match requirements of a customer perfectly. Flexible licensing system allows a company to pay only for functionality it is going to use. A server based on Dr.Web Security Suite for Unix Appliance is a high-performance solution at a best price.</p>
<p>Reliable protection<br />
State-of-the art technologies ensure high-speed scan of traffic that doesn’t after Internet access speed and runs unnoticed by users. The solutions feature latest Dr.Web technologies that sheilf user machines from malware and spam. Automatic updating system allows maintaining a high level of security.</p>
<p>High productivity and stable operation<br />
Multi-thread scan feature enables Dr.Web Security Suite for Unix Appliance processing simultaneously large amounts of data. Well-designed modular structure makes it impossible for an attacker to disable a solution. Well-known low system requirements of Dr.Web products allow running them on any server hardware.</p>
<p>Easy installation<br />
Dr.Web Security Suite for Unix Appliance fully complies with the “plug and play” principle making installation and maintenance extremely easy even for an inexperienced user. The installation procedure was designed to exclude any possible configuration errors by staff and reduces time of deployment to several minutes. Installation of an appliance doesn’t affect configuration of computers in a corporate network.</p>
<p>Flexible configuration and easy administration<br />
Dr.Web Security Suite for Unix Appliance allows implementing any protection scheme tailored to the security policy of your company. The solutions have flexible configuration system so virtually any required set of rules can be created by a system administrator. All actions related to the network security are logged. The logged data can be used to analyze network health and pinpoint vulnerabilities. The convenient user alert system that issues virus warnings and notifies a user upon loading of a web-page containing malicious code will assist you in conforming to the security policy of your company.</p>
<p>Frequent updating<br />
An add-on to the Dr.Web virus database is released when new entries are added as often as several times per hour. Hot add-ons are released immediately after a new threat has been analyzed. The global virus monitoring network delivers latest samples of viruses from all over the world. Users retrieve updates from several servers located on different parts of the globe.</p>
<p><span style="color:#ff0000;"><strong><!--more-->for downloads Dr.Web in linux , unix and mac OSx</strong></span></p>
<p><span style="color:#ff0000;"><strong><span style="color:#0000ff;">1) linux</span> </strong></span></p>
<blockquote><p>The product protects workstations running Linux.</p>
<p>Supported OSs<br />
All Linux distributions with glibc-2.2 to 2.7 (32-bit only).</p>
<p>Licensed components<br />
Console scanner for Unix.<br />
GUI module for Linux.<br />
Automatic updating utility.</p>
<p>Dr.Web Daemon (drwebd) is not included.</p>
<p>to download <a href="http://download.drweb.com/demoreq/?pid=39" target="_blank">click here</a></p></blockquote>
<p><span style="color:#0000ff;"><strong> 2) unix</strong></span></p>
<p><span style="color:#00ff00;"><strong>Dr.Web Mail Gateway (Unix) </strong></span></p>
<blockquote><p><span style="color:#000000;">The product protects mail-traffic directed through a proxy-server under Unix.</p>
<p>Supported OSs<br />
Linux ( glibc 2.2 and higher).<br />
FreeBSD 5.x, 6.x.<br />
Solaris 10 (Intel only).</p>
<p>Licensed components<br />
Dr.Web Daemon – anti-virus daemon that processes scan and curing requests.<br />
Dr.Web Smtp-proxy module.<br />
The basic part of the program, monitoring and external interaction utilities.<br />
Automatic updating utility.<br />
Console scanner Dr.Web for Unix.<br />
SDK for development of extra plugins.</span></p>
<p><span style="color:#000000;">to download <a href="http://new-download.drweb.com/maild/" target="_blank">click here </a></span></p></blockquote>
<p><span style="color:#00ff00;"><strong> Dr.Web for Unix mail servers (MailD-based)</strong></span></p>
<blockquote><p><span style="color:#000000;">The product protects traffic of mail servers under Unix.</p>
<p>Supported OS and mail systems<br />
Linux (glibc 2.2 and higher), FreeBSD 5.x, 6.x, Solaris 10 (Intel only).<br />
CommuniGate Pro, Courier MTA, Exim, Postfix, QMail, Sendmail, ZMailer.</p>
<p>Licensed components<br />
Dr.Web Daemon – processes scanning and curing requests.<br />
A set of anti-virus filters for Sendmail, Qmail, Postfix, Communigate Pro, Exim, Courier MTA, ZMailer.<br />
The basic part of the product, the monitoring and external interaction utilities.<br />
Automatic updating utility.<br />
Console scanner Dr.Web for Unix.<br />
SDK for development of extra plugins.</span><span style="color:#00ff00;"><strong><br />
</strong></span></p>
<p><span style="color:#00ff00;"><span style="color:#000000;">to download  <a href="http://new-download.drweb.com/maild/" target="_blank">click here</a></span></span></p></blockquote>
<p><span style="color:#00ff00;"><span style="color:#000000;"> </span></span></p>
<p>to get more info and downloads please visite <a href="http://download.drweb.com/" target="_blank"> www.download.drweb.com</a></p>
<p>have fun <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p><span style="color:#000000;"><strong> </strong></span></p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dr.Web LiveCD !]]></title>
<link>http://aminesoft.wordpress.com/2009/09/28/dr-web-livecd/</link>
<pubDate>Mon, 28 Sep 2009 11:54:19 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/09/28/dr-web-livecd/</guid>
<description><![CDATA[Dr.Web LiveCD is a software product that features a standard Dr.Web scanner. Dr.Web LiveCD is an ant]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Dr.Web LiveCD</strong> is a software product that features a standard Dr.Web  scanner.</p>
<p><strong>Dr.Web LiveCD</strong> is an anti-virus emergency aid disk that would restore a  system that became non-operational due to activities of malware and help copy  important information to a removable data-storage device or to another computer.  If a workstation or a server running Windows\Unix won’t boot from a hard drive,  Dr.Web LiveCD will clean a system of suspicious and malicious files and will  also try to cure infected objects</p>
<p><strong>How does it work?</strong></p>
<ol type="1">
<li>Download the image of Dr.Web LiveCD.</li>
<li>Wirte the image to a CD or DVD. If you use Nero Burning ROM you need to do  the following:
<ul>
<li>Insert a blank CD/DVD into your CD/DVD drive</li>
<li>Click on the &#8220;File” menu and select “Open”</li>
<li>Browse through the folders to the location of the image file and select it.</li>
<li>Press the &#8220;Burn&#8221; button and wait while the file is being written to the disk</li>
</ul>
</li>
<li>Make sure that the CD/DVD drive or any other device with <strong>Dr.Web  LiveCD</strong> is set as the first boot device.</li>
<li>As loading starts a dialogue window will prompt you to choose between the  standard and safe mode.
<p><img src="http://www.av-desk.com/static/new-www/livecd1.gif" border="0" alt="" width="450" height="250" /></li>
<li>Use arrow keys to select a desired mode and press <strong>[Enter]</strong>:
<ul>
<li>In order to use the scanner with the GUI choose <strong>Dr.Web LiveCD</strong> (Default)</li>
<li>If you’d like to start the scanner using the command line (console) select  <strong>Dr.Web LiveCD (Safe Mode)</strong></li>
<li>Choose <strong>Start Local HDD</strong>, if you want to boot from the hard drive  instead of <strong>Dr.Web LiveCD</strong></li>
<li>Select <strong>Testing Memory</strong> to launch the Memtest86+ utility</li>
</ul>
</li>
<li>If <strong>Dr.Web LiveCD (Default)</strong> is selected, all available disk drives  will be detected automatically. The operating system will also try to connect to  the local network if available.
<p><img src="http://www.av-desk.com/static/new-www/livecd2.jpg" border="0" alt="" width="450" height="336" /></li>
<li>When the system is loaded, check disks or folders you want to scan and press  <strong>Start</strong>
<p><img src="http://www.av-desk.com/static/new-www/livecd5.jpg" border="0" alt="" width="450" height="339" /></li>
<li>You can also contact the support service of Doctor Web if you need extra  help. Fill out a support-request form on the web site of the company <img src="http://www.av-desk.com/static/new-www/livecd_ico1.jpg" border="0" alt="" width="25" height="25" /></li>
<li>The Midnight Commander file manager is used to work with files you need to  copy to a safe location <img src="http://www.av-desk.com/static/new-www/livecd_ico3.jpg" border="0" alt="" width="25" height="25" /></li>
<li>If the operating system failed to configure access to your network, you can  do it manually using Networks Configure Manager. Start-&#62;Settings-&#62;Networks  Configure manager
<p><img src="http://www.av-desk.com/static/new-www/livecd6.jpg" border="0" alt="" width="450" height="337" /></li>
</ol>
<p>For more information about Dr.Web LiveCD read the <a href="ftp://ftp.drweb.com/pub/drweb/livecd/LiveCD-en.pdf">Dr.Web LiveCD user  manual</a></p>
<p><a href="ftp://ftp.drweb.com/pub/drweb/livecd/">Download Dr.Web  LiveCD</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Install Guest Additions for a better VirtualBox experience]]></title>
<link>http://aminesoft.wordpress.com/2009/09/20/install-guest-additions-for-a-better-virtualbox-experience/</link>
<pubDate>Sun, 20 Sep 2009 03:37:11 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/09/20/install-guest-additions-for-a-better-virtualbox-experience/</guid>
<description><![CDATA[In my default setup of Windows XP, on my particular Ubuntu 9.04 box, the installation of Windows XP ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In my default setup of Windows XP, on my particular  Ubuntu 9.04 box, the installation of Windows XP rendered a perfectly usable  desktop with 32 bit colors in 800×600 resolution. This resolution, of course, is  not ideal for some situations (such as Full Screen mode). In order to get a  higher resolution, along with other features, you have to install Guest  Additions. This is a simple process that can be done quickly and yields a much  better user experience than the default. So…let’s get to the installation.</p>
<div id="attachment_13625" class="wp-caption alignleft" style="width:310px;"><img class="size-medium wp-image-13625" src="http://www.ghacks.net/wp-content/uploads/2009/06/guest_devices_menu-500x418.png" alt="Figure 1" width="300" height="251" /></p>
<p class="wp-caption-text">Figure 1</p>
</div>
<p>Before you attempt to do the installation of the guest  additions you have to have your virtual machine up and running. Once that VM is  running you will see three menu entries at the top of the window: Machine,  Devices, and Help. You want to click on the Devices entry and then click the  Install Guest Additions entry (see Figure 1).</p>
<p>What you will see is a warning message instructing you that the Guest  Additions CD image could not be found. Fear not, this is normal. Click Yes in  order to download the image and then Download to confirm. You will see a  progress bar at the bottom left of your VM window.</p>
<p>When that download has finished you will be asked if you want to Mount the  image. Click the Mount button to reveal the Sun xVM setup wizard. Click Next in  the welcome screen which will take you to the license agreement window. Click  the I Agree button (and read the license if you feel so inclined.)</p>
<div id="attachment_13626" class="wp-caption alignright" style="width:310px;"><img class="size-medium wp-image-13626" src="http://www.ghacks.net/wp-content/uploads/2009/06/guest_warning-500x391.png" alt="Figure 2" width="300" height="235" /></p>
<p class="wp-caption-text">Figure 2</p>
</div>
<p>What you are now doing is a fairly straightforward Windows application-like  installation. The only “gotcha” during installation will be a warning that the  software did not pass the Windows Logo testing. Ignore this warning and click  Continue Anyway. Your screen will flicker for a second – don’t worry.</p>
<p>You will see this warning another time when it attempts to install software  for the pointing devices.</p>
<p>After that warning the installation will complete and, in typical Windows  fashion, you will be required to reboot your virtual machine. Do this. When the  reboot completes you will find your virtual machine much easier to work with.  Now:</p>
<ul>
<li>You no longer have to capture the mouse pointer.</li>
<li>You can set your resolution to a much higher level.</li>
<li>You can now copy and paste between guest and host operating systems.</li>
<li>You can run Windows in seamless mode.</li>
</ul>
<p><strong>Seamless mode</strong></p>
<div id="attachment_13629" class="wp-caption alignleft" style="width:310px;"><img class="size-medium wp-image-13629" src="http://www.ghacks.net/wp-content/uploads/2009/06/guest_seemless-500x400.png" alt="Figure 3" width="300" height="240" /></p>
<p class="wp-caption-text">Figure 3</p>
</div>
<p>Seamless mode is a very interesting trick. What this does is take the  elements of Windows out of the VM window and layer them on top of your Linux  desktop.</p>
<p>As you can see, in Figure 3, with seamless mode activated all Windows  applications have their own window. So in this instance Internet Explorer  appears to be running on Linux by itself. And the Windows task bar is resting  nicely on top of the GNOME panel.</p>
<p>You toggle between seamless and non-seamless mode by pressing the Hot Key and  the “L” key. The default Hot Key is the right Ctrl key.</p>
<p><strong>Final thoughts</strong></p>
<p>This is truly some exciting work. With the help of VirtualBox you can,  effectively, have your cake and eat it too (as the saying goes.) Work with  Windows applications inside of Linux without needing the help of Wine.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Install And Use Metasploit Framework 3.2 on Linux {Exclusive}]]></title>
<link>http://aminesoft.wordpress.com/2009/09/20/install-and-use-metasploit-framework-on-linux-exclusive/</link>
<pubDate>Sun, 20 Sep 2009 03:12:00 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/09/20/install-and-use-metasploit-framework-on-linux-exclusive/</guid>
<description><![CDATA[Metasploit is an application that is used to research the security in your network. The Administrato]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft" title="12" src="http://www.metasploit.com/images/hax_small.jpg" alt="" width="300" height="215" /><span style="font-size:130%;"><span style="font-weight:bold;"><br />
</span></span><br />
<strong>Metasploit</strong> is an application  that is used <strong>to research the security</strong> in your network. The  Administrators can test their networks that is made by them. What Their network  is found the weakness or not. Many exploit type and payload Who can be used on  <a href="http://metasploit.com/">Metasploit</a>. You are able to use  <strong>Metasploit on Linux operating system</strong></p>
<div>
<ol type="1">
<li>Download metasploit <a href="http://www.metasploit.com/framework/download/" target="_blank">here </a></li>
<li>copy metasploit file to root or home directory</li>
<li>open the terminal<br />
<code>$ cd /<br />
$ sudo su<br />
# tar xzfv  framework-3.2<br />
# cd framework-3.2</code></li>
<li>in directory framework-3.2, there is 2 selection using metasploit
<ul type="square">
<li><strong>./msfconsole</strong> using metasploit console mode<br />
<code># cd /<br />
# cd  framework-3.2<br />
# ./msfconsole</code></li>
<li><strong>./msfweb</strong> using metasploit web mode<br />
<code><br />
# cd /<br />
# cd  framework-3.2<br />
# ./msfweb<br />
</code>Using metasploit on web mode, you  have to open your mozilla and go to url <a href="http://127.0.0.1:55555/"><strong>http://127.0.0.1:55555/</strong></a>, if your  status is offline, please select file &#124; select Work Offline on your <a href="http://mozilla.com/">Mozilla Firefox</a>.</li>
<li>have fun</li>
</ul>
</li>
</ol>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[10 More Hacking and Security Software Tools for Linux]]></title>
<link>http://aminesoft.wordpress.com/2009/09/20/10-more-hacking-and-security-software-tools-for-linux/</link>
<pubDate>Sun, 20 Sep 2009 02:45:58 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/09/20/10-more-hacking-and-security-software-tools-for-linux/</guid>
<description><![CDATA[I noticed that our list of hacking and security software tools for Linux was not enough so I figured]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="HTML12"><a title="Edit" href="http://www.blogger.com/rearrange?blogID=5023590240909870844&#38;widgetType=HTML&#38;widgetId=HTML12&#38;action=editWidget" target="configHTML12"></a></div>
<div id="Blog1">
<div>
<div>
<div>
<div style="text-align:justify;"><a href="http://1.bp.blogspot.com/_UqUwVPikChs/SkC4z6J7pFI/AAAAAAAAJXw/24UXhYp40XI/s1600-h/hackingtux.png"><img style="width:150px;float:left;height:150px;cursor:pointer;margin:0 10px 10px 0;" src="http://1.bp.blogspot.com/_UqUwVPikChs/SkC4z6J7pFI/AAAAAAAAJXw/24UXhYp40XI/s320/hackingtux.png" border="0" alt="" /></a>I  noticed that our list of <a href="http://www.junauza.com/2008/07/10-best-hacking-and-security-software.html">hacking  and security software tools</a> for Linux was not enough so I figured out that I  should add some more. But before anything else, thank you to those who commented  the last time and shared their favorite <a href="http://www.junauza.com/2009/01/hacking-windows-administrator-password.html">hacking</a> programs. &#8211;I&#8217;ve included some of those that you&#8217;ve mentioned on this new list  for others to know about.</p>
<p>Now without any more delay, here&#8217;s our latest  compilation of hacking and security tools for Linux:</p></div>
<p><span style="font-weight:bold;">* Ettercap </span></p>
<div style="text-align:justify;"><a href="http://ettercap.sourceforge.net/">Ettercap</a> is a console-based network  sniffer/interceptor/logger that is capable of intercepting traffic on a network  segment, capturing passwords, and conducting active eavesdropping against a  number of common protocols. Ettercap supports active and passive dissection of  many protocols (including ciphered ones) and provides many features for network  and host analysis. Ettercap also has the ability to actively or passively find  other poisoners on the LAN.</p>
<p><a href="http://3.bp.blogspot.com/_UqUwVPikChs/SkC1oDOIuuI/AAAAAAAAJWg/hxBYf8PwhGY/s1600-h/ettercap_figure1.jpg"><img style="text-align:center;width:320px;display:block;height:246px;cursor:pointer;margin:0 auto 10px;" src="http://3.bp.blogspot.com/_UqUwVPikChs/SkC1oDOIuuI/AAAAAAAAJWg/hxBYf8PwhGY/s320/ettercap_figure1.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* Nikto</span></p>
<p><a href="http://www.cirt.net/nikto2">Nikto</a> is a web server scanner that is  known to perform comprehensive tests against web servers for multiple items,  including over 3500 potentially dangerous files/CGIs, versions on over 900  servers, and version specific problems on over 250 servers. It performs generic  and server type specific checks. It also captures and prints any cookies  received.</p>
<p><a href="http://2.bp.blogspot.com/_UqUwVPikChs/SkC1oXnqsLI/AAAAAAAAJWo/yV9_ZBPWzVw/s1600-h/nikto.jpg"><img style="text-align:center;width:320px;display:block;height:240px;cursor:pointer;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_UqUwVPikChs/SkC1oXnqsLI/AAAAAAAAJWo/yV9_ZBPWzVw/s320/nikto.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* OpenSSH </span></p>
<p><a href="http://www.openssh.com/">OpenSSH</a> is a Free and Open Source version of  the SSH connectivity tools providing encrypted communication sessions over a  computer network. It encrypts all traffic (including passwords) to effectively  eliminate eavesdropping, connection hijacking, and other attacks. Additionally,  OpenSSH provides secure tunneling capabilities and several authentication  methods, and supports all SSH protocol versions.</p>
<p><a href="http://1.bp.blogspot.com/_UqUwVPikChs/SkC1oocYoFI/AAAAAAAAJWw/EJcXH5BecMI/s1600-h/openssh.jpg"><img style="text-align:center;width:320px;display:block;height:174px;cursor:pointer;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_UqUwVPikChs/SkC1oocYoFI/AAAAAAAAJWw/EJcXH5BecMI/s320/openssh.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* Aircrack-ng</span></p>
<p><a href="http://www.aircrack-ng.org/">Aircrack-ng</a> is a wireless tool and  password cracker. It is a network software suite consisting of a detector,  packet sniffer, WEP and WPA/WPA2-PSK cracker and analysis tool for 802.11  wireless LANs.</p>
<p><a href="http://4.bp.blogspot.com/_UqUwVPikChs/SkC1o7vOu7I/AAAAAAAAJW4/hLtmBedw4-Y/s1600-h/aircrack01.jpg"><img style="text-align:center;width:320px;display:block;height:216px;cursor:pointer;margin:0 auto 10px;" src="http://4.bp.blogspot.com/_UqUwVPikChs/SkC1o7vOu7I/AAAAAAAAJW4/hLtmBedw4-Y/s320/aircrack01.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* Tripwire </span></p>
<p><a href="http://sourceforge.net/projects/tripwire/">Tripwire</a> is a security and  data integrity tool that is useful for monitoring and alerting on specific file  change(s) on a range of systems. Used with system files on a regular basis,  Tripwire can notify system administrators of corrupted or tampered files, so  damage control measures can be taken in a timely manner.</p>
<p><a href="http://4.bp.blogspot.com/_UqUwVPikChs/SkC1pP0F7lI/AAAAAAAAJXA/5ZJaGv4BF50/s1600-h/tripwire.jpg"><img style="text-align:center;width:320px;display:block;height:303px;cursor:pointer;margin:0 auto 10px;" src="http://4.bp.blogspot.com/_UqUwVPikChs/SkC1pP0F7lI/AAAAAAAAJXA/5ZJaGv4BF50/s320/tripwire.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* Metasploit Framework</span></p>
<p><a href="http://www.metasploit.com/">Metasploit Framework</a> is an advanced  open-source platform for developing, testing, and using exploit code. The  extensible model through which payloads, encoders, no-op generators, and  exploits can be integrated has made it possible to use the Metasploit Framework  as an outlet for cutting-edge exploitation research. It ships with hundreds of  exploits, as you can see in their online exploit-building demo.</p>
<p><a href="http://2.bp.blogspot.com/_UqUwVPikChs/SkC2X58snCI/AAAAAAAAJXI/JBOdq7Nw_7Y/s1600-h/metasploit.jpg"><img style="text-align:center;width:320px;display:block;height:219px;cursor:pointer;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_UqUwVPikChs/SkC2X58snCI/AAAAAAAAJXI/JBOdq7Nw_7Y/s320/metasploit.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* THC Hydra</span></p>
<p><a href="http://freeworld.thc.org/thc-hydra/">THC (The Hacker&#8217;s Choice) Hydra</a> uses a dictionary attack to test for weak or simple passwords on one or many  remote hosts running a variety of different services. It was designed as a  proof-of-concept utility to demonstrate the ease of cracking poorly chosen  passwords. It can perform rapid dictionary attacks against more then 30  protocols, including telnet, ftp, http, https, smb, several databases, and much  more.</p>
<p><a href="http://1.bp.blogspot.com/_UqUwVPikChs/SkC2YDRyQDI/AAAAAAAAJXQ/247ZneZcTWA/s1600-h/thc-hydra.jpg"><img style="text-align:center;width:320px;display:block;height:211px;cursor:pointer;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_UqUwVPikChs/SkC2YDRyQDI/AAAAAAAAJXQ/247ZneZcTWA/s320/thc-hydra.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* Dsniff</span></p>
<p><a href="http://www.monkey.org/%7Edugsong/dsniff/">Dsniff</a> is suite of powerful  network auditing and penetration-testing tools and utilities that includes code  to parse many different application protocols and extract interesting  information. The information that can be obtained from this sniff application  are: usernames and passwords, web pages being visited, contents of email,  etc.</p>
<p><a href="http://3.bp.blogspot.com/_UqUwVPikChs/SkC2Ylo-ZpI/AAAAAAAAJXY/Cr-QSX6NK_Q/s1600-h/dsniff.jpg"><img style="text-align:center;width:320px;display:block;height:222px;cursor:pointer;margin:0 auto 10px;" src="http://3.bp.blogspot.com/_UqUwVPikChs/SkC2Ylo-ZpI/AAAAAAAAJXY/Cr-QSX6NK_Q/s320/dsniff.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* RainbowCrack</span></p>
<p><a href="http://project-rainbowcrack.com/">RainbowCrack</a> is a password hash  cracker that makes use of a large-scale time-memory trade-off. It differs from  &#8220;conventional&#8221; brute force crackers in that it uses large pre-computed tables  called rainbow tables to reduce the length of time needed to crack a password  drastically.</p>
<p><a href="http://1.bp.blogspot.com/_UqUwVPikChs/SkC2YpO0y7I/AAAAAAAAJXg/AHchYM0hafM/s1600-h/rainbow.jpg"><img style="text-align:center;width:320px;display:block;height:123px;cursor:pointer;margin:0 auto 10px;" src="http://1.bp.blogspot.com/_UqUwVPikChs/SkC2YpO0y7I/AAAAAAAAJXg/AHchYM0hafM/s320/rainbow.jpg" border="0" alt="" /></a></p>
<p><span style="font-weight:bold;">* rkhunter</span></p>
<p><a href="http://rkhunter.sourceforge.net/">rkhunter </a>scans for rootkits,  backdoors and possible local exploits. It does this by comparing SHA-1 hashes of  important files with known good ones in online database, searching for default  directories (of rootkits), wrong permissions, hidden files, suspicious strings  in kernel modules, and special tests for Linux and FreeBSD.</div>
<div style="text-align:center;"><a href="http://2.bp.blogspot.com/_UqUwVPikChs/SkC2Y_cwdHI/AAAAAAAAJXo/QtbucvODKYc/s1600-h/rkhunter.jpg"><img style="text-align:center;width:320px;display:block;height:223px;cursor:pointer;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_UqUwVPikChs/SkC2Y_cwdHI/AAAAAAAAJXo/QtbucvODKYc/s320/rkhunter.jpg" border="0" alt="" /></a></div>
</div>
</div>
</div>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[3 Pillars for Complete Apache Security]]></title>
<link>http://freephphosts.wordpress.com/2009/09/17/3-pillars-for-complete-apache-security/</link>
<pubDate>Thu, 17 Sep 2009 19:36:05 +0000</pubDate>
<dc:creator>Jeff</dc:creator>
<guid>http://freephphosts.wordpress.com/2009/09/17/3-pillars-for-complete-apache-security/</guid>
<description><![CDATA[Short version: Intrusion detection. Automatic backup and restoration. Daily script and OS updating. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Short version:</strong></p>
<ol>
<li>Intrusion detection.</li>
<li>Automatic backup and restoration.</li>
<li>Daily script and OS updating.</li>
</ol>
<p><strong>Long version:</strong><br />
So here is a post that I&#8217;ve been thinking about for a while: apache security; what it is, how to do it and ways to optimize and automate it. I&#8217;ve chosen three pillars, if you will, that form the foundation of everything you really need to know about keeping your webserver secure in the time of huge malware threats, and hacked sites happening almost daily.</p>
<p>Pillar one: Detecting intruders before they cause damage. It isn&#8217;t rocket science, but there is a reason this subject is being taught at MIT and other high-scale universities all the time; its hard work to get right and it is never ending. Fortunately, the Unix system is based around logging events to the disk as they occur, ergo it&#8217;s safe to build a set of scripts to automatically scan and process system logs on your Linux based web server. The key to automating this is to just script something up that checks these files every half hour or so and email you the results, highlighting and breaches or issues that may come up. If an intruder violates your security policy, you can get to work quickly after receiving the email and punt them off your box, before they can do any real damage to your system. You can search Google (or your preferred search provider) for current intrusion detection systems for your distro, or you can build your own, if you&#8217;re so brave. I&#8217;ll post about how to set one up, and how to roll your own in a later post.</p>
<p>Pillar two: An automatic backup and restoration strategy is crucial to the health and uptime of your server. If you have the resources (read: disk space) it&#8217;s pretty handy to make a complete backup every three days, while only backing up the &#8216;diffs&#8217; in between. Makes it super easy to recover from an attack or defaced homepage if you have the files at your disposal like this. Otherwise, you&#8217;re off to scraping a Google cache or the WayBack machine for your old posts. Worse case, you&#8217;re scraping a web-scraper for your posts that they store.. there is no worse feeling. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  As always, Google for solutions on this, or roll your own using rsync and Amazon S3.</p>
<p>Pillar three: Daily apt-get update stuff. Update your OS daily, regardless of what the arm-chair experts advise. There is simply no excuse for not logging in and typing a one-line command that could potentially save your entire box in the event that an attacker seeks to exploit a known vulnerability just to be cute. It&#8217;s one line, save yourself the trouble of recovering your site. If you&#8217;re really pressed for time, just create a cron job that updates everything and set it to run every 24 hours, or on boot up, whichever you prefer.<br />
Well that&#8217;s it for this post, I&#8217;ll expand on the thoughts I presented above in later posts.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Configure syslog to print the Security violation alarm on user terminal]]></title>
<link>http://linuxexplore.wordpress.com/2009/09/15/configure-syslog-to-print-the-security-violation-alarm-on-user-terminal/</link>
<pubDate>Tue, 15 Sep 2009 18:26:12 +0000</pubDate>
<dc:creator>Rahul Panwar</dc:creator>
<guid>http://linuxexplore.wordpress.com/2009/09/15/configure-syslog-to-print-the-security-violation-alarm-on-user-terminal/</guid>
<description><![CDATA[Open the /etc/rsyslog.conf file for syslog configuration in fedora Linux (some linux like CentOS has]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Open the <strong>/etc/rsyslog.conf</strong> file for syslog configuration in fedora Linux (some linux like CentOS has /etc/syslog.conf). It will show the something similar as given below:</p>
<table style="height:364px;" border="0" cellspacing="0" cellpadding="0" width="477">
<tbody>
<tr>
<td width="638" valign="top"># Log all kernel messages to the console.</td>
</tr>
<tr>
<td width="638" valign="top"># Logging much else clutters up the screen.</td>
</tr>
<tr>
<td width="638" valign="top">#kern.*                                                   /dev/console</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
<tr>
<td width="638" valign="top"># Log anything (except mail) of level info or higher.</td>
</tr>
<tr>
<td width="638" valign="top"># Don&#8217;t log private authentication messages!</td>
</tr>
<tr>
<td width="638" valign="top">*.info;mail.none;authpriv.none;cron.none                /var/log/messages</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
<tr>
<td width="638" valign="top"># The authpriv file has restricted access.</td>
</tr>
<tr>
<td width="638" valign="top">authpriv.*                                                /var/log/secure</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
<tr>
<td width="638" valign="top"># Log all the mail messages in one place.</td>
</tr>
<tr>
<td width="638" valign="top">mail.*                                                  -/var/log/maillog</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
<tr>
<td width="638" valign="top"># Log cron stuff</td>
</tr>
<tr>
<td width="638" valign="top">cron.*                                                    /var/log/cron</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
<tr>
<td width="638" valign="top"># Everybody gets emergency messages</td>
</tr>
<tr>
<td width="638" valign="top">*.emerg                                                   *</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
<tr>
<td width="638" valign="top"># Save news errors of level crit and higher in a special file.</td>
</tr>
<tr>
<td width="638" valign="top">uucp,news.crit                                            /var/log/spooler</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
<tr>
<td width="638" valign="top"># Save boot messages also to boot.log</td>
</tr>
<tr>
<td width="638" valign="top">local7.*                                                  /var/log/boot.log</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
</tbody>
</table>
<p>Add a new line in this file, as follows:</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"># root will gets login failure messages on its terminal</td>
</tr>
<tr>
<td width="638" valign="top">authpriv.warning                                        root</td>
</tr>
</tbody>
</table>
<p>You can also add multiple users with comma separated like</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"># root will gets login failure messages on its terminal</td>
</tr>
<tr>
<td width="638" valign="top">authpriv.warning                                        root,Rahul</td>
</tr>
</tbody>
</table>
<p>After doing the changes on syslog configuration file, restart the syslog service by following command.</p>
<table style="height:13px;" border="0" cellspacing="0" cellpadding="0" width="638">
<tbody>
<tr>
<td width="638" valign="top"># service rsyslog start</td>
</tr>
<tr>
<td width="638" valign="top"></td>
</tr>
</tbody>
</table>
<p>Now you can get the live information directly on your terminal, if someone trying to do a password attack.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Set your hostname in Linux]]></title>
<link>http://aminesoft.wordpress.com/2009/09/14/set-your-hostname-in-linux/</link>
<pubDate>Mon, 14 Sep 2009 18:55:02 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/09/14/set-your-hostname-in-linux/</guid>
<description><![CDATA[If you are an administrator then you know what a hostname is. If you are not an administrator then y]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you are an administrator then you know what a hostname is. If you are not an administrator then you should know the hostname of a computer is the name which a network attached device is known. Unless you have manually changed your hostname, or set it up during installation, your hostname will most likely be “localhost.localdomain”.</p>
<p>Hostnames are most often used for administrative habits. In other words hostnames will show up in some scanning applications, can be used for name to IP address resolution, and much more. But to make this useful you will have to manually set your hostname on your Linux machine. This article will show you just how to do that.</p>
<p>Find your hostname</p>
<p>The most common means to find your host name is to open up a terminal window and enter the command:</p>
<p>hostname</p>
<p>If you have not set your hostname, more than likely you will see returned:</p>
<p>localhost.localdomain</p>
<p>A quick and easy way to spot if you have not changed your hostname is to check when you open up your terminal window. At your bash prompt you will see something like:</p>
<p>[jlwallen@localhost ~]$</p>
<p>As you can see a portion of the hostname (everything preceding the first “.”) will be used in your prompt. In the example you see above you see “localhost” which should tell you the hostname has not been changed.</p>
<p>Temporarily changing your hostname</p>
<p>You can temporarily change your hostname by issuing a single command. You have to issue this command either using sudo or as the root user. To make this change you will use the same command you used to find out your hostname, only you will include the new hostname to the command. Say you want to change your hostname to “willow”. To make this change temporarily issue the command:</p>
<p>hostname willow</p>
<p>Now issue the command hostname which should report back:</p>
<p>willow</p>
<p>This change will last until you reboot your machine.</p>
<p>Permanently changing your hostname</p>
<p>How you permanently change your hostname will depending upon which distribution you use. We’ll examine making this change on both a Ubuntu system and a Fedora system. First Ubuntu.</p>
<p>On a Ubuntu system there is a file called /etc/hostname. The contents of this file will have a single line containing the hostname of your machine. Open up this file in your favorite editor, delete the default hostname, add your desired hostname, and save the file. To make this chang take effect issue the command:</p>
<p>/etc/init.d/hostname.sh start</p>
<p>This hostname will remain intact upon reboot.</p>
<p>Now to change your hostname in Fedora. This is taken care of in the /etc/sysconfig/network file. The default contents of this file will look like:</p>
<p>NETWORKING=yes<br />
HOSTNAME=localhost.localdomain</p>
<p>Erase the “localhost.localdomain” portion and change that to reflect the hostname you want. Once you have made this change save the file. Once you have made this change issue the following command (as the root user):</p>
<p>/etc/rc.d/rc.sysinit</p>
<p>For the change to take effect.</p>
<p>Final thoughts</p>
<p>With your hostname changed applications like Lanmap will now be easier to use because machines will have unique names. This change will also make administering your systems easier because you will have set machine hostnames to reflect either the user of the machine or the machines’ job.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Map your network with Lanmap]]></title>
<link>http://aminesoft.wordpress.com/2009/09/14/map-your-network-with-lanmap/</link>
<pubDate>Mon, 14 Sep 2009 18:48:24 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/09/14/map-your-network-with-lanmap/</guid>
<description><![CDATA[This morning I needed a visual representation of my local Lan in order to find out what machines wer]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This morning I needed a visual representation of my local  Lan in order to find out what machines were associated with what IP addresses.  For this task I used a tool that has come in handy on a number of occasions.  That tool? <a title="Lanmap" href="http://www.parseerror.com/lanmap/" target="_blank">Lanmap</a>. Lanmap is a command-line only tool  available for Ubuntu that will monitor your network and compose a 2D image of  your network. This image will include information about your machines as well as  packets sent and MAC addresses. The tool is incredibly handy to have around.</p>
<p>I will warn you: The creator of Lanmap has dropped this  application in leiu of creating a much more robust Lanmap-2. Unfortunately  Lanmap-2 is not complete so Lanmap one will have to be used until 2 is complete.  Fortunately Lanmap is still in the Ubuntu repositories so installation is a  snap. And once installed, Lanmap is equally as easy to use.</p>
<p><strong>Installing  Lanmap</strong></p>
<p>As stated earlier, Lanmap is only available for Ubuntu  (and Debian-based) systems. Most likely, if you use apt-get, you can install  Lanmap. Of course you don’t have to install via command line, but if you want to  just issue the command:</p>
<p>sudo apt-get install lanmap</p>
<p>This command will prompt you for a Y or N to install the  requirements. Click “y” (no quotes) and hit enter. Lanmap will install quickly  and you’ll be ready to map.</p>
<p>If you want to install via GUI tool open up your  Add/Remove Software utility (found in the Applications menu in GNOME), do a  search for “lanmap” (no quotes), select the resulting lanmap entry, and click  Apply. Once you “okay” the dependencies the installation will be off and  running.</p>
<p><strong>Using Lanmap</strong></p>
<p>Lanmap is a command line tool that generates an image.  The structure of the command is:</p>
<p>lanmap -i INTERFACE -r INTERVAL -T IMAGE_TYPE  DIRECTORY_TO_STORE_IMAGE</p>
<p>Here are the specifics:</p>
<ul>
<li>INTERFACE: The interface you want to use to listen to  your network. Typically this will be in the form of eth0. You can use <em>all</em> without using the <em>-i </em>switch to listen on all interfaces.</li>
<li>INTERVAL: This sets the interval (in seconds) between  two consecutive graph generations (default being 60).</li>
<li>IMAGE_TYPE: The type of image file you want to generate.  The only supported types are: png, svg, and gif.</li>
<li>DIRECTORY_TO_STORE_IMAGE: Where you want to store the  image file.</li>
</ul>
<p>So if  I want to scan my network with all interfaces and  create a png image I would issue the command:</p>
<p><em>lanmap all -r 30 -T png ~/</em></p>
<div id="attachment_13711" style="width:211px;"><a href="http://www.ghacks.net/wp-content/uploads/2009/06/lanmap.png"><img src="http://www.ghacks.net/wp-content/uploads/2009/06/lanmap.png" alt="Figure 1" width="201" height="253" /></a>Figure 1</div>
<p>The resulting map (I am currently writing on a far  smaller network with machines that are not broadcasting their hostnames. You can  see the IP addresses and MAC addresses of course (see Figure 1).</p>
<p>You can see one machine (at IP address 192.168.1.10) is  broadcasting as “UBUNTU SERVER”, but outside of that, no hostnames are showing  up. This is not really a problem at this size of a network. On a larger network  I would hope more machines will show up with their hostnames. This, of course,  will depend upon your network setup.</p>
<p><strong>Final thoughts</strong></p>
<p>I have used plenty of applications to create network maps  that range from too many bells and whistles to too few features. Lanmap ventures  close to the latter, but offers just enough features to make it not only useable  but useful. Give Lanmap a try, I think you’ll find it as helpful a tool for your  networking toolkit as I do.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Firewall with iptables using mac address filtering in linux !]]></title>
<link>http://aminesoft.wordpress.com/2009/08/29/firewall-with-iptables-using-mac-address-filtering-in-linux/</link>
<pubDate>Sat, 29 Aug 2009 10:41:20 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/08/29/firewall-with-iptables-using-mac-address-filtering-in-linux/</guid>
<description><![CDATA[There are times when you might need to filter the traffic on your firewall using MAC addresses inste]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft" src="http://www.liberiangeek.net/wp-content/uploads/2009/08/Comodo_Firewall_Pro_logo.png" alt="http://www.liberiangeek.net/wp-content/uploads/2009/08/Comodo_Firewall_Pro_logo.png" width="116" height="132" />There are times when you might need to filter the traffic on your firewall using MAC addresses instead of IP addresses, <code>iptables</code> has the option to do it.</p>
<p>From the man page of iptables:</p>
<p>Note that this only makes sense for packets coming from an Ethernet device and entering the PREROUTING, FORWARD or INPUT chains.</p>
<p>You may want to insert this line in you firewall script.</p>
<pre>iptables -A INPUT -m mac --mac-source 00:11:2f:8f:f8:f8 -j DROP</pre>
<p>This way the packets comming from the network element with the MAC address <strong>00:11:2f:8f:f8:f8</strong> will be denied.</p>
<p>That is if you want to block the incoming packets to the firewall, but the blocked machine may still be able to send packets across the firewall, so to block those packets, you may want to add also this line.</p>
<pre>iptables -A FORWARD -m mac --mac-source 00:11:2f:8f:f8:f8 -j DROP</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Nmap - How To : Scan Hosts Of Networks For Open Ports !]]></title>
<link>http://aminesoft.wordpress.com/2009/08/29/nmap-how-to-scan-hosts-of-networks-for-open-ports/</link>
<pubDate>Sat, 29 Aug 2009 10:29:20 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/08/29/nmap-how-to-scan-hosts-of-networks-for-open-ports/</guid>
<description><![CDATA[Nmap is a wonderful tool specially for debugging, there are lots of times when you need to know if a]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft" src="http://www.british-nursing.com/cpd/images/nmap_logo.gif" alt="http://www.british-nursing.com/cpd/images/nmap_logo.gif" width="108" height="80" />Nmap is a wonderful tool specially for debugging, there are lots of times when you need to know if a port is open in a server, or maybe blocked by a firewall, or just to test your iptables rules.</p>
<p>Here we will learn how to use it at the command line, and using its GUI front end, nmapFE and Knmap.</p>
<h3>Introduction</h3>
<p><strong>Well, so what does nmap does?</strong></p>
<p>From the man page:</p>
<p>Nmap (“Network Mapper”) is an open source tool for network exploration and security auditing. It was designed to rapidly scan large networks, although it works fine against single hosts. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. While Nmap is commonly used for security audits, many systems and network administrators find it useful for routine tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.</p>
<p>As you can see it is a really useful Linux tool.</p>
<h3>Command Line</h3>
<p><strong>How to use it</strong></p>
<p>Nmap has lots of options, so we are going to focus on only some of them.</p>
<p>sudo nmap -sS -O 127.0.0.1</p>
<dl>
<dt>-sS</dt>
<dd>TCP SYN scan</dd>
<dt>-O</dt>
<dd>Enable Operating System detection</dd>
</dl>
<p>sudo nmap -sU 127.0.0.1</p>
<dl>
<dt>-sU</dt>
<dd>UDP ports scan</dd>
</dl>
<p>sudo nmap -sS -O -p 20-25 127.0.0.1</p>
<dl>
<dt>-sS</dt>
<dd>TCP SYN scan</dd>
<dt>-p 20-25</dt>
<dd>Scan on ports 20 to 25</dd>
</dl>
<p>sudo nmap -sS -F 127.0.0.1</p>
<dl>
<dt>-sS</dt>
<dd>TCP SYN scan</dd>
<dt>-F</dt>
<dd>Fast (limited port) scan</dd>
</dl>
<p>you can check the long nmap man page</p>
<p>man nmap</p>
<h3>Graphical interfaces</h3>
<p><strong>nmap Front End (nmapFE)</strong></p>
<p>This is one of its front ends to install it run:</p>
<p>For Fedora / Centos</p>
<p>sudo yum install nmap nmap-frontend</p>
<p>For Debian / Ubuntu</p>
<p>sudo aptitude install nmapfe</p>
<p><img src="http://www.go2linux.org/pics/nmap/nmapFE.jpg" alt="nmapFE" /></p>
<p>On target you put the IP or IPs you want to scan, select the scan type, if you want TCP SYN, UDP, Connect scan, or other, the most used are SYN and UDP if you want to scan for UDP ports. Also select the scanned ports, you can scan the default ones, All, fast (only the ports in nmap-services file).</p>
<p><img src="http://www.go2linux.org/pics/nmap/nmapFE_discover.jpg" alt="nmapFE" /></p>
<p>Select if you want to use the discovery option, if you want to ping and which type of ping you want to use to discover network nodes if you have specified an IP range to scan.</p>
<p><img src="http://www.go2linux.org/pics/nmap/nmapFE_files.jpg" alt="nmapFE" /></p>
<p>Useful if you want to send the output to a file.</p>
<p><img src="http://www.go2linux.org/pics/nmap/nmapFE_options.jpg" alt="nmapFE" /></p>
<p>Lots of other tools, if you want you can enable verbosity of debugging, and if you want IPv6 support.</p>
<p><strong>KDE Nmap (knmap)</strong></p>
<p>To install it</p>
<p>For Fedora download the rpm <a href="http://www.kde-apps.org/content/show.php?content=31108" target="_blank">here </a></p>
<p>then run:</p>
<p>sudo rpm -ivh [downloaded package]</p>
<p>For Debian / Ubuntu</p>
<p>sudo aptitude install knmap</p>
<p><img src="http://www.go2linux.org/pics/nmap/knmap.jpg" alt="knmap" /></p>
<p>Its interface has divided the options in a very convenient way, in the common options you will see the target IPs, the port range and if you want it to resolve names.</p>
<p><img src="http://www.go2linux.org/pics/nmap/knmap_simple_options.jpg" alt="knmap" /></p>
<p>Here you select if you want to scan all ports, perform a fast scan, IPv6 support, Operating System detection, verbose, and other options.</p>
<p><img src="http://www.go2linux.org/pics/nmap/knmap_compound_options.jpg" alt="knmap" /></p>
<p>In compound options, you will find a lot more options to play with, you can select which interface to use, which IP, and even if you want to spoof your Mac address!</p>
<p><img src="http://www.go2linux.org/pics/nmap/knmap_ping_scan.jpg" alt="knmap" /></p>
<p>Ping and scan options is like the discover and the scan tabs of nmapFE together.</p>
<h3>Conclusion</h3>
<p>Nmap is a must have tool for network and security administrators, also the GUI front ends are good and easy ways to use them, and also to learn how to use them, because you can discover new applications, and with nmapFE you can see the command that is going to be executed, another good point for knmap is that it has the possibility to save profiles, with all the options you have enabled, so your next scan is easier.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Anti-virus Softwares for Linux]]></title>
<link>http://aminesoft.wordpress.com/2009/08/21/anti-virus-softwares-for-linux/</link>
<pubDate>Fri, 21 Aug 2009 19:13:59 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/08/21/anti-virus-softwares-for-linux/</guid>
<description><![CDATA[AMaVis : (e-mail Virus Scanner) It scans e-mail attachments for viruses using third-party virus scan]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:left;"><img class="aligncenter size-medium wp-image-419" title="antivirus_logo" src="http://aminesoft.wordpress.com/files/2009/08/antivirus_logo.png?w=300" alt="antivirus_logo" width="368" height="154" /></p>
<p style="text-align:left;"><a href="http://www.amavis.org/"><span style="color:#0000ff;">AMaVis</span> : </a>(e-mail Virus Scanner) It scans e-mail attachments for viruses using third-party virus scanners available for Linux. It Supports courier, exim, qmail, postfix, and sendmail. Built-in defense against Denial of Service (DoS) attacks</p>
<pre><span style="color:#3333ff;">sudo apt-get install amavis-stats</span></pre>
<p style="text-align:left;"><a href="http://www.avast.com/eng/avast-for-linux-workstation.html"><span style="color:#0000ff;">Avast!</span> </a> : It is an anti-virus program from ALWIL Software based in Prague. This is a freeware for home users and non-commercial use only. It is a good software for virus protection, with built-in anti-spyware and anti-rootkit security. Work on all modern linux distributions. It scans archives like rar, tgz, zip, gzip, tar, iso, rpm etc.</p>
<p><span style="color:#ff0000;"><a href="http://www.grisoft.com/">AVG Free</a></span> : AVG Free for Linux is a commercial-grade antivirus software. It can be used on a single computer and is used for private, non-commercial use only. AVG Free has both command line and a graphical front end are available. It provides frequent updation and total professional security.</p>
<p><span style="color:#ff0000;"><a href="http://www.clamav.net/">ClamAV</a></span> : Clam AntiVirus designed especially for e-mail scanning on mail gateways.It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library.Built-in support for document formats including MS Office and MacOffice files, PDF, HTML and RTF. It supports archives like rar, tgz, zip, gzip, tar, iso, rpm etc</p>
<pre><span style="color:#3333ff;">sudo apt-get install clamav</span></pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Howto : Password Protect Grub in Ubuntu/Debian Linux]]></title>
<link>http://aminesoft.wordpress.com/2009/08/21/howto-password-protect-grub-in-ubuntudebian-linux/</link>
<pubDate>Fri, 21 Aug 2009 18:49:04 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/08/21/howto-password-protect-grub-in-ubuntudebian-linux/</guid>
<description><![CDATA[Some recent posts showing that your linux box is not secure unless you installed a grub Password. If]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#cc0000;">Some recent posts showing that your linux box is not secure unless you installed a grub Password.</span><br />
<span style="color:#006600;">If you are an administrator of a highly sensitive server, you must do it. </span><br />
To add a password for  grub, first you must generate an md5 password hash using the grub-md5-crypt utility: <span style="font-weight:bold;color:#000099;">grub-md5-crypt</span></p>
<p>The command will ask you to enter a password and offer a resulting hash value as shown below:</p>
<p><span style="color:#000099;">Password: (enter new password)</span><br />
<span style="color:#000099;"> Retype password: (repeat password)</span><br />
<span style="color:#000099;"> $1$s3YiK$M3lxAbqA6JLm2FbDWnClQ0</span></p>
<p>Add the resulting hash value to the file <span style="font-weight:bold;color:#000099;">/boot/grub/menu.lst</span> in the following format:</p>
<p><span style="font-weight:bold;color:#000099;">password &#8211;md5 $1$s3YiK$M3lxAbqA6JLm2FbDWnClQ0</span></p>
<p>To require use of the password for entering single user mode, change the value of the     <span style="font-weight:bold;font-style:italic;color:#006600;">lockalternative</span> variable in the file <span style="font-weight:bold;color:#000099;">/boot/grub/menu.lst</span> to true, as shown in the following example.</p>
<p><span style="font-weight:bold;color:#000099;"># lockalternative=true</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Howto : Disable Pango To Get Faster Firefox]]></title>
<link>http://aminesoft.wordpress.com/2009/08/21/howto-disable-pango-to-get-faster-firefox/</link>
<pubDate>Fri, 21 Aug 2009 18:44:36 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/08/21/howto-disable-pango-to-get-faster-firefox/</guid>
<description><![CDATA[Today i find out that Ubuntu&#8217;s Firefox packages are compiled and packed with Pango support (Yo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft" title="firefox" src="http://computerworld.name/wp-content/uploads/2007/07/firefox43-resize.jpg" alt="" width="159" height="131" />Today i find out that Ubuntu&#8217;s Firefox packages are compiled and packed with Pango support (You may want to read more about Pango <a rel="nofollow" href="http://en.wikipedia.org/wiki/Pango">here</a>.) This is quite useless and problematic on Ubuntu so it is better to disable it to gain speed. I am talking about real speeds up to %30 &#8211; %40. There are a couple ways to disable it :</p>
<p>1- You can compile Firefox yourself<br />
2- You can compile Firefox via ubuntuzilla<br />
3- Or you can continue reading and finish this title in a couple of seconds <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Open a terminal and edit your .bashrc file :</p>
<p><code>$gedit ~/.bashrc</code></p>
<p>at the end of that file add the following and save it :</p>
<p><code>export MOZ_DISABLE_PANGO=1</code></p>
<p>Restart your firefox ($pkill firefox) and see the difference.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Howto, Apache .htaccess Password protected directories !]]></title>
<link>http://aminesoft.wordpress.com/2009/08/14/howto-apache-htaccess-password-protected-directories/</link>
<pubDate>Fri, 14 Aug 2009 14:12:33 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/08/14/howto-apache-htaccess-password-protected-directories/</guid>
<description><![CDATA[Step # 1: Make sure Apache is configured to use .htaccess file You need to have AllowOverride AuthCo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div>
<div>
<h3 style="text-align:left;"><img class="alignleft" src="http://www.videobourse.fr/images/cadna.png" alt="http://www.videobourse.fr/images/cadna.png" width="105" height="96" /><strong>Step # 1: Make sure Apache is configured to use .htaccess file</strong></h3>
<p>You need to have AllowOverride AuthConfig directive in httpd.conf file in order for these directives to have any effect.Therefore, my entry in httpd.conf looks like as follows:</p>
<p>&#60;Directory /var/www&#62;<br />
Options None<br />
AllowOverride AuthConfig<br />
Order allow,deny<br />
Allow from all<br />
&#60;/Directory&#62;</p>
<p>Save the file and restart Apache<br />
If you are using Red Hat /Fedora Linux:</p>
<p><span style="color:#ff0000;"># service httpd restart</span></p>
<h3>Step # 2: Create a password file with htpasswd</h3>
<p>htpasswd command is used to create and update the flat-files (text file) used to store usernames and password for basic authentication of Apache users</p>
<p>htpasswd -c password-file username</p>
<p>where -c means create the password-file</p>
<p>Create directory outside apache document root, so that only Apache can access password file.</p>
<p># mkdir -p /home/secure/</p>
<p>Add new user called hasnain</p>
<p>#<span style="color:#ff0000;"> htpasswd -c /home/secure/apasswords hasnain</span></p>
<p>Make sure /home/secure/apasswords file is readable by Apache web server.</p>
<p>If you are using RedHat and Fedora core, type the following commands :<br />
#<span style="color:#ff0000;"> grep -e ‘^User’ /etc/httpd/conf/httpd.conf</span></p>
<p>Output:</p>
<p>apache</p>
<p>Now allow apache user apache to read our password file:<br />
# <span style="color:#ff0000;">chown apache:apache /home/secure/apasswords</span><br />
# <span style="color:#ff0000;">chmod 0660 /home/secure/apasswords</span></p>
<p>Now our user hasnain is added but you need to configure the Apache web server to request a password and tell the server which users are allowed access.</p>
<p>Create a directory /var/www/docs if it does not exist:<br />
# mkdir -p /var/www/docs</p>
<p>Create .htaccess file using text editor:<br />
# cd /var/www/docs<br />
# vi .htaccess</p>
<p>Add following text:</p>
<p>AuthType Basic<br />
AuthName “Restricted Access”<br />
AuthUserFile /home/secure/apasswords<br />
Require user hasnain</p>
<h3>Step # 3: Test your configuration</h3>
<p>Fire your browser type url http://yourdomain.com/docs/ or http://localhost/docs/ or http://ip-address/docs</p></div>
</div>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:0;width:1px;height:1px;"><img src="/Users/AMINES%7E1/AppData/Local/Temp/moz-screenshot.png" alt="" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SSH Menu – Save and Open SSH Connections from the Panel -COOL-]]></title>
<link>http://aminesoft.wordpress.com/2009/06/27/ssh-menu-%e2%80%93-save-and-open-ssh-connections-from-the-panel-cool/</link>
<pubDate>Sat, 27 Jun 2009 15:46:22 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/06/27/ssh-menu-%e2%80%93-save-and-open-ssh-connections-from-the-panel-cool/</guid>
<description><![CDATA[I was looking for a replacement for SecureCRT in Ubuntu. Something that would let me save all my SSH]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div>
<p>I was looking for a replacement for <a href="http://www.vandyke.com/products/securecrt/">SecureCRT</a> in Ubuntu. Something that would let me save all my SSH connections and make it possible to open a connection with the least effort.</p>
<p>As is often the case, I found something better than SecureCRT – a panel applet for GNOME that gives me a drop-down list of SSH connections. <a href="http://www.mclean.net.nz/ruby/sshmenu/">SSHMenu</a> is cool, way too cool.<br />
<img src="http://ubuntu.files.wordpress.com/2007/08/ssh-menu1.png" alt="SSH Menu" /></p>
<p>Above, you can see my list of ssh accounts in all their glory. A connection is just a click away.</p>
<p>When you set up the connections, you can specify the geometry – ie, where on your desktop you want the gnome-terminal window to pop up, as well as a “profile” for the gnome-terminal instance – very handy if you want to have different color schemes for different ssh accounts to be able to distinguish between them better.<br />
<img src="http://ubuntu.files.wordpress.com/2007/08/ssh-menu2.png" alt="SSH Menu Options" /></p>
<p>What’s even better is, in the “Hostname (etc)” field, you can prepend ssh options to the hostname. The figure below shows my port forwarding setup for IRC at school, since I can’t chat using port 6667 at school.<br />
<img src="http://ubuntu.files.wordpress.com/2007/08/ssh-menu4.png" alt="SSHMenu Account Options" /></p>
<p>There’s a <a href="http://www.mclean.net.nz/ruby/sshmenu/debian.html">Debian/Ubuntu repository for SSHMenu</a>, and of course, nothing stops you from downloading the .deb packages and installing them if you don’t wish to add another repository to you list of repositories. I wonder how long before SSHMenu finds itself into the Ubuntu repositories <img src="https://s-ssl.wordpress.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>Once you get SSHMenu installed, you can add it to your panel by right-clicking on your GNOME panel, and selecting “Add to Panel”. SSHMenu should be listed as “SSH Menu Applet” under the “Utilities” section. Then all you have to do is use the tool to add accounts that pops-up when you install the applet, or add the accounts later by clicking on the “SSH” in your panel. However, this still doesn’t take us to “one-click” login, since you will be prompted for your password by the server you are trying to connect to.</p>
<p>To make the connections truly one-click (or two-click), you might want to setup password-less logins using ssh-keygen and ssh-copy-id. A quick overview of that process follows:<br />
On your local computer, type:<br />
<code>$ssh-keygen -t rsa</code><br />
<span style="text-decoration:line-through;">When prompted for a password, you may want to enter none. If you enter a password there, you will have to enter it everytime you try to use the “passwordless” login, which kind of defeats the purpose.</span></p>
<p>Enter a password here. Then when you try to connect to the accounts using SSHMenu, you will asked for the password only once, the very first time. (Thanks to Grant, SSHMenu’s author for the explanation in the comments).</p>
<p>Once your RSA key-pair is generated, you need to add the public key to your server’s ~/.ssh/authorized_keys file. You can do this very easily by typing (on your local computer):<br />
<code>$ssh-copy-id ~/.ssh/id_rsa.pub username@example.com</code><br />
This will copy your public key for the just-generated RSA keypair to the example.com ssh account, where your username is “username”.<br />
Of course, for this passwordless login to work, the server needs to accept this method of authentication. There’s an <a href="http://www.debian-administration.org/articles/152">old article at the Debian Administration blog</a> that describes the process in a little more detail, and countless others have written about this, so you won’t have trouble finding info.</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Use VNC Through SSH (linux)]]></title>
<link>http://aminesoft.wordpress.com/2009/05/23/use-vnc-through-ssh-linux/</link>
<pubDate>Sat, 23 May 2009 22:06:08 +0000</pubDate>
<dc:creator>abdessmed mohamed amine</dc:creator>
<guid>http://aminesoft.wordpress.com/2009/05/23/use-vnc-through-ssh-linux/</guid>
<description><![CDATA[Some times its nice to tunnel through SSH. Perhaps you have SSH running but the firewall does not al]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Some times its nice to tunnel through SSH. Perhaps you have SSH running but the firewall does not allow anything but SSH in. You can tunnel VNC (or any other service) through SSH by doing the following:</p>
<p>On the machine local to you establish an SSH connection to the remote machine with “Local (-L)”  port forwarding. This may seem confusing and often confuses me, where &#60;-p PORT&#62; is optional</p>
<blockquote>
<pre>ssh -L 5901:localhost:5900 username@HOST &#60;-p PORT&#62;</pre>
</blockquote>
<p>Once I have the connection established I can now use vncviewer to connect to my local host with the port specified</p>
<blockquote>
<pre>vncviewer  localhost:5901</pre>
</blockquote>
<p>have fun <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Engarde Secure Linux]]></title>
<link>http://fentanyl.wordpress.com/2009/05/08/engarde-secure-linux/</link>
<pubDate>Fri, 08 May 2009 09:29:21 +0000</pubDate>
<dc:creator>fentanyl</dc:creator>
<guid>http://fentanyl.wordpress.com/2009/05/08/engarde-secure-linux/</guid>
<description><![CDATA[Engarde Secure Linux, out of the box Linux distribution built for what the name says, Secure (securi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Engarde Secure Linux, out of the box Linux distribution built for what the name says, Secure (security). Engarde Secure Linux does just that for your server with easy to setup user restrictions, trusted hosts, Firewall protection etc via the GDWT (Guardian Digital WebTool).</p>
<p>Download</p>
<p><a href="http://fentanyl.wordpress.com/files/2009/05/engarde-secure-linux.pdf">ENGARDE SECURE LINUX</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hacking Linux Exposed (3rd Edit) - Hacking Exposed (2nd Edit)]]></title>
<link>http://crypt3m4.wordpress.com/2009/04/23/10/</link>
<pubDate>Thu, 23 Apr 2009 10:33:12 +0000</pubDate>
<dc:creator>crypt3m4</dc:creator>
<guid>http://crypt3m4.wordpress.com/2009/04/23/10/</guid>
<description><![CDATA[Click images to download Ebooks. Rename files in .7z. Request password and Enjoy!!]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a title="Hacking Linux Exposed" href="http://crypt3m4.wordpress.com/files/2009/04/hacking-exposed-linux.pdf" target="_self"> <img class="alignnone size-medium wp-image-7" title="hackinglinuxjpg" src="http://crypt3m4.wordpress.com/files/2009/04/hackinglinuxjpg.jpeg?w=242" alt="hackinglinuxjpg" width="165" height="205" /> </a> <a title="Hacking Exposed" href="http://crypt3m4.wordpress.com/files/2009/04/hacking-exposed.pdf" target="_self"><img class="alignnone size-medium wp-image-6" title="hackingjpg" src="http://crypt3m4.wordpress.com/files/2009/04/hackingjpg.jpeg?w=242" alt="hackingjpg" width="165" height="205" /></a></p>
<p>Click images to download Ebooks. Rename files in .7z. Request password and Enjoy!!</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
