12 June 2013

SMoTW #61: % of policies linked to objectives

Security Metric of the Week #61: proportion of information security policy statements unambiguously linked to control objectives

Measuring is one way to reinforce the linkage between policy statements and higher level control objectives or axioms.  Policies that bear no relation to control objectives/axioms beg the question: what are they meant to achieve? How will the organization determine whether they are effective if the intended outcome is uncertain?  What is the justification for compliance with the policy, and what are the implications of low compliance?  

Conversely, a strong security policy with a specific, legitimate purpose that cannot be linked to a control objective or axiom implies the need to fill a gap in the high-level control framework.

PRAGMATIC ratings:
P
R
A
G
M
A
T
I
C
Score
92
91
64
60
85
65
45
75
75
72%




"Unambiguously linked" leaves some wiggle room for subjective interpretation, while reviewing and assessing the linkages across the entire policy suite will inevitably take some Time to achieve.

72% is a pretty good PRAGMATIC score, making this a metric well worth considering unless there are other even-higher-scoring metrics that would achieve the same ends more effectively and efficiently.   If ACME Enterprises Inc. had identified concerns in relation to their policy coverage, this metric may be just the ticket to drive a policy review and improvement project, and perhaps it might be reported every year or two thereafter as an assurance measure.  You could say that he process and the metric need each other.

10 June 2013

The yin and yang of metrics


Many aspects of information security that would be good to measure are quite complex.  There are often numerous factors involved, and various facets of concern.  Take ‘security culture’ for example: it is fairly straightforward to measure employees’ knowledge of and attitudes towards information security using a survey approach, and that is a useful metric in its own right.  It becomes more valuable if we broaden the scope to compare and contrast different parts of the organization, using the same survey approach and the same survey data but analyzing the numbers in more depth.  We might discover, for instance, that one business unit or department has a very strong security culture, whereas another is relatively weak.  Perhaps we can learn something useful from the former and apply it to the latter.  This is what we mean by ‘rich’ metrics.  Basically, it involves teasing out the relevant factors and getting as much useful information as we can from individual metrics, analyzing and presenting the data in ways that facilitate and suggest security improvements.

‘Complementary’ metrics, on the other hand, are sets of distinct but related metrics that, together, give us greater insight than any individual metric taken in isolation.  Returning to the security culture example, we might supplement the employee cultural survey with metrics concerning security awareness and training activities, and compliance metrics that measure actual behaviors in the workplace.  These measure the same problem space from different angles, helping us figure out why things are the way they are. 

Complementary metrics are also useful in relation to critical controls, where control failure would be disastrous.  If we are utterly reliant on a single metric, even a rich metric, to determine the status of the control, we are introducing another single point of failure.  And, yes, metrics do sometimes fail.  An obvious solution (once you appreciate the issue, that is!) is to make the both the controls and the metrics more resilient and trustworthy, for instance through redundancy.   Instead of depending on, say, a single technical vulnerability scanner tool to tell us how well we are doing on security patching, we might use scanners from different vendors, comparing the outputs for discrepancies.  We could also measure patching status by a totally different approach, such as patch latency or half-life (the time taken from the moment a patch is released to apply it successfully to half of the applicable population of systems), or a maturity metric looking at the overall quality of our patching activities, or metrics derived from penetration testing.  Even if the vulnerability scanner metric is nicely in the green zone, an amber or red indication from one of the complementary metrics should raise serious questions, hopefully in good time to avert disaster.

A natural extension of this concept would be to design an entire suite of security metrics using a systems engineering approach.  We expand on this idea in the book, describing an information security measurement system as an essential component of, and natural complement to, an effective information security management system.

09 June 2013

Hannover/Tripwire metrics part 4

Today we're looking at the next two security metrics from the Hannover Research/Tripwire CISO Pulse/Insight Survey.  

The fourth most popular metric, "Platform compliance scores", isn't giving much away with just those three words to go on.  What platforms?  Compliant with what?  And how are they scored?   The fact that the survey was sponsored by Tripwire is a massive clue.  The surveyors and respondents were presumably thinking on the basis of using a technical tool to assess various IT system configuration parameters against something - possibly comprehensive corporate technical security standards, more likely recommendations from the tool and operating system vendors.  Such tools typically generate relatively simple metrics: counts of systems checked, non-compliance issues found and so forth.  They often classify issues by severity, although how they do so is uncertain ...  This all sounds fantastic, but how does the metric stack up in PRAGMATIC terms?  It concerns technical vulnerabilities, which are somewhat Predictive of technical security incidents, which are directly Relevant to IT security and partly relevant to information security.  The numbers are probably Genuine unless someone manipulates the assessment criteria and standards, which is possible since the people reporting the metric are the same people with the technical knowledge and access (i.e. the metric has limited Independence).  The metric is Meaningful to those same people, particularly if there is a more detailed breakdown by severity, but less meaningful to general management.  Accuracy is an issue since some vulnerabilities cannot be readily measured by a tool, while others may be found and reported even if they are not exposed to potential threats, or if exploitation causes no materials impact (i.e. the metric does not take in the bigger risk picture).  Gathering and reporting the metric with an automated tool should be Timely, although slower human involvement is beneficial to interpret the raw numbers, present them and use them.  Overall, the metric is quite Cost-effective as an IT or technical security measure.

