• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
How to Normalize Threat Intelligence Data from Multiple Sources - Tech Talk Tuesday
 

How to Normalize Threat Intelligence Data from Multiple Sources - Tech Talk Tuesday

on

  • 2,817 views

Ever feel like you spend more time converting security information from one format to another, than actually connecting the dots hidden within it? The Collective Intelligence Framework (CIF) is a data ...

Ever feel like you spend more time converting security information from one format to another, than actually connecting the dots hidden within it? The Collective Intelligence Framework (CIF) is a data processor for pulling in and normalizing out all these threat intel sources into a single combined dataset. Watch it on-demand http://ow.ly/li8Lf #TTTSec

Statistics

Views

Total Views
2,817
Views on SlideShare
2,782
Embed Views
35

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 35

https://twitter.com 35

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    How to Normalize Threat Intelligence Data from Multiple Sources - Tech Talk Tuesday How to Normalize Threat Intelligence Data from Multiple Sources - Tech Talk Tuesday Presentation Transcript

    • How to Normalize ThreatIntelligence Data fromMultiple Sources#TTTsec @AlienVaultYour HostConrad ConstantineCommunity Manager,AlienVault@cpconstantineTodd LeethamCyber Threat Intelligence Lead, EMC@rudehimself
    • Covered In This Talk• Getting the Collective IntelligenceFramework installed, collecting intelligencefrom external sources and generating acustom feed to use with your securitycontrols.• Making sense of the Threat IntelligenceResources out there as part of yoursecurity monitoring program.
    • What You’ll Need to Build andUse CIF• A Linux system, (a Debian-based distro ispreferred) with plenty of resources allocated –4GB and 20GB of storage recommended forexperimentation, 16GB and 500GB recommendedfor production.• Experience installing Linux software from source.• Basic DBA skills with the PostGreSQL Database.• Admin experience with the BIND DNS resolver• Admin experience with the Apache Webserver• Know how to locate and install Perl Modules.• Familiarity with essential internet topologymechanisms (BGP AS’s, registrars, etc)
    • Collective Intelligence Framework:Redux• Just as a SIEM allows the consumption of log data,normalizing to allow queries, transforms and correlations to berun against them, CIF does the same for Threat Intel Data.• IP addresses, Domains, URI substrings – threat intel comes inmany formats and we don’t have time to spend our daysconverting datasets by hand – automate once, use it forever.• Store Data from multiple sources, combine, process andproduce customized output in formats suitable forconsumption by the security controls you have in placealready.• Query the intelligence data via programming API or human-readable web interface.• Customize output for different audiences, maintain accessthrough a key-based API system, share tokenized, sanitizedintelligence amongst multiple organizations without disclosingsensitive information in the process.http://code.google.com/p/collective-intelligence-framework/
    • CIF Architecture
    • Threat Intelligence For MereMortals• Security Controls (for the most part) detect technicalthreats – they can’t determine intent.• Malicious activity can be indistinguishable fromlegitimate, to a software control.• Nothing identifies a False Positive like a second (orthird, or fourth) opinion.• Attackers have agility that defenders do not –keeping them on the move and unable to launch anattack from the same place twice raises their costsof ‘doing business’• Information about where they are launching attacksfrom, what tools they are using – any piece ofinformation that can make the difference betweenresponding to an Alert, and responding to a Threat.
    • Putting Threat Intel to Work• Security Controls generate hundreds of alerts per day(on a slow day).• Threat Intelligence allows you to prioritize responseefforts around caused by external parties known to beconducting malicious activities.• Threat Intel allows you to group individual alerts togetherinto a larger picture of coordinated activity against yourassets, and enable you to strike at the roots of an attackcampaign instead of chasing each compromiseindividually.• 50 compromised machines? Or one Command AndControl system to identify and block communications to?
    • The Threat IntelligenceMarketplace• Public internet threat intelligence began with Anti-Spam Blacklists.• Now covers a multitude of open repositories ofhost/network reputation, malware and exploitsignatures and other more specialized information.• Several Public and Private organizations maintainprivate (or commercial subscription) feeds of ThreatIntelligence, ranging from IP Reputation tospecialized research about the individuals carryingout attacks.• Many emerging standards for defining andexchanging threat information – and securitycontrols often have only limited support forconsuming this information.
    • Building your first CIF Server• You either:– Want to start incorporating some public ThreatData into your security controls• Or– You’re currently consuming several threatdata feeds and want a better way to combine,aggregate and query them, and process themwith your security controls and analysis tools
    • Polling Question#TTTsec @AlienVault
    • Prerequisites andEnvironment• A working BIND installation on the CIF server, configured touse trusted public DNS servers for upstream forwarding:https://code.google.com/p/collective-intelligence-framework/wiki/BindSetup_v1• A working PostgreSQL installation on the CIF server,configured for user/pass based authhttps://code.google.com/p/collective-intelligence-framework/wiki/PostgresInstall_v1• An Apache Webserver installation, with Mod_Perl loaded.• A fairly extensive collection of Perl moduleshttp://code.google.com/p/collective-intelligence-framework/wiki/ServerInstall_DebianSqueeze_v1https://code.google.com/p/collective-intelligence-framework/wiki/ServerInstall_DebianWheezy_v1https://code.google.com/p/collective-intelligence-framework/wiki/ServerInstall_Ubuntu12_v1https://code.google.com/p/collective-intelligence-framework/wiki/ServerInstall_CentOS6_v1https://code.google.com/p/collective-intelligence-framework/wiki/ServerInstall_CentOS5_v1
    • CIF Server Installation• Download the CIF archive, extract it, run the configure scripts.• Build and ‘make install’• Run ‘make initdb’ this will fail if postgresql was not configured.• Create a new service account – ‘cif’, generate the base CIFconfiguration file for it. ~/.cif• Configure Apache to load the CIF http API perl modules via mod_perl.• Install the Cron entries for CIF to update its threat sources periodically• CIF installs to /opt/cif by default.https://code.google.com/p/collective-intelligence-framework/wiki/ServerInstall_v1
    • Creating API Keys• Access to the CIF datastore is done via client apps using an API key.• You’ll need to generate an access key for each client that will haveaccess to the CIF datastore.• The initial key creation is going to look something like this:$ cif_apikeys -u myuser@mydomain.com -a -g everyone -G everyoneuserid key description guid default_guid access writerevoked expires createdmyuser@mydomain.com 249cd5fd-04e3-46ad-bf0f-c02030cc864a 8c864306-d21a-37b1-8705-746a786719bf true all 2012-08-01 11:50:15.969724+00• You’re going to need this API key to configure a CIF client
    • Installing a Client• The Client is contained in the ‘libcif’ source package – install the perldependencies and configure && make && make install, as usual.• This contains the ‘cif’ binary used for commandline interaction withthe CIF server.• Configuration is just the URI for the CIF server API, and the client’sAPI key (generated previous)https://code.google.com/p/collective-intelligence-framework/wiki/ClientInstall_v1
    • Threat Intel Sources• The default threat intel sources are defined in individual configs in{installdir}/etc/• They are updated periodically with the {installdir}/bin/cif_crontoolexecutable.• They define a source of information, and some basic transforms tobegin the normalization process.• Sources are defined with global access rights, confidence levels,that control how their information is used within CIF client queries.detection = dailyfeed = http://reputation.alienvault.com/reputation.datasource = reputation.alienvault.comguid = everyoneconfidence = 65severity = mediumrestriction = need-to-knowalternativeid = "http://reputation.alienvault.com/reputation.generic"alternativeid_restriction = publicmirror = /tmp
    • CIF and AlienVault Open Threat Exchange.• CIF comes with a few public Threat Intelsources by default.• CleanMX, Zeustracker, MalwareDomainList..• ….and AlienVault Open Threat Exchange.• The same IP reputation and Threat Data weuse in the AlienVault product.• With CIF you can consume it..• ..With AlienVault OSSIM you can contributeto it automatically and help take the fight tothe Threat Actors.
    • Querying Feeds• Commandline client allows querying thenormalized feed data by confidence level, typeof activity seen, network location, domain, etc• Query if a URI exists in the Threat Feeds:$ cif -q http://www.yahoo.com/example.html‘• Query for all information about hosts on a given network:$ cif -q 130.201.0.0/16• Has anyone seen this file before? Try a SHA-1 Hashquery:$ cif -q a5135ec6f2322cc12f3d9daa38dfb358• Some simple Web Interfaces created for the HTTP API,or query from your own tools if they are capable ofmaking API queries.
    • Consuming Feeds• CIF comes with a selection of output feed plugins, available via thecommandline tool , using the –p (plugin) argument, using the perlIODEF module or the HTTP API.https://github.com/collectiveintel/iodef-pb-simple-perl/tree/master/lib/Iodef/Pb/Format• Some included formats: snort rules csv json bindzone html table ascii table bro (network monitor) pcap filter iptables
    • Putting it to Work• Define feeds that query information according to yourconditions Type of Threats observed Confidence Levels Network Locations, etc etc• Export in a format consumable by your security controls.• Automatically block connections, or just raise priority onalerts that show up in aggregate threat data.• Create your own data source from your own SecurityAnalysis work, create limited views on the informationand share with Security Partners.
    • Taking it from Here• Get a basic system up• Start Experimenting with the CIF query tools• Generate a feed to automatically pass on toone of your security controls or analysis tools.• SIEM WatchLists are excellent things topopulate with Threat Intel, to alert andprioritize on.• Start responding to attacks made by people,not signatures triggered by systems.
    • • Collective Intelligence Framework (CIF)Websitehttps://code.google.com/p/collective-intelligence-framework/– Server Installation Instructionshttps://code.google.com/p/collective-intelligence-framework/wiki/ServerInstall_v1(Don’t forget to check the dependencies page for your Linux Distro!)– Client Installation Instructionshttps://code.google.com/p/collective-intelligence-framework/wiki/ClientInstall_v1– API Documentationhttps://code.google.com/p/collective-intelligence-framework/wiki/API_v1• AlienVault Open Threat Exchange(OTX)http://www.alienvault.com/alienvault-labs/open-threat-exchangeREFERENCE
    • • AlienVault OSSIM, free open-source SIEMhttp://communities.alienvault.com• Free 30-day trial of AlienVault USMhttp://www.alienvault.com/free-trial• AlienVault Labs bloghttp://labs.alienvault.com/labs/• AlienVault Apps & ThreatReportshttp://www.alienvault.com/resource-center/open-minds-exchangeSponsored by: AlienVaultwww.alienvault.com#TTTsec @AlienVaultHELPFUL TOOLS & RESOURCES
    • Questions?#TTTsec @AlienVault
    • Thank You.#TTTsec @AlienVaultYour HostConrad ConstantineCommunity Manager,AlienVault@cpconstantineTo learn more about AlienVault please visit:www.alienvault.com