Threat Hunting

Yara

# Basic Rule to match string
rule matchString {
	strings:
		$someString = "Match me!"
	condition: 
		$someString
}

# Match any of the following strings
rule matchString {
	strings:
		$someString = "Match me!"
		$someString2 = "Or match me!"
		$someString3 = "Match me too!"
	condition: 
		any of them
}

Cheatsheet

Yara Rule cheatsheet

source: https://blog.securitybreak.io/security-infographics-9c4d3bd891ef#18dd

Windows

Just use sysinternals...

Linux

View Processes:

List running Services:

Check your logs: Can be useful to check for "nc" or other attacker tools:

Active TCP and UDP connections:

Crontab

Check your crontab:

Clear your crontab:

Log Analysis

Last updated