Git Product home page Git Product logo

lazarus-sigma-rules's Introduction

Lazarus Sigma Rules

The Sigma rules in this repository were created by the F-Secure Countercept Detection and Response Team to provide detection coverage for the Tools, Techniques and Procedures recently used by the Lazarus Group.

The blog posts discussing the creation of these Sigma rules can be found here:

Detection Rules

  • win_word_create_lnk - Detects the creation of anomalous shortcut file by Word document
  • win_word_launch_explorer - Detects explorer being launched by Microsoft Word document
  • win_mshta_load_vbscript - Detects suspicious execution of VBScript by Mshta.exe
  • win_nonbrowser_susp_url - Detects suspicious non-browser attempts to access suspicious URL
  • win_powershell_disable_windefender - Detects PowerShell command used to disable Windows Defender
  • win_powershell_ip_args - Detects Powershell execution with arguments containing external IP addresses
  • win_anom_schtasks_creation.yml - Detects the creation of scheduled tasks to run anomalous programs
  • win_disable_credential_guard.yml - Detects attempt to disable Windows Defender Credential Guard
  • win_reg_enable_wdigest.yml - Detects the enumeration or modification of WDigest plaintext credential caching registry entry
  • win_remote_schtasks_creation.yml - Detects the creation of scheduled task on remote endpoints as part of lateral movement
  • win_susp_exec_programdata.yml - Detects a suspicious execution from the unusual folder ProgramData
  • win_susp_schtasks_execution.yml - Detects the execution of suspicious process from schedule task
  • win_wevtutil_clear_export_logs.yml - Detects the use of wevtutil to clear or export Windows Security logs

Detection Notes

As every network is different, we recommend studying the provided Sigma rules before implementing them in your environment. The process of introducing new rules to a network is often an iterative process of development and whitelisting in order to get the rules to a suitable level of fidelity, and to ensure that the volume of log data being collected can be queried and stored.

The rules provided in this repository were tested against a sysmon deployment using the SwiftOnSecurity configuration with a few minor changes:

ImageLoad Events (Event ID 7)

To configure Sysmon to collect ImageLoad events, the Event ID 7 RuleGroup was set to:

<RuleGroup name="" groupRelation="or">
	<ImageLoad onmatch="exclude">
		<Image condition="image">chrome.exe</Image>
		<Image condition="image">vmtoolsd.exe</Image>
	</ImageLoad>
</RuleGroup>

Reference: Cyb3rWard0g

FileCreate Events (EventID 11)

To enable the win_word_create_lnk.yml rule to operate correctly, the following line was added to the Event ID 11 rule group so that FileCreate events relating to .lnk were logged:

<TargetFilename condition="end with">.lnk</TargetFilename>

Registry Events

If you are using the SwiftOnSecurity Sysmon Config there appears to be an error in the config which results in registry events for the "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders" path to not be logged. There is an existing Pull Request to fix this issue, but you will need to manually fix the config error in the meantime.

lazarus-sigma-rules's People

Contributors

fscc-jamesd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.