<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>4sysops &#187; authentication</title>
	<atom:link href="http://4sysops.com/archives/tag/authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://4sysops.com</link>
	<description>For Windows Administrators</description>
	<lastBuildDate>Wed, 08 Feb 2012 20:25:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<image>
    <title>4sysops</title>
    <url>http://4sysops.com/4sysops-rss.png</url>
    <link>http://4sysops.com</link>
    <width>143</width>
    <height>49</height>
    <description>4sysops.com</description>
    </image>		<item>
		<title>FREE: PhoneFactor &#8211; Mobile phone based two-factor authentication</title>
		<link>http://4sysops.com/archives/free-phonefactor-mobile-phone-based-two-factor-authentication/</link>
		<comments>http://4sysops.com/archives/free-phonefactor-mobile-phone-based-two-factor-authentication/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 20:22:39 +0000</pubDate>
		<dc:creator>Justin Shin</dc:creator>
				<category><![CDATA[Free Tools]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">https://4sysops.com/?p=7825</guid>
		<description><![CDATA[PhoneFactor offers an easy to implement and inexpensive solution for IT groups that want to implement two-factor mobile phone based authentication without the overhead of physical tokens and licensing.]]></description>
			<content:encoded><![CDATA[<p><strong><i>PhoneFactor offers an easy to implement and inexpensive solution for IT groups that want to implement two-factor mobile phone based authentication without the overhead of physical tokens and licensing.</i></strong></p>
<p><a href="http://www.phonefactor.com/">PhoneFactor</a> is free for up to 25 users and reasonably priced after that. The beauty of PhoneFactor is that it utilizes something users already have &#8211; a mobile phone &#8211; as a token rather than a proprietary device.</p>
<p>PhoneFactor Agent, the software behind the service, acts as a RADIUS server for authentication to network resources such as a VPN. When a user attempts authentication, he will still first be prompted for a user name and password. After he enters those details, the service will place a call to his phone and require the user to answer the call and press the “#” button. Once this is completed, the user is successfully authenticated.</p>
<p>In this tutorial we will install the Agent on Windows Server 2008 R2, integrate with Active Directory, link a few user accounts, and set up a RADIUS server.</p>
<h2>Getting started</h2>
<p>You can download the PhoneFactor Agent after registering here. You will need a mobile phone to register since PhoneFactor utilizes their own system on their customer portal. Run the installer and launch the PhoneFactor Agent. You will be greeted by the Authentication Configuration Wizard, where you can:</p>
<ul>   
<li><strong>Enable replication between agents:</strong> Allows you to replicate data between multiple installations. Since we are only installing it on one server, do not check. </li>
<li><strong>Select Applications:</strong> You can apply PhoneFactor to a variety of applications, including Citrix, Outlook Web Access, and Remote Desktop. For our purposes, we will only choose VPN. </li>
<li><strong>VPN with Radius:</strong> Specify your VPN server IP address as well as a strong shared secret between the VPN server and PhoneFactor. Leave the default port options as-is. </li>
<li><strong>VPN Target: </strong>Since we want to authenticate against a Windows domain, we will choose Windows domain. However you can also use another RADIUS server (some firewalls have built-in RADIUS servers, so you can redirect back to the firewall). </li>
</ul>
<p><a href="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenciation-Phonefactor-Agent-Configuration.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenciation-Phonefactor-Agent-Configuration.png','',event,300,75)"><img style="margin: 0px auto; display: block; float: none" title="Mobile phone two-factor authenciation - Phonefactor Agent Configuration" alt="Mobile phone two-factor authenciation - Phonefactor Agent Configuration" src="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenciation-Phonefactor-Agent-Configuration_thumb.png" width="400" height="372" /></a></p>
<p align="center"><em>Phonefactor Agent Configuration</em></p>
<p>Click Finish and let PhoneFactor do its magic. Once the setup is complete, you can begin using the Agent.</p>
<h2>Locking down PhoneFactor</h2>
<p>By default, PhoneFactor will allow any user who successfully authenticates against AD to sign in &#8211; if no user is defined (and no phone number is linked), it will just authenticate the user. In most cases, you would not want this to happen. Navigate to <strong>Company Setup</strong> and choose “Fail Authentication” when user is disabled.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-Fail-authentication.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-Fail-authentication.png','',event,300,75)"><img style="margin: 0px auto; display: block; float: none" title="Mobile phone two-factor authenication - Fail authentication" alt="Mobile phone two-factor authenication - Fail authentication" src="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-Fail-authentication_thumb.png" width="600" height="219" /></a></p>
<p align="center"><em>Fail authentication</em></p>
<p>We will also want to specify a default search domain for AD users. Choose the “Username Resolution” tab and specify a default search domain for the option “Use Windows security identifiers (SIDs) for matching usernames.”</p>
<p><a href="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-security-identifiers-SID.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-security-identifiers-SID.png','',event,300,75)"><img style="margin: 0px auto; display: block; float: none" title="Mobile phone two-factor authentication - security identifiers (SID)" alt="Mobile phone two-factor authentication - security identifiers (SID)" src="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-security-identifiers-SID_thumb.png" width="381" height="152" /></a></p>
<p align="center"><em>Security identifiers (SIDs)</em></p>
<p>Finally, if your Active Directory user account setup is non-standard, you should navigate to <strong>Directory Integration</strong> and confirm in the “Filters” and “Attributes” tabs that the data fields you wish to use are the ones that PhoneFactor will use. Most administrators will not need to do this.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-Directory-Integration.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-Directory-Integration.png','',event,300,75)"><img style="margin: 0px auto; display: block; float: none" title="Mobile phone two-factor authenication - Directory Integration" alt="Mobile phone two-factor authenication - Directory Integration" src="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-Directory-Integration_thumb.png" width="400" height="363" /></a></p>
<p align="center"><em>Directory Integration</em></p>
<h2>Adding users</h2>
<p>Now we can begin adding users to our PhoneFactor implementation. Because of our previous setup, only users who have been added to PhoneFactor <em>with a phone number defined</em> will be able to authenticate successfully against AD. After all, not all users will require remote access. Navigate to the <strong>Users</strong> section and click “Import from Active Directory.”</p>
<p>This powerful interface allows you to select users by OU or filter terms. You can import all users at once &#8211; which is not advisable &#8211; or specify which ones to import in a granular fashion. The users you have selected will appear in the window on the right. You will notice that by default, “Only New Users with Phone Numbers” are enabled. This is the behavior you want, since users without a phone number will authenticate using only their AD credentials. Once you are ready, click “Import.”</p>
<p><a href="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-Import-users.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-Import-users.png','',event,300,75)"><img style="margin: 0px auto; display: block; float: none" title="Mobile phone two-factor authentication - Import users" alt="Mobile phone two-factor authentication - Import users" src="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-Import-users_thumb.png" width="600" height="457" /></a></p>
<p align="center"><em>Import users</em></p>
<p>In many cases, you will not have defined phone numbers yet for your users in Active Directory. This is OK; you will just need to do so now for each authorized user. Double-click the user, then define a phone number and enable the user.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-Phone-number-Enable-user.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-Phone-number-Enable-user.png','',event,300,75)"><img style="margin: 0px auto; display: block; float: none" title="Mobile phone two-factor authentication - Phone number - Enable user" alt="Mobile phone two-factor authentication - Phone number - Enable user" src="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authentication-Phone-number-Enable-user_thumb.png" width="300" height="211" /></a></p>
<p align="center"><em>Phone number &#8211; Enable user</em></p>
<p>Finally, you will see your newly-enabled user in the users listing. Once you have defined all of your users, you will need to configure your VPN server to authenticate using RADIUS.</p>
<p><a href="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-User-listing.png" onclick="return enlarge('http://4sysops.com/wp-content/plugins/zap_imgpop/','http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-User-listing.png','',event,300,75)"><img style="margin: 0px auto; display: block; float: none" title="Mobile phone two-factor authenication - User listing" alt="Mobile phone two-factor authenication - User listing" src="http://4sysops.com/wp-content/uploads/2012/01/Mobile-phone-two-factor-authenication-User-listing_thumb.png" width="600" height="28" /></a></p>
<p align="center"><em>User listing</em></p>
<h2>VPN Server Configuration with PhoneFactor RADIUS</h2>
<p>Since there are so many VPN servers out there, we will focus on a few general tips for setting this up. You will typically need to provide:</p>
<ul>   
<li><strong>PhoneFactor Agent IP</strong> </li>
<li><strong>PhoneFactor Agent Ports:</strong> Typically, 1645,1812 for authentication and 1646,1813 for accounting. Make sure the firewall on your Agent server does not block this traffic </li>
<li><strong>Shared Secret:</strong> This is the secret you had defined in the wizard and it should be strong since it will serve as a barrier between your VPN server and the RADIUS server. </li>
<li><strong>Timeout:</strong> Make sure you set a fairly high timeout value; by default, most VPN servers do not give you a lot of time to authenticate because the RADIUS server is local to the network and does not take long to perform the lookup. However, since PhoneFactor takes about 3-5 seconds to place the call, and the user can take anywhere from 2-20 seconds to actually respond, I would recommend a timeout of at least 30 seconds. </li>
</ul>
<p>That’s it! Though PhoneFactor offers more powerful features (especially in paid versions), you are already set up and ready to authenticate. For small businesses with fewer than 25 users, PhoneFactor is a free and easy to implement two-factor authentication solution. Give it a try today!</p>
<h2><a href="http://www.phonefactor.com/">PhoneFactor</a></h2>
Author: Justin Shin
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/how-to-disable-usb-drive-use-in-an-active-directory-domain/" title="How to disable USB drive use in an Active Directory domain (January 2, 2012)">How to disable USB drive use in an Active Directory domain</a> (0)</li>
	<li><a href="http://4sysops.com/archives/service-account-best-practices-part-2-least-privilege-implementation/" title="Service Account best practices &#8211; Part 2: Least Privilege implementation (December 30, 2011)">Service Account best practices &#8211; Part 2: Least Privilege implementation</a> (0)</li>
	<li><a href="http://4sysops.com/archives/four-fast-ways-to-improve-security-in-sql-server-2008-r2/" title="Four fast ways to improve security in SQL Server 2008 R2 (November 22, 2011)">Four fast ways to improve security in SQL Server 2008 R2</a> (12)</li>
	<li><a href="http://4sysops.com/archives/managed-service-accounts-in-windows-server-2008-r2/" title="Managed Service Accounts in Windows Server 2008 R2 (November 18, 2011)">Managed Service Accounts in Windows Server 2008 R2</a> (7)</li>
	<li><a href="http://4sysops.com/archives/raffle-setacl-studio-set-windows-permissions/" title="Raffle: SetACL Studio &#8211; Set Windows permissions (October 19, 2011)">Raffle: SetACL Studio &#8211; Set Windows permissions</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://4sysops.com/archives/free-phonefactor-mobile-phone-based-two-factor-authentication/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blocking brute force attacks under Linux</title>
		<link>http://4sysops.com/archives/blocking-brute-force-attacks-under-linux/</link>
		<comments>http://4sysops.com/archives/blocking-brute-force-attacks-under-linux/#comments</comments>
		<pubDate>Tue, 04 Jul 2006 21:49:44 +0000</pubDate>
		<dc:creator>Michael Pietroforte</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[firewalls]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://4sysops.com/archives/blocking-brute-force-attacks-under-linux/</guid>
		<description><![CDATA[<p>Marius Ducea discussed three ways how to block brute force attacks under Linux using iptables, PAM and fail2ban. All three posts are quite detailed and well written.</p>
<p> <a href="http://en.wikipedia.org/wiki/Iptables" target="_blank">iptables</a> is a tool for packet filtering and NAT. You can use it to setup a firewall with shell scripts. A shell script with just a few lines is enough to block an IP address attempting to establish too many connection within a certain time frame.</p>
<p><a href="http://en.wikipedia.org/wiki/Pluggable_authentication_module" target="_blank">PAM</a> (Pluggable Authentication Modules) is an API used by many Unix systems for authentication. Marius described how to use PAM to block the IP address of an attacker after three failed logon attempts on a ssh server.</p>
<p><a href="http://fail2ban.sourceforge.net/wiki/index.php/Main_Page" target="_blank">fail2ban</a> can be used to update firewall rules based on log files scans. Marius demonstrated how to secure an ssh server with fail2ban using iptables.</p>
<p>The last two options are certainly more sophisticated than the mere iptables solution. Unfortunately, it takes more time to configure them as you might have &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Marius Ducea discussed three ways how to block brute force attacks under Linux using iptables, PAM and fail2ban. All three posts are quite detailed and well written.</p>
<p> <a href="http://en.wikipedia.org/wiki/Iptables" target="_blank">iptables</a> is a tool for packet filtering and NAT. You can use it to setup a firewall with shell scripts. A shell script with just a few lines is enough to block an IP address attempting to establish too many connection within a certain time frame.</p>
<p><a href="http://en.wikipedia.org/wiki/Pluggable_authentication_module" target="_blank">PAM</a> (Pluggable Authentication Modules) is an API used by many Unix systems for authentication. Marius described how to use PAM to block the IP address of an attacker after three failed logon attempts on a ssh server.</p>
<p><a href="http://fail2ban.sourceforge.net/wiki/index.php/Main_Page" target="_blank">fail2ban</a> can be used to update firewall rules based on log files scans. Marius demonstrated how to secure an ssh server with fail2ban using iptables.</p>
<p>The last two options are certainly more sophisticated than the mere iptables solution. Unfortunately, it takes more time to configure them as you might have to install the tools first.</p>
<p>My favorite solution is fail2ban since you can use it with almost any application, plus there are packages for most Linux distributions. PAM is more difficult to setup as you probably will have to install it from sources.</p>
<p>Marius described the installation and configuration of all three options in detail:</p>
<p><a href="http://www.ducea.com/2006/06/28/using-iptables-to-block-brute-force-attacks/" target="_blank">Using iptables to Block Brute Force Attacks</a>
<a href="http://www.ducea.com/2006/06/29/using-pam-to-block-brute-force-attacks/" target="_blank">Using PAM to Block Brute Force Attacks</a>
<a href="http://www.ducea.com/2006/07/03/using-fail2ban-to-block-brute-force-attacks/" target="_blank">Using fail2ban to Block Brute Force Attacks</a></p>
Author: Michael Pietroforte
<br />
<small>Copyright &#169; 2006-2012, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0</small><br />
	<br /><strong>Related</strong>
	<ul class="st-related-posts">
	<li><a href="http://4sysops.com/archives/free-phonefactor-mobile-phone-based-two-factor-authentication/" title="FREE: PhoneFactor &#8211; Mobile phone based two-factor authentication (January 16, 2012)">FREE: PhoneFactor &#8211; Mobile phone based two-factor authentication</a> (1)</li>
	<li><a href="http://4sysops.com/archives/how-to-configure-tmg-for-ssl-client-certificate-authentication/" title="How to configure TMG for SSL Client Certificate Authentication (July 29, 2011)">How to configure TMG for SSL Client Certificate Authentication</a> (0)</li>
	<li><a href="http://4sysops.com/archives/using-tmg-one-time-passwords-and-kerberos-constrained-delegation/" title="Using TMG, one-time passwords and Kerberos Constrained Delegation (July 22, 2011)">Using TMG, one-time passwords and Kerberos Constrained Delegation</a> (2)</li>
	<li><a href="http://4sysops.com/archives/how-to-use-kerberos-constrained-delegation-with-forefront-tmg/" title="How to use Kerberos Constrained Delegation with Forefront TMG (July 13, 2011)">How to use Kerberos Constrained Delegation with Forefront TMG</a> (0)</li>
	<li><a href="http://4sysops.com/archives/secure-your-exchange-2010-server-with-forefront-tmg-part-2/" title="Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 2 (March 16, 2011)">Secure your Exchange 2010 Server with Forefront TMG &#8211; Part 2</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://4sysops.com/archives/blocking-brute-force-attacks-under-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