"Baseline defenses coverage" was the fifth most popular metric.  Again. it's hard to be sure what the survey's authors and respondents understood by those three words.  Presumably the metric is getting at a technical security baseline standard defining a suite of technical security configuration parameters etc. to provide a basic level of platform security.  Coverage could refer to the proportion of applicable systems that have fully implemented the baseline, and/or the proportion of security issues that are duly covered in the baseline standard.  This ambiguity immediately affects the metric's Meaning, as well as its Genuineness and Accuracy.  This is another narrow, technical metric that may have some Predictive value and Relevance to the IT security professionals looking after system and network security.  Like the previous one, it is Actionable in the sense that low compliance levels and/or coverage obviously implies the need to increase compliance and/or coverage, but the only some of the necessary details of what actually needs to be done are buried in the raw data.

By now, we're forming the distinct impression that the metrics listed in the survey are specifically technical measures that any decent vulnerability scanner produces - no surprises there given Tripwire's involvement. 


More to follow: if you missed them, see the introduction and parts one, two, three and five of this series.

06 June 2013

Interesting metrics in the Novopay report

Here in New Zealand, a major government project to introduce Novopay, a new payroll system for schools, has made the news headlines repeatedly over many months, culminating in a media storm, the resignation of the accountable minister and independent investigations into the fiasco.  

In my experience, the issues reported are far from unique to Novopay.  I recognize the characteristics of many large software implementation or business change projects I have audited in the past, such as poor project governance, technical complexity arising from complex and probably inadequately specified user requirements, extensive customization of the core IT system, the introduction of new business and IT processes, and rapidly deteriorating commercial relations between the customer and supplier as the implementation went badly, to say the least.  I'll leave the question of why these kinds of issue crop up over and over again for another rainy day.  For now, suffice to say that the project has so far narrowly avoided becoming a train wreck.

On the up-side, the government has opened up about the issues, since the minister resigned at least, publishing quite detailed reports for instance and stating a number of recommendations to sort the mess out.  The independent investigations took just three months, no mean feat in such a complicated and politically-charged situation.  The new minister in charge, Steven Joyce, acknowledged the severity of the situation on prime-time TV just the other evening, and responded positively to robust questioning by a well-briefed journalist.  An impressive, confident performance.

Anyway, I digress.  The technical report is a good example of how metrics can be used to substantiate as well as illustrate high-level management reports.  

Plucking out a single example, page 31 of Deloitte's Novopay Technical Review report says "As at 07 March 2013, 500 defects have been open for an average of 116 days (and this is relatively consistent across different severity levels)." This sentence includes the number of defects and the average number of days that defects take to close, two key metrics.  The final parenthetical clause refers to additional data concerning the breakdown of defects by severity: one might expect that relatively serious defects would be fixed more quickly than trivia, but in practice serious defects tend to be inherently difficult to fix, especially as it appears as if the team has learnt its lesson and is now paying more attention to testing fixes before they are implemented.  

Recommendation 2 of the Novopay Technical Review report concerns metrics. "Establish robust performance management processes and checkpoints to monitor remediation progress.  To support achievement of the objectives, clear monitoring and performance measures need to be established and managed through a strong performance management process.  This should include milestones for key activities and definition of stability from an operational metrics perspective (e.g. the number of no-pays, percentage of errors)." [page 41].  FWIW I recommend that the education ministry and Talent2, the contractors concerned, are PRAGMATIC about it.  I'm waiting by the phone ...


PS  The separate ministerial inquiry report also makes fascinating reading.  There have clearly been serious issues in several areas, so it is no surprise that  a number of senior people burnt out (I wonder if "burn out rate" qualifies as a useful metric on these huge politically-charged projects!).  

