This rule identifies executable files compiled with Borland Delphi 6.0 or 7.0 that exhibit characteristics associated with the PseudoSigner tool, a technique often used by adversaries to create unsigned or falsely signed binaries to evade security controls. Proactively hunting for these artifacts in Azure Sentinel allows the SOC to detect potential low-severity malware or trojans that leverage legacy compiler signatures to blend in with legitimate software, reducing the risk of undetected persistence or initial access.
rule _PseudoSigner_01_Borland_Delphi_60_70: PEiD
{
strings:
$a = { 90 90 90 90 68 ?? ?? ?? ?? 67 64 FF 36 00 00 67 64 89 26 00 00 F1 90 90 90 90 53 8B D8 33 C0 A3 09 09 09 00 6A 00 E8 09 09 00 FF A3 09 09 09 00 A1 09 09 09 00 A3 09 09 09 00 33 C0 A3 09 09 09 00 33 C0 A3 09 09 09 00 E8 }
condition:
$a at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
C:\Program Files\InternalTools\Inventory\) or exclude processes where the parent is ccmexec.exe or IntuneAgent.exe and the file path matches known legacy app folders.C:\Users\*\AppData\Local\ or C:\Program Files (x86)\ if the parent process is a known IDE (e.g., devenv.exe, code.exe) or browser process (chrome.exe, firefox.exe), and the file name contains keywords like plugin, extension, or addon.C:\Scripts\ or C:\Maintenance\ folder.
svchost.exe (specifically the Task Scheduler service) or taskschd.msc, and the file path matches C:\Scripts\ or C:\Maintenance\ with a file extension of .exe.