Threat actors are known to sign their malware using stolen, or even legally acquired, code signing certificates.
This threat is becoming more relevant as more and more defenses are relying on digital signatures for allowing or not execution on an endpoint.
This project aims at collecting the details of the certificates that are known to be abused in the wild by malicious actors.
The scripts directory contains a Python script used to generate Yara rules for all the certificates. Rules are written according to Nextron System – Short tutorial how to create a yara rule for a compromised certificate.
To generate all the yara rules:
cd scripts/
python3 generate_yara.py Schema:
name: name_of_the_certificate
meta:
status: revoked|valid
source: leaked|malicious
description: |
Brief description of the certificate and where was it obtained from
references: Threat intelligence reference
date: Date of release
author: Author Name
issuer: Issuer of the certificate
timestamp: Unix timestamp of when the cert was leaked, if relevant
serial: Array of strings containing the serial numbers of the certificates
thumbprint: Optional array of strings containing the thumbprints of the certificates Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…