+ All Categories
Home > Documents > Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7....

Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7....

Date post: 20-Jul-2020
Category:
Upload: others
View: 15 times
Download: 0 times
Share this document with a friend
35
Presented by Carson Zimmerman Practical SOC Metrics
Transcript
Page 1: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

Presented by Carson Zimmerman

Practical SOC Metrics

Page 2: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Worked in Security Operations for ~15 years

§ SOC Engineering Team Lead @ Microsoft

§ Previously SOC engineer, analyst & consultant @ MITRE

§ Check out my book if you haven’t already: https://www.mitre.org/publications/all/ten-strategies-of-a-world-class-cybersecurity-operations-center

About Carson

2

Page 3: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Independent Consultant (Montance.com)

§ SANS Institute

– Senior Instructor & Course Author

– SOC Survey Author (2017, 2018, 2019)

– Security Operations Summit Chair§ SOC-class.com – Security Operations

Class on building & running a SOC§ Engagements with Defense, Education,

Energy, Financial, IT, Manufacturing, Science, Software Development, …

About Chris

3

Page 4: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Pick Something You Love…

4http://disney.wikia.com/wiki/File:TS2_Jessie_hugs_Woody.jpg

Page 5: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

…And Measure It

5https://en.wikipedia.org/wiki/Tape_measure#/media/File:Measuring-tape.jpg

Page 6: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Even if you’re not at CMM level >= 3, you can still get started!

Measuring Things Usually Drives Change

6

Initial

Managed

Defined

Measured

Optimizing

Page 7: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Metrics are Like Lightsabers

7

https://www.maxpixel.net/Laser-Sword-Lightsaber-Green-Science-Fiction-Space-1675211

Page 8: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

They Can Be Used for Good…

8

https://www.scifinow.co.uk/blog/top-5-star-wars-scenes-we-want-to-see-on-blu-ray/

Page 9: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

…And for Evil

9

http://starwars.wikia.com/wiki/File:UnidentifiedClan-RotS.jpg

Page 10: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Metric data should be free and easy to calculate– ½ of all SOCs collect metrics according to SANS SOC survey 2017 & 2018

§ There should be a quality measure that compensates for perversion– Especially when there’s a time based metric!

§ Metrics aren’t (necessarily) Service Level Objectives (SLOs)– The metric is there to help screen, diagnose, and assess performance– Don’t fall into a trap of working to some perceived metric objective– Any metric should have an intended effect, and realize the measurement and

calculation isn’t always entirely valid § Expectations, messaging, objectives- all distinct!

Top Tips

11

Page 11: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ SOC Ticketing/case management system

§ SIEM / analytic platform / EDR-anywhere analysts create detections, investigate alerts

§ SOC code repository§ SOC budget

– CAPEX including hardware & software

– OPEX including people & cloud§ Enterprise asset management systems§ Vulnerability management

Data Sources

12

https://video-images.vice.com/articles/5b02e43f187df600095f5e7c/lede/1526917810059-GettyImages-159825349.jpeg

Page 12: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ SOC CMM: measure your SOC top to bottom

§ VERIS Framework: track your incidents well

§ SANS SOC Survey: recent polls from your peers

Existing Resources

13

https://enterprise.verizon.com/resources/reports/dbir/

https://www.fireeye.com/current-threats/annual-threat-report/mtrends.html

Page 13: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

Example Metrics

Page 14: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Is it “green”§ What is green anyway?§ Just because it’s up doesn’t

mean all is well– Delays in receipt– Drops§ Temporary§ Permanent

– Blips

Metric Focus 1: Data Feed Health

15

https://en.wikipedia.org/wiki/Watermelon#/media/File:Watermelon_cross_BNC.jpg

Page 15: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

5 Minutes’ of Work: Which Sensors are Down

17

Page 16: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§Automate detection of dead, slow or lagging collectors§ Query for old data (1-7 days ago) vs recent data (last 24 hours)§ Look for major dips or drops: done through query logic

§Consider human eyes on: daily or weekly

15 Minutes’ More Work: Automated Detection of Downed Feeds

19

