100 Days of YARA – Day 44: NirSoft LSA Secrets View

Although this tool has legitimate use cases within the context of system administration, you’d probably want to know about if it was on your network.

This rule will find NirSoft’s LSA Secrets View utility: https://www.nirsoft.net/utils/lsa_secrets_view.html

rule nirsoft_lsasecretsview
{
	meta:
		description = "NirSoft LSA Secrets View"
		reference = "https://www.nirsoft.net/utils/lsa_secrets_view.html"

	strings:
		$ = "NirSoft" wide
		$ = "LSA Secrets Viewer" wide

	condition:
		uint16(0) == 0x5a4d and all of them
}

YARA Rules Index

One thought on “100 Days of YARA – Day 44: NirSoft LSA Secrets View

  1. Pingback: Week 06 – 2022 – This Week In 4n6

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s