<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Daniel Lange's blog (Entries tagged as security)</title>
    <link>http://daniel-lange.com/</link>
    <description>agrep -pB IT /dev/life</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7 - http://www.s9y.org/</generator>
    <pubDate>Fri, 30 Nov 2012 08:46:30 GMT</pubDate>

    <image>
        <url>http://daniel-lange.com/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Daniel Lange's blog - agrep -pB IT /dev/life</title>
        <link>http://daniel-lange.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Securing the grub boot loader</title>
    <link>http://daniel-lange.com/archives/75-Securing-the-grub-boot-loader.html</link>
            <category>Open Source</category>
    
    <comments>http://daniel-lange.com/archives/75-Securing-the-grub-boot-loader.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=75</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=75</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Since version 2.0 the behaviour of grub regarding passwords has changed quite substantially.
It can be nicely used to secure the boot process so that a X display manager (gdm, kdm, lightdm, ...) or login prompt cannot be circumvented by editing the Linux kernel boot command line parameters. The &lt;a href=&quot;http://www.gnu.org/software/grub/manual/html_node/Security.html&quot; title=&quot;GNU grub manual page on Authentication and authorisation&quot;&gt;documentation&lt;/a&gt; is concise but many old how-tos may lead you down the wrong GNU grub &quot;legacy&quot; (the pre-2.0 versions) path.&lt;/p&gt;

&lt;p&gt;So this assumes you have a grub installed and working.
I.e. if you press Shift during boot, you get a grub menu and can edit menu entries via the e key.&lt;/p&gt;

&lt;p&gt;First you need to setup grub users and corresponding passwords:&lt;/p&gt;

&lt;p&gt;Run &lt;em&gt;grub-mkpasswd-pbkdf2&lt;/em&gt; to encrypt every password you want to use for grub users (which are technically unrelated to Linux system users at this time).&lt;br /&gt;
You&#039;ll get a string like &#039;grub.pbkdf2.sha512.10000...&#039;. It will replace the plain text passwords.&lt;/p&gt;

&lt;p&gt;In &#039;/etc/grub/40_custom&#039; add lines like:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&amp;#35; These users can change the config at boot time and run any menuentry:&lt;br /&gt;
  set superusers=&quot;root user1&quot;&lt;br /&gt;
  password_pbkdf2 root  grub.pbkdf2.sha512.10000.aaa...&lt;br /&gt;
  password_pbkdf2 user1 grub.pbkdf2.sha512.10000.bbb...&lt;br /&gt;
  &amp;#35; This user can only run specifically designated menuentries (not a superuser):&lt;br /&gt;
  password_pbkdf2 user2 grub.pbkdf2.sha512.10000.ccc...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now once you did this grub v. 2.0+ will ask for a supervisor password every time you want to boot any menu item.
This is a changed behavior from v. 1.9x which defaulted to allow all entries if no user restriction was specified.
So you need to add &#039;--unrestricted&#039; to all &#039;menuentries&#039; that any user shall be able to boot.
You can edit &#039;/boot/grub/grub.cfg&#039; and add --unrestricted to (the default) menuentries.
Or you can edit the &#039;linux_entry ()&#039; function in &#039;/etc/grub/10_linux&#039; so that the &#039;echo &quot;menuentry ...&quot;&#039; lines include --unrestricted by default:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;[...]&lt;br /&gt;
  echo &quot;menuentry &#039;$(echo &quot;$title&quot; | grub_quote)&#039; &lt;font color=&quot;red&quot;&gt;--unrestricted&lt;/font&gt; ${CLASS} \$menuentry_id_option &#039;gnulinux-$version-$type-$boot_device_id&#039; {&quot; | sed &quot;s/^/$submenu_indentation/&quot;&lt;br /&gt;
  else&lt;br /&gt;
  echo &quot;menuentry &#039;$(echo &quot;$os&quot; | grub_quote)&#039; &lt;font color=&quot;red&quot;&gt;--unrestricted&lt;/font&gt; ${CLASS} \$menuentry_id_option &#039;gnulinux-simple-$boot_device_id&#039; {&quot; | sed &quot;s/^/$submenu_indentation/&quot;&lt;br /&gt;
  [...]&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Make a backup of this file as it will be overwritten by grub updates.
This way all Linux kernels detected by the script will be available to all users without identifying to grub via username / password.&lt;/p&gt;

