Blueteaming
Last updated
Last updated
Date: March 20, 2023 Last edited time: April 6, 2023 1:06 PM Tags: DFIR (Digital Forensics - Incidence Response), Defensive Security, General Security, Windows
Tools for SOC
Opensource SOC
Soc basics
Free Blue Team Cyber Security Training:
HackerSploit Training Course -Part 1- (YouTube):
HackerSploit Training Course -Part 2- (Linode Live):
Network Defense/Digital Forensics (EC-Council):
Introduction to Cyber Security -with Case Study: WhatsApp Attack- (Great Learning):
Digital Forensics (Infosec):
Introduction Courses (Security Blue Team):
Introduction to Cyber Security/Cloud Security/CISSP (Simplilearn):
Network Security NSE1/NSE2/NSE3 (FORTINET NETWORK SECURITY):
SOC Analyst (Splunk):
Proactive Security Operations Center (Picus Security Academy):
Certified in Cybersecurity℠ - CC (ISC)²:
Cyber Aces (SANS Institute):
Introduction to IT and Cybersecurity (Cybrary):
Computer Systems Security (Massachusetts Institute of Technology):
Pillars of SOC
Journey to the Autonomous SOC
Devoebook.pdf
Blue Team Cheatsheet .pdf
Blue Teaming Field Manual [Bible]This github repository contains a collection of 65+ tools and resources that can be useful for blue teaming activities.
Blue Team Field Manual (BTFM).pdf
Blue Team Tips 4 tips
Network Discovery and Mapping 6 tools
Vulnerability Management 4 tools
Security Monitoring 10 tools
Threat Tools and Techniques 11 tools
Threat Intelligence 4 tools
Incident Response Planning 5 tools
Malware Detection and Analysis 11 tools
Data Recovery 3 tools
Digital Forensics 3 tools
Security Awareness Training 3 tools
Communication and Collaboration 2 tools
Learn from Blue Teamers with a collection of Blue Teaming Tips. These tips cover a range of tactics, tools, and methodologies to improve your blue teaming abilities.
Description: 'Malware Analysis Tip - Use Process Hacker to watch for suspicious .NET assemblies in newly spawned processes. Combined with DnSpy - it's possible to locate and extract malicious payloads without needing to manually de-obfuscate.'
Description: On Windows, it's common to see threat actors achieve initial execution via malicious script files masquerading as Microsoft Office files. A nice way to prevent this attack chain is to alter the default application associated with these files (HTA, JS, VBA, VBS) to notepad.exe
. Now when a user is successfully tricked into clicking a HTA file on disk it will open the script in notepad and execution will not occur.
Description: Cryptojacking malware is becoming more suffisticated, with mining malware leveraging DLL sideloading to hide on machine and reducing CPU load to stay below detection thresholds. One thing they all have in common is they have to make connections to mining pools, this is where we can find them. Monitor your proxy and DNS logs for connections containing common mining pool strings (e.g *xmr.*
OR *pool.com
OR *pool.org
OR pool.*
).
Description: 'After decoding base64 for Unicode string during malware analysis, you may encounter null bytes. Keep your code readable by using the "Remove null bytes" operation in CyberChef'.
Tools for scanning and mapping out the network, discovering devices and services, and identifying potential vulnerabilities.
Nmap (short for Network Mapper) is a free and open-source network scanner tool used to discover hosts and services on a computer network, and to probe for information about their characteristics.
It can be used to determine which ports on a network are open and what services are running on those ports. Including the ability to identify security vulnerabilities on the network.
Install:
Usage:
`# Scan a single IP nmap 192.168.1.1
nmap 192.168.1.1-254
nmap -iL targets.txt
nmap 192.168.1.1 -p 21
nmap 192.168.1.1 -A`
A specialized tool designed to automate the process of detecting vulnerabilities in web applications, networks, and infrastructure.
Nuclei uses pre-defined templates to probe a target and identify potential vulnerabilities. It can be used to test a single host or a range of hosts, and can be configured to run a variety of tests to check for different types of vulnerabilities.
Install:
git clone https://github.com/projectdiscovery/nuclei.git; \ cd nuclei/v2/cmd/nuclei; \ go build; \ mv nuclei /usr/local/bin/; \ nuclei -version;
Usage:
`# All the templates gets executed from default template installation path. nuclei -u https://example.com
nuclei -u https://example.com -t cves/ -t exposures/
nuclei -list http_urls.txt
nuclei -list urls.txt -t cves/ -exclude-templates cves/2020/CVE-2020-XXXX.yaml`
A port scanner that is similar to nmap, but is much faster and can scan a large number of ports in a short amount of time.
Masscan uses a novel technique called "SYN scan" to scan networks, which allows it to scan a large number of ports very quickly.
Install: (Apt)
sudo apt install masscan
Install: (Git)
sudo apt-get install clang git gcc make libpcap-dev git clone https://github.com/robertdavidgraham/masscan cd masscan make
Usage:
`# Scan for a selection of ports (-p22,80,445) across a given subnet (192.168.1.0/24) masscan -p22,80,445 192.168.1.0/24
masscan 10.11.0.0/16 -p22-25
masscan 10.11.0.0/16 ‐‐top-ports 100 ––rate 100000
masscan 10.11.0.0/16 ‐‐top-ports 100 ‐‐excludefile exclude.txt`
A free and open-source tool for scanning IP addresses and ports.
It's a cross-platform tool, designed to be fast and easy to use, and can scan an entire network or a range of IP addresses to find live hosts.
Angry IP Scanner can also detect the hostname and MAC address of a device, and can be used to perform basic ping sweeps and port scans.
Install:
Usage:
Angry IP Scanner can be used via the GUI.
ZMap is a network scanner designed to perform comprehensive scans of the IPv4 address space or large portions of it.
On a typical desktop computer with a gigabit Ethernet connection, ZMap is capable scanning the entire public IPv4 address space in under 45 minutes.
Install:
Usage:
# Scan only 10.0.0.0/8 and 192.168.0.0/16 on TCP/80 zmap -p 80 10.0.0.0/8 192.168.0.0/16
Shodan is a search engine for internet-connected devices.
It crawls the internet for assets, allowing users to search for specific devices and view information about them.
This information can include the device's IP address, the software and version it is running, and the type of device it is.
Install:
Usage:
Tools for identifying, prioritizing, and mitigating vulnerabilities in the network and on individual devices.
OpenVAS is an open-source vulnerability scanner that helps identify security vulnerabilities in software and networks.
It is a tool that can be used to perform network security assessments and is often used to identify vulnerabilities in systems and applications so that they can be patched or mitigated.
OpenVAS is developed by the Greenbone Networks company and is available as a free and open-source software application.
Install: (Kali)
apt-get update apt-get dist-upgrade apt-get install openvas openvas-setup
Usage:
openvas-start
username:admin
password:(Password in openvas-setup command output)
Nessus is a vulnerability scanner that helps identify and assess the vulnerabilities that exist within a network or computer system.
It is a tool that is used to perform security assessments and can be used to identify vulnerabilities in systems and applications so that they can be patched or mitigated.
Nessus is developed by Tenable, Inc. and is available in both free and paid versions:
The free version, called Nessus Essentials, is available for personal use only and is limited in its capabilities compared to the paid version.
The paid version, called Nessus Professional, is more fully featured and is intended for use in a professional setting.
Install:
Usage:
Nexpose is a vulnerability management tool developed by Rapid7. It is designed to help organizations identify and assess vulnerabilities in their systems and applications in order to mitigate risk and improve security.
Nexpose can be used to scan networks, devices, and applications in order to identify vulnerabilities and provide recommendations for remediation.
It also offers features such as asset discovery, risk prioritization, and integration with other tools in the Rapid7 vulnerability management platform.
Install:
Usage:
HackerOne is a bug bounty management company that can be used to create and manage bug bounty programs for your business.
Bug bounty programs are a great way to outsource external vulnerability assessments, with the platform offering both private and public programs with the ability set program scopes and rules of engagement.
HackerOne also offer initial triage and management of external bug reports from researchers, with the ability to compensate researchers directly through the platform.
Tools for collecting and analyzing security logs and other data sources to identify potential threats and anomalous activity.
Sysmon is a Windows system monitor that tracks system activity and logs it to the Windows event log.
It provides detailed information about system activity, including process creation and termination, network connections, and changes to file creation time.
Sysmon can be configured to monitor specific events or processes and can be used to alert administrators of suspicious activity on a system.
Install:
Usage:
`# Install with default settings (process images hashed with SHA1 and no network monitoring) sysmon -accepteula -i
sysmon -accepteula -i c:\windows\config.xml
sysmon -u
sysmon -c`
Kibana is an open-source data visualization and exploration tool that is often used for log analysis in combination with Elasticsearch.
Kibana provides a user-friendly interface for searching, visualizing, and analyzing log data, which can be helpful for identifying patterns and trends that may indicate a security threat.
Kibana can be used to analyze a wide range of data sources, including system logs, network logs, and application logs. It can also be used to create custom dashboards and alerts to help security teams stay informed about potential threats and respond quickly to incidents.
Install:
Usage: (Visualize and explore log data)
Kibana provides a range of visualization tools that can help you identify patterns and trends in your log data. You can use these tools to create custom dashboards that display relevant metrics and alerts.
Usage: (Threat Alerting)
Kibana can be configured to send alerts when it detects certain patterns or anomalies in your log data. You can set up alerts to notify you of potential security threats, such as failed login attempts or network connections to known malicious IP addresses.
Logstash is a open-source data collection engine with real-time pipelining capabilities. It is a server-side data processing pipeline that ingests data from a multitude of sources simultaneously, transforms it, and then sends it to a "stash" like Elasticsearch.
Logstash has a rich set of plugins, which allows it to connect to a variety of sources and process the data in multiple ways. It can parse and transform logs, translate data into a structured format, or send it to another tool for further processing.
With its ability to process large volumes of data quickly, Logstash is an integral part of the ELK stack (Elasticsearch, Logstash, and Kibana) and is often used to centralize, transform, and monitor log data.
Install:
Usage:
A Python module and CLI utility for parsing DMARC reports.
When used with Elasticsearch and Kibana (or Splunk), it works as a self-hosted open source alternative to commercial DMARC report processing services such as Agari Brand Protection, Dmarcian, OnDMARC, ProofPoint Email Fraud Defense, and Valimail.
Features:
Parses draft and 1.0 standard aggregate/rua reports
Parses forensic/failure/ruf reports
Can parse reports from an inbox over IMAP, Microsoft Graph, or Gmail API
Transparently handles gzip or zip compressed reports
Consistent data structures
Simple JSON and/or CSV output
Optionally email the results
Optionally send the results to Elasticsearch and/or Splunk, for use with premade dashboards
Optionally send reports to Apache Kafka
As a business, phishing can cause reputational and financial damage to you and your customers. Being able to proactively identify phishing infrastructure targeting your business helps to reduce the risk of these damages.
Phish catcher allows you to catch possible phishing domains in near real time by looking for suspicious TLS certificate issuances reported to the Certificate Transparency Log (CTL) via the CertStream API.
"Suspicious" issuances are those whose domain name scores beyond a certain threshold based on a configuration file.
Maltrail is a malicious traffic detection system, utilizing publicly available lists containing malicious and/or generally suspicious trails, along with static trails compiled from various AV reports and custom user defined lists. A trail can be anything from domain name, URL, IP address or HTTP User-Agent header value.
Install:
sudo apt-get install git python3 python3-dev python3-pip python-is-python3 libpcap-dev build-essential procps schedtool sudo pip3 install pcapy-ng git clone --depth 1 https://github.com/stamparm/maltrail.git cd maltrail
Usage:
sudo python3 sensor.py
Autoruns is a tool developed by Sysinternals that allows you to view all of the locations in Windows where applications can insert themselves to launch at boot or when certain applications are opened. Malware often takes advantages of these locations to ensure that it runs whenever your computer boots up.
Autoruns conveniently includes a non-interactive command line utility. This code generates a CSV of Autoruns entries, converts them to JSON, and finally inserts them into a custom Windows Event Log. By doing this, we can take advantage of our existing WEF infrastructure to get these entries into our SIEM and start looking for signs of malicious persistence on endpoints and servers.
Install:
Usage:
From an Admin Powershell console run .\Install.ps1
This script does the following:
Creates the directory structure at c:\Program Files\AutorunsToWinEventLog
Copies over AutorunsToWinEventLog.ps1 to that directory
Sets up a scheduled task to run the script daily @ 11am
ProcFilter's intended use is for malware analysts to be able to create YARA signatures that protect their Windows environments against a specific threat. It does not include a large signature set. Think lightweight, precise, and targeted rather than broad or all-encompassing. ProcFilter is also intended for use in controlled analysis environments where custom plugins can perform artifact-specific actions.
Install:
Note: Unpatched Windows 7 systems require hotfix 3033929 to load the driver component. More information can be found here.
Usage:
procfilter -start
Velociraptor is a unique, advanced open-source endpoint monitoring, digital forensic and cyber response platform.
It was developed by Digital Forensic and Incident Response (DFIR) professionals who needed a powerful and efficient way to hunt for specific artifacts and monitor activities across fleets of endpoints. Velociraptor provides you with the ability to more effectively respond to a wide range of digital forensic and cyber incident response investigations and data breaches:
Features:
Reconstruct attacker activities through digital forensic analysis
Hunt for evidence of sophisticated adversaries
Investigate malware outbreaks and other suspicious network activities
Monitory continuously for suspicious user activities, such as files copied to USB devices
Discover whether disclosure of confidential information occurred outside the network
Gather endpoint data over time for use in threat hunting and future investigations
Install:
Usage:
velociraptor gui
SysmonSearch makes event log analysis more effective and less time consuming, by aggregating event logs generated by Microsoft's Sysmon.
SysmonSearch uses Elasticserach and Kibana (and Kibana plugin).
ElasticserachElasticsearch collects/stores Sysmon's event log.
KibanaKibana provides user interface for your Sysmon's event log analysis. The following functions are implemented as Kibana plugin.
Visualizes FunctionThis function visualizes Sysmon's event logs to illustrate correlation of processes and networks.
Statistical FunctionThis function collects the statistics of each device or Sysmon's event ID.
Monitor FunctionThis function monitor incoming logs based on the preconfigured rules, and trigers alert.
StixIoC serverYou can add search/monitor condition by uploading STIX/IOC file. From StixIoC server Web UI, you can upload STIXv1, STIXv2 and OpenIOC format files.
Install: (Linux)
git clone https://github.com/JPCERTCC/SysmonSearch.git
Usage:
Once Elasticsearch and Kibana configurations have been modified, restart the services and navigate to your Kibana interface. The SysmonSearch ribbon should be visible.
Tools for identifying and implementing detections against TTPs used by threat actors.
Living off the land binaries (LOLBins) are legitimate Windows executables that can be used by threat actors to carry out malicious activities without raising suspicion.
Using LOLBins allows attackers to blend in with normal system activity and evade detection, making them a popular choice for malicious actors.
The LOLBAS project is a MITRE mapped list of LOLBINS with commands, usage and detection information for defenders.
Usage:
Use the information for detection opportunities to harden your infrastructure against LOLBIN usage.
Here are some project links to get started:
GTFOBins (short for "Get The F* Out Binaries") is a collection of Unix binaries that can be used to escalate privileges, bypass restrictions, or execute arbitrary commands on a system.
They can be used by threat actors to gain unauthorized access to systems and carry out malicious activities.
The GTFOBins project is a list of Unix binaries with command and usage information for attackers. This information can be used to implement unix detections.
Usage:
Here are some project links to get started:
Filesec is a list of file extensions that can be used by attackers for phishing, execution, macros etc.
This is a nice resource to understand the malicious use cases of common file extentions and ways that you can defend against them.
Each file extension page contains a description, related operating system and recommendations.
Usage:
Here are some project links to get started:
KQL stands for "Kusto Query Language", and it is a query language used to search and filter data in Azure Monitor logs. It is similar to SQL, but is more optimized for log analytics and time-series data.
KQL query language is particularly useful for blue teamers because it allows you to quickly and easily search through large volumes of log data to identify security events and anomalies that may indicate a threat.
Malware authors spend a great deal of time and effort to develop complex code to perform malicious actions against a target system. It is crucial for malware to remain undetected and avoid sandbox analysis, antiviruses or malware analysts.
With this kind of technics, malware are able to pass under the radar and stay undetected on a system. The goal of this free database is to centralize the information about malware evasion techniques.
The project aims to provide Malware Analysts and Defenders with actionable insights and detection capabilities to shorten their response times.
Chainsaw provides a powerful ‘first-response’ capability to quickly identify threats within Windows forensic artefacts such as Event Logs and MFTs. Chainsaw offers a generic and fast method of searching through event logs for keywords, and by identifying threats using built-in support for Sigma detection rules, and via custom Chainsaw detection rules.
Features:
Hunt for threats using Sigma detection rules and custom Chainsaw detection rules
Search and extract forensic artefacts by string matching, and regex patterns
Lightning fast, written in rust, wrapping the EVTX parser library by @OBenamram
Clean and lightweight execution and output formats without unnecessary bloat
Document tagging (detection logic matching) provided by the TAU Engine Library
Output results in a variety of formats, such as ASCII table format, CSV format, and JSON format
Can be run on MacOS, Linux and Windows
Install:
git clone https://github.com/countercept/chainsaw.git cargo build --release git clone https://github.com/SigmaHQ/sigma git clone https://github.com/sbousseaden/EVTX-ATTACK-SAMPLES.git
Usage:
./chainsaw hunt EVTX-ATTACK-SAMPLES/ -s sigma/ --mapping mappings/sigma-event-logs-all.yml
Adversaries attempt to bypass signature based/pattern matching/blacklist techniques by introducing random: filenames, service names, workstation names, domains, hostnames, SSL cert subjects and issuer subjects, etc.
Freq is a python API designed by Mark Baggett to handle mass entropy testing. It was designed to be used in conjunction with a SIEM solutions but can work with anything that can submit a web request.
The tool uses frequency tables that map how likely one character will follow another
Install:
git clone https://github.com/MarkBaggett/freq cd freq
Usage:
# Running freq_server.py on port 10004 and using a frequency table of /opt/freq/dns.freq /usr/bin/python /opt/freq/freq_server.py 10004 /opt/freq/dns.freq
yarGen is a generator for YARA rules
The main principle is the creation of yara rules from strings found in malware files while removing all strings that also appear in goodware files. Therefore yarGen includes a big goodware strings and opcode database as ZIP archives that have to be extracted before the first use.
The rule generation process also tries to identify similarities between the files that get analyzed and then combines the strings to so called super rules. The super rule generation does not remove the simple rule for the files that have been combined in a single super rule. This means that there is some redundancy when super rules are created. You can suppress a simple rule for a file that was already covered by super rule by using --nosimple.
Install:
pip install -r requirements.txt python yarGen.py --update
Usage:
`# Create a new strings and opcodes database from an Office 2013 program directory yarGen.py -c --opcodes -i office -g /opt/packs/office2013
yarGen.py -u --opcodes -i office -g /opt/packs/office365`
With EmailAnalyzer you can able to analyze your suspicious emails. You can extract headers, links and hashes from the .eml file
Install:
git clone https://github.com/keraattin/EmailAnalyzer cd EmailAnalyzer
Usage:
`# View headers in eml file python3 email-analyzer.py -f --headers
python3 email-analyzer.py -f --digests
python3 email-analyzer.py -f --links
python3 email-analyzer.py -f --attachments`
VCG is an automated code security review tool that handles C/C++, Java, C#, VB and PL/SQL. It has a few features that should hopefully make it useful to anyone conducting code security reviews, particularly where time is at a premium:
In addition to performing some more complex checks it also has a config file for each language that basically allows you to add any bad functions (or other text) that you want to search for
It attempts to find a range of around 20 phrases within comments that can indicate broken code (“ToDo”, “FixMe”, “Kludge”, etc.)
It provides a nice pie chart (for the entire codebase and for individual files) showing relative proportions of code, whitespace, comments, ‘ToDo’ style comments and bad code
Install:
You can install the pre-compiled binary here.
Open the project .sln, choose "Release", and build.
Usage:
`STARTUP OPTIONS: (Set desired starting point for GUI. If using console mode these options will set target(s) to be scanned.) -t, --target <Filename|DirectoryName>: Set target file or directory. Use this option either to load target immediately into GUI or to provide the target for console mode. -l, --language <CPP|PLSQL|JAVA|CS|VB|PHP|COBOL>: Set target language (Default is C/C++). -e, --extensions <ext1|ext2|ext3>: Set file extensions to be analysed (See ReadMe or Options screen for language-specific defaults). -i, --import : Import XML/CSV results to GUI.
OUTPUT OPTIONS: (Automagically export results to a file in the specified format. Use XML or CSV output if you wish to reload results into the GUI later on.) -x, --export : Automatically export results to XML file. -f, --csv-export : Automatically export results to CSV file. -r, --results : Automatically export results to flat text file.
CONSOLE OPTIONS: -c, --console: Run application in console only (hide GUI). -v, --verbose: Set console output to verbose mode. -h, --help: Show help.`
CyberChef is a free, web-based tool that allows users to manipulate and transform data using a wide range of techniques.
With CyberChef, you can perform a wide range of operations on data, such as converting between different data formats (e.g., hexadecimal, base64, ASCII), encoding and decoding data, searching and replacing text etc.
The tool also includes a recipe system, which allows you to save and share data manipulation workflows with others.
Tools for gathering and analyzing intelligence about current and emerging threats, and for generating alerts about potential threats.
Maltego is a commercial threat intelligence and forensics tool developed by Paterva. It is used by security professionals to gather and analyze information about domains, IP addresses, networks, and individuals in order to identify relationships and connections that might not be immediately apparent.
Maltego uses a visual interface to represent data as entities, which can be linked together to form a network of relationships. It includes a range of transforms, which are scripts that can be used to gather data from various sources, such as social media, DNS records, and WHOIS data.
Maltego is often used in conjunction with other security tools, such as SIEMs and vulnerability scanners, as part of a comprehensive threat intelligence and incident response strategy.
MISP (short for Malware Information Sharing Platform) is an open-source platform for sharing, storing, and correlating Indicators of Compromise (IOCs) of targeted attacks, threats, and malicious activity.
MISP includes a range of features, such as real-time sharing of IOCs, support for multiple formats, and the ability to import and export data to and from other tools.
It also provides a RESTful API and various data models to facilitate the integration of MISP with other security systems. In addition to its use as a threat intelligence platform, MISP is also used for incident response, forensic analysis, and malware research.
Install:
`# Kali wget -O /tmp/misp-kali.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh && bash /tmp/misp-kali.sh
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh bash /tmp/INSTALL.sh`
Usage:
ThreatConnect is a threat intelligence platform that helps organizations aggregate, analyze, and act on threat data. It is designed to provide a single, unified view of an organization's threat landscape and enable users to collaborate and share information about threats.
The platform includes a range of features for collecting, analyzing, and disseminating threat intelligence, such as a customizable dashboard, integration with third-party data sources, and the ability to create custom reports and alerts.
It is intended to help organizations improve their security posture by providing them with the information they need to identify, prioritize, and respond to potential threats.
This is a library of adversary emulation plans to enable you to evaluate your defensive capabilities against real-world threats.
Emulation plans are an essential component for organizations looking to prioritize defenses against behavior from specific threats.
The TTPs outlined in this resource can be used to design specific threat emulation activities to test your organisations defenses against specific threat actors.
Example (sandworm)
Tools for creating and maintaining an incident response plan, including templates and best practices for responding to different types of incidents.
The NIST Cybersecurity Framework (CSF) is a framework developed by the National Institute of Standards and Technology (NIST) to help organizations manage cybersecurity risks. It provides a set of guidelines, best practices, and standards for implementing and maintaining a robust cybersecurity program.
The framework is organized around five core functions: Identify, Protect, Detect, Respond, and Recover. These functions provide a structure for understanding and addressing the various components of cybersecurity risk.
The CSF is designed to be flexible and adaptable, and it can be customized to fit the specific needs and goals of an organization. It is intended to be used as a tool for improving an organization's cybersecurity posture and for helping organizations better understand and manage their cybersecurity risks.
Useful Links:
An incident response plan is a set of procedures that a company puts in place to manage and mitigate the impact of a security incident, such as a data breach or a cyber attack.
The theory behind an incident response plan is that it helps a company to be prepared for and respond effectively to a security incident, which can minimize the damage and reduce the chances of it happening again in the future.
There are several reasons why businesses need an incident response plan:
To minimize the impact of a security incident: An incident response plan helps a company to identify and address the source of a security incident as quickly as possible, which can help to minimize the damage and reduce the chances of it spreading.
To meet regulatory requirements: Many industries have regulations that require companies to have an incident response plan in place. For example, the Payment Card Industry Data Security Standard (PCI DSS) requires merchants and other organizations that accept credit cards to have an incident response plan.
To protect reputation: A security incident can damage a company's reputation, which can lead to a loss of customers and revenue. An incident response plan can help a company to manage the situation and minimize the damage to its reputation.
To reduce the cost of a security incident: The cost of a security incident can be significant, including the cost of remediation, legal fees, and lost business. An incident response plan can help a company to minimize these costs by providing a roadmap for responding to the incident.
Useful Links:
Ransomware is a type of malicious software that encrypts a victim's files. The attackers then demand a ransom from the victim to restore access to the files; hence the name ransomware.
The theory behind a ransomware response plan is that it helps a company to be prepared for and respond effectively to a ransomware attack, which can minimize the impact of the attack and reduce the chances of it happening again in the future.
There are several reasons why businesses need a ransomware response plan:
To minimize the impact of a ransomware attack: A ransomware response plan helps a company to identify and address a ransomware attack as quickly as possible, which can help to minimize the damage and reduce the chances of the ransomware spreading to other systems.
To protect against data loss: Ransomware attacks can result in the loss of important data, which can be costly and disruptive for a business. A ransomware response plan can help a company to recover from an attack and avoid data loss.
To protect reputation: A ransomware attack can damage a company's reputation, which can lead to a loss of customers and revenue. A ransomware response plan can help a company to manage the situation and minimize the damage to its reputation.
To reduce the cost of a ransomware attack: The cost of a ransomware attack can be significant, including the cost of remediation, legal fees, and lost business. A ransomware response plan can help a company to minimize these costs by providing a roadmap for responding to the attack.
Useful Links:
This is a “first aid” style of guidance for cybersecurity to help you prepare for a crisis and limit the potential damage in a crisis.
This includes tips and guidance for technical, operational, legal, and communications aspects of a major cybersecurity incident.
Key Takeaways
Preparation pays off – Preparing for a major incident can reduce damage to the organization, as well as reduce incident cost and management difficulty.
Operationalize your incident management processes – Managing major cybersecurity incidents must be part of standard business risk management processes.
Coordination is critical – Effective cybersecurity incident management requires collaboration and coordination of technical, operations, communications, legal, and governance functions.
Stay calm and do no harm in an incident – Overreacting can be as damaging as underreacting.
This is a great resource full of links for different aspects of incident response, including:
Adversary Emulation
All-In-One Tools
Books
Communities
Disk Image Creation Tools
Tools for detecting and analyzing malware, including antivirus software and forensic analysis tools
VirusTotal is a website and cloud-based tool that analyzes and scans files, URLs, and software for viruses, worms, and other types of malware.
When a file, URL, or software is submitted to VirusTotal, the tool uses various antivirus engines and other tools to scan and analyze it for malware. It then provides a report with the results of the analysis, which can help security professionals and blue teams identify and respond to potential threats.
VirusTotal can also be used to check the reputation of a file or URL, and to monitor for malicious activity on a network.
Usage:
`# Recently created documents with macros embedded, detected at least by 5 AVs (type:doc OR type: docx) tag:macros p:5+ generated:30d+
days (type:xls OR type:xlsx) tag:powershell fs:10d+
entity:file magic:"HTML document text" tag:powershell have:itw_url
the response entity:url header_value:"Apache/2.4.41 (Ubuntu)" parent_domain:domain.org
entity:url ( title:"XY Company" or title:"X.Y. Company" or title:"XYCompany" ) p:5+`
IDA (Interactive Disassembler) is a powerful tool used to reverse engineer and analyze compiled and executable code.
It can be used to examine the inner workings of software, including malware, and to understand how it functions. IDA allows users to disassemble code, decompile it into a higher-level programming language, and view and edit the resulting source code. This can be useful for identifying vulnerabilities, analyzing malware, and understanding how a program works.
IDA can also be used to generate graphs and charts that visualize the structure and flow of code, which can make it easier to understand and analyze.
Install:
Usage:
Ghidra is a free, open-source software reverse engineering tool developed by the National Security Agency (NSA). It is used to analyze compiled and executable code, including malware.
Ghidra allows users to disassemble code, decompile it into a higher-level programming language, and view and edit the resulting source code. This can be useful for identifying vulnerabilities, analyzing malware, and understanding how a program works.
Ghidra also includes a range of features and tools that support SRE tasks, such as debugging, code graphing, and data visualization. Ghidra is written in Java and is available for Windows, MacOS, and Linux.
Install:
Extract the zip
Usage:
Navigate to the unzipped folder
`# Windows ghidraRun.bat
./ghidraRun`
Script Encoding was introduced by Microsoft (long ago) to prevent people from being able to read, understand and alter VBScript files.
Encoded scripts are unreadable but still able to execute, making it a popular mechanism with threat actors looking to hide their malicious code, IOCs, hardcoded C2 domains etc whilst still being able to achieve execution.
The decode-vbe script can be used to convert encoded VBE files back to plaintext for analysis.
Install:
git clone https://github.com/DidierStevens/DidierStevensSuite/ cd DidierStevensSuite
Usage:
`# Decode literal string decode-vbe.py "##@^DgAAAA==\ko$K6,JC�V^GJqAQAAA==^#@"# Decode hexadecimal (prefix #h#) decode-vbe.py #h#23407E5E4467414141413D3D5C6B6F244B362C4A437F565E474A7141514141413D3D5E237E40
decode-vbe.py #b#I0B+XkRnQUFBQT09XGtvJEs2LEpDf1ZeR0pxQVFBQUE9PV4jfkA=`
Pafish is a testing tool that uses different techniques to detect virtual machines and malware analysis environments in the same way that malware families do.
Install: (Build)
Pafish is written in C and can be built with Mingw-w64 and make.
Usage:
pafish.exe
Lookyloo is a web interface that captures a webpage and then displays a tree of the domains, that call each other.
Use Lookyloo to map the journey a website page takes - from entering the initial URL address to the various redirects to third-party affiliations.
Install:
git clone https://github.com/Lookyloo/lookyloo.git cd lookyloo poetry install echo LOOKYLOO_HOME="'
pwd'" > .env
Usage:
Once installed and running, lookyloo can be operated via the web interface hosted locally.
YARA is a tool aimed at (but not limited to) helping malware researchers to identify and classify malware samples. With YARA you can create descriptions of malware families (or whatever you want to describe) based on textual or binary patterns.
Each description, a.k.a rule, consists of a set of strings and a boolean expression which determine its logic.
Install:
tar -zxf yara-4.2.0.tar.gz cd yara-4.2.0 ./bootstrap.sh sudo apt-get install automake libtool make gcc pkg-config git clone https://github.com/VirusTotal/yara cd yara ./bootstrap.sh ./configure make sudo make install
Usage:
`# Apply rule in /foo/bar/rules to all files in the current directory yara /foo/bar/rules .
yara /foo/bar/rules -r /foo`
Cuckoo is an open source automated malware analysis system.
It’s used to automatically run and analyze files and collect comprehensive analysis results that outline what the malware does while running inside an isolated operating system.
It can retrieve the following type of results:
Traces of calls performed by all processes spawned by the malware.
Files being created, deleted and downloaded by the malware during its execution.
Memory dumps of the malware processes.
Network traffic trace in PCAP format.
Screenshots taken during the execution of the malware.
Full memory dumps of the machines.
Install:
Usage:
Radare2 provides a set of libraries, tools and plugins to ease reverse engineering tasks.
r2 is a featureful low-level command-line tool with support for scripting. r2 can edit files on local hard drives, view kernel memory, and debug programs locally or via a remote gdb server. r2's wide architecture support allows you to analyze, emulate, debug, modify, and disassemble any binary.
Install:
git clone https://github.com/radareorg/radare2 radare2/sys/install.sh
Usage:
`$ r2 /bin/ls # open the binary in read-only mode
aaa # same as r2 -A, analyse the binary afl # list all functions (try aflt, aflm) px 32 # print 32 byte hexdump current block s sym.main # seek to the given offset (by flag name, number, ..) f~foo # filter flags with
grep (same as |grep) iS;is # list sections and symbols (same as rabin2 -Ss) pdf; agf # print function and show control-flow-graph in ascii-art oo+;w hello # reopen in rw mode and write a string in the current offset ?*... # interactive filter all command help messages q # quit`
dnSpy is a debugger and .NET assembly editor. You can use it to edit and debug assemblies.
Main features:
Debug .NET and Unity assemblies
Edit .NET and Unity assemblies
Install: (Build)
git clone --recursive https://github.com/dnSpy/dnSpy.git cd dnSpy ./build.ps1 -NoMsbuild
Usage:
dnSpy.exe
This is a site with over 2,200 blog entries about malicious network traffic. Almost every post on the site has pcap files or malware samples (or both).
The site also contains a number of traffic analysis exercises, including technical blog posts outlining techniques being used by threat actors.
Usage:
Tools for recovering data from damaged or corrupted systems and devices.
Recuva is a data recovery tool that can be used to recover deleted files from your computer.
It is often used to recover deleted files that may contain valuable information, such as deleted logs or documents that could be used to investigate a security incident.
Recuva can recover files from hard drives, USB drives, and memory cards, and it is available for Windows and Mac operating systems.
Install:
Usage:
Extundelete is a utility that can be used to recover deleted files from an ext3 or ext4 file system.
It works by searching the file system for blocks of data that used to belong to a file, and then attempting to recreate the file using those blocks of data. It is often used to recover important files that have been accidentally or maliciously deleted.
Install:
Usage:
`# Prints information about the filesystem from the superblock. --superblock
--restore-file path/to/deleted/file
--restore-all`
TestDisk is a free and open-source data recovery software tool that is designed to help recover lost partitions and make non-booting disks bootable again. It is useful for both computer forensics and data recovery.
It can be used to recover data that has been lost due to a variety of reasons, such as accidental deletion, formatting, or corruption of the partition table.
TestDisk can also be used to repair damaged boot sectors, recover deleted partitions, and recover lost files. It supports a wide range of file systems, including FAT, NTFS, and ext2/3/4, and can be used to recover data from disks that are damaged or formatted with a different file system than the one they were originally created with.
Install:
Usage:
Tools for conducting forensic investigations of digital devices and systems, including tools for collecting and analyzing evidence.
SANS SIFT (SANS Investigative Forensic Toolkit) is a powerful toolkit for forensic analysis and incident response.
It is a collection of open source and commercial tools that can be used to perform forensic analysis on a wide range of systems, including Windows, Linux, and Mac OS X. The SANS SIFT kit is designed to be run on a forensic workstation, which is a specialized computer that is used to perform forensic analysis on digital evidence.
The SANS SIFT kit is particularly useful for blue teamers, as it provides a wide range of tools and resources that can be used to investigate incidents, respond to threats, and perform forensic analysis on compromised systems.
Install:
Click the 'Login to Download' button and input (or create) your SANS Portal account credentials to download the virtual machine.
Once you have booted the virtual machine, use the credentials below to gain access.
Login = sansforensics Password = forensics
Note: Use to elevate privileges to root while mounting disk images.
Usage:
`# Registry Parsing - Regripper rip.pl -r -f
deleted.pl
ewfmount image.E01 mountpoint mount -o
bulk_extractor -o output_dir`
The Sleuth Kit is a collection of command line tools that can be used to analyze disk images and recover files from them.
It is primarily used by forensic investigators to examine digital evidence after a computer has been seized or an image of a disk has been made. It can be useful because it can help understand what happened during a security incident and identify any malicious activity.
The tools in The Sleuth Kit can be used to extract deleted files, analyze disk partition structures, and examine the file system for evidence of tampering or unusual activity.
Install:
Usage:
Autopsy is a digital forensics platform and graphical interface to The Sleuth Kit and other digital forensics tools.
It is used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can use it to analyze disk images and recover files, as well as to identify system and user activity.
Autopsy is used by "blue teams" (the cybersecurity professionals who defend organizations against attacks) to conduct forensic analysis and incident response. It can help blue teams understand the nature and scope of an attack, and identify any malicious activity that may have occurred on a computer or network.
Install:
Usage:
Tools for training employees and other users on how to recognize and prevent potential security threats.
TryHackMe is a platform that offers a variety of virtual machines, known as "rooms," which are designed to teach cybersecurity concepts and skills through hands-on learning.
These rooms are interactive and gamified, allowing users to learn about topics such as web vulnerabilities, network security, and cryptography by solving challenges and completing tasks.
The platform is often used for security awareness training, as it provides a safe and controlled environment for users to practice their skills and learn about different types of cyber threats and how to defend against them.
Useful links:
HackTheBox is a platform for practicing and improving your hacking skills.
It consists of a set of challenges that simulate real-world scenarios and require you to use your knowledge of various hacking techniques to solve them. These challenges are designed to test your knowledge of topics such as network security, cryptography, web security, and more.
HackTheBox is often used by security professionals as a way to practice and improve their skills, and it can also be a useful resource for security awareness training. By working through the challenges and learning how to solve them, individuals can gain a better understanding of how to identify and mitigate common security threats.
Useful links:
PhishMe is a company that provides security awareness training to help organizations educate their employees about how to identify and prevent phishing attacks.
PhishMe's training programs aim to teach employees how to recognize and report phishing attempts, as well as how to protect their personal and professional accounts from these types of attacks.
The company's training programs can be customized to fit the needs of different organizations and can be delivered through a variety of mediums, including online courses, in-person training, and simulations.
Useful links:
Tools for coordinating and communicating with team members during an incident, including chat, email, and project management software.
Twitter is a great platform for sharing information about cyber security.
It's a platform that is widely used by security professionals, researchers, and experts, giving you access to an endless amount of new information.
Some great accounts to follow:
Facebook ThreatExchange is a platform for security professionals to share and analyze information about cyber threats.
It was designed to help organizations better defend against threats by allowing them to share threat intelligence with each other in a private and secure way.
It is intended to be used by "blue teams", who are responsible for the security of an organization and work to prevent, detect, and respond to cyber threats.
Usage:
Useful links:
@embee_research
Default Application GPO Change
Dave Mckay
@Securityinbits
Network scanner
Vulnerability scanner
Fast network scanner
IP/port scanner
Large network scanner
Internet facing asset search engine
Open-source vulnerability scanner
Vulnerability scanner
Vulnerability management tool
Bug Bounty Management Platform
System Monitor for Windows
Data visualization and exploration
Data collection and processing
Email DMARC data visualisation
Phishing catcher using Certstream
Malicious traffic detection system
Windows AutoRuns Event Parser
YARA-integrated process denial framework
Endpoint visibility and collection tool
Sysmon event log visualisation
Living Off The Land Windows Binaries
Living Off The Land Linux Binaries
Attacker file extensions
KQL query aggregator
Malware evasion techniques knowledge base
Fast Windows Forensic Artefacts Searcher
Domain generation algorithm malware detection
YARA rule generator
Suspicious emails analyser
Code security scanning tool
GCHQ online data manipulation platform
Threat Intelligence Platform
Malware Information Sharing Platform
Threat data aggregation
An open library of adversary emulation plans
Cybersecurity Framework
Framework for incident response
Framework for ransomware response
Incident preparation guidance paper
List of tools for incident response
Malicious IOC Sharing Platform
Malware disassembler and debugger
Malware reverse engineering tool
Encoded VBE script decoder
Virtual machine sandbox detector
Phishing domain mapping
Malware identification via pattern matching
Malware analysis sandbox
Reverse engineering framework
.NET debugger and assembly editor
Malware and packet capture samples
File recovery
Ext3 or ext4 partition recovery
Data Recovery
Forensic toolkit
Disk images analysis tools
Digital forensics platform
Cyber security challenges platform
Cyber security challenges platform
Phishing training
Cyber Security Accounts
Malicious indicators sharing platform
Credit:
Link:
Credit:
Link:
Credit:
Link:
Credit:
Link:
You can download the latest release from .
Nice usage .
Image used from
Full usage information can be found .
Image used from
Image used from
You can download the latest release from .
Full usage information and documentation can be found .
Image used from
You can download the latest release from .
Full usage information can be found .
Image used from
The search engine can be accessed at .
Image used from
Visit , accept the SSL certificate popup and login with admin credentials:
Image used from
Register for a Nessus Essentials activation code and download.
Purchase Nessus Professional from .
Extensive documentation can be found .
Image used from
For detailed installation instructions see .
For full login information see .
For usage and scan creation instructions see .
Image used from
Image used from
Download the sysmon binary from .
Full event filtering information can be found .
The Microsoft documentation page can be found .
Image used from
You can download Kibana from .
Installation instructions can be found .
Nice about querying and visualizing data in Kibana.
Image used from
Download logstash from .
Full logstash documentation .
Configuration examples .
Image used from
Image used from
Image used from
A demo page for this tool can be found .
Image used from
Download .
Downloads Autorunsc64.exe from
Image used from
ProcFilter is a process filtering system for Windows with built-in integration. YARA rules can be instrumented with custom meta tags that tailor its response to rule matches. It runs as a Windows service and is integrated with , making results viewable in the Windows Event Log. Installation, activation, and removal can be done dynamically and does not require a reboot.
Nice configuration template file .
Usage screenshots can be found .
Image used from
Download the binary from the .
Full usage information can be found .
Image used from
Full installation instructions can be found .
Image used from
Visit .
Image used from
Visit .
Image used from
Visit .
Image used from
KQL Search is a web app created by that aggregates KQL queries that are shared on GitHub.
You can visit the site at .
More information about Kusto Query Language (KQL) can be found .
Image used from
The project can be found at .
The project has an API - Docs .
Image used from
Image used from
Download the latest .
Usage examples can be found .
Image used from
Text used from
The tool can be used from .
Image used from
You can schedule a demo .
Image used from
Full installation instructions can be found .
MISP documentation can be found .
Image used from
You can request a demo from .
Image used from
Visit the resource .
Image used from
Image used from
Image used from
Image used from
You can read the paper .
Image used from
A curated list of tools and resources for security incident response, aimed to help security analysts and teams.
Visit the resource .
Image used from
Visit
Full documentation can be found .
Image used from
Download IDA from .
Image used from
Download the latest release from .
Full installation and error fix information can be found .
If Ghidra failed to launch, see the link.
Image used from
Nice blog about VBE files .
The project is free and open source; the code of all the anti-analysis techniques is publicly available. Pafish executables for Windows (x86 32-bit and 64-bit) can be downloaded from the .
The wiki page "" contains detailed instructions.
Image used from
Full installation instructions can be found .
Image used from
Full installation instructions can be found .
Nice YARA cheatsheet .
Image used from
For installation follow the docs .
For usage follow the docs .
Great usage book .
Image used from
Nice tutorial page .
Image used from
Visit .
Image used from
You can download the tool from .
Nice step by step .
Image used from
You can download the tool from .
Full usage information can be found .
Image used from
You can download the tool from .
Full usage examples .
Image used from
Visit .
Additional install options .
Full usage guide .
Image used from
Download tool from .
Link to .
Image used from
Download the tool from .
Image used from
Visit and create an account.
Visit the tab for a full list of available rooms and modules.
Image used from
Visit and create an account.
Image used from
Request a demo from .
Image used from
To request access to ThreatExchange, you have to submit an application via .