SlideShare a Scribd company logo
1 of 38
Download to read offline
Is That Normal? 
Behaviour modelling on the cheap 
Mark Nunnikhoven, bunch of letters 
@marknca 
Just like you probably can’t see this, I can’t see the backchannel 
Tweet me now @marknca, I’ll reply after the talk…
What is it? 
What folks are doing
Today’s talk 
Context 
The gap 
Getting started
Recently…
450 000 000
Target 
27-Nov-2013—15-Dec-2013 
First CEO “resignation” due to information security incident
The Home Depot 
Early May-2014—Late Aug-2014 
a/k/a “Target 2”
ebay 
Late Feb-2014—Mid May-2014 
Nominated for “Worst Communications During An Incident”
Houston Astros 
17-Jun–2013—17-Oct-2014 
“Oh shit, they tried to trade me for an old bus and a hot dog vendor?”
Amazing visualization from Information Is Beautiful 
“World’s Biggest Data Breaches & Hacks”
0d 
Because it was successful, it was “an APT”…at least according to marketing
KISS 
Simple works. A lot. With minimal effort 
Why waste a “bunker buster” when they left the door open?
The Problem
Data 
Restrict inbound 
Restrict outbound 
Heavily monitor access
User 
Restrict inbound 
Allow outbound 
Little to no monitoring
Authentication 
Authorization 
Yes, we only use 2 types of controls to police this space. Amazing isn’t it?
Authentication 
Authorization 
Behaviour analysis 
3 is more than 2. So that’s an immediate win when reporting up to your boss(es)
How?
What to look at 
All traffic leaving user space
What to look at 
All traffic leaving user space
What to look for 
Malicious patterns 
You might want to consider buying something here or at least Martin’s solution 
However, if you don’t have a strong process for handling alerts don’t bother!
What to look for 
Odd access patterns 
You can buy products that help here but we can get good ROI with DIY 
If you already have a SIEM, put this effort into tuning it’s rules & alerts
Starting point 
…and only a starting point
The Goal 
Provide actionable information 
to your team 
You’re never going to get 100% automated here 
BUT you can reduce your team’s workload
In order of importance 
Access 
Transactions 
Authentication 
<< fancy circles for no particular reason
And then? 
Dump it all in a database 
Yes, an old school relational database
Dump it? 
Well no…that’ll cause problems* 
* Only if you want to do anything with the data. 
If you want a(nother) shelfware project, go ahead 
The #1 problem with RDBMS is that few people consider 
what they want to get _out_ of them
Hardware Table Structure 
Desktop Hour 
Bigger Day 
Biggest Week 
Bigger-est Month 
Ridiculous This talk has “on the Cheap” in the title. 
Stop showing off 
It’s amazing what an old school DB can do when structured properly 
There is a reason why we’ve stuck with the tech for 40+ years
Anything else? 
Add metadata on ingestion* 
* You’re trying to save computation later on. And 
it’s easier to line up usernames or groups now 
rather than later. You can do fun things with 
caching too 
I felt like using the term “metadata” would add more credibility 
and a nice NSA-esque feeling here
Indices? 
Store the timestamp as 
YYYY-MM-DD-HH-MM-SS* 
* No wiggle room. It’s easier to do 
computations on this way 
First person to say “what about seconds since the epoch?” gets a free gift 
It’s not a good gift. You don’t want it. Trust me on this
Hardware Query Breadth (in tables) 
Desktop 1 
Bigger 2-3 
Biggest 3-5 
Bigger-est 3-5 
Ridiculous Didn’t you get the message on 2 slides ago? 
How you structure your query has a major impact on performance 
That should be obvious. If not, it is now
Hardware Query Size (in dimensions) 
More dimensions == slower performance but potentially more useful answers 
Use your judgement here 
Desktop 2-3 
Bigger 3-5 
Biggest 5-7 
Bigger-est 5-7 
Ridiculous Seriously, WTF?
How do I frame questions for the data? 
Based on the average of X, 
what are the outliers? 
* select min(thing_I_want) from (group_of_things_I_want) 
select max(thing_I_want) from (group_of_things_I_want) 
Not the Malcolm Gladwell Outliers, actual math-y type ones
Questions you should ask your data? 
<Timeline for logins> 
<Period of access for user> 
<Size of transaction> 
<Number of domains per day> 
* These four will net a lot of interesting info 
Start simple, build up the questions you ask based on success 
“If it isn’t actionable, get rid of it”, Rob Edwards < awesome guy
Use your logs 
Reduce work for your team 
Start small, build
Thanks! 
Mark Nunnikhoven 
@marknca 
Now send me a tweet ;-)

