This hypothesis targets the presence of Qt framework binaries, which adversaries may leverage to execute custom or obfuscated payloads that blend in with legitimate application components. Proactively hunting for these artifacts helps the SOC identify potential living-off-the-land techniques or unusual application deployments that could indicate stealthy post-compromise activity within the Azure environment.
rule QtFrameWork
{
meta:
author="_pusher_"
date="2016-08"
strings:
$aa0 = "\x00Qt5Core.dll\x00" ascii
$aa1 = "\x00QtCore4.dll\x00" ascii
condition:
(any of ($aa*) )
}
This YARA rule can be deployed in the following contexts:
This rule contains 2 string patterns in its detection logic.
Scenario: A developer or build engineer runs a custom C++ application built with the Qt framework (e.g., my_qt_app.exe) from a local development folder or a network share during testing. The YARA rule matches the embedded Qt library signatures or specific string patterns within the executable, triggering an alert despite the binary being a known, signed internal tool.
msbuild.exe, cmake.exe, code.exe) or where the image path resides in standard development directories (e.g., C:\Dev\, C:\Projects\, \\build-server\).Scenario: An IT administrator deploys a Qt-based GUI utility for network diagnostics or configuration (e.g., qt_network_tool.exe) via a Group Policy Object (GPO) or a scheduled task to multiple endpoints. The tool is executed by svchost.exe or Task Scheduler (taskschd.msi) and matches the YARA rule due to its Qt framework dependencies.
svchost.exe (specifically the “Group Policy Client” service) or taskschd.msi, and the image path is in standard administrative tool directories (e.g., C:\Program Files\CorpTools\, C:\Admin\).Scenario: A user opens a Qt-based desktop application used for internal reporting or data visualization (e.g., qt_report_viewer.exe) from a mapped network drive or a OneDrive-synced folder. The YARA rule triggers because the executable contains Qt library strings, and the process is launched by explorer.exe or OneDrive.exe.