One little paragraph that really caught my eye said "Work commenced on the service requirements in October 2008.  This process was lengthy, and was never actually completed.  Even after Go Live, new requirements were being discovered."  That's a classic example of "Ready, Fire, Aim" if ever I heard one. 

SMotW #60: proportion of security policies up to standard

Security Metric of the Week #60: proportion of security policies that meet documentation quality standards 

There are two clear presumptions behind this metric: (1) there are 'documentation quality standards' which apply to the policies, and (2)  security policies are being or will be assessed systematically against the standards.  Both are signs of a relatively mature - and probably quite bureaucratic and well-structured organization.  Measuring the quality of security policies according to how many of them meet the corporate standards probably seems like a natural thing to do ... but is it really?  Or is it just needless red tape?

Most formal documentation quality standards specify requirements for formatting, layout and structure, since these are relatively straightforward to define, to implement and to audit against.  They are basically style guides.  The better ones go on to cover other far more subjective and frankly important matters such as readability.  The very best talk about quality, purpose and utility from the perspective of the readers and other stakeholders, implying that they are best placed to determine the value of the policies.  In that context, whether or not a security policy uses 12 point Tahoma is of little significance if the content is so obtuse and jargon-riddled, or if it essentially covers a non-issue, that nobody is going to pay it any attention anyway.

This, then, is an example of a bureaucratic metric, potentially of some operational value to the quality assurance function tasked with evaluating and reporting the quality of security policies but of little relevance beyond their domain.  The PRAGMATIC ratings reflect our poor opinion of this metric as a measure to improve the governance, management and maturity of information security:

P
R
A
G
M
A
T
I
C
Score
66
47
79
45
74
38
44
50
35
53%




A better alternative might be to get the intended audiences and interested managers to assess and measure the quality of the security standards, and in so doing identify the characteristics of good vs bad policies.  Slipping those characteristics into the corporate style guide, along with good and bad examples to push the point home, is more likely to achieve genuine progress, in our opinion, than measuring compliance with the documentation quality standards.

05 June 2013

Hannover/Tripwire metrics part 3

"Number of incidents contained and breaches prevented" was evidently the third most popular metric with respondents to the Hannover Research/Tripwire CISO Pulse/Insight Survey.

The wording of this metric is an issue from the outset.  It implies that breaches are materially different to incidents, and refers to containing one and preventing the other.  Can't incidents be prevented too?  And surely breaches can be contained?  It all comes down to what is meant by these terms, and how they were interpreted by the survey respondents.

For the sake of argument, I'll assume for now that "breaches" are in fact privacy breaches, while "incidents" are any type of information security risk that materializes other than privacy breaches.  I'll leave aside for a moment the question of whether or not relatively minor or trivial events qualify as incidents or breaches - there's more on that point to come. 