More Related Content

Similar to Is That Normal? Behaviour Modelling On The Cheap

Analytics-Enabled Experiences: The New Secret Weapon
Analytics-Enabled Experiences: The New Secret WeaponAnalytics-Enabled Experiences: The New Secret Weapon
Analytics-Enabled Experiences: The New Secret Weapon
Databricks
 

Similar to Is That Normal? Behaviour Modelling On The Cheap (20)

7 data presentation tips
7 data presentation tips7 data presentation tips
7 data presentation tips
 
Industry of Things World - Berlin 19-09-16
Industry of Things World - Berlin 19-09-16Industry of Things World - Berlin 19-09-16
Industry of Things World - Berlin 19-09-16
 
50.000 orange stickies later
50.000 orange stickies later50.000 orange stickies later
50.000 orange stickies later
 
AI Is Changing The Way We Look At Data Science
AI Is Changing The Way We Look At Data ScienceAI Is Changing The Way We Look At Data Science
AI Is Changing The Way We Look At Data Science
 
Analytics-Enabled Experiences: The New Secret Weapon
Analytics-Enabled Experiences: The New Secret WeaponAnalytics-Enabled Experiences: The New Secret Weapon
Analytics-Enabled Experiences: The New Secret Weapon
 
Neurodb Engr245 2021 Lessons Learned
Neurodb Engr245 2021 Lessons LearnedNeurodb Engr245 2021 Lessons Learned
Neurodb Engr245 2021 Lessons Learned
 
Less is More: Behind the Data at Risk I/O
Less is More: Behind the Data at Risk I/OLess is More: Behind the Data at Risk I/O
Less is More: Behind the Data at Risk I/O
 
Buried treasure - Discovering the hidden value of digital wallboards.
Buried treasure - Discovering the hidden value of digital wallboards.Buried treasure - Discovering the hidden value of digital wallboards.
Buried treasure - Discovering the hidden value of digital wallboards.
 
Open Web Technologies and You - Durham College Student Integration Presentation
Open Web Technologies and You - Durham College Student Integration PresentationOpen Web Technologies and You - Durham College Student Integration Presentation
Open Web Technologies and You - Durham College Student Integration Presentation
 
Data Driven Practice with e-MDs
Data Driven Practice with e-MDsData Driven Practice with e-MDs
Data Driven Practice with e-MDs
 
danmcclary-pspresentation-katieboyle-171030115522.pdf
danmcclary-pspresentation-katieboyle-171030115522.pdfdanmcclary-pspresentation-katieboyle-171030115522.pdf
danmcclary-pspresentation-katieboyle-171030115522.pdf
 
Why Big and Small Data Is Important by Google's Product Manager
Why Big and Small Data Is Important by Google's Product ManagerWhy Big and Small Data Is Important by Google's Product Manager
Why Big and Small Data Is Important by Google's Product Manager
 
Lightning talk on the future of analytics - CloudCamp London, 2016
Lightning talk on the future of analytics - CloudCamp London, 2016 Lightning talk on the future of analytics - CloudCamp London, 2016
Lightning talk on the future of analytics - CloudCamp London, 2016
 
Idiots guide to setting up a data science team
Idiots guide to setting up a data science teamIdiots guide to setting up a data science team
Idiots guide to setting up a data science team
 
Putting data science in your business a first utility feedback
Putting data science in your business a first utility feedbackPutting data science in your business a first utility feedback
Putting data science in your business a first utility feedback
 
SkillsFuture Festival at NUS 2019- Machine Learning for Humans
SkillsFuture Festival at NUS 2019- Machine Learning for HumansSkillsFuture Festival at NUS 2019- Machine Learning for Humans
SkillsFuture Festival at NUS 2019- Machine Learning for Humans
 
