This hunt hypothesis targets adversaries deploying legacy password sniffing tools like PassSniffer.exe to capture credentials in transit or at rest within the environment. A proactive search is essential because these older utilities often lack modern security signatures and can be leveraged by attackers to silently exfiltrate sensitive authentication data before standard detection mechanisms trigger an alert.
rule PassSniffer {
meta:
description = "Disclosed hacktool set (old stuff) - file PassSniffer.exe"
author = "Florian Roth"
date = "23.11.14"
score = 60
hash = "dcce4c577728e8edf7ed38ac6ef6a1e68afb2c9f"
strings:
$s2 = "Sniff" fullword ascii
$s3 = "GetLas" fullword ascii
$s4 = "VersionExA" fullword ascii
$s10 = " Only RuntUZ" fullword ascii
$s12 = "emcpysetprintf\\" fullword ascii
$s13 = "WSFtartup" fullword ascii
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 6 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the PassSniffer.exe detection rule, including suggested filters and exclusions:
Legacy Password Auditing Tool Deployment
PassSniffer.exe as a background service to capture and analyze credential usage patterns during user logon sessions. This file is often installed in the C:\Program Files\LegacyAuditTools\ directory and runs under the context of a dedicated service account (e.g., svc_audit).C:\Program Files\LegacyAuditTools\PassSniffer.exe AND the user context is NT SERVICE\PasswordAuditSvc.Scheduled Credential Health Check Job
PassSniffer.exe located in a custom script directory (C:\Scripts\Security\Tools\) to sniff active sessions and generate compliance reports before archiving them.svchost.exe (specifically the Schedule service) AND the file path contains \Scripts\Security\Tools\PassSniffer.exe.Domain Admin Manual Investigation
PassSniffer.exe from a jump host to troubleshoot intermittent authentication failures for a specific department. The tool is executed directly via command line or shortcut by an account with high privileges (e.g., DOMAIN\Admins\jdoe) rather than being triggered automatically by a service.