Concrete signature match: Virus Tool - Tool used to create or modify malware for .NET (Microsoft Intermediate Language) platform, family Cajan
This threat, VirTool:MSIL/Cajan.A!MTB, is a .NET-based offensive security tool identified through behavioral analysis and concrete strings. It is strongly associated with known privilege escalation frameworks like 'winpeas' and 'SharpByeBear', potentially leveraging exploits like CVE-2019-1405 to gain elevated system privileges.
Relevant strings associated with this threat: - winpeas (PEHSTR_EXT) - S3cur3Th1sSh1t/SharpByeBear (PEHSTR_EXT) - |#d1e49aac-8f56-4280-b9ba-993a6d77406c (NID) - }#d1e49aac-8f56-4280-b9ba-993a6d77406c (NID) - &|#b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 (NID) - &}#b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 (NID) - y*|#56a863a9-875e-4185-98a7-b882c64b5ce5 (NID) - y*}#56a863a9-875e-4185-98a7-b882c64b5ce5 (NID) - C|#be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 (NID) - C}#be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 (NID) - L|#3b576869-a4ec-4529-8536-b80a7769e899 (NID) - L}#3b576869-a4ec-4529-8536-b80a7769e899 (NID) - |#5beb7efe-fd9a-4556-801d-275e5ffc04cc (NID) - }#5beb7efe-fd9a-4556-801d-275e5ffc04cc (NID) - |#01443614-cd74-433a-b99e-2ecdc07bfc25 (NID) - }#01443614-cd74-433a-b99e-2ecdc07bfc25 (NID) - |#d3e037e1-3eb8-44c8-a917-57927947596d (NID) - }#d3e037e1-3eb8-44c8-a917-57927947596d (NID) - |#7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c (NID) - }#7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c (NID) - |#92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b (NID) - }#92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b (NID)
rule VirTool_MSIL_Cajan_A_2147760885_0
{
meta:
author = "threatcheck.sh"
detection_name = "VirTool:MSIL/Cajan.A!MTB"
threat_id = "2147760885"
type = "VirTool"
platform = "MSIL: .NET intermediate language scripts"
family = "Cajan"
severity = "Critical"
info = "MTB: Microsoft Threat Behavior"
signature_type = "SIGNATURE_TYPE_PEHSTR_EXT"
threshold = "3"
strings_accuracy = "High"
strings:
$x_2_1 = "winpeas" ascii //weight: 2
$x_1_2 = "S3cur3Th1sSh1t/SharpByeBear" ascii //weight: 1
$x_1_3 = "CVE_2019_1405" ascii //weight: 1
condition:
(filesize < 20MB) and
(
((1 of ($x_2_*) and 1 of ($x_1_*))) or
(all of ($x*))
)
}bdbfb7a35cf48dbaf1de8e6577fd6148a764860cf5eef8083ad1dddc2daf63b7Immediately isolate the affected system to prevent further compromise. Conduct a full forensic investigation to ascertain the initial access vector and the extent of the breach. Eradicate all malicious artifacts, revert any unauthorized changes, and consider re-imaging the system. Enhance endpoint detection and response (EDR) capabilities, implement robust privilege access management (PAM), and ensure timely patching of all systems to mitigate similar future threats.