101 ways to fail at security analytics ... and how not to do that - BSidesLV ...
101 ways to fail at security analytics ... and how not to do that - BSidesLV ...101 ways to fail at security analytics ... and how not to do that - BSidesLV ...
101 ways to fail at security analytics ... and how not to do that - BSidesLV ...
 
Analytics - How and why you are making a mess of it and ruining your analysts...
Analytics - How and why you are making a mess of it and ruining your analysts...Analytics - How and why you are making a mess of it and ruining your analysts...
Analytics - How and why you are making a mess of it and ruining your analysts...
 
Software estimation is crap
Software estimation is crapSoftware estimation is crap
Software estimation is crap
 
Coaching teams in creative problem solving
Coaching teams in creative problem solvingCoaching teams in creative problem solving
Coaching teams in creative problem solving
 

More from Mark Nunnikhoven

Power Struggle: Balancing Relationships & Responsibility in the Cloud
Power Struggle: Balancing Relationships & Responsibility in the CloudPower Struggle: Balancing Relationships & Responsibility in the Cloud
Power Struggle: Balancing Relationships & Responsibility in the Cloud
Mark Nunnikhoven
 
Updating Security Operations For The Cloud
Updating Security Operations For The CloudUpdating Security Operations For The Cloud
Updating Security Operations For The Cloud
Mark Nunnikhoven
 
Shared Responsibility In Action
Shared Responsibility In ActionShared Responsibility In Action
Shared Responsibility In Action
Mark Nunnikhoven
 

More from Mark Nunnikhoven (13)

Advanced Security Automation Made Simple
Advanced Security Automation Made SimpleAdvanced Security Automation Made Simple
Advanced Security Automation Made Simple
 
AWS re:Invent 2017 re:View
AWS re:Invent 2017 re:ViewAWS re:Invent 2017 re:View
AWS re:Invent 2017 re:View
 
Security Teams & Tech In A Cloud World
Security Teams & Tech In A Cloud WorldSecurity Teams & Tech In A Cloud World
Security Teams & Tech In A Cloud World
 
Defending your workloads with aws waf and deep security
Defending your workloads with aws waf and deep securityDefending your workloads with aws waf and deep security
Defending your workloads with aws waf and deep security
 
AWS re:Invent 2015 re:Cap
AWS re:Invent 2015 re:CapAWS re:Invent 2015 re:Cap
AWS re:Invent 2015 re:Cap
 
Whodunit, The Mechanics of Attack Attribution
Whodunit, The Mechanics of Attack AttributionWhodunit, The Mechanics of Attack Attribution
Whodunit, The Mechanics of Attack Attribution
 
Power Struggle: Balancing Relationships & Responsibility in the Cloud
Power Struggle: Balancing Relationships & Responsibility in the CloudPower Struggle: Balancing Relationships & Responsibility in the Cloud
Power Struggle: Balancing Relationships & Responsibility in the Cloud
 
Security OF The Cloud
Security OF The CloudSecurity OF The Cloud
Security OF The Cloud
 
Shared Responsibility In Action
Shared Responsibility In ActionShared Responsibility In Action
Shared Responsibility In Action
 
Infrastructure as (Secure) Code
Infrastructure as (Secure) CodeInfrastructure as (Secure) Code
Infrastructure as (Secure) Code
 
Updating Security Operations For The Cloud
Updating Security Operations For The CloudUpdating Security Operations For The Cloud
Updating Security Operations For The Cloud
 
Shared Responsibility In Action
Shared Responsibility In ActionShared Responsibility In Action
Shared Responsibility In Action
 
The Most Common Failure With Today's Defences
The Most Common Failure With Today's DefencesThe Most Common Failure With Today's Defences
The Most Common Failure With Today's Defences
 

Recently uploaded

Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
gajnagarg
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 

Recently uploaded (20)

Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 

