Posts

Showing posts from March, 2024

SigmaHQ2Splunk

Sigma is a generic and open signature format that allows you to describe relevant log events straightforwardly. These rules are used for log and security event analysis, detection, and hunting. Sigma rules are written in YAML format, which makes them easy to read and write. They are designed to be portable and can be converted to various SIEMs (Security Information and Event Management). There is a large community of threat hunters create and share these rules with each other, and there’s no community larger than SigmaHQ ( https://github.com/SigmaHQ ). Below is a bash script that will clone the SigmaHQ GitHub repository and convert them to Splunk queries.   There are a couple of prerequisites. •    Git - https://github.com/git-guides/install-git •    sigma-cli - https://github.com/SigmaHQ/sigma-cli

Not Just for Vulnerabilities

Image
Why should I protect our vulnerability scanners? It's just vulnerabilities, and hackers can just scan for themselves, right? True, but vulnerability scanners are much more than that. They can also execute arbitrary commands and pose a much greater risk than you realize. In this example, we'll use the popular vulnerability scanner Nessus; however, any major vulnerability scanner will have this capability. Nessus can run audit files, which are XML-based and can execute PowerShell commands. In this post, we’ll break down the functionality of these audit files. The first tag is to identify the audit file type. In our case a Windows audit file. After this comes the group tag. This helps organize the audit file in Nessus. Now, we get into the more interesting tags. The IF, THEN, ELSE tags. These tags are optional. However, I highly recommend utilizing them. This allows for a conditional check(s) to be performed before proceeding with the rest of the checks.  In our case, we’re t...