This detection identifies the execution of fp.exe, a known artifact from the Chinese Hacktool set often associated with reconnaissance and lateral movement activities within enterprise networks. Proactively hunting for this specific file in Azure Sentinel is critical to uncover early-stage adversary presence that may evade standard alerting thresholds due to its low severity classification, ensuring timely investigation before potential data exfiltration occurs.
rule Dos_fp {
meta:
description = "Chinese Hacktool Set - file fp.exe"
author = "Florian Roth"
reference = "http://tools.zjqhr.com/"
date = "2015-06-13"
hash = "41d57d356098ff55fe0e1f0bcaa9317df5a2a45c"
strings:
$s1 = "fpipe -l 53 -s 53 -r 80 192.168.1.101" fullword ascii
$s2 = "FPipe.exe" fullword wide
$s3 = "http://www.foundstone.com" fullword ascii
$s4 = "%s %s port %d. Address is already in use" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 65KB and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 4 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the Chinese Hacktool Set - file fp.exe detection rule, tailored for an enterprise environment:
Fortinet Endpoint Security Updates
fp.exe during policy updates or real-time scan initialization. This file often resides in the installation directory (C:\Program Files\Fortinet\...) and is signed by “Fortinet, Inc.”\Fortinet\, the publisher is Fortinet, Inc., and the digital signature status is valid.F5 BIG-IP License and Configuration Tools
fp.exe (F5 Provisioning) to manage license keys or push configuration changes from a central management server. This is typically triggered by scheduled maintenance jobs running under the SYSTEM account.fp.exe located in \F5\, executed by the SYSTEM user, and associated with process names like tmsh or f5-provision.HP Firmware Update Utilities
fp.exe (Firmware Processor) to check for and apply BIOS/UEFI updates during off-hours maintenance windows. The file is usually found in C:\Program Files\Hewlett-Packard\....fp.exe instances where the parent process is hpwuagent.exe or `HPUpdate