<?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/"
	>

<channel>
	<title>Golden Apple Enterprises Ltd.</title>
	<atom:link href="http://www.gaeltd.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gaeltd.com</link>
	<description>UNIX and Security Consulting</description>
	<lastBuildDate>Tue, 03 Dec 2013 11:58:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.25</generator>
	<item>
		<title>Security: How safe is your vendor&#8217;s source code?</title>
		<link>http://www.gaeltd.com/security-how-safe-is-your-vendors-source-code/</link>
		<pubDate>Fri, 06 Jan 2012 12:20:59 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[breach]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=1715</guid>
		<description><![CDATA[News of the theft of Symantec&#8217;s Norton Anti-Virus source code has been rocking round the Internet today. InfosecIsland have some good coverage here and here. The real issue here of course is not that source to a popular AV app has been stolen &#8211; the core problems, that a lot of the commentary seems to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>News of the theft of Symantec&#8217;s Norton Anti-Virus source code has been rocking round the Internet today. InfosecIsland have some good coverage <a href="http://www.infosecisland.com/blogview/19200-Symantec-Confirms-Norton-AV-Source-Code-Exposed.html">here</a> and <a href="http://www.infosecisland.com/blogview/19182-Hackers-May-Leak-Norton-Antivirus-Source-Code.html">here</a>.</p>
<p>The real issue here of course is not that source to a popular AV app has been stolen &#8211; the core problems, that a lot of the commentary seems to be missing, is that of due diligence and vendor control.</p>
<p>Most companies will do some sort of due diligence on their suppliers. It varies between industries, and what the software solution is going to be used for &#8211; but usually things like credit checks, lists of reference sites, etc. are done. Depending on what the software does, the due diligence can also include things like looking at recent security audit reports, viewing physical and virtual site security procedures, and sometimes even penetration testing of the vendor.</p>
<p>But how many companies check who else has their vendor&#8217;s source? Is it held in escrow somewhere (which is very often a contractual requirement)? How secure is the escrow provider? Has the vendor done any deals with third parties that gives them access to the source? How secure are *they*?</p>
<p>Symantec&#8217;s problems are much greater than the loss of the source to an older version of Norton&#8217;s AV. They&#8217;ve suffered reputational damage because of the lapses of a third party &#8211; something they have no control over. The damage here is particularly severe, because Symantec have been growing their enterprise security business.</p>
<p>Customers will be asking awkward questions about how much of that Norton AV source has made it into Symantec&#8217;s other enterprise solutions. They&#8217;ll also be asking Symantec what other products the breached third party had the source to. These concerns will count heavily against Symantec in any competitive tender, and the damage for Symantec will continue for a long while after the noise around this breach has subsided.</p>
<p>The lesson to be learned from this &#8211; for both customers and vendors &#8211; is what impact loss of control over your source code has on your security stance, and the risks that that poses to your business. Both of these need to be factored into any vendor assessment and risk analysis.</p>

<div class="wp_rp_wrap  wp_rp_plain" id="wp_rp_first"><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-539" data-post-type="none" ><a href="http://www.gaeltd.com/gchq-can-you-crack-it-tips-and-hints/" class="wp_rp_title">GCHQ Can You Crack It: Tips and Hints</a></li><li data-position="1" data-poid="in-514" data-post-type="none" ><a href="http://www.gaeltd.com/can-you-crack-it-gchqs-challenge/" class="wp_rp_title">Can you crack it &#8211; GCHQ&#8217;s Challenge</a></li><li data-position="2" data-poid="in-516" data-post-type="none" ><a href="http://www.gaeltd.com/new-symbian-apps-for-nokia-mobiles/" class="wp_rp_title">New Symbian apps for Nokia mobiles</a></li><li data-position="3" data-poid="in-378" data-post-type="none" ><a href="http://www.gaeltd.com/free-solaris-10-security-training/" class="wp_rp_title">Free Solaris 10 security training</a></li><li data-position="4" data-poid="in-401" data-post-type="none" ><a href="http://www.gaeltd.com/the-loss-of-critical-skills-in-it/" class="wp_rp_title">The loss of critical skills in IT</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>New Symbian apps for Nokia mobiles</title>
		<link>http://www.gaeltd.com/new-symbian-apps-for-nokia-mobiles/</link>
		<pubDate>Mon, 05 Dec 2011 09:13:24 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[Nokia]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=516</guid>
		<description><![CDATA[You may have noticed the banner on the right of site, pointing to Nokia&#8217;s OVI store. Site updates and news are now available for download as an app for your Symbian mobile &#8211; grab it for free here. I&#8217;ve been a big Nokia fan since the 9200 Communicator came out, all those years ago. Ahead [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>You may have noticed the banner on the right of site, pointing to Nokia&#8217;s OVI store. Site updates and news are now available for download as an app for your <strong>Symbian</strong> mobile &#8211; grab it for free <a href="http://store.ovi.com/publisher/GAE%20Ltd.">here</a>.</p>
<p>I&#8217;ve been a big Nokia fan since the 9200 Communicator came out, all those years ago. Ahead of their time, the Communicators were everything a techie needed &#8211; a keyboard, a decent SSH app, serial connectivity to talk to device consoles, and a cracking email client. The current model, the E7, carries on this Communicator heritage, and really embodies the &#8216;converged device&#8217; vision that Nokia have touted for quite some time.</p>
<p>Previously I&#8217;d been creating specific custom Symbian apps for clients, but have now started to roll out some of my most often used tools for download on Nokia&#8217;s OVI Store.</p>
<p>The main page for all of GAE&#8217;s apps can be found at <a href="http://store.ovi.com/publisher/GAE%20Ltd.">http://store.ovi.com/publisher/GAE%20Ltd.</a> Expect new apps, and more details of the existing ones, to be added to this site over the next month.</p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-539" data-post-type="none" ><a href="http://www.gaeltd.com/gchq-can-you-crack-it-tips-and-hints/" class="wp_rp_title">GCHQ Can You Crack It: Tips and Hints</a></li><li data-position="1" data-poid="in-514" data-post-type="none" ><a href="http://www.gaeltd.com/can-you-crack-it-gchqs-challenge/" class="wp_rp_title">Can you crack it &#8211; GCHQ&#8217;s Challenge</a></li><li data-position="2" data-poid="in-378" data-post-type="none" ><a href="http://www.gaeltd.com/free-solaris-10-security-training/" class="wp_rp_title">Free Solaris 10 security training</a></li><li data-position="3" data-poid="in-458" data-post-type="none" ><a href="http://www.gaeltd.com/exploring-solaris-auto-registration/" class="wp_rp_title">Exploring Solaris Auto-Registration</a></li><li data-position="4" data-poid="in-1715" data-post-type="none" ><a href="http://www.gaeltd.com/security-how-safe-is-your-vendors-source-code/" class="wp_rp_title">Security: How safe is your vendor&#8217;s source code?</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>GCHQ Can You Crack It: Tips and Hints</title>
		<link>http://www.gaeltd.com/gchq-can-you-crack-it-tips-and-hints/</link>
		<comments>http://www.gaeltd.com/gchq-can-you-crack-it-tips-and-hints/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 11:35:21 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[GCHQ]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=539</guid>
		<description><![CDATA[I&#8217;ve had a deluge of email about the GCHQ Can You Crack It challenge, asking for everything from the complete solution to some pointers. So here I&#8217;ll give some tips and hints that&#8217;ll help you work your way through it. GCHQ only hire British citizens: If you&#8217;re seriously doing this to look for a job, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve had a deluge of email about the <a href="http://www.gaeltd.com/can-you-crack-it-gchqs-challenge/">GCHQ Can You Crack It</a> challenge, asking for everything from the complete solution to some pointers. So here I&#8217;ll give some tips and hints that&#8217;ll help you work your way through it.</p>
<p><strong>GCHQ only hire British citizens:</strong><br />
If you&#8217;re seriously doing this to look for a job, bear in mind that GCHQ will only hire you if you&#8217;re a British citizen, and have lived in the UK for the last 10 years. It&#8217;s a fun challenge, but if you&#8217;re from Sweden you&#8217;re not going to get a job at the end of it (but thanks for all the emails guys!).</p>
<p><strong>You&#8217;ll want some sort of VM environment:</strong><br />
Really, I shouldn&#8217;t need to say this to anyone &#8211; but don&#8217;t trust random code from the Internet. Especially if it&#8217;s clear it&#8217;s coming from one of the top government security organisations. Grab <a href="https://www.virtualbox.org/">Virtual Box</a> and <a href="http://www.backtrack-linux.org/">Backtrack</a> and keep your main OS safe. I should stress that there&#8217;s nothing dodgy with anything in this challenge &#8211; but this is good practise and should be the first thing you do when tackling anything unknown.</p>
<p><strong>The code in the image doesn&#8217;t reveal the keyword:</strong><br />
Look at the hex in the image. Some of the numbers there just don&#8217;t map to ASCII or EBDIC &#8211; not even in some of the wilder code pages. It&#8217;s not that easy.</p>
<p><strong>There are three stages to reveal the keyword:</strong><br />
As you solve each stage, it will lead you to the next. Once you&#8217;ve solved the third stage, you&#8217;ll have the keyword you need.</p>
<p><strong>Look for patterns in the hex:</strong><br />
I shouldn&#8217;t be giving too much away by drawing your attention to patterns in the hex. Yes, there are 16 numbers across &#8211; a word length maybe? But instead look at what those numbers are. Repeated numbers or letters are usually the sign of some sort of underlying pattern. If you&#8217;ve done any shellcode you should recognise 90 90 as NOPs.</p>
<p><strong>Why is the code in an image instead of just text or HTML?</strong><br />
Think about this. How can information be conveyed in an image. Visual, yes &#8211; but what else? It&#8217;s a PNG &#8211; what else could that tell you?</p>
<p><strong>Test your Google-fu:</strong><br />
This can be viewed as a shortcut, but also a good way to see if you&#8217;re on the right track. What else is being hosted on the challenge site? Besides, as with everything, there&#8217;s more than one way to solve a problem.</p>
<p><strong>You&#8217;ll need to be able to write code:</strong><br />
Not as in &#8216;encryption&#8217;, but as in &#8216;program&#8217;. I&#8217;ll be the first to admit my code is shocking &#8211; it&#8217;s very much &#8216;solve the problem at hand&#8217; rather than writing something elegant or re-usable. You&#8217;ll need to raid your store of scripts, apps, and hacks. Have a search to find existing code that solves similar problems, and then modify it.</p>
<p><strong>Don&#8217;t assume everything is straight ASCII:</strong><br />
I would suggest it&#8217;s a good idea of have a Base64 decoder (like the one I&#8217;ve written for Symbian phones) and an assembler/disassembler. You&#8217;ll need to have a good idea of how those things work &#8211; or you&#8217;ll need to put aside some time to get to grips with them before you proceed.</p>
<p>Hopefully these pointers will help answer &#8211; or lead to the answer &#8211; to the most common questions I&#8217;ve been asked so far. They shouldn&#8217;t give away too much of the game, but I&#8217;m hopeful that these tips will get you in the right mindset to crack on with the challenge (pun intended).</p>
<p>As with many puzzles like this &#8211; and with a lot of security related work in general &#8211; it&#8217;s not the raw skills that really matter. Don&#8217;t get disheartened because you can&#8217;t write in a certain language, or you scripting isn&#8217;t up to scratch. If you can think in the right way to see a way forward, to string together small hints of information to work out a plan, then you can quickly learn what you need to throw together a tool or script to help you.</p>
<p>At the end of the day, it&#8217;s that mindset that is the most useful and sought after skill in any security work.</p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-514" data-post-type="none" ><a href="http://www.gaeltd.com/can-you-crack-it-gchqs-challenge/" class="wp_rp_title">Can you crack it &#8211; GCHQ&#8217;s Challenge</a></li><li data-position="1" data-poid="in-516" data-post-type="none" ><a href="http://www.gaeltd.com/new-symbian-apps-for-nokia-mobiles/" class="wp_rp_title">New Symbian apps for Nokia mobiles</a></li><li data-position="2" data-poid="in-378" data-post-type="none" ><a href="http://www.gaeltd.com/free-solaris-10-security-training/" class="wp_rp_title">Free Solaris 10 security training</a></li><li data-position="3" data-poid="in-1715" data-post-type="none" ><a href="http://www.gaeltd.com/security-how-safe-is-your-vendors-source-code/" class="wp_rp_title">Security: How safe is your vendor&#8217;s source code?</a></li><li data-position="4" data-poid="in-458" data-post-type="none" ><a href="http://www.gaeltd.com/exploring-solaris-auto-registration/" class="wp_rp_title">Exploring Solaris Auto-Registration</a></li></ul></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gaeltd.com/gchq-can-you-crack-it-tips-and-hints/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Can you crack it &#8211; GCHQ&#8217;s Challenge</title>
		<link>http://www.gaeltd.com/can-you-crack-it-gchqs-challenge/</link>
		<pubDate>Fri, 02 Dec 2011 21:03:21 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[GCHQ]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=514</guid>
		<description><![CDATA[So by now you&#8217;ve probably heard of GCHQ&#8217;s Can You Crack It challenge. I&#8217;m not going to give the game away by explaining what to do, but GCHQ do deserve credit for trying to reach a new audience. They certainly know their targets &#8211; I couldn&#8217;t walk away from this until I&#8217;d worked it out, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>So by now you&#8217;ve probably heard of GCHQ&#8217;s <a href="http://www.canyoucrackit.co.uk/">Can You Crack It</a> challenge. I&#8217;m not going to give the game away by explaining what to do, but GCHQ do deserve credit for trying to reach a new audience. They certainly know their targets &#8211; I couldn&#8217;t walk away from this until I&#8217;d worked it out, and it was challenging and fun. Good play there guys.</p>
<p>Historically GCHQ have recruited directly from Oxbridge, with a requirement of at least a 2:1 degree in the STEM subjects (Science, Technology, Engineering, Mathematics). In recent years, however, fewer students are taking these subjects &#8211; driven, in part, but the lack of jobs for graduates.</p>
<p>The problem for GCHQ is that the salaries on offer are meagre, to say the least. Littering their site with &#8216;cyber&#8217; this and &#8216;cyber&#8217; that is bad enough &#8211; but £31k per annum for a <a href="https://apply.gchq-careers.co.uk/fe/tpl_gchq01ssl.asp?newms=jj&#038;id=35874">Senior Cyber Security Specialist</a> position? With awareness of security issues rising across the IT industry, companies are paying top whack in order to attract the best talent.</p>
<p>GCHQ are competing against this, and despite a the recent <a href="http://www.bbc.co.uk/news/uk-politics-15881297">UK Cyber Security Strategy</a> allocating £650m to protect key UK assets, GCHQ still aren&#8217;t offering competitive salaries. Targeting graduates is one thing, but enticing top talent from the private sector is a different matter.</p>
<p>GCHQ should be applauded for this challenge. Not only has this raised the profile of the work they do, it&#8217;s also raised awareness of the sort of security challenges we can face. Critically, GCHQ have also acknowledged that their traditional recruiting methods are struggling to find suitable candidates these days, and they&#8217;re started trying to tap into a wider pool of talent.</p>
<p>There&#8217;s an interesting lesson there for any company that&#8217;s claiming it can&#8217;t find the right IT people in the current market conditions.</p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-539" data-post-type="none" ><a href="http://www.gaeltd.com/gchq-can-you-crack-it-tips-and-hints/" class="wp_rp_title">GCHQ Can You Crack It: Tips and Hints</a></li><li data-position="1" data-poid="in-378" data-post-type="none" ><a href="http://www.gaeltd.com/free-solaris-10-security-training/" class="wp_rp_title">Free Solaris 10 security training</a></li><li data-position="2" data-poid="in-516" data-post-type="none" ><a href="http://www.gaeltd.com/new-symbian-apps-for-nokia-mobiles/" class="wp_rp_title">New Symbian apps for Nokia mobiles</a></li><li data-position="3" data-poid="in-1715" data-post-type="none" ><a href="http://www.gaeltd.com/security-how-safe-is-your-vendors-source-code/" class="wp_rp_title">Security: How safe is your vendor&#8217;s source code?</a></li><li data-position="4" data-poid="in-458" data-post-type="none" ><a href="http://www.gaeltd.com/exploring-solaris-auto-registration/" class="wp_rp_title">Exploring Solaris Auto-Registration</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>Solaris 11 is launched</title>
		<link>http://www.gaeltd.com/solaris-11-is-launched/</link>
		<pubDate>Sun, 13 Nov 2011 09:40:32 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[solaris 11]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=489</guid>
		<description><![CDATA[The long wait is over, and Oracle have finally pushed Solaris 11 out of the door. It feels a bit odd to be talking about Oracle releasing a new version of Solaris, but given how long ago Solaris 10 came out, it&#8217;s good to see what they&#8217;ve been up to. By now most people should [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The long wait is over, and Oracle have finally pushed <a href="http://www.gaeltd.com/category/solaris/">Solaris 11</a> out of the door. It feels a bit odd to be talking about Oracle releasing a new version of Solaris, but given how long ago Solaris 10 came out, it&#8217;s good to see what they&#8217;ve been up to.</p>
<p>By now most people should be up to speed with the new features in <strong>Solaris 11</strong>, like the <a href="http://www.gaeltd.com/installing-opensolaris-with-the-automated-installer/">Automated Installer</a> (AI) and the new <a href="http://www.gaeltd.com/checking-which-package-a-file-belongs-to-with-ips/">IPS</a> packaging system. </p>
<p>ZFS with encryption has been available since <a href="http://www.gaeltd.com/solaris-11-express-is-out/">Solaris 11 Express</a> was released a year ago. We&#8217;ve had a heads-up that support for 32bit x86 CPUs was being dropped, as was support for anything other than T and M class SPARC boxes.</p>
<p>However, there are some extra new features that have come to light with the FCS release:</p>
<ul type="square">
<li> Password caching for su &#8211; this is an implementation in PAM that&#8217;s similar to the ticketing system used in sudo. Darren Moffat has an entry in <a href="http://blogs.oracle.com/darren/entry/password_caching_for_solaris_su">his blog</a> that details how to enable it.</li>
<li> root is no longer a user, it&#8217;s a role. This been the case since Solaris 11 Express, and in <a href="http://www.gaeltd.com/tag/openindiana/">OpenIndiana</a>, but it needs repeating</li>
<li> Encrypted user home directories, using encrypted ZFS and delegated key management</li>
<li> SMF layers &#8211; basically allowing a way to apply and manage SMF properties and customisations. You can read more on Sean Wilcox&#8217;s blog <a href="http://blogs.oracle.com/SolarisSMF/entry/introducig_smf_layers">here</a>.</li>
<li> Many new zone tweaks &#8211; Immutable Zones, zone boot environments, and different packages in the global zone and other zones </li>
<li> Intel AESNI crypto functions have been added to OpenSSL. <a href="https://blogs.oracle.com/DanX/entry/intel_aes_ni_optimization_on">Previously in Solaris x86</a>, the AESNI functions had been added to the kernel and pkcs11 libraries &#8211; now they&#8217;re available within OpenSSL as well.
</ul>
<p>If you can make it to Oracle&#8217;s City Office in London next Wednesday, the UK Oracle User Group Solaris SIG (yeah, I know, LOSUG was much less of a mouthful) are having a special <strong>Solaris 11</strong> launch event, starting at 2pm and running through the normal meeting in the evening.</p>
<p>You can find more details on the Solaris SIG site <a href="http://www.ukoug.org/events/5432-losug-ukoug-solaris-and-open-solaris-sig/">here</a> &#8211; it promises to be an interesting event that&#8217;s well worth attending.</p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-453" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-11-vs-openindiana/" class="wp_rp_title">Solaris 11 vs. OpenIndiana</a></li><li data-position="1" data-poid="in-475" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-11-early-adopter-release/" class="wp_rp_title">Solaris 11 Early Adopter Release</a></li><li data-position="2" data-poid="in-451" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-11-express-is-out/" class="wp_rp_title">Solaris 11 Express is out</a></li><li data-position="3" data-poid="in-442" data-post-type="none" ><a href="http://www.gaeltd.com/oracle-premier-support-on-dell-and-hp-why-this-matters/" class="wp_rp_title">Oracle Premier Support on Dell and HP &#8211; why this matters</a></li><li data-position="4" data-poid="in-413" data-post-type="none" ><a href="http://www.gaeltd.com/sun-and-oracle-aftermath-of-the-big-event/" class="wp_rp_title">Sun and Oracle &#8211; aftermath of the big event</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>Allowing Normal Users to Manage SMF Services: Part 2</title>
		<link>http://www.gaeltd.com/allowing-normal-users-to-manage-smf-services-part-2/</link>
		<pubDate>Mon, 10 Oct 2011 09:18:25 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[rbac]]></category>
		<category><![CDATA[smf]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=483</guid>
		<description><![CDATA[In Part 1, I covered setting up RBAC with a custom role that would allow us to manage an SMF service as a non-privileged user. Now I&#8217;ll cover the steps required to setup the SMF part. Note that, in the previous post, for management of the Sun MC Agent, we didn&#8217;t add a specific command [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In <a href="http://www.gaeltd.com/allowing-normal-users-to-manage-smf-services-part-1/">Part 1</a>, I covered setting up RBAC with a custom role that would allow us to manage an SMF service as a non-privileged user. Now I&#8217;ll cover the steps required to setup the SMF part.</p>
<p>Note that, in the previous post, for management of the Sun MC Agent, we didn&#8217;t add a specific command &#8211; we added an authorisation to the Profile.</p>
<p>Although this will configure RBAC to support this nicely, it actually won&#8217;t do anything &#8211; we need to specifically configure SMF on each host to support this extra authorisation.</p>
<p>Basically SMF has an all or nothing approach &#8211; applying the authorisation solaris.smf.manage will allow you to manage <strong>any</strong> SMF service &#8211; very much not what we want.</p>
<p>Instead we want to configure a specific SMF service &#8211; in this case, sunmcagent &#8211; to allow an authorisation string that lets us specifically manage this service &#8211; and just this service.</p>
<p>We do this by using the svcprop command on the specific host to directly edit the properties of the service.</p>
<p>First of all let&#8217;s list the service&#8217;s properties:</p>
<pre>
root@madlarry # svcprop -p general sunmcagent
general/enabled boolean true
general/entity_stability astring Evolving
general/single_instance boolean true
</pre>
<p>All fairly straightforward &#8211; the above tells us:</p>
<ul type="square">
<li> the service is enabled
<li> it&#8217;s an evolving service, so the stability of it&#8217;s properties isn&#8217;t guaranteed
<li> there can only be a single discreet instance of this service
</ul>
<p>We want to add an additional property, our authorisation string.</p>
<p>We use the svccfg command to do this:</p>
<pre>
root@madlarry # svccfg -s sunmcagent setprop general/action_authorization=astring: 'solaris.smf.manage.sunmcagent'
</pre>
<p>Having done this, it won&#8217;t take effect until we refresh the service.</p>
<p>Check for yourself:</p>
<pre>
root@madlarry # svcprop -p general sunmcagent
general/enabled boolean true
general/entity_stability astring Evolving
general/single_instance boolean true
</pre>
<p>Then we refresh the service:</p>
<pre>
root@madlarry # svcadm refresh sunmcagent
</pre>
<p>And then check again:</p>
<pre>
root@madlarry # svcprop -p general sunmcagent
general/enabled boolean true
general/entity_stability astring Evolving
general/single_instance boolean true
general/action_authorization astring solaris.smf.manage.sunmcagent
</pre>
<p>Behold our authorisation string! Now SMF will recognise this string when passed from RBAC, realise we only want to manage this specific service, and the magic happens.</p>
<p>However &#8211; we still can&#8217;t disable this service. </p>
<p>That&#8217;s because the &#8216;disable&#8217; action modifies the SMF service (by changing the value of the general/enabled property) &#8211; the other actions are all temporary, but disable is persistent across reboots.</p>
<p>To get round this we need to add another property, value/authorization, will gives us authority to modify the values for properties for that specific service when managing it.</p>
<p>Similar sort of options to svcprop to affect this change:</p>
<pre>
root@madlarry # svccfg -s sunmcagent setprop general/value_authorization=astring: 'solaris.smf.manage.sunmcagent'
</pre>
<p>Then we can refresh and review the change:</p>
<pre>
root@madlarry # svcadm refresh sunmcagent
root@madlarry # svcprop -p general sunmcagent
general/enabled boolean true
general/entity_stability astring Evolving
general/single_instance boolean true
general/action_authorization astring solaris.smf.manage.sunmcagent
general/value_authorization astring solaris.smf.manage.sunmcagent
</pre>
<p>So now the authorisation &#8216;solaris.smf.manage.sunmcagent&#8217; is allowed to perform temporary actions and permanently modify the values of the sunmcagent service. </p>
<p>There&#8217;s a good BigAdmin article on configuring custom RBAC roles in Solaris <a href="http://www.oracle.com/technetwork/systems/security/custom-roles-rbac-jsp-140865.html">here</a> &#8211; highly recommended reading.</p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-481" data-post-type="none" ><a href="http://www.gaeltd.com/allowing-normal-users-to-manage-smf-services-part-1/" class="wp_rp_title">Allowing Normal Users to Manage SMF Services: Part 1</a></li><li data-position="1" data-poid="in-364" data-post-type="none" ><a href="http://www.gaeltd.com/easy-solaris-log-file-management-with-logadm/" class="wp_rp_title">Easy Solaris log file management with logadm</a></li><li data-position="2" data-poid="in-160" data-post-type="none" ><a href="http://www.gaeltd.com/a-quick-introduction-to-solaris/" class="wp_rp_title">A quick introduction to Solaris</a></li><li data-position="3" data-poid="in-447" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-0910-is-out/" class="wp_rp_title">Solaris 09/10 is out</a></li><li data-position="4" data-poid="in-164" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-rbac-configuration/" class="wp_rp_title">Solaris RBAC configuration</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>Allowing Normal Users to Manage SMF Services: Part 1</title>
		<link>http://www.gaeltd.com/allowing-normal-users-to-manage-smf-services-part-1/</link>
		<pubDate>Sun, 02 Oct 2011 13:48:46 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[rbac]]></category>
		<category><![CDATA[smf]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=481</guid>
		<description><![CDATA[RBAC doesn&#8217;t just let you give mortal users the power to execute commands as a privileged user &#8211; it can also be used to allow them power over other areas of the Solaris OE. A recurring task is allowing a normal user the power to start/stop an SMF service. In this example I&#8217;ll work through [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>RBAC doesn&#8217;t just let you give mortal users the power to execute commands as a privileged user &#8211; it can also be used to allow them power over other areas of the Solaris OE. A recurring task is allowing a normal user the power to start/stop an SMF service.</p>
<p>In this example I&#8217;ll work through how to allow a non-privileged user to manage the SMF service using by the Sun Management Centre (SMC) agent. We do this by modifying the SMF service to add an authorisation, and then defining with RBAC who is able to use that authorisation.</p>
<p>Setting up RBAC for this will involve modifying three of the RBAC configuration files:</p>
<ul type="square">
<li> /etc/security/prof_attr (where RBAC Profiles are defined)
<li> /etc/security/auth_attr (where authorisations used by RBAC are defined)
<li> /etc/user_attr (where user attributes are defined)
</ul>
<p>First of all, we need to edit /etc/security/prof_attr to add a new profile for the SMC agent. The syntax is simple: the name of the profile, a description, and then any authorisations that are needed. Adding the following line will do the trick:</p>
<blockquote><p>
SunMC Management:::Manage SunMC:auths=solaris.smf.manage.sunmcagent
</p></blockquote>
<p>Authorisations are extra tags that are added to an SMF service&#8217;s properties &#8211; they&#8217;re the &#8216;glue&#8217; that ties together the profile and the SMF service.</p>
<p>Next up we need to add a definition for the new authorisation, by editing /etc/security/auth_attr and adding the following line:</p>
<blockquote><p>
solaris.smf.manage.sunmcagent:::Manage SunMC Agent::
</p></blockquote>
<p>Finally, we edit /etc/user_attr to add in a new role, and then assign our newly created SMC Profile to the role. Add the following line to the file:</p>
<blockquote><p>
smcmgmt::::type=role;profiles=SunMC Management,All
</p></blockquote>
<p>Also within /etc/user_attr we need to assign the role to our users. Add in an entry for each user you want to be able to use the role, like this:</p>
<blockquote><p>
tom::::type=normal;roles=smcmgmt
</p></blockquote>
<p>The final stage required to setup RBAC is to add the role details to /etc/passwd and to add a group entry to /etc/group. This should be standard stuff, so I&#8217;ll just show the lines added to each file:</p>
<p>/etc/passwd</p>
<blockquote><p>
smcmgmt:x:10003:10003:SunMC Management RBAC Role:/export/home/smcmgmt:/bin/pfksh
</p></blockquote>
<p>/etc/shadow</p>
<blockquote><p>
smcmgmt:lku7RuB1d71jY:13162::::::
</p></blockquote>
<p>/etc/group</p>
<blockquote><p>
smcmgmt::10003:
</p></blockquote>
<p>As always for RBAC, it&#8217;s good practice to create a role, and get users to su to that, rather than tacking profiles onto existing users and pre-pending pfexec to each command.</p>
<p>That&#8217;s all for part one &#8211; we&#8217;ve setup RBAC and we&#8217;re ready to roll. Part 2 will cover how we actually modify the SMF service and tie everything together.</p>
<p><strong>Update:</strong> You should also head over to Ben Summers&#8217; blog, where he wrote up an excellent end-to-end guide on how to <a href="http://bens.me.uk/2009/control-untrusted-processes-with-solaris-smf">Control untrusted processes with Solaris SMF</a></p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-483" data-post-type="none" ><a href="http://www.gaeltd.com/allowing-normal-users-to-manage-smf-services-part-2/" class="wp_rp_title">Allowing Normal Users to Manage SMF Services: Part 2</a></li><li data-position="1" data-poid="in-164" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-rbac-configuration/" class="wp_rp_title">Solaris RBAC configuration</a></li><li data-position="2" data-poid="in-160" data-post-type="none" ><a href="http://www.gaeltd.com/a-quick-introduction-to-solaris/" class="wp_rp_title">A quick introduction to Solaris</a></li><li data-position="3" data-poid="in-180" data-post-type="none" ><a href="http://www.gaeltd.com/rbac-examples-rebooting-a-server/" class="wp_rp_title">RBAC examples &#8211; rebooting a server</a></li><li data-position="4" data-poid="in-364" data-post-type="none" ><a href="http://www.gaeltd.com/easy-solaris-log-file-management-with-logadm/" class="wp_rp_title">Easy Solaris log file management with logadm</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>OpenIndiana 151a is released!</title>
		<link>http://www.gaeltd.com/openindiana-151a-is-released/</link>
		<pubDate>Fri, 16 Sep 2011 09:23:04 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[openindiana]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=477</guid>
		<description><![CDATA[Another milestone has been reached by the OpenIndiana team. Release 151a is now out, bringing several key new changes to the table. The biggest one is that OpenIndiana now integrates Illumos, and also includes the kernel virtual machine (KVM), as recently released by Joyent. You can grab the downloads from http://openindiana.org/download, with several options to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Another milestone has been reached by the <strong>OpenIndiana</strong> team. Release 151a is now out, bringing several key new changes to the table. The biggest one is that OpenIndiana now integrates <a href="http://www.illumos.org/">Illumos</a>, and also includes the kernel virtual machine (KVM), as recently released by <a href="http://smartos.org/2011/08/15/kvm-on-illumos/">Joyent</a>.</p>
<p>You can grab the downloads from <a href="http://openindiana.org/download">http://openindiana.org/download</a>, with several options to choose from:</p>
<ul type="square">
<li> Desktop DVD ISO
<li> Desktop USB installer image
<li> Server text-based CD ISO
<li> Server text-based USB installer image
</ul>
<p>You can browse the full <strong>OpenIndiana 151a</strong> release notes at <a href="http://wiki.openindiana.org/oi/oi_151a+Release+Notes">http://wiki.openindiana.org/oi/oi_151a+Release+Notes</a></p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-462" data-post-type="none" ><a href="http://www.gaeltd.com/openindiana-oi_148-is-now-released/" class="wp_rp_title">OpenIndiana OI_148 is now released</a></li><li data-position="1" data-poid="in-460" data-post-type="none" ><a href="http://www.gaeltd.com/openindiana-b148-rc-images-now-available/" class="wp_rp_title">OpenIndiana b148 RC images now available</a></li><li data-position="2" data-poid="in-468" data-post-type="none" ><a href="http://www.gaeltd.com/checking-which-package-a-file-belongs-to-with-ips/" class="wp_rp_title">Checking which package a file belongs to with IPS</a></li><li data-position="3" data-poid="in-451" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-11-express-is-out/" class="wp_rp_title">Solaris 11 Express is out</a></li><li data-position="4" data-poid="in-449" data-post-type="none" ><a href="http://www.gaeltd.com/upgrading-from-opensolaris-200906-to-openindiana/" class="wp_rp_title">Upgrading from OpenSolaris 2009.06 to OpenIndiana</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>Solaris 11 Early Adopter Release</title>
		<link>http://www.gaeltd.com/solaris-11-early-adopter-release/</link>
		<pubDate>Sun, 11 Sep 2011 09:10:52 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=475</guid>
		<description><![CDATA[As the Solaris 11 GA release approaches, Oracle have announced the Solaris 11 Early Adopter release. The EA release is an update on the previous Solaris 11 Express, with final features frozen. The EA Release is aimed at developers, to carry out testing and qualification of their applications. With the feature list and functionality frozen, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>As the Solaris 11 GA release approaches, Oracle have announced the <strong>Solaris 11 Early Adopter</strong> release. The EA release is an update on the previous Solaris 11 Express, with final features frozen.</p>
<p>The EA Release is aimed at developers, to carry out testing and qualification of their applications. With the feature list and functionality frozen, barring some last minute bug fixes, this is what the final Solaris 11 release will look like.</p>
<p>You can find out more at Oracle&#8217;s <a href="http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index-454418.html">Solaris 11 Early Adopter</a> page. Download links are direct from there &#8211; but a quick warning: the only supported SPARC systems are M and T series kit. </p>
<p>Now&#8217;s the time to get to grips with the Automated Installer, ZFS root, and the other changes that Solaris 11 will bring.</p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-451" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-11-express-is-out/" class="wp_rp_title">Solaris 11 Express is out</a></li><li data-position="1" data-poid="in-489" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-11-is-launched/" class="wp_rp_title">Solaris 11 is launched</a></li><li data-position="2" data-poid="in-442" data-post-type="none" ><a href="http://www.gaeltd.com/oracle-premier-support-on-dell-and-hp-why-this-matters/" class="wp_rp_title">Oracle Premier Support on Dell and HP &#8211; why this matters</a></li><li data-position="3" data-poid="in-413" data-post-type="none" ><a href="http://www.gaeltd.com/sun-and-oracle-aftermath-of-the-big-event/" class="wp_rp_title">Sun and Oracle &#8211; aftermath of the big event</a></li><li data-position="4" data-poid="in-438" data-post-type="none" ><a href="http://www.gaeltd.com/opensolaris-turmoil-in-the-community/" class="wp_rp_title">OpenSolaris &#8211; turmoil in the community</a></li></ul></div></div>
]]></content:encoded>
			</item>
		<item>
		<title>Checking which package a file belongs to with IPS</title>
		<link>http://www.gaeltd.com/checking-which-package-a-file-belongs-to-with-ips/</link>
		<pubDate>Fri, 11 Mar 2011 09:22:40 +0000</pubDate>
		<dc:creator><![CDATA[Tom Kranz]]></dc:creator>
				<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[openindiana]]></category>

		<guid isPermaLink="false">http://www.gaeltd.com/?p=468</guid>
		<description><![CDATA[I&#8217;d previously written up a brief note on how to use pgchk to check which package a file belongs to in Solaris. With IPS replacing SYSV packages in Solaris 11 and OpenIndiana, I thought I&#8217;d add an update to that post, showing how to accomplish the same thing in IPS. IPS makes things a lot [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;d previously written up a brief note on how to use pgchk to <a href="http://www.gaeltd.com/solaris-basics-checking-which-package-a-file-belongs-to/">check which package a file belongs to</a> in Solaris. With IPS replacing SYSV packages in <strong>Solaris 11</strong> and <strong>OpenIndiana</strong>, I thought I&#8217;d add an update to that post, showing how to accomplish the same thing in IPS.</p>
<p>IPS makes things a lot simpler for us, using the &#8216;search&#8217; option to pkg.</p>
<p>Let&#8217;s check it out on an OpenIndiana oi_147 machine:</p>
<pre>
-bash-4.0$ uname -X    
System = SunOS
Node = grond
Release = 5.11
KernelID = oi_147
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4
</pre>
<p>The format of the search option is simple &#8211; just give it the full path to the file you&#8217;re interested in. In this example, I want to see which IPS package contains /usr/bin/ssh:</p>
<pre>
-bash-4.0$ pkg search /usr/bin/ssh
INDEX      ACTION VALUE       PACKAGE
path       file   usr/bin/ssh pkg:/network/ssh@0.5.11-0.148
</pre>
<p>Nice and simple, and certainly a lot easier than the old method of invoking pgchk.</p>
<p>pkg search will take a number of extra options:</p>
<pre>
-bash-4.0$ pkg search -? 
Usage:
        pkg search [-HIaflpr] [-o attribute ...] [-s repo_uri] query
</pre>
<p>pkg search will also allow wildcards, like ? and *, as well as specifying a particular IPS repo, with the -s option &#8211; which is very handy when you have a custom repo for your infrastructure.</p>

<div class="wp_rp_wrap  wp_rp_plain" ><div class="wp_rp_content"><h3 class="related_post_title">Browse Related Posts</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-449" data-post-type="none" ><a href="http://www.gaeltd.com/upgrading-from-opensolaris-200906-to-openindiana/" class="wp_rp_title">Upgrading from OpenSolaris 2009.06 to OpenIndiana</a></li><li data-position="1" data-poid="in-451" data-post-type="none" ><a href="http://www.gaeltd.com/solaris-11-express-is-out/" class="wp_rp_title">Solaris 11 Express is out</a></li><li data-position="2" data-poid="in-460" data-post-type="none" ><a href="http://www.gaeltd.com/openindiana-b148-rc-images-now-available/" class="wp_rp_title">OpenIndiana b148 RC images now available</a></li><li data-position="3" data-poid="in-448" data-post-type="none" ><a href="http://www.gaeltd.com/opensolaris-lives-openindiana-announced/" class="wp_rp_title">OpenSolaris lives! OpenIndiana announced</a></li><li data-position="4" data-poid="in-477" data-post-type="none" ><a href="http://www.gaeltd.com/openindiana-151a-is-released/" class="wp_rp_title">OpenIndiana 151a is released!</a></li></ul></div></div>
]]></content:encoded>
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

Object Caching 3/156 objects using disk
Page Caching using disk: enhanced (Page is feed) 
Database Caching using disk (Request-wide modification query)

Served from: www.gaeltd.com @ 2025-05-24 17:31:26 by W3 Total Cache
-->