Monday, April 30, 2018

How To Build And Run A SOC for Incident Response - A Collection Of Resources

How To Build And Run A SOC for Incident Response - A Collection Of Resources

How to build a SOC / How to run a SOC
In this resource I'll locate some great resources for SOC, how to build a SOC, how to set-up a SOC and how to run and maintain your SOC once set up. I will also keep the links and tools up to date as I find new & better resources.
Let me know if you have comments or additions please.
_________

1- Starting Point - Some theoretical content:

What is a SOC? A SOC is a Security operations centre‍, where you have people dedicated to the company's ongoing information security watching and responding. They need the tools to prevent what they can and discover+remediate what they can not. They need the skills to do this.
Free:

IR process template via Frode Hommedal: http://frodehommedal.no/presentations/first-tc-oslo-2015/#/slide-start

Building a SOC via twitter user Rafeeq_rehman Building_SOC.pdf
A slidedeck on building a SOC via Slideshare:
Design & Build a Security Operation Center - from Sameer Paradia (CGEIT,CISM,CISSP)
RSA conference presentation 2012 Ben RothkeBuilding a Security Operations Center(SOC) 
McAfee - Creating and Maintaining a SOC - The details behind successful security operations centers
Lessons learned from working in a SOC by Jen Andre of Komand
Requiring sign-up:
Paid:
Security Operations Center: Building, Operating, and Maintaining your SOC from October 2015 by Joseph Muniz, Gary McIntyre, Nadhem AlFardan
"Crafting the InfoSec Playbook. Security Monitoring and Incident Response Master Plan" by Jeff Bollinger, Brandon Enright, Matthew Valites. Thanks Sashank Dara‍ for mentioning this.

2- Some Practical resources for incident response and SOC

Cheat Sheets:
Training/Certifications:
A critique of the parts/elements of paid incident handling‍ certfications via Taosecurity‍:
Free:
Most of Opensecuritytraining http://opensecuritytraining.info/Training.html
Paid:
Good Websites where you can learn more:

3. Tools of the trade:

Open Source/Free:
IP TO ASN via Teamcymru. IP To ASN allows one to map IP numbers to BGP prefixes and ASNs. These services come in various flavors, including whois (TCP 43), dns (UDP 53), HTTP (TCP 80) and HTTPS (TCP 443).
TOTALHASH totalhash provides static and dynamic analysis of malware samples. The data available on this site is free for non commercial use. If you have samples that you would like analyzed you may upload them to our anonymous FTP server.
Malwr malwr is a free malware analysis service and community launched in January 2011. You can submit files to it and receive the results of a complete dynamic analysis back.
Via CIRCL.LU:
Twitter user DA_667 storify on questions to ask when hiring an incident responder - storify created by
DA_667 on IR toolset on a shoestring budget using World of warcraft analogies:
SIEMelk stack
NSMSnort + Bro (with fullcap/flow later on when/if I had money)
Client-Side: GRR + El-Jefe + whatever crap A/V solution
Heroic Mode Extra credit: Packet Fence for shunting infected machines into a ?GTFO? VLAN for re-imaging/IR purposes
25-man RAID mode: Moloch for FPC.
Free service that unpacks, scans and analyzes almost any firmware package, detects vulnerabilitiesbackdoors -> firmware.refirmware.re
Live Incident response in powershell: PSRecon https://github.com/gfoss/PSRecon
List all named pipes via powershell:
PS C:\> [System.IO.Directory]::GetFiles("\\.\\pipe\\")Securityonion and Sysmon (slides)
Security onion Conference - 2015 from DefensiveDepth
Windows Live Artifact acquisition scripthttps://github.com/OMENScan/AChoir
Via mozilla open sourced: incident investigations: MIG "Mozllla InvestiGator": github.com/mozilla/mig
88 Feeds, ~800K live streamable threat Intel indicators to your sensors (link) via @critical stack
Incident response hunting tools: https://sroberts.github.io/2015/04/21/hunting-tools/
Share threat information with vetted partners -> ThreatExchange via the Facebook team
Cymon: Cymon is the largest tracker of open-source security reports about phishing, malware, botnets and other maliciousactivities.
NBDServer: Network block Device server for windows with a DFIR/forensic focus via Jeff Bryner
PYIOCpython tools for IOC (Indicator of Compromise) handling via Jeff Bryner
MozDef: The mozilladefense platform - automation of the security incident handling process and facilitate the real-timeactivities of incident handlers. Also via Jeff Bryner (suggested by @sastrytumuluri )
Maltrail: Maltrail is a malicious traffic detection system, utilizing publicly available (black)lists containing malicious and/or generally suspicious trails, along with static trails compiled from various AV reports and custom user defined lists
FIDO by the netflix team for automating incident response.
FIDO is an orchestration layer used to automate the incident response process by evaluating, assessing and responding to malware. Fido?s primary purpose is to handle the heavy manual effort needed to evaluate threats coming from today's security stack and the large number of alerts generated by them. As an orchestration platform fido can make using your existing security tools more efficient and accurate by heavily reducing the manual effort needed to detect, notify and respond to attacks against a network.
Fast IR Collector by Sekoialab
This tool collects different artefacts on live windows and records the results in csv files. With the analyses of this artefacts, an early compromission can be detected.
Kansa: A powershell incident response framework
The Sandia Cyber Omni Tracker (SCOT) is a cyber security incident response management system and knowledge base. Designed by cyber security incident respondersSCOT provides a new approach to manage security alertsanalyze data for deeper patterns, coordinate team efforts, and capture team knowledge. SCOT integrates with existing security applications to provide a consistent, easy to use interface that enhances analyst effectiveness.
Loki - Simple IOC and Incident Response scanner https://www.bsk-consulting.de/loki-free-ioc-scanner/
Volatility autoruns pluginFinding persistence points (also called " auto-Start Extensibility Points", or ASEPs) is a recurring task of any investigation potentially involving malware.To make an analyst's life a BIT easier, I came up with theautoruns plugin. autoruns basically automates most of the tasks you would need to run when trying to find out where malware is persisting from. Once all the autostart locations are found, they are matched with running processes in memory.
IR_Tool: A simple bash script for digital forensic on linux/unix system
Malcom: Malware Communication Analyzer
Malcom is a tool designed to analyze a system's network communication using graphical representations of network traffic, and cross-reference them with known malware sources. This comes handy when analyzing how certain malware species try to communicate with the outside world.
YARA - The pattern matching swiss knife
IRTriage - Incident Response Triage - Windows evidence Collection for forensic analysis
EMET 5.5. Always relevant to use, especially now that it can block Casey Smith's (SubTee) regsrv32 applocker bypass. Instructions on that here.
reassemble_dns - NICE tool 2 read pcap files, extract DNS messages &write them into file. IP fragments + TCP streams r reassembled
DNStwistCrazyParser- Identify typosquatting phishing domains
DNS Probe‍ and DNS_analyze‍ -> Identify, capture and analyze DNS traffic. Linkand Link.
Good tool collection by category on dfir.training blog: http://www.dfir.training/index.php/tools/new
OSXCollector which has now been turned into AMIRA: Automated Malware Incident Response & Analysis
Strake-IR‍ from 9yahds is a Security Incident Response Orchestration solution, 2 seat subscription is free.
IRMA Incident Response Malware Analysis. Today's defense is not only about learning about a file, but it is also getting a fine overview of the incident you dealt with: where / when a malicious file has been seen, who submitted a hash, where a hash has been noticed, which anti-virus detects it. IRMA intends to be an open-source platform designed to help identifying and analyzing malicious files.
New (Nov, 2016): Introducing TheHive: a Scalable, Open Source and Free Incident Response Platform blog.thehive-project.org/2016/11/07/int…
_________
Commercial solutions:
Syncurity IR - Implement a repeatable, scalable, auditable process across your entire security operations and incident response lifecycle.
Strake-IR‍ from 9yahds is a Security Incident Response Orchestration solution, 2 seat subscription is free. http://9yahds.com/
_________