Let's leap directly into the PRAGMATIC analysis ...
  • Predictiveness: in my experience, the total number of information security incidents and breaches tends to be fairly stable over time, primarily reflecting the organization's processes for identifying and notifying/reporting them.  Therefore, it is likely that the organization will experience approximately the same grand total number of incidents + breaches in the next reporting period as it did in the previous reporting period.  In that sense, this metric is indeed predictive.  However, it's a different matter if we take into account the severity, impact or gravity of those incidents and breaches: some are far more serious than others, and (thankfully!) the most severe ones don't usually happen very often.  Provided the organization has been tracking this metric for a long time (a  year or three at least) and/or is so huge that it has amassed sufficient data for valid statistical analysis, it may discover that serious incidents  are also somewhat predictable over the longer term.  This is a moot point, however, since the metric as worded in the survey says nothing about the severity, only the count of incidents and breaches.
  • Relevance: incidents and privacy breaches are of course highly relevant to information security, but as with the second metric in this series, this is a rather crude measure of the overall effect of the organization's information security and privacy arrangements.  Given that both the second and third metrics ignore the severity of the incidents and breaches, neither gives a fair picture of the organization's security/privacy status.  Neither is particularly helpful for information security/privacy management, although arguably they have some value in persuading management that Clearly Something Must Be Done ...
  • Actionability: ... but what, exactly, should be done?  Without more specific data concerning the nature and most of all the root causes of the incidents and breaches (which this simplistic metric lacks), we are none the wiser.  If the number is deemed "too high", should we supply more resources i.e. increase the budget?  Or sack the CISO/Privacy Officer?  Or up-skill and re-motivate those at the sharp end?  Change our entire approach, maybe?  Or should we simply lower our expectations and live with the consequences?  What is "too high" anyway?
  • Genuineness: as with the second metric, the person collecting and reporting the data on this metric is in a position to manipulate them if they so choose.  On the other hand, if the metric is carefully specified, and if the source data could be independently verified, it would have more credibility.
  • Meaningfulness: I've already brought up potential confusion over the terms used in the metric.  Even if they were formally clarified and defined, I suspect the confusion would lead to discussion, disagreement and genuine differences of opinion once the metric started being used in earnest - a surprising conclusion for what appears, at face value, such a straightforward and obvious measure.  In addition, it is uncertain how  meaningful and useful the metric would be in relation to governing, managing, controlling and directing information security and privacy.  
  • Accuracy: a centralized incident and breach reporting and management function (typically the IT Help Desk) would be the natural source of the numbers, although it may be appropriate to integrate other sources as well (e.g. privacy breaches disclosed in confidence to the Privacy Officer). and perhaps make estimates concerning others (e.g. minor incidents and breaches that are 'not worth reporting', or that are resolved before they ever get around to being reported) to confirm that the calculated numbers are 'about right'.   Estimation, also known as guesswork. normally implies a lack of accuracy, but paradoxically in this case it is being used as a technique to validate the numbers and so improve the metric's accuracy.
  • Timeliness: the metric's simplicity means it ought to be possible to track and report the numbers more or less contemporaneously with the occurrence of the incidents and breaches, with minimal delays anyway, particularly where the raw numbers are available from automated systems such as the Help Desk's ticket management system.  The metric is primarily historical, with some forward-looking predictability.  Overall, timeliness is not an issue with this metric.
  • Independence: in my experience, the IT Help Desk function normally reports to the IT Operations Manager, IT Support Manager or CIO.  Any of those people could meddle with the metric by meddling with the way the IT Help Desk receives, categorizes and reports incidents and breaches.  Just as likely, the IT Help Deskers and the people who should be reporting incidents and breaches could both affect the numbers through their subjective bias, especially if the perceived wisdom among management is that there are 'too many'.  Independently checking the numbers would be tricky, although audit techniques such as Benford's law and other statistical tests could be applied if necessary.  An even bigger potential issue may arise if the CISO, Information Security Manager and/or Privacy Officer have their bonuses linked to the metric, which is surely a temptation for such a high-level security-effectiveness measure.
  • Cost-effectiveness: being a simple count, the metric is once again quite cheap to collect, provided the raw data are readily available and credible.  Regarding the metric's effectiveness, conceivably it has some strategic value but even at the high level the lack of information on the severity and business impacts of incidents and breaches leaves it wanting.
By my calculation, taking that all into account, this metric rates 51% putting it a long way behind my top three metrics.  That's not to say there aren't situations in which it might score better, or indeed worse than that, but there are definitely other metrics worth considering.  The PRAGMATIC method is a rational basis on which to compare them and select the few that work best for you.

More to follow: if you missed them, see the introduction and parts one, two, four and five of this series.

01 June 2013

Hannover/Tripwire metrics part 2


"Number of security incidents" was the second most popular metric according to the Hannover Research/Tripwire CISO Pulse/Insight Survey.  As literally stated in the survey report, the metric is simply an integer but in mocking-up the illustration above, I've made the not unreasonable assumption that it might be presented graphically, the number of incidents accumulating over time.

Imagine you're a manager presented with a graph like that: what does it tell you?  

Well, for a start, the graph keeps climbing.  Security incidents are evidently occurring repeatedly which doesn't exactly sound good.  But is it OK, bad, terrible or absolutely devastating news?  Without more information, it's impossible to say.  The real question is whether the rate that security incidents are occurring is acceptable or unacceptable - which the metric, taken in isolation, doesn't address.  There's no context.

Talking of rate, it's simple enough to tell from the steepness of the graph that the number of security incidents was increasing faster than normal in the fourth quarter of 2011, begging the question, "Why?"  Again, the metric doesn't answer, but maybe the presenter can.

Thinking about it, figuring out the right questions to ask is the real art to metrics.  So what question or questions does this metric help us answer?  "How many security incidents have their been?" might be facile but, seriously, it's hard to think of anything much better.  "Is our information security getting better or worse?" maybe?