OLD COUNT NEW COUNT OLD DEVICES NEW DEVICES IS BROKENCollector A 2230 2120 1002 934 NoCollector B 1203 1190 894 103 YesCollector C 3203 3305 342 325 NoCollector D 1120 305 569 234 YesCollector E 342 102 502 496 Yes

Page 17: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Dimensions:1. Absolute number and

percentage of coverage per compute environment/enclave/domain

2. Kill chain or ATT&CK cell3. Layer of the compute stack

(network, OS, application, etc.)

4. Device covered (Linux, Windows, IoT, network device)

Tips:1. Never drive coverage to 100%

§ You don’t know what you don’t know

§ Always a moving target2. There is always another

environment to cover, customer to serve

3. There will always be more stones to turn over; don’t ignore any of these dimensions

Metric Focus 2: Coverage

21

Page 18: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Percentage of systems “managed”:

– Inventoried?

– Tied to an asset/business owner?– Tied to a known business/mission function?

– Subject to configuration management?– Assigned to a responsible security team/POC?

– Risk assessed?§ If all are yes: it’s managed§ If not: it’s “wilderness”§ SOC observed device counts help identify

“unknown unknowns” in the wilderness

Managed vs Wilderness

22

Page 19: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ SLA: Agreement = monetary (or other penalty) for failing to meet

§ SLO: Objective = no specific penalty agreed to for failing to meet

§ Institution & missions specific where these need to be set in place

§ Don’t monitor everything the same way!– Instrumentation, custom

detections, response times, retention

Basic Service§ Host EDR§ Network logs§ Standard mix of detections§ Yearly engagementAdvanced Service§ Basic, plus:§ 3 application logs§ 1 focused detection/quarter§ Quarterly engagement

Monitoring SLAs/SLOs

24

Page 20: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Basic§ # + % of known on prem & cloud

assets scanned for vulns§ Amount of time it took to

compile vulnerability/risk status on covered assets during last high CVSS score “fire drill”

§ Number of people needed to massage & compile these numbers monthly

Advanced§ Time to sweep and compile

results for a given vuln or IOC:§ A given domain/forest identity

plane

§ Everything Internet-facing

§ All user desktop/laptops

§ Everything§ # + % of assets you can’t/don’t

cover (IoT, network devices, etc.)

Metric Focus 3: Scanning and Sweeping

25

Page 21: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Basics:1. Name2. Description3. Kill chain mapping4. ATT&CK cell mapping5. Depends on which data

type(s) (OS logs, Netflow, etc.)6. Covers which

environments/enclave7. Created- who, when

Advanced:8. Runs in what framework

(Streaming, batched query, etc.)

9. Last modified- who, when10.Last reviewed- who, when11.Status- dev, preprod, prod,

decom12.Output routes to… (analyst

triage, automated notification, etc.)

Metric Focus 4: Your Analytics

26

Page 22: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Is this good or evil?

Can this be gamed?

Measure Analyst Productivity

27

0102030405060

Alice Bob Charlie Trudy Mallory

Analytics Status for Last Month

Dev Preprod Prod Decom

Page 23: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ # of times a detection or analytic fired, attributed to the detection author

§ Is this evil?§ How can this be

gamed?

How Fruitful are Each Author’s Detections?

28

0102030405060

Alice Bob Charlie Trudy Mallory

Alert Final Disposition by Detection Author

Quick F+ by Tier 1 Quick F+ by Tier 2True + Garnered Further work

Page 24: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

How are You Supporting Your Customers?

29

0

5

10

15

20

25

30

35

40

45

50

Recon Weaponize Deliver Exploit Install C&C Actions

Analytic Coverage

Finance Sales Engineering Marketing VIP General

Page 25: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Map Your Analytics to ATT&CK

30

Props to MITRE for the great exampleMany places to do this… consider any structured code repo or wiki

https://car.mitre.org

Page 26: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

1. Name2. Join date3. Current role & time in role4. Number of alerts triaged in last

30 days5. % true positive rate for

escalations6. % response rate for customer

escalations 7. Number of escalated cases