4. Relevant Blogs/Slides:

Automating Forensic Artifact Collection with Splunk and GRR (link)
Report template for threat intelligence and Incident Response (link)
+Added: MS Ignore presentation: Windows Event Forwarding / Centralized logging for everyone via Jessica Payne
From RSAC‍ 2016 by Mark Russinovich:
"Machine Learning and the Cloud: Disrupting Threat Detection and Prevention"
From RSAC‍ 2016 by Mark Russinovich:
"Tracking Hackers on Your Network with Sysinternals Sysmon"
WMI persistence‍ blog and how to detect this persistence: http://windowsir.blogspot.lu/2016/04/cool-stuff-re-wmi-persistence.html which includes links to Matt Graeers blackhat US 2015 presentation paper on this topic. and and the DellSecureworks blog about their discovery
SubTee SCT persistence module: https://github.com/subTee/SCTPersistence -> useful to know and be able to detect
Hacking exposed: Computer forensics blog by David Cowen. Lots of good forensics advice to be found.
From BsidesCharm: Hunting threat actors with TLS certificates. Using open source data to defend networks by Mark Parsons / @markpars0ns / mark at accessviolation.org

Detecting DNS Tunnels with Packetbeat and Watcher

Data observed from monitoring DNS traffic on a network can be used as an indicator of compromise (IOC). This blog post will discuss how elasticsearch and Watcher can be used with Packetbeat to alert when possible malware activity is detected. Packetbeat is our open source packet analyzer.
Not all IOC scanning is the sameScan that which helps you via BSK-Consulting.
Outsourcing the SOC function can make sense. Use cases for managed security services via Securosis‍ thanks Sashank Dara‍ for the link
Proxy server logs for incident response https://www.vanimpe.eu/2016/10/21/proxy-server-logs-incident-response/ via Koen Van‍
Advice on setting up a SOC or multiple SOCs in 1 organizationhttp://www.montance.com/mgt517/#/5/7
Threat hunting for SOCs via Raffael Marty‍:
_________
https://www.peerlyst.com/posts/how-to-build-and-run-a-soc-for-incident-response-and-enterprise-defensibility-a-collection-of-resources?trk=post_page_recommended_reads

No comments: