Concrete signature match: Trojan - Appears legitimate but performs malicious actions for .NET (Microsoft Intermediate Language) platform, family AgentTesla
This detection indicates AgentTesla, a notorious .NET-based information stealer and remote access trojan. It is designed to capture keystrokes, log screen activity, steal credentials from web browsers and email clients, and exfiltrate sensitive system information, posing a significant data breach risk.
Relevant strings associated with this threat: - screenLogger (PEHSTR_EXT)
rule Trojan_MSIL_AgentTesla_CCHS_2147902336_0
{
meta:
author = "threatcheck.sh"
detection_name = "Trojan:MSIL/AgentTesla.CCHS!MTB"
threat_id = "2147902336"
type = "Trojan"
platform = "MSIL: .NET intermediate language scripts"
family = "AgentTesla"
severity = "Critical"
info = "MTB: Microsoft Threat Behavior"
signature_type = "SIGNATURE_TYPE_PEHSTR_EXT"
threshold = "15"
strings_accuracy = "High"
strings:
$x_1_1 = "screenLogger" ascii //weight: 1
$x_1_2 = "keyLogger" ascii //weight: 1
$x_1_3 = "OSFullName" wide //weight: 1
$x_1_4 = "CPU:" wide //weight: 1
$x_1_5 = "User Name" wide //weight: 1
$x_1_6 = "SbieDll.dll" wide //weight: 1
$x_1_7 = "Opera Mail\\Opera Mail" wide //weight: 1
$x_1_8 = "Software\\TightVNC" wide //weight: 1
$x_1_9 = "DownloadManager\\Passwords" wide //weight: 1
$x_1_10 = "hostname|encryptedPassword|encryptedUsername" wide //weight: 1
$x_1_11 = "Google\\Chrome\\User Data" wide //weight: 1
$x_1_12 = "Chromium\\User Data" wide //weight: 1
$x_1_13 = "Mozilla\\icecat" wide //weight: 1
$x_1_14 = "Elements Browser\\User Data" wide //weight: 1
$x_1_15 = "Microsoft\\Edge\\User Data" wide //weight: 1
condition:
(filesize < 20MB) and
(all of ($x*))
}8c99f17e2927d4a33c0bebea8465c3bac494a4796fed56cb172cbd8920b15a8a2e76a50f38c136fba5f74d91e141869bf8cc926af5d416c3bf47cad884110f8d4d08acae8180270235f519d9ec24e27e94c32f5c0370edd122bc6dc1f33a824097b6c601828796cbb4b7f7d7dba3789a792816fdca70201e3965dc57694882a46e00f52072b251d58ce01eecd95aa6022db7ba161e7d68d2c224091392f6c832Immediately isolate the affected system, perform a full malware scan, force a password reset for all potentially compromised credentials, and investigate for lateral movement or data exfiltration. Rebuild the system from a trusted backup.