It's probably clear by now that I'm struggling with this metric.  Time to see how it fares under the glare of the PRAGMATIC spotlight:
  • Predictiveness: the numbers are historical, and the trends not very meaningful.  Who can say whether the number of incidents will climb gently or steeply over the next reporting period?  All we know for certain is that the number will be higher than today, unless something is going wrong in the measurement process anyway.  There's a more fundamental question too about whether the numbers predict the organization's information security status, an issue I'll discuss further below.
  • Relevance: security incidents are the outcome of inadequate information security risk management, so this is a measure of the overall effectiveness of the security arrangements.  It is relevant to information security, but is is relevant to information security management?  I'm not so clear about that.
  • Actionability: if there are 'too many' incidents (whatever that means), security patently needs to be improved, but how?  In what way?  The metric remains strangely silent on that, and may even be distinctly misleading.
  • Genuineness: if for some reason someone in power wanted to manipulate this metric, they could do so by meddling with the definition of what constitutes an incident, or meddling with the numbers directly. 
  • Meaningfulness: at face value, this is an extremely simple and obvious metric: more incidents bad, fewer incidents good.  However, digging deeper, it might in fact mean the very opposite.  
  • Accuracy: exactly what does and does not qualify as 'a security incident'?   Unless this is clearly defined, leaving no room for interpretation, there's little hope of this ever being an accurate, scientific measure.  Even then, as with any metric, there is a dependence on the availability of the raw data.  
  • Timeliness: no problems here, provided the systems and processes for reporting and counting incidents are working smoothly, a reasonable assumption in most cases.
  • Independence: it would be easy for an auditor to double-check that the incident numbers spewing out of an incident management/problem ticketing system are being correctly reported, but not nearly so simple to confirm that the numbers are correct.  It would take some digging to check whether incident reports are being correctly received and recorded in the first place, and to confirm that security-related incidents are being consistently coded as such in the incident management/problem ticketing system.  Going even further upstream, it would be harder still to determine that security incidents are being reliably identified and reported.  The process involves several subjective decisions along the way, implying a lot of work for an auditor to examine those decisions, given the information available at the time they were made.  In practice, second-guessing decisions made by business people, help-deskers, security pros and middle managers is not a productive audit approach, consequently there's little alternative to accepting them at face value.
  • Cost-effectiveness: as with the first metric in this series "Vulnerability scan coverage", the metric may be fairly cheap to collect, analyze, report and use, but unfortunately the business benefits are also low, hence the net value is close to zero.  Read on to find out why.

With deeper analysis, it turns out the metric could be distinctly misleading, perhaps even counterproductive.  Under some circumstances, an apparent increase in the number of security incidents may perversely mean that information security has in fact improved whereas in normal circumstances the opposite would be true: more incidents means worse security.  


The paradox occurs because people are naturally reluctant to report bad news to management, security incidents for example, especially so if they fear being blamed or held accountable for them.  If on top of that the metric is used naively by management as a big stick to drive down the incident rate, the added pressure will make people even more reluctant to report incidents Accurately and Genuinely, which is not good for security.  If management wants to see the rate go down, the slope of the graph will no doubt decrease, but part of that decrease will be due to incidents remaining unreported, or perhaps specific incidents being aggregated into nondescript reports that downplay the effects.  They may have succeeded in improving information security, but there's a distinct possibility that the quality or integrity of management information has degraded.  

Conversely, if management recognizes the issue and uses the metric instead to drive up the reporting of security incidents, they will remind people of their reporting obligations and push the numbers up, applying a subtle pressure to split incidents into a number of smaller ones simply to satisfy management's demands for more incidents.  Worse still, some people may be tempted to worsen security in order not to prevent incidents, driving the numbers up that way.   Hardly a shining example of information security management practices!

That said, I rather suspect the sponsors and authors of the survey, and perhaps the respondents also, may have interpreted this metric in the very specific technical context of Tripwire's system.  It's not unreasonable to assume that, once correctly configured, the system will identify and count what it considers to be security incidents, in a mechanistic and relatively objective way, hence the number of incidents reported by the system would be a fairly reliable guide to the occurrence of those particular incidents.  However, there are probably still opportunities for mischief if someone decides, for whatever reason, to tweak the system's configuration settings, perhaps even meddle with the internal records, making it appear that fewer incidents have occurred.  The bigger issue is that Tripwire's system sees only a small fraction of the information security incidents affecting the organization.  It doesn't know about John in Accounts putting a decimal point in the wrong place and overstating the tax bill by $1m, and it hasn't a clue about Julie in Marketing accidentally publishing a list of sales prospects on the web server, or leaving behind a sheaf of confidential marketing plans and customer details in a local cafe ...  

Even being generous, the bottom line is a PRAGMATIC score of just 46% by my calculation, given all the issues and concerns noted above.  If you work through the thinking and scoring process for this metric in the context of your organization, you will almost certainly come up with a different figure ... and that's fine.  The analysis is the important bit.    I'd be surprised if you still think this is a good information security metric.

More to come: if you missed them, see the introduction and parts one, three, four and five of this series.