&lt;p&gt;Now issue &lt;em&gt;update-grub&lt;/em&gt; to re-generate &#039;grub.cfg&#039; with the amended menuentries.&lt;/p&gt;

&lt;p&gt;If everything worked well, your system can now be booted unrestricted but the grub configuration can only be changed from the grub superusers after identifying with their username and password at the grub prompt.&lt;/p&gt;

&lt;p&gt;Bonus point:&lt;/p&gt;

&lt;p&gt;If you want to create menuentries that user2 (and any superuser) from the above example user list can run, add blocks like these to the end of &#039;40_custom&#039;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;menuentry &quot;Only user2 (or superuser) can run this Windows installation&quot; &lt;font color=&quot;red&quot;&gt;--users user2&lt;/font&gt; {&lt;br /&gt;
    set root=(hd1,1)&lt;br /&gt;
    chainloader +1&lt;br /&gt;
  }&lt;/p&gt;
&lt;/blockquote&gt;
 
    </content:encoded>

    <pubDate>Sun, 07 Oct 2012 23:55:00 +0200</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/75-guid.html</guid>
    <category>boot</category>
<category>grub</category>
<category>security</category>

</item>
<item>
    <title>Google GMail dominating the email market</title>
    <link>http://daniel-lange.com/archives/46-Google-GMail-dominating-the-email-market.html</link>
            <category>Other</category>
    
    <comments>http://daniel-lange.com/archives/46-Google-GMail-dominating-the-email-market.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=46</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=46</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Google&#039;s GMail was launched in April 2004 and only in February 2007 Google dropped its invite system to open up to the general public acc. to &lt;a href=&quot;http://en.wikipedia.org/wiki/History_of_Gmail&quot; title=&quot;Wikipedia article on the history of GMail&quot;&gt;Wikipedia&#039;s history of GMail&lt;/a&gt;. That&#039;s some five years of operations up to now.&lt;/p&gt;

&lt;p&gt;It kind of amazed me how many people I know have GMail as their primary mail provider. So I took the chance today to get a bit of statistics to check my gut feelings:&lt;/p&gt;

&lt;p&gt;A friend of mine selected some (mostly American) bloggers that have indicated specific interests in a topic related to his Doctoral thesis. This sample ended up to be 1,375 people. These folks have 295 different email domains. Only.&lt;/p&gt;

&lt;p&gt;A whooping 46% of the (rather random) sample use GMail, 12% Yahoo, 8% Hotmail and about 3% AOL.
While Yahoo has some foreign domains in the sample (yahoo.co.uk, yahoo.ca, see &lt;em&gt;mostly&lt;/em&gt; American bloggers above), these add up to around 0.1% of the sample so it&#039;s not really significant.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://daniel-lange.com/uploads/entries/090528_Blogger_Email_Domains.png&quot; alt=&quot;Distribution of American blogger&#039;s email domains&quot; /&gt;&lt;/p&gt;

&lt;p&gt;This data is in no way representative, but still wow. Google basically has a monopoly on search and now seems to have a close-to-majority footprint in personal email.&lt;/p&gt;

&lt;p&gt;I guess the dominance is currently larger in the States than in Europe or Asia as GMail has only gradually learned languages beyond English.&lt;br /&gt;
Large local providers should also have some foothold in these markets. Similar to the Comcast and SBC customers still significant in sample depicted above. Just the local providers in Europe and Asia will be somewhat stronger (for now). Google is also aggressively targeting corporations with hosted email and apps now so one can expect further and accelerated growth in that area. Quite a number of companies are considering using hosted email instead of the conventional mail system they have operated on site for many years now.&lt;/p&gt;

&lt;p&gt;So while &lt;a href=&quot;http://ginatrapani.org/&quot; title=&quot;Gina Trapani&#039;s homepage&quot;&gt;Gina Trapani&lt;/a&gt; recommends &lt;a href=&quot;http://lifehacker.com/5261934/break-googles-monopoly-on-your-data-switch-to-yahoo-search&quot; title=&quot;Lifehacker blog entry: Break Google&#039;s Monopoly on Your Data: Switch to Yahoo Search&quot;&gt;&quot;Break Google&#039;s Monopoly on Your Data: Switch to Yahoo Search&quot;&lt;/a&gt;, may I humbly point out: It&#039;s becoming quite impossible to just keep your emails between the recipient and the addressee these days.&lt;/p&gt;