handled in last 30 days8. Mean time to close a case

1. Number of analytics/detections created that are currently in production

2. Number of detections modified that are currently in production

3. Total lines committed to SOC code repo in last 90 days

4. Success/fail rate of queries executed in last 30 days

5. Median run time per query 6. Mean lexical/structural

similarity in queries run

Metric Focus 5: Analyst Performance

31

Page 27: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

Top time spent per case

Daily Review Dashboard

0

5

10

15

20

Phonecalls

Website

Email 10s ofalerts

Tipsfromhunt

TipsfromIntel

Tier 1 Inputs

01020304050607080

Engineerin

g

Finance

Operations

Marketin

gSa

les

Data C

enter…

Data C

enter…

Alert Disposition

Quick F+ by T1 Quick F+ by T2

True + Garnered Further Work

Auto Remediated Auto notified

Detection 23: downrev AV

Detection 22: AV

deactivated

Detection 33: downrev user agent string

Detection 21: IoC file hash match

Detection 64: SQL

injection

Detection 34:

VPN timetravel

Detection 76: Elephant flow on weird port

Detection 34:

SSL bad

cipher suite

Detection 56: low entropy on 443

Detection 87: high

entropy on 80

18-319: Hacking tool used by crowley

18-317: AV hit on carsonz-work host

18-329

18-410: IoC in marketing

18-384: IoC hit in egineering

18-386: interactive login in DC host 2

18-367: RDC session from sales

to DC 1

18-326: suspicious session to

hostEverything else

Top firing detections

Page 28: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Mean/median adversary dwell time

§ Mean and median time to…– Triage & Escalate– Identify– Contain– Eradicate & recover

§ Divergence from SLA/SLO?§ Insufficient eradication?§ Threat attributed?

§ Top sources of confirmed incidents

§ Proactive? Reactive?§ User reports? SOC monitoring?Data & ”anecdata”: unforced errors and impediments§ Time waiting on other teams to

do things§ No data/bad data/ data lost§ Incorrect/ambiguous

conclusions§ Time spent arguing

Metric Focus 6: Incident Handling

34

Page 29: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ More ideas:§ Mean/median time to respond§ Cases left open > time threshold§ Cases left open by initial

reporting/detection type§ Stacked bar chart by case type

Typical Incident Metrics

35

12 6 9 823

70

50

100

150

200

250

January February March April May June

Incidents: Last 6 Months

Open Cases Closed Cases Escalated to 3rd party

Page 30: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Most incidents are avoidable… everyone realizes this– Collect metrics on how avoidable, what could have been done to prevent

§ Crowley’s Incident Avoidability metric– A measure, already available in the environment, is applied to other

systems/networks, but wasn’t applied -> resulting in the incident– A measure is available (generally) and something (economic, political) prevents

implementing it within the organization– Nothing is available to prevent that method of attack

§ Attribution for measure/mechanism in 1 & 2 is critical

Incident Avoidability

38

Page 31: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Make vulnerability management data available to customers– Self service model– Scan results down to asset & item

scanned§ But don’t beat them over the

head with every measure!– Pick classic ones they will always be

measured on– Scanning, monitoring, patching

§ Pick top risk items from own incident avoidability metrics and public intel reporting to focus on each year, semester, or quarter– Internet-exposed devices– Code signing enforcement– EDR deployment– Single factor auth– Non-managed devices & cloud

resources

Metric Focus 7: Top Risk Areas & Hygiene

41

Page 32: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

Conclusion

Page 33: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

©2019 Carson Zimmerman©2019 Carson Zimmerman

§ Whatever you do, measure something– Include both internal and external

measures– Behaviors and outcomes!

§ You can do it, regardless of how mature, old, or big your SOC is

§ Pick your investments carefully§ Iterate constantly

Closing

46

http://memeshappen.com/meme/custom/you-can-do-it-18134

Page 34: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

Questions

Page 35: Practical SOC Metrics - FireEye · escalations 6. % response rate for customer escalations 7. Number of escalated cases handled in last 30 days 8. Mean time to close a case 1. Number

Recommended