This detection identifies adversaries deploying legacy hacking toolkits that utilize a readme.txt file to disclose their presence or deliver initial payloads within the Azure environment. Proactive hunting for this specific artifact is critical because such files often serve as indicators of compromise from dormant threats or reconnaissance activities that may have bypassed standard automated alerts due to their age and common naming convention.
rule PassSniffer_zip_Folder_readme {
meta:
description = "Disclosed hacktool set (old stuff) - file readme.txt"
author = "Florian Roth"
date = "23.11.14"
score = 60
hash = "a52545ae62ddb0ea52905cbb61d895a51bfe9bcd"
strings:
$s0 = "PassSniffer.exe" fullword ascii
$s1 = "POP3/FTP Sniffer" fullword ascii
$s2 = "Password Sniffer V1.0" fullword ascii
condition:
1 of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 3 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the detection rule “Disclosed hacktool set (old stuff) - file readme.txt”, including suggested filters and exclusions:
Legacy Documentation Deployment by IT Operations
readme.txt file containing onboarding instructions, which is created in the user’s root directory (C:\Users\Public\Documents) during the provisioning phase.readme.txt located specifically within the path C:\Users\Public\Documents\OnboardingKit\*. Additionally, filter out events where the process name is ccmsetup.exe (SCCM) or Microsoft.IntuneManagementExtension.exe.Scheduled Backup Verification Job
readme.txt in the root of the backup volume (D:\Backup\Logs) to document the current backup cycle status and version. This file is generated by a custom PowerShell script running under the SYSTEM account every night at 02:00 AM.D:\Backup\Logs\* AND the process name is powershell.exe. Further refine by excluding events occurring between 01:30 and 03:00 daily.Third-Party Antivirus Signature Update
readme.txt in its local data directory (`C:\ProgramData\Crow