&lt;p&gt;Even if you personally do not use GMail, Google can (technically) still profile you because a huge chunk of  people you communicate with send from GMail and receive and store your emails there.&lt;/p&gt;

&lt;p&gt;Nearly all email that is sent also passes spam filters before delivery. Google bought the &lt;a href=&quot;http://www.google.com/intl/en/press/pressrel/postini_20070709.html&quot; title=&quot;Google Press Release about the Postini acquisition&quot;&gt;Postini&lt;/a&gt; spam filter in 2007. That anti-spam service is used by many enterprises and even city governments, see &lt;a href=&quot;http://www.google.com/postini/customers.html&quot; title=&quot;Google Postini customer testimonials&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So time to consider (unencrypted) email as what it has always been: The digital equivalent of a postcard.&lt;br /&gt;
Just now Google has become the postmen. All of them, every second shift. You should hope they&#039;re not nosey. Or send letters.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 28 May 2009 23:55:00 +0200</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/46-guid.html</guid>
    <category>email</category>
<category>gmail</category>
<category>google</category>
<category>monopoly</category>
<category>privacy</category>
<category>security</category>

</item>
<item>
    <title>Disabling a group policy'd screensaver on Windows</title>
    <link>http://daniel-lange.com/archives/34-Disabling-a-group-policyd-screensaver-on-Windows.html</link>
            <category>IT</category>
    
    <comments>http://daniel-lange.com/archives/34-Disabling-a-group-policyd-screensaver-on-Windows.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>16</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;I guess many people know the issue of having a screen saver forced active after a some time through a group policy in a corporate environment. This is usually done to make sure systems are locked during breaks if people forget to press Win+L (or Ctrl+Alt+Del and then Enter).
While that may well help IT security, it turns problematic when giving presentations for extended periods of time.  Having to move the mouse through the presentation pointer every few minutes or dash back to the PC once the screen saver has kicked in, again, is simply annoying.
On your company&#039;s systems you may be able to get the system admins to allow configuration of the interval or allow for disabling the screen saver, but on foreign systems you&#039;re often lost. But...&lt;/p&gt;
 &lt;br /&gt;&lt;a href=&quot;http://daniel-lange.com/archives/34-Disabling-a-group-policyd-screensaver-on-Windows.html#extended&quot;&gt;Continue reading &quot;Disabling a group policy&#039;d screensaver on Windows&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 13 Aug 2008 21:33:05 +0200</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/34-guid.html</guid>
    <category>network</category>
<category>screensaver</category>
<category>security</category>
<category>updated</category>
<category>vista</category>
<category>windows</category>
<category>xp</category>

</item>
<item>
    <title>Remote keyless entry system Keeloq broken by security researchers</title>
    <link>http://daniel-lange.com/archives/25-Remote-keyless-entry-system-Keeloq-broken-by-security-researchers.html</link>
            <category>Vehicles</category>
    
    <comments>http://daniel-lange.com/archives/25-Remote-keyless-entry-system-Keeloq-broken-by-security-researchers.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=25</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=25</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;The remote keyless entry system KeeLoq is being used by Chrysler, Daewoo, Fiat, General Motors, Honda/Infiniti, Jaguar, Toyota/Lexus, Volvo and Volkswagen. A number of garage door opening systems and the like also use this technology. It is based on a secret cipher that has now been compromised by an international IT security research team. Two intercepted messages are deemed sufficient to clone a KeeLoq RFID tag as there are general keys inserted by the manufacterer and the key structure is partially determined by make and model. A stronger KeeLoq implementation (still) needs physical access to the key but only for a few minutes. It&#039;s also possible to permanently lock the legitimate owner out of his car or building and render his KeeLoq RFID useless. Details can be found at the &lt;a title=&quot;Ruhr University Bochum, Chair for Communication Security, KeeLoq &quot; target=&quot;_blank&quot; href=&quot;http://www.crypto.rub.de/keeloq/index.html&quot;&gt;researchers site&lt;/a&gt; and the folks at Wikipedia have also amended their &lt;a title=&quot;Wikipedia: KeeLoq&quot; target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/KeeLoq&quot;&gt;KeeLoq article&lt;/a&gt;.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Tue, 01 Apr 2008 00:45:00 +0200</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/25-guid.html</guid>
    <category>automotive</category>
<category>keeloq</category>
<category>security</category>

</item>

</channel>
</rss>