Is That Normal? Behaviour Modelling On The Cheap

  • 1. Is That Normal? Behaviour modelling on the cheap Mark Nunnikhoven, bunch of letters @marknca Just like you probably can’t see this, I can’t see the backchannel Tweet me now @marknca, I’ll reply after the talk…
  • 2. What is it? What folks are doing
  • 3. Today’s talk Context The gap Getting started
  • 5.
  • 7. Target 27-Nov-2013—15-Dec-2013 First CEO “resignation” due to information security incident
  • 8. The Home Depot Early May-2014—Late Aug-2014 a/k/a “Target 2”
  • 9. ebay Late Feb-2014—Mid May-2014 Nominated for “Worst Communications During An Incident”
  • 10. Houston Astros 17-Jun–2013—17-Oct-2014 “Oh shit, they tried to trade me for an old bus and a hot dog vendor?”
  • 11. Amazing visualization from Information Is Beautiful “World’s Biggest Data Breaches & Hacks”
  • 12. 0d Because it was successful, it was “an APT”…at least according to marketing
  • 13. KISS Simple works. A lot. With minimal effort Why waste a “bunker buster” when they left the door open?
  • 15. Data Restrict inbound Restrict outbound Heavily monitor access
  • 16. User Restrict inbound Allow outbound Little to no monitoring
  • 17.
  • 18. Authentication Authorization Yes, we only use 2 types of controls to police this space. Amazing isn’t it?
  • 19. Authentication Authorization Behaviour analysis 3 is more than 2. So that’s an immediate win when reporting up to your boss(es)
  • 20. How?
  • 21. What to look at All traffic leaving user space
  • 22. What to look at All traffic leaving user space
  • 23. What to look for Malicious patterns You might want to consider buying something here or at least Martin’s solution However, if you don’t have a strong process for handling alerts don’t bother!
  • 24. What to look for Odd access patterns You can buy products that help here but we can get good ROI with DIY If you already have a SIEM, put this effort into tuning it’s rules & alerts
  • 25. Starting point …and only a starting point
  • 26. The Goal Provide actionable information to your team You’re never going to get 100% automated here BUT you can reduce your team’s workload
  • 27. In order of importance Access Transactions Authentication << fancy circles for no particular reason
  • 28. And then? Dump it all in a database Yes, an old school relational database
  • 29. Dump it? Well no…that’ll cause problems* * Only if you want to do anything with the data. If you want a(nother) shelfware project, go ahead The #1 problem with RDBMS is that few people consider what they want to get _out_ of them
  • 30. Hardware Table Structure Desktop Hour Bigger Day Biggest Week Bigger-est Month Ridiculous This talk has “on the Cheap” in the title. Stop showing off It’s amazing what an old school DB can do when structured properly There is a reason why we’ve stuck with the tech for 40+ years
  • 31. Anything else? Add metadata on ingestion* * You’re trying to save computation later on. And it’s easier to line up usernames or groups now rather than later. You can do fun things with caching too I felt like using the term “metadata” would add more credibility and a nice NSA-esque feeling here
  • 32. Indices? Store the timestamp as YYYY-MM-DD-HH-MM-SS* * No wiggle room. It’s easier to do computations on this way First person to say “what about seconds since the epoch?” gets a free gift It’s not a good gift. You don’t want it. Trust me on this
  • 33. Hardware Query Breadth (in tables) Desktop 1 Bigger 2-3 Biggest 3-5 Bigger-est 3-5 Ridiculous Didn’t you get the message on 2 slides ago? How you structure your query has a major impact on performance That should be obvious. If not, it is now
  • 34. Hardware Query Size (in dimensions) More dimensions == slower performance but potentially more useful answers Use your judgement here Desktop 2-3 Bigger 3-5 Biggest 5-7 Bigger-est 5-7 Ridiculous Seriously, WTF?
  • 35. How do I frame questions for the data? Based on the average of X, what are the outliers? * select min(thing_I_want) from (group_of_things_I_want) select max(thing_I_want) from (group_of_things_I_want) Not the Malcolm Gladwell Outliers, actual math-y type ones
  • 36. Questions you should ask your data? <Timeline for logins> <Period of access for user> <Size of transaction> <Number of domains per day> * These four will net a lot of interesting info Start simple, build up the questions you ask based on success “If it isn’t actionable, get rid of it”, Rob Edwards < awesome guy
  • 37. Use your logs Reduce work for your team Start small, build
  • 38. Thanks! Mark Nunnikhoven @marknca Now send me a tweet ;-)