// DocBunker browser subset of YARA-Forge core 20261026; original rules unchanged. import "dotnet" import "hash" import "pe" /* * YARA Rule Set * Repository Name: ESET * Repository: https://github.com/eset/malware-ioc * Retrieval Date: 2026-10-26 * Git Commit: 59745502656e813f9f79fc8005243edbc04f9397 * Number of Rules: 57 * Skipped: 39 (age), 20 (quality), 2 (score), 0 (importance) * * * LICENSE * * Copyright (c) 2014-2018 ESET spol. s r.o. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ private rule ESET_Invisimole_Blob_PRIVATE { meta: description = "Detects InvisiMole blobs by magic values" author = "ESET Research" id = "6a179d91-50f1-5400-b141-0f162efd2431" date = "2021-05-17" modified = "2021-05-17" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/invisimole/invisimole.yar#L34-L52" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "8bddaf874da58fbe6362498f8979b511f39531fe2b98d4be8c099bdafb6d0067" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" version = "1" strings: $magic_old_32 = {F9 FF D0 DE} $magic_old_64 = {64 FF D0 DE} $magic_new_32 = {86 DA 11 CE} $magic_new_64 = {64 DA 11 CE} condition: ($magic_old_32 at 0 ) or ( $magic_old_64 at 0 ) or ( $magic_new_32 at 0 ) or ( $magic_new_64 at 0 ) } private rule ESET_IIS_Native_Module_PRIVATE : FILE { meta: description = "Signature to match an IIS native module (clean or malicious)" author = "ESET Research" id = "e3bacdc8-fde1-5e83-ac94-79fc345e888d" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L34-L92" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "5a388dc3253df606e2648d1f9c018e6dde373bbddce66dba69b7aecdd95bac18" score = 75 quality = 55 tags = "FILE" license = "BSD 2-Clause" version = "1" strings: $e1 = "This module subscribed to event" $e2 = "CHttpModule::OnBeginRequest" $e3 = "CHttpModule::OnPostBeginRequest" $e4 = "CHttpModule::OnAuthenticateRequest" $e5 = "CHttpModule::OnPostAuthenticateRequest" $e6 = "CHttpModule::OnAuthorizeRequest" $e7 = "CHttpModule::OnPostAuthorizeRequest" $e8 = "CHttpModule::OnResolveRequestCache" $e9 = "CHttpModule::OnPostResolveRequestCache" $e10 = "CHttpModule::OnMapRequestHandler" $e11 = "CHttpModule::OnPostMapRequestHandler" $e12 = "CHttpModule::OnAcquireRequestState" $e13 = "CHttpModule::OnPostAcquireRequestState" $e14 = "CHttpModule::OnPreExecuteRequestHandler" $e15 = "CHttpModule::OnPostPreExecuteRequestHandler" $e16 = "CHttpModule::OnExecuteRequestHandler" $e17 = "CHttpModule::OnPostExecuteRequestHandler" $e18 = "CHttpModule::OnReleaseRequestState" $e19 = "CHttpModule::OnPostReleaseRequestState" $e20 = "CHttpModule::OnUpdateRequestCache" $e21 = "CHttpModule::OnPostUpdateRequestCache" $e22 = "CHttpModule::OnLogRequest" $e23 = "CHttpModule::OnPostLogRequest" $e24 = "CHttpModule::OnEndRequest" $e25 = "CHttpModule::OnPostEndRequest" $e26 = "CHttpModule::OnSendResponse" $e27 = "CHttpModule::OnMapPath" $e28 = "CHttpModule::OnReadEntity" $e29 = "CHttpModule::OnCustomRequestNotification" $e30 = "CHttpModule::OnAsyncCompletion" $e31 = "CGlobalModule::OnGlobalStopListening" $e32 = "CGlobalModule::OnGlobalCacheCleanup" $e33 = "CGlobalModule::OnGlobalCacheOperation" $e34 = "CGlobalModule::OnGlobalHealthCheck" $e35 = "CGlobalModule::OnGlobalConfigurationChange" $e36 = "CGlobalModule::OnGlobalFileChange" $e37 = "CGlobalModule::OnGlobalApplicationStart" $e38 = "CGlobalModule::OnGlobalApplicationResolveModules" $e39 = "CGlobalModule::OnGlobalApplicationStop" $e40 = "CGlobalModule::OnGlobalRSCAQuery" $e41 = "CGlobalModule::OnGlobalTraceEvent" $e42 = "CGlobalModule::OnGlobalCustomNotification" $e43 = "CGlobalModule::OnGlobalThreadCleanup" $e44 = "CGlobalModule::OnGlobalApplicationPreload" condition: uint16( 0 ) == 0x5A4D and pe.exports ( "RegisterModule" ) and any of ( $e* ) } rule ESET_Sparklinggoblin_Chacha20Loader_Richheader { meta: description = "Rule matching ChaCha20 loaders rich header" author = "ESET Research" id = "e1dac369-f25e-5cb3-aafa-b0c45f05b295" date = "2021-03-30" modified = "2021-08-26" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/sparklinggoblin/SparklingGoblin.yar#L33-L57" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" hash = "09ffe37a54bc4ebebd8d56098e4c76232f35d821" hash = "29b147b76bb0d9e09f7297487cb972e6a2905586" hash = "33f2c3de2457b758fc5824a2b253ad7c7c2e9e37" hash = "45bef297ce78521eac6ee39e7603e18360e67c5a" hash = "4cec7cdc78d95c70555a153963064f216dae8799" hash = "4d4c1a062a0390b20732ba4d65317827f2339b80" hash = "4f6949a4906b834e83ff951e135e0850fe49d5e4" logic_hash = "a5c9595036dec0e0aef0a030c590189752217d15d3f53bf3dc537f5b43fae63e" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" condition: pe.rich_signature.length>= 104 and pe.rich_signature.length <= 112 and pe.rich_signature.toolid ( 241 , 40116 ) >= 5 and pe.rich_signature.toolid ( 241 , 40116 ) <= 10 and pe.rich_signature.toolid ( 147 , 30729 ) == 11 and pe.rich_signature.toolid ( 264 , 24215 ) >= 15 and pe.rich_signature.toolid ( 264 , 24215 ) <= 16 } rule ESET_Sparklinggoblin_Chacha20 : FILE { meta: description = "SparklingGoblin ChaCha20 implementations" author = "ESET Research" id = "c0caceca-f685-5786-82f6-3ab7435f8061" date = "2021-05-20" modified = "2021-08-26" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/sparklinggoblin/SparklingGoblin.yar#L59-L368" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" hash = "2edbea43f5c40c867e5b6bbd93cc972525df598b" hash = "b6d245d3d49b06645c0578804064ce0c072cbe0f" hash = "8be6d5f040d0085c62b1459afc627707b0de89cf" hash = "4668302969fe122874fb2447a80378dcb671c86b" hash = "9bdecb08e16a23d271d0a3e836d9e7f83d7e2c3b" hash = "9ce7650f2c08c391a35d69956e171932d116b8bd" hash = "91b32e030a1f286e7d502ca17e107d4bfbd7394a" logic_hash = "b742bc22e0ebbce40607cb109b4d6fb03a40c1fb223c8092d93346dd3dd22789" score = 75 quality = 80 tags = "FILE" license = "BSD 2-Clause" strings: $chunk_1 = { 8B 4D ?? 56 8B 75 ?? 57 8B 7D ?? 8B 04 BB 01 04 93 8B 04 B3 33 04 93 C1 C0 10 89 04 B3 01 04 8B 8B 04 BB 33 04 8B C1 C0 0C 89 04 BB 01 04 93 8B 04 B3 33 04 93 C1 C0 08 89 04 B3 01 04 8B 8B 04 BB 33 04 8B C1 C0 07 89 04 BB } $chunk_2 = { 03 4D ?? 44 03 C0 03 55 ?? 33 F1 45 33 D8 C1 C6 10 44 33 F2 41 C1 C3 10 41 03 FB 41 C1 C6 10 45 03 E6 41 03 DA 44 33 CB 44 03 EE 41 C1 C1 10 8B C7 33 45 ?? 45 03 F9 C1 C0 0C 44 03 C0 45 33 D8 44 89 45 ?? 41 C1 C3 08 41 03 FB 44 8B C7 44 33 C0 41 8B C5 33 45 ?? C1 C0 0C 03 C8 41 C1 C0 07 33 F1 89 4D ?? C1 C6 08 44 03 EE 41 8B CD 33 C8 41 8B C4 33 45 ?? C1 C0 0C 03 D0 C1 C1 07 44 33 F2 89 55 ?? 41 C1 C6 08 45 03 E6 41 8B D4 33 D0 41 8B C7 41 33 C2 C1 C2 07 C1 C0 0C 03 D8 44 33 CB 41 C1 C1 08 45 03 F9 45 8B D7 44 33 D0 8B 45 ?? 03 C1 41 C1 C2 07 44 33 C8 89 45 ?? 41 C1 C1 10 45 03 E1 41 8B C4 33 C1 8B 4D ?? C1 C0 0C 03 C8 44 33 C9 89 4D ?? 89 4D ?? 41 C1 C1 08 45 03 E1 41 8B CC 33 C8 8B 45 ?? C1 C1 07 89 4D ?? 89 4D ?? 03 C2 41 03 D8 89 45 ?? 41 33 C3 C1 C0 10 44 03 F8 41 8B CF 33 CA 8B 55 ?? } $chunk_3 = { C7 45 ?? 65 78 70 61 4C 8D 45 ?? C7 45 ?? 6E 64 20 33 4D 8B F9 C7 45 ?? 32 2D 62 79 4C 2B C1 C7 45 ?? 74 65 20 6B } $chunk_4 = { 0F B6 02 0F B6 4A ?? C1 E1 08 0B C8 0F B6 42 ?? C1 E1 08 0B C8 0F B6 42 ?? C1 E1 08 0B C8 41 89 0C 10 48 8D 52 ?? 49 83 E9 01 } $chunk_5 = { 03 4D ?? 44 03 C0 03 55 ?? 33 F1 41 33 F8 C1 C6 10 44 33 F2 C1 C7 10 44 03 DF 41 C1 C6 10 45 03 E6 44 03 CB 45 33 D1 44 03 EE 41 C1 C2 10 41 8B C3 33 45 ?? 45 03 FA C1 C0 0C 44 03 C0 41 33 F8 44 89 45 ?? C1 C7 08 44 03 DF 45 8B C3 44 33 C0 41 8B C5 33 45 ?? C1 C0 0C 03 C8 41 C1 C0 07 33 F1 89 4D ?? C1 C6 08 44 03 EE 41 8B CD 33 C8 41 8B C4 33 45 ?? C1 C0 0C 03 D0 C1 C1 07 44 33 F2 89 55 ?? 41 C1 C6 08 45 03 E6 41 8B D4 33 D0 41 8B C7 33 C3 C1 C2 07 C1 C0 0C 44 03 C8 45 33 D1 41 C1 C2 08 45 03 FA 41 8B DF 33 D8 8B 45 ?? 03 C1 C1 C3 07 44 33 D0 89 45 ?? 41 C1 C2 10 45 03 E2 41 8B C4 33 C1 8B 4D ?? C1 C0 0C 03 C8 44 33 D1 89 4D ?? 89 4D ?? 41 C1 C2 08 45 03 E2 41 8B CC 33 C8 8B 45 ?? C1 C1 07 89 4D ?? 89 4D ?? 03 C2 45 03 C8 89 45 ?? 33 C7 C1 C0 10 44 03 F8 41 8B CF 33 CA 8B 55 ?? C1 C1 0C 03 D1 8B FA 89 55 ?? 33 F8 89 55 ?? 8B 55 ?? 03 D3 C1 C7 08 44 03 FF 41 8B C7 33 C1 C1 C0 07 89 45 ?? 89 45 ?? 8B C2 33 C6 C1 C0 10 44 03 D8 41 33 DB C1 C3 0C 03 D3 8B F2 89 55 ?? 33 F0 41 8B C1 41 33 C6 C1 C6 08 C1 C0 10 44 03 DE 44 03 E8 41 33 DB 41 8B CD C1 C3 07 41 33 C8 44 8B 45 ?? C1 C1 0C 44 03 C9 45 8B F1 44 33 F0 41 C1 C6 08 45 03 EE 41 8B C5 33 C1 8B 4D ?? C1 C0 07 } condition: any of them and filesize < 450KB } rule ESET_Sparklinggoblin_Etweventwrite { meta: description = "SparklingGoblin EtwEventWrite patching" author = "ESET Research" id = "27b36ee1-a98c-5174-a156-8e0b0d0a58cd" date = "2021-05-20" modified = "2021-08-26" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/sparklinggoblin/SparklingGoblin.yar#L370-L463" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" hash = "2edbea43f5c40c867e5b6bbd93cc972525df598b" hash = "b6d245d3d49b06645c0578804064ce0c072cbe0f" hash = "8be6d5f040d0085c62b1459afc627707b0de89cf" hash = "4668302969fe122874fb2447a80378dcb671c86b" hash = "9bdecb08e16a23d271d0a3e836d9e7f83d7e2c3b" hash = "9ce7650f2c08c391a35d69956e171932d116b8bd" logic_hash = "45615dcc5302392c18052818071623a9d1a1008c460bdb24a4acfb4300356c6b" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" strings: $chunk_1 = { 48 8D 0D ?? ?? ?? ?? C7 44 24 ?? 48 31 C0 C3 FF 15 ?? ?? ?? ?? 48 8B C8 48 8D 15 ?? ?? ?? ?? FF 15 ?? ?? ?? ?? 83 64 24 ?? 00 4C 8D 4C 24 ?? BF 04 00 00 00 48 8B C8 8B D7 48 8B D8 44 8D 47 ?? FF 15 ?? ?? ?? ?? 44 8B C7 48 8D 54 24 ?? 48 8B CB E8 ?? ?? ?? ?? 44 8B 44 24 ?? 4C 8D 4C 24 ?? 8B D7 48 8B CB FF 15 ?? ?? ?? ?? 48 8B 05 ?? ?? ?? ?? } $chunk_2 = { 55 8B EC 51 51 57 68 08 1A 41 00 66 C7 45 ?? C2 14 C6 45 ?? 00 FF 15 ?? ?? ?? ?? 68 10 1A 41 00 50 FF 15 ?? ?? ?? ?? 83 65 ?? 00 8B F8 8D 45 ?? 50 6A 40 6A 03 57 FF 15 ?? ?? ?? ?? 6A 03 8D 45 ?? 50 57 E8 ?? ?? ?? ?? 83 C4 0C 8D 45 ?? 50 FF 75 ?? 6A 03 57 FF 15 ?? ?? ?? ?? } $chunk_3 = { 48 8D 0D ?? ?? ?? ?? C7 44 24 ?? 48 31 C0 C3 FF 15 ?? ?? ?? ?? 48 8B C8 48 8D 15 ?? ?? ?? ?? FF 15 ?? ?? ?? ?? } condition: any of them } rule ESET_Sparklinggoblin_Mutex { meta: description = "SparklingGoblin ChaCha20 loaders mutexes" author = "ESET Research" id = "e33d2bc1-29d6-5117-8e0f-31f8bced0979" date = "2021-05-20" modified = "2021-08-26" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/sparklinggoblin/SparklingGoblin.yar#L465-L489" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" hash = "2edbea43f5c40c867e5b6bbd93cc972525df598b" hash = "b6d245d3d49b06645c0578804064ce0c072cbe0f" hash = "8be6d5f040d0085c62b1459afc627707b0de89cf" hash = "4668302969fe122874fb2447a80378dcb671c86b" hash = "9bdecb08e16a23d271d0a3e836d9e7f83d7e2c3b" hash = "9ce7650f2c08c391a35d69956e171932d116b8bd" logic_hash = "00fbd514c8e2d6dea3b0f175e857a613e158b64caf1f970e814d62f1ebe9d35c" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" strings: $mutex_1 = "kREwdFrOlvASgP4zWZyV89m6T2K0bIno" $mutex_2 = "v5EPQFOImpTLaGZes3Nl1JSKHku8AyCw" condition: any of them } rule ESET_Mozi_Killswitch : FILE { meta: description = "Mozi botnet kill switch" author = "Ivan Besina" id = "e3d34ae0-de06-5ff4-b44b-44d264b6dd29" date = "2023-09-29" modified = "2023-10-31" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/mozi/mozi.yar#L32-L51" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "90eaed2f7f5595b145b2678a46ef6179082192215369fa9235024b0ce1574a49" score = 75 quality = 80 tags = "FILE" license = "BSD 2-Clause" version = "1" strings: $iptables1 = "iptables -I INPUT -p tcp --destination-port 7547 -j DROP" $iptables2 = "iptables -I OUTPUT -p tcp --sport 30005 -j DROP" $haha = "/haha" $networks = "/usr/networks" condition: all of them and filesize < 500KB } rule ESET_IIS_Group02 { meta: description = "Detects Group 2 native IIS malware family" author = "ESET Research" id = "945e3748-1072-55f3-abaa-903dfc250294" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L134-L155" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "3fa2b8fed3c580f446b55412a920a5cfed2317b06aa93d059e9f89fdbec8f683" score = 75 quality = 76 tags = "" license = "BSD 2-Clause" version = "1" strings: $s1 = "HttpModule.pdb" ascii wide $s2 = "([\\w+%]+)=([^&]*)" $s3 = "([\\w+%]+)=([^!]*)" $s4 = "cmd.exe" $s5 = "C:\\Users\\Iso\\Documents\\Visual Studio 2013\\Projects\\IIS 5\\x64\\Release\\Vi.pdb" ascii wide $s6 = "AVRSAFunction" condition: ESET_IIS_Native_Module_PRIVATE and 3 of ( $s* ) } rule ESET_IIS_Group03 { meta: description = "Detects Group 3 native IIS malware family" author = "ESET Research" id = "9caf9b3e-611e-5e0e-a7ee-9e7515679022" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L157-L176" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "d811c2ac610780bf968e86e8fd302cffc9434902e547399d06fdeb30d1719f51" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" version = "1" strings: $s1 = "IIS-Backdoor.dll" $s2 = "CryptStringToBinaryA" $s3 = "CreateProcessA" $s4 = "X-Cookie" condition: ESET_IIS_Native_Module_PRIVATE and 3 of ( $s* ) } rule ESET_IIS_Group04_Rgdoor { meta: description = "Detects Group 4 native IIS malware family (RGDoor)" author = "ESET Research" id = "64a0e664-a4d9-555b-a11b-5f7d9d0678b1" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L178-L199" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "be615dc0cc8bf0fd52cc5a88a3759c1cb1cd18703de74d16f5cce3eabccf91c6" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" version = "1" strings: $i1 = "RGSESSIONID=" $s2 = "upload$" $s3 = "download$" $s4 = "cmd$" $s5 = "cmd.exe" condition: ESET_IIS_Native_Module_PRIVATE and ( $i1 or all of ( $s* ) ) } rule ESET_IIS_Group05_Iistealer { meta: description = "Detects Group 5 native IIS malware family (IIStealer)" author = "ESET Research" id = "598ec6b2-0349-5da7-acad-72ef2468b927" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L201-L232" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "5dff445121fda59df805d6fcb5db3f8f8e52a6e63e2da2a6875f8c9ad9cafc72" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" version = "1" strings: $s1 = "tojLrGzFMbcDTKcH" ascii wide $s2 = "4vUOj3IutgtrpVwh" ascii wide $s3 = "SoUnRCxgREXMu9bM" ascii wide $s4 = "9Zr1Z78OkgaXj1Xr" ascii wide $s5 = "cache.txt" ascii wide $s6 = "/checkout/checkout.aspx" ascii wide $s7 = "/checkout/Payment.aspx" ascii wide $s8 = "/privacy.aspx" $s9 = "X-IIS-Data" $s10 = "POST" $s11 = {C7 ?? CF 2F 00 63 00 C7 ?? D3 68 00 65 00 C7 ?? D7 63 00 6B 00 C7 ?? DB 6F 00 75 00 C7 ?? DF 74 00 2F 00 C7 ?? E3 63 00 68 00 C7 ?? E7 65 00 63 00 C7 ?? EB 6B 00 6F 00 C7 ?? EF 75 00 74 00 C7 ?? F3 2E 00 61 00 C7 ?? F7 73 00 70 00 C7 ?? FB 78 00 00 00} $s12 = {C7 ?? AF 2F 00 70 00 C7 ?? B3 72 00 69 00 C7 ?? B7 76 00 61 00 C7 ?? BB 63 00 79 00 C7 ?? BF 2E 00 61 00 C7 ?? C3 73 00 70 00 C7 ?? C7 78 00 00 00} condition: ESET_IIS_Native_Module_PRIVATE and 3 of ( $s* ) } rule ESET_IIS_Group06_ISN { meta: description = "Detects Group 6 native IIS malware family (ISN)" author = "ESET Research" id = "1f68fc42-61a3-5a7d-9daa-31ae3b561837" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L234-L259" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "2f59034a642a9b92fc88922433cd5923be02332159cba5e16d99d9523ed43205" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" version = "1" strings: $s1 = "isn7 config reloaded" $s2 = "isn7 config NOT reloaded, not found or empty" $s3 = "isn7 log deleted" $s4 = "isn7 log not deleted, ERROR 0x%X" $s5 = "isn7 log NOT found" $s6 = "isn_reloadconfig" $s7 = "D:\\soft\\Programming\\C++\\projects\\isapi\\isn7" $s8 = "get POST failed %d" $s9 = "isn7.dll" condition: ESET_IIS_Native_Module_PRIVATE and 3 of ( $s* ) } rule ESET_IIS_Group07_Iispy { meta: description = "Detects Group 7 native IIS malware family (IISpy)" author = "ESET Research" id = "64ed0189-a0be-5592-b9c6-1622700a7ed7" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L261-L296" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "ec5db5f36d06f9b0bdfe598fc72431da35afc1473dcc29f437a0f48ea9835a03" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" version = "1" strings: $s1 = "/credential/username" $s2 = "/credential/password" $s3 = "/computer/domain" $s4 = "/computer/name" $s5 = "/password" $s6 = "/cmd" $s7 = "%.8s%.8s=%.8s%.16s%.8s%.16s" $s8 = "ImpersonateLoggedOnUser" $s9 = "WNetAddConnection2W" $t1 = "X-Forwarded-Proto" $t2 = "Sec-Fetch-Mode" $t3 = "Sec-Fetch-Site" $t4 = "Cookie" $t5 = {49 45 4E 44 AE 42 60 82} $t6 = {89 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52} condition: ESET_IIS_Native_Module_PRIVATE and 2 of ( $s* ) and any of ( $t* ) } rule ESET_IIS_Group09 { meta: description = "Detects Group 9 native IIS malware family" author = "ESET Research" id = "69d176bc-73b1-5c4d-bb7e-463d26e8e6a9" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L339-L387" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "5f89f9488221b8db8d493b3c23b7f5edd957c15511148eca890558886c128192" score = 75 quality = 76 tags = "" license = "BSD 2-Clause" version = "1" strings: $i1 = "FliterSecurity.dll" $i2 = {56565656565656565656565656565656} $i3 = "app|hot|alp|svf|fkj|mry|poc|doc|20" xor $i4 = "yisouspider|yisou|soso|sogou|m.sogou|sogo|sogou|so.com|baidu|bing|360" xor $i5 = "baidu|m.baidu|soso|sogou|m.sogou|sogo|sogou|so.com|google|youdao" xor $i6 = "118|abc|1go|evk" xor $s1 = "AVCFuckHttpModuleFactory" $s2 = "X-Forward" $s3 = "fuck32.dat" $s4 = "fuck64.dat" $s5 = "&ipzz1=" $s6 = "&ipzz2=" $s7 = "&uuu=" $s8 = "http://20.3323sf.c" xor $s9 = "http://bj.whtjz.c" xor $s10 = "http://bj2.wzrpx.c" xor $s11 = "http://cs.whtjz.c" xor $s12 = "http://df.e652.c" xor $s13 = "http://dfcp.yyphw.c" xor $s14 = "http://es.csdsx.c" xor $s15 = "http://hz.wzrpx.c" xor $s16 = "http://id.3323sf.c" xor $s17 = "http://qp.008php.c" xor $s18 = "http://qp.nmnsw.c" xor $s19 = "http://sc.300bt.c" xor $s20 = "http://sc.wzrpx.c" xor $s21 = "http://sf2223.c" xor $s22 = "http://sx.cmdxb.c" xor $s23 = "http://sz.ycfhx.c" xor $s24 = "http://xpq.0660sf.c" xor $s25 = "http://xsc.b1174.c" xor condition: ESET_IIS_Native_Module_PRIVATE and any of ( $i* ) and 3 of ( $s* ) } rule ESET_IIS_Group10 { meta: description = "Detects Group 10 native IIS malware family" author = "ESET Research" id = "31368b38-9128-594d-888d-e97d3edc7a1f" date = "2021-08-04" modified = "2021-08-04" reference = "https://github.com/eset/malware-ioc/" source_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/badiis/badiis.yar#L389-L423" license_url = "https://github.com/eset/malware-ioc/blob/59745502656e813f9f79fc8005243edbc04f9397/LICENSE" logic_hash = "48701168d7da726222227ef757f1a4005a49c0bf300123319ce03db09445b3ef" score = 75 quality = 80 tags = "" license = "BSD 2-Clause" version = "1" strings: $s1 = "IIS7.dll" $s2 = "
10 or 3 of ( $rat* ) } rule FIREEYE_RT_Trojan_MSIL_GORAT_Module_Powershell_1 : FILE { meta: description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'RedFlare - Module - PowerShell' project." author = "FireEye" id = "b0fba130-9cd9-5b7f-a806-9ff8099f5731" date = "2020-12-08" modified = "2020-12-09" reference = "https://github.com/mandiant/red_team_tool_countermeasures/" source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/Trojan_MSIL_GORAT_Module_PowerShell_1.yar#L4-L16" license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt" hash = "dd8805d0e470e59b829d98397507d8c2" logic_hash = "e596bc0316a4ef85f04c2683ebc7c94bf9b831843232c33e62c84991e4caeb97" score = 75 quality = 71 tags = "FILE" rev = 1 strings: $typelibguid0 = "38d89034-2dd9-4367-8a6e-5409827a243a" ascii nocase wide $typelibguid1 = "845ee9dc-97c9-4c48-834e-dc31ee007c25" ascii nocase wide condition: ( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them } rule FIREEYE_RT_Trojan_MSIL_GORAT_Plugin_DOTNET_1 : FILE { meta: description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'RedFlare - Plugin - .NET' project." author = "FireEye" id = "faa73d64-4bb1-5c06-a3a5-1f1aa99ea932" date = "2020-12-08" modified = "2020-12-09" reference = "https://github.com/mandiant/red_team_tool_countermeasures/" source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/Trojan_MSIL_GORAT_Plugin_DOTNET_1.yar#L4-L16" license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt" hash = "dd8805d0e470e59b829d98397507d8c2" logic_hash = "e979822273c6d1ccdfebd341c9e2cb1040fe34a04e8b41c024885063fd946ad5" score = 75 quality = 71 tags = "FILE" rev = 1 strings: $typelibguid0 = "cd9407d0-fc8d-41ed-832d-da94daa3e064" ascii nocase wide $typelibguid1 = "fc3daedf-1d01-4490-8032-b978079d8c2d" ascii nocase wide condition: ( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them } rule FIREEYE_RT_Dropper_HTA_Wildchild_1 : FILE { meta: description = "This rule looks for strings present in unobfuscated HTAs generated by the WildChild builder." author = "FireEye" id = "f570baa5-7d58-5a0a-b713-769e62076f76" date = "2020-12-08" modified = "2020-12-09" reference = "https://github.com/mandiant/red_team_tool_countermeasures/" source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/WILDCHILD/production/yara/Dropper_HTA_WildChild_1.yar#L4-L24" license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt" hash = "3e61ca5057633459e96897f79970a46d" logic_hash = "60c1d53b8a43b9b7518f3260a4d61c6806641ee894a2a331a3a0a2ea0aff9d99" score = 75 quality = 75 tags = "FILE" rev = 5 strings: $s1 = "processpath" ascii wide $s2 = "v4.0.30319" ascii wide $s3 = "v2.0.50727" ascii wide $s4 = "COMPLUS_Version" ascii wide $s5 = "FromBase64Transform" ascii wide $s6 = "MemoryStream" ascii wide $s7 = "entry_class" ascii wide $s8 = "DynamicInvoke" ascii wide $s9 = "Sendoff" ascii wide $script_header = "" nocase $antiregistration = "" nocase $scriptletend = "" condition: all of them and @scriptletstart [ 1 ] < @registration [ 1 ] and @registration [ 1 ] < @classid [ 1 ] and @classid [ 1 ] < @scriptlang [ 1 ] and @scriptlang [ 1 ] < @cdata [ 1 ] } rule GCTI_Cobaltstrike_Resources_Covertvpn_Dll_V2_1_To_V4_X { meta: description = "Cobalt Strike's resources/covertvpn.dll signature for version v2.2 to v4.4" author = "gssincla@google.com" id = "a65b855c-5703-5b9f-bb57-da8ebf898f9b" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Covertvpn_Dll_v2_1_to_v4_x.yara#L17-L120" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "0a452a94d53e54b1df6ba02bc2f02e06d57153aad111171a94ec65c910d22dcf" logic_hash = "1f6e4254fdfd4f9b13c2000333aabbb7da90d2df7ee1b12faa6ea3c066351468" score = 75 quality = 85 tags = "" strings: $dropComponentsAndActivateDriver_prologue = { 5? 68 [4] 68 [4] C7 [3-5] 00 00 00 00 FF 15 [4] 50 FF 15 [4] 8B ?? 85 ?? 74 ?? 8D [3-5] 5? FF 15 [4] 50 } $dropFile = { 6A 00 5? E8 [4] 83 C4 08 83 F8 FF 74 ?? 5? [0-5] E8 [4] 83 C4 ?? [0-2] 6A 00 68 80 01 00 00 6A 02 6A 00 6A 05 68 00 00 00 40 5? FF 15 [4] 8B ?? 83 ?? FF 75 ?? FF 15 [4] 5? } $nfp = "npf.sys" nocase $wpcap = "wpcap.dll" nocase condition: all of them } rule GCTI_Cobaltstrike_Resources_Template_X86_Vba_V3_8_To_V4_X { meta: description = "Cobalt Strike's resources/template.x86.vba signature for versions v3.8 to v4.x" author = "gssincla@google.com" id = "11c7758e-93b2-5fe3-873d-b98de579d2b4" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Template_x86_Vba_v3_8_to_v4_x.yara#L17-L37" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "fc66cb120e7bc9209882620f5df7fdf45394c44ca71701a8662210cf3a40e142" logic_hash = "7114515477d82651806eccef34f599f6ffd4614f987dee29417ac6ef7a1a1c38" score = 75 quality = 85 tags = "" strings: $createstuff = "Function CreateStuff Lib \"kernel32\" Alias \"CreateRemoteThread\"" nocase $allocstuff = "Function AllocStuff Lib \"kernel32\" Alias \"VirtualAllocEx\"" nocase $writestuff = "Function WriteStuff Lib \"kernel32\" Alias \"WriteProcessMemory\"" nocase $runstuff = "Function RunStuff Lib \"kernel32\" Alias \"CreateProcessA\"" nocase $vars = "Dim rwxpage As Long" nocase $res = "RunStuff(sNull, sProc, ByVal 0&, ByVal 0&, ByVal 1&, ByVal 4&, ByVal 0&, sNull, sInfo, pInfo)" $rwxpage = "AllocStuff(pInfo.hProcess, 0, UBound(myArray), &H1000, &H40)" condition: all of them and @vars [ 1 ] < @res [ 1 ] and @allocstuff [ 1 ] < @rwxpage [ 1 ] } rule GCTI_Cobaltstrike_Resources_Bypassuac_Dll_V1_49_To_V3_14_And_Sleeve_Bypassuac_Dll_V4_0_To_V4_X { meta: description = "Cobalt Strike's resources/bypassuac(-x86).dll from v1.49 to v3.14 (32-bit version) and sleeve/bypassuac.dll from v4.0 to at least v4.4" author = "gssincla@google.com" id = "614046b5-cf81-56a5-8824-b3a7e14a8ed5" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Bypassuac_Dll_v1_49_to_v3_14_and_Sleeve_Bypassuac_Dll_v4_0_to_v4_x.yara#L17-L94" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "91d12e1d09a642feedee5da966e1c15a2c5aea90c79ac796e267053e466df365" logic_hash = "7d59c0286f1936e386519a919472d01581b68a8167c89bd3cd3108d45251119a" score = 75 quality = 85 tags = "" strings: $deleteFileCOM = { A1 [4] 6A 00 8B ?? 5? 5? FF ?? 48 85 ?? 75 ?? A1 [4] 5? 8B ?? FF ?? 54 } $copyFileCOM = { A1 [4] 6A 00 FF [2] 8B ?? FF [5] FF [5] 5? FF ?? 40 85 ?? [2 - 6] A1 [4] 5? 8B ?? FF ?? 54 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Elevate_Dll_V3_0_To_V3_14_And_Sleeve_Elevate_Dll_V4_X { meta: description = "Cobalt Strike's resources/elevate.dll signature for v3.0 to v3.14 and sleeve/elevate.dll for v4.x" author = "gssincla@google.com" id = "170f62a2-ba4f-5be8-9ec5-402eb7bbde4e" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Elevate_Dll_v3_0_to_v3_14_and_Sleeve_Elevate_Dll_v4_x.yara#L17-L68" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "6deeb2cafe9eeefe5fc5077e63cc08310f895e9d5d492c88c4e567323077aa2f" logic_hash = "766a0a390ed8cefe43d82a054a9b2cfec7eced75e0d7ee10231215043577b75e" score = 75 quality = 85 tags = "" strings: $wnd_proc = { 6A 00 6A 28 68 00 01 00 00 5? C7 [5] 01 00 00 00 FF ?? 6A 00 6A 27 68 00 01 00 00 5? FF ?? 6A 00 6A 00 68 01 02 00 00 5? FF ?? } condition: $wnd_proc } rule GCTI_Cobaltstrike_Resources_Template_X64_Ps1_V3_0_To_V4_X_Excluding_3_12_3_13 { meta: description = "Cobalt Strike's resources/template.x64.ps1, resources/template.hint.x64.ps1 and resources/template.hint.x32.ps1 from v3.0 to v4.x except 3.12 and 3.13" author = "gssincla@google.com" id = "5a808113-aacb-56ca-b3ec-166c73c54b85" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Template_x64_Ps1_v3_0_to_v4_x_excluding_3_12_3_13.yara#L17-L37" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "ff743027a6bcc0fee02107236c1f5c96362eeb91f3a5a2e520a85294741ded87" logic_hash = "80823b8590004686ebd83958cad16094ea2f6958a837d87934507531a00df77a" score = 75 quality = 81 tags = "" strings: $dda = "[AppDomain]::CurrentDomain.DefineDynamicAssembly" nocase $imm = "InMemoryModule" nocase $mdt = "MyDelegateType" nocase $rd = "New-Object System.Reflection.AssemblyName('ReflectedDelegate')" nocase $data = "[Byte[]]$var_code = [System.Convert]::FromBase64String(" nocase $64bitSpecific = "[IntPtr]::size -eq 8" $mandatory = "Mandatory = $True" condition: all of them } rule GCTI_Cobaltstrike_Resources_Bind64_Bin_V2_5_Through_V4_X { meta: description = "Cobalt Strike's resources/bind64.bin signature for versions v2.5 to v4.x" author = "gssincla@google.com" id = "a01e7bc3-40e9-5f87-8fd6-926972be273b" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Bind64_Bin_v2_5_through_v4_x.yara#L17-L109" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "5dd136f5674f66363ea6463fd315e06690d6cb10e3cc516f2d378df63382955d" logic_hash = "ba79abc5cfeaccb94699c0d85c16b2ddf6820bc148c0fd1c9b33c07222e36cb6" score = 75 quality = 85 tags = "" strings: $apiLocator = { 48 [2] AC 41 [2] 0D 41 [2] 38 ?? 75 ?? 4C [4] 45 [2] 75 ?? 5? 44 [2] 24 49 [2] 66 [4] 44 [2] 1C 49 [2] 41 [3] 48 } $calls = { 41 BA C2 DB 37 67 FF D5 48 [2] 48 [2] 41 BA B7 E9 38 FF FF D5 4D [2] 48 [2] 48 [2] 41 BA 74 EC 3B E1 FF D5 48 [2] 48 [2] 41 BA 75 6E 4D 61 } condition: $apiLocator and $calls } rule GCTI_Cobaltstrike_Resources_Bypassuac_X64_Dll_V3_3_To_V3_14_And_Sleeve_Bypassuac_X64_Dll_V4_0_And_V4_X { meta: description = "Cobalt Strike's resources/bypassuac-x64.dll from v3.3 to v3.14 (64-bit version) and sleeve/bypassuac.x64.dll from v4.0 to at least v4.4" author = "gssincla@google.com" id = "eef83901-63d9-55a3-b115-03f420416177" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Bypassuac_x64_Dll_v3_3_to_v3_14_and_Sleeve_Bypassuac_x64_Dll_v4_0_and_v4_x.yara#L17-L86" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "9ecf56e9099811c461d592c325c65c4f9f27d947cbdf3b8ef8a98a43e583aecb" logic_hash = "d76e3601f61ae164a8df9048d59d15cd6913e64adb93132244e83f40bf67d86a" score = 75 quality = 85 tags = "" strings: $deleteFileCOM = { 48 8B [5] 45 33 ?? 48 8B ?? FF 90 90 00 00 00 85 C0 75 ?? 48 8B [5] 48 8B ?? FF 92 A8 00 00 00 85 C0 } $copyFileCOM = { 48 8B [5] 4C 8B [5] 48 8B [5] 48 8B ?? 4C 8B ?? 48 89 [3] FF 90 80 00 00 00 85 C0 0F 85 [4] 48 8B [5] 48 8B 11 FF 92 A8 00 00 00 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Artifact32Svc_Exe_V3_1_V3_2_V3_14_And_V4_X { meta: description = "Cobalt Strike's resources/artifact32svc(big).exe signature for versions 3.1 and 3.2 (with overlap with v3.14 through v4.x)" author = "gssincla@google.com" id = "732169be-e334-5774-b0ac-54b217a8b681" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Artifact32svc_Exe_v1_49_to_v4_x.yara#L53-L77" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "871390255156ce35221478c7837c52d926dfd581173818620b738b4b029e6fd9" logic_hash = "b55211fc2dbe100edb19c3f3a000be513144e3556c4bce8a29a3c0b77451ba96" score = 75 quality = 85 tags = "" strings: $decoderFunc = { 89 ?? B? 04 00 00 00 99 F7 FF 8B [2] 8A [2] 30 } condition: $decoderFunc } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V1_44 { meta: description = "Cobalt Strike's resources/beacon.dll Version 1.44" author = "gssincla@google.com" id = "935ee27f-ce1b-5491-b4a3-cb78f199ab1b" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L17-L49" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "75102e8041c58768477f5f982500da7e03498643b6ece86194f4b3396215f9c2" logic_hash = "ebed8b6dc0b929164b1aa25b491b9d2fbb61d380a8b1268df7d424afe90f613d" score = 75 quality = 85 tags = "" strings: $version_sig = { 0F B7 D2 4A 53 8B D9 83 FA 04 77 36 FF 24 } $decode = { B1 ?? 30 88 [4] 40 3D 28 01 00 00 7C F2 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V1_45 { meta: description = "Cobalt Strike's resources/beacon.dll Version 1.45" author = "gssincla@google.com" id = "04d4d0ee-f1ee-5888-8108-ca55243c770a" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L51-L84" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "1a92b2024320f581232f2ba1e9a11bef082d5e9723429b3e4febb149458d1bb1" logic_hash = "b1472907e0fe0cb26219c268f23483681cc076dab96c1b0f2f0ee472ad319b4f" score = 75 quality = 85 tags = "" strings: $version_sig = { 51 0F B7 D2 4A 53 56 83 FA 08 77 6B FF 24 } $decode = { B1 ?? 30 88 [4] 40 3D 28 01 00 00 7C F2 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V1_46 { meta: description = "Cobalt Strike's resources/beacon.dll Version 1.46" author = "gssincla@google.com" id = "79715042-1963-5e48-8b64-7d915da58d84" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L86-L115" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "44e34f4024878024d4804246f57a2b819020c88ba7de160415be38cd6b5e2f76" logic_hash = "1a5c63c8b5527c0442830a73ded8458cf82a9d8ecb9b31e9a02c10b27ed6195e" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B F2 83 F9 0C 0F 87 8E 00 00 00 FF 24 } $decode = { B1 ?? 30 88 [4] 40 3D A8 01 00 00 7C F2 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V1_47 { meta: description = "Cobalt Strike's resources/beacon.dll Version 1.47" author = "gssincla@google.com" id = "ac2249a9-210c-581f-8dd1-7619356dca7d" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L117-L144" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "8ff6dc80581804391183303bb39fca2a5aba5fe13d81886ab21dbd183d536c8d" logic_hash = "8c463d3122f3f79ff5d9b88e3d4f5ed14e6c581edfdfafba8a0c596c494ac1b1" score = 75 quality = 85 tags = "" strings: $version_sig = { 83 F8 12 77 10 FF 24 } $decode = { B1 ?? 30 88 [4] 40 3D A8 01 00 00 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V1_48 { meta: description = "Cobalt Strike's resources/beacon.dll Version 1.48" author = "gssincla@google.com" id = "dd15099f-ad19-58df-9ed4-ce66d7ee8540" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L146-L178" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "dd4e445572cd5e32d7e9cc121e8de337e6f19ff07547e3f2c6b7fce7eafd15e4" logic_hash = "3f789eaf334c9bb3236d2834f38156aa92b22a5b674450977086378d195dd216" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F1 8B DA 83 F8 17 77 12 FF 24 } $decode = { B1 ?? 30 88 [4] 40 3D A8 01 00 00 7C F2 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V1_49 { meta: description = "Cobalt Strike's resources/beacon.dll Version 1.49" author = "gssincla@google.com" id = "871e28c9-b580-5a32-8529-2290ded1a1b6" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L180-L211" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "52b4bd87e21ee0cbaaa0fc007fd3f894c5fc2c4bae5cbc2a37188de3c2c465fe" logic_hash = "935232d5ddccdc0401b4d911cdc73a48305347b495219c8c893615fe918f32f1" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 56 83 F8 1E 0F 87 23 01 00 00 FF 24 } $decoder = { B1 ?? 90 30 88 [4] 40 3D A8 01 00 00 7C F2 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V2_0_49 { meta: description = "Cobalt Strike's resources/beacon.dll Version 2.0.49" author = "gssincla@google.com" id = "087c584a-5ceb-536a-8842-53fbd668df54" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L213-L243" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "ed08c1a21906e313f619adaa0a6e5eb8120cddd17d0084a30ada306f2aca3a4e" logic_hash = "3616579dabcfd0ba413d17b4fbd0da5313b9beca94f7bf8e41f05d6679b4a215" score = 75 quality = 85 tags = "" strings: $version_sig = { 83 F8 22 0F 87 96 01 00 00 FF 24 } $decoder = { B1 ?? EB 03 8D 49 00 30 88 [4] 40 3D 30 05 00 00 72 F2 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V2_1_And_V2_2 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 2.1 and 2.2" author = "gssincla@google.com" id = "384fb247-aae7-52e1-a45d-6bda0f80a04e" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L245-L276" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "ae7a1d12e98b8c9090abe19bcaddbde8db7b119c73f7b40e76cdebb2610afdc2" logic_hash = "eee3702d6fde08b8e9f5533f903fa33fb3da808a3b76ca43e4d5029f9ce91ad0" score = 75 quality = 85 tags = "" strings: $version_sig = { 49 56 57 83 F9 24 0F 87 8A 01 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V2_3 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 2.3" author = "gssincla@google.com" id = "aed092f1-fbb1-5efe-be8d-fb7c5aba1cde" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L278-L308" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "00dd982cb9b37f6effb1a5a057b6571e533aac5e9e9ee39a399bb3637775ff83" logic_hash = "286d7ffa83634b82160788abaf1c5b319a09c4a1243af2401799f327be76ad75" score = 75 quality = 85 tags = "" strings: $version_sig = { 49 56 57 83 F9 26 0F 87 A9 01 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V2_4 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 2.4" author = "gssincla@google.com" id = "347a6b06-84a8-53ff-80a1-05fa1a48a412" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L310-L340" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "78c6f3f2b80e6140c4038e9c2bcd523a1b205d27187e37dc039ede4cf560beed" logic_hash = "087ec6f585e90b84c00e746beb37cb8365cb7b4d07ebd0c48e3ba3d5df94dba2" score = 75 quality = 85 tags = "" strings: $version_sig = { 4A 56 57 83 FA 2F 0F 87 F9 01 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V2_5 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 2.5" author = "gssincla@google.com" id = "a89f9239-099c-5b97-b1df-e8ce2b95ea52" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L342-L372" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "d99693e3e521f42d19824955bef0cefb79b3a9dbf30f0d832180577674ee2b58" logic_hash = "f2d0ca1414a60bf855543d99777ae5e83c451db41aba5e255e4c10b1e0bb7b47" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F2 83 F8 3A 0F 87 6E 02 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_0 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.0" author = "gssincla@google.com" id = "132a1be8-f529-5141-ba03-fdf6df3d55d4" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L374-L404" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "30251f22df7f1be8bc75390a2f208b7514647835f07593f25e470342fd2e3f52" logic_hash = "951f1b52c14010261022f9f920d53d3c1e88f41461798a23e72083c981f9de76" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F2 83 F8 3C 0F 87 89 02 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_1 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.1" author = "gssincla@google.com" id = "aa511dee-69ea-53bd-be90-d2d03d08c550" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L406-L461" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "4de723e784ef4e1633bbbd65e7665adcfb03dd75505b2f17d358d5a40b7f35cf" logic_hash = "2d91add3aefe69b4525f93f7ea9f2fcbd7a6c506a224997ff73a2eeef63a8cd4" score = 75 quality = 85 tags = "" strings: $version_sig = { 55 8B EC 83 EC 58 A1 [4] 33 C5 89 45 FC E8 DF F5 FF FF 6A 50 8D 45 A8 50 FF 15 [4] 8D 45 ?? 50 FF 15 [4] 85 C0 74 14 8B 40 0C 83 38 00 74 0C 8B 00 FF 30 FF 15 [4] EB 05 B8 [4] 8B 4D FC 33 CD E8 82 B7 00 00 C9 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_2 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.2" author = "gssincla@google.com" id = "3ccbc0f2-241c-5c10-8930-4a3d264d3b57" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L463-L528" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "b490eeb95d150530b8e155da5d7ef778543836a03cb5c27767f1ae4265449a8d" logic_hash = "e1fe0d58d86ad8c845d65608314007ce08e3e524fb92cdb33ddae860c640e3e9" score = 75 quality = 85 tags = "" rs2 = "a93647c373f16d61c38ba6382901f468247f12ba8cbe56663abb2a11ff2a5144" strings: $version_sig = { 48 57 8B F2 83 F8 3D 0F 87 83 02 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } $version3_1_sig = { 55 8B EC 83 EC 58 A1 [4] 33 C5 89 45 FC E8 DF F5 FF FF 6A 50 8D 45 A8 50 FF 15 [4] 8D 45 ?? 50 FF 15 [4] 85 C0 74 14 8B 40 0C 83 38 00 74 0C 8B 00 FF 30 FF 15 [4] EB 05 B8 [4] 8B 4D FC 33 CD E8 82 B7 00 00 C9 } condition: $version_sig and $decoder and not $version3_1_sig } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_3 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.3" author = "gssincla@google.com" id = "7cce26c9-1403-535f-bd9d-19667c7e313c" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L530-L560" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "158dba14099f847816e2fc22f254c60e09ac999b6c6e2ba6f90c6dd6d937bc42" logic_hash = "f9b9b669aacc156a4e07eab0c6a638f9b9d828e018d1db89e9e2c922641744ac" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F1 83 F8 41 0F 87 F0 02 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 10 06 00 00 72 F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_4 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.4" author = "gssincla@google.com" id = "58a34ab6-c061-59a2-b929-8519d3d844e7" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L562-L592" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "5c40bfa04a957d68a095dd33431df883e3a075f5b7dea3e0be9834ce6d92daa3" logic_hash = "f3372bc538092e30c62d9599f76f2115dc73faf7a5fd6f86c8d4cfaa35473810" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F1 83 F8 42 0F 87 F0 02 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_5_Hf1_And_3_5_1 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.5-hf1 and 3.5.1 (3.5.x)" author = "gssincla@google.com" id = "1532596e-be0e-58c2-8d3b-5120c793d677" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L594-L625" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "c78e70cd74f4acda7d1d0bd85854ccacec79983565425e98c16a9871f1950525" logic_hash = "c2e975678815638803b04261d46bca216bc0b2f894a1f72fd0d5b949493401d1" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F1 83 F8 43 0F 87 07 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_6 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.6" author = "gssincla@google.com" id = "7e7b5c22-82b3-5298-b794-b06d94a668d5" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L627-L657" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "495a744d0a0b5f08479c53739d08bfbd1f3b9818d8a9cbc75e71fcda6c30207d" logic_hash = "3bd3f0b8625e131726fa92d68de041dae6c3d5642cbf22ac596d1d82da1d4a07" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F9 83 F8 47 0F 87 2F 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_7 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.7" author = "gssincla@google.com" id = "6352a31c-34b8-5886-8e34-ef9221c22e6e" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L659-L689" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "f18029e6b12158fb3993f4951dab2dc6e645bb805ae515d205a53a1ef41ca9b2" logic_hash = "6ceb2cec8402a4679bad42d367156c74e897af4188442fdebc70d6ce2dd78bd6" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F9 83 F8 49 0F 87 47 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_8 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.8" author = "gssincla@google.com" id = "f76712a4-df1c-5e6b-b5ac-9c74f2e202fc" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L691-L731" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "67b6557f614af118a4c409c992c0d9a0cc800025f77861ecf1f3bbc7c293d603" logic_hash = "a0c78dd7cda055bc76a8661b0416a302d7b05d03eeea483d2d1695093cd6dc90" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B F9 83 F8 4B 0F 87 5D 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } $xmrig_srcpath = "C:/Users/SKOL-NOTE/Desktop/Loader/script.go" $c2_1 = "ns7.softline.top" xor $c2_2 = "ns8.softline.top" xor $c2_3 = "ns9.softline.top" xor condition: $version_sig and $decoder and not ( 2 of ( $c2_* ) or $xmrig_srcpath ) } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_11 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.11" author = "gssincla@google.com" id = "00e42396-db81-5d43-90ee-5a97b379019e" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L739-L770" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "2428b93464585229fd234677627431cae09cfaeb1362fe4f648b8bee59d68f29" logic_hash = "24ca0a9c2249d1872a53dc228234bdc6803bdfe9e80847995e0951184a8d935c" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 57 8B FA 83 F8 50 0F 87 11 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_11_Bugfix_And_V3_12 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.11-bugfix and 3.12" author = "gssincla@google.com" id = "08ff2a2f-97bd-5839-b414-d67fbf2cdb0f" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L772-L804" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "5912c96fffeabb2c5c5cdd4387cfbfafad5f2e995f310ace76ca3643b866e3aa" logic_hash = "566eb14f918ad422d5a273390263e63ac37b00cd10ac3561e038fb1a27f85d80" score = 75 quality = 85 tags = "" rs2 = "4476a93abe48b7481c7b13dc912090b9476a2cdf46a1c4287b253098e3523192" strings: $version_sig = { 48 57 8B FA 83 F8 50 0F 87 0D 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_13 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.13" author = "gssincla@google.com" id = "98dd32e6-9bb5-57b2-a5e5-1c74a0d1e6d3" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L806-L836" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "362119e3bce42e91cba662ea80f1a7957a5c2b1e92075a28352542f31ac46a0c" logic_hash = "adafac8692ad676b0168b3e829bc7948db72953b95c79d483ae1a05f1d4f9b2b" score = 75 quality = 85 tags = "" strings: $version_sig = { 4A 56 57 83 FA 5A 0F 87 2D 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_Dll_V3_14 { meta: description = "Cobalt Strike's resources/beacon.dll Versions 3.14" author = "gssincla@google.com" id = "00edfc72-c7b8-5100-8275-ae3548b96e49" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L838-L866" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "254c68a92a7108e8c411c7b5b87a2f14654cd9f1324b344f036f6d3b6c7accda" logic_hash = "6faed2b69647b87d86d46ae73ad92cfe7b2746c306cd7480dc9f0c484c8882e2" score = 75 quality = 85 tags = "" rs2 = "87b3eb55a346b52fb42b140c03ac93fc82f5a7f80697801d3f05aea1ad236730" strings: $version_sig = { 83 FA 5B 77 15 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_Dll_V4_0_Suspected { meta: description = "Cobalt Strike's sleeve/beacon.dll Versions 4.0 (suspected, not confirmed)" author = "gssincla@google.com" id = "50ff6e44-ebc0-5000-a816-b385a6675768" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L868-L901" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "e2b2b72454776531bbc6a4a5dd579404250901557f887a6bccaee287ac71b248" logic_hash = "6875099bc6df26f829f9f64e70bd7fdac6ac7b83a5596fc9359c127fef4e6db5" score = 75 quality = 85 tags = "" strings: $version_sig = { 51 4A 56 57 83 FA 62 0F 87 8F 03 00 00 FF 24 95 56 7B 00 10 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_Dll_V4_1_And_V4_2 { meta: description = "Cobalt Strike's sleeve/beacon.dll Versions 4.1 and 4.2" author = "gssincla@google.com" id = "793df916-bdf7-5743-b008-0113caf38bae" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L903-L934" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "daa42f4380cccf8729129768f3588bb98e4833b0c40ad0620bb575b5674d5fc3" logic_hash = "7280a5c3f478ea40b6b72fb4669d5b8c21603e7fbfbc3815a83bc462ee19c0f5" score = 75 quality = 85 tags = "" rs2 = "9de55f27224a4ddb6b2643224a5da9478999c7b2dea3a3d6b3e1808148012bcf" strings: $version_sig = { 48 57 8B F2 83 F8 63 0F 87 3C 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_Dll_V4_3_V4_4_V4_5_And_V4_6 { meta: description = "Cobalt Strike's sleeve/beacon.dll Versions 4.3 and 4.4" author = "gssincla@google.com" id = "976e087c-f371-5fc6-85f8-9c803a91f549" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L936-L967" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "51490c01c72c821f476727c26fbbc85bdbc41464f95b28cdc577e5701790845f" logic_hash = "6608a84c4fd3bf77fd5b426da8be250d8b99878bd746fa23789f4791a164ce33" score = 75 quality = 85 tags = "" rs2 = "78a6fbefa677eeee29d1af4a294ee57319221b329a2fe254442f5708858b37dc" strings: $version_sig = { 48 57 8B F2 83 F8 65 0F 87 47 03 00 00 FF 24 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_Dll_V4_7_Suspected { meta: description = "Cobalt Strike's sleeve/beacon.dll Versions 4.7 (suspected, not confirmed)" author = "gssincla@google.com" id = "4b6f90dd-69f3-5555-9195-6a0aed0fff58" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L969-L1002" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "da9e91b3d8df3d53425dd298778782be3bdcda40037bd5c92928395153160549" logic_hash = "297ff7c3acfe6f9676dc6c265c548f017f39ccc5217617344e3bccc704ac4c78" score = 75 quality = 85 tags = "" strings: $version_sig = { 53 56 48 57 8B F2 83 F8 67 0F 87 5E 03 00 00 } $decoder = { 80 B0 [4] ?? 40 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_2 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.2" author = "gssincla@google.com" id = "61188243-0b90-5bff-bcc8-50f10ed941f6" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1029-L1068" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "5993a027f301f37f3236551e6ded520e96872723a91042bfc54775dcb34c94a1" logic_hash = "3803aaac537aec0b188870177e510a3789a71c19be576569b59aa146b2ba62c5" score = 75 quality = 85 tags = "" strings: $version_sig = { 4C 8D 05 9F F8 FF FF 8B D3 48 8B CF E8 05 1A 00 00 EB 0A 8B D3 48 8B CF E8 41 21 00 00 48 8B 5C 24 30 48 83 C4 20 } $decoder = { 80 31 ?? FF C2 48 FF C1 48 63 C2 48 3D 10 06 00 00 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_3 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.3" author = "gssincla@google.com" id = "fb96ecff-809e-5704-974e-a2d8ef022daa" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1070-L1109" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "7b00721efeff6ed94ab108477d57b03022692e288cc5814feb5e9d83e3788580" logic_hash = "514d491b8066ed7127ebb152a27efbe65e1121da3b5460afe6987920a91f2863" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B D3 48 8B CF E8 89 66 00 00 E9 23 FB FF FF 41 B8 01 00 00 00 E9 F3 FD FF FF 48 8D 0D 2A F8 FF FF E8 8D 2B 00 00 48 8B 5C 24 30 48 83 C4 20 } $decoder = { 80 31 ?? FF C2 48 FF C1 48 63 C2 48 3D 10 06 00 00 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_4 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.4" author = "gssincla@google.com" id = "97ef152c-86c7-513c-a881-e7d594d38dcf" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1111-L1148" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "5a4d48c2eda8cda79dc130f8306699c8203e026533ce5691bf90363473733bf0" logic_hash = "65aa42265133038f6f568c021c0228440e84e236829af50796a73f6923f46395" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B D3 48 8B CF E8 56 6F 00 00 E9 17 FB FF FF 41 B8 01 00 00 00 8B D3 48 8B CF E8 41 4D 00 00 48 8B 5C 24 30 48 83 C4 20 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_5_Hf1_And_V3_5_1 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.5-hf1 and 3.5.1" author = "gssincla@google.com" id = "0c0e87d3-e0e2-5ddc-9d89-5e56443da4b8" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1150-L1189" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "934134ab0ee65ec76ae98a9bb9ad0e9571d80f4bf1eb3491d58bacf06d42dc8d" logic_hash = "5cd69554edb91956f4ec4c3c5e55f4cd9c3665656c318220ba3a270c0bb0a690" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B D3 48 8B CF E8 38 70 00 00 E9 FD FA FF FF 41 B8 01 00 00 00 8B D3 48 8B CF E8 3F 4D 00 00 48 8B 5C 24 30 48 83 C4 20 5F } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_6 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.6" author = "gssincla@google.com" id = "9651a1ca-d8ea-5b0b-bcba-a850c2e07791" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1191-L1233" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "92b0a4aec6a493bcb1b72ce04dd477fd1af5effa0b88a9d8283f26266bb019a1" logic_hash = "d6aff186a01386992f004cb775d280f9b6e7e16d7ecee662d61e3485b0bc088b" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 89 5C 24 08 57 48 83 EC 20 41 8B D8 48 8B FA 83 F9 27 0F 87 47 03 00 00 0F 84 30 03 00 00 83 F9 14 0F 87 A4 01 00 00 0F 84 7A 01 00 00 83 F9 0C 0F 87 C8 00 00 00 0F 84 B3 00 00 00 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_7 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.7" author = "gssincla@google.com" id = "27fad98a-2882-5c52-af6e-c7dcf5559624" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1235-L1274" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "81296a65a24c0f6f22208b0d29e7bb803569746ce562e2fa0d623183a8bcca60" logic_hash = "89499e01acd607b2fbcdd134c74ca4a901c00c7c9cf70dd241cc538c1c0d083a" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 89 5C 24 08 57 48 83 EC 20 41 8B D8 48 8B FA 83 F9 28 0F 87 7F 03 00 00 0F 84 67 03 00 00 83 F9 15 0F 87 DB 01 00 00 0F 84 BF 01 00 00 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_8 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.8" author = "gssincla@google.com" id = "89809d81-9a8b-5cf3-a251-689bf52e98e0" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1276-L1310" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "547d44669dba97a32cb9e95cfb8d3cd278e00599e6a11080df1a9d09226f33ae" logic_hash = "8845b71ce4401fd194eb88f04dbf1f313af8b4853da004e63261ca3158fcb1d4" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B D3 48 8B CF E8 7A 52 00 00 EB 0D 45 33 C0 8B D3 48 8B CF E8 8F 55 00 00 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_11 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.11 (two subversions)" author = "gssincla@google.com" id = "bf0c7661-2583-5fca-beb5-abb2b50c860d" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1312-L1366" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "64007e104dddb6b5d5153399d850f1e1f1720d222bed19a26d0b1c500a675b1a" logic_hash = "9c34b23b659463a0ab92949031a9b3246aa95256d1548b2f0ad53fe3d379997d" score = 75 quality = 85 tags = "" rs2 = "815f313e0835e7fdf4a6d93f2774cf642012fd21ce870c48ff489555012e0047" strings: $version_sig = { 48 83 EC 20 41 8B D8 48 8B FA 83 F9 2D 0F 87 B2 03 00 00 0F 84 90 03 00 00 83 F9 17 0F 87 F8 01 00 00 0F 84 DC 01 00 00 83 F9 0E 0F 87 F9 00 00 00 0F 84 DD 00 00 00 FF C9 0F 84 C0 00 00 00 83 E9 02 0F 84 A6 00 00 00 FF C9 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_12 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.12" author = "gssincla@google.com" id = "6eeae9f4-96e0-5a98-a8dc-779c916cd968" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1368-L1404" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "8a28b7a7e32ace2c52c582d0076939d4f10f41f4e5fa82551e7cc8bdbcd77ebc" logic_hash = "7457b20f2a7dc7e8c3317cedbcfccae30ecc8dc164188c0321f9485fdfab0f6e" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B D3 48 8B CF E8 F8 2E 00 00 EB 16 8B D3 48 8B CF E8 00 5C 00 00 EB 0A 8B D3 48 8B CF E8 64 4F 00 00 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_13 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.13" author = "gssincla@google.com" id = "202eb8ea-7afb-515b-9306-67514abf5e55" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1407-L1440" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "945e10dcd57ba23763481981c6035e0d0427f1d3ba71e75decd94b93f050538e" logic_hash = "81571a6c30802430d0df9980e005736d58464bde98c0889b48bf8d0c7e88d247" score = 75 quality = 85 tags = "" strings: $version_sig = { 48 8D 0D 01 5B FF FF 48 83 C4 28 E9 A8 54 FF FF 8B D0 49 8B CA E8 22 55 FF FF } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Beacon_X64_V3_14 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 3.14" author = "gssincla@google.com" id = "d69171e3-86f4-5187-8874-5eee2045f746" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1442-L1477" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "297a8658aaa4a76599a7b79cb0da5b8aa573dd26c9e2c8f071e591200cf30c93" logic_hash = "87cf465154d4294eeda9cf99c6c160da80cfa8a65244bc083737c0c87163431d" score = 75 quality = 85 tags = "" rs2 = "39b9040e3dcd1421a36e02df78fe031cbdd2fb1a9083260b8aedea7c2bc406bf" strings: $version_sig = { 8B D0 49 8B CA 48 83 C4 28 E9 B1 1F 00 00 8B D0 49 8B CA 48 83 C4 28 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_Dll_X86_V4_0_Suspected { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 4.0 (suspected, not confirmed)" author = "gssincla@google.com" id = "28a735c4-87d1-5e14-9379-46a6fd0cdd2a" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1480-L1515" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "55aa2b534fcedc92bb3da54827d0daaa23ece0f02a10eb08f5b5247caaa63a73" logic_hash = "0dbf6a75dc74f4c2a7604072a01e2dbaaee15f5e57c765f24138d85c248fb305" score = 75 quality = 85 tags = "" strings: $version_sig = { 41 B8 01 00 00 00 8B D0 49 8B CA 48 83 C4 28 E9 D1 B3 FF FF 8B D0 49 8B CA 48 83 C4 28 E9 AF F5 FF FF 45 33 C0 4C 8D 0D 8D 70 FF FF 8B D0 49 8B CA E8 9B B0 FF FF } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_X64_V4_1_And_V_4_2 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 4.1 and 4.2" author = "gssincla@google.com" id = "dc320d17-98fc-5df3-ba05-4d134129317e" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1517-L1553" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "29ec171300e8d2dad2e1ca2b77912caf0d5f9d1b633a81bb6534acb20a1574b2" logic_hash = "9b262ec18f79ab5ae63ad26d3685af088b5feb2d66de6ad3ba584cafbe2ee221" score = 75 quality = 85 tags = "" strings: $version_sig = { 83 F9 34 0F 87 8E 03 00 00 0F 84 7A 03 00 00 83 F9 1C 0F 87 E6 01 00 00 0F 84 D7 01 00 00 83 F9 0E 0F 87 E9 00 00 00 0F 84 CE 00 00 00 FF C9 0F 84 B8 00 00 00 83 E9 02 0F 84 9F 00 00 00 FF C9 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_X64_V4_3 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Version 4.3" author = "gssincla@google.com" id = "572616c7-d1ec-5aa1-b142-4f2edf73737f" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1555-L1590" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "3ac9c3525caa29981775bddec43d686c0e855271f23731c376ba48761c27fa3d" logic_hash = "0c8934e997583339145749a3167ac010d8c77b2ed878d2c999de68ec2a98101d" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B D0 49 8B CA 48 83 C4 28 E9 D3 88 FF FF 4C 8D 05 84 6E FF FF 8B D0 49 8B CA 48 83 C4 28 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_X64_V4_4_V_4_5_And_V4_6 { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 4.4 through at least 4.6" author = "gssincla@google.com" id = "79b6bfd4-1e45-5bd9-ac5c-19eb176ce698" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1593-L1628" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "3280fec57b7ca94fd2bdb5a4ea1c7e648f565ac077152c5a81469030ccf6ab44" logic_hash = "be0bbf58a176f8089924b3ce58268d906f49dde51d863524971e46f4bada43a3" score = 75 quality = 85 tags = "" strings: $version_sig = { 8B D0 49 8B CA 48 83 C4 28 E9 83 88 FF FF 4C 8D 05 A4 6D FF FF 8B D0 49 8B CA 48 83 C4 28 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike_Sleeve_Beacon_X64_V4_5_Variant { meta: description = "Cobalt Strike's sleeve/beacon.x64.dll Versions 4.5 (variant)" author = "gssincla@google.com" id = "45715da9-8f16-5304-b216-1ca36c508c77" date = "2022-11-18" modified = "2023-12-04" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Beacon_Dll_All_Versions_MemEnabled.yara#L1630-L1665" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "8f0da7a45945b630cd0dfb5661036e365dcdccd085bc6cff2abeec6f4c9f1035" logic_hash = "31a108168489a24d1bc297d722741f3fd19abd1bed4c76d54967c73986d18123" score = 75 quality = 85 tags = "" strings: $version_sig = { 41 B8 01 00 00 00 8B D0 49 8B CA 48 83 C4 28 E9 E8 AB FF FF 8B D0 49 8B CA E8 1A EB FF FF 48 83 C4 28 } $decoder = { 80 34 28 ?? 48 FF C0 48 3D 00 10 00 00 7C F1 } condition: all of them } rule GCTI_Cobaltstrike__Resources_Browserpivot_Bin_V1_48_To_V3_14_And_Sleeve_Browserpivot_Dll_V4_0_To_V4_X { meta: description = "Cobalt Strike's resources/browserpivot.bin from v1.48 to v3.14 and sleeve/browserpivot.dll from v4.0 to at least v4.4" author = "gssincla@google.com" id = "55086544-6684-526b-914f-505a562be458" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Browserpivot_Bin_v1_48_to_v3_14_and_Sleeve_Browserpivot_Dll_v4_0_to_v4_x.yara#L17-L60" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "12af9f5a7e9bfc49c82a33d38437e2f3f601639afbcdc9be264d3a8d84fd5539" logic_hash = "416554d31c105fd96aeaef508847efe2889590909c8d0025e3862e5b24078131" score = 75 quality = 85 tags = "" strings: $socket_recv = { FF [1-5] 83 ?? FF 74 ?? 85 C0 (74 | 76) ?? 03 ?? 83 ?? 02 72 ?? 80 ?? 3E FF 0A 75 ?? 80 ?? 3E FE 0D } $fmt = "%1024[^ ] %8[^:]://%1016[^/]%7168[^ ] %1024[^ ]" condition: all of them } rule GCTI_Cobaltstrike_Resources__Template_Vbs_V3_3_To_V4_X { meta: description = "Cobalt Strike's resources/btemplate.vbs signature for versions v3.3 to v4.x" author = "gssincla@google.com" id = "62f35d02-1e4e-5651-b575-888ce06b8bdd" date = "2022-11-18" modified = "2022-11-22" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Template_Vbs_v3_3_to_v4_x.yara#L17-L41" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "e0683f953062e63b2aabad7bc6d76a78748504b114329ef8e2ece808b3294135" logic_hash = "c9df0e287eb0eacf7c6cfcf3f6d1043ae6f2fdacd3b22bd42ac71f4b0d7226ff" score = 75 quality = 83 tags = "" strings: $ea = "Excel.Application" nocase $vis = "Visible = False" nocase $wsc = "Wscript.Shell" nocase $regkey1 = "HKEY_CURRENT_USER\\Software\\Microsoft\\Office\\" nocase $regkey2 = "\\Excel\\Security\\AccessVBOM" nocase $regwrite = ".RegWrite" nocase $dw = "REG_DWORD" $code = ".CodeModule.AddFromString" $ao = { 41 75 74 6f 5f 4f 70 65 6e } $da = ".DisplayAlerts" condition: all of them } rule GCTI_Cobaltstrike_Resources_Command_Ps1_V2_5_To_V3_7_And_Resources_Compress_Ps1_V3_8_To_V4_X { meta: description = "Cobalt Strike's resources/command.ps1 for versions 2.5 to v3.7 and resources/compress.ps1 from v3.8 to v4.x" author = "gssincla@google.com" id = "c0b81deb-ed20-5f7e-8e15-e6a9e9362594" date = "2022-11-18" modified = "2022-11-22" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Command_Ps1_v2_5_to_v3_7_and_Resources_Compress_Ps1_v3_8_to_v4_x.yara#L17-L33" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "932dec24b3863584b43caf9bb5d0cfbd7ed1969767d3061a7abdc05d3239ed62" logic_hash = "31cf47060757b086d325cd205724a7be8931bbbc6ff2f4be67a6179ee99c42ca" score = 75 quality = 85 tags = "" strings: $ps1 = "$s=New-Object \x49O.MemoryStream(,[Convert]::\x46romBase64String(" nocase $ps2 = "));IEX (New-Object IO.StreamReader(New-Object IO.Compression.GzipStream($s,[IO.Compression.CompressionMode]::Decompress))).ReadToEnd();" nocase condition: all of them } rule GCTI_Cobaltstrike_Resources_Httpsstager_Bin_V2_5_Through_V4_X { meta: description = "Cobalt Strike's resources/httpsstager.bin signature for versions 2.5 to 4.x" author = "gssincla@google.com" id = "f45aa40a-3936-50f9-a60e-de7181862d19" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Httpsstager_Bin_v2_5_through_v4_x.yara#L17-L95" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "5ebe813a4c899b037ac0ee0962a439833964a7459b7a70f275ac73ea475705b3" logic_hash = "d2f722809a59faf8ecd85e46eadf58bf23ba5f515ad9c949843f1e6bfeec1fbf" score = 75 quality = 85 tags = "" strings: $apiLocator = { 31 ?? AC C1 ?? 0D 01 ?? 38 ?? 75 ?? 03 [2] 3B [2] 75 ?? 5? 8B ?? 24 01 ?? 66 8B [2] 8B ?? 1C 01 ?? 8B ?? 8B 01 ?? 89 [3] 5? 5? } $InternetSetOptionA = { 6A 04 5? 6A 1F 5? 68 75 46 9E 86 FF } condition: $apiLocator and $InternetSetOptionA } rule GCTI_Cobaltstrike_Resources_Artifact64_V1_49_V2_X_V3_0_V3_3_Thru_V3_14 { meta: description = "Cobalt Strike's resources/artifact64{.dll,.exe,big.exe,big.dll,bigsvc.exe,big.x64.dll} and resources/rtifactuac(alt)64.dll signature for versions v1.49, v2.x, v3.0, and v3.3 through v3.14" author = "gssincla@google.com" id = "67902782-500e-5a89-8b2a-59ee21bcba3e" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Artifact64_v1_49_to_v4_x.yara#L17-L54" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "9ec57d306764517b5956b49d34a3a87d4a6b26a2bb3d0fdb993d055e0cc9920d" logic_hash = "289950e89fc743ff4a1b7dcb91c561c7d829cfe3ade1c2f1a09f2e9701cce461" score = 75 quality = 85 tags = "" strings: $a = { 8B [2] 48 98 48 [2] 48 [3] 8B [2] 48 98 48 [3] 44 [3] 8B [2] 89 ?? C1 ?? 1F C1 ?? 1E 01 ?? 83 ?? 03 29 ?? 48 98 48 [3] 0F B6 00 44 [2] 88 } condition: $a } rule GCTI_Cobaltstrike_Resources_Artifact64_V3_1_V3_2_V3_14_And_V4_0 { meta: description = "Cobalt Strike's resources/artifact64{svcbig.exe,.dll,big.dll,svc.exe} and resources/artifactuac(big)64.dll signature for versions 3.14 to 4.x and resources/artifact32svc.exe for 3.14 to 4.x" author = "gssincla@google.com" id = "c9e9b8e0-16fe-5abc-b1fe-0e3e586f6db6" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Artifact64_v1_49_to_v4_x.yara#L56-L84" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "2e7a39bd6ac270f8f548855b97c4cef2c2ce7f54c54dd4d1aa0efabeecf3ba90" logic_hash = "e5af04baa1d18d5a2a2c005b40bf93fe6a7b2d7116dfcf3c5b3fa36657448eb9" score = 75 quality = 85 tags = "" strings: $decoderFunction = { 31 ?? EB 0F 41 [2] 03 47 [3] 44 [3] 48 [2] 39 ?? 41 [2] 7C EA 4C [6] E9 } condition: $decoderFunction } rule GCTI_Cobaltstrike_Resources_Artifact64_V3_14_To_V4_X { meta: description = "Cobalt Strike's resources/artifact64{.exe,.dll,svc.exe,svcbig.exe,big.exe,big.dll,.x64.dll,big.x64.dll} and resource/artifactuac(alt)64.exe signature for versions v3.14 through v4.x" author = "gssincla@google.com" id = "1c7731d3-429b-57aa-9c17-8de7d0841b1e" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Artifact64_v1_49_to_v4_x.yara#L86-L128" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "decfcca0018f2cec4a200ea057c804bb357300a67c6393b097d52881527b1c44" logic_hash = "af8ba6ba62bf1179510b0940e60f893f61b3ba10c81001dd90fe4c3521e56a37" score = 75 quality = 85 tags = "" strings: $fmtBuilder = { 41 ?? 5C 00 00 00 C7 [3] 5C 00 00 00 C7 [3] 65 00 00 00 C7 [3] 70 00 00 00 C7 [3] 69 00 00 00 C7 [3] 70 00 00 00 C7 [3] 5C 00 00 00 C7 [3] 2E 00 00 00 89 [3] 48 [6] E8 } $fmtString = "%c%c%c%c%c%c%c%c%cMSSE-%d-server" condition: all of them } rule GCTI_Cobaltstrike_Resources_Xor_Bin_V2_X_To_V4_X { meta: description = "Cobalt Strike's resource/xor.bin signature for version 2.x through 4.x" author = "gssincla@google.com" id = "1754746c-3a42-5f7d-808a-ba2e1c0a270e" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Xor_Bin__32bit_v2_x_to_4_x.yara#L17-L36" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "211ccc5d28b480760ec997ed88ab2fbc5c19420a3d34c1df7991e65642638a6f" logic_hash = "ad662a263ede6c3ba964baf8abe4848ed1e994f2c236d4315cb60c1d51442620" score = 75 quality = 85 tags = "" strings: $stub52 = {fc e8 ?? ?? ?? ?? [1-32] eb 27 5? 8b ?? 83 c? ?4 8b ?? 31 ?? 83 c? ?4 5? 8b ?? 31 ?? 89 ?? 31 ?? 83 c? ?4 83 e? ?4 31 ?? 39 ?? 74 ?2 eb ea 5? ff e? e8 d4 ff ff ff} $stub56 = {fc e8 ?? ?? ?? ?? [1-32] eb 2b 5d 8b ?? ?? 83 c5 ?4 8b ?? ?? 31 ?? 83 c5 ?4 55 8b ?? ?? 31 ?? 89 ?? ?? 31 ?? 83 c5 ?4 83 e? ?4 31 ?? 39 ?? 74 ?2 eb e8 5? ff e? e8 d? ff ff ff} condition: any of them } rule GCTI_Cobaltstrike_Resources_Smbstager_Bin_V2_5_Through_V4_X { meta: description = "Cobalt Strike's resources/smbstager.bin signature for versions 2.5 to 4.x" author = "gssincla@google.com" id = "074b7d83-e3d8-541c-804b-2417c21f54d5" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Smbstager_Bin_v2_5_through_v4_x.yara#L17-L95" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "946af5a23e5403ea1caccb2e0988ec1526b375a3e919189f16491eeabc3e7d8c" logic_hash = "b0f6535069df16a64de44ca0638ec060c1ff264a7820c94710d61ca7e8474450" score = 75 quality = 85 tags = "" strings: $apiLocator = { 31 ?? AC C1 ?? 0D 01 ?? 38 ?? 75 ?? 03 [2] 3B [2] 75 ?? 5? 8B ?? 24 01 ?? 66 8B [2] 8B ?? 1C 01 ?? 8B ?? 8B 01 ?? 89 [3] 5? 5? } $smb = { 68 C6 96 87 52 } $smbstart = { 6A 40 68 00 10 00 00 68 FF FF 07 00 6A 00 68 58 A4 53 E5 } condition: $apiLocator and $smb and $smbstart } rule GCTI_Cobaltstrike_Resources_Template__X32_X64_Ps1_V1_45_To_V2_5_And_V3_11_To_V3_14 { meta: description = "Cobalt Strike's resources/template.x64.ps1, resources/template.x32 from v3.11 to v3.14 and resources/template.ps1 from v1.45 to v2.5 " author = "gssincla@google.com" id = "c9fa6a39-0098-5dde-9762-94bc6b2df299" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Template__x32_x64_Ps1_v1_45_to_v2_5_and_v3_11_to_v3_14.yara#L17-L43" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "ff743027a6bcc0fee02107236c1f5c96362eeb91f3a5a2e520a85294741ded87" logic_hash = "5196f111f257239d2e7e4ca342e7fc8bac1687743bc8c7ff23addf1f094b2e93" score = 75 quality = 85 tags = "" strings: $importVA = "[DllImport(\"kernel32.dll\")] public static extern IntPtr VirtualAlloc" nocase $importCT = "[DllImport(\"kernel32.dll\")] public static extern IntPtr CreateThread" nocase $importWFSO = "[DllImport(\"kernel32.dll\")] public static extern int WaitForSingleObject" nocase $compiler = "New-Object Microsoft.CSharp.CSharpCodeProvider" nocase $params = "New-Object System.CodeDom.Compiler.CompilerParameters" nocase $paramsSys32 = ".ReferencedAssemblies.AddRange(@(\"System.dll\", [PsObject].Assembly.Location))" nocase $paramsGIM = ".GenerateInMemory = $True" nocase $result = "$compiler.CompileAssemblyFromSource($params, $assembly)" nocase condition: all of them } rule GCTI_Cobaltstrike_Resources_Elevate_X64_Dll_V3_0_To_V3_14_And_Sleeve_Elevate_X64_Dll_V4_X { meta: description = "Cobalt Strike's resources/elevate.x64.dll signature for v3.0 to v3.14 and sleeve/elevate.x64.dll for v4.x" author = "gssincla@google.com" id = "91d5c343-1084-5cfc-9dfa-46f530eb9625" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Elevate_X64_Dll_v3_0_to_v3_14_and_Sleeve_Elevate_X64_Dll_v4_x.yara#L17-L71" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "c3ee8a9181fed39cec3bd645b32b611ce98d2e84c5a9eff31a8acfd9c26410ec" logic_hash = "6f23bcf6a0c360d2f83140ce633440b13d8b691e75c5560c65656cf8a6114224" score = 75 quality = 85 tags = "" strings: $wnd_proc = { 81 ?? 21 01 00 00 75 ?? 83 [5] 00 75 ?? 45 33 ?? 8D [2] C7 [5] 01 00 00 00 45 [2] 28 FF 15 [4] 45 33 ?? 8D [2] 45 [2] 27 48 [2] FF 15 [4] 45 33 ?? 45 33 ?? BA 01 02 00 00 48 } condition: $wnd_proc } rule GCTI_Cobaltstrike_Resources_Covertvpn_Injector_Exe_V1_44_To_V2_0_49 { meta: description = "Cobalt Strike's resources/covertvpn-injector.exe signature for version v1.44 to v2.0.49" author = "gssincla@google.com" id = "48485ae2-1d99-5fa8-b8e8-0047e92ef447" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Covertvpn_injector_Exe_v1_44_to_v2_0_49.yara#L17-L116" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "d741751520f46602f5a57d1ed49feaa5789115aeeba7fa4fc7cbb534ee335462" logic_hash = "119602efe6243d8c0dc7b8f4468eb9b3be292620920f69dc8a560f900ac7f622" score = 75 quality = 85 tags = "" strings: $dropComponentsAndActivateDriver_prologue = { C7 04 24 [4] E8 [4] 83 EC 04 C7 44 24 04 [4] 89 04 24 E8 59 14 00 00 83 EC 08 89 45 ?? 83 7D ?? 00 74 ?? E8 [4] 8D [2] 89 [3] 89 04 24 } $dropFile = { C7 44 24 04 00 00 00 00 8B [2] 89 ?? 24 E8 [4] 83 F8 FF 74 ?? 8B [2] 89 ?? 24 04 C7 04 24 [4] E8 [4] E9 [4] C7 44 24 18 00 00 00 00 C7 44 24 14 80 01 00 00 C7 44 24 10 02 00 00 00 C7 44 24 0C 00 00 00 00 C7 44 24 08 05 00 00 00 C7 44 24 04 00 00 00 40 8B [2] 89 04 24 E8 [4] 83 EC 1C 89 45 ?? } $nfp = "npf.sys" nocase $wpcap = "wpcap.dll" nocase condition: all of them } rule GCTI_Cobaltstrike_Resources_Bypassuactoken_Dll_V3_11_To_V3_14 { meta: description = "Cobalt Strike's resources/bypassuactoken.dll from v3.11 to v3.14 (32-bit version)" author = "gssincla@google.com" id = "b9f25fa5-bd1d-5ba0-9b1d-bb97e1dbf76b" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Bypassuactoken_Dll_v3_11_to_v3_14.yara#L17-L151" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "df1c7256dfd78506e38c64c54c0645b6a56fc56b2ffad8c553b0f770c5683070" logic_hash = "fe0780b7f4c16b55cfa00ea7de4da8ce349ec8a72de763b72e816ebc8e934b6d" score = 75 quality = 85 tags = "" strings: $isHighIntegrityProcess = { 5? 5? 5? 8B ?? 6A 19 5? FF 15 [4] 85 C0 75 ?? FF 15 [4] 83 ?? 7A 75 ?? FF [2] 5? FF 15 [4] 8B ?? 8D [2] 5? FF [2] 5? 6A 19 5? FF 15 [4] 85 C0 74 ?? FF ?? FF 15 [4] 8A ?? FE C8 0F B6 C0 5? FF ?? FF 15 [4] B? 01 00 00 00 5? 81 ?? 00 30 00 00 } $executeTaskmgr = { 6A 3C 8D ?? C4 8B ?? 6A 00 5? 8B ?? E8 [4] 83 C4 0C C7 [2] 3C 00 00 00 8D [2] C7 [2] 40 00 00 00 C7 [6] C7 [2] 00 00 00 00 5? C7 [2] 00 00 00 00 C7 [6] C7 [2] 00 00 00 00 FF 15 [4] FF 75 FC } condition: all of them } rule GCTI_Cobaltstrike_Resources_Dnsstager_Bin_V1_47_Through_V4_X { meta: description = "Cobalt Strike's resources/dnsstager.bin signature for versions 1.47 to 4.x" author = "gssincla@google.com" id = "e1b0e368-9bcf-5d9b-b2b3-8414742f213e" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Dnsstager_Bin_v1_47_through_v4_x.yara#L17-L78" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "10f946b88486b690305b87c14c244d7bc741015c3fef1c4625fa7f64917897f1" logic_hash = "d4500d8a83a821e1df9e808b17a87c1207d78ea0e03886544a632176fe93ccd0" score = 75 quality = 83 tags = "" strings: $apiLocator = { 31 ?? AC C1 ?? 0D 01 ?? 38 ?? 75 ?? 03 [2] 3B [2] 75 ?? 5? 8B ?? 24 01 ?? 66 8B [2] 8B ?? 1C 01 ?? 8B ?? 8B 01 ?? 89 [3] 5? 5? } $dnsapi = { 68 64 6E 73 61 } condition: $apiLocator and $dnsapi } rule GCTI_Cobaltstrike_Resources_Reverse64_Bin_V2_5_Through_V4_X { meta: description = "Cobalt Strike's resources/reverse64.bin signature for versions v2.5 to v4.x" author = "gssincla@google.com" id = "966e6e4c-85e2-5c94-8245-25367802b7d2" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Reverse64_Bin_v2_5_through_v4_x.yara#L17-L99" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "d2958138c1b7ef681a63865ec4a57b0c75cc76896bf87b21c415b7ec860397e8" logic_hash = "c657234156293b9ac363b677490739ab0b5cc2ef149c9d9c37332dab9bb012f6" score = 75 quality = 85 tags = "" strings: $apiLocator = { 48 [2] AC 41 [2] 0D 41 [2] 38 ?? 75 ?? 4C [4] 45 [2] 75 ?? 5? 44 [2] 24 49 [2] 66 [4] 44 [2] 1C 49 [2] 41 [3] 48 } $calls = { 48 89 C1 41 BA EA 0F DF E0 FF D5 48 [2] 6A ?? 41 ?? 4C [2] 48 [2] 41 BA 99 A5 74 61 FF D5 } condition: $apiLocator and $calls } rule GCTI_Cobaltstrike_Resources_Reverse_Bin_V2_5_Through_V4_X { meta: description = "Cobalt Strike's resources/reverse.bin signature for versions 2.5 to 4.x" author = "gssincla@google.com" id = "182dbcd0-1180-5516-abe3-cf2eebbd0e39" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Reverse_Bin_v2_5_through_v4_x.yara#L17-L104" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "887f666d6473058e1641c3ce1dd96e47189a59c3b0b85c8b8fccdd41b84000c7" logic_hash = "c6c4fc477c7654ec07eb6ef4c6d53805a9b4881ba288754e1f50b3e4b134333c" score = 75 quality = 85 tags = "" strings: $apiLocator = { 31 ?? AC C1 ?? 0D 01 ?? 38 ?? 75 ?? 03 [2] 3B [2] 75 ?? 5? 8B ?? 24 01 ?? 66 8B [2] 8B ?? 1C 01 ?? 8B ?? 8B 01 ?? 89 [3] 5? 5? } $ws2_32 = { 5D 68 33 32 00 00 68 77 73 32 5F } $connect = { 6A 10 5? 5? 68 99 A5 74 61 } condition: $apiLocator and $ws2_32 and $connect } rule GCTI_Cobaltstrike_Resources_Artifact32_And_Resources_Dropper_V1_49_To_V3_14 { meta: description = "Cobalt Strike's resources/artifact32{.exe,.dll,big.exe,big.dll} and resources/dropper.exe signature for versions 1.49 to 3.14" author = "gssincla@google.com" id = "243e3761-cbea-561c-97da-f6ba12ebc7ee" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Artifact32_and_Resources_Dropper_v1_45_to_v4_x.yara#L17-L32" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "40fc605a8b95bbd79a3bd7d9af73fbeebe3fada577c99e7a111f6168f6a0d37a" logic_hash = "437706c808bca28384a6e8e24fa3ae120a4ebe4166fa4ca3564c58b881fb23a8" score = 75 quality = 85 tags = "" strings: $payloadDecoder = { 8B [2] 89 ?? 03 [2] 8B [2] 03 [2] 0F B6 18 8B [2] 89 ?? C1 ?? 1F C1 ?? 1E 01 ?? 83 ?? 03 29 ?? 03 [2] 0F B6 00 31 ?? 88 ?? 8B [2] 89 ?? 03 [2] 8B [2] 03 [2] 0F B6 12 } condition: any of them } rule GCTI_Cobaltstrike_Resources_Artifact32_V3_1_And_V3_2 { meta: description = "Cobalt Strike's resources/artifact32{.dll,.exe,svc.exe,big.exe,big.dll,bigsvc.exe} and resources/artifact32uac(alt).dll signature for versions 3.1 and 3.2" author = "gssincla@google.com" id = "4fff7f42-9f50-5945-8ec0-2438ac5c7000" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Artifact32_and_Resources_Dropper_v1_45_to_v4_x.yara#L34-L60" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "4f14bcd7803a8e22e81e74d6061d0df9e8bac7f96f1213d062a29a8523ae4624" logic_hash = "7a0d33d0260c762b4aa67e4084d7474338c60aa684fd3e622614745d90350da8" score = 75 quality = 85 tags = "" strings: $decoderFunc = { 89 ?? B? 04 00 00 00 99 F7 FF 8B [2] 8A [2] 30 ?? 8A ?? 4? 88 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Artifact32_V3_14_To_V4_X { meta: description = "Cobalt Strike's resources/artifact32{.dll,.exe,big.exe,big.dll,bigsvc.exe} signature for versions 3.14 to 4.x and resources/artifact32svc.exe for 3.14 to 4.x and resources/artifact32uac.dll for v3.14 and v4.0" author = "gssincla@google.com" id = "8a010305-dce5-55f4-b2dd-a736721efe22" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Artifact32_and_Resources_Dropper_v1_45_to_v4_x.yara#L62-L89" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "888bae8d89c03c1d529b04f9e4a051140ce3d7b39bc9ea021ad9fc7c9f467719" logic_hash = "fc5c353c568e33df80fa5bab14d11112ca211e269043b83dba8b7d1a6a008a7b" score = 75 quality = 85 tags = "" strings: $pushFmtStr = { C7 [3] 5C 00 00 00 C7 [3] 65 00 00 00 C7 [3] 70 00 00 00 C7 [3] 69 00 00 00 C7 [3] 70 00 00 00 F7 F1 C7 [3] 5C 00 00 00 C7 [3] 2E 00 00 00 C7 [3] 5C 00 00 00 } $fmtStr = "%c%c%c%c%c%c%c%c%cMSSE-%d-server" condition: all of them } rule GCTI_Cobaltstrike_Resources_Bypassuactoken_X64_Dll_V3_11_To_V3_14 { meta: description = "Cobalt Strike's resources/bypassuactoken.x64.dll from v3.11 to v3.14 (64-bit version)" author = "gssincla@google.com" id = "c89befcd-a622-5947-9ce3-a6031901a45a" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Bypassuactoken_x64_Dll_v3_11_to_v3_14.yara#L17-L118" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "853068822bbc6b1305b2a9780cf1034f5d9d7127001351a6917f9dbb42f30d67" logic_hash = "adfd212f2e470f666ab8a2168e976c11d3032c31dab7cf56963dae5fc0f6c5f9" score = 75 quality = 85 tags = "" strings: $isHighIntegrityProcess = { 83 ?? 7A 75 ?? 8B [3] 33 ?? FF 15 [4] 44 [4] 8D [2] 48 8B ?? 48 8D [3] 48 8B ?? 4C 8B ?? 48 89 [3] FF 15 [4] 85 C0 74 ?? 48 8B ?? FF 15 [4] 8D [2] 8A ?? 40 [2] 0F B6 D1 48 8B 0F FF 15 [4] 81 ?? 00 30 00 00 } $executeTaskmgr = { 44 8D ?? 70 48 8D [3] E8 [4] 83 [3] 00 48 8D [5] 0F 57 ?? 66 0F 7F [3] 48 89 [3] 48 8D [5] 48 8D [3] C7 [3] 70 00 00 00 C7 [3] 40 00 00 00 48 89 [3] FF 15 } condition: all of them } rule GCTI_Cobaltstrike_Resources_Httpstager64_Bin_V3_2_Through_V4_X { meta: description = "Cobalt Strike's resources/httpstager64.bin signature for versions v3.2 to v4.x" author = "gssincla@google.com" id = "5530dce8-e5a1-5133-9b05-464e3397084a" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Httpstager64_Bin_v3_2_through_v4_x.yara#L17-L85" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "ad93d1ee561bc25be4a96652942f698eac9b133d8b35ab7e7d3489a25f1d1e76" logic_hash = "23666169565c6b3e5fa71767dc31096e7a25be049eeab16b074053d76c97c70b" score = 75 quality = 85 tags = "" strings: $apiLocator = { 48 [2] AC 41 [2] 0D 41 [2] 38 ?? 75 ?? 4C [4] 45 [2] 75 ?? 5? 44 [2] 24 49 [2] 66 [4] 44 [2] 1C 49 [2] 41 [3] 48 } $postInternetOpenJmp = { 41 ?? 3A 56 79 A7 FF ?? EB } condition: $apiLocator and $postInternetOpenJmp } rule GCTI_Cobaltstrike_Resources_Browserpivot_X64_Bin_V1_48_To_V3_14_And_Sleeve_Browserpivot_X64_Dll_V4_0_To_V4_X { meta: description = "Cobalt Strike's resources/browserpivot.x64.bin from v1.48 to v3.14 and sleeve/browserpivot.x64.dll from v4.0 to at least v4.4" author = "gssincla@google.com" id = "a5dfae85-ff9c-5ca5-9ac0-041c6108a6ed" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/CobaltStrike/CobaltStrike__Resources_Browserpivot_x64_Bin_v1_48_to_v3_14_and_Sleeve_Browserpivot_x64_Dll_v4_0_to_v4_x.yara#L17-L64" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "0ad32bc4fbf3189e897805cec0acd68326d9c6f714c543bafb9bc40f7ac63f55" logic_hash = "a59f19b6e258b724ed88b4255717d066319ba5fb0838d6c6ed11355e9d9b1c22" score = 75 quality = 85 tags = "" strings: $socket_recv = { FF 15 [4] 83 ?? FF 74 ?? 85 ?? 74 ?? 03 ?? 83 ?? 02 72 ?? 8D ?? FF 80 [2] 0A 75 ?? 8D ?? FE 80 [2] 0D } $fmt = "%1024[^ ] %8[^:]://%1016[^/]%7168[^ ] %1024[^ ]" condition: all of them } rule GCTI_Sliver_Implant_64Bit { meta: description = "Sliver 64-bit implant (with and without --debug flag at compile)" author = "gssincla@google.com" id = "b84db933-0e11-5871-821d-43697c015665" date = "2022-11-18" modified = "2022-11-19" reference = "https://cloud.google.com/blog/products/identity-security/making-cobalt-strike-harder-for-threat-actors-to-abuse" source_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/YARA/Sliver/Sliver__Implant_64bit.yara#L17-L84" license_url = "https://github.com/chronicle/GCTI/blob/1c5fd42b1895098527fde00c2d9757edf6b303bb/LICENSE" hash = "2d1c9de42942a16c88a042f307f0ace215cdc67241432e1152080870fe95ea87" logic_hash = "ad4ceef08a732174c8ccbcacf0370b26acb9e5ec0784d8827c8104618e018a26" score = 75 quality = 85 tags = "" strings: $s_tcppivot = { 48 ?? 74 63 70 70 69 76 6F 74 } $s_namedpipe = { 48 ?? 6E 61 6D 65 64 70 69 70 [2-32] 80 ?? 08 65 } $s_https = { 81 ?? 68 74 74 70 [2-32] 80 ?? 04 73 } $s_wg = {66 81 ?? 77 67} $s_dns = { 66 81 ?? 64 6E [2-20] 80 ?? 02 73 } $s_mtls = { 81 ?? 6D 74 6C 73 } $fp1 = "cloudfoundry" ascii fullword condition: 5 of ( $s* ) and not 1 of ( $fp* ) } /* * YARA Rule Set * Repository Name: Trellix ARC * Repository: https://github.com/advanced-threat-research/Yara-Rules/ * Retrieval Date: 2026-10-26 * Git Commit: 1919562a59f190bda60c982424f6a24c542ee3e0 * Number of Rules: 57 * Skipped: 67 (age), 40 (quality), 3 (score), 0 (importance) * * * LICENSE * * Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ private rule TRELLIX_ARC_Ransom_Xinof_Chunk_PRIVATE : RANSOMWARE { meta: description = "Detect chunk of Xinof ransomware" author = "Thomas Roccia | McAfee ATR Team" id = "243c39fd-b5f6-5f64-8058-43da182480c0" date = "2020-11-20" date = "2020-11-20" modified = "2020-11-20" reference = "https://labs.sentinelone.com/the-fonix-raas-new-low-key-threat-with-unnecessary-complexities/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_xinof.yar#L1-L51" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "0c1e6299a2392239dbe7fead33ef4146" logic_hash = "f0266962357a7cb26995cdbfcc99749b73fc4ed09c813fa8e2ed0f5143cde554" score = 75 quality = 70 tags = "RANSOMWARE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom/XINOF" actor_type = "Cybercrime" actor_group = "FONIX" strings: $chunk1 = { C6 45 ?? ?? 68 ?? ?? ?? ?? 50 E8 ?? ?? ?? ?? 53 50 8D 85 ?? ?? ?? ?? C6 45 ?? ?? 50 E8 ?? ?? ?? ?? 56 50 8D 85 ?? ?? ?? ?? C6 45 ?? ?? 50 E8 ?? ?? ?? ?? 83 C4 ?? C6 45 ?? ?? 8B CC 57 50 51 E8 ?? ?? ?? ?? 83 C4 ?? 8D 8D ?? ?? ?? ?? E8 ?? ?? ?? ?? 83 C4 ?? 8D 8D ?? ?? ?? ?? E8 ?? ?? ?? ?? } condition: any of them } rule TRELLIX_ARC_Redline_Payload : BACKDOOR FILE { meta: description = "Rule to detect the RedLine payload" author = "Marc Rivero | McAfee ATR Team" id = "61c2032f-1e6b-5123-8f99-ff83ae95e8a9" date = "2020-04-16" modified = "2020-08-14" reference = "https://www.proofpoint.com/us/threat-insight/post/new-redline-stealer-distributed-using-coronavirus-themed-email-campaign" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_redline.yar#L1-L38" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "5df956f08d6ad0559efcdb7b7a59b2f3b95dee9e2aa6b76602c46e2aba855eff" logic_hash = "44df161b7434b9137ca5bb919eb314f8447b216b3f6e1214606a898fb36ee4f4" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/RedLine" actor_type = "Cybercrime" actor_group = "Unknown" strings: $s1 = "Cambrel.exe" fullword ascii $s2 = { 22 00 54 00 65 00 78 00 74 00 49 00 6e 00 70 00 75 00 74 00 46 00 72 00 61 00 6d 00 65 00 77 00 6f 00 72 00 6b 00 2e 00 44 00 59 00 4e 00 4c 00 49 00 4e 00 4b 00 22 00 } $op0 = { 06 7c 34 00 00 04 7b 17 00 00 04 7e 21 00 00 0a } $op1 = { 96 00 92 0e 83 02 02 00 f4 20 } $op2 = { 03 00 c6 01 d9 08 1b 03 44 } $p0 = { 80 00 96 20 83 11 b7 02 10 } $p1 = { 20 01 00 72 0f 00 20 02 00 8a 0f 00 20 03 00 61 } $p2 = { 03 00 c6 01 cd 06 13 03 79 } condition: uint16( 0 ) == 0x5a4d and filesize < 60KB and all of ( $s* ) and all of ( $op* ) or all of ( $p* ) } rule TRELLIX_ARC_Shifu : FINANCIAL { meta: description = "No description has been set in the source file - Trellix ARC" author = "McAfee Labs" id = "81e9ad25-1df0-5196-be8b-1d1d5d8e4387" date = "2026-10-01" modified = "2020-08-14" reference = "https://blogs.mcafee.com/mcafee-labs/japanese-banking-trojan-shifu-combines-malware-tools/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_Shifu.yar#L1-L24" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "dfa6165f8d2750330c71dedbde293780d2bb27e8eb3635e47ca770ff7b9a9d63" score = 75 quality = 70 tags = "FINANCIAL" malware_type = "financial" malware_family = "Backdoor:W32/Shifu" actor_type = "Cybercrime" actor_group = "Unknown" strings: $b = "RegCreateKeyA" $a = "CryptCreateHash" $c = {2F 00 63 00 20 00 73 00 74 00 61 00 72 00 74 00 20 00 22 00 22 00 20 00 22 00 25 00 73 00 22 00 20 00 25 00 73 00 00 00 00 00 63 00 6D 00 64 00 2E 00 65 00 78 00 65 00 00 00 72 00 75 00 6E} $d = {53 00 6E 00 64 00 56 00 6F 00 6C 00 2E 00 65 00 78 00 65} $e = {52 00 65 00 64 00 69 00 72 00 65 00 63 00 74 00 45 00 58 00 45} condition: all of them } rule TRELLIX_ARC_MALW_Fritzfrog : BOTNET FILE { meta: description = "Rule to detect Fritzfrog" author = "Marc Rivero | McAfee ATR Team" id = "4c553279-7e0c-5602-944d-ad8a47edf4ea" date = "2020-08-20" modified = "2020-08-20" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_fritzfrog.yar#L1-L26" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "103b8404dc64c9a44511675981a09fd01395ee837452d114f1350c295357c046" logic_hash = "488c807ecf0a9e981b2c1f2f5bb2e3072952d11f7cbf3a354bc85dc8e88b8b09" score = 75 quality = 70 tags = "BOTNET, FILE" rule_version = "v1" malware_type = "botnet" malware_family = "Botnet:W32/Fritzfrog" actor_type = "Cybercrime" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern = { 7F454C4602010100000000000000000002003E000100000090D34500000000004000000000000000C8010000000000000000000040003800070040000D000300060000000400000040000000000000004000400000000000400040000000000088010000000000008801000000000000001000000000000004000000040000009C0F0000000000009C0F4000000000009C0F400000000000640000000000000064000000000000000400000000000000010000000500000000000000000000000000400000000000000040000000000083F23E000000000083F23E00000000000010000000000000010000000400000000003F000000000000007F000000000000007F00000000006C834500000000006C834500000000000010000000000000010000000600000000908400000000000090C400000000000090C4000000000060EC0400000000005809070000000000001000000000000051E574640600000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000080150465002A000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000100000006000000000000000010400000000000001000000000000083E23E00000000000000000000000000100000000000000000000000000000004100000001000000020000000000000000007F000000000000003F0000000000C0271B0000000000000000000000000020000000000000000000000000000000720000000300000000000000000000000000000000000000C0275A00000000007C000000000000000000000000000000010000000000000000000000000000004900000001000000020000000000000040289A000000000040285A0000000000D83600000000000000000000000000002000000000000000000000000000000053000000010000000200000000000000185F9A0000000000185F5A0000000000380D0000000000000000000000000000080000000000000000000000000000005D000000010000000200000000000000506C9A0000000000506C5A0000000000000000000000000000000000000000000100000000000000000000000000000067000000010000000200000000000000606C9A0000000000606C5A00000000000C172A0000000000000000000000000020000000000000000000000000000000070000000100000003000000000000000090C400000000000090840000000000004B0300000000000000000000000000200000000000000000000000000000001200000001000000030000000000000000DBC7000000000000DB87000000000050A101000000000000000000000000002000000000000000000000000000000018000000080000000300000000000000607CC90000000000607C890000000000D0E80100000000000000000000000000200000000000000000000000000000001D0000000800000003000000000000004065CB000000000040658B00000000001834000000000000000000000000000020000000000000000000000000000000270000000700000002000000000000009C0F4000000000009C0F00000000000064000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } condition: uint16( 0 ) == 0x457f and filesize < 26000KB and all of them } rule TRELLIX_ARC_MALW_Emotet : FINANCIAL FILE { meta: description = "Rule to detect unpacked Emotet" author = "Marc Rivero | McAfee ATR Team" id = "5bc83065-dfdd-56b7-9983-200bff35c8b1" date = "2020-07-21" modified = "2020-08-14" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_emotet.yar#L1-L32" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "a6621c093047446e0e8ae104769af93a5a8ed147ab8865afaafbbd22adbd052d" logic_hash = "223e4453a6c3b56b0bc0f91147fa55ea59582d64b8a5c08f1f8d06026044065e" score = 75 quality = 70 tags = "FINANCIAL, FILE" rule_version = "v1" malware_type = "financial" malware_family = "Backdoor:W32/Emotet" actor_type = "Cybercrime" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern_0 = { 8b45fc 8be5 5d c3 55 8bec } $pattern_1 = { 3c39 7e13 3c61 7c04 3c7a 7e0b 3c41 } $pattern_2 = { 7c04 3c39 7e13 3c61 7c04 3c7a 7e0b } $pattern_3 = { 5f 8bc6 5e 5b 8be5 } $pattern_4 = { 5f 668906 5e 5b } $pattern_5 = { 3c30 7c04 3c39 7e13 3c61 7c04 } $pattern_6 = { 53 56 57 8bfa 8bf1 } $pattern_7 = { 3c39 7e13 3c61 7c04 3c7a 7e0b } $pattern_8 = { 55 8bec 83ec14 53 } $pattern_9 = { 5e 8be5 5d c3 55 8bec } condition: 7 of them and filesize < 180224 } rule TRELLIX_ARC_Malw_Eicar : EICAR { meta: description = "Rule to detect the EICAR pattern" author = "Marc Rivero | McAfee ATR Team" id = "16307b03-7fab-5d68-ad3b-0efcea952fcf" date = "2026-10-01" modified = "2020-08-14" reference = "https://www.eicar.org/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_Eicar.yar#L1-L22" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f" logic_hash = "564b0592f40582fe71e2dab0c0f25c168462f9297c13e7c9f06ac51b492e4533" score = 75 quality = 70 tags = "EICAR" malware_type = "eicar" malware_family = "W32/Eicar" actor_type = "Unknown" actor_group = "Unknown" strings: $s1 = "X5O!P%@AP[4\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" fullword ascii condition: any of them } rule TRELLIX_ARC_Cyaxsharp_Rezer0 : LOADER { meta: description = "Detects CyaX-Sharp/ReZer0 loader samples based on the embedded scheduled task template" author = "Max 'Libra' Kersten for McAfee's Advanced Threat Research Team" id = "7a1addcf-4e8f-5290-8788-9b0738128160" date = "2021-04-08" modified = "2021-08-04" reference = "This rule was published in combination with the following McAfee ATR blog: https://www.mcafee.com/blogs/enterprise/mcafee-enterprise-atr/see-ya-sharp-a-loaders-tale/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MAL_cyax_sharp_loader.yar#L1-L16" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "3d6daaf7a85a9b3898e4ce5d5293b09f26965f9f7280b34ba8f6814b7f14dec2" score = 75 quality = 70 tags = "LOADER" version = "1.0" malware_type = "loader" strings: $template = { 01A10C3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D3136223F3E0D0A3C5461736B2076657273696F6E3D22312E322220786D6C6E733D22687474703A2F2F736368656D61732E6D6963726F736F66742E636F6D2F77696E646F77732F323030342F30322F6D69742F7461736B223E0D0A20203C526567697374726174696F6E496E666F3E0D0A202020203C446174653E323031342D31302D32355431343A32373A34342E383932393032373C2F446174653E0D0A202020203C417574686F723E5B5553455249445D3C2F417574686F723E0D0A20203C2F526567697374726174696F6E496E666F3E0D0A20203C54726967676572733E0D0A202020203C4C6F676F6E547269676765723E0D0A2020202020203C456E61626C65643E747275653C2F456E61626C65643E0D0A2020202020203C5573657249643E5B5553455249445D3C2F5573657249643E0D0A202020203C2F4C6F676F6E547269676765723E0D0A202020203C526567697374726174696F6E547269676765723E0D0A2020202020203C456E61626C65643E66616C73653C2F456E61626C65643E0D0A202020203C2F526567697374726174696F6E547269676765723E0D0A20203C2F54726967676572733E0D0A20203C5072696E636970616C733E0D0A202020203C5072696E636970616C2069643D22417574686F72223E0D0A2020202020203C5573657249643E5B5553455249445D3C2F5573657249643E0D0A2020202020203C4C6F676F6E547970653E496E746572616374697665546F6B656E3C2F4C6F676F6E547970653E0D0A2020202020203C52756E4C6576656C3E4C6561737450726976696C6567653C2F52756E4C6576656C3E0D0A202020203C2F5072696E636970616C3E0D0A20203C2F5072696E636970616C733E0D0A20203C53657474696E67733E0D0A202020203C4D756C7469706C65496E7374616E636573506F6C6963793E53746F704578697374696E673C2F4D756C7469706C65496E7374616E636573506F6C6963793E0D0A202020203C446973616C6C6F77537461727449664F6E4261747465726965733E66616C73653C2F446973616C6C6F77537461727449664F6E4261747465726965733E0D0A202020203C53746F704966476F696E674F6E4261747465726965733E747275653C2F53746F704966476F696E674F6E4261747465726965733E0D0A202020203C416C6C6F77486172645465726D696E6174653E66616C73653C2F416C6C6F77486172645465726D696E6174653E0D0A202020203C53746172745768656E417661696C61626C653E747275653C2F53746172745768656E417661696C61626C653E0D0A202020203C52756E4F6E6C7949664E6574776F726B417661696C61626C653E66616C73653C2F52756E4F6E6C7949664E6574776F726B417661696C61626C653E0D0A202020203C49646C6553657474696E67733E0D0A2020202020203C53746F704F6E49646C65456E643E747275653C2F53746F704F6E49646C65456E643E0D0A2020202020203C526573746172744F6E49646C653E66616C73653C2F526573746172744F6E49646C653E0D0A202020203C2F49646C6553657474696E67733E0D0A202020203C416C6C6F7753746172744F6E44656D616E643E747275653C2F416C6C6F7753746172744F6E44656D616E643E0D0A202020203C456E61626C65643E747275653C2F456E61626C65643E0D0A202020203C48696464656E3E66616C73653C2F48696464656E3E0D0A202020203C52756E4F6E6C79496649646C653E66616C73653C2F52756E4F6E6C79496649646C653E0D0A202020203C57616B65546F52756E3E66616C73653C2F57616B65546F52756E3E0D0A202020203C457865637574696F6E54696D654C696D69743E505430533C2F457865637574696F6E54696D654C696D69743E0D0A202020203C5072696F726974793E373C2F5072696F726974793E0D0A20203C2F53657474696E67733E0D0A20203C416374696F6E7320436F6E746578743D22417574686F72223E0D0A202020203C457865633E0D0A2020202020203C436F6D6D616E643E5B4C4F434154494F4E5D3C2F436F6D6D616E643E0D0A202020203C2F457865633E0D0A20203C2F416374696F6E733E0D0A3C2F5461736B3E } condition: $template } rule TRELLIX_ARC_MALW_Cobaltrike : BACKDOOR FILE { meta: description = "Rule to detect CobaltStrike beacon" author = "Felix Bilstein - yara-signator at cocacoding dot com" id = "a7dae4c7-672e-58fb-8542-90fa90d991a4" date = "2020-07-19" modified = "2021-08-30" reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cobalt_strike" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_cobaltstrike.yar#L1-L38" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "f47a627880bfa4a117fec8be74ab206690e5eb0e9050331292e032cd22883f5b" logic_hash = "fc91d40c6544c7ab7c60b3cb8fc542bd4a6fac79dbe00cad8f612854f2a6dcd1" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/CobaltStrike" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern_0 = { e9???????? eb0a b801000000 e9???????? } $pattern_1 = { 3bc7 750d ff15???????? 3d33270000 } $pattern_2 = { 8bd0 e8???????? 85c0 7e0e } $pattern_3 = { 50 8d8d24efffff 51 e8???????? } $pattern_4 = { 03b5d4eeffff 89b5c8eeffff 3bf7 72bd 3bf7 } $pattern_5 = { 8b450c 8945f4 8d45f4 50 } $pattern_6 = { 33c5 8945fc 8b4508 53 56 ff750c 33db } $pattern_7 = { e8???????? e9???????? 833d????????01 7505 e8???????? } $pattern_8 = { 53 53 8d85f4faffff 50 } $pattern_9 = { 68???????? 53 50 e8???????? 83c424 } $pattern_10 = { 488b4c2420 8b0401 8b4c2408 33c8 8bc1 89442408 } $pattern_11 = { 488d4d97 e8???????? 4c8d9c24d0000000 418bc7 498b5b20 498b7328 498b7b30 } $pattern_12 = { bd08000000 85d2 7459 ffcf 4d85ed } $pattern_13 = { 4183c9ff 33d2 ff15???????? 4c63c0 4983f8ff } $pattern_14 = { 49c1e002 e8???????? 03f3 4d8d349e 3bf5 7d13 } $pattern_15 = { 752c 4c8d45af 488d55af 488d4d27 } condition: 7 of them and filesize < 696320 } rule TRELLIX_ARC_Rtf_Bluetea_Builder : MALDOC FILE { meta: description = "Rule to detect the RTF files created to distribute BlueTea trojan" author = "Marc Rivero | McAfee ATR Team" id = "20e4f7b2-b36c-5724-a3aa-4216ed6265ab" date = "2020-04-21" modified = "2020-08-14" reference = "https://blog.360totalsecurity.com/en/bluetea-action-drive-the-life-trojan-update-email-worm-module-and-spread-through-covid-19-outbreak/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALDOC_rtf_bluetea_builder.yar#L1-L30" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "4a3eeaed22342967a95302a4f087b25f50d61314facc6791f756dcd113d4f277" logic_hash = "6c4007fb7ef4819141db63050215dcbb3d2c17e7cdcdbb6cfb4f4b045bb5736b" score = 75 quality = 70 tags = "MALDOC, FILE" rule_version = "v1" malware_type = "maldoc" malware_family = "Maldoc:W32/BlueTea" actor_type = "Cybercrime" actor_group = "Unknown" strings: $sequence = { 7B??72??6631??????65666C616E6731??32??????????69??????????????67????36??75??32??????656666????35????????656666????????73??666462????33??35????????74??68????????68????????36??73??73??66??????68????????36??73??73??6662????5C646566??616E6731??33??5C646566??616E67666532??35????????656D656C616E6731??33??5C74??656D656C616E67666532??35????????656D656C616E6763????7B??666F6E74??62??????6630??????69??????????????6D616E5C6663????72??6574??5C6670??71??7B??2A??????6E6F73??20??32??32??3630??30??????????30??30??30????????????73??4E6577??526F6D616E3B????0A????6631??5C6662????69??????????6C5C6663????72??6574??33????6670??71??7B??2A??????6E6F73??20??32??31??3630??30??30??30??30??30??30??7D??2763????2763????2763????276535????????66616C74??5369????????????7D??5C6633????6662????69??????????6D616E5C6663????72??6574??5C6670??71??7B??2A??????6E6F73??20??32??34??35????????30????3630??30??30????????????72??6120????74??3B????0A????6633??5C6662????69??????????69????????????6172??6574??5C6670??71??7B??2A??????6E6F73??20??32??6630??????????30??30????33??32??34??43616C69????????????5C6633??5C6662????69??????????6C5C6663????72??6574??33????6670??71??7B??2A??????6E6F73??20??32??31??3630??30??30??30??30??30??30??7D??5C2763????2763????2763????276535????????7B??666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??5C6670??71??7B??2A??????6E6F73??20??32??32??3630??30??????????30??30??30????????????73??4E6577??526F6D616E3B????5C666462????6A??72??6633??35????????62????69??????????6C5C6663????72??6574??33????6670??71??7B??2A??????6E6F73??20??32??31??3630??30??30??30??30??30??30??7D??2763????2763????2763????276535????????66616C74??5369????????????7D??0A????66??????616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??5C6670??71??7B??2A??????6E6F73??20??32??34??35????????30????3630??30??30????????????72??613B????5C6662????616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??5C6670??71??7B??2A??????6E6F73??20??32??32??3630??30??????????30??30??30????????????73??4E6577??526F6D616E3B????0A????666C6F6D69????????????31??????????62????69??????????6D616E5C6663????72??6574??5C6670??71??7B??2A??????6E6F73??20??32??32??3630??30??????????30??30??30????????????73??4E6577??526F6D616E3B????5C666462????6E6F72??6633??35????????62????69??????????6C5C6663????72??6574??33????6670??71??7B??2A??????6E6F73??20??32??31??3630??30??30??30??30??30??30??7D??2763????2763????2763????276535????????66616C74??5369????????????7D??0A????66??????69????????????31??????????62????69??????????69????????????6172??6574??5C6670??71??7B??2A??????6E6F73??20??32??6630??????????30??30????33??32??34??43616C69????????????5C6662????69????????????31??????????62????69??????????6D616E5C6663????72??6574??5C6670??71??7B??2A??????6E6F73??20??32??32??3630??30??????????30??30??30????????????73??4E6577??526F6D616E3B????5C6634??5C6662????69??????????6D616E5C6663????72??6574??33??5C6670??71??20??????6573??4E6577??526F6D616E20????3B????0A????6634??5C6662????69??????????6D616E5C6663????72??6574??30????6670??71??20??????6573??4E6577??526F6D616E20????72??7D??5C6634??5C6662????69??????????6D616E5C6663????72??6574??3631??????72??32??5469????????????77??526F6D616E20????6565??????7B??6634??5C6662????69??????????6D616E5C6663????72??6574??3632??????72??32??5469????????????77??526F6D616E20??????3B????5C6634??5C6662????69??????????6D616E5C6663????72??6574??37375C6670??71??20??????6573??4E6577??526F6D616E20??486562????77??3B????0A????6634??5C6662????69??????????6D616E5C6663????72??6574??3738??????72??32??5469????????????77??526F6D616E20??4172??62????29??7D??5C6634??5C6662????69??????????6D616E5C6663????72??6574??38??5C6670??71??20??????6573??4E6577??526F6D616E20????6C74??63??7D??5C6634??5C6662????69??????????6D616E5C6663????72??6574??3633??????72??32??5469????????????77??526F6D616E20??5669????????????73??29??7D??0A????6631??32??????69??????????????6C5C6663????72??6574??5C6670??71??20????6D5375??20????73??6572??7B??2A??????6C74??5369????????????7D??5C6633??30??????69??????????????6D616E5C6663????72??6574??33??5C6670??71??20????6D62????6120????74??20????3B????5C6633??31??????69??????????????6D616E5C6663????72??6574??30????6670??71??20????6D62????6120????74??20????72??7D??5C6633??33??????69??????????????6D616E5C6663????72??6574??3631??????72??32??43616D62????6120????74??20????6565??????0D????????33??34??6662????69??????????6D616E5C6663????72??6574??3632??????72??32??43616D62????6120????74??20??????3B????5C6633??375C6662????69??????????6D616E5C6663????72??6574??38??5C6670??71??20????6D62????6120????74??20????6C74??63??7D??5C6633??38??????69??????????????6D616E5C6663????72??6574??3633??????72??32??43616D62????6120????74??20??5669????????????73??29??7D??5C6634??30??????69??????????????69????????????6172??6574??33??5C6670??71??20????6C69????????????3B????0A????6634??31??????69??????????????69????????????6172??6574??30????6670??71??20????6C69????????????72??7D??5C6634??33??????69??????????????69????????????6172??6574??3631??????72??32??43616C69????????????6565??????7B??6634??34??6662????69??????????69????????????6172??6574??3632??????72??32??43616C69????????????72??7D??5C6634??375C6662????69??????????69????????????6172??6574??38??5C6670??71??20????6C69????????????6C74??63??7D??0A????6634??38??????69??????????????69????????????6172??6574??3633??????72??32??43616C69????????????69????????????73??29??7D??5C6634??32??????69??????????????6C5C6663????72??6574??5C6670??71??20????2763????2763????2763????276535????????74??72??3B????5C666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??33??5C6670??71??20??????6573??4E6577??526F6D616E20????3B????0A????666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??30????6670??71??20??????6573??4E6577??526F6D616E20????72??7D??5C666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??3631??????72??32??5469????????????77??526F6D616E20????6565??????7B??666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??3632??????72??32??5469????????????77??526F6D616E20??????3B????0A????666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??37375C6670??71??20??????6573??4E6577??526F6D616E20??486562????77??3B????5C666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??3738??????72??32??5469????????????77??526F6D616E20??4172??62????29??7D??5C666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??38??5C6670??71??20??????6573??4E6577??526F6D616E20????6C74??63??7D??0A????666C6F6D616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??3633??????72??32??5469????????????77??526F6D616E20??5669????????????73??29??7D??5C666462????6A??72??6633??35????????62????69??????????6C5C6663????72??6574??5C6670??71??20????6D5375??20????73??6572??7B??2A??????6C74??5369????????????7D??5C66??????616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??33??5C6670??71??20????6D62????6120????3B????0A????66??????616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??30????6670??71??20????6D62????6120????72??7D??5C66??????616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??3631??????72??32??43616D62????6120????6565??????7B??66??????616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??3632??????72??32??43616D62????6120??????3B????0A????66??????616A??72??6633??35????????62????69??????????6D616E5C6663????72??6574??38??5C6670??71??20????6D62????6120????6C74??63??7D??5C66??????616A?? } condition: uint16( 0 ) == 0x5c7b and filesize < 100KB and all of them } rule TRELLIX_ARC_Nionspy : FILEINFECTOR FILE { meta: description = "Triggers on old and new variants of W32/NionSpy file infector" author = "Trellix ARC Team" id = "86051ef8-a18b-553c-b06c-490f8d6df5cf" date = "2026-10-01" modified = "2020-08-14" reference = "https://blogs.mcafee.com/mcafee-labs/taking-a-close-look-at-data-stealing-nionspy-file-infector" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_NionSpy.yar#L1-L25" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "982ba52f39352aee9e2d2dcadfb0816c439e92d0e5947afa7860630720913742" score = 75 quality = 70 tags = "FILEINFECTOR, FILE" malware_type = "fileinfector" malware_family = "FileInfector:W32/NionSpy" actor_type = "Cybercrime" actor_group = "Unknown" strings: $variant2015_infmarker = "aCfG92KXpcSo4Y94BnUrFmnNk27EhW6CqP5EnT" $variant2013_infmarker = "ad6af8bd5835d19cc7fdc4c62fdf02a1" $variant2013_string = "%s?cstorage=shell&comp=%s" condition: uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and 1 of ( $variant* ) } rule TRELLIX_ARC_MALW_Liquorbot : MALWARE FILE { meta: description = "Rule to detect LiquorBot malware" author = "Marc Rivero | McAfee ATR Team" id = "73898df8-b5eb-50ac-a2fe-ef9233c251c5" date = "2020-08-19" modified = "2020-08-19" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_liquorbot.yar#L1-L23" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "5b2a9cbda99ed903f75c3b37f0a6b1b9f6c39671a76ed652f3ddba117fd43bc9" logic_hash = "2448e3ede809331b2370fe9d42d603ad6508be6531a1a8764e0e0621867b6e89" score = 75 quality = 70 tags = "MALWARE, FILE" rule_version = "v1" malware_type = "malware" malware_family = "Botnet:W32/LiquorBot" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern = { 7F454C4602010100000000000000000002003E0001000000605A4600000000004000000000000000700200000000000000000000400038000A0040001B00090006000000040000004000000000000000400040000000000040004000000000003002000000000000300200000000000000100000000000000300000004000000E00F000000000000E00F400000000000E00F40000000000020000000000000002000000000000000010000000000000004000000040000007C0F0000000000007C0F4000000000007C0F400000000000640000000000000064000000000000000400000000000000010000000500000000000000000000000000400000000000000040000000000040FB29000000000040FB2900000000000010000000000000010000000400000000002A000000000000006A000000000000006A0000000000E4492C0000000000E4492C000000000000100000000000000100000006000000005056000000000000509600000000000050960000000000E014040000000000681307000000000000100000000000000200000006000000405156000000000040519600000000004051960000000000300100000000000030010000000000000800000000000000070000000400000000000000000000000000000000000000000000000000000000000000000000000800000000000000080000000000000051E574640600000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000080150465002A00000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000010000000600000000000000001040000000000000100000000000001FE9290000000000000000000000000010000000000000000000000000000000F000000001000000060000000000000020F969000000000020F929000000000020020000000000000000000000000000100000000000000010000000000000007000000001000000020000000000000000006A000000000000002A0000000000A678110000000000000000000000000020000000000000000000000000000000E0000000040000000200000000000000A8787B0000000000A8783B000000000018000000000000000B0000000000000008000000000000001800000000000000E6000000040000000200000000000000C0787B0000000000C0783B000000000018030000000000000B0000000200000008000000000000001800000000000000F5000000FF } condition: uint16( 0 ) == 0x457f and all of them } rule TRELLIX_ARC_Rietspoof_Loader : RANSOMWARE FILE { meta: description = "Rule to detect the Rietspoof loader" author = "Marc Rivero | McAfee ATR Team" id = "f306e381-e2ae-528e-937b-aced72356d77" date = "2026-10-01" modified = "2020-08-14" reference = "https://blog.avast.com/rietspoof-malware-increases-activity" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_rietspoof_loader.yar#L1-L22" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "d72b58ff452070e03d0b25bc433ef5c677df77dd440adc1ecdb592cee24235fb" score = 75 quality = 70 tags = "RANSOMWARE, FILE" malware_type = "ransomware" malware_family = "Loader:W32/Rietspoof" actor_type = "Cybercrime" actor_group = "Unknown" strings: $x1 = "\\Work\\d2Od7s43\\techloader\\loader" fullword ascii condition: uint16( 0 ) == 0x5a4d and all of them } rule TRELLIX_ARC_Trojan_Coinminer : FILE { meta: description = "Rule to detect Coinminer malware" author = "Trellix ATR" id = "ec1f4fb7-bce3-5d5b-bbff-50f9bfc90298" date = "2021-07-22" modified = "2022-01-19" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/miners/Trojan_CoinMiner.yar#L3-L23" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "3bdac08131ba5138bcb5abaf781d6dc7421272ce926bc37fa27ca3eeddcec3c2" hash = "d60766c4e6e77de0818e59f687810f54a4e08505561a6bcc93c4180adb0f67e7" logic_hash = "0d9d502eb0a54f90044f42f8ce485a2df6814064172cb7bf006a8c8a51976acd" score = 75 quality = 70 tags = "FILE" version = "v1" strings: $seq0 = { df 75 ab 7b 80 bf 83 c1 48 b3 18 74 70 01 24 5c } $seq1 = { 08 37 4e 6e 0f 50 0b 11 d0 98 0f a8 b8 27 47 4e } $seq2 = { bf 17 5a 08 09 ab 80 2f a1 b0 b1 da 47 9f e1 61 } $seq3 = { 53 36 34 b2 94 01 cc 05 8c 36 aa 8a 07 ff 06 1f } $seq4 = { 25 30 ae c4 44 d1 97 82 a5 06 05 63 07 02 28 3a } $seq5 = { 01 69 8e 1c 39 7b 11 56 38 0f 43 c8 5f a8 62 d0 } condition: ( uint16( 0 ) == 0x5a4d and filesize < 5000KB and pe.imphash ( ) == "e4290fa6afc89d56616f34ebbd0b1f2c" and 3 of ( $seq* ) ) } rule TRELLIX_ARC_Ransom_Egregor : RANSOMWARE FILE { meta: description = "Detect Egregor ransomware" author = "Thomas Roccia |Â McAfee ATR team" id = "b9f1a712-c168-5e0f-8b9e-cb03a6c43fc3" date = "2020-10-28" modified = "2020-10-28" reference = "https://bazaar.abuse.ch/sample/004a2dc3ec7b98fa7fe6ae9c23a8b051ec30bcfcd2bc387c440c07ff5180fe9a/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_egregor.yar#L4-L31" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "5f9fcbdf7ad86583eb2bbcaa5741d88a" logic_hash = "8077c656eed0b1633da54f8d017d4eff122f2f4e486c4e1af6f6434ea33c0675" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom/Egregor" actor_type = "Cybercrime" actor_group = "egregor" strings: $p1 = "ewdk.pdb" fullword ascii $p2 = "testbuild.pdb" fullword ascii $s1 = "M:\\" nocase ascii $s2 = "1z1M9U9" fullword wide $s3 = "C:\\Logmein\\{888-8888-9999}\\Logmein.log" fullword wide condition: uint16( 0 ) == 0x5a4d and filesize < 2000KB and hash.sha256 ( pe.rich_signature.clear_data ) == "b030ed1a7ca222a0923a59f321be7e55b8d0fc24c1134df1ba775bcf0994c79c" or ( pe.sections [ 4 ] . name == ".gfids" and pe.sections [ 5 ] . name == ".00cfg" ) and ( any of ( $p* ) or 2 of ( $s* ) ) } rule TRELLIX_ARC_Ransom_Win_Blackcat : RANSOMWARE FILE { meta: description = "Detecting variants of Windows BlackCat malware" author = " Trellix ATR" id = "65483ffb-6b10-5fd5-8a5f-fc885a5f2e98" date = "2022-01-06" modified = "2022-01-19" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/Ransom_Win_BlackCat_public.yar#L2-L24" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "8faad28ab26690221f6e2130c886446615dbd505f76490cfaf999d130d0de6e3" score = 75 quality = 70 tags = "RANSOMWARE, FILE" malware_type = "Ransomware" detection_name = "Ransom_Win_BlackCat" actor_group = "Unknown" strings: $URL1 = "zujgzbu5y64xbmvc42addp4lxkoosb4tslf5mehnh7pvqjpwxn5gokyd.onion" ascii wide $URL2 = "mu75ltv3lxd24dbyu6gtvmnwybecigs5auki7fces437xvvflzva2nqd.onion" ascii wide $API = { 3a 7c d8 3f } condition: uint16( 0 ) == 0x5a4d and filesize < 3500KB and 1 of ( $URL* ) and $API } rule TRELLIX_ARC_RANSOM_Makop : RANSOMWARE FILE { meta: description = "Rule to detect the unpacked Makop ransomware samples" author = "Marc Rivero | McAfee ATR Team" id = "2828f2f9-4702-5cef-8b4e-7e98146c0332" date = "2020-07-19" modified = "2020-08-14" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_makop.yar#L1-L32" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "008e4c327875110b96deef1dd8ef65cefa201fef60ca1cbb9ab51b5304e66fe1" logic_hash = "2b4f8b90d46530421b66dbb04df6e84d268709fbee884536d8acc91e1b85f8a4" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/Makop" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern_0 = { 50 8d7c2420 e8???????? 84c0 0f84a6020000 8b742460 ba???????? } $pattern_1 = { 51 52 53 ffd5 85c0 746d 8b4c240c } $pattern_2 = { 7521 68000000f0 6a18 6a00 6a00 56 ff15???????? } $pattern_3 = { 83c40c 8d4e0c 51 66c7060802 66c746041066 c6460820 } $pattern_4 = { 51 ffd3 50 ffd7 8b4628 85c0 } $pattern_5 = { 85c9 741e 8b4508 8b4d0c 8a11 } $pattern_6 = { 83c002 6685c9 75f5 2bc6 d1f8 66390c46 8d3446 } $pattern_7 = { 895a2c 8b7f04 85ff 0f85f7feffff 55 6a00 } $pattern_8 = { 8b3d???????? 6a01 6a00 ffd7 50 ff15???????? } $pattern_9 = { 85c0 7407 50 ff15???????? } condition: 7 of them and filesize < 237568 } rule TRELLIX_ARC_Nefilim_Ransomware : RANSOMWARE FILE { meta: description = "Rule to detect Nefilim ransomware" author = "Marc Rivero | McAfee ATR Team" id = "55d9cb20-5071-5dce-a46f-a20816ba379f" date = "2020-03-17" modified = "2020-04-03" reference = "https://www.bleepingcomputer.com/news/security/new-nefilim-ransomware-threatens-to-release-victims-data/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_NEFILIM.yar#L3-L48" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "5ab834f599c6ad35fcd0a168d93c52c399c6de7d1c20f33e25cb1fdb25aec9c6" logic_hash = "d8cd5d2dd552d3e9f57f7bd244e941fe89a96ab16bbcc71911e8e2a519f53f03" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/Nefilim" actor_type = "Cybercrime" actor_group = "Unknown" strings: $s1 = "C:\\Users\\Administrator\\Desktop\\New folder\\Release\\NEFILIM.pdb" fullword ascii $s2 = "oh how i did it??? bypass sofos hah" fullword ascii $s3 = " /c timeout /t 3 /nobreak && del \"" fullword wide $s4 = "NEFILIM-DECRYPT.txt" fullword wide $op0 = { db ff ff ff 55 8b ec 83 ec 24 53 56 57 89 55 f4 } $op1 = { 60 be 00 d0 40 00 8d be 00 40 ff ff 57 eb 0b 90 } $op2 = { 84 e0 40 00 90 d1 40 00 08 } $bp = { 558B??83????53565789????29????6A??8D????8D????5A8B??89????8A????88????8B????8A????88??8A????88????8A??88????03??03??FF????75??89????8D????8D????8D????89????89????29????89????29????89????29????8D????8D????89????29????89????29????8B????89????29????8D????F6??????8B????8A????8B????8A????8A??88????8B????8A????88????75??0FB6??8A??????????0FB6??88????8A??????????0FB6????8A??????????88????0FB6????8A??????????88????8B????C1????32??????????8B????8A????32??8B????88????8A????32??88????8A??32????83????88????8B????8A????32????FF????88??83????83????83??????0F82????????5F5E5BC9C3558B??560FB6??57C1????03????6A??5F6A??5E8A??30??40414E75??4F75??5F5E5DC356576A??5F6A??8B??5E0FB6??8A??????????88??83????4E75??414F75??5F5EC38A????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????88????C3558B??5153566A??83????5E8A????32??8A????8A????88????32??32??88????88????32??8A??C0????B3??F6??02??32??32????8A????32????32??88????8A??C0????F6??02??32??32????8A????32????88????8A??C0????F6??02??32??32??8A????32????32????88??8A??C0????F6??02??32??32????83????32????4E88????75??5E5BC9C3558B??53FF????8B??32??E8????????59B3??8B??E8????????8B??E8????????8B??E8????????FF????8B??8A??E8????????FE??5980????72??8B??E8????????8B??E8????????5B8B??B0??5DE9????????558B??81??????????53568D??????????E8????????33??6A??5939????76??5783????75??8B????8D????A5A5A58D??????????A5508D????E8????????596A??588B????8D????80????75??48C6????79??EB??FE????33??8A??????8B????30????43413B????72??5F8B????8B????6A??2B??5E8A????88??404E75??5E5BC9C3558B??81??????????53FF????8D??????????50FF??????????68????????8D??????????50FF??????????33??53536A??535368????????8D??????????50FF??????????89????3B??0F84????????56578D????5053BE????????5689????FF??????????5056E8????????83????85??75??53FF??????????FF????8B??????????53FF??50FF??????????8D????51505689????FF??????????5056E8????????83????85??74??8B????89????8D????50FF????E8????????59595385??74??8D????50FF????FF????FF????FF??????????FF????53FF??50FF??????????5F5E5BC9C3558B??83????81??????????535657FF????8D????????????50FF??????????8B??????????68????????8D????????????50FF??8D??????508D????????????50FF??????????89??????83????0F84????????8B??????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????68????????8D??????50FF??85??0F84????????F6????????FF????8D????????????5074??FF??????????8D??????508D????????????50FF??68????????8D????????????50FF??8D????????????50E8????????E9????????FF??????????8D??????508D????????????50FF??8D??????50E8????????8B??C7????????????57FF??85??0F84????????68????????57FF??85??0F84????????68????????57FF??85??0F84????????68????????57FF??85??0F84????????68????????57FF??85??0F84????????68????????57FF??85??0F84????????68????????57FF??85??0F84????????68????????57FF??85??74??68????????57FF??85??74??68????????57FF??85??74??68????????57FF??85??74??68????????57FF??85??74??68????????57FF??85??74??68????????57FF??85??74??68????????57FF??85??74??68????????57FF??85??74??68????????8D??????50FF??85??74??8D????????????50E8????????598D??????50FF??????FF??????????85??0F85????????FF??????FF??????????5F5E5B8B??5DC3558B??81??????????53565768????????FF??????????8B??????????5033??57FF??8B??????????50FF??68????????89????FF??????????89????B8????????39????74??8B????2B??8A??FF????88????4039????75??57576A??575768????????FF????FF??????????89????3B??0F84????????8D????5150FF??????????6A??57FF??50FF??6A??5789????FF??50FF??FF????89????E8????????FF????E8????????595968????????57FF??50FF??68????????5789????FF??50FF??FF????8B????89????E8????????FF????8B????E8????????8B??????????59595757FF????FF????FF????FF??57FF??????????578D????5068????????FF????FF????FF??????????FF??????????83????0F84????????FF??????????83????0F84????????8B????8B????5705????????5713??5150FF????FF??578D????5068????????FF????FF????FF??????????8B????8B????5705????????5713??5150FF????FF??578D????5068????????FF??????????50FF????FF????FF??????????8B????8B????3B??0F8C????????7F??81??????????0F86????????89????89????3B??0F8C????????7F??3B??0F86????????EB??8B????2B????1B????89????0F88????????7F??81??????????0F82????????68????????57FF??50FF??????????5757FF????89????FF????FF????FF??578D????5068????????FF????FF????FF??????????FF????8B????FF????68????????FF????E8????????83????5757FF????FF????FF????FF??578D????5068????????FF????FF????FF??????????FF??FF????5750FF??????????81????????????8B????11????39????0F8C????????0F8F????????8B????39????0F82????????E9????????3B??7C??7F??81??????????76??68????????57FF??50FF??????????575733??89????5133??50FF????FF??578D????5068????????FF????FF????FF??????????FF????8B????FF????68????????FF????E8????????83????575733??5050FF????FF??578D????5068????????EB??5157FF??50FF??????????575733??89????5133??50FF????FF??578D????50FF????FF????FF????FF??????????FF????8B????FF????FF????FF????E8????????83????575733??5050FF????FF??578D????50FF????FF????FF????FF??????????FF????57FF??50FF??????????FF????FF??????????FF????57FF??8B??????????50FF??FF???? } condition: uint16( 0 ) == 0x5a4d and filesize < 200KB and all of ( $s* ) or all of ( $op* ) or $bp } rule TRELLIX_ARC_Nefilim_Signed : RANSOMWARE FILE { meta: description = "Rule to detect Nefilim samples digitally signed" author = "Marc Rivero | McAfee ATR Team" id = "a9a5daf0-4cfb-556a-b20a-72283fb1a0f9" date = "2020-04-02" modified = "2020-08-14" reference = "https://www.bleepingcomputer.com/news/security/new-nefilim-ransomware-threatens-to-release-victims-data/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_NEFILIM.yar#L50-L72" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "353ee5805bc5c7a98fb5d522b15743055484dc47144535628d102a4098532cd5" logic_hash = "7625eb7de1ebb2f5410552b8983379f213d639f5e146a5d951975b69eb8111d3" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/Nefilim" actor_type = "Cybercrime" actor_group = "Unknown" condition: uint16( 0 ) == 0x5a4d and for any i in ( 0 .. pe.number_of_signatures ) : ( pe.signatures [ i ] . subject contains "Red GmbH/CN=Red GmbH" and pe.signatures [ i ] . serial == "00:b8:81:a7:2d:41:17:bb:c3:8b:81:d3:c6:5c:79:2c:1a" or pe.signatures [ i ] . thumbprint == "5b:19:58:8b:78:74:0a:4c:5d:08:41:99:dc:0f:52:a6:1f:38:00:99" ) } rule TRELLIX_ARC_RANSOM_Nefilim_Go : RANSOMWARE FILE { meta: description = "Rule to detect the new Nefilim written in GO" author = "Marc Rivero | McAfee ATR Team" id = "a8809060-c646-5d54-88e7-c8054305ee6c" date = "2020-07-13" modified = "2020-08-14" reference = "https://www.bleepingcomputer.com/news/security/new-nefilim-ransomware-threatens-to-release-victims-data/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_NEFILIM.yar#L74-L98" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "a51fec27e478a1908fc58c96eb14f3719608ed925f1b44eb67bbcc67bd4c4099" logic_hash = "f0b10286fb1623a32bcf1f30cadce2901f7711cb36db6bbe812f6c2e03862270" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/Nefilim" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern = { FF20476F206275696C642049443A20226A744368374D37436A4A5732634C5F636633374A2F49625946794336635A64735F4D796A56633461642F486B6D36694A4D39327847785F4F2D65746744692F664E37434C43622D59716E374D795947565A686F220A20FFCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B6108766B83EC0CC744241400000000C7442418000000008B4424108400890424E88D0200008B44240485C0740789C183F8FF7514C744241400000000C74424180000000083C40CC3894C24088B44241083C004890424E8570200008B4424048B4C2408894C24148944241883C40CC3E8AE5A0400E979FFFFFFCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B61080F86EC00000083EC108B44241885C00F84C30000008B4424148400890424E8FD0100008B44240485C0742E89C183F8FF74E38B44241839C10F85800000008B44241C894424048B44241483C004890424E88B12000083C410C3E8620303008B442414890424C744240400000000C7442408FFFFFFFFE8A61200000FB644240C84C07507E868030300EB8B8B44241C894424048B4424148D4804890C24E83F1200008B442418894424048B442414890424E82B120000E83603030083C410C38D05408E4E008904248D05B8CC510089442404E8DA3F02000F0B8D05408E4E008904248D05B0CC510089442404E8C03F02000F0BE899590400E9F4FEFFFFCCCCCCCCE90B000000CCCCCCCCCCCCCCCCCCCCCC8B6C24048B4424088B4C240CF00FB14D000F94442410C3CCCCCCCCCCCCCCCCCCE9DBFFFFFFCCCCCCCCCCCCCCCCCCCCCC8B6C2404F7C50700000074068B05000000008B4424088B54240C8B5C24108B4C2414F00FC74D000F94442418C3CCCCCCE90B000000CCCCCCCCCCCCCCCCCCCCCC8B6C24048B44240889C1F00FC1450001C1894C240CC3CCCCCCCCCCCCCCCCCCCC8B6C2404F7C50700000074068B05000000008B7424088B7C240C8B45008B550489C389D101F311F9F00FC74D0075F1895C2410894C2414C3CCCCCCCCCCCCCCCC8B4424048B0089442408C3CCCCCCCCCC8B442404A90700000074068B05000000000F6F000F7F4424080F77C3CCCCCCCCE9CBFFFFFFCCCCCCCCCCCCCCCCCCCCCCE9BBFFFFFFCCCCCCCCCCCCCCCCCCCCCC8B6C24048B442408874500C3CCCCCCCCE9EBFFFFFFCCCCCCCCCCCCCCCCCCCCCC8B4424040FBCC074058944240CC38B4424080FBCC0740883C0208944240CC3C744240C40000000C3CCCCCCCCCCCCCCCC8B4424048B0089442408C3CCCCCCCCCC8B4424048B0089442408C3CCCCCCCCCC83EC208B4424248B088B54242889CB01D1894C241C8B6804890424895C2404896C2408894C240C8B5C242C11DD896C2418896C2410E8160100000FB644241484C074C08B44241C894424308B4424188944243483C420C3CCCCCCCCCCCCCCCCCC83EC208B4424248B08894C24188B50048954241C890424894C2404895424088B5C2428895C240C8B6C242C896C2410E8BC0000000FB644241484C074C68B442418894424308B44241C8944243483C420C3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC8B5C24048B4424088B4C240CF00FB10B0F94442410C3CCCCCCCCCCCCCCCCCCCCE9DBFFFFFFCCCCCCCCCCCCCCCCCCCCCCE9EBFEFFFFCCCCCCCCCCCCCCCCCCCCCCE9DBFEFFFFCCCCCCCCCCCCCCCCCCCCCCE9DB000000CCCCCCCCCCCCCCCCCCCCCCE97B000000CCCCCCCCCCCCCCCCCCCCCCE9CB000000CCCCCCCCCCCCCCCCCCCCCCE9BBFEFFFFCCCCCCCCCCCCCCCCCCCCCC8B6C2404F7C50700000074068B2D000000008B4424088B54240C8B5C24108B4C2414F00FC74D000F94442418C3CCCCCC8B5C24048B4424088B4C240CF00FB10B0F94442410C3CCCCCCCCCCCCCCCCCCCC8B5C24048B44240889C1F00FC10301C88944240CC3CCCCCCCCCCCCCCCCCCCCCC8B5C24048B44240887038944240CC3CCE9EBFFFFFFCCCCCCCCCCCCCCCCCCCCCC8B5C24048B4424088703C3CCCCCCCCCC8B5C24048B4424088703C3CCCCCCCCCC8B442404A90700000074068B05000000008D5C24080F6F000F7F030F77C3CCCC8B442404A90700000074068B05000000000F6F4424080F7F000F77B800000000F00FC10424C3CCCCCCCCCCCCCCCCCCCC8B4424048A5C2408F00818C3CCCCCCCC8B4424048A5C2408F02018C3CCCCCCCC648B0D140000008B89000000003B610876098B4424088944240CC3E860550400EBDECCCCCCCCCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B6108762B83EC108B4424148904248B44241889442404C744240801000000E8AF4400008B44240C8944241C83C410C3E80E550400EBBCCCCCCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B6108762B83EC108B4424148904248B44241889442404C744240802000000E85F4400008B44240C8944241C83C410C3E8BE540400EBBCCCCCCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B6108762B83EC108B4424148904248B44241889442404C744240810000000E80F4400008B44240C8944241C83C410C3E86E540400EBBCCCCCCCCCCCCCCCCCCCCCCCCC83EC108D42048B008B4C2414890C248B4C2418894C240489442408E8D04300008B44240C8944241C83C410C3CCCCCCCC648B0D140000008B89000000003B6108762C83EC108B4424148B088B400489442408890C248B44241889442404E88E4300008B44240C8944241C83C410C3E8ED530400EBBBCCCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B61080F86B600000083EC108B442414F30F10000F57C90F2EC175060F8B860000000F2EC075027B5B648B05140000008B80000000008B40188B88940000008B909800000089909400000089CBC1E11131D989D331CAC1E90731D189DAC1EB1031CB8998980000008D041A8B4C241831C835A98E7FAA69C0CD76BAC28944241C83C410C38904248B44241889442404C744240804000000E8C74200008B44240C8944241C83C410C38B44241835A98E7FAA69C0CD76BAC28944241C83C410C3E80F530400E92AFFFFFFCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B61080F86B800000083EC108B442414F20F10000F57C9660F2EC175060F8B87000000660F2EC075027B5B648B05140000008B80000000008B40188B88940000008B909800000089909400000089CBC1E11131D989D331CAC1E90731D189DAC1EB1031CB8998980000008D041A8B4C241831C835A98E7FAA69C0CD76BAC28944241C83C410C38904248B44241889442404C744240808000000E8E54100008B44240C8944241C83C410C38B44241835A98E7FAA69C0CD76BAC28944241C83C410C3E82D520400E928FFFFFFCCCCCCCCCCCCCCCC648B0D140000008B89000000003B6108763C83EC0C8B44241084008904248B4C2414894C2404E815FEFFFF8B44241083C0048B4C2408890424894C2404E8FEFDFFFF8B4424088944241883C40CC3E8CD510400EBABCCCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B6108763C83EC0C8B44241084008904248B4C2414894C2404E895FEFFFF8B44241083C0088B4C2408890424894C2404E87EFEFFFF8B4424088944241883C40CC3E86D510400EBABCCCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B61080F86F200000083EC248B4424288B0885C974678B49048B59108B1385D274670FB6490FF6C120742983C0048904248B44242C35A98E7FAA894424048B02FFD08B44240869C0CD76BAC28944243083C424C38B40048904248B44242C35A98E7FAA894424048B02FFD08B44240869C0CD76BAC28944243083C424C38B44242C8944243083C424C3890C24E8B2FA03008B4424088B4C2404C70424000000008D15A279500089542404C744240818000000894C240C89442410E8F46603008B4424188B4C2414894C241C894424208D05C0D24E008904248D44241C89442404E81E8E00008B44240C8B4C2408890C2489442404E87A3602000F0BE853500400E9EEFEFFFFCCCCCCCCCCCCCCCCCCCCCCCCCCCC648B0D140000008B89000000003B61080F86EF00000083EC248B4424288B0885C974648B59108B1385D274670FB6490FF6C120742983C0048904248B44242C35A98E7FAA894424048B02FFD08B44240869C0CD76BAC28944243083C424C38B40048904248B44242C35A98E7FAA894424048B02FFD08B44240869C0CD76BAC28944243083C424C38B44242C8944243083C424C3890C24E895F903008B4424088B4C2404C70424000000008D15A279500089542404C744240818000000894C240C89442410E8D76503008B4424188B4C2414894C241C894424208D05C0D24E008904248D44241C89442404E8018D00008B44240C8B4C2408890C2489442404E85D3502000F0BE8364F0400E9F1FEFFFFCC648B0D140000008B89000000003B61087606C644240C01C3 } condition: uint16( 0 ) == 0x5a4d and filesize < 8000KB and all of them } rule TRELLIX_ARC_Snake_Ransomware : RANSOMWARE FILE { meta: description = "Rule to detect Snake ransomware" author = "McAfee ATR Team" id = "b8f50af5-5568-5676-93a1-e818f08df0ce" date = "2020-02-20" modified = "2020-10-12" reference = "https://dragos.com/blog/industry-news/ekans-ransomware-and-ics-operations/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_snake_ransomware.yar#L1-L26" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "e5262db186c97bbe533f0a674b08ecdafa3798ea7bc17c705df526419c168b60" logic_hash = "3ae64fbacbf886b8d09abc3f5f8eb9c8bff809909a251f2d055056e6d12217a2" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/EKANS" actor_type = "Cybercrime" actor_group = "Unknown" strings: $snake = { 43 3A 2F 55 73 ?? 72 ?? 2F 57 49 4E 31 2F 67 6F 2F 73 ?? 63 2F 6A 6F 62 6E 68 62 67 6E 6E 69 66 70 6F 64 68 68 70 ?? 6D 66 2F 6E 66 64 6C 68 6F 70 68 6B 65 69 6A 61 64 67 66 64 64 69 6D 2F 6E 66 64 6C 68 6F 70 68 6B 65 69 6A 61 64 67 66 64 64 69 6D 2F 76 74 5F 73 74 ?? 69 6E 67 2E 67 6F 00 } condition: ( uint16( 0 ) == 0x5a4d and filesize < 11000KB ) and all of them } rule TRELLIX_ARC_Ransom_Linux_Hellokitty_0721 : RANSOMWARE FILE { meta: description = "rule to detect Linux variant of the Hello Kitty Ransomware" author = "Christiaan @ ATR" id = "097b02e7-93d8-5d4f-9964-7b660b3cd7b9" date = "2021-07-19" modified = "2021-07-19" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Linux_HelloKitty0721.yar#L1-L28" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "ca607e431062ee49a21d69d722750e5edbd8ffabcb54fa92b231814101756041" hash = "556e5cb5e4e77678110961c8d9260a726a363e00bf8d278e5302cb4bfccc3eed" logic_hash = "77a3809df4c7c591a855aaecd702af62935952937bb81661aa7f68e64dcf4fb4" score = 75 quality = 70 tags = "RANSOMWARE, FILE" Rule_Version = "v1" malware_type = "ransomware" malware_family = "Ransom:Linux/HelloKitty" strings: $v1 = "esxcli vm process kill -t=force -w=%d" fullword ascii $v2 = "esxcli vm process kill -t=hard -w=%d" fullword ascii $v3 = "esxcli vm process kill -t=soft -w=%d" fullword ascii $v4 = "error encrypt: %s rename back:%s" fullword ascii $v5 = "esxcli vm process list" fullword ascii $v6 = "Total VM run on host:" fullword ascii $v7 = "error lock_exclusively:%s owner pid:%d" fullword ascii $v8 = "Error open %s in try_lock_exclusively" fullword ascii $v9 = "Mode:%d Verbose:%d Daemon:%d AESNI:%d RDRAND:%d " fullword ascii $v10 = "pthread_cond_signal() error" fullword ascii $v11 = "ChaCha20 for x86_64, CRYPTOGAMS by)(^.+)([0-9]+)(confluence.)(dotDefender)" ascii $s4 = "/fscan/" ascii $s5 = "WebScan.CheckDatas" ascii $s6 = "'Exploit.Test" ascii $s7 = "rules:" ascii condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_BURTNCIGAR : FILE { meta: description = "Detects BURNTCIGAR a utility which terminates processes associated with endpoint security software" author = "ditekSHen" id = "b5260d7e-07ac-5633-b450-e2124cbba65b" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1604-L1616" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "4977332a0b20b300a5fc34f0f8d56221f55b66783853306d803e91701cb7e6ec" score = 75 quality = 75 tags = "FILE" clamav1 = "INDICATOR.Win.TOOL.BURNTCIGAR" strings: $s1 = "Kill PID =" ascii $s2 = "CreateFile Error =" ascii $s3 = "\\KillAV" ascii $s4 = "DeviceIoControl" ascii condition: uint16( 0 ) == 0x5a4d and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_Pplblade : FILE { meta: description = "Detects PPLBlade Protected Process Dumper Tool that support obfuscating memory dump and transferring it on remote workstations without dropping it onto the disk" author = "ditekSHen" id = "60c9b036-51a0-5e08-83de-1f69f62245c3" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1634-L1658" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "da21402b07fcd0358ba630e48ab35956cb7ed8c12836a339c85b2ee5e414543e" score = 75 quality = 75 tags = "FILE" strings: $x1 = "PPLBlade" ascii $x2 = "/PPLBlade/" ascii $x3 = "PPLBlade.exe --mode" ascii $x4 = "PPLBLADE.SYSPPLBlade.dmp" ascii $s1 = "Dump bytes sent at %s:%d. Protocol: %s" ascii $s2 = "Deobfuscated dump saved in file %s" ascii $m1 = "main.WriteDriverOnDisk" ascii $m2 = "main.ProcExpOpenProc" ascii $m3 = "main.miniDumpCallback" ascii $m4 = "main.copyDumpBytes" ascii $m5 = "main.MiniDumpGetBytes" ascii $m6 = "main.SendBytesRaw" ascii $m7 = "main.SendBytesSMB" ascii $m8 = "main.DeobfuscateDump" ascii $m9 = "main.dumpMutex" ascii $m10 = "main.dbghelpDLL" ascii $m11 = "main.miniDumpWriteDump" ascii condition: uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or ( 1 of ( $x* ) and ( 1 of ( $s* ) or 3 of ( $m* ) ) ) or ( all of ( $s* ) and 3 of ( $m* ) ) or ( 7 of ( $m* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Sharpldap : FILE { meta: description = "Detects SharpLDAP tool written in C# that aims to do enumeration via LDAP queries" author = "ditekSHen" id = "597e578d-41f0-595e-b92c-0c3676d8b47a" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1660-L1675" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "da5db3f2907229dc68e3c6f3351361a4b1fb9fe8afc597c9dfe611f9725c6181" score = 75 quality = 75 tags = "FILE" strings: $x1 = "SharpLDAP" ascii wide $x2 = "SharpLDAP.pdb" ascii $s1 = "(&(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=8192))" wide $s2 = "(&(servicePrincipalName=*))" wide $s3 = "/Enumerating (Domain|Enterprise|Organizational|Service|Members|Users|Computers)/" wide $s4 = "ListMembers" fullword ascii $s5 = "GroupMembers" fullword ascii $s6 = "get_SamAccountName" fullword ascii condition: uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 4 of ( $s* ) ) or ( 5 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Pandora : FILE { meta: description = "Detects Pandora tool to extract credentials from password managers" author = "ditekSHen" id = "3f71f24b-755f-5967-afbf-04a512bd0a19" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1677-L1691" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "dd5be3b99b62ec40c242225d9420b9ce299c4f348882b0380289309dfedbc1e8" score = 75 quality = 75 tags = "FILE" strings: $s1 = "process PID:" fullword wide $s2 = "Dump file created:" fullword wide $s3 = "System.Security.AccessControl.FileSystemAccessRule('Everyone', 'FullControl', 'Allow')" ascii $s4 = "{[math]::Round($_.PrivateMemorySize64" ascii $s5 = "rundll32.exe C:\\Windows\\System32\\comsvcs.dll, MiniDump $" ascii $s6 = "\"payload\":{\"logins\":" ascii $s7 = "\\pandora.pdb" ascii condition: uint16( 0 ) == 0x5a4d and 5 of them } rule DITEKSHEN_INDICATOR_TOOL_Havoc : FILE { meta: description = "Detects Havoc Demon" author = "ditekSHen" id = "71ad145c-4017-597a-837e-5d11ba64d7c0" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1693-L1710" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "c5806deaa57590ebe1923608b9b085460e0edd024721e6e9d7073765a79bf22b" score = 75 quality = 75 tags = "FILE" strings: $x1 = "X-Havoc:" wide $x2 = "X-Havoc-Agent:" wide $s1 = "\\Werfault.exe" wide $s2 = "/funny_cat.gif" wide condition: uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or 3 of them or ( pe.number_of_imports == 0 and pe.number_of_exports == 0 and 2 of them ) ) } rule DITEKSHEN_INDICATOR_TOOLS_Localpotato : FILE { meta: description = "Detects LocalPotato" author = "ditekShen" id = "65f8305b-b830-58e7-970b-da1df9a06e9b" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1712-L1743" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "88fba16a6eec6d2c23331642041c6adfddddeb21ba8e74b6959bd48c90f73cbb" score = 75 quality = 73 tags = "FILE" strings: $x1 = "LocalPotato.stg" fullword wide $x2 = "we always love potatoes" fullword ascii $s1 = "{00000306-0000-0000-c000-000000000046}" wide $s2 = "{854A20FB-2D44-457D-992F-EF13785D2B51}" wide $s3 = "cifs/127.0.0.1" wide $s4 = "\\\\127.0.0.1\\c$" wide $s5 = "complete failed: 0x%08x" ascii $s6 = "Authorization: NTLM %s" ascii $s7 = "Objref Moniker Display Name = %S" ascii $s8 = "SMB Connect Tree: %S" ascii $s9 = "b64type=%s" fullword ascii $s10 = "decodes=%s" fullword ascii $s11 = { 53 4d 42 72 00 00 00 00 18 01 48 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ac 7b 00 00 00 00 00 22 00 02 4e 54 20 4c 4d 20 30 2e 31 32 00 02 53 4d 42 20 32 2e 30 30 32 00 02 53 4d 42 20 32 2e 3f 3f 3f 00 00 00 00 00 00 00 00 00 00 00 68 fe 53 4d 42 40 } $o1 = { 44 8b 4c 24 34 48 8d 44 24 38 48 89 44 24 28 4c } $o2 = { e8 c4 ff ff ff 33 d2 48 8d 4d f0 41 b8 d0 04 00 } $o3 = { 83 7b 0c 00 75 42 8b 03 25 ff ff ff 1f 3d 21 05 } $o4 = { 3c 68 74 6c 3c 6a 74 5c 3c 6c 74 34 3c 74 74 24 } $o5 = { e9 39 ff ff ff cc 48 89 5c 24 08 4c 89 4c 24 20 } $o6 = { 48 b9 ff ff ff ff ff ff 0f 00 48 8b c2 41 b8 0c } condition: uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or 8 of ( $s* ) or ( 4 of ( $o* ) and ( 1 of ( $x* ) or 5 of ( $s* ) ) ) ) } rule DITEKSHEN_INDICATOR_TOOLS_Edrsandblast : FILE { meta: description = "Detects EDRSandBlast" author = "ditekShen" id = "85d6d82b-a30e-5c79-93e7-8a3bbbf4a403" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1745-L1767" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "9b801f053e42fbd646cf62fecf6cbf5f2cceeec82bed93ecd8625984eccb08c6" score = 75 quality = 75 tags = "FILE" strings: $s1 = "credguard" fullword wide $s2 = "\\cmd.exe" fullword wide $s3 = "ci_%s.dll" fullword wide $s4 = "cmd /c sc" wide $s5 = "fltmgr_%s.sys" fullword wide $s6 = "ntoskrnl_%s.exe" fullword wide $s7 = "ProductDir" fullword wide $s8 = "lsass.exe" fullword wide $s9 = "0x%p;%ws;%ws;;;" ascii $s10 = "MiniDumpWriteDump" ascii $s11 = "EDRSB_Init: %u" ascii $s12 = "ntoskrnloffsets.csv" fullword wide nocase $s13 = "wdigestoffsets.csv" fullword wide nocase $o1 = { eb 0e 8b 85 34 15 00 00 ff c0 89 85 34 15 00 00 } $o2 = { 74 48 8b 85 34 15 00 00 41 b9 04 01 00 00 4c 8d } condition: uint16( 0 ) == 0x5a4d and 7 of them } rule DITEKSHEN_INDICATOR_TOOLS_Rsockstun : FILE { meta: description = "Detects rsockstun" author = "ditekShen" id = "a284a607-abea-5914-ad3a-84eaff733ee0" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1769-L1781" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "4ad0ac389bf8961b0dd987a72d5dd534e5e3cc673f0e07aa49d39d1fd3f5f53e" score = 75 quality = 75 tags = "FILE" strings: $s1 = "main.connectviaproxy" ascii $s2 = "main.connectForSocks" ascii $s3 = "main.listenForClients" ascii $s4 = "main.listenForSocks" ascii $s5 = "Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=" ascii condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f ) and all of them } rule DITEKSHEN_INDICATOR_TOOL_Scmaldevinj_Go : FILE { meta: description = "Detects Go shell/malware dev injector" author = "ditekShen" id = "56ec114f-8e16-5ab6-ae3b-a182cb381b4a" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1783-L1793" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "48c3c759283c63a0c439cfba0194da89f402189e4c3cd831c22b5078ccae47b1" score = 75 quality = 75 tags = "FILE" strings: $s1 = "hooka/shellcode.go" ascii $s2 = "/maldev\x09v" ascii $s3 = "Binject/debug/pe." ascii condition: uint16( 0 ) == 0x5a4d and all of them } rule DITEKSHEN_INDICATOR_TOOL_Reversessh_Go : FILE { meta: description = "Detects golang reverse ssh tool" author = "ditekShen" id = "4fb671aa-ad42-5f7e-bd5a-c19f018088c9" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1795-L1804" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "4f9899aacc09c7da05fb5d412cfe8e91ee0d8e922189a6f921410d73ae8b3a9c" score = 75 quality = 75 tags = "FILE" strings: $s1 = "/reverse_ssh/" ascii $s2 = "main.rsshService" ascii condition: uint16( 0 ) == 0x5a4d and all of them } rule DITEKSHEN_INDICATOR_TOOL_Sharpghosttask : FILE { meta: description = "Detects SharpGhostTask" author = "ditekSHen" id = "84d71179-0cfd-5389-b6bd-92c292361b3c" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1806-L1817" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "3de8d9fe7804e208ff556b6bedbd80eebfda1a730626403418a555ad9fbbb820" score = 75 quality = 75 tags = "FILE" strings: $x1 = "Ghosted" wide $x2 = /--target(binary|task)/ fullword wide $x3 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Schedule\\TaskCache\\T" wide nocase $s4 = "__GhostTask|" ascii condition: uint16( 0 ) == 0x5a4d and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_Krbrelay : FILE { meta: description = "Detects KrbRelay" author = "ditekshen" id = "c8baac8a-54f3-5f53-93f8-daabeaaaff44" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1819-L1836" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "f76b585cd2d741eab9d91ffd5a34c38696ac573cba1a3752d21c4b8b6681ad7b" score = 75 quality = 75 tags = "FILE" strings: $s1 = "System.Collections.Generic.IEnumerable" fullword ascii condition: ( uint16( 0 ) == 0x457f and filesize < 200KB and ( 8 of them ) ) or ( all of them ) } rule TRELLIX_ARC_RANSOM_Babuk_Packed_Feb2021 : RANSOM T1027_005 T1027 T1083 T1082 T1059 T1129 FILE { meta: description = "Rule to detect Babuk Locker packed" author = "McAfee ATR" id = "f5f3a3a6-2531-56c4-9153-b698c7bdc3d3" date = "2021-02-19" modified = "2021-02-24" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Babuk_Packed_Feb2021.yar#L1-L30" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "48e0f7d87fe74a2b61c74f0d32e6a8a5" logic_hash = "f3312b9c9147e9f892dbfb329cb95d3ee3ae67eefeec2d089b8c89fd26531953" score = 75 quality = 70 tags = "RANSOM, T1027.005, T1027, T1083, T1082, T1059, T1129, FILE" rule_version = "v1" malware_family = "Ransom:Win/Babuk" malware_type = "Ransom" mitre_attack = "T1027.005, T1027, T1083, T1082, T1059, T1129" strings: $first_stage1 = { 81 ec 30 04 00 00 68 6c 49 43 00 ff 15 74 20 43 00 a3 60 4e f8 02 b8 db d9 2b 00 ba c5 62 8e 76 b9 35 11 5f 39 eb 09 8d a4 24 00 00 00 00 8b ff 89 14 24 89 4c 24 04 81 04 24 25 10 a3 3b 81 04 24 cf e0 fb 07 81 04 24 35 26 9f 42 81 04 24 65 2b 39 06 81 04 24 3c 37 33 5b 81 44 24 04 48 4f c2 5d 83 e8 01 c7 05 54 4e f8 02 00 00 00 00 75 bf 8b 0d 54 aa 43 00 53 8b 1d 58 20 43 00 55 8b 2d 60 20 43 00 56 81 c1 01 24 0a 00 57 8b 3d 50 20 43 00 89 0d 64 4e f8 02 33 f6 eb 03 8d 49 00 81 f9 fc 00 00 00 75 08 6a 00 ff 15 40 20 43 00 6a 00 ff d7 8b 0d 64 4e f8 02 81 f9 7c 0e 00 00 75 19 6a 00 ff d3 6a 00 6a 00 8d 44 24 48 50 6a 00 6a 00 ff d5 8b 0d 64 4e f8 02 81 fe e5 84 c1 09 7e 0a 81 7c 24 2c 0f 11 00 00 75 12 46 8b c6 99 83 fa 14 7c aa 7f 07 3d 30 c1 cf c7 72 a1 51 6a 00 ff 15 2c 20 43 00 8b 0d 08 a4 43 00 33 f6 a3 f4 31 f8 02 89 0d f4 07 fb 02 39 35 64 4e f8 02 76 10 8b c6 e8 56 e4 ff ff 46 3b 35 64 4e f8 02 72 f0 8b 35 80 20 43 00 bf f0 72 e9 00 8b ff 81 3d 64 4e f8 02 4d 09 00 00 75 04 6a 00 ff d6 83 ef 01 75 eb e8 d6 e3 ff ff e8 11 fe ff ff e8 0c e4 ff ff 5f 5e 5d 33 c0 5b 81 c4 30 04 00 00 c3 } $first_stage2 = {81ec3??4????68????????ff??????????a3????????b8????????ba????????b9????????eb??891424894c240481????????????81????????????81????????????81????????????81????????????81??????????????83e801c7??????????????????75??8b??????????538b??????????558b??????????5681??????????578b??????????89??????????33f6eb??81??????????75??6a??ff??????????6a??ffd78b??????????81??????????75??6a??ffd36a??6a??8d442448506a??6a??ffd58b??????????81??????????7e??817c242c0f11????75??468bc69983????7c??7f??3d????????72??516a??ff??????????8b??????????33f6a3????????89??????????39??????????76??8bc6e8????????463b??????????72??8b??????????bf????????8bff81??????????????????75??6a??ffd683ef0175??e8????????e8????????e8????????5f5e5d33c05b81c43??4????c3} $first_stage3 = {81ec3??4????68????????ff??????????a3????????b8????????ba????????b9????????[2-6]891424894c240481????????????81????????????81????????????81????????????81????????????81??????????????83e801c7??????????????????[2-6]8b??????????538b??????????558b??????????5681??????????578b??????????89??????????33f6[2-6]81??????????[2-6]6a??ff??????????6a??ffd78b??????????81??????????[2-6]6a??ffd36a??6a??8d442448506a??6a??ffd58b??????????81??????????[2-6]817c242c0f11????[2-6]468bc69983????[2-6][2-6]3d????????[2-6]516a??ff??????????8b??????????33f6a3????????89??????????39??????????[2-6]8bc6e8????????463b??????????[2-6]8b??????????bf????????8bff81??????????????????[2-6]6a??ffd683ef01[2-6]e8????????e8????????e8????????5f5e5d33c05b81c43??4????c3} $first_stage4 = { 81 EC 30 04 00 00 68 6C 49 43 00 FF 15 ?? ?? ?? ?? A3 ?? ?? ?? ?? B8 DB D9 2B 00 BA C5 62 8E 76 B9 35 11 5F 39 EB ?? 8D A4 24 ?? ?? ?? ?? 8B FF 89 14 24 89 4C 24 ?? 81 04 24 25 10 A3 3B 81 04 24 CF E0 FB 07 81 04 24 35 26 9F 42 81 04 24 65 2B 39 06 81 04 24 3C 37 33 5B 81 44 24 ?? 48 4F C2 5D 83 E8 01 C7 05 ?? ?? ?? ?? 00 00 00 00 75 ?? 8B 0D ?? ?? ?? ?? 53 8B 1D ?? ?? ?? ?? 55 8B 2D ?? ?? ?? ?? 56 81 C1 01 24 0A 00 57 8B 3D ?? ?? ?? ?? 89 0D ?? ?? ?? ?? 33 F6 EB ?? 8D 49 ?? 81 F9 FC 00 00 00 75 ?? 6A 00 FF 15 ?? ?? ?? ?? 6A 00 FF D7 8B 0D ?? ?? ?? ?? 81 F9 7C 0E 00 00 75 ?? 6A 00 FF D3 6A 00 6A 00 8D 44 24 ?? 50 6A 00 6A 00 FF D5 8B 0D ?? ?? ?? ?? 81 FE E5 84 C1 09 7E ?? 81 7C 24 ?? 0F 11 00 00 75 ?? 46 8B C6 99 83 FA 14 7C ?? 7F ?? 3D 30 C1 CF C7 72 ?? 51 6A 00 FF 15 ?? ?? ?? ?? 8B 0D ?? ?? ?? ?? 33 F6 A3 ?? ?? ?? ?? 89 0D ?? ?? ?? ?? 39 35 ?? ?? ?? ?? 76 ?? 8B C6 E8 ?? ?? ?? ?? 46 3B 35 ?? ?? ?? ?? 72 ?? 8B 35 ?? ?? ?? ?? BF F0 72 E9 00 8B FF 81 3D ?? ?? ?? ?? 4D 09 00 00 75 ?? 6A 00 FF D6 83 EF 01 75 ?? E8 ?? ?? ?? ?? E8 ?? ?? ?? ?? E8 ?? ?? ?? ?? 5F 5E 5D 33 C0 5B 81 C4 30 04 00 00 C3} $files_encryption1 = { 8a 46 02 c1 e9 02 88 47 02 83 ee 02 83 ef 02 83 f9 08 72 88 fd f3 a5 fc ff 24 95 20 81 40 00 } $files_encryption2 = {8a4602c1e90288470283ee0283ef0283????72??fdf3a5fcff????????????} $files_encryption3 = { 8A 46 ?? C1 E9 02 88 47 ?? 83 EE 02 83 EF 02 83 F9 08 72 ?? FD F3 A5 FC FF 24 95 ?? ?? ?? ??} condition: filesize <= 300KB and any of ( $first_stage* ) and any of ( $files_encryption* ) } rule TRELLIX_ARC_RANSOM_Exorcist : RANSOMWARE FILE { meta: description = "Rule to detect Exorcist" author = "McAfee ATR Team" id = "38ab069d-b030-5459-a42f-7ecd5963e68f" date = "2020-09-01" modified = "2020-10-12" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Exorcist.yar#L1-L25" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "793dcc731fa2c6f7406fd52c7ac43926ac23e39badce09677128cce0192e19b0" logic_hash = "c376382e60aae0f661151495097d3d93f185faebb11781dbf083324c23a07247" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransomware:W32/Exorcist" actor_type = "Cybercrime" actor_type = "Cybercrime" actor_group = "Unknown" strings: $sq1 = { 48 8B C4 48 89 58 08 48 89 70 10 48 89 78 18 4C 89 60 20 55 41 56 41 57 48 8D 68 A1 48 81 EC 90 00 00 00 49 8B F1 49 8B F8 4C 8B FA 48 8B D9 E8 ?? ?? ?? ?? 45 33 E4 85 C0 0F 85 B1 00 00 00 48 8B D7 48 8B CB E8 9E 02 00 00 85 C0 0F 85 9E 00 00 00 33 D2 48 8B CB E8 ?? ?? ?? ?? 45 33 C0 48 8D 15 ?? ?? ?? ?? 48 8B CB E8 ?? ?? ?? ?? 45 8D 44 24 01 48 8B D7 48 8B C8 E8 ?? ?? ?? ?? 48 8B D0 48 8B CB 48 8B F8 FF 15 ?? ?? ?? ?? 4C 89 64 24 30 45 33 C9 C7 44 24 28 80 00 00 E8 45 33 C0 BA 00 00 00 C0 C7 44 24 20 03 00 00 00 48 8B CF FF 15 ?? ?? ?? ?? 4C 8B F0 48 8D 48 FF 48 83 F9 FD 77 25 48 8D 55 2F 48 8B C8 FF 15 ?? ?? ?? ?? 4C 39 65 2F 75 3B 49 8B CE FF 15 ?? ?? ?? ?? 48 8B CF FF 15 ?? ?? ?? ?? 48 8B CF E8 ?? ?? ?? ?? 4C 8D 9C 24 90 00 00 00 49 8B 5B 20 49 8B 73 28 49 8B 7B 30 4D 8B 63 38 49 8B E3 41 5F 41 5E 5D C3 48 8D 45 FB 4C 89 65 1F 4C 8D 4D FF 48 89 44 24 20 4C 8B C6 4C 89 65 07 48 8D 55 07 4C 89 65 FF 48 8D 4D 1F 44 89 65 FB E8 ?? ?? ?? ?? 45 33 C9 4C 8D 05 3C F5 FF FF 49 8B D7 49 8B CE FF 15 ?? ?? ?? ?? 48 8D 55 17 49 8B CE FF 15 ?? ?? ?? ?? 49 8B CE 44 89 65 F7 E8 ?? ?? ?? ?? 49 8B F4 4C 89 65 0F 4C 39 65 17 0F 8E 9D 00 00 00 C1 E0 10 44 8B F8 F0 FF 45 F7 B9 50 00 00 00 E8 ?? ?? ?? ?? 8B 4D 13 48 8B D8 89 48 14 89 70 10 4C 89 60 18 44 89 60 28 4C 89 70 30 48 8B 4D 07 48 89 48 48 48 8D 45 F7 B9 00 00 01 00 48 89 43 40 E8 ?? ?? ?? ?? 33 D2 48 89 43 20 41 B8 00 00 01 00 48 8B C8 E8 ?? ?? ?? ?? 48 8B 53 20 4C 8D 4B 38 41 B8 00 00 01 00 48 89 5C 24 20 49 8B CE FF 15 ?? ?? ?? ?? EB 08 33 C9 FF 15 ?? ?? ?? ?? 8B 45 F7 3D E8 03 00 00 77 EE 49 03 F7 48 89 75 0F 48 3B 75 17 0F 8C 6B FF FF FF EB 03 8B 45 F7 85 C0 74 0E 33 C9 FF 15 ?? ?? ?? ?? 44 39 65 F7 77 F2 48 8B 4D 07 E8 ?? ?? ?? ?? 48 8B 4D 1F 33 D2 E8 ?? ?? ?? ?? 49 8B CE FF 15 ?? ?? ?? ?? 4C 89 64 24 30 45 33 C9 C7 44 24 28 80 00 00 00 45 33 C0 BA 00 00 00 C0 C7 44 24 20 03 00 00 00 48 8B CF FF 15 ?? ?? ?? ?? 48 8B D8 48 8D 48 FF 48 83 F9 FD 77 51 48 8D 55 37 48 8B C8 FF 15 ?? ?? ?? ?? 48 8B 55 37 45 33 C9 45 33 C0 48 8B CB FF 15 ?? ?? ?? ?? 44 8B 45 FB 4C 8D 4D 27 48 8B 55 FF 48 8B CB 4C 89 64 24 20 FF 15 ?? ?? ?? ?? 48 8B 4D FF E8 ?? ?? ?? ?? 48 8B CB FF 15 ?? ?? ?? ?? E9 14 FE FF FF 48 8B CF E8 ?? ?? ?? ?? 48 8B 4D FF E9 06 FE FF FF } $sq2 = { 48 8B C4 48 81 EC 38 01 00 00 48 8D 50 08 C7 40 08 04 01 00 00 48 8D 4C 24 20 FF 15 ?? ?? ?? ?? 48 8D 4C 24 20 E8 ?? ?? ?? ?? 48 81 C4 38 01 00 00 C3 } condition: uint16( 0 ) == 0x5a4d and any of them } rule TRELLIX_ARC_RANSOM_Darkside : RANSOMWARE FILE { meta: description = "Rule to detect packed and unpacked samples of DarkSide" author = "Marc Rivero | McAfee ATR Team" id = "ecbee92f-236a-5385-9566-502ef1c0aeda" date = "2020-08-11" modified = "2023-07-27" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Darkside.yar#L1-L23" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "9cee5522a7ca2bfca7cd3d9daba23e9a30deb6205f56c12045839075f7627297" logic_hash = "be16d65911336809be103ea667167228e6445de85fd47ecd9ff8b3d91e056693" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/DarkSide" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern_0 = { CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC558BEC5053515256570FEFC0660FEFC033DB8B7D088B450C33D2B910000000F7F185C0740B0F110783C7104885C075F585D27502EB5892B908000000F7F185C0740B0F7F0783C7084885C075F585D27502EB3B92B904000000F7F185C0740A891F83C7044885C075F685D27502EB1F92B902000000F7F185C0740B66891F83C7024885C075F585D27502EB02881F5F5E5A595B585DC20800558BEC5053515256578B750C8B7D088B451033D2B910000000F7F185C074110F10060F110783C61083C7104885C075EF85D27502EB6892B908000000F7F185C074110F6F060F7F0783C60883C7084885C075EF85D27502EB4592B904000000F7F185C0740F8B1E891F83C60483C7044885C075F185D27502EB2492B902000000F7F185C0740E66891F83C60283C7024885C075F285D27502EB048A1E881F5F5E5A595B585DC20C00558BEC53515256578B4D0C8B75088B7D1033C033DBAC8AD8C0E80480E30F3C0072063C09770204303C0A72063C0F7702045780FB00720880FB09770380C33080FB0A720880FB0F770380C35766AB8AC366AB4985C975BE6633C066AB5F5E5A595B5DC20C00558BEC53515256578B75088B7D0C55FCB2808A0683C601880783C701BB0200000002D275058A164612D273E602D275058A164612D2734F33C002D275058A164612D20F83DB00000002D275058A164612D213C002D275058A164612D213C002D275058A164612D213C002D275058A164612D213C074068BDF2BD88A03880747BB02000000EB9BB80100000002D275058A164612D213C002D275058A164612D272EA2BC3BB010000007528B90100000002D275058A164612D213C902D275058A164612D272EA568BF72BF5F3A45EE94FFFFFFF48C1E0088A06468BE8B90100000002D275058A164612D213C902D275058A164612D272EA3D007D000083D9FF3D0005000083D9FF3D8000000083D1003D8000000083D100568BF72BF0F3A45EE9FEFEFFFF8A064633C9C0E801741783D1028BE8568BF72BF0F3A45EBB01000000E9DDFEFFFF5D2B7D0C8BC75F5E5A595B5DC20800558BEC53515256578B7D088B450CB9FF00000033D2F7F185C074188BD868FF00000057E8AD00000081C7FF0000004B85DB75EA85D274075257E8970000005F5E5A595B5DC20800558BEC5351525657B9F0000000BEB2B640008B45088B108B58048B78088B400C89540E0C89440E08895C0E04893C0E81EA101010102D1010101081EB1010101081EF1010101083E91079D533D233C98B750C33DB8B7D108A81B2B6400002141E02D08AA2B2B64000438882B2B6400088A1B2B640003BDF7306FEC175DAEB0633DBFEC175D25F5E5A595B5DC20C00558BEC535152565733C0A3C2B84000A3C6B84000B9400000008D35B2B640008D3DB2B74000F3A58B7D088B15C2B840008B4D0C8B1DC6B840004F33C0029AB3B740008A82B3B740008AABB2B740008883B2B7400088AAB3B7400002C5478A80B2B74000FEC23007FEC975D18915C2B84000891DC6B840005F5E5A595B5DC2080053515256578D35047040008D3DCAB84000FF76FC56E891FEFFFF56E8864500008BD8FF76FC56E888FBFFFF8B46FC8D3406B915000000E85C010000AD5056E868FEFFFF56E85D4500008BD8FF76FC56E85FFBFFFF8B46FC8D3406B93D000000E833010000AD5056E83FFEFFFF5256E8334500008BD85AFF76FC56E834FBFFFF8B46FC8D3406B915000000E808010000AD5056E814FEFFFF5256E8084500008BD85AFF76FC56E809FBFFFF8B46FC8D3406B904000000E8DD000000AD5056E8E9FDFFFF5256E8DD4400008BD85AFF76FC56E8DEFAFFFF8B46FC8D3406B906000000E8B2000000AD5056E8BEFDFFFF5256E8B24400008BD85AFF76FC56E8B3FAFFFF8B46FC8D3406B901000000E887000000AD5056E893FDFFFF5256E8874400008BD85AFF76FC56E888FAFFFF8B46FC8D3406B903000000E85C000000AD5056E868FDFFFF5256E85C4400008BD85AFF76FC56E85DFAFFFF8B46FC8D3406B901000000E831000000AD5056E83DFDFFFF5256E8314400008BD85AFF76FC56E832FAFFFF8B46FC8D3406B902000000E8060000005F5E5A595BC3ADFF76FC56E80AFDFFFF515653E8F743000059ABFF76FC56E8FFF9FFFF8B46FC8D34064985C975D8C3558BEC81EC1401000053515256578D85ECFEFFFF50FF1516B940008BB5F0FEFFFF8BBDF4FEFFFF83FE05750583FF01720583FE057313B8000000005F5E5A595B8BE55DC3E9DA00000083FE05751883FF017513B8330000005F5E5A595B8BE55DC3E9BD00000083FE05751883FF027513B8340000005F5E5A595B8BE55DC3E9A000000083FE06751785FF7513B83C0000005F5E5A595B8BE55DC3E98400000083FE06751583FF017510B83D0000005F5E5A595B8BE55DC3EB6A83FE06751583FF027510B83E0000005F5E5A595B8BE55DC3EB5083FE06751583FF037510B83F0000005F5E5A595B8BE55DC3EB3683FE0A751485FF7510B8640000005F5E5A595B8BE55DC3EB1D83FE0A750583FF00770583FE0A760EB8FFFFFF7F5F5E5A595B8BE55DC3B8FFFFFFFF5F5E5A595B8BE55DC3558BEC83C4F853515256576A0068800000006A026A006A006800000040FF7508FF1526B940008945FC837DFCFF74226A008D45F850FF7510FF750CFF75FCFF1536B9400085C07409FF75FCFF153EB940005F5E5A595B8BE55DC20C008BFF558BEC5351525657837D0C0074728D3DAABA4000837D100075086A1057E842F8FFFFFF750CFF750868EFBEADDEFF15F6B84000FF750CFF750850FF15F6B840003107FF750CFF750850FF15F6B84000314704FF750CFF750850FF15F6B84000314708FF750CFF750850FF15F6B8400031470CB8AABA40005F5E5A595B5DC20C00B8000000005F5E5A595B5DC20C00558BEC5351525657FF7508FF15DEB8400083C4048BD88D045D02000000506A00FF35AEB64000FF15BEB940008BF085F67434FF750856FF15CEB8400083C4088D43016A006A0050FF75086AFF566A006A00FF1506BA4000566A00FF35AEB64000FF15C6B940008BC35F5E5A595B5DC2040053515657833DBABA400000750B68BABA4000FF15F2B8400068BABA4000FF15F2B840008BD15F5E595BC3558BEC5351525657BB080000008B7508E8C1FFFFFF83FB05750433C033D28944DEFC8954DEF84B85DB75E55F5E5A595B5DC204008D4000558BEC81EC0001000053515256578D45B083C00F83E0F089850CFFFFFF8D8560FFFFFF83C00F83E0F0898508FFFFFF8D8510FFFFFF83C00F83E0F0898504FFFFFF837D14000F84750300008BB504FFFFFF0F57C00F11060F1146100F1146200F1146308B75088BBD0CFFFFFF0F10060F104E100F1056200F105E300F11070F114F100F1157200F115F30837D1440732A8B4510898500FFFFFF8B9504FFFFFF8BFA8B750C8B4D148A440EFF88440FFF4985C975F389550C8955108BB50CFFFFFF8BBD08FFFFFF0F10060F104E100F1056200F105E300F11070F114F100F1157200F115F305556BD0A0000008B078B5F108B4F208B57308BF003F2C1C60733DE8BF303F0C1C60933CE8BF103F3C1C60D33D68BF203F1C1C61233C68907895F10894F208957308B47148B5F248B4F348B57048BF003F2C1C60733DE8BF303F0C1C60933CE8BF103F3C1C60D33D68BF203F1C1C61233C6894714895F24894F348957048B47288B5F388B4F088B57188BF003F2C1C60733DE8BF303F0C1C60933CE8BF103F3C1C60D33D68BF203F1C1C61233C6894728895F38894F088957188B473C8B5F0C8B4F1C8B572C8BF003F2C1C60733DE8BF303F0C1C60933CE8BF103F3C1C60D33D68BF203F1C1C61233C689473C } $pattern_1 = { 70211F3B6E97C50000473D000000A000004602003EBBFF1F92CC558BEC5053515256570FEFC0660333DBFBFFEDFF8B7D088B450C33D2B9100000F7F185C0740B0F110783C710480A692EFB7F75F585D27502EB5892B9081C7F08B60F592E3B040A891F38049B641979F61F02661CD6FEBFEC023802881F5F5E5A595B585DC25D977E20634F8B750C9110110F1006252383FD94C61097EF6819AC59BA226F7F089DEFD8EE0119450F8B1E82C604A23E033232F1240EC602B9EC91C1A5F2048A1EA70CA12CCBD9A64D757D42E9FEFFBFAC8AD8C0E80480E30F3C0072063C09770204303C0A090FB66F6DBB5780FB140804150380C3300C0ADADFFE790F5766AB8AC3034985C975BE6646FF252CD6096564610C55FCB2806FDF86DB8A069701887801BBAD0299058A164FD62EFB4612D273E60A4F430C0F83DB7F2A7B602613C00A74068BDF2BD821EC63DB8A03644762EB9BB80142900BFBFB72EA2BC3BB1C7528B923C96F7FFB1F568BF72BF5F3A45EE94D01D248C1E008C3468BE8DE1EC26E0C0449303D007D4B83D9FF0DD93CD907058000D100BDB01BF250F04C33C974017417B1D8B0B61902561B96204B06E1C25D2B398BC75208111AEE18EDB9FF2660F4F8EFDDF7188BD8680E579B03D981C70B4B85DB75EAEE94CD5EFE7407521546B9F0256F7F6BB7BE02A6B24D50108B58048B7807400C895FF7FFDB540E03440E08895C0E04893C0E81EA10002D048168ED9FB1EB05EF83E91079D57EC0DFFFFDE4EC80108A814A02141E02D08AA20A436BFFBFDF88820688A1053BDF7306FEC175DAEB062C076E0B29A3D227F8A327A8C27DFBEDFE04C6B940998D35378D3D05A7B2F3A57DBC8FF7F31520B41D242A9A1BFB8DDD1CB38A8205AB28888305AA11D88DFFFE02C5478A800EFEC23007FEA0D189402F9684D8893D0D7C6BF07BF8CF6004A8CAFF76FC5630040549FF33FFDBAC59109C0C8B46FC8D3406B9150F477291BD05F0AD50283D52C252D961295A532A02B902BB04550608B902B90103E10843260299C3AD8615B2BF2751565333F959AB329FE0EEF874D8C33F81EC1468C885ECFE7777DFF0FFFF50FF4FA9168BB5F00C8BBDF40583FE055877F74BA483FF017205097313B86D00695BF36DFA8BE55DC36C073C2118751C3300D21C210234DF04D2FD06751785FF1B3C1555109AC11EC8B83DEB6A19023EA419644250033FC866DE2636690A75141864FECDEE4C1DDE00770A760EB8FFFFFF7F1B927C490DFF3083C4AEFD7A84F82D6A0068976A02080AFE8FB07509405A083B268945FC837DFCFF7422916D73DF188D45F85072020C1DFC34ECB0AE3672090C3E59746B43DACC8BFFCE3C0D7472E1AD44FB51AAAA0B04576A1057BC67BF3F16470868EFBEADDE3FA8F6105090BDB0670C31070E47040F92F50EC9080CB8624E071B5913D85CD6A8DE6D1FDF6AF9E4D88D045D6D50DAFF58F78F7D63AEC6BE8BF085F6743429562ADDDCE1CBCE088D430119FDBDFF56B027ECEF0A1AAA065639C68BC37077FB9C630484FAF4BAF10B6807A31DB0B14CF20A8BD12DE09A3871989ABBFD24E84013CB376608A783FB048DD2D90317B87FDEFC87DEF8C4E55D49C628308D17EE000DC32FF145B083C027E0F089850CE3FD202387B960051108102B99FE37040B7D14000F8475C41E0FA6DBC5F60F571C119846100320ED17EF8930B1BD4EB0104E17D32CDBCB1056105E3026074F57CDE6E26E5F304840732AE457008B6FF017BF954D8BFAFB4D148A3FFF88447B6DFBD30FFFA3F389550C02106E5359FDF0A964085556BD0A14078B5F6FFFDFBE354F208B5792F003F2C1C60733DE8BF303F0080933CEED2FFFF28BF103F30D33D68BF203F11233C68907892ECBB26D96898947143A243404CBD612202F3B24342CCBB22C0428380818CBB25C802838081820CBB22C3C0C1C2CDFB22C173C0C1C2CED0463476063760CED04750C53606363ED187510ED18D80863637510ED2C6424ED3036C2142C6524ED30234C818D6538ED3065386DA30DFC4D85ED0F851B975E5DF30702CBE5726BC80357105F1867206FB6022F972877307F380F0C024EE572B9DC1EFE56FE5EFE66FE6EA6D996CBFE76FE7E7F3D7F7F94A6699A7F7F7F7F7F9AE5C8708D6B5757575D8C966B57BED8FE2011BFE4B834118B9DA7274320837B2086F1B195000824E977EF1866C335DB32C500E4B2BD154E8B55BA338942200524B5655BFA24EB16831940030C6D370297C0237485CAFC86C21297EE1A818880308D7D80F3B920B16FE21DF2F3ABB900DF518D7580F810CD33E7FED1168D7604E2F92175128B06194DA6ECED078D7F17F473181911C9600933C441290CD5BB0A5B5B59F033E476B05505E00CEDAA9BBDB266E03AA5D908A6BFB960DDDFFCDD4FE0C64580018BA98F7EF05D0C81C379B981A849B1BE07D84150F8510851FC8DAB8360115F547B8D626FADBB1D508D3B50E874D3815240D3E0BF6563F02203740F9908199BBB4B1961646306AE9B780C830627307DC7E63041B73BDB06F8410ECB8A369391B8D51A68A41F000B8278E2C406CE1F0926023676729008AA12F80C1A24446B4B22170E54206317F226F8C37EF45B18B8C3F8EF238B71C65E4E62F475F8F46A0514066C737F01CE04EB43EB3F3D310A1B1CB5D84CD837C2EBC60D2C5A839117A1C12C4468F7BBA5196AD2C86AD6616CDBD8288E2E33ED3CAD1D14C3999178FF733C02CA74D72E71A1A14402EBFC1C332275D4565858CA5D4F846D35570F06E6AC62895FE9BF454B183B480875278D1F30AABEC220586C3BEA0F2C3A0E186BD5E850C63826070017E40793C5F30C0262CC0D776B110D6F68081017F4FDDD58B2C77568040110976256A3D8B3C4B2CC11D3D23DE2DB4636F677FC57FB571F34102048BC03A1088DA3ADD5456CD8C2BE227A30C3A3B18D922A9B1C2C6A9BDB095B62106E38E18B5E12C37BD86CB0403753132F6E56A573B367B10FBC59A8EE97CD409E848530675464A1183064849F924030C31A2C72E1248313F88D1DCF6C125B166CECFC53EC531BB519E4027936286BC0D263936C0F6A245FD4C70B24B15766738C09E89B4A2C585392A89C53325426816407AA7E5111040C8D9913E810EF52A937B527344930AA660C5E017648727CC960E3F07304ADA50B27ACDB8F2D60F0B5833EAF15107A641F05D019EBCCCBACDD2578763D4FA9744A4A0FFC0618E9E3147A6517C1293AECB517D9F88B122E0146336C2CD67D7C5224760B1D0E08506FC8096E7ACA96504FB6B1B1463FD3A6521911F424E1FC5A0142A91AD9A722EC3EEE6B18B26B1C3D7DB1D75EAFFC8D7531831C8535BF8E68EB803FAA5219367958D984534FBE3C1B690664B0B03CCC09209966A401B44050C83336C9ECA29D0004D88465B109215A244576CF58C96AF0346AF4AE9D3DB360BC0E3989C005A9247508F153A7A564036F644553F675A3D4253BAC3956120C5AEBE66EC682D922722568F4C058B36FD730DAEDB57D14450DAA0BD716168151969EAE69921D76C8D85E08626E130C9C11C00D07C160C7846481EDFF72C8A1BDE3DF9F813C18DEADBEEF980340EBF2C631F9EC4E04136DA456A4A1FC8EAC7E73C8C1E0068BD82373CCBB46C6DE01B16A1630408086A44CB2810B2C2F3616500A17F3DE5F0BAB8EAEA556561FFBE5B2F6150A374D358D83E6070A67B303593A5A56223D5A89E4C8254EB60FE492B3D95E56223D5E4FD9EC447286176256223D223972C96250561FB9E46C766656223D6641363B911C26276A56223D488E5C726A51F62E72362B90C7223D6E9D488E5C52C6367256472E399B223D724B963E9CCD4E247656223D7627922397537E427A56964BCE66223D7A545890672269727E72CCA759E47E0AC8A912678203C11A01B23557FBC2E08A53D968243106BE91ACB86472A8C319698152773D833C038C907C420BB3345B061008091C095EE251887010EBDE251B5A160CE0FD66B80904A10B9566ABE74C161266A4D19EE614ECA72DE3F8DC0F84A129461DF421D89E3DE828139F83DA062D4FEEF350ECD3AEFCF6EB6399F833D285D255B390DB6BFDC90530940107A842EB14BB162E2CC12B8B1BD4CB4D33C9192BFFAE400830040E4183F9080E04AC5F713904576A57014C7042E2C8681122C63664F381D8ED9E70B470B8182C883DA58E0EFFE62C080B5B180C256C469348D2C1B408AC1CEC840704300A44AA0EBBB6044381DC0C4BA62EEA1D487CDA4AE10E58D4DC194871F43A5F5DB37064FBF086F034798B83C9A26B096057B0571E7F83172666FD47FE5CFA66C704475C00D565F15702444702D9EB3D62598B151A11EA0B3531B614F06592BA0E46348A5D3932DAC81B1A386C90410C03802C26E0B1CCCD19502B1B035C4379AA3ACD09D534968523BBEB6953CCECBFEC511DB68B27C8F4CB75EC39326FD94ED2820BEB1E27F41821E12E7548293B02750759AC12C23B9616FF57C6082997A5EC1C846C4EC80C6D026D0630968DE46D06251CA43358A41AF84F9CD06CEBA91B5C107EDA562CE1F7C049A5AE83702B0CCB523367A364CD46000B08DD35AD8C91877A08E63C5798CC25C3AC9C86AD927DC615A3A3DC53E7CA217946B6431A1010E864489E911414F0183891906718F8A44D6148561EEBA0D3363ACC9DD08BC8C45110BA36D092BA42CE140510960626A37C49D0736C658C67F0524156E89E609103 } condition: $pattern_0 or $pattern_1 and filesize < 5831344 } rule TRELLIX_ARC_RANSOM_Darkside_DLL_May2021 : RANSOM FILE { meta: description = "Rule to detect Darkside Ransomware as a DLL" author = "TS @ McAfee ATR" id = "e9d64637-dc8f-5650-81e1-34e27e6ee912" date = "2021-05-14" modified = "2023-07-27" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Darkside.yar#L26-L47" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "f587adbd83ff3f4d2985453cd45c7ab1" logic_hash = "39930b6f352642647ea6b80f941201b93d6a9defd42cb75f9e4f7239ff17a4ec" score = 75 quality = 70 tags = "RANSOM, FILE" rule_type = "Public" rule_version = "v1" malware_type = "Ransom" strings: $s1 = "encryptor2.dll" wide ascii $s2 = "DisableThreadLibraryCalls" wide ascii $s3 = "KERNEL32.dll" wide ascii $pattern1 = {D24DC8855EDD487B3CD2D545F11031E1FA85C2F2440712445F67D105B326533A77BA75B3383A98CE97EAA2B95798DCFA6B75B5573662F9ED5DC9B7D2E582FD94104E210F3EA62A1826B26B952FFBD5A70A97E6EC3D14794577A2980A0ED1EE02CA291623DD3721A7E68223EDA56F9E1325FE36E191D5C41F7227D55EDC3D5B9359C819} $pattern2 = {87FC982E066F585B73D417C0D5F75B86B9F9F8286B4CC42BB2053912D595A68C07C0EDD0159AC785880C5483E246D3501F6523D05078B9B7510711423948D4CB367C83C0833BD04AD6DC655E1BEEA38770470BB48B6EBA70944E952526E4D87A03BAA485D7B4DA1318A00EF07FA76C0D} $pattern3 = {1B6F099F1C3C62BBF5543FA03B919C7BF5E477D256CE79D98C55ACE8D69CDC9373B2F0A2B51414776D5226B74BF9A7CB935C9DD04BCFC19FC81418F7A39244A730697E1BC05418BF41DE50E4C8609533591CE80617D476E686B36CF2AE914CB3AFD720A33C0D5DE438F1CD0B} $pattern4 = {5060E373F1D3B3BB8D15C851BBFC73F60390681C488F7C0B80FC2EDBC1ED88CEA82014B9223A70EA0BB7DD0D2560A29D39381FEE7B73AE22683AE05C369918F8C5772678A9F29CEF65854238D1C2B762CC12706637154F57A9} $pattern5 = {EE452560DBD5A4F46FB562C9C707C8D014BB8F1C18E4467E249F5AC69A87954F5B69650B7A759CE2DD075E99CBCBA37A9C5A0650EDF06285F8F990AF6B94FBA08E3C0B2EBDE3C155ECDB06C30F95D76695} condition: filesize >= 45KB and filesize <= 70KB and all of ( $s* ) and 4 of ( $pattern* ) } rule TRELLIX_ARC_Megacortex_Signed : RANSOMWARE FILE { meta: description = "Rule to detect MegaCortex samples digitally signed" author = "Marc Rivero | McAfee ATR Team" id = "78a74e30-4de0-5e63-8ca5-31251c296f98" date = "2026-10-01" modified = "2020-08-14" reference = "https://blog.malwarebytes.com/detections/ransom-megacortex/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_MegaCortex.yar#L3-L26" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "8ffced3aca837682fbd7ee68f559f73b8299cbfbe198f48124c4857680735249" score = 75 quality = 70 tags = "RANSOMWARE, FILE" malware_type = "ransomware" malware_family = "Ransom:W32/MegaCortex" actor_type = "Cybercrime" actor_group = "Unknown" condition: uint16( 0 ) == 0x5a4d and for any i in ( 0 .. pe.number_of_signatures ) : ( pe.signatures [ i ] . subject contains "/C=GB/L=ROMFORD/O=3AN LIMITED/CN=3AN LIMITED" and pe.signatures [ i ] . serial == "04:c7:cd:cc:16:98:e2:5b:49:3e:b4:33:8d:5e:2f:8b" or pe.signatures [ i ] . subject contains "/C=GB/postalCode=RM6 4DE/ST=ROMFORD/L=ROMFORD/street=8 Quarles Park Road/O=3AN LIMITED/CN=3AN LIMITED" and pe.signatures [ i ] . serial == "53:cc:4c:69:e5:6a:7d:bc:36:67:d5:ff:d5:24:aa:4b" or pe.signatures [ i ] . subject contains "/C=GB/postalCode=RM6 4DE/ST=ROMFORD/L=ROMFORD/street=8 Quarles Park Road/O=3AN LIMITED/CN=3AN LIMITED" or pe.signatures [ i ] . serial == "00:ad:72:9a:65:f1:78:47:ac:b8:f8:49:6a:76:80:ff:1e" ) } rule TRELLIX_ARC_Cryptonar_Ransomware : RANSOMWARE FILE { meta: description = "Rule to detect CryptoNar Ransomware" author = "Marc Rivero | McAfee ATR Team" id = "0911250f-fc1f-58bc-ac09-d77d2a2ed3ce" date = "2026-10-01" modified = "2020-08-14" reference = "https://www.bleepingcomputer.com/news/security/cryptonar-ransomware-discovered-and-quickly-decrypted/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_CryptoNar.yar#L1-L36" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "04c1c4f45ad3552aa0876c3b645c6ca92493018f7fdc5d9d9ed26cf67199d21b" score = 75 quality = 70 tags = "RANSOMWARE, FILE" malware_type = "ransomware" malware_family = "Ransom:W32/CryptoNar" actor_type = "Cybercrime" actor_group = "Unknown" strings: $s1 = "C:\\narnar\\CryptoNar\\CryptoNarDecryptor\\obj\\Debug\\CryptoNar.pdb" fullword ascii $s2 = "CryptoNarDecryptor.exe" fullword wide $s3 = "server will eliminate the key after 72 hours since its generation (since the moment your computer was infected). Once this has " fullword ascii $s4 = "Do not delete this file, else the decryption process will be broken" fullword wide $s5 = "key you received, and wait until the decryption process is done." fullword ascii $s6 = "In order to receive your decryption key, you will have to pay $200 in bitcoins to this bitcoin address: [bitcoin address]" fullword ascii $s7 = "Decryption process failed" fullword wide $s8 = "CryptoNarDecryptor.KeyValidationWindow.resources" fullword ascii $s9 = "Important note: Removing CryptoNar will not restore access to your encrypted files." fullword ascii $s10 = "johnsmith987654@tutanota.com" fullword wide $s11 = "Decryption process will start soon" fullword wide $s12 = "CryptoNarDecryptor.DecryptionProgressBarForm.resources" fullword ascii $s13 = "DecryptionProcessProgressBar" fullword wide $s14 = "CryptoNarDecryptor.Properties.Resources.resources" fullword ascii condition: ( uint16( 0 ) == 0x5a4d and filesize < 2000KB ) and all of them } rule TRELLIX_ARC_Wannaren_Ransomware : RANSOMWARE FILE { meta: description = "Rule to detect WannaRen Ransomware" author = "McAfee ATR Team" id = "f4f30d12-547d-5044-a4e5-b88bf359480f" date = "2020-04-25" modified = "2020-10-12" reference = "https://blog.360totalsecurity.com/en/attention-you-may-have-become-a-susceptible-group-of-wannaren-ransomware/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_wannaren.yar#L1-L34" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "7b364f1c854e6891c8d09766bcc9a49420e0b5b4084d74aa331ae94e2cfb7e1d" logic_hash = "0feb913b84eb0ecdda688f0cf0a5051798fe4fbce8a6ea959825985a81a6699c" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/WannaRen" actor_type = "Cybercrime" actor_group = "Unknown" strings: $sq0 = { 92 93 a91c2ea521 59 334826 } $sq1 = { d0ce 6641 c1e9c0 41 80f652 49 c1f94d } $sq2 = { 80f8b5 4d 63c9 f9 4d 03d9 41 } $sq3 = { 34b7 d2ea 660fbafa56 0f99c2 32d8 660fbafaed 99 } $sq4 = { f9 f7c70012355f 35c01f5226 f9 8d8056c800b0 f6c4b2 f9 } $sq5 = { f5 f9 44 3aeb 45 33cd 41 } $sq6 = { 890f c0ff12 44 b4a3 ee 2b4e70 7361 } $sq7 = { 81c502000000 6689542500 6681d97a1e 660fabe1 660fbae1a5 8b0f 8dbf04000000 } $sq8 = { 8d13 de11 d7 677846 f1 0d8cd45f87 bb34b98f33 } $sq9 = { 1440 4b 41 e8???????? 397c0847 } condition: uint16( 0 ) == 0x5a4d and filesize < 21000KB and 7 of them } rule TRELLIX_ARC_Ransom_Babuk : RANSOM T1027 T1083 T1057 T1082 T1129 T1490 T1543_003 FILE { meta: description = "Rule to detect Babuk Locker" author = "TS @ McAfee ATR" id = "7c0a3b4e-90aa-5442-aa5e-1a7fcae9bec8" date = "2021-01-19" modified = "2021-02-24" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_BabukLocker_Jan2021.yar#L1-L25" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "e10713a4a5f635767dcd54d609bed977" logic_hash = "123cebd1c2e66f3e91ee235cb9288df63dfaeba02e6df45f896cb50f38851a8f" score = 75 quality = 70 tags = "RANSOM, T1027, T1083, T1057, T1082, T1129, T1490, T1543.003, FILE" rule_version = "v2" malware_family = "Ransom:Win/Babuk" malware_type = "Ransom" mitre_attack = "T1027, T1083, T1057, T1082, T1129, T1490, T1543.003" strings: $s1 = {005C0048006F007700200054006F00200052006500730074006F0072006500200059006F00750072002000460069006C00650073002E007400780074} $s2 = "delete shadows /all /quiet" fullword wide $pattern1 = {006D656D74617300006D65706F63730000736F70686F730000766565616D0000006261636B7570000047785673730000004778426C7200000047784657440000004778435644000000477843494D67720044656657617463680000000063634576744D67720000000063635365744D677200000000536176526F616D005254567363616E0051424643536572766963650051424944505365727669636500000000496E747569742E517569636B426F6F6B732E46435300} $pattern2 = {004163725363683253766300004163726F6E69734167656E74000000004341534144324457656253766300000043414152435570646174655376630000730071} $pattern3 = {FFB0154000C78584FDFFFFB8154000C78588FDFFFFC0154000C7858CFDFFFFC8154000C78590FDFFFFD0154000C78594FDFFFFD8154000C78598FDFFFFE0154000C7859CFDFFFFE8154000C785A0FDFFFFF0154000C785A4FDFFFFF8154000C785A8FDFFFF00164000C785ACFDFFFF08164000C785B0FDFFFF10164000C785B4FDFFFF18164000C785B8FDFFFF20164000C785BCFDFFFF28164000C785C0FDFFFF30164000C785C4FDFFFF38164000C785C8FDFFFF40164000C785CCFDFFFF48164000C785D0FDFFFF50164000C785D4FDFFFF581640} $pattern4 = {400010104000181040002010400028104000301040003810400040104000481040005010400058104000601040006C10400078104000841040008C10400094104000A0104000B0104000C8104000DC104000E8104000F01040000011400008114000181140002411400038114000501140005C11400064114000741140008C114000A8114000C0114000E0114000F4114000101240002812400034124000441240005412400064124000741240008C124000A0124000B8124000D4124000EC1240000C1340002813400054134000741340008C134000A4134000C4134000E8134000FC134000141440003C144000501440006C144000881440009C144000B4144000CC144000E8144000FC144000141540003415400048154000601540007815} condition: filesize >= 15KB and filesize <= 90KB and 1 of ( $s* ) and 3 of ( $pattern* ) } rule TRELLIX_ARC_Netwalker_Ransomware : RANSOMWARE FILE { meta: description = "Rule to detect Netwalker ransomware" author = "McAfee ATR Team" id = "6fe75a64-77b8-5cb8-9365-a5336d4d1617" date = "2020-03-30" modified = "2020-11-20" reference = "https://www.ccn-cert.cni.es/comunicacion-eventos/comunicados-ccn-cert/9802-publicado-un-informe-de-codigo-danino-sobre-netwalker.html" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_netwalker.yar#L3-L28" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "11da4b57f8d9ed1fdf053053a51870af2cbf4062cc1340087ee70c3e92a1baf6" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" note = "The rule doesn't detect the samples packed with UPX" strings: $pattern = { 8B????8B????89??C7????????????EB??8B????52E8????????83????8B????8B??5DC3CCCCCCCCCCCCCCCCCCCCCCCC558B??83????C7????????????83??????74??83??????72??83??????75??8B????E9????????C7????????????8B????33??B9????????F7??83????89????8B????8B????8D????51E8????????83????89????83??????0F84????????C7????????????C7????????????C6??????C6??????C6??????8B????3B????0F84????????8B????2B????39????73??8B????89????EB??8B????2B????89????8B????89????C7????????????8B????03????8B????2B??89????74??83??????7E??83??????7D??C7????????????8B????03????89????8B????518B????03????528B????03????50E8????????83????8B????03????89????83??????75??6A??8D????528B????03????50E8????????83????8B????83????89????8B????03????89????E9????????8B????8B????89??83??????74??8B????52E8????????83????8B????89??C7????????????8B????8B??5DC3CCCCCCCC558B??51B8????????6B????8B????0FB6????B9????????C1????8B????0FB6????C1????0B??BA????????D1??8B????0FB6????C1????0B??B9????????6B????8B????0FB6????C1????0B??B9????????C1????8B????89????B8????????6B????8B????0FB6??????B9????????C1????8B????0FB6??????C1????0B??BA????????D1??8B????0FB6??????C1????0B??B9????????6B????8B????0FB6??????C1????0B??B9????????6B????8B????89????BA????????6B????8B????0FB6??????B8????????C1????8B????0FB6??????C1????0B??B9????????D1??8B????0FB6??????C1????0B??B8????????6B????8B????0FB6??????C1????0B??B8????????6B????8B????89????B9????????6B????8B????0FB6??????BA????????C1????8B????0FB6??????C1????0B??B8????????D1??8B????0FB6??????C1????0B??BA????????6B????8B????0FB6??????C1????0B??BA????????6B????8B????89????81????????????75??8B????83????89????C7????????????EB??C7????????????B9????????6B????8B????0FB6????BA????????C1????8B????0FB6????C1????0B??B8????????D1??8B????0FB6????C1????0B??BA????????6B????8B????0FB6????C1????0B??BA????????C1????8B????89????B9????????6B????8B????0FB6??????BA????????C1????8B????0FB6??????C1????0B??B8????????D1??8B????0FB6??????C1????0B??BA????????6B????8B????0FB6??????C1????0B??BA????????6B????8B????89????B8????????6B????8B????0FB6??????B9????????C1????8B????0FB6??????C1????0B??BA????????D1??8B????0FB6??????C1????0B??B9????????6B????8B????0FB6??????C1????0B??B9????????6B????8B????89????BA????????6B????8B????0FB6??????B8????????C1????8B????0FB6??????C1????0B??B9????????D1??8B????0FB6??????C1????0B??B8????????6B????8B????0FB6??????C1????0B??B8????????6B????8B????89????B9????????6B????8B????0FBE????BA????????C1????8B????0FBE????C1????0B??B8????????D1??8B????0FBE????C1????0B??BA????????6B????8B????0FBE????C1????0B??BA????????6B????8B????89????B8????????6B????8B????0FBE??????B9????????C1????8B????0FBE??????C1????0B??BA????????D1??8B????0FBE??????C1????0B??B9????????6B????8B????0FBE??????C1????0B??B9????????C1????8B????89????B8????????6B????8B????0FBE??????B9????????C1????8B????0FBE??????C1????0B??BA????????D1??8B????0FBE??????C1????0B??B9????????6B????8B????0FBE??????C1????0B??B9????????D1??8B????89????B8????????6B????8B????0FBE??????B9????????C1????8B????0FBE??????C1????0B??BA????????D1??8B????0FBE??????C1????0B??B9????????6B????8B????0FBE??????C1????0B??B9????????6B????8B????89????8B??5DC3CCCCCC558B??B8????????6B????8B????C7????????????B8????????6B????8B????C7????????????B8????????6B????8B????0FB6????B9????????C1????8B????0FB6????C1????0B??BA????????D1??8B????0FB6????C1????0B??B9????????6B????8B????0FB6????C1????0B??B9????????6B????8B????89????BA????????6B????8B????0FB6??????B8????????C1????8B????0FB6??????C1????0B??B9????????D1??8B????0FB6??????C1????0B??B8????????6B????8B????0FB6??????C1????0B??B8????????6B????8B????89????5DC3CCCCCC558B??83????83??????75??E9????????8B????508D????51E8????????83????BA????????6B????8B????8B????83????B8????????6B????8B????89????B9????????6B????8B????83??????75??B9????????6B????8B????8B????83????BA????????6B????8B????89????83??????77??C7????????????EB??8B????83????89????8B????3B????73??8B????03????0FB6??8B????0FB6??????33??8B????03????88??EB??EB??C7????????????EB??8B????83????89????83??????73??8B????03????0FB6??8B????0FB6??????33??8B????03????88??EB??8B????83????89????8B????83????89????8B????83????89????E9????????8B??5DC3CCCCCCCCCCCCCCCC558B??83????C7????????????EB??8B????83????89????83??????7D??8B????8B????8B????8B????89??????EB??C7????????????EB??8B????83????89????83??????0F8E????????B9????????6B????B8????????C1????8B??????03??????BA????????6B????89??????B9????????6B????B8????????6B????8B??????33??????C1????B8????????6B????B8????????6B????8B??????33??????C1????0B??B8????????6B????89??????BA????????C1????B8????????6B????8B??????03??????B8????????C1????89??????B9????????C1????BA????????C1????8B??????33??????C1????B9????????C1????BA????????C1????8B??????33??????C1????0B??BA????????C1????89??????B8????????6B????BA????????C1????8B??????03??????B9????????6B????89??????B8????????6B????BA????????6B????8B??????33??????C1????BA????????6B????BA????????6B????8B??????33??????C1????0B??BA????????6B????89??????B9????????C1????BA????????6B????8B??????03??????BA????????C1????89??????B8????????C1????B9????????C1????8B??????33??????C1????B8????????C1????B9????????C1????8B??????33??????C1????0B??B9????????C1????89??????BA????????C1????B8????????6B????8B??????03??????B8????????C1????89??????B9????????6B????B8????????C1????8B??????33??????C1????BA????????6B????BA????????C1????8B??????33??????C1????0B??BA????????6B????89??????B9????????6B????B8????????6B????8B??????03??????B8????????6B????89??????BA????????6B????B9????????6B????8B??????33??????C1????B9????????6B????B9????????6B????8B??????33??????C1????0B??B9????????6B????89??????B8????????C1????B9????????6B????8B??????03??????B9????????C1????89??????BA????????6B????B9????????C1????8B??????33??????C1????B8????????6B????B8????????C1????8B??????33??????C1????0B??B8????????6B????89??????BA????????6B????B9????????6B????8B??????03??????B9????????6B????89??????B8????????6B????BA????????6B????8B??????33??????C1????BA????????6B????BA????????6B????8B??????33??????C1????0B??BA????????6B????89??????B9????????D1??BA????????6B????8B??????03??????BA????????D1??89??????B8????????6B????BA????????D1??8B??????33??????C1????B9????????6B????B9????????D1??8B??????33??????C1????0B??B9????????6B????89??????B8????????6B????BA????????6B????8B??????03??????BA????????6B????89??????B9????????6B????B8????????6B????8B??????33??????C1????B8????????6B????B8????????6B????8B??????33??????C1????0B??B8????????6B????89??????BA????????D1??B8????????6B????8B??????03??????B8????????D1??89??????B9????????6B????B8????????D1??8B??????33??????C1????BA????????6B????BA????????D1??8B??????33??????C1????0B??BA????????6B????89??????B9????????6B????B8????????6B????8B??????03??????B8????????6B????89??????BA????????6B????B9????????6B????8B??????33??????C1????B9????????6B????B9????????6B????8B??????33??????C1????0B??B9????????6B????89??????B8????????6B????BA????????6B????8B??????03??????BA????????6B????89??????B9????????6B????B8????????6B????8B??????33??????C1????B8????????6B????B8????????6B????8B??????33??????C1????0B??B8????????6B????89??????BA????????6B???? } $pattern2 = { CCCCCCCCCCA1????????C3CCCCCCCCCCCCCCCCCCCC538B??????5533??5785??74??8B??????85??74??8B????85??74??C1????50E8????????83????89??85??74??8B????5633??85??74??5653E8????????83????85??74??8B????85??74??8D??????89??????5150E8????????83????85??74??8B????8B??8B??????89????FF????8B????463B??72??39????B9????????5E0F44??5F8B??5D5BC35F5D33??5BC3CCCCCCCCCCCCCCCCCCCCCCCCCCCC535556578B??????85??74??83????74??8B????85??74??8B??????85??74??33??85??74??8B??????660F1F??????85??74??8B??53FF????E8????????EB??E8????????8D????8B??FF????8B??53FF??83????85??75??463B????72??5F5E5D33??5BC35F5E5DB8????????5BC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC6A??FF??????FF??????E8????????83????C3CCCCCCCCCCCCCCCCCCCCCCCCCC6A??FF??????FF??????E8????????83????C3CCCCCCCCCCCCCCCCCCCCCCCCCC83????????????5674??8B??????85??74??56E8????????8B????50E8????????83????85??75??A1????????6A??83????5650E8????????83????85??75??56E8????????83????85??74??8D????66??????74??83????83????75??33??5EC383????74??A1????????6A??83????5150E8????????83????85??74??B8????????5EC3CCCCCCCCCCCCCCCCCCCC83????????????74??8B??????85??74??A1????????6A??83????5150E8????????83????85??74??B8????????C333??C3CCCCCCCCCCCCCCCCCCCCCCCCCCCC83????????????5674??A1????????83??????74??8B??????85??74??56E8????????8B??????????83????83????75??83??????74??66????????75??0FB7??83????72??83????76??83????66??????76??6A??8D????5650E8????????83????85??74??B8????????5EC333??5EC3CCCCCCCCCCCCCCCCCCCCCCCCCCCC83????????????74??A1????????83????????????74??8B??????85??74??6A??05????????5150E8????????83????85??74??B8????????C333??C3CCCCCC83????????????74??A1????????83????????????74??8B??????85??74??6A??05????????5150E8????????83????85??74??B8????????C333??C3CCCCCC83????????????74??8B??????85??74??A1????????83??????74??6A??83????5150E8????????83????85??74??B8????????C333??C3CCCCCCCCCCCCCCCC83????????????74??8B??????85??74??A1????????83??????74??6A??83????5150E8????????83????85??74??B8????????C333??C3CCCCCCCCCCCCCCCC83????????????5674??8B??????85??74??A1????????83??????74??51E8????????8B??83????85??74??8B??????????6A??83????5651E8????????83????85??74??B8????????5EC356E8????????83????33??5EC3CCCCCCCCCCCCCC535556576A??E8????????8B??83????85??0F84????????8B??660F1F??????0FB7????83????51E8????????8B??83????85??74??0FB7????51FF????57E8????????83????83????????????74??A1????????83??????74??6A??83????5750E8????????83????85??74??E8????????8B????3B????74??6A??51E8????????8B??83????85??74??E8????????6A??538B????FF??E8????????538B??????????FF??57E8????????83????8B??03??85??0F85????????55E8????????83????E8????????6A??8B??????????FF??E9????????CCCCCCCCCCCCCC83????5533??565739??????????0F84????????8B??????85??0F84????????8B??????85??0F84????????53E8????????8B??????????FF??83??????8B??74??E8????????FF????8B??????????FF??89??????E8????????8D??????516A??8B??????????8D??????516A??57FF??85??74??8B??????89????83????74??E8????????8B??????????FF??2B??3D????????77??83??????75??5B5F5E8B??5D83????C3BD????????5B5F5E8B??5D83????C35F5E33??5D83????C383????558B??????85??0F84????????5333??5733??89??????89??????E8????????8D??????518D??????8B??????????5157576A??FF????FF??85??0F85????????E8????????8B??????????FF??3D????????0F85????????FF??????E8????????83????89??????85??0F84????????56E8????????8D??????518D??????8B??????????51FF??????FF??????6A??FF????FF??85??74??33??39??????76??8B??????0F1F??????????E8????????8B??????68????????FF????8B??????????FF??FF??89??????8D????????????5053E8????????8B??83????85??74??FF??????68????????E8????????83????89????474683????3B??????72??8B??????FF??????E8????????83????85??74??85??74??E8????????6A??6A??538B??????????57FF??33??85??74??E8????????FF????8B??????????FF??463B??72??53E8????????83????5EE8????????8D??????516A??FF????8B??????????FF??5F5B85??74??8D??????50FF????E8????????83????E8????????FF????8B??????????FF??55E8????????83????33??5D83????C2????CCCCCCCCCCCCCCCCCCCCCCCC83????568B??????85??74??E8????????8D??????516A??8B??????????56FF??85??74??8D??????5056E8????????83????E8????????568B??????????FF??33??5E83????C2????CCCCCCCCCCCC83????83????????????5356570F84????????A1????????83??????0F84????????55E8????????68????????6A??6A??8B??????????FF??8B??89??????85??0F84????????660F1F????????????C7??????????????C7??????????????C7??????????????E8????????8D??????518D??????8B??????????518D??????516A??6A??6A??6A??55FF??85??0F85????????E8????????8B??????????FF??3D????????0F85????????FF??????E8????????83????89??????85??0F84????????E8????????8B??????8D??????518D??????8B??????????518D??????51FF??????566A??6A??55FF??85??0F84????????33??33??89??????39??????0F86????????0F1F??????????FF??E8????????83????85??75??FF????E8????????83????85??74??E8????????68????????FF??8B??????????55FF??89??????85??74??6A??E8????????8B??83????85??74??8B??????8D????????????5189????8B??????5389????E8????????8B??83????85??74??5568????????E8????????83????89????478B??????8B??????83????4089??????3B??????0F82????????85??74??85??74??E8????????6A??6A??538B??????????57FF??33??85??74??0F1F????E8????????FF????8B??????????FF??463B??72??53E8????????83????FF??????E8????????83????E8????????68????????8B??????????FF??E9????????5D5F5E33??5B83????C2????CCCCCC83????53558B??????565785??0F84????????8B????8D??????516A??55C7??????????????FF????85??0F88????????8B??????8D??????C7??????????????52508B??FF????85??0F88????????6A??8D??????6A??50E8????????33??83????B8????????66????????39??????0F8E????????8B??????8D??????5083????C7??????????????438B??89??????0F10??????8B??510F11??FF????85??0F88????????8B??????8D??????C7??????????????52508B??FF????85??0F88????????8B??????8D??????C7??????????????33??52508B??FF????83????????0F84????????FF??????E8????????83????85??0F85????????8B??????8D??????89??????52508B??FF????85??0F88????????8B??????8D??????89??????52508B??FF????85??0F88????????8B??????8D??????89??????52508B??FF????85??0F88????????33?? } $pattern3 = { CCCCCCCCCC558B??FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF??????????68????????FF??????????FF?????????? } condition: uint16( 0 ) == 0x5a4d and any of ( $pattern* ) } rule TRELLIX_ARC_Netwalker_Signed : FILE { meta: description = "Rule to detect Netwalker ransomware digitally signed." author = "Marc Rivero | McAfee ATR Team" id = "6806b917-2e02-57e3-887a-b4c12db83653" date = "2020-03-30" modified = "2020-11-20" reference = "https://www.ccn-cert.cni.es/comunicacion-eventos/comunicados-ccn-cert/9802-publicado-un-informe-de-codigo-danino-sobre-netwalker.html" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_netwalker.yar#L30-L47" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "d78ed22771d7c93516375afb8fd2fd7baa40a357ec3c247939a10d11f80ae226" score = 75 quality = 70 tags = "FILE" note = "The rule will hit also some Dridex samples digitally signed" condition: uint16( 0 ) == 0x5a4d and for any i in ( 0 .. pe.number_of_signatures ) : ( pe.signatures [ i ] . subject contains "/CN=EWBTCAXQKUMDTHCXCZ" and pe.signatures [ i ] . serial == "17:16:bb:93:fb:a9:a2:41:ba:a8:2e:c7:5e:ff:0c" or pe.signatures [ i ] . thumbprint == "a4:28:e9:4a:61:3a:1f:cf:ff:08:bf:e7:61:51:64:31:1a:6f:87:bc" ) } rule TRELLIX_ARC_Netwalker : RANSOMWARE FILE { meta: description = "Rule based on code overlap in RagnarLocker ransomware" author = "McAfee ATR team" id = "80097a40-534a-5e1b-8fde-e4d832d76698" date = "2020-06-14" modified = "2020-11-20" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_netwalker.yar#L49-L75" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "8c56ebed9e097d294045de46942c708da9ba7e01475dcecb0c3d41fcc8004780" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" actor_group = "Unknown" strings: $0 = {C88BF28B4330F76F3803C88B434813F2F76F2003C88B433813F2F76F3003C88B434013F2F76F2803C88B432813F2F76F4003C8894D6813F289756C8B4338F76F388BC88BF28B4328F76F4803C88B434813F2F76F2803C88B433013F2F76F400FA4CE} $1 = {89542414895424108BEA8BDA8BFA423C22747C3C5C75588A023C5C744F3C2F744B3C2274473C6275078D5702B008EB3F3C6675078D5302B00CEB343C6E75078D5502B00AEB293C72750B8B542410B00D83C202EB1A3C74750B8B542414B00983C2} $2 = {C8894D7013F28975748B4338F76F408BC88BF28B4340F76F3803C88B433013F2F76F4803C88B434813F2F76F3003C8894D7813F289757C8B4348F76F388BC88BF28B4338F76F4803C88B434013F2F76F400FA4CE} $3 = {C07439473C2F75E380FB2A74DEEB2D8D4ABF8D422080F9190FB6D80FB6C28AD60F47D88AC6042080EA410FB6C880FA190FB6C60F47C83ACB754B46478A1684D2} $4 = {8B433013F2F76F0803C88B432013F2F76F1803C88B0313F2F76F3803C88B430813F2F76F3003C88B433813F2F72F03C8894D3813F289753C8B4338F76F088BC8} $5 = {F73101320E32213234329832E3320C332D334733643383339133A833BD33053463347C34543564358335AE36C3362937E9379A39BA390A3A203A443A183B2B3B} $6 = {8B431813F2F76F4803C88B432813F2F76F3803C88B434013F2F76F200FA4CE0103C903C88B432013F2F76F4003C88B433013F2F76F3003C8894D6013F2897564} condition: uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and all of them } rule TRELLIX_ARC_RANSOM_Suncrypt : RANSOMWARE FILE { meta: description = "Rule to detect SunCrypt ransomware" author = "McAfee ATR Team" id = "92655f3e-f8e4-5c9f-ae3f-0796bd31d660" date = "2020-10-02" modified = "2020-11-02" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Suncrypt.yar#L1-L25" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "3090bff3d16b0b150444c3bfb196229ba0ab0b6b826fa306803de0192beddb80" hash = "63ba6db8c81c60dd9f1a0c7c4a4c51e2e56883f063509ed7b543ad7651fd8806" logic_hash = "9f27c6c5bfe0d01ed517d55687bf699814679488f95ce4942306f09f39e29d85" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransomware:W32/Suncrypt" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern = { 77??2F475263????78??58436463????77??7A??5263????78??5846534D5A4678??48475263??????6B??????4D5A4679??7A??5263????78??584C5163????7A??44475264??5778??58526163????30????475264??30????58556463????31????475264??73??6B??????63????32????4752646C73??6B??????38????32??5047526477??6A??5738????68????????41555039????496C46374931????46446F62????414146442F565169????????????5039????466D4A526669??????????64??63????4F6D38????414169??????????586F69??????????33????30????69????????????6F41444141414974??38????41554542516167??2F5665??4478??434A526679??6666????64??63????4F6D444141414169??????????33??69????????????77??33????2F33????2F33????36??49464141434478??7A??64667A??64??7A??64??6A??73??7A??2F34??454449584164??517A??4F74??69??????????5834??5558672F33????2F33????36??6E362F2F39????59584164??517A??4F73??69??????????33??69????????????554B30????69????????????30????5838????5830????5549554974??4446434C525268????????30??39????77??444A77??574C37495073??4D5A4634??62????65??70??6B??????73??4634??54475265??31????586C5963????35????????65????78??586F63????4636??2F47526570??78??5872??63????37475047526531??78??5875??4931????46446F534163????46442F565169????????????66??51616B??????52434C51416A??63????4C5252442F63????2F566679??78??434677??55454D38??????475368????????41496C462B????462B????4E454974??49496C49434974??454974??434974??454974??49414E494B496C4E39????4639????517A??5041514D6E44565976??555974??434974??434974??434974??494474??4E4855464D38????367A??4C525169??????????????6C72??51574466??68????????454D38??????6F74??434974??434974??434974??494374??4E496C4E2F5039??2F4974??435039????4F6A??2B????2F57566E4A77??574C37494873??41414141494E6C6C4143445A6141416733??514148554969??????????30??????44475266??75??6B??????4D5A4638????475266??73??6B??????4D5A4639????475266??6B??????33????5A462B????4752666B??????5867??73??4634??6E475265??79??6B??????4D5A4635????????65??68????????62????4635????????65??????????70??63????366E4C47526574??78??5873??4D5A4630????475264??70??6B??????73??4630??54475264??31????58565963????31????475264????78??585962????4632????47526470??78??5862????5A4633????475262????78??5739????5A4676??54475262??4478??58416463????77??4C475263????78??58445A63????78??37475263????78??5847554D5A4678??4C475263????78??584A5938????79??58475263??????6B??????38????7A??44475261526178??576C64??????70??584752616475??6B??????63????71??4847526170??78??5772??73??4672??6E47526131??????5775??38????72??2F475262????78??5778??38????73??58475262????78??5730??????4674??6E475262????78??5733????5A4675??434E5265??5136??4D46414142512F31????69????????????51554F677A??514141555039????496C466E4931????46446F4977??414146442F565169????????????6152516A??5877??5039????46442F565169????????????52434C514269????????????4932????502F2F2F31??????667A??565A434677??515A67??32????414142414855433677??4C526677??68????????2F2B????667A??31????46454974??434974??454974??4E4474??47484A4D69??????????414969??????????5838????36??6661414164??69??????????????6A??565978??2F31????68????????32????61414177??41434C5252434C514169??????????????74??454974??435039????5039????495045454974??45496C4249476F4561414177??41434C5252434C514169??????????????74??454974??435039????5039????495045454974??45496C42494974??45494E34??414231????74??454974??43476F49575776??42594E38????77??64??474C5252434C514169??????????????534A51534472??476F4561414177??41434C5252434C514169??????????????6F412F31????67??????69??????????456769??????????67????48554636??67??4141434C5252434C51416A??63????4C5252442F63????4C5252442F63????6F30????4141495045444974??454974??434974??454974??43412B??5352534E524167??69????????????38????73??69??????????6C462F4974??454974??43412B??51415935????????4F5774??2F4369??????????????45516130????4B4974??454974??454974??6D414E4D4168????????5838????74??454974??494974??6D414E4D416778??36??59424141434478??7A??73??64??6C4145414141417A??412B????50372F2F34??466C4D6E44565976??555974??434974??434974??45496C49424974??434974??42412B??414431????67??4164??517A??4F73??69??????????414569??????????6B??????67??????554969????????????4969??????????68????????4164??517A?? } condition: uint16( 0 ) == 0x6441 and all of them } rule TRELLIX_ARC_RANSOM_Suncrypt_Decryptor : RANSOMWARE FILE { meta: description = "Rule to detect SunCrypt ransomware decryptor" author = "McAfee ATR Team" id = "ec0d3811-6083-5537-bf29-32ee02d43b5e" date = "2020-10-02" modified = "2020-11-02" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Suncrypt.yar#L27-L50" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "a0f99367b0a0a358ed6e5ae25904016d02aef6aa7c0423c34aa3ec3fd6354310" logic_hash = "59d1193bb0f8d3983a181394b5dd5247470d9e118cc4fe0674167f162bcdb6e1" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransomware:W32/Suncrypt" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern = { 558BEC81EC88000000837D08008BC10F101A89957CFFFFFF0F104A10898578FFFFFF0F1062200F106A300F115D940F114DA40F1165B40F116DC40F8E340200008B45D08B4DC48B55B08945F88B45CC8945E08B45C88945E88B45C08945F08B45BC8945F48B45B8538B5DA88945EC8B45AC568B75A48945D48B45A0578975DC8945E48B459403C68BF033F18B4DB4C1C61003CE8BF9337DDCC1C70C03C78945DC33C6C1C0088945D803C18B4DEC89458833C7C1C0078945848B459803C38BF03375E8C1C61003CE8BF933FBC1C70C03C78945E833C6C1C00889458C03C18B4DF48BD88945EC33DF8B459C0345D48B7DE48BF03375E003FAC1C61003CEC1C307894DF4334DD4C1C10C03C133F08945908B45F0C1C6088975800375F433CEC1C107894DE08B4DF833CFC1C11003C133D08945F0C1C20C8D043A8B7DF033C88945E48B45DCC1C10803F9894DF833D7C1C20703C38BC8334DF8C1C11003F18975FC315DFC8B5DFCC1C30C03C389459433C1C1C0088945F88945D003C633D88945F48945BC8B45E80345E08BC8C1C307334DD8C1C110895DFC895DA88B5DEC8D340F8BFE337DE0C1C70C03C789459833C1C1C0088945D88945C403C68B758833F88945F08945C08B459003C2C1C7078BC8897DD4334D8CC1C11003F1897DAC8B7DE433D6037D84C1C20C03C289459C33C1C1C0088945E88945C803C633D08945B48BC7C1C207334580C1C01003D88BCB334D84C1C10C03F98BF7897DE433F0897DA0C1C60803DE8975E08975CC895DEC8B45088BF333F1895DB88B5DFC488B4DD8C1C6078975DC8975A489450885C00F8F30FEFFFF0F106DC48B8578FFFFFF0F1065B45F0F105D948955B00F104DA48B957CFFFFFF5E5B0F10020F105210660FFED80F104230660FFED10F104A200F1118660FFECC660FFEC50F1150100F1148200F1140308BE55DC3CCCCCCCCCCCCCCCCCCCC558BEC83E4F081EC58020000568BC18B4D1489442420578BFA897C24283D000100000F82680A0000660F6E07660F70C800660F6E4704660F70D000660F6E4708660F70D800660F6E470C660F70E000660F6E4710660F70E800660F6E47148B7508660F70F000660F6E47188B550C660F70F8008D8EC0000000660F6E471C660F70C0000F29842430010000660F6E4720660F70C0000F29842440010000660F6E4724660F70C0000F29842450010000660F6E4728660F70C0000F29842460010000660F6E472C894C240C8D8AC0000000660F70C000894C241C8D8E800000000F29842470010000660F6E4738894C24148D8A80000000660F70C000894C24188D4E400F29842480010000660F6E473C894C242C8D4A40660F70C000C1E8080F298C24A00100000F299424B00100000F299C24C00100000F29A424D00100000F29AC24E00100000F29B424F00100000F29BC24000200000F29842490010000894C24108944242066660F1F8400000000000F2884243001000033C00B47308B4F340F298424800000000F288424400100000F298424900000000F288424500100000F294424600F288424600100000F298424100100000F28842470010000894C244C8944244883C0040F298C24D0000000F30F7E4C244883D1000F298424200100000F288424900100000F299424E00000000F2815A02B4200660F6CC90F29442430660FD4D10F2805B02B42000F29A424A0000000660FD4C10F28E20F29B42400010000660F62E0660F6AD00F28F40F299C24F00000000F28DD0F28AC2480010000660F62F20F297C24700F28FE660F6AE2894F348B4D140F295C24500F29AC24C00000000F29A424B00000000F29BC24400200000F29A4245002000089473085C90F84820400000F287C24708BC166900F28D3660FFE9424D0000000660FEFF2660F380035C02B42000F28DE660FFE9C24900000000F28C3660FEF4424500F28C8660F72F00C660F72D114660FEBC80F28C1660FFEC20F28942400010000660FFE9424E0000000660FEFF0660F380035D02B42000F29842490000000660FEFE2660F380025C02B42000F28C60F29742470660FFEC30F28DC660FFE5C24600F29842410020000660FEFC10F28C8660F72F007660F72D119660FEBC80F28C3660FEF8424000100000F298C24200200000F28C8660F72F00C660F72D114660FEBC80F28C1660FFEC20F28D7660FFE9424F0000000660FEFE0660F380025D02B42000F29442460660FEFEA660F38002DC02B42000F28C40F29A424B0000000660FFEC30F28DD660FFE9C24100100000F29842430020000660FEFC10F28F0660F72F007660F72D619660FEBF00F28C3660FEFC70F28C8660F72F00C660F72D114660FEBC80F28C1660FFEC20F28942480000000660FFE9424A0000000660FEFE8660F38002DD02B42000F294424500F28E50F29AC24C0000000660FFEE30F28C4660FEFC10F28F8660F72F007660F72D719660FEBF80F286C2430660FEFEA660F38002DC02B42000F28DD660FFE9C24200100000F28C3660FEF8424800000000F28C8660F72F00C660F72D114660FEBC80F28C1660FFEC20F28D6660FEFE8660FFE942490000000660F38002DD02B42000F298424A00000000F296C2430660FFEEB0F28C5660FEFC10F28C8660F72F007660F72D119660FEBC80F28442430660FEFC20F298C2480000000660F380005C02B42000F28D80F29442430660FFEDC0F28C3660FEFC60F287424700F28C8660F72F00C660F72D114660FEBC80F284424300F28E1660FFEE20F28D7660FFE542460660FEFC4660F380005D02B4200660FEFF20F29A424D0000000660F380035C02B42000F29442430660FFEC30F298424100100000F28DE660FEFC1660FFEDD0F28C8660F72F007660F72D119660FEBC80F28C3660FEFC70F298C24000100000F28C8660F72F00C660F72D114660FEBC80F28C1660FFEC20F28942480000000660FEFF00F298424E0000000660F380035D02B42000F28C6660FFEC30F29842420010000660FEFC10F28F8660F72F007660F72D719660FEBF8660FFE5424500F28A424B00000000F28AC24C0000000660FEFE2660F380025C02B42000F28DC660FFE9C24100200000F28C3660FEF8424800000000F28C8660F72F00C660F72D114660FEBC80F28C1660FFEC20F28942420020000660FFE9424A0000000660FEFE00F298424F0000000660FEFEA660F380025D02B4200660F38002DC02B42000F29A424B00000000F28C4660FFEC30F28DD660FFE9C24300200000F29842490000000660FEFC10F28C8660F72F007660F72D119660FEBC80F28C3660FEF8424200200000F298C24800000000F28C8660F72F00C660F72D114660FEBC80F28C1660FFEC20F298424A0000000660FEFE8660F38002DD02B42000F29AC24C00000000F28C5660FFEC30F29442460660FEFC10F28D8660F72F007660F72D319660FEBD80F295C245083E8010F8594FBFFFF0F297C24700F28BC24400200000F28AC24A0010000660FFEAC24D00000000F28A424C00100000F28DD660FFEA424F00000000F288C24B00100000F28D4660FFE8C24E00000000F288424D0010000660FFE8424A00000008B44242C8B7C2414660F62D9660F6AE90F28CB660F6AE0660F62D00F10068344241410660F6CCA660FEFC8660F6DDA0F110A0F10008B4424100F28CD660F6DEC660FEFD8660F6CCC0F28A424000200000F111883C0100F10078B7C2418660FFE642470660FEFC883442418100F28D4894424100F110F8B7C240C0F288C24F0010000660FFE8C24000100008344240C100F10078B7C241C8344241C10660FEFE80F28842430010000660FFE8424800000000F112F8B7C242C0F28AC24E0010000660FFE6C24500F28DD660F62D0660F62D9660F6AE90F28CB660F6AE00F104610660F6CCA660FEFC8660F6DDA0F114A100F1047100F28CD660F6DEC660FEFD8660F6CCC0F11188B4424140F10008B442418660FEFC80F11088B44240C0F10008B44241C660FEFE80F11280F28AC2440010000660FFEFE660FFEAC24900000000F28A424600100000F28DD660FFEA424100100000F288C24500100000F28D4660FFE4C24600F28842470010000660FFE84242001000083442410108B4424108344241410660F62D98344241810660F6AE90F28CB660F6AE0660F62D00F1046208344240C10660F6CCA660FEFC88344241C100F114A200F104720660F6DDA0F28CD660FEFD8660F6CCC0F11188B44241483442414100F28DF660F6DEC0F28A424800100000F10008B442418660FFEA424C0000000660FEFC883442418100F28D40F11088B44240C0F288C2450020000660FFE8C24B00000008344240C100F10008B44241C660F62D9660FEFE8660F6AF90F288424900100000F28CB660FFE4424300F11288B442410660F62D083C010660F6AE00F1046308344241C10660F6CCA660FEFC8660F6DDA0F114A30894424100F1047300F28CF660F6DFC660FEFD8660F6CCC0F11188B4424140F10008B442418660FEFC80F11088B44240C0F10008B44241C660FEFF881442410D000000081C70001000081442418D000000081C2000100008144241CD000000081C60001000081442414D00000008144240CD00000000F288C24A00100000F289424B00100000F289C24C00100000F28A424D00100000F28AC24E00100000F28B424F00100000F11388B4424240F28BC24000200002D00010000836C242001897C242C8B7C2428894424240F85E2F6FFFFEB068B550C8B75088954241083F8400F829A010000C1E80689442420660F1F4400000F10370F1057100F107F200F106F3085C90F84F60000008BC10F1F80000000000F28DA660FFEDE660FEFEB660F38002DC02B42000F28E5660FFEE70F28C4660FEFC20F28C8660F72F00C660F72D114660FEFC80F28D1660FFED3660FEFEA660F70D293660F38002DD02B42000F28DD660F70ED4E660FFEDC660F70E3390F28C3660FEFC10F28C8660F72F007660F72D119660FEFC8660FFED1660FEFEA660F38002DC02B4200660FFEE50F28C4660FEFC10F28D8660F72F00C660F72D314660FEFD80F28C3660FFEC2660F70F039660FEFE8660F38002DD02B42000F28C5660F70ED4E660FFEC4660F70F8930F28C8660FEFCB0F28D1 } condition: uint16( 0 ) == 0x5a4d and filesize < 400KB and all of them } rule TRELLIX_ARC_Sodinokobi : RANSOMWARE { meta: description = "This rule detect Sodinokobi Ransomware in memory in old samples and perhaps future." author = "McAfee ATR team" id = "dd05ce31-9699-50a9-944c-5883340791af" date = "2026-10-01" modified = "2025-03-18" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Sodinokibi.yar#L32-L53" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "f25039ac743223756461bbeeb349c674473608f9959bf3c79ce4a7587fde3ab2" score = 75 quality = 70 tags = "RANSOMWARE" malware_type = "ransomware" malware_family = "Ransom:W32/Sodinokibi" actor_type = "Cybercrime" actor_group = "Unknown" version = "1.0" strings: $a = { 40 0F B6 C8 89 4D FC 8A 94 0D FC FE FF FF 0F B6 C2 03 C6 0F B6 F0 8A 84 35 FC FE FF FF 88 84 0D FC FE FF FF 88 94 35 FC FE FF FF 0F B6 8C 0D FC FE FF FF } $b = { 0F B6 C2 03 C8 8B 45 14 0F B6 C9 8A 8C 0D FC FE FF FF 32 0C 07 88 08 40 89 45 14 8B 45 FC 83 EB 01 75 AA } condition: all of them } rule TRELLIX_ARC_Ransom_Xinof : RANSOMWARE FILE { meta: description = "Detect Xinof ransomware" author = "Thomas Roccia | McAfee ATR team" id = "3b064ce4-cd5b-5a4a-bb55-a2c2c361791e" date = "2020-11-20" modified = "2020-11-20" reference = "https://labs.sentinelone.com/the-fonix-raas-new-low-key-threat-with-unnecessary-complexities/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_xinof.yar#L53-L82" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "0c1e6299a2392239dbe7fead33ef4146" logic_hash = "42110ee8869d56c53dc201cbc83652c6457541b8d502aa12b37ef6200e735a15" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom/XINOF" actor_type = "Cybercrime" actor_group = "FONIX" strings: $s1 = "XINOF.exe" nocase ascii $s2 = "C:\\Users\\Phoenix" nocase ascii $s3 = "How To Decrypt Files.hta" nocase ascii $s4 = "C:\\ProgramData\\norunanyway" nocase ascii $s5 = "C:\\ProgramData\\clast" nocase ascii $s6 = "fonix1" nocase ascii $s7 = "C:\\Windows\\System32\\shatdown.exe" nocase ascii $s8 = "XINOF Ransomw" nocase ascii $s9 = "XINOF v4.2" nocase ascii $s10 = "XINOF Ransomware Version 3.3" nocase ascii condition: uint16( 0 ) == 0x5a4d and filesize < 2000KB and 5 of ( $s* ) or TRELLIX_ARC_Ransom_Xinof_Chunk_PRIVATE } rule TRELLIX_ARC_Nemty_Ransomware : RANSOMWARE FILE { meta: description = "Rule to detect Nemty Ransomware" author = "Marc Rivero | McAfee ATR Team" id = "e9b133d6-fd77-5201-995d-c42bae7cde46" date = "2020-02-23" modified = "2020-08-14" reference = "https://www.mcafee.com/blogs/other-blogs/mcafee-labs/nemty-ransomware-learning-by-doing/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Nemty.yar#L1-L45" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "73bf76533eb0bcc4afb5c72dcb8e7306471ae971212d05d0ff272f171b94b2d4" logic_hash = "d055286670516318c14dcf4e5873b96eede5e1dfb3ee978553fc11f1ac6b3252" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/Nemty" actor_type = "Cybercrime" actor_group = "Unknown" strings: $x1 = "/c vssadmin.exe delete shadows /all /quiet & bcdedit /set {default} bootstatuspolicy ignoreallfailures & bcdedit /set {default}" fullword ascii $s2 = "https://pbs.twimg.com/media/Dn4vwaRW0AY-tUu.jpg:large :D" fullword ascii $s3 = "MSDOS.SYS" fullword wide $s4 = "/c vssadmin.exe delete shadows /all /quiet & bcdedit /set {default} bootstatuspolicy ignoreallfailures & bcdedit /set {default} " ascii $s5 = "recoveryenabled no & wbadmin delete catalog -quiet & wmic shadowcopy delete" fullword ascii $s6 = "DECRYPT.txt" fullword ascii $s7 = "pv3mi+NQplLqkkJpTNmji/M6mL4NGe5IHsRFJirV6HSyx8mC8goskf5lXH2d57vh52iqhhEc5maLcSrIKbukcnmUwym+In1OnvHp070=" fullword ascii $s8 = "\\NEMTY-DECRYPT.txt\"" fullword ascii $s9 = "rfyPvccxgVaLvW9OOY2J090Mq987N9lif/RoIDP89luS9Ouv9gUImpgCTVGWvJzrqiS8hQ5El02LdEvKcJ+7dn3DxiXSNG1PwLrY59KzGs/gUvXnYcmT6t34qfZmr8g8" ascii $s10 = "IO.SYS" fullword wide $s11 = "QgzjKXcD1Jh/cOLBh1OMb+rWxUbToys2ArG9laNWAWk0rNIv2dnIDpc+mSbp91E8qVN8Mv8K5jC3EBr4TB8jh5Ns/onBhPZ9rLXR7wIkaXGeTZi/4/XOtO3DFiad4+vf" ascii $s12 = "NEMTY-DECRYPT.txt" fullword wide $s13 = "pvXmjPQRoUmjj0g9QZ24wvEqyvcJVvFWXc0LL2XL5DWmz8me5wElh/48FHKcpbnq8C2kwQ==" fullword ascii $s14 = "a/QRAGlNLvqNuONkUWCQTNfoW45DFkZVjUPn0t3tJQnHWPhJR2HWttXqYpQQIMpn" fullword ascii $s15 = "KeoJrLFoTgXaTKTIr+v/ObwtC5BKtMitXq8aaDT8apz98QQvQgMbncLSJWJG+bHvaMhG" fullword ascii $s16 = "pu/hj6YerUnqlUM9A8i+i/UhnvsIE+9XTYs=" fullword ascii $s17 = "grQkLxaGvL0IBGGCRlJ8Q4qQP/midozZSBhFGEDpNElwvWXhba6kTH1LoX8VYNOCZTDzLe82kUD1TSAoZ/fz+8QN7pLqol5+f9QnCLB9QKOi0OmpIS1DLlngr9YH99vt" ascii $s18 = "BOOTSECT.BAK" fullword wide $s19 = "bbVU/9TycwPO+5MgkokSHkAbUSRTwcbYy5tmDXAU1lcF7d36BTpfvzaV5/VI6ARRt2ypsxHGlnOJQUTH6Ya//Eu0jPi/6s2MmOk67csw/msiaaxuHXDostsSCC+kolVX" ascii $s20 = "puh4wXjVYWJzFN6aIgnClL4W/1/5Eg6bm5uEv6Dru0pfOvhmbF1SY3zav4RQVQTYMfZxAsaBYfJ+Gx+6gDEmKggypl1VcVXWRbxAuDIXaByh9aP4B2QvhLnJxZLe+AG5" ascii condition: ( uint16( 0 ) == 0x5a4d and filesize < 400KB and ( 1 of ( $x* ) and 4 of them ) ) } rule TRELLIX_ARC_Nemty_Ransomware_2_6 : RANSOMWARE FILE { meta: description = "Rule to detect Nemty Ransomware version 2.6" author = "Marc Rivero | McAfee ATR Team" id = "335dff33-d078-58ba-b68b-a949895b710f" date = "2020-04-06" modified = "2020-08-14" reference = "https://www.mcafee.com/blogs/other-blogs/mcafee-labs/nemty-ransomware-learning-by-doing/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Nemty.yar#L47-L80" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "52b7d20d358d1774a360bb3897a889e14d416c3b2dff26156a506ff199c3388d" logic_hash = "dacf709838ef2ef65d25bdbbd92007ab46a95953031d7bee75eac046f670171a" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/Nemty" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern = { 558B??83????53565789????29????6A??8D????8D????5A8B??89????8A????88????8B????8A????88??8A????88????8A??88????03??03??FF????75??89????8D????8D????8D????89????89????29????89????29????89????29????8D????8D????89????29????89????29????8B????89????29????8D????F6??????8B????8A????8B????8A????8A??88????8B????8A????88????75??0FB6??8A??????????0FB6??88????8A??????????0FB6????8A??????????88????0FB6????8A??????????88????8B????C1????32??????????8B????8A????32??8B????88????8A????32??88????8A??32????83????88????8B????8A????32????FF????88??83????83????83??????0F82????????5F5E5BC9C3558B??560FB6??57C1????03????6A??5F6A??5E8A??30??40414E75??4F75??5F5E5DC356576A??5F6A??8B??5E0FB6??8A??????????88??83????4E75??414F75??5F5EC38A????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????8A????88????88????C3558B??5153566A??83????5E8A????32??8A????8A????88????32??32??88????88????32??8A??C0????B3??F6??02??32??32????8A????32????32??88????8A??C0????F6??02??32??32????8A????32????88????8A??C0????F6??02??32??32??8A????32????32????88??8A??C0????F6??02??32??32????83????32????4E88????75??5E5BC9C3558B??53FF????8B??32??E8????????59B3??8B??E8????????8B??E8????????8B??E8????????FF????8B??8A??E8????????FE??5980????72??8B??E8????????8B??E8????????5B8B??B0??5DE9????????558B??81??????????A1????????33??89????8B????578D??????????89??????????E8????????33??6A??5839????76??5683????75??508D????5350E8????????8D??????????508D????E8????????83????6A??5880??????75??C6??????4879??EB??FE????33??8A??????8B??????????30????47403B????72??5E8B????33??5FE8????????C9C3558B??51515333??5633??32??89????39????0F86????????578B????8B????8A????8B??83????74??4F74??4F75??21????0FB6??0FB6??83????8B??C1????C1????0B??8A??????????83????88????8A??????????8B????88??????83????EB??0FB6??0FB6??83????6A??C1????C1????5E0B??EB??33??0FB6??46C1????8A??????????88????40FF????8A??8B????3B????72??5F4E74??4E75??0FB6??83????8A????????????88????C6????????83????EB??0FB6??83????C1????8A??????????88????66????????????83????5EC6??????5BC9C3558B??33??F6??????75??5733??39????76??8B????8A????80????74??80????7C??80????7F??0FB6??8A??????????80????74??8B??83????83????74??4A74??4A74??4A75??08????40EB??8A??C0????80????08????40C0????EB??8A??C0????80????08????40C0????EB??C0????88????473B????72??EB??33??5F5DC3558B??518B??85??74??8B????568B??89????3B??74??576A??33??E8????????83????3B????75??5FFF??E8????????595E33??89??89????89????C9C3558B??80??????74??83??????72??538B??85??74??575356E8????????83????53E8????????595BC7????????????89????C6??????5DC2????C7??????????E9????????558B??568B??C7??????????E8????????F6??????74??56E8????????598B??5E5DC2????558B??83????81??????????A1????????33??89????????????5356578D????508D??????E8????????68????????8D????????????E8????????6A??5F33??83????66????????8D????8B??33??5089??????89??????E8????????E8????????33??66????????8B????????????03??????83????8D??????89??????89??????E8????????538D??????5083????8D??????E8????????538D????????????5083????E8????????8B??8D??????E8????????6A??33??E8????????83????????8B??????73??8D??????8D????????????5150FF??????????89??????83????0F84????????8B??????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????68????????8D????????????50FF??85??0F84????????F6??????????????8D????????????508D??????8D??????74??E8????????598D??????51E8????????8B??598D??????E8????????6A??33??8D??????E8????????6A??8D??????E8????????83????8D??????8B??50E8????????E8????????83????E9????????E8????????8B??598D??????E8????????6A??33??8D??????E8????????8D????????????50FF??????????508D??????E8????????8B??????6A??5F39??????73??8D??????8B??????????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??0F84????????8B??????39??????73??8D??????68????????50FF??85??74??8B??????39??????73??8D??????68????????50FF??85??74??83????8B??68????????E8????????83????8D????????????8B??51E8????????E8????????83????85??75??8B??????39??????73??8D??????83????8B??51E8????????E8????????83????6A??33??8D??????E8????????8D????????????50FF??????FF??????????85??0F85????????FF??????FF??????????33??435333??8D?????? } condition: uint16( 0 ) == 0x5a4d and filesize < 1500KB and $pattern } rule TRELLIX_ARC_Ransom_Avoslocker : FILE { meta: description = "Rule to detect Avoslocker Ransomware" author = "CB @ ATR" id = "50f029c8-154e-583d-8264-8d86d01075f6" date = "2021-07-22" modified = "2021-07-22" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_Avoslocker.yar#L3-L27" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "fb544e1f74ce02937c3a3657be8d125d5953996115f65697b7d39e237020706f" hash = "43b7a60c0ef8b4af001f45a0c57410b7374b1d75a6811e0dfc86e4d60f503856" logic_hash = "316aaab225797eedd62f9cfde1fdbd799a10441b3b15a8abc76141b57b36b1d3" score = 75 quality = 70 tags = "FILE" Version = "v1" DetectionName = "Ransom_Win_Avoslocker" strings: $v1 = "CryptImportPublicKeyInfo failed. error: %d" fullword ascii $v2 = "CryptStringToBinary failed. Err: %d" fullword ascii $v3 = "encrypting %ls failed" fullword wide $v4 = "CryptDecodeObjectEx 1 failed. Err: %p" fullword ascii $v5 = "operator co_await" fullword ascii $v6 = "drive %s took %f seconds" fullword ascii $seq0 = { 8d 4e 04 5e e9 b1 ff ff ff 55 8b ec ff 75 08 ff } $seq1 = { 33 c0 80 fb 2d 0f 94 c0 05 ff ff ff 7f eb 02 f7 } $seq2 = { 8b 40 0c 89 85 1c ff ff ff 8b 40 0c 89 85 18 ff } condition: ( uint16( 0 ) == 0x5a4d and filesize < 1000KB and pe.imphash ( ) == "a24c2b5bf84a5465eb75f1e6aa8c1eec" and ( 5 of them ) and all of ( $seq* ) ) or ( all of them ) } rule TRELLIX_ARC_Ransom_Conti : RANSOMWARE FILE { meta: description = "Conti ransomware is havnig capability too scan and encrypt oover the network" author = "McAfee ATR team" id = "8fc6943d-fb99-5957-929b-4c264d9fba2d" date = "2020-07-09" modified = "2020-10-12" reference = "https://www.carbonblack.com/blog/tau-threat-discovery-conti-ransomware/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/Ransom_Conti.yar#L3-L37" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "eae876886f19ba384f55778634a35a1d975414e83f22f6111e3e792f706301fe" logic_hash = "953471c130309bbc712197d49d2072bd45838f49d2b25f86273a15c6baa87354" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/Conti" actor_type = "Cybercrime" actor_group = "Unknown" strings: $string1 = "HOW_TO_DECRYPTP" fullword ascii $string2 = "The system is LOCKED." fullword ascii $string3 = "The network is LOCKED." fullword ascii $code1 = { ff b4 b5 48 ff ff ff 53 ff 15 bc b0 41 00 85 c0 } $code2 = { 6a 02 6a 00 6a ff 68 ec fd ff ff ff 76 0c ff 15 } $code3 = { 56 8d 85 38 ff ff ff 50 ff d7 85 c0 0f 84 f2 01 } condition: uint16( 0 ) == 0x5a4d and filesize < 300KB and pe.number_of_sections == 5 and ( pe.imphash ( ) == "30fe3f044289487cddc09bfb16ee1fde" or ( all of them and all of ( $code* ) ) ) } rule TRELLIX_ARC_RANSOM_Wastedlocker : RANSOMWARE FILE { meta: description = "Rule to detect unpacked samples of WastedLocker" author = "McAfee ATR Team" id = "900923cf-75c0-5342-858d-fe1ffa9486bd" date = "2020-07-27" modified = "2020-10-12" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/RANSOM_wastedlocker.yar#L1-L32" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "ae255679f487e2e9075ffd5e8c7836dd425229c1e3bd40cfc46fbbceceec7cf4" logic_hash = "c5adf88a46c34c8683d0e3d70529b352c77209f004e6c638ff079ea025921781" score = 75 quality = 70 tags = "RANSOMWARE, FILE" rule_version = "v1" malware_type = "ransomware" malware_family = "Ransom:W32/WastedLocker" actor_type = "Cybercrime" actor_group = "Unknown" strings: $pattern_0 = { 8d45fc 50 53 53 6a19 ff75f8 } $pattern_1 = { 66833b00 8bf3 0f8485000000 8b7d10 8b472c 85c0 7410 } $pattern_2 = { e8???????? 8b4d08 8b4518 8d0441 6683600200 83c40c 837d1400 } $pattern_3 = { 8701 e9???????? 8bc7 5f 5e 5b } $pattern_4 = { 8bf8 3bfb 742f 53 8d45fc 50 56 } $pattern_5 = { 6a10 8d45f0 6a00 50 e8???????? 83c40c 5e } $pattern_6 = { 5f 5d c20800 55 8bec } $pattern_7 = { 8d7e04 ff15???????? 85c0 8945e8 740e 2b4510 } $pattern_8 = { ff15???????? 8b45dc 8b4dbc 69c00d661900 055ff36e3c 8945dc } $pattern_9 = { 8b4d08 8b19 03d8 f7d0 c1c60f 03f2 0bc6 } condition: 7 of them and filesize < 1806288 } rule TRELLIX_ARC_Ransom_Mespinoza : FILE { meta: description = "rule to detect Mespinoza ransomware" author = "Christiaan Beek @ McAfee ATR" id = "70a76bc4-e0cb-5caa-bb64-1a732349d2ce" date = "2020-11-24" modified = "2020-11-24" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/ransomware/Ransom_Mespinoza.yar#L3-L27" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "e9662b468135f758a9487a1be50159ef57f3050b753de2915763b4ed78839ead" hash = "48355bd2a57d92e017bdada911a4b31aa7225c0b12231c9cbda6717616abaea3" hash = "e4287e9708a73ce6a9b7a3e7c72462b01f7cc3c595d972cf2984185ac1a3a4a8" logic_hash = "e245fb9a71d86209690a6f4c7aa38c10dbd32cda2ea3ecde08d0d94e896381cb" score = 75 quality = 70 tags = "FILE" malware_family = "ransom_Win_Mespinoza" strings: $s1 = "update.bat" fullword ascii $s2 = "protonmail.com" fullword ascii $s3 = "Every byte on any types of your devices was encrypted." fullword ascii $s4 = "To get all your data back contact us:" fullword ascii $s5 = "What to do to get all data back?" fullword ascii $s6 = "Don't try to use backups because it were encrypted too." fullword ascii $op0 = { 83 f8 4b 75 9e 0f be 46 ff 8d 4d e0 ff 34 85 50 } $op1 = { c6 05 34 9b 47 00 00 e8 1f 0c 03 00 59 c3 cc cc } $op2 = { e8 ef c5 fe ff b8 ff ff ff 7f eb 76 8b 4d 0c 85 } condition: ( uint16( 0 ) == 0x5a4d and filesize < 600KB and pe.imphash ( ) == "b5e8bd2552848bb7bf2f28228d014742" and ( 8 of them ) and 2 of ( $op* ) ) or ( all of them ) } rule TRELLIX_ARC_STEALER_Lokibot : STEALER FILE { meta: description = "Rule to detect Lokibot stealer" author = "Marc Rivero | McAfee ATR Team" id = "75f502a3-2d9f-5ccf-93f8-2d6a73e9e1b7" date = "2020-09-23" modified = "2020-09-25" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/stealer/STEALER_Lokibot.yar#L1-L39" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "0e40f4fdd77e1f90279c585cfc787942b8474e5216ff4d324d952ef6b74f25d2" hash = "3ad36afad12d8cf245904285c21a8db43f9ed9c82304fdc2f27c4dd1438e4a1d" hash = "26fbdd516b3c1bfa36784ef35d6bc216baeb0ef2d0c0ba036ff9296da2ce2c84" logic_hash = "999a69394a545f726cf15e4361e0dfc17eeac6544e6816a0ad140316e9642510" score = 75 quality = 70 tags = "STEALER, FILE" rule_version = "v1" malware_type = "stealer" malware_family = "Ransomware:W32/Lokibot" actor_type = "Cybercrime" actor_group = "Unknown" strings: $sq1 = { 55 8B EC 56 8B 75 08 57 56 E8 ?? ?? ?? ?? 8B F8 59 85 FF 75 04 33 C0 EB 20 56 6A 00 57 E8 ?? ?? ?? ?? 6A 0C E8 ?? ?? ?? ?? 83 C4 10 85 C0 74 E5 83 60 08 00 89 38 89 70 04 5F 5E 5D C3 } $sq2 = { 55 8B EC 83 EC 0C 53 56 57 33 DB BE ?? ?? ?? ?? 53 53 56 6A 09 E8 ?? ?? ?? ?? 6A 10 6A 01 53 53 8D 4D F8 51 FF D0 53 53 56 6A 09 E8 ?? ?? ?? ?? 6A 08 6A 01 53 53 8D 4D F8 51 FF D0 85 C0 0F 84 2B 01 00 00 6A 24 E8 ?? ?? ?? ?? 59 8B D8 33 C0 6A 09 59 8B FB F3 AB 66 8B 4D 24 B8 03 66 00 00 C7 03 08 02 00 00 66 85 C9 74 03 0F B7 C1 8B 4D 08 33 D2 0F B7 C0 89 43 04 89 53 08 85 C9 74 12 C7 43 08 08 00 00 00 8B 01 89 43 0C 8B 41 04 89 43 10 8B 4D 0C 85 C9 74 0F 83 43 08 08 8B 01 89 43 14 8B 41 04 89 43 18 8B 4D 10 85 C9 74 0F 83 43 08 08 8B 01 89 43 1C 8B 41 04 89 43 20 8B 7B 08 8B 75 F8 83 C7 0C 52 52 68 ?? ?? ?? ?? 6A 09 E8 ?? ?? ?? ?? 8D 4D FC 51 6A 00 6A 00 57 53 56 FF D0 85 C0 74 75 8B 75 FC 33 C0 40 83 7D 20 00 0F 45 45 20 33 FF 57 57 68 ?? ?? ?? ?? 6A 09 89 45 F4 E8 ?? ?? ?? ?? 57 8D 4D F4 51 6A 04 56 FF D0 85 C0 74 3B 39 7D 14 74 1A 8B 75 FC 57 57 68 ?? ?? ?? ?? 6A 09 E8 ?? ?? ?? ?? 57 FF 75 14 6A 01 56 FF D0 8B 55 18 8B 4D FC 53 89 0A 8B 55 1C 8B 4D F8 89 0A E8 ?? ?? ?? ?? 33 C0 59 40 EB 21 FF 75 FC E8 BF FB FF FF 59 EB 02 33 FF 53 E8 ?? ?? ?? ?? 57 FF 75 F8 E8 6B FB FF FF 83 C4 0C 33 C0 5F 5E 5B 8B E5 5D C3 } $sq3 = { 55 8B EC 83 EC 0C 53 8B 5D 0C 56 57 6A 10 33 F6 89 75 F8 89 75 FC 58 89 45 F4 85 DB 75 0E FF 75 08 E8 ?? ?? ?? ?? 8B D8 8B 45 F4 59 50 E8 ?? ?? ?? ?? 8B F8 59 85 FF 0F 84 B6 00 00 00 FF 75 F4 56 57 E8 C4 ?? ?? ?? 83 C4 0C 56 56 68 ?? ?? ?? ?? 6A 09 E8 ?? ?? ?? ?? 68 00 00 00 F0 6A 01 56 56 8D 4D F8 51 FF D0 85 C0 0F 84 84 00 00 00 8B 75 F8 6A 00 6A 00 68 ?? ?? ?? ?? 6A 09 E8 ?? ?? ?? ?? 8D 4D FC 51 6A 00 6A 00 68 03 80 00 00 56 FF D0 85 C0 74 51 6A 00 53 FF 75 08 FF 75 FC E8 7F FD FF FF 83 C4 10 85 C0 74 3C 8B 75 FC 6A 00 6A 00 68 ?? ?? ?? ?? 6A 09 E8 ?? ?? ?? ?? 6A 00 8D 4D F4 51 57 6A 02 56 FF D0 85 C0 74 19 FF 75 FC E8 16 FD FF FF 6A 00 FF 75 F8 E8 26 FD FF FF 83 C4 0C 8B C7 EB 0E 6A 00 FF 75 F8 E8 15 FD FF FF 59 59 33 C0 5F 5E 5B 8B E5 5D C3 } $sq4 = { 55 8B EC 83 7D 10 00 56 57 8B 7D 0C 57 74 0E E8 ?? ?? ?? ?? 8B F0 33 C0 03 F6 40 EB 09 E8 ?? ?? ?? ?? 8B F0 33 C0 83 7D 14 00 59 75 24 50 FF 75 08 E8 2C 00 00 00 59 59 83 F8 01 74 04 33 C0 EB 1D 56 FF 75 08 E8 C5 FE FF FF 59 59 83 F8 01 75 EC 56 57 FF 75 08 E8 CA FE FF FF 83 C4 0C 5F 5E 5D C3 } $sq5 = { 55 8B EC 53 56 8B 75 0C 57 85 F6 75 0B FF 75 08 E8 ?? ?? ?? ?? 59 8B F0 6B C6 03 89 45 0C 8D 58 01 53 E8 ?? ?? ?? ?? 8B F8 59 85 FF 74 42 53 6A 00 57 E8 ?? ?? ?? ?? 83 C4 0C 33 D2 85 F6 74 27 8B 45 08 0F B6 0C 02 8B C1 83 E1 0F C1 E8 04 8A 80 ?? ?? ?? ?? 88 04 57 8A 81 ?? ?? ?? ?? 88 44 57 01 42 3B D6 72 D9 8B 45 0C C6 04 07 00 8B C7 5F 5E 5B 5D C3 } $sq6 = { 55 8B EC 53 56 57 FF 75 08 E8 ?? ?? ?? ?? 33 C9 6A 02 5B 8D B8 A0 1F 00 00 8B C7 F7 E3 0F 90 C1 F7 D9 0B C8 51 E8 ?? ?? ?? ?? 8B F0 59 59 85 F6 74 6F 8D 0C 3F 51 6A 00 56 E8 ?? ?? ?? ?? 8D 45 0C 50 FF 75 08 56 E8 ?? ?? ?? ?? 56 E8 ?? ?? ?? ?? 8B F8 83 C4 1C 85 FF 74 40 33 C9 8D 47 02 F7 E3 0F 90 C1 F7 D9 0B C8 51 E8 ?? ?? ?? ?? 8B D8 59 85 DB 74 25 8D 0C 7D 02 00 00 00 51 6A 00 53 E8 ?? ?? ?? ?? 57 56 53 E8 ?? ?? ?? ?? 56 E8 ?? ?? ?? ?? 83 C4 1C 8B C3 EB 09 56 E8 ?? ?? ?? ?? 59 33 C0 5F 5E 5B 5D C3 } $sq7 = { 55 8B EC 81 EC 80 00 00 00 56 57 E8 ?? ?? ?? ?? 6A 1F 59 BE ?? ?? ?? ?? 8D 7D 80 F3 A5 33 C9 6A 02 5A 66 A5 8B 7D 08 8D 47 01 F7 E2 0F 90 C1 F7 D9 0B C8 51 E8 ?? ?? ?? ?? 8B F0 59 85 F6 74 4D 8D 04 7D 02 00 00 00 4F 89 45 08 53 50 6A 00 56 E8 ?? ?? ?? ?? 83 C4 0C 33 DB 85 FF 74 1C E8 ?? ?? ?? ?? 33 D2 6A 7E 59 F7 F1 D1 EA 66 8B 44 55 80 66 89 04 5E 43 3B DF 72 E4 56 E8 ?? ?? ?? ?? 3B F8 8B 45 08 59 77 C4 8B C6 5B EB 02 33 C0 5F 5E 8B E5 5D C3 } $sq8 = { 55 8B EC 81 EC 50 02 00 00 53 56 57 6A 0A E8 ?? ?? ?? ?? 59 33 DB 6A 2E 5E 39 5D 14 0F 84 13 01 00 00 FF 75 08 68 ?? ?? ?? ?? E8 ?? ?? ?? ?? 8B F0 59 59 85 F6 0F 84 F7 00 00 00 53 53 68 ?? ?? ?? ?? 53 E8 ?? ?? ?? ?? 8D 8D B0 FD FF FF 51 56 FF D0 8B D8 83 FB FF 0F 84 CC 00 00 00 F6 85 B0 FD FF FF 10 0F 84 97 00 00 00 83 7D 1C 00 74 2E 8D 85 DC FD FF FF 68 ?? ?? ?? ?? 50 E8 0A ?? ?? ?? 59 59 85 C0 75 7A 8D 85 DC FD FF FF 68 ?? ?? ?? ?? 50 E8 F3 ?? ?? ?? 59 59 85 C0 75 63 8D 85 DC FD FF FF 50 E8 ?? ?? ?? ?? 59 83 F8 03 73 0C 6A 2E 58 66 39 85 DC FD FF FF 74 45 8D 85 DC FD FF FF 50 FF 75 08 68 ?? ?? ?? ?? E8 ?? ?? ?? ?? 83 C4 0C 89 45 14 85 C0 74 27 6A 01 6A 00 6A 01 FF 75 10 FF 75 0C 50 E8 14 FF FF FF FF 75 14 8B F8 E8 ?? ?? ?? ?? 83 C4 1C 85 FF 0F 85 EE 00 00 00 33 C0 50 50 68 ?? ?? ?? ?? 50 E8 ?? ?? ?? ?? 8D 8D B0 FD FF FF 51 53 FF D0 85 C0 0F 85 3B FF FF FF 53 E8 ?? ?? ?? ?? 59 56 E8 ?? ?? ?? ?? 59 33 DB 6A 2E 5E FF 75 0C FF 75 08 68 ?? ?? ?? ?? E8 ?? ?? ?? ?? 8B F8 83 C4 0C 85 FF 0F 84 CF 00 00 00 53 53 68 ?? ?? ?? ?? 53 E8 ?? ?? ?? ?? 8D 8D B0 FD FF FF 51 57 FF D0 8B D8 83 FB FF 0F 84 A6 00 00 00 8D 85 DC FD FF FF 50 E8 ?? ?? ?? ?? 59 83 F8 03 73 09 66 39 B5 DC FD FF FF 74 3E 83 BD B0 FD FF FF 10 75 06 83 7D 18 00 74 2F 8D 85 DC FD FF FF 50 FF 75 08 68 ?? ?? ?? ?? E8 ?? ?? ?? ?? 8B F0 83 C4 0C 85 F6 74 12 83 7D 10 00 74 40 56 FF 55 10 56 E8 ?? ?? ?? ?? 59 59 33 C0 50 50 68 ?? ?? ?? ?? 50 E8 ?? ?? ?? ?? 8D 8D B0 FD FF FF 51 53 FF D0 85 C0 74 29 6A 2E 5E EB 85 56 E8 ?? ?? ?? ?? 53 E8 ?? ?? ?? ?? 59 59 8B C7 EB 22 57 E8 ?? ?? ?? ?? 53 E8 ?? ?? ?? ?? 59 59 8B C6 EB 10 53 E8 ?? ?? ?? ?? 59 57 E8 ?? ?? ?? ?? 59 33 C0 5F 5E 5B 8B E5 5D C3 } $sq9 = { 83 3D 14 ?? ?? ?? ?? 56 74 0A 8B 35 20 ?? ?? ?? 85 F6 75 66 53 57 BB E0 01 00 00 33 FF 53 89 3D 14 ?? ?? ?? E8 F0 F8 FF FF 33 F6 A3 14 ?? ?? ?? 46 59 85 C0 74 12 6A 78 57 50 89 35 20 ?? ?? ?? E8 A6 F8 FF FF 83 C4 0C 53 89 3D 18 ?? ?? ?? E8 C5 F8 FF FF A3 18 ?? ?? ?? 59 85 C0 74 14 6A 78 57 50 89 35 20 ?? ?? ?? E8 7E F8 FF FF 83 C4 0C EB 06 8B 35 20 ?? ?? ?? 5F 5B 8B C6 5E C3 } $sq10 = { 55 8B EC 51 51 83 65 FC 00 53 56 57 64 A1 30 00 00 00 89 45 FC 8B 45 FC 8B 40 0C 8B 58 0C 8B F3 8B 46 18 FF 76 28 89 45 F8 E8 CE FA FF FF 8B F8 59 85 FF 74 1F 6A 00 57 E8 32 01 00 00 57 E8 ?? ?? ?? ?? 03 C0 50 57 E8 71 FA FF FF 83 C4 14 39 45 08 74 11 8B 36 3B DE 75 C6 33 C0 5F 5E 5B 8B E5 5D C2 04 00 8B 45 F8 EB F2 } $sq11 = { A1 ?? ?? ?? ?? 85 C0 74 07 50 E8 ?? ?? ?? ?? 59 A1 ?? ?? ?? ?? 85 C0 74 07 50 E8 ?? ?? ?? ?? 59 A1 ?? ?? ?? ?? 85 C0 74 07 50 E8 ?? ?? ?? ?? 59 33 C0 A3 ?? ?? ?? ?? A3 ?? ?? ?? ?? A3 ?? ?? ?? ?? C3 } $sq12 = { 55 8B EC 56 8B 75 0C 57 85 F6 74 48 56 E8 ?? ?? ?? ?? 59 85 C0 74 3D 56 E8 ?? ?? ?? ?? 59 85 C0 74 32 83 65 0C 00 8D 45 0C 6A 01 50 56 E8 ?? ?? ?? ?? 8B F8 83 C4 0C 85 FF 74 19 8B 45 0C 85 C0 74 12 83 7D 14 00 74 12 39 45 14 73 0D 57 E8 ?? ?? ?? ?? 59 33 C0 5F 5E 5D C3 83 7D 10 00 74 1A 6A 00 6A 01 56 E8 ?? ?? ?? ?? 59 50 FF 75 08 E8 1F 00 00 00 8B 45 0C 83 C4 10 50 57 FF 75 08 E8 FF FE FF FF 57 8B F0 E8 ?? ?? ?? ?? 83 C4 10 8B C6 EB C3 } $sq13 = { 55 8B EC 83 EC 18 56 FF 75 08 E8 ?? ?? ?? ?? 50 89 45 F0 E8 ?? ?? ?? ?? 8B F0 59 59 85 F6 0F 84 C0 00 00 00 53 8B 5D 0C 33 C9 57 6A 04 5A 8B C3 F7 E2 0F 90 C1 F7 D9 0B C8 51 E8 ?? ?? ?? ?? 83 65 F4 00 8B F8 83 65 FC 00 59 85 DB 74 6D 8B 45 10 83 C0 FC FF 75 F0 83 C0 04 89 45 E8 6A 00 56 8B 00 89 45 EC E8 ?? ?? ?? ?? FF 75 F0 FF 75 08 56 E8 ?? ?? ?? ?? 83 65 F8 00 68 ?? ?? ?? ?? 56 E8 ?? ?? ?? ?? 83 C4 20 EB 1F FF 75 EC 50 E8 ?? ?? ?? ?? 59 59 85 C0 75 32 68 ?? ?? ?? ?? 50 E8 ?? ?? ?? ?? FF 45 F8 59 59 85 C0 75 DD 8B 45 FC 40 89 45 FC 3B C3 8B 45 E8 72 99 56 E8 ?? ?? ?? ?? 59 39 5D F4 75 12 8B C7 EB 17 8B 45 FC 8B 4D F8 FF 45 F4 89 0C 87 EB D7 57 E8 ?? ?? ?? ?? 59 33 C0 5F 5B 5E 8B E5 5D C3 } $sq14 = { 55 8B EC 8B 45 0C 53 56 8B 75 08 57 8B 4E 04 03 C1 8D 3C 09 3B F8 77 06 8D B8 F4 01 00 00 33 C9 8B C7 6A 04 5A F7 E2 0F 90 C1 F7 D9 0B C8 51 E8 ?? ?? ?? ?? 8B D8 59 85 DB 74 26 57 6A 00 53 E8 ?? ?? ?? ?? FF 76 08 FF 36 53 E8 ?? ?? ?? ?? FF 36 E8 ?? ?? ?? ?? 33 C0 89 1E 83 C4 1C 89 7E 04 40 5F 5E 5B 5D C3 } $sq15 = { 55 8B EC 83 7D 0C 00 57 74 39 8B 7D 10 85 FF 74 32 56 8B 75 08 8B 46 08 03 C7 3B 46 04 76 09 57 56 E8 3F FF FF FF 59 59 8B 46 08 03 06 57 FF 75 0C 50 E8 ?? ?? ?? ?? 01 7E 08 83 C4 0C 33 C0 40 5E EB 02 33 C0 5F 5D C3 } condition: uint16( 0 ) == 0x5a4d and any of them } rule TRELLIX_ARC_Milum_Trojan : TROJAN FILE { meta: description = "Rule to detect Milum trojan from the Wildpressure operation" author = "Marc Rivero | McAfee ATR Team" id = "acc56237-a93a-55c0-a90c-11ca1da683db" date = "2020-04-24" modified = "2020-08-14" reference = "https://securelist.com/wildpressure-targets-industrial-in-the-middle-east/96360/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_milum_wildpressure.yar#L3-L28" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "86456ebf6b807e8253faf1262e7a2b673131c80174f6133b253b2e5f0da442a9" logic_hash = "3ab1ff129517cb4a829edac289c00d7701d6f667ba2ef5a28024fd01a3a52e8e" score = 75 quality = 70 tags = "TROJAN, FILE" rule_version = "v1" malware_type = "trojan" malware_family = "Trojan:W32/Milum" actor_type = "Apt" actor_group = "Unknown" strings: $pattern = { 558B??6A??68????????64??????????5081??????????A1????????33??89????535657508D????64??????????8B????89??????????C7????????????8D????C7??????????33??6A??89??????????89????E8????????83????3B??0F84????????89????89??8B????89????8B????89????8B????C6??????8B????C6??????C6??????8B??????????BE????????89????89????88????C6??????6A??68????????8D??????????89??????????89??????????88??????????E8????????C6??????6A??538D????528D??????????89??????????89??????????88??????????E8????????C6??????8D??????????508B??E8????????508D??????????5157E8????????C6??????83????????????72??8B??????????52E8????????83????89??????????89??????????88??????????C6??????83????????????72??8B??????????50E8????????83????6A??68????????8D????89??????????89??????????88??????????89????89????88????E8????????C6??????6A??538D????518D????89????89????88????E8????????C6??????8D????528B??E8????????508D??????????5057E8????????C6??????83??????72??8B????51E8????????83????89????89????88????C6??????83??????72??8B????52E8????????83????6A??68????????8D????89????89????88????89????89????88????E8????????C6??????6A??538D????508D????89????89????88????E8????????C6??????83????8B??89??????????6A??89????89????68????????88??E8????????C6??????83????8B??89??????????6A??538D????89????89????5288??E8????????C6??????8D??????????50C6??????E8????????83????C6??????8B??????????2B??????????B8????????F7??03??C1????8B??C1????03??83????75??8B??????????6A??53528D????E8????????8B??????????6A??83????53508D????E8????????6A??538D????508D????89????89????88????E8????????C6??????6A??538D????518D????89????89????88????E8????????C6??????8D????528B??E8????????508D??????????5057E8????????C6??????BF????????39????72??8B????51E8????????83????89????89????88????C6??????39????72??8B????52E8????????83????89????89????88????C6??????8B??????????3B??74??8B??????????E8????????8B??????????50E8????????83????BF????????89??????????89??????????89??????????C6??????39????72??8B????51E8????????83????89????89????88????C6??????39????72??8B????52E8????????83????89????89????88????C6??????39????72??8B????50E8????????83????89????89????88????88????39????72??8B????51E8????????83????89????89????88????C7????????????39????72??8B????52E8????????83????8B??????????89????89????88????8B????64????????????595F5E5B8B????33??E8????????8B??5DC2????8D??????????508D??????????89??????????E8????????C6??????C7??????????????????C6??????68????????8D??????????51E8????????CCCC558B??6A??68????????64??????????5051535657A1????????33??508D????64??????????8B????C7??????????C7????????????8D????33??83??????89????72??8B??EB??8B??8D????88??8B????8B????518B??E8????????8B????89????8B????89??8B????89????89????88????83??????72??8B??50E8????????83????89????C7????????????88??83????89????89????C7????????????8B????8B??50518D????E8????????89????8B????52E8????????83????8B????64????????????595F5E5B8B??5DC2????CCCCCCCCCCCCCCCCCCCCCCCCCC558B??6A??68????????64??????????505156A1????????33??508D????64??????????83????C7????????????8B????5156E8????????C7????????????C7????????????8B??8B????64????????????595E8B??5DC2????CCCCCCCCCCCC558B??6A??68????????64??????????5081??????????A1????????33??89????535657508D????64??????????8B????33??8B??89??????????8B????8B??89??????????89??????????89??????????3B??0F84????????8D????39??????????0F85????????68????????8D????5750E8????????C7????????????83????8D????57518B??E8????????83????C6??????8B??????????6A??535083????E8????????C6??????BF????????39????72??8B????52E8????????83????C7????????????89????88????88????39????72??8B????50E8????????83????C7????????????89????88????E9????????578D????68????????51E8????????C7????????????508D??????????52BA????????E8????????C6??????83????8D????57518B??E8????????83????C6??????8B??????????6A??535083????E8????????C6??????BF????????39????72??8B????52E8????????83????C7????????????89????88????C6??????39??????????72??8B??????????50E8????????83????C7??????????????????89??????????88??????????88????39????72??8B????51E8????????83????C7????????????89????88????FF??????????38????75??8B????38????75??8B??8B??38????75??8D????8B??8B??38????74??EB??8B????38????75??3B????75??8B??8B????38????74??8B??8B??????????3B????0F85????????8B??????????8B??6A??5383????C7????????????89????508B??88??E8????????89????C7??????????????????8B??8B????64????????????595F5E5B8B????33??E8????????8B??5DC2????CCCCCCCCCCCCCCCCCCCCCCCCCCCC558B??6A??68????????64??????????50515356A1????????33??508D????64??????????8B??89????C7??????????33??89????83??????72??8B????50E8????????83????C7????????????89????88????C7????????????83??????72??8B????50E8????????83????C7????????????89????88????8B????64????????????595E5B8B??5DC3CCCCCCCCCC558B??6A??68????????64??????????5083????A1????????33??89????5356508D????64??????????33??89????538B??68????????8D????89????C7????????????89????88????E8????????C7????????????6A??8D????38????74??68????????EB??68????????E8????????8D????5083????8D????5651E8????????C6??????8D????52578B??E8????????83????C7????????????C6??????BE????????39????72??8B????50E8????????83????C7????????????89????88????88????39????72??8B????51E8????????83????C7????????????89????88????8B??8B????64????????????595E5B8B????33??E8????????8B??5DC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC558B??6A??68????????64??????????50515356A1????????33??508D????64??????????8B??89????C7??????????33??89????83??????72??8B????50E8????????83????C7????????????89????88????C7????????????83??????72??8B????50E8????????83????F6??????C7????????????89????88????74??56E8????????83????8B??8B????64????????????595E5B8B??5DC2????CCCC558B??6A??68????????64??????????50A1????????33??508D????64??????????C7????????????6A??6A??8D????5083????E8????????C7????????????83??????72??8B????51E8????????83????C7????????????C7????????????C6??????8B????64????????????598B??5DC2????CCCCCCCCCCCCCCCCCCCCCC558B??6A??68????????64??????????5083????A1????????33??89????535657508D????64??????????33??89????8B????89????89????B8????????89????C7????????????89????88??89????8D????BF????????39????72??8B??8B????39????73??8D????8B????518D????518B??E8????????C6??????508B??E8????????C6??????39????72??8B????52E8????????83????C7????????????89????88????88????39????72??8B????50E8????????83????C7????????????89????88????8B??8B????64????????????595F5E5B8B????33??E8????????8B??5DC2????CCCCCCCCCCCCCCCC558B??6A??68????????64??????????5081??????????A1????????33??89????535657508D????64??????????8B??33??89????8B????89??????????89?????????? } condition: uint16( 0 ) == 0x5a4d and filesize < 2000KB and pe.imphash ( ) == "548d9f5f1e74f34b85612667335d41f2" and all of them } rule TRELLIX_ARC_APT_Acidbox_Kernelmode_Module : KERNELDRIVER FILE { meta: description = "Rule to detect the kernel mode component of AcidBox" author = "Marc Rivero | McAfee ATR Team" id = "80b60307-5431-5f21-9e6f-06adaab0519d" date = "2020-07-24" modified = "2020-08-14" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_acidbox.yar#L1-L32" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "3ef071e0327e7014dd374d96bed023e6c434df6f98cce88a1e7335a667f6749d" logic_hash = "e39da89d0da22115ac7889bc73ff183973a6c5334e304df955362bde76694d42" score = 75 quality = 70 tags = "KERNELDRIVER, FILE" rule_version = "v1" malware_type = "kerneldriver" malware_family = "Rootkit:W32/Acidbox" actor_type = "APT" actor_group = "Turla" strings: $pattern_0 = { 897c2434 8978b8 8d5f28 448bc3 33d2 } $pattern_1 = { 4c8d842470010000 488d942418010000 498bcf e8???????? 8bd8 89442460 } $pattern_2 = { 4c8bf1 49d1eb 4585c9 0f88a2000000 440fb717 498bd0 } $pattern_3 = { ff15???????? 4c8d9c2480000000 498b5b10 498b7318 498b7b20 4d8b7328 498be3 } $pattern_4 = { 33d2 41b8???????? 895c2420 e8???????? } $pattern_5 = { 895c2420 4885ff 0f8424010000 440f20c0 84c0 0f8518010000 } $pattern_6 = { 85f6 0f8469fdffff 488d8424c8010000 41b9???????? } $pattern_7 = { 894c2404 750a ffc7 893c24 41ffc3 ebcb 85c9 } $pattern_8 = { 488b5c2450 488b742458 488b7c2460 4883c430 } $pattern_9 = { 33d2 488b4c2428 e8???????? 448b842450040000 4503c0 4c8d8c2450040000 488bd7 } condition: 7 of them and filesize < 78848 } rule TRELLIX_ARC_APT_Acidbox_Main_Module_Dll : BACKDOOR FILE { meta: description = "Rule to detect the Main mode component of AcidBox" author = "Marc Rivero | McAfee ATR Team" id = "8c9beb0f-62f7-5788-8340-0b1ecdf54253" date = "2020-07-24" modified = "2020-08-14" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_acidbox.yar#L34-L65" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "eb30a1822bd6f503f8151cb04bfd315a62fa67dbfe1f573e6fcfd74636ecedd5" logic_hash = "db98e204742b8629074d47df301ffcbb2dfb977a4da91557fb50838aae79e777" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Acidbox" actor_type = "APT" actor_group = "Turla" strings: $pattern_0 = { 7707 b8022d03a0 eb05 e8???????? } $pattern_1 = { 4403c8 8bc3 41d1c6 33c6 81c6d6c162ca c1cb02 33c7 } $pattern_2 = { e9???????? 412b5c2418 8b45dc 412b442408 41015c241c 410144240c 015f1c } $pattern_3 = { 48895c2408 57 4883ec30 488bfa 33db 4885c9 7479 } $pattern_4 = { 48895c2408 57 4883ec30 498bd8 488bfa 488364245800 85c9 } $pattern_5 = { 488987e0010000 e9???????? 81cb001003a0 e9???????? 488b87a0010000 44847806 742e } $pattern_6 = { 4d8bcc 4c8d0596c50100 498bd4 488bce e8???????? 498b9de0010000 c74605aa993355 } $pattern_7 = { 4533c0 8d5608 e8???????? 488bf0 4889442460 4885c0 750b } $pattern_8 = { 488d5558 41c1ee08 41b802000000 44887559 e8???????? 4c8b4de0 894718 } $pattern_9 = { 4d03c2 4d3bc2 4d13cc 4d0303 4d3b03 4d8903 4c8b13 } condition: 7 of them and filesize < 550912 } rule TRELLIX_ARC_APT_Acidbox_Ssp_Dll_Module : BACKDOOR FILE { meta: description = "Rule to detect the SSP DLL component of AcidBox" author = "Marc Rivero | McAfee ATR Team" id = "ef1511c5-f650-5e65-937c-466f00932183" date = "2020-07-24" modified = "2020-08-14" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_acidbox.yar#L67-L98" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "003669761229d3e1db0f5a5b333ef62b3dffcc8e27c821ce9018362e0a2df7e9" logic_hash = "4c9b9de11d73587ca1ad1efa5455598e41edc5a9a59fc0339c429a212c1c7941" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Acidbox" actor_type = "APT" actor_group = "Turla" strings: $pattern_0 = { 49897ba0 8bc7 49894398 49897ba8 33c9 49894bb0 } $pattern_1 = { 8b8424a8000000 c1e818 88443108 66895c310a 498b0e } $pattern_2 = { 8b5f48 413bdd 410f47dd 85db 0f84f1000000 488b4720 4885c0 } $pattern_3 = { e8???????? 85c0 78c7 488d9424a0020000 488d8c24e0030000 ff15???????? 4c8bf8 } $pattern_4 = { ff15???????? 488bc8 4c8bc6 33d2 ff15???????? 8bfb 895c2420 } $pattern_5 = { 415f c3 4c8bdc 49895b10 } $pattern_6 = { 488d842488010000 4889442420 41bf???????? 458bcf 4c8bc7 418bd7 488d8c2490000000 } $pattern_7 = { c1e908 0fb6c9 3bce 77b6 8bd0 b9???????? c1ea10 } $pattern_8 = { 4c8bc3 ba???????? 488d4c2438 e8???????? 89442430 85c0 7508 } $pattern_9 = { bb02160480 8bc3 488b5c2440 488b742448 488b7c2450 4883c430 } condition: 7 of them and filesize < 199680 } rule TRELLIX_ARC_Pwnlnx_Backdoor_Variant_1 : BACKDOOR FILE { meta: description = "Rule to detect the backdoor pwnlnx variant 1" author = "Marc Rivero | McAfee ATR Team" id = "5b76ca62-460c-5c36-a239-700cc509f2b0" date = "2020-04-17" modified = "2020-08-14" reference = "https://www.blackberry.com/content/dam/blackberry-com/asset/enterprise/pdf/direct/report-bb-decade-of-the-rats.pdf" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_decade_of_RATs.yar#L3-L33" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "0f6033d6f82ce758b576e2d8c483815e908e323d0b700040fbdab5593fb5282b" logic_hash = "1487890494dde891a6dbe7dff7ebd5660ee01fe10220215e680115f168c2ae4a" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Pwnlnx" actor_type = "Cybercrime" actor_group = "Unknown" strings: $bp = { 7F??4C4602??01??000000000000000002??3E????0000????1A????0000000040000000000000??????0000000000000000000040??????????????1D????????0000????????????000000000000??????4000000000??????4000000000????01??00000000????01??00000000????000000000000????0000??????0000????000000000000????4000000000000002????000000001C??0000000000001C??00000000000001??00000000000001??000005????????0000000000000000??????0000000000004000000000????76??00000000????76??000000000000????00000000????0000????0000000080????00000000????????????0000????????????000038??00000000000080??????00000000000020??0000000002??0000060000????80????0000000028??????????000028??????????0000A0????????0000????????????0000????000000000000??????000004??00001C??0000000000001C??4000000000??????4000000000????000000000000????000000000000??????00000000000050E5??6404??00009C6D0000000000009C6D4000000000??????????????0000DC??000000000000DC??00000000000004??00000000000051E5??64??000000000000000000000000000000000000000000000000000000000000000000000000000000000000????000000000000????6C69????????????2D????????78??78??362D????????6F2E32??04??000010??000001??0000474E5500000000????0000????0000????000000000000????0000??????000001??000006000000000000????000020??0000??????00007D??5A580000000000000000000000000000000000000000000000000000000015????????00000000000000000000??????00000000000082????????00000000000000000000????????????0000????????????00000000000000000000????????????0000??????000012??0000000000000000000062??0000000000006A??000012??000000000000000000001B??0000000000007E??000012??000000000000000000008B??0000000000004902??????00000000000000000000????????????0000????????????00000000000000000000????????00000000??????000012??000000000000000000008E??000000000000F401??????00000000000000000000????????????0000????????????00000000000000000000????000000000000????01??????00000000000000000000????????????0000????0000????000000000000000000000000000000000000????0000????000000000000000000000000000000000000??????000012??0000000000000000000025????????0000????????????00000000000000000000????000000000000????0000????00000000000000000000????000000000000????01??????00000000000000000000????????????0000????0000????00000000000000000000????000000000000????02??????00000000000000000000????????????0000????01??????00000000000000000000??????0000000000006602??????00000000000000000000????????????0000??????000012??0000000000000000000025????????0000????01??????00000000000000000000????000000000000????????????00000000000000000000????000000000000????01??????00000000000000000000????000000000000????0000????00000000000000000000????01??00000000????????????00000000000000000000????????????0000????????????00000000000000000000??????000000000000EC01??????00000000000000000000??????0000000000004B01??????00000000000000000000????????????0000??????000012??0000000000000000000025????????0000????01??????00000000000000000000????????????0000??????000012??0000000000000000000008??0000000000004302??????00000000000000000000????????????0000??????????????000000000000000000000A??0000000000003F01??????00000000000000000000????????????0000??????000012??00000000000000000000F0????00000000????01??????00000000000000000000??????????????00002F02??????00000000000000000000????01??00000000????????????00000000000000000000????000000000000??????????????0000000000000000000080????00000000????02??????00000000000000000000????000000000000??????000012??0000000000000000000074??000000000000BF????????00000000000000000000????????????0000????02??????00000000000000000000??????000000000000FA0000????00000000000000000000????????????0000??????000012??0000000000000000000011??000000000000A8??000012??0000000000000000000044000000000000??????000012??000000000000000000005A000000000000??????000012??0000000000000000000029??000000000000C6????????00000000000000000000????000000000000????????????00000000000000000000????000000000000????0000????00000000000000000000????????00000000????????????00000000000000000000??????000000000000BC????????00000000000000000000????02??00000000????01??????00000000000000000000??????00000000000034??000012??00000000000000000000A1????????0000????????????00000000000000000000????????????0000??????????????000000000000000000004B000000000000????0000????00000000000000000000????000000000000??????000012??0000000000000000000005????????0000??????000012??0000000000000000000031??00000000000074??000012??00000000000000000000FF??0000000000005E02??????00000000000000000000????000000000000????????????00000000000000000000????????????0000??????000012??0000000000000000000025????????0000????02??????00000000000000000000??????000000000000DE??000012??000000000000000000007B??00000000000030??000012??0000000000000000000075??000000000000D9??000012??000000000000000000000E000000000000????????????00000000000000000000????000000000000????02??????00000000000000000000????????????0000????????????00000000000000000000????????????0000????????????00000000000000000000????000000000000????02??????00000000000000000000????000000000000????01??????00000000000000000000????????????0000????????????00000000000000000000????000000000000????????????00000000000000000000??????0000000000005201??????0000????174000000000????00000000000000005F5F676D6F6E5F73??6172??5F5F??????76??52656769????????????6173??6573??6C69????????????61642E????2E30??72??63????72??6D??????68????????5F63????6174????????6E6474????????75??65??????69??????????????6E6F5F6C6F63????69????????????6B????74??72??6164??73??676D6173????????6E6E6563??????74??72??6164??73??6C66??????63????74??70??68????????5F6465????63????6663????6C????????63??73??2E????????63????74??73??72??70????????69????????????????????616E64??????6574??6174??6E??????74??77??69??????????????6469????????????5F6E74??61??????74??72??69??????????????70??????????6D6F6E????????74??6E??????6C6563??????6B????????72??616C6C6F63??676574??69??????????????73??72??6F6B????63????77????????70??6173??72??3634??73??67656D70??79??6574??6D656D73??74??72??6469??????????????????6565??????68????????6173??74??6D65??????74??6F63????70????????616E74??74??6475??32??73??67616464????74??69????????????6472??6663??????65??????74??6F63????70????????6C6C6F63??73??72??6174??72??616C70??74????????6D6F76????????656E6469????????????6C??????74??6F73??62????616D65??????6563??????????72??74????????656164??????6C6F63????74??6C6F63????74??6D65??????616E6469????????????616464??????????????6565????73??74??69????????????????????6D6D6F76????????70??6E3634??5F5F6C69????????????72??5F6D6169????????????73??73??70??69????????????65????????78??74??74??34??474C4942435F32??32??35????????42435F32??33??000002??02??02??03??02??02??02??03??03??02??02??02??0000000002??02??02??02??02??03??02??02??02??02??02??02??02??02??03??02??02??02??04??02??02??03??02??03??02??02??02??03??02??02??02??02??02??03??02??02??02??02??02??02??03??02??02??03??02??02??02??03??02??03??02??03??02??02??02??02??02??02??03??03??03??02??02??02??02??02??000001??01??24??000010??000020??000075??69??????????9602??00000000????????????????????000000000000????69????????????A2????????0000??????69??????????9602??00000000????81????????????060000????????????000000000000????81????????????070000????00000000000000000000????81????????????070000????00000000000000000000????81????????????070000????00000000000000000000000082??????0000????0000??????0000000000000000000008??????????0000070000????????????000000000000????82??????0000????0000????00000000000000000000????82??????0000????0000????00000000000000000000????82??????0000????0000????00000000000000000000????82??????0000????0000????00000000000000000000????82??????0000????0000????00000000000000000000????82??????0000????0000????00000000000000000000??????6000000000????0000??????000000000000000000004882??????0000????0000????00000000000000000000??????6000000000????0000????00000000000000000000??????6000000000????0000????00000000000000000000??????6000000000????0000????00000000000000000000??????6000000000????0000????00000000000000000000??????6000000000????0000?????? } condition: uint16( 0 ) == 0x457f and filesize < 100KB and all of them } rule TRELLIX_ARC_Pwnlnx_Backdoor_Variant_2 : BACKDOOR FILE { meta: description = "Rule to detect the backdoor pwnlnx variant 2" author = "Marc Rivero | McAfee ATR Team" id = "c4ee686b-49d9-5566-b749-1144a19c1fee" date = "2020-04-17" modified = "2020-08-14" reference = "https://www.blackberry.com/content/dam/blackberry-com/asset/enterprise/pdf/direct/report-bb-decade-of-the-rats.pdf" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_decade_of_RATs.yar#L35-L65" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "08cc67002782cbafd97a4bff549d25dd72d6976d2fdf79339aaf5a3ff7c3107e" logic_hash = "08ea40ba72677263a41f62097fc38040361ba595d67cb04979b66548c7f4d271" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Pwnlnx" actor_type = "Cybercrime" actor_group = "Unknown" strings: $bp = { 7F??4C4602??01??000000000000000002??3E????0000000004??00000000??????00000000000088????????????00000000??????38??05????????????????0000????????????0000000000000000??????0000000000004000000000??????0D??????????????0D????????0000????00000000????0000????0000????????????0000????????????0000????????????0000????12??00000000????????????00000000????00000000??????000004??00005801??00000000??????4000000000??????4000000000????????00000000????????00000000??????000000000000070000??????000080??????0000000080??????0000000080??????0000000028??00000000000070??00000000000008??00000000000051E5??64??000000000000000000000000000000000000000000000000000000000000000000000000000000000000????000000000000??????000010??000001??0000474E5500000000????0000????0000????0000??????000014??000003??0000474E55????????????CC78??78??83????????????CB371F0000000080??????0000000025????????0000????7E??00000000????????????0000????????????0000??????4200000000????????????0000????????????0000????????????0000????????????0000????????????0000????????????0000????????????0000????????????0000????????????0000????????????0000????????????0000??????4200000000????????????0000????????????0000??????4200000000????????????0000????????????0000????????????0000????76??00000000????????????0000????8B????00000000C8??????0000000025????????0000??????4200000000????76??00000000????????????0000????444200000000????76??00000000????????????0000??????4900000000????76??00000000????????????0000??????4600000000????76??00000000????????????0000????424200000000??????EC08??33??0000E8????????E8????????4883????C3FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????00000000000000000000000000000000000000000000000031??4989??5E4889??4883????505449C7??????????48C7??????????48C7??????????E8????????F490904883????488B??????????4885??74??FF??4883????C390909090909090909090909090554889??534883????80????????????75??BB????????488B??????????4881??????????48C1????4883????4839??73??660F1F??????4883????4889??????????FF????????????488B??????????4839??72??B8????????4885??74??BF????????E8????????C6????????????4883????5BC9C30F1F????????????55B8????????4885??4889??74??BE????????BF????????E8????????4883????????????74??B8????????4885??74??BF????????C9FF??0F1F??????????C9C39090554889??534881??????????89??????????48C7????????????8B????3D????????0F87????????8B????89??488D??????????8B??????????4889??89??E8????????85??0F84????????8B????89??488D??????????89??4889??E8????????BA????????488D??????????4889??4889??E8????????4889????4883??????0F84????????488D??????????488D??????????4889??4889??E8????????85??0F85????????488B??????????4889????C7????????????488B????89????488B????48C1????89????488B????4889????488B????4889??????488B????4889??????E8????????89????BE????????488D????E8????????488D????8B??????????BA????????4889??89??E8????????85??0F84????????488D????8B??????????BA????????4889??89??E8????????85??0F84????????BE????????488D????E8????????8B????488B????4889????488B????4889??????488B????4889??????E8????????39??0F85????????8B????89??4889??48C1????8B????89??488D????4889????488B????488B????BA????????4889??4889??E8????????488B????4889????EB??488B????488D??????????4889??BA????????BE????????4889??E8????????89????83??????7E??8B????488D??????????89??4889??E8????????8B????4863??488D??????????8B??????????4889??89??E8????????85??74??8B????48984801????488B????483B????7C??EB??90EB??90EB??90EB??90EB??90EB??90488B????4889??E8????????EB??90EB??90EB??90B8????????4881??????????5BC9C3554889??534881??????????4889??????????E8????????4889??E8????????C7????????????488B??????????8B????89????488B??????????8B??89????488B??????????8B????89????8B????8B????BA????????89??89??E8????????89????83??????0F84????????488D????BA????????BE????????4889??E8????????C7????????????C7????????????8B????89????488B????4889????488B????4889??????488B????4889??????E8????????89????488D????BE????????4889??E8????????488D????8B????BA????????4889??89??E8????????85??0F84????????488D??????????4889??E8????????488D??????????BE????????4889??E8????????488D??????????8B????BA????????4889??89??E8????????85??0F84????????488D????8B????BA????????4889??89??E8????????85??74??488D????BE????????4889??E8????????8B????488B????4889????488B????4889??????488B????4889??????E8????????39??75??8B????83????75??8B????488B????4889????488B????4889??????488B????4889??????89??E8????????EB??90EB??90EB??90EB??90EB??908B????89??E8????????B8????????4881??????????5BC9C390554889??4889????89????C7????????????488B????4889????C7????????????EB??488B????0FB6??8B????89??C1????F7????89??48980FB6??????????89??31??488B????88??83??????4883??????8B????3B????7C??488B????C9C3554889??4889????89????488B????4889????C7????????????EB??488B????0FB6??0FB6??????????31??488B????88??83??????4883??????8B????3B????7C??488B????C9C39090554889??534881??????????89??????????48C7????????????48C7????????????48C7????????????8B????89??488D??????????8B??????????4889??89??E8????????85??0F84????????8B????89??488D??????????89??4889??E8????????488D??????????488D??????????4889??4889??E8????????BA????????488D??????????488D??????????BE????????4889??B8????????E8????????488D??????????4889??E8????????4883????4889??E8????????4889????4883??????0F84????????488D??????????488B????4889??4889??E8????????488D??????????488D????B9????????BA????????4889??4889??E8????????89????83??????0F8E????????C7????????????E9????????488B????8B????4863??48C1????4801??488B??488D????BA????????488D??????????488D??????????4989??BE????????4889??B8????????E8????????488D??????????488D??????????4889??4889??E8????????85??0F85????????48C7????????????48C7????????????488D??????????4883????4889??E8????????4889??E8????????488B??????????8B??????????4189??4181??????????8B??????????89??81??????????488B????8B????4863??48C1????4801??488B??488D????BA????????488D??????????4889??????4889??????488B????4889??????488B????4889????4589??4189??4889??BE????????4889?? } condition: uint16( 0 ) == 0x457f and filesize < 1000KB and all of them } rule TRELLIX_ARC_Pwnlnx_Backdoor_Variant_3 : BACKDOOR FILE { meta: description = "Rule to detect the backdoor pwnlnx variant" author = "Marc Rivero | McAfee ATR Team" id = "02ea1eb2-7235-5ed5-86ba-19d52e8fb428" date = "2020-04-17" modified = "2020-08-14" reference = "https://www.blackberry.com/content/dam/blackberry-com/asset/enterprise/pdf/direct/report-bb-decade-of-the-rats.pdf" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_decade_of_RATs.yar#L67-L97" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "08f29e234f0ce3bded1771d702f8b5963b144141727e48b8a0594f58317aac75" logic_hash = "8a1405f430ce57810577f65ef43a1425601bf49b5adb4f6f935505427ad9dc94" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Pwnlnx" actor_type = "Cybercrime" actor_group = "Unknown" strings: $bp = { 7F??4C4602??01??000000000000000002??3E????0000000004??00000000??????000000000000B0??3A??000000000000000040??????????????????????01??000005????????0000000000000000??????0000000000004000000000????????????0000????????????00000000????00000000????0000????0000????A40C??00000000C0??????????????C0??????????????5013??00000000????????????00000000????00000000??????000004??00005801??00000000??????4000000000??????4000000000????000000000000????000000000000??????000000000000070000??????0000C0??????????????C0??????????????C0??????????????28??00000000000078??00000000000008??00000000000051E5??64??000000000000000000000000000000000000000000000000000000000000000000000000000000000000????000000000000??????000010??000001??0000474E5500000000????0000??????000000000000C0????????????????????????0000????84????00000000C8??????0000000025????????0000????374200000000????A56C00000000????????????0000????????????0000????A56C00000000????????????0000??????4200000000????A56C00000000????????????0000????24??00000000????A56C00000000????????????0000????????????0000????A56C00000000????????????0000????83??????0000????A56C00000000????????????0000????5E42000000000000A66C00000000????????????0000??????4200000000????A66C00000000????????????0000????914200000000????A66C00000000????????????0000??????4200000000????A66C00000000????????????0000????????????0000????A66C00000000????????????0000????????????0000????A66C00000000????????????0000??????4200000000????A66C00000000????????????0000??????4200000000??????EC08??4301??????62??0000E8????????4883????C3FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????00000000000000000000000000000000000000000000000031??4989??5E4889??4883????505449C7??????????48C7??????????48C7??????????E8????????F490904883????488B??????????4885??74??FF??4883????C390909090909090909090909090B8????????55482D????????4883????4889??76??B8????????4885??74??5DBF????????FF??660F1F????????????5DC366666666????????????????????BE????????554881??????????48C1????4889??4889??48C1????4801??48D1??74??B8????????4885??74??5DBF????????FF??0F1F??5DC3660F1F??????80????????????75??554889??53BB????????4881??????????4883????488B??????????48C1????4883????4839??73??660F1F??????4883????4889??????????FF????????????488B??????????4839??72??E8????????B8????????4885??74??BF????????E8????????C6????????????4883????5B5DF3??669055B8????????4885??4889??74??BE????????BF????????E8????????BF????????4883????75??5DE9????????6690B8????????4885??74??FF??EB??9090554889??534881??????????89??????????48C7????????????8B????3D????????76??E9????????8B????89??488D??????????8B??????????4889??89??E8????????85??75??E9????????8B????89??488D??????????89??4889??E8????????488D??????????BE????????4889??E8????????4889????4883??????75??E9????????488D??????????488D??????????4889??4889??E8????????85??74??E9????????488B??????????4889????C7????????????488B????89????488B????48C1????89????4883????FF????FF????FF????E8????????4883????89????BE????????488D????E8????????8B??????????BA????????488D????89??E8????????85??75??E9????????8B??????????BA????????488D????89??E8????????85??75??E9????????BE????????488D????E8????????8B????4883????FF????FF????FF????E8????????4883????39??74??E9????????8B????89??48C1????4889??8B????89??4801??4889????488B????488B????BA????????4889??4889??E8????????488B????4889????EB??488B????488D??????????4889??BA????????BE????????4889??E8????????89????83??????7F??EB??8B????488D??????????89??4889??E8????????8B????4863??488D??????????8B??????????4889??89??E8????????85??75??EB??8B????48984801????488B????483B????7C??488B????4889??E8????????B8????????488B????C9C3554889??534881??????????4889??????????E8????????4889??E8????????C7????????????488B??????????8B????89????488B??????????8B??89????488B??????????8B????89????8B????8B????BA????????89??89??E8????????89????83??????75??E9????????488D????BA????????BE????????4889??E8????????C7????????????C7????????????8B????89????4883????FF????FF????FF????E8????????4883????89????488D????BE????????4889??E8????????488D????8B????BA????????4889??89??E8????????85??75??E9????????488D??????????4889??E8????????488D??????????BE????????4889??E8????????488D??????????8B????BA????????4889??89??E8????????85??75??EB??488D????8B????BA????????4889??89??E8????????85??75??EB??488D????BE????????4889??E8????????8B????4883????FF????FF????FF????E8????????4883????39??74??EB??8B????83????74??EB??8B????4883????FF????FF????FF????89??E8????????4883????908B????89??E8????????B8????????488B????C9C3554889??4889????89????C7????????????488B????4889????C7????????????EB??488B????0FB6??8B????99F7????89??48980FB6??????????31??89??488B????88??83??????4883??????8B????3B????7C??488B????5DC3554889??4889????89????488B????4889????C7????????????EB??488B????0FB6??0FB6??????????31??488B????88??83??????4883??????8B????3B????7C??488B????5DC39090554889??534881??????????89??????????48C7????????????48C7????????????48C7????????????8B????89??488D??????????8B??????????4889??89??E8????????85??75??E9????????8B????89??488D??????????89??4889??E8????????488D??????????488D??????????4889??4889??E8????????488D??????????488D??????????4889??BA????????BE????????4889??B8????????E8????????488D??????????4889??E8????????4883????4889??E8????????4889????4883??????75??E9????????488D??????????488B????4889??4889??E8????????488D????488D??????????B9????????BA????????4889??E8????????89????83??????0F8E????????C7????????????E9????????488B????8B????4863??48C1????4801??488B??488D????488D??????????488D??????????4989??4889??BA????????BE????????4889??B8????????E8????????488D??????????488D??????????4889??4889??E8????????85??0F85????????48C7????????????48C7????????????488D??????????4883????4889??E8????????4889??E8????????4989??488B??????????8B??????????25????????89??8B??????????25????????89??488B????8B????4863??48C1????4801??488B??488D????488D??????????415052FF????FF????4189??4189??BA????????BE????????4889??B8????????E8????????4883????488B????4889??E8????????4889??488D?????????? } condition: uint16( 0 ) == 0x457f and filesize < 4000KB and all of them } rule TRELLIX_ARC_Pwnlnx_Backdoor_Variant_4 : BACKDOOR FILE { meta: description = "Rule to detect the backdoor pwnlnx variant 4" author = "Marc Rivero | McAfee ATR Team" id = "199bb534-f0f6-5b67-aedd-3eada5e45cc6" date = "2020-04-17" modified = "2020-08-14" reference = "https://www.blackberry.com/content/dam/blackberry-com/asset/enterprise/pdf/direct/report-bb-decade-of-the-rats.pdf" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_decade_of_RATs.yar#L99-L129" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "2590ab56d46ff344f2aa4998efd1db216850bdddfc146d5d37e4b7d07c7336fc" logic_hash = "11203beee446aaf0783d3a8d3839a88ef16c27d52be8670d650ebf6a1de2c3aa" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Pwnlnx" actor_type = "Cybercrime" actor_group = "Unknown" strings: $bp = { 7F??4C4602??01??000000000000000001??3E????000000000000000000000000000000000000????????????000000000000??????0000000040??????????????000014??000003??0000474E55????9FECFBE5??F973??EB??2A??????????71??BD????????0000000000000000554889??53E8????????FF????????????4889??4889??4881??????????FF????????????4889??5BC9C30F1F??????554889??E8????????FF????????????C9C366666666????????????????????554889??E8????????4885??74??4C8B????4D85??74??65??8B????????????8B??????????4889??????????48C7??????????89??C1????C1????01??25????????29??48984C89????????????FF??????????C9C3660F1F????????????31??C9C36666662E????????????????554889??E8????????4889??????????48C7??????????FF??????????C9C390554889??E8????????8B??????????488B??????????488D????0FB6????3C??400F94??3C??410F94??74??4084??75??B8????????C9C30F1F????????????8B??????????39????74??3B????74??4584??74??8B??????????4801??0FB7??????????66????74??66??????75??4889??41FF??B8????????C9C30F1F??4084??74??8B??????????4801??0FB7??????????66????75??EB??0F1F????554889??534883????E8????????31??4889??31??E8????????483D????????77??4885??74??488B????488B????488B????488B????4889??????????31??4889??E8????????31??4883????5BC9C383????EB??662E0F1F????????????554889??415453E8????????4989??4889??31??31??E8????????483D????????77??488B????31??4889??488B????488B????488B????488B??????????4989????4889??????????E8????????31??5B415CC9C383????EB??0F1F??????554889??534883????E8????????31??4889??31??E8????????483D????????77??4885??74??488B????488B????488B????488B????4889??????????31??4889??E8????????31??4883????5BC9C383????EB??662E0F1F????????????554889??415453E8????????4989??4889??31??31??E8????????483D????????77??488B????31??4889??488B????488B????488B????488B??????????4989????4889??????????E8????????31??5B415CC9C383????EB??0F1F??????554889??534883????E8????????31??4889??BE????????E8????????483D????????77??4885??74??488B????4889????31??4889??E8????????31??4883????5BC9C383????EB??660F1F??????554889??415453E8????????4989??4889??BE????????31??E8????????483D????????77??488B????31??4889??488B????4989????488B????4889????E8????????31??5B415CC9C383????EB??554889??4157415641554154534883????E8????????4889??488D????4989??4189??4889??BA????????4989??4489????4D89??E8????????488B??????????448B????4881??????????488D????75??EB??0F1F????488B????4881??????????488D????74??0FB7????4839??75??4883????31??5B415C415D415E415FC9C30F1F??????4D89??4C89??4489??4889??4C89??FF??????????4883????5B415C415D415E415FC9C30F1F????554889??4157415641554154534883????E8????????65??8B????????????4889????4889????4189??8B??????????4889??B9????????48C7??????????4889??4D89??4589??89??C1????C1????01??25????????29??F3A648984C8B????????????0F84????????B9????????48C7??????????4889??F3A60F84????????31??4585??4889??4889????4489????74??418D??????31??488D??????0FB6??4883????4889??48C1????48C1????4801??4801??4839??488D????488D????75??89????488D????4C89??E8????????4885??4889??0F84????????488B????4885??74??81????????????0F84????????488B??????????483D????????4C8D????75??EB??0F1F??????498B????483D????????4C8D????74??498B??4889??E8????????85??75??31??4883????5B415C415D415E415FC9C34589??4D89??488B????4489??4889??488B????FF??????????4883????5B415C415D415E415FC9C30F1F??????????81????????????0F85????????31??EB??488D????4C89??E8????????4885??4889??74??498B????488B??????????488B????4885??74??31??4889??4889????FF??4885??488B????0F84????????31??E9????????0F1F????????????554889??534883????E8????????89??488B??????????4881??????????488D????74??66??????75??EB??0F1F????66??????74??488B????483D????????488D????4889??75??4883????5BC9C3E8????????4889??E8????????4883????5BC9C36666662E????????????????554889??534883????E8????????89??488B??????????4881??????????488D????74??66??????75??EB??0F1F????66??????74??488B????483D????????488D????4889??75??4883????5BC9C3E8????????4889??E8????????4883????5BC9C36666662E????????????????554889??534883????E8????????89??488B??????????4881??????????488D????74??66??????75??EB??0F1F????66??????74??488B????483D????????488D????4889??75??4883????5BC9C3E8????????4889??E8????????4883????5BC9C36666662E????????????????554889??534883????E8????????89??488B??????????4881??????????488D????74??66??????75??EB??0F1F????66??????74??488B????483D????????488D????4889??75??4883????5BC9C3E8????????4889??E8????????4883????5BC9C36666662E????????????????554889??534883????E8????????89??488B??????????4881??????????488D????74??66??????75??EB??0F1F????66??????74??488B????483D????????488D????4889??75??4883????5BC9C3E8????????4889??E8????????4883????5BC9C36666662E????????????????554889??41554154534883????E8????????4C8B??????????4989??4981??????????498D??????75??EB??0F1F????4C8B????4981??????????498D??????74??488B??4C89??E8????????85??75??4C89??E8????????488B??E8????????4889??E8????????4883????5B415C415DC9C36666662E????????????????554889??534883????E8????????488B??????????BA????????89??BF????????E8????????4885??74??66????488B??????????488D????48C7??????????E8????????4883????5BC9C30F1F????554889??534883????E8????????488B??????????BA????????89??BF????????E8????????4885??74??66????488B??????????488D????48C7??????????E8????????4883????5BC9C30F1F????554889??534883????E8????????488B??????????BA????????89??BF????????E8????????4885??74??66????488B??????????488D????48C7??????????E8????????4883????5BC9C30F1F????554889??534883????E8????????488B??????????BA????????89??BF????????E8????????4885??74??66????488B??????????488D????48C7??????????E8????????4883????5BC9C30F1F????554889?? } condition: uint16( 0 ) == 0x457f and filesize < 400KB and all of them } rule TRELLIX_ARC_Pwnlnx_Backdoor_Variant_6 : BACKDOOR FILE { meta: description = "Rule to detect the backdoor pwnlnx variant 6" author = "Marc Rivero | McAfee ATR Team" id = "56bfe9c7-4cd4-51f6-a469-da8af52d64c2" date = "2020-04-17" modified = "2020-08-14" reference = "https://www.blackberry.com/content/dam/blackberry-com/asset/enterprise/pdf/direct/report-bb-decade-of-the-rats.pdf" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_decade_of_RATs.yar#L131-L161" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "d29254ab907c9ef54349de3ec0dd8b22b4692c58ed7a7b340afbc6e44363f96a" logic_hash = "29423135a46ee7b9aa1bd8f1e6f7ffad09725787ad6e75312e1d34b18e3917d4" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Pwnlnx" actor_type = "Cybercrime" actor_group = "Unknown" strings: $bp = { 7F??4C4602??01??000000000000000001??3E????000000000000000000000000000000000000??????09??00000000000000004000000000??????2B??28??04??000014??000003??0000474E55????4D9585????AB6522????52AD3B??EC9B4BE8????????0000000000000000????00000000554889??????????4889??41544989??534889??488B??????????E8????????4C89??4889??48C7??????????FF??????????488B??????????89??E8????????89??5B415C5DC30F1F??E8????????554889??????????4889??41544989??534889??488B??????????E8????????4C89??4889??48C7??????????FF??????????488B??????????89??E8????????89??5B415C5DC30F1F??E8????????554889??415541544989??534889??4883????488B??????????65??8B????????????4889????31??E8????????4889??4C89??FF??????????488B??????????4189??E8????????488B??????????483D????????488D????75??EB??0F1F??????488B????4881??????????488D????74??0FB7??488D????48C7??????????31??E8????????498B????498B??????488D????488D????????????BA????????E8????????4885??74??4981??????????????488B????65??33????????????4489??75??4883????5B415C415D5DC3E8????????0F1F??E8????????554889??415541544989??534889??4883????488B??????????65??8B????????????4889????31??E8????????4889??4C89??FF??????????488B??????????4189??E8????????488B??????????483D????????488D????75??EB??0F1F??????488B????4881??????????488D????74??0FB7??488D????48C7??????????31??E8????????498B????498B??????488D????488D????????????BA????????E8????????4885??74??4981??????????????488B????65??33????????????4489??75??4883????5B415C415D5DC3E8????????0F1F??E8????????554889??415541544989??534889??4883????488B??????????65??8B????????????4889????31??E8????????4889??4C89??FF??????????488B??????????4189??E8????????488B??????????483D????????488D????75??EB??0F1F??????488B????4881??????????488D????74??0FB7??488D????48C7??????????31??E8????????498B????498B??????488D????488D????????????BA????????E8????????4885??74??4981??????????????488B????65??33????????????4489??75??4883????5B415C415D5DC3E8????????0F1F??E8????????554889??415541544989??534889??4883????488B??????????65??8B????????????4889????31??E8????????4889??4C89??FF??????????488B??????????4189??E8????????488B??????????483D????????488D????75??EB??0F1F??????488B????4881??????????488D????74??0FB7??488D????48C7??????????31??E8????????498B????498B??????488D????488D????????????BA????????E8????????4885??74??4981??????????????488B????65??33????????????4489??75??4883????5B415C415D5DC3E8????????0F1F??E8????????554889??41574589??415641554189??4154534889??4883????488B??????????4889????4889????4C89????483D????????4C8D????74??4C63??EB??0F1F??????498B????483D????????4C8D????74??498B??4C89??4889??E8????????85??75??4883????5B415C415D415E415F5DC30F1F??????????4589??4C8B????488B????4489??4889??488B????FF??????????4883????5B415C415D415E415F5DC3660F1F??????E8????????554889??41574589??41564D89??41554989??41544189??BA????????534889??488D????4883????4889????4889??65??8B????????????4889????31??E8????????488B??????????4881??????????488D????74??0FB7????4839??75??EB??0F1F????????????410FB7????4839??74??4C8B????4981??????????498D????75??4589??4D89??4C89??4489??4889??488B????FF??????????488B????65??33????????????75??4883????5B415C415D415E415F5DC3660F1F??????31??EB??E8????????0F1F??????662E0F1F????????????E8????????55BF????????4889??4881??????????65??8B????????????4889????31??488D??????????FF????????????B9????????4889??488D??????????F3??A5488D??????????48C7??????????BE????????B1??E8????????4885??74??48BA???????? } condition: uint16( 0 ) == 0x457f and filesize < 700KB and all of them } rule TRELLIX_ARC_Mirai_Casper_Variant : BACKDOOR FILE { meta: description = "Rule to detect the Mirai Casper variant" author = "Marc Rivero | McAfee ATR Team" id = "0f3a028c-9514-51cd-ad82-415e8ac2dee7" date = "2020-04-17" modified = "2020-08-14" reference = "https://www.blackberry.com/content/dam/blackberry-com/asset/enterprise/pdf/direct/report-bb-decade-of-the-rats.pdf" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_decade_of_RATs.yar#L163-L193" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "57cc422a6a90c571198a2d1c3db13c31fbdb48ba2f0f4356846d6d636d0f9300" logic_hash = "5449d1ef0c4977c6151fc194ad5f526b6be414c1efb7fd4bacb77d4bcd89c703" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Pwnlnx" actor_type = "Cybercrime" actor_group = "Unknown" strings: $bp = { 7F??4C4601??01??000000000000000002??03??01??0000E0??04??34??000088??????????000034??20??05????????????????000000000000000080??????80??????15????????0C??05????????10??????0000??????0C??40A510??40A510??80??????904A0000060000000010????????0000D4??0000D4??04??D4??04??440000??????????????000004??0000070000??????0C??40A510??40A510??14??000030??000004??000004??000051E5??64????000000000000000000000000000000000000060000??????000004??000010??000001??0000474E5500000000????0000????0000????0000??????000014??000003??0000474E55??????3A??87????529723????2C??08??????AB35????????2A??0000BC????????0000????A510??2A??0000C4??????????0000C8??????2A??0000CCA510??2A??00005589??5383????E8????????5B81??????????8B??????????85??74??E8????????E8????????E8????????585BC9C3FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????FF??????????68????????E9????????000000000000000031??5E89??83????50545268????????68????????515668????????E8????????F490909090909090909090909090905589??538D??????80????????????75??BB????????A1????????81??????????C1????83????39??73??908D??????83????A3????????FF????????????A1????????39??72??B8????????85??74??C7????????????E8????????C6????????????8D??????5B5DC3908D??????55B8????????89??8D??????E8????????5A81??????????85??74??89??????C7??????????????C7??????????????C7????????????E8????????A1????????85??74??B8????????85??74??C7????????????FF??C9C39090905589??83????8B????88????A1????????85??74??A1????????0FB6????88??83????A3????????EB??C7??????????????8D????89??????C7????????????E8????????C9C35589??83????EB??8B????0FB6??0FBE??83??????89????E8????????8B????0FB6??84??75??C9C35589??83????8B????0FB6??88????83??????80??????0F84????????80??????74??0FBE????89????E8????????E9????????C7????????????8B????0FB6??88????83??????80??????75??C7????????????8B????0FB6??88????83??????EB??80??????75??C7????????????8B????0FB6??88????83??????C7????????????EB??8B????89??C1????01??01??89??0FBE????8D????83????89????8B????0FB6??88????83??????80??????7E??80??????7E??80??????74??80??????75??83??????8B????0FB6??88????83??????80??????0F84????????0FB6????88????80??????7E??0FB6????83????88????0FBE????83????83????0F87????????8B????????????FF??8B????8D????89????8B??89????C7????????????EB??83??????8B????8B????8D????0FB6??84??75??EB??C7????????????E8????????8B????83????85??75??8B????3B????0F92??83??????84??75??8B????89????E8????????EB??C7????????????E8????????8B????3B????0F92??83??????84??75??E9????????8B????8D????89????8B??0FBE??89????E8????????E9????????C7????????????EB??C7????????????EB??C7????????????EB??C7????????????EB??0FBE????89????E8????????E9????????8B????83????85??74??8B????8D????89????8B??EB??80??????75??8B????8D????89????8B??EB??8B????8D????89????8B??89????80??????75??8B????85??79??F7????83??????C7????????????8B????BA????????F7????89??88????8B????BA????????F7????89????80??????7E??80??????75??B8????????EB??B8????????0FB6????01??88????8B????0FB6????83????88??????83??????83??????74??83??????76??8B????83????85??74??8B????C6????????83??????8B????89????8B????83????84??74??B8????????EB??B8????????88????EB??0FBE????89????E8????????8B????83????85??75??8B????3B????0F92??83??????84??75??83??????8B????0FB6??????0FBE??89????E8????????83??????75??EB??C7????????????E8????????8B????3B????0F92??83??????84??75??E9????????E9????????90EB??90C9C35589??83????8D????89????8B????89??????8B????89????E8????????C9C35589??83????8B????8B????88????88????C9C35589??57565381??????????8B????8B????88??????????88??????????C7??????????????????C7??????????????????0FB6??????????C7??????????????C7??????????????8B????89??????89????E8????????89??????????0FB6??????????C7??????????????C7??????????????8B????89??????89????E8????????89??????????0FB6??????????C7??????????????C7??????????????8B????89??????89????E8????????89??????????0FB6??????????C7??????????????C7??????????????8B????89??????89????E8????????89??????????0FB6??????????C7??????????????C7??????????????8B????89??????89????E8????????89??????????0FB6??????????C7??????????????C7??????????????8B????89??????89????E8????????66????????????8D??????????BA????????89??????C7??????????????89????E8????????83????????????0F84????????83????????????0F84????????8B??????????89????E8????????3D????????0F8F????????8B??????????89????E8????????83????0F8F????????8B??????????89????E8????????83????0F8F????????C7??????????????????EB??8B??????????03??????????0FB6??3C??7E??8B??????????03??????????0FB6??3C??7F??8B??????????03??????????8B??????????03??????????0FB6??83????88??8B??????????83????89??????????8B??????????89????E8????????8B??????????39??7F??81??????????????????7E??C7??????????????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????C7????????????E8????????8B??????????C7??????????????89????E8????????89??????????C7??????????????????E9????????8B??????????69??????????03??????????C6??????8B??????????69??????????03??????????C7??????????8B??????????69??????????89??03??????????0FB6??????????8B??????????89??C1????F7??89??89??89??01??01??C1????03????8B????89????8B??????????69??????????03??????????8D??????????8B??????????89??????89????E8????????8B??????????69??????????03??????????0FB6??????????3C??74??8B??????????69??????????03??????????05????????89????E8????????8B??????????69??????????03??????????8D??????????8B??????????69??????????03??????????81??????????83????89??????89??????89????E8????????8B??????????69??????????03??????????C6????????????8B??????????69??????????03??????????8D??????????8B??????????89??????89????E8????????8B??????????69??????????03??????????8D??????????8B??????????89??????89????E8????????8B??????????69??????????03??????????8D??????????8B??????????89??????89????E8????????0FB6??????????8B??????????89??C1????F7??89??89??89??01??01??C1????03????0FB6????3C??0F87????????8B??????????69??????????89??03??????????0FB6??????????8B??????????89??C1????F7??89??89??89??01??01??C1????03????8B????89????E8????????89??E8????????89??0FB6??????????8B??????????89??C1????F7??89??89??89??01??01??C1????03????0FB6????0FB6??89??89??D3??89??8D????89????E8????????89????E8????????89??BA????????89??F7??89??C1????89??C1????01??89??29??83????0F87????????8B????????????FF??C7????????????E8????????C7??????????????C7????????????E8????????8B??????????69??????????03??????????83????89??????89????E8????????C7????????????E8????????E9????????C7????????????E8????????C7??????????????C7????????????E8????????8B??????????69??????????03??????????83????89??????89????E8????????C7????????????E8????????E9????????C7????????????E8????????C7??????????????C7????????????E8????????8B??????????69??????????03??????????83????89??????89????E8????????C7???????????? } condition: uint16( 0 ) == 0x457f and filesize < 3000KB and all of them } rule TRELLIX_ARC_APT_Stolen_Certificates : BACKDOOR FILE { meta: description = "Rule to detect samples digitally signed from these stolen certificates" author = "Marc Rivero | McAfee ATR Team" id = "57051977-780c-5c8e-bc66-0f1d8b3bbd93" date = "2020-04-17" modified = "2020-08-14" reference = "https://www.blackberry.com/content/dam/blackberry-com/asset/enterprise/pdf/direct/report-bb-decade-of-the-rats.pdf" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_decade_of_RATs.yar#L196-L221" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "ce3424524fd1f482a0339a3f92e440532cff97c104769837fa6ae52869013558" logic_hash = "9b700e4889349d0203bdd4e00035ee9c9aba5025ccc57eef915b2c78996f8160" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Pwnlnx" actor_type = "Cybercrime" actor_group = "Unknown" condition: uint16( 0 ) == 0x5a4d and for any i in ( 0 .. pe.number_of_signatures ) : ( pe.signatures [ i ] . subject contains "/C=KR/ST=Seoul/L=Gangnam-gu/O=LivePlex Corp/CN=LivePlex Corp" and pe.signatures [ i ] . serial == "3f:55:42:e2:e7:1d:8d:b3:57:04:1c:9d:d4:5b:95:0a" or pe.signatures [ i ] . subject contains "/C=KR/ST=Seoul/L=Gangnam-gu/O=LivePlex Corp/CN=LivePlex Corp" and pe.signatures [ i ] . serial == "3f:55:42:e2:e7:1d:8d:b3:57:04:1c:9d:d4:5b:95:0a" or pe.signatures [ i ] . subject contains "/C=KR/ST=Seoul/L=Gangnam-gu/O=LivePlex Corp/CN=LivePlex Corp" or pe.signatures [ i ] . serial == "3f:55:42:e2:e7:1d:8d:b3:57:04:1c:9d:d4:5b:95:0a" ) } rule TRELLIX_ARC_APT_Winnti : BACKDOOR FILE { meta: description = "Detects Winnti variants" author = "McAfee ATR Team" id = "f12b039a-2508-580f-b777-428bbda2c666" date = "2020-06-04" modified = "2020-10-14" reference = "https://attack.mitre.org/software/S0141/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_winnti.yar#L1-L27" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "fd539d345821d9ac9b885811b1f642aa1817ba8501d47bc1de575f5bef2fbf9e" logic_hash = "f94b2c552fbb30e1005e5c75a2f449d60b9558a0916197bed41bf32c6477daef" score = 75 quality = 70 tags = "BACKDOOR, FILE" rule_version = "v1" malware_type = "backdoor" malware_family = "Backdoor:W32/Winnti" actor_type = "Apt" actor_group = "Unknown" strings: $pattern = { 9090909090909090909090909090C7????????????C2????90909090909081??????????E9????????CCCCCCCCCC8A??????8B??????538A??8A??568B??578B??????8B??C1????66????8B??C1????F3AB8B??83????F3AA8B??5F5E5BC390909090909090909090909090909083????5333??568D??????535089??????89??????E8????????8A??33??3A??8D??????0F94??83????5389??????528B??89??????C6????????E8????????8B??33??81??????????8D??????0F94??6A??89??????5223??89??????C6????????C6????????E8????????33??66????8D??????6A??0F94??89??????89??????5223??C6????????C6????????E8????????8B??83????33??3B??0F94??23??5E495BF7??1B??8B??83????C38B??????8B??????03??C390909090908B??????85??0F84????????8B??????83????74??83????75??8B??????83????74??83????75??8B??????83????74??83????75??8B??????83????74??83????75??8B??????83????74??83????75??8B??????83????74??83????75??8B??????83????74??83????75??8B??????83????74??83????75??8B??????83????74??83????75??E9????????83????C39090909090909090909090909083????8B??????53558B??????33??568B??????83????5789??????76??81??????????8B??76??BF????????8B??????8D????03??C1????03??89??????3B??76??8B??????68????????6A??52E8????????8B??????8B??????8B??????505351565752E8????????8B??????8B??8B??????2B??8B??83????03??8B??????83????89??????77??03??0F84????????8B??????8B??????2B??03??3B??89??????75??81??????????77??8A??04??EB??83????77??08????EB??83????77??8A??80????88??EB??8D????C6????463D????????89??????76??8D????B8????????F7??C1????8B??33??8B??8B??C1????F3AB8B??83????03??F3AA8B??????81??????????4A89??????75??8B??????8B??88??468A??88??46424B75??8B??????C6????465FC6????46C6????2B??8B??????4633??89??5E5D5B83????C390909090909090909083????8B??????53558B??????568B??????8D????5789??????8B??????83????73??B8????????2B??EB??33??03??8B??2B??C1????8D??????89??????8B??????8B??????8D????3B??0F83????????8B??8B??69??????????8B??????8B??????C1????33??66??????03??8B??????2B??????89??????66??????8B??3B??0F85????????8B??????C7??????????????2B??8B??????8B??2B??0F84????????83????77??8A????0A??88????8B????89??03??E9????????83????77??8A??2C??88??468B????89??8B????89????8B????89????8B????89????03??E9????????83????77??8A??80????88??46EB??8D????C6????463D????????89??????76??8D????B8????????F7??8B??33??C1????89??????8B??8B??C1????F3AB8B??83????F3AA8B??03??8B??????81??????????4889??????75??8B??????8B??8B??????88??468B????89??8B????89????8B????89????8B????89????83????83????83????83????73??85??76??8A????88??46454B75??BB????????8B????8B????33??75??BB????????03??8B????8B??33??8B??????83????3B??73??8B??2B??????85??75??83????83????8B????8B??33??8B??????3B??72??EB??84??75??C1????4384??74??8B??????8B??03??2B??83????89??????77??3D????????77??4880????8A??80????C0????C0????0A??88??46C1????88??46E9????????3D????????77??4883????89??????77??80????80????EB??83????C6????4681??????????76??8D????B8????????F7??8B??33??C1????89??????8B??8B??C1????F3AB8B??83????F3AA8B??03??81??????????4875??8B??????88??8A??46C0????88??46C1????88??46E9????????2D????????83????89??????77??8B??80????C1????80????8A??0A??80????88??46C0????88??46C1????88??46E9????????8B??83????C1????80????80????88??4681??????????76??8D????B8????????F7??8B??33??C1????89??????8B??8B??C1????F3AB8B??83????F3AA8B??03??81??????????4875??8B??????88??8A??46C0????88??46C1????88??46E9????????8B??????E9????????8B??????8B??????8B??????2B??89??8B??5F2B??5E5D03??5B83????C390909090909090909090908B??????538B??????55568B??????C7??????????578A??8D????8B??????80????8B??76??81??????????8D????83????8B??83????0F82????????8A??88??40414F75??EB??33??8A??418B??83????0F83????????85??75??80????75??8A????81??????????4184??74??33??8A??418D??????8B??89??83????83????4E74??83????72??8B??89??83????83????83????83????73??85??76??8A??88??40414E75??EB??8A??88??40414E75??33??8A??418B??83????73??33??8B??8A??C1????2B??C1????2B??8A??????????81??????????4188??40478A??88??8A????4088??408A????83????8B??0F84????????8A??88??404183????76??8A??88??404183????76??8A??88??404133??8A??418B??83????72??8B??8B??C1????83????2B??33??8A??C1????2B??4F41C1????4E8A??88??8A????404788??40478A??88??40474E75??EB??83????72??83????75??80????75??8A????81??????????4184??74??33??8A??418D??????8D????66????81??????????C1????2B??83????EB??83????0F82????????8B??8B??83????C1????2B??83????75??80????75??8A????81??????????4184??74??33??8A??418D??????66????81??????????C1????2B??83????3B??74??81??????????83????0F82????????8B??2B??83????0F8C????????8B??89??83????83????83????8B??89??83????83????83????83????73??85??0F86????????8A??88??40474E75??E9????????33??8B??8A??C1????2B??C1????2B??4F41E9????????8B??????2B??3B??89??75??5F5E5D33??5BC31B??5F24??5E5D83????5BC39090909090909090909090909081??????????568B??68????????C7??????????FF??????????83????75??57B9????????33??8D??????66????????????F3AB66AB8D??????5068????????FF??????????83????5F75??6A??68????????FF??????????8B??5E81??????????C390909090909090909090909090568B??E8????????F6????????74??56E8????????83????8B??5EC2????909068????????C7??????????FF??????????85??75??FF??????????C39090909053558B??????5685??5774??8B??????85??74??33??33??33??85??76??8A??????????8A??????????32??80????32??8A????32??33??88????8D????BE????????F7??8D????BF????????8B??33??F7??413B??8B??72??5F5E5D5BC39083????538B??????55565768????????68????????5333??FF??????????8B??85??0F84????????68????????FF??????????8B??B0??88??????88??????8D??????B1??5056C6????????88??????C6????????C6????????C6????????C6????????88??????C6????????C6????????C6????????C6????????FF??????????5753FF??568B??FF??????????85??74??57FF??????????8B??8B??????B9????????8B??68????????50F3A5E8????????83????B8????????5F5E5D5B83????C35F8B??5E5D5B83????C39090538B??????????5657C7??????????8D????BF???????? } condition: uint16( 0 ) == 0x5a4d and filesize < 400KB and all of them } rule TRELLIX_ARC_Hermeticwiper : TROJAN FILE { meta: description = "Detecting variants of Hermetic Wiper malware discovered in UA" author = " cb @ Trellix ATR" id = "fc6d9238-b732-541d-b083-11b43fe8770d" date = "2022-02-24" modified = "2022-02-24" reference = "https://github.com/advanced-threat-research/Yara-Rules/" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_Troj_HermWiper.yar#L1-L27" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" logic_hash = "b48e91afa19e09c7035ccda1b9293448e834d612b9a953b593f9412acb78faac" score = 75 quality = 70 tags = "TROJAN, FILE" rule_version = "v1" malware_type = "Trojan" strings: $0 = {E4B5518CD941310A015E4AF8E5968C8231492FE19246A293A569D5D7A36F56EB2FC5B68FFF6F3359C19AF6806920C3FE6628F90A75440E6616297A031BA6075100D72DFAA9829E772E45D77B89F862081EAFDB19B4B2DCEF3F273FF645ACCEAA4B991F98373973C0FB25829E860D9BC195EF1A0AD9219456AD077D42868EE03EE00E88D04C434BA97E88DF99273A35E2C668A1C69954B4762390ABDFBE4CD4AF} $1 = {90506F1C825F7AE0D8605F5C627CA325BFF199AB60A63DE8A90E923F4B18D7FB039E1DEC89D573AAB0A14C1D4BA70EB444753A41C03082A60CB4DB551393F2C50988A3181E7F31D01B5AAD94070432D98F18655AB8A555919FEFEA9DE1EDF1} $2 = {D5EEF61336015A85FF04ED298A6BDD6742FF153E33DAF9B383A5FFDCE7E64D47748DB5FF2609DF9BD5C66735FF6916797B2D365313FF1461EAEB9DAEA754FF6D4D55D1956CC8CBFF75C10CE74BF88C8DFF3B553B839D42609FFF2916227230} $3 = {6C750DDC932124500CE9B5AB91CE101BE9AD348220E9423124512282373675152281023428825C51770FE9841F853375125382F732750A5B83F60FEB6AEE2282647462228269745AEE22826F7452228275744AEE2282787442} $4 = {19A8A063FFAAAF6C1E7F78A896FFFA5C8F30BA98B69CFF1961E107BEB7636AFF9EA56A4FC4EDE3F1FF295235ACD0185726FFADA6B8CB54B342C9FF86F58524DC91617BFFB4388DBE01B6CF86} $5 = {50C449606B20184A6328556032197660AAF9507861609F6160640560B4546160C3A194056070C4A09EC4A01A0461A4C4A0831B16600561916069A291607061C09160AA1CB6204A} $6 = {FFEB19D2636B8B95273156BB63E8C78470D55970F47CF26574B46DE86EE084704590CA8053F15320258BBD1AACF18B04F2E965C6605CB10880B7E8FCF53DF5EB0621635EFF} $7 = {7E31126E14B8FF98554F6FCFB64207FFCF8D93B2573609C2FF99E4409F73BB9322FF1E5E380DC0BBABCAFF4B901EDF61BD6A68FFEE3253728C7769ABFF7BCDA939C959A282} $8 = {1970FFC6F8AA7C32EE693CFF369579E5355EF62CFF682CEAF20BA3EA1CFF1AAC638666431B20FF54293D1E709C231AFFCD11B55599F64CB9FF1E5A9015DC867F} $9 = {8DFF93B2573609C299E4FF409F73BB93221E5EFF380DC0BBABCA4B90FF1EDF61BD6A68EE32FF53728C7769AB7BCDFFA939C959A282D312FF5DD04F0370CE811F} $10 = {DF5519064E31101CF3DA96C15FF96728B708F358F51759E3A22FFA1CF1BB986A2038D6753E6BF037945B8469ADF20BAB71E10F3DE27735F640704C970DFE8672} condition: uint16( 0 ) == 0x5a4d and filesize < 200KB and all of them } rule TRELLIX_ARC_Chimera_Recordedtv_Modified : TROJAN FILE { meta: description = "Rule to detect the modified version of RecordedTV.ms found in the Operation Skeleton" author = "Marc Rivero | McAfee ATR Team" id = "b0969713-41a4-550c-9545-f02783fa8d02" date = "2020-04-21" modified = "2020-08-14" reference = "https://medium.com/@cycraft_corp/taiwan-high-tech-ecosystem-targeted-by-foreign-apt-group-5473d2ad8730" source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/APT/APT_operation_skeleton.yar#L1-L33" license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE" hash = "66f13964c87fc6fe093a9d8cc0de0bf2b3bdaea9564210283fdb97a1dde9893b" logic_hash = "7165779b66999259a079fa68f898c5f9fb634adcb9d249366d321dff1014184b" score = 75 quality = 70 tags = "TROJAN, FILE" rule_version = "v1" malware_type = "trojan" malware_family = "Trojan:W32/RecordedTV" actor_type = "Apt" actor_group = "Unknown" strings: $byte = { C0 0E 5B C3 } $s1 = "Encrypted file: CRC failed in %s (password incorrect ?)" fullword wide $s2 = "EBorland C++ - Copyright 1999 Inprise Corporation" fullword ascii $s3 = " MacOS file type: %c%c%c%c ; " fullword wide $s4 = "rar.lng" fullword ascii condition: uint16( 0 ) == 0x5a4d and filesize < 900KB and all of them } /* * YARA Rule Set * Repository Name: Volexity * Repository: https://github.com/volexity/threat-intel * Retrieval Date: 2026-10-26 * Git Commit: 683296427d8c7f08938ce6c587f618c938cf4c54 * Number of Rules: 93 * Skipped: 1 (age), 8 (quality), 1 (score), 0 (importance) * * * LICENSE * * Copyright 2022 by Volexity, Inc. The 2-Clause BSD License Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ rule VOLEXITY_Webshell_Jsp_Godzilla : FILE MEMORY { meta: description = "Detects the JSP implementation of the Godzilla Webshell." author = "threatintel@volexity.com" id = "47c8eab8-84d7-5566-b757-5a6dcc7579b7" date = "2021-11-08" modified = "2024-07-30" reference = "https://unit42.paloaltonetworks.com/manageengine-godzilla-nglite-kdcsponge/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-08-10 Mass exploitation of (Un)authenticated Zimbra RCE CVE-2022-27925/yara.yar#L1-L34" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "2786d2dc738529a34ecde10ffeda69b7f40762bf13e7771451f13a24ab7fc5fe" logic_hash = "52cba9545f662da18ca6e07340d7a9be637b89e7ed702dd58cac545c702a00e3" score = 75 quality = 80 tags = "FILE, MEMORY" os = "win,linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6100 version = 6 strings: $s1 = ".getWriter().write(base64Encode(" wide ascii $s2 = ".getAttribute(" ascii wide $s3 = "java.security.MessageDigest" ascii wide $auth1 = /String xc=\"[a-f0-9]{16}\"/ ascii wide $auth2 = "String pass=\"" ascii wide $magic = "class X extends ClassLoader{public X(ClassLoader z){super(z);}public Class Q" $magic2 = "<%@page import=\"java.util.*,javax.crypto.*,javax.crypto.spec.*\"%><%!class" condition: all of ( $s* ) or all of ( $auth* ) or any of ( $magic* ) } rule VOLEXITY_Susp_Jsp_General_Runtime_Exec_Req : FILE MEMORY { meta: description = "Looks for a common design pattern in webshells where a request attribute is passed as an argument to exec()." author = "threatintel@volexity.com" id = "7f1539bd-a2f0-50dd-b500-ada4e0971d13" date = "2022-02-02" modified = "2024-07-30" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-08-10 Mass exploitation of (Un)authenticated Zimbra RCE CVE-2022-27925/yara.yar#L35-L56" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "4935f0c50057e28efa7376c734a4c66018f8d20157b6584399146b6c79a6de15" logic_hash = "d3048aba80c1c39f1673931cd2d7c5ed83045603b0ad204073fd788d0103a6c8" score = 65 quality = 80 tags = "FILE, MEMORY" os = "win,linux" os_arch = "all" scan_context = "file,memory" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6450 version = 3 strings: $s1 = "Runtime.getRuntime().exec(request." ascii condition: $s1 } rule VOLEXITY_Webshell_Jsp_Regeorg : FILE MEMORY { meta: description = "Detects the reGeorg webshells' JSP version." author = "threatintel@volexity.com" id = "205ee383-4298-5469-a509-4ce3eaf9dd0e" date = "2022-03-08" modified = "2024-09-20" reference = "https://github.com/SecWiki/WebShell-2/blob/master/reGeorg-master/tunnel.jsp" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-08-10 Mass exploitation of (Un)authenticated Zimbra RCE CVE-2022-27925/yara.yar#L57-L86" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "f9b20324f4239a8c82042d8207e35776d6777b6305974964cd9ccc09d431b845" logic_hash = "cecb71605d9112d509823c26e40e1cf9cd6db581db448db5c9ffc63a2bfe529e" score = 75 quality = 80 tags = "FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6575 version = 5 strings: $magic = "socketChannel.connect(new InetSocketAddress(target, port))" ascii $a1 = ".connect(new InetSocketAddress" ascii $a2 = ".configureBlocking(false)" ascii $a3 = ".setHeader(" ascii $a4 = ".getHeader(" ascii $a5 = ".flip();" ascii condition: $magic or all of ( $a* ) } rule VOLEXITY_Apt_Malware_Macos_Gimmick : STORMBAMBOO FILE MEMORY { meta: description = "Detects the macOS port of the GIMMICK malware." author = "threatintel@volexity.com" id = "3d485788-4aab-511b-a49e-5dc09d1950a9" date = "2021-10-18" modified = "2024-08-02" reference = "https://www.volexity.com/blog/2022/03/22/storm-cloud-on-the-horizon-gimmick-malware-strikes-at-macos/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-03-22 GIMMICK/indicators/yara.yar#L1-L59" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "2a9296ac999e78f6c0bee8aca8bfa4d4638aa30d9c8ccc65124b1cbfc9caab5f" logic_hash = "00fba9df2212874a45d44b3d098a7b76c97fcd53ff083c76b784d2b510a4a467" score = 75 quality = 78 tags = "STORMBAMBOO, FILE, MEMORY" os = "darwin" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6022 version = 8 strings: $s1 = "http://cgi1.apnic.net/cgi-bin/my-ip.php --connect-timeout 10 -m 20" wide ascii $json1 = "base_json" ascii wide $json2 = "down_json" ascii wide $json3 = "upload_json" ascii wide $json4 = "termin_json" ascii wide $json5 = "request_json" ascii wide $json6 = "online_json" ascii wide $json7 = "work_json" ascii wide $msg1 = "bash_pid: %d, FDS_CHILD: %d, FDS_PARENT: %d" ascii wide $msg2 = "pid %d is dead" ascii wide $msg3 = "exit with code %d" ascii wide $msg4 = "recv signal %d" ascii wide $cmd1 = "ReadCmdQueue" ascii wide $cmd2 = "read_cmd_server_timer" ascii wide $cmd3 = "enableProxys" ascii wide $cmd4 = "result_block" ascii wide $cmd5 = "createDirLock" ascii wide $cmd6 = "proxyLock" ascii wide $cmd7 = "createDirTmpItem" ascii wide $cmd8 = "dowfileLock" ascii wide $cmd9 = "downFileTmpItem" ascii wide $cmd10 = "filePathTmpItem" ascii wide $cmd11 = "uploadItems" ascii wide $cmd12 = "downItems" ascii wide $cmd13 = "failUploadItems" ascii wide $cmd14 = "failDownItems" ascii wide $cmd15 = "downloadCmds" ascii wide $cmd16 = "uploadFiles" ascii wide $cmd17 = "bash callback...." ascii wide condition: $s1 or 5 of ( $json* ) or 3 of ( $msg* ) or 9 of ( $cmd* ) } rule VOLEXITY_Apt_Malware_Win_Gimmick_Dotnet_Base : STORMBAMBOO FILE MEMORY { meta: description = "Detects the base version of GIMMICK written in .NET." author = "threatintel@volexity.com" id = "be42d85f-3143-51d3-b148-95d0ae666771" date = "2020-03-16" modified = "2024-08-19" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-03-22 GIMMICK/indicators/yara.yar#L60-L86" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "b554bfe4c2da7d0ac42d1b4f28f4aae854331fd6d2b3af22af961f6919740234" logic_hash = "39a38ea189d5e840f9334cb7ec8f390444139b39c6f426906a8845f9a1ada9f7" score = 75 quality = 80 tags = "STORMBAMBOO, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6628 version = 3 strings: $other1 = "srcStr is null" wide $other2 = "srcBs is null " wide $other3 = "Key cannot be null" wide $other4 = "Faild to get target constructor, targetType=" wide $other5 = "hexMoudule(public key) cannot be null or empty." wide $other6 = "https://oauth2.googleapis.com/token" wide condition: 5 of ( $other* ) } rule VOLEXITY_Apt_Malware_Js_Sharpext : SHARPPINE FILE MEMORY { meta: description = "A malicious Chrome browser extension used by the SharpPine threat actor to steal Gmail data from a victim." author = "threatintel@volexity.com" id = "61b5176a-ff73-5fce-bc70-c9e09bb5afed" date = "2021-09-14" modified = "2025-05-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-07-28 SharpTongue SharpTongue Deploys Clever Mail-Stealing Browser Extension SHARPEXT/yara.yar#L1-L52" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "1c9664513fe226beb53268b58b11dacc35b80a12c50c22b76382304badf4eb00" hash = "6025c66c2eaae30c0349731beb8a95f8a5ba1180c5481e9a49d474f4e1bb76a4" hash = "6594b75939bcdab4253172f0fa9066c8aee2fa4911bd5a03421aeb7edcd9c90c" logic_hash = "0ed58c8646582ee36aeac650fac02d1e4962d45c0f6a24783c021d9267bed192" score = 75 quality = 80 tags = "SHARPPINE, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5916 version = 5 strings: $s1 = "\"mode=attach&name=\"" ascii $s2 = "\"mode=new&mid=\"" ascii $s3 = "\"mode=attlist\"" ascii $s4 = "\"mode=list\"" ascii $s5 = "\"mode=domain\"" ascii $s6 = "\"mode=black\"" ascii $s7 = "\"mode=newD&d=\"" ascii $mark1 = "chrome.runtime.onMessage.addListener" ascii $mark2 = "chrome.webNavigation.onCompleted.addListener" ascii $enc1 = "function BSue(string){" ascii $enc2 = "function BSE(input){" ascii $enc3 = "function bin2hex(byteArray)" ascii $xhr1 = ".send(\"mode=cd1" ascii $xhr2 = ".send(\"mode=black" ascii $xhr3 = ".send(\"mode=domain" ascii $xhr4 = ".send(\"mode=list" ascii $manifest1 = "\"description\":\"advanced font\"," ascii $manifest2 = "\"scripts\":[\"bg.js\"]" ascii $manifest3 = "\"devtools_page\":\"dev.html\"" ascii condition: (5 of ( $s* ) and all of ( $mark* ) ) or all of ( $enc* ) or 3 of ( $xhr* ) or 2 of ( $manifest* ) } rule VOLEXITY_Webshell_Jsp_Converge : FILE MEMORY CVE_2022_26134 { meta: description = "Detects CONVERGE - a file upload webshell observed in incident involving compromise of Confluence server via CVE-2022-26134." author = "threatintel@volexity.com" id = "2a74678e-cb00-567c-a2e0-2e095f3e5ee8" date = "2022-06-01" modified = "2024-09-20" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-06-02 Active Exploitation Of Confluence 0-day/indicators/yara.yar#L1-L21" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" logic_hash = "bb48516342eddd48c35e6db0eb74f95e116dc723503552b99ba721b5bdb391e5" score = 75 quality = 80 tags = "FILE, MEMORY, CVE-2022-26134" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6788 version = 5 strings: $s1 = "if (request.getParameter(\"name\")!=null && request.getParameter(\"name\").length()!=0){" ascii condition: $s1 } rule VOLEXITY_Webshell_Java_Realcmd : FILE MEMORY { meta: description = "Detects the RealCMD webshell, one of the payloads for BEHINDER." author = "threatintel@volexity.com" id = "60b30ccc-bcfa-51e6-a3f5-88037d19213e" date = "2022-06-01" modified = "2024-07-30" reference = "https://github.com/Freakboy/Behinder/blob/master/src/main/java/vip/youwe/sheller/payload/java/RealCMD.java" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-06-02 Active Exploitation Of Confluence 0-day/indicators/yara.yar#L61-L84" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "a9a30455d6f3a0a8cd0274ae954aa41674b6fd52877fafc84a9cb833fd8858f6" logic_hash = "e09f2a23674fd73296dd4d1fabf1a2c812bfe69ff02abc96a4be35af6a18e512" score = 75 quality = 80 tags = "FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6786 version = 4 strings: $fn1 = "runCmd" wide ascii fullword $fn2 = "RealCMD" ascii wide fullword $fn3 = "buildJson" ascii wide fullword condition: all of ( $fn* ) } rule VOLEXITY_Malware_Golang_Pantegana : FILE MEMORY { meta: description = "Detects PANTEGANA, a Golang backdoor used by a range of threat actors due to its public availability." author = "threatintel@volexity.com" id = "b6154165-68e0-5986-a0cf-5631d369c230" date = "2022-03-30" modified = "2025-03-21" reference = "https://github.com/elleven11/pantegana" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-06-15 DriftingCloud - Zero-Day Sophos Firewall Exploitation and an Insidious Breach/indicators/yara.yar#L90-L120" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "8297c99391aae918f154077c61ea94a99c7a339166e7981d9912b7fdc2e0d4f0" logic_hash = "791a664a6b4b98051cbfacb451099de085cbab74d73771709377ab68a5a23d2b" score = 75 quality = 80 tags = "FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6631 version = 3 strings: $s1 = "RunFingerprinter" ascii $s2 = "SendSysInfo" ascii $s3 = "ExecAndGetOutput" ascii $s4 = "RequestCommand" ascii $s5 = "bindataRead" ascii $s6 = "RunClient" ascii $magic = "github.com/elleven11/pantegana" ascii condition: 5 of ( $s* ) or $magic } rule VOLEXITY_Malware_Any_Pupyrat_B : FILE MEMORY { meta: description = "Detects the PUPYRAT malware family, a cross-platform RAT written in Python." author = "threatintel@volexity.com" id = "ec8d0448-f47d-5c6e-bcf9-8f40ae83a96f" date = "2022-04-07" modified = "2025-03-21" reference = "https://github.com/n1nj4sec/pupy" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-06-15 DriftingCloud - Zero-Day Sophos Firewall Exploitation and an Insidious Breach/indicators/yara.yar#L121-L158" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "7474a6008b99e45686678f216af7d6357bb70a054c6d9b05e1817c8d80d536b4" logic_hash = "f5b5f35ee783ff1163072591c6d48a85894729156935650a0fd166ae22a2ea00" score = 75 quality = 80 tags = "FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6689 version = 4 strings: $elf1 = "LD_PRELOAD=%s HOOK_EXIT=%d CLEANUP=%d exec %s 1>/dev/null 2>/dev/null" ascii $elf2 = "reflective_inject_dll" fullword ascii $elf3 = "ld_preload_inject_dll" fullword ascii $pupy1 = "_pupy.error" ascii $pupy2 = "pupy://" ascii $s1 = "Args not passed" ascii $s2 = "Too many args" ascii $s3 = "Can't execute" ascii $s4 = "mexec:stdin" ascii $s5 = "mexec:stdout" ascii $s6 = "mexec:stderr" ascii $s7 = "LZMA error" ascii condition: any of ( $elf* ) or all of ( $pupy* ) or all of ( $s* ) } rule VOLEXITY_Susp_Php_Fileinput_Eval : FILE { meta: description = "Rule designed to detect PHP files which use file_get_contents() and then shortly afterwards use an eval statement." author = "threatintel@volexity.com" id = "3e311677-22ea-5e5f-bdc6-dd67033d25a6" date = "2021-06-16" modified = "2024-12-12" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-06-15 DriftingCloud - Zero-Day Sophos Firewall Exploitation and an Insidious Breach/indicators/yara.yar#L159-L182" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "1a34c43611ee310c16acc383c10a7b8b41578c19ee85716b14ac5adbf0a13bd5" hash = "6e8874c756c009c63f715a44ca72d0cb31dc25d87d7df6ca2830fe8330580342" logic_hash = "de376bfdfa5b6244c414454cb5d43d29e3dd75e049389f0c430c160f9d198965" score = 65 quality = 80 tags = "FILE" os = "win,linux" os_arch = "all" scan_context = "file" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5581 version = 5 strings: $s1 = "file_get_contents(\"php://input\")" $s2 = "eval(" condition: $s2 in ( @s1 [ 1 ] .. ( @s1 [ 1 ] + 512 ) ) } rule VOLEXITY_Susp_Php_Call_User_Func : FILE { meta: description = "Webshells using call_user_func() function against an object from a file input or POST variable." author = "threatintel@volexity.com" id = "48c7857e-7dda-5e3f-b82c-7d34c251f083" date = "2021-06-16" modified = "2024-07-30" reference = "https://zhuanlan.zhihu.com/p/354906657" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-06-15 DriftingCloud - Zero-Day Sophos Firewall Exploitation and an Insidious Breach/indicators/yara.yar#L183-L205" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "40b053a2f3c8f47d252b960a9807b030b463ef793228b1670eda89f07b55b252" logic_hash = "46c999da97682023861e58f9cd2c8651480db990a0361c1985c6d5c35b5bf0ea" score = 65 quality = 80 tags = "FILE" os = "win,linux" os_arch = "all" scan_context = "file" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5582 version = 4 strings: $s1 = "@call_user_func(new C()" wide ascii condition: $s1 } rule VOLEXITY_Apt_Malware_Win_Applejeus_Oct22 : LAZYPINE FILE MEMORY { meta: description = "Detects AppleJeus DLL samples." author = "threatintel@volexity.com" id = "f88e2253-e296-57d8-a627-6cb4ccff7a92" date = "2022-11-03" modified = "2025-05-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-12-01 Buyer Beware - Fake Cryptocurrency Applications Serving as Front for AppleJeus Malware/yara.yar#L1-L22" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "82e67114d632795edf29ce1d50a4c1c444846d9e16cd121ce26e63c8dc4a1629" logic_hash = "46f3325a7e8e33896862b1971f561f4871670842aecd46bcc7a5a1af869ecdc4" score = 75 quality = 80 tags = "LAZYPINE, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 8495 version = 3 strings: $s1 = "HijackingLib.dll" ascii condition: $s1 } rule VOLEXITY_Apt_Malware_Win_Applejeus_B_Oct22 : LAZYPINE FILE MEMORY { meta: description = "Detects unpacked AppleJeus samples." author = "threatintel@volexity.com" id = "8586dc64-225b-5f28-a6d6-b9b6e8f1c815" date = "2022-11-03" modified = "2025-05-21" reference = "https://www.volexity.com/blog/2022/12/01/buyer-beware-fake-cryptocurrency-applications-serving-as-front-for-applejeus-malware/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-12-01 Buyer Beware - Fake Cryptocurrency Applications Serving as Front for AppleJeus Malware/yara.yar#L24-L54" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "9352625b3e6a3c998e328e11ad43efb5602fe669aed9c9388af5f55fadfedc78" logic_hash = "76f3c9692ea96d3cadbbcad03477ab6c53445935352cb215152b9b5483666d43" score = 75 quality = 80 tags = "LAZYPINE, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 8497 version = 5 strings: $key1 = "AppX7y4nbzq37zn4ks9k7amqjywdat7d" $key2 = "Gd2n5frvG2eZ1KOe" $str1 = "Windows %d(%d)-%s" $str2 = "&act=check" condition: ( any of ( $key* ) and 1 of ( $str* ) ) or all of ( $str* ) } rule VOLEXITY_Apt_Malware_Win_Applejeus_C_Oct22 : LAZYPINE MEMORY { meta: description = "Detects unpacked AppleJeus samples." author = "threatintel@volexity.com" id = "c9cbddde-220c-5e26-8760-85c29b98bfeb" date = "2022-11-03" modified = "2023-09-28" reference = "https://www.volexity.com/blog/2022/12/01/buyer-beware-fake-cryptocurrency-applications-serving-as-front-for-applejeus-malware/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-12-01 Buyer Beware - Fake Cryptocurrency Applications Serving as Front for AppleJeus Malware/yara.yar#L57-L84" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "a0db8f8f13a27df1eacbc01505f311f6b14cf9b84fbc7e84cb764a13f001dbbb" logic_hash = "a9e635d9353c8e5c4992beba79299fb889a7a3d5bc3eaf191f8bb7f51258a6c6" score = 75 quality = 80 tags = "LAZYPINE, MEMORY" os = "win" os_arch = "all" scan_context = "memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 8519 version = 3 strings: $str1 = "%sd.e%sc \"%s > %s 2>&1\"" wide $str2 = "tuid" $str4 = "payload" $str5 = "fconn" $str6 = "Mozilla_%lu" condition: 5 of ( $str* ) } rule VOLEXITY_Apt_Malware_Win_Applejeus_D_Oct22 : LAZYPINE FILE MEMORY { meta: description = "Detected AppleJeus unpacked samples." author = "threatintel@volexity.com" id = "80d2821b-a437-573e-9e9d-bf79f9422cc9" date = "2022-11-10" modified = "2025-05-21" reference = "https://www.volexity.com/blog/2022/12/01/buyer-beware-fake-cryptocurrency-applications-serving-as-front-for-applejeus-malware/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-12-01 Buyer Beware - Fake Cryptocurrency Applications Serving as Front for AppleJeus Malware/yara.yar#L87-L112" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "a241b6611afba8bb1de69044115483adb74f66ab4a80f7423e13c652422cb379" logic_hash = "23c0642e5be15a75a39d089cd52f2f14d633f7af6889140b9ec6e53c5c023974" score = 75 quality = 80 tags = "LAZYPINE, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 8534 version = 3 strings: $reg = "Software\\Bitcoin\\Bitcoin-Qt" $pattern = "%s=%d&%s=%s&%s=%s&%s=%d" $exec = " \"%s\", RaitingSetupUI " $http = "Accept: */*" wide condition: all of them } rule VOLEXITY_Apt_Delivery_Macro_Lazypine_Jeus_B : LAZYPINE FILE { meta: description = "Detects macros used by the LazyPine threat actor to distribute AppleJeus." author = "threatintel@volexity.com" id = "ac4d4e82-e29f-5134-999d-b8dcef59d285" date = "2022-11-03" modified = "2025-05-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-12-01 Buyer Beware - Fake Cryptocurrency Applications Serving as Front for AppleJeus Malware/yara.yar#L114-L139" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "17e6189c19dedea678969e042c64de2a51dd9fba69ff521571d63fd92e48601b" logic_hash = "e55199e6ad26894f98e930cd4716127ee868872d08ada1c44675e4db1ec27894" score = 75 quality = 80 tags = "LAZYPINE, FILE" os = "win" os_arch = "all" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 8493 version = 3 strings: $a1 = ", vbDirectory) = \"\" Then" ascii $a2 = ".Caption & " ascii $a3 = ".nodeTypedValue" ascii $a4 = ".Application.Visible = False" ascii $a5 = " MkDir (" ascii condition: all of ( $a* ) } rule VOLEXITY_Apt_Delivery_Office_Macro_Lazypine_Jeus : LAZYPINE FILE { meta: description = "Detects malicious documents used by LazyPine in a campaign dropping the AppleJeus malware." author = "threatintel@volexity.com" id = "f9a92f47-aa1d-56ea-ac59-47cc559f379f" date = "2022-11-02" modified = "2025-05-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2022/2022-12-01 Buyer Beware - Fake Cryptocurrency Applications Serving as Front for AppleJeus Malware/yara.yar#L141-L165" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "17e6189c19dedea678969e042c64de2a51dd9fba69ff521571d63fd92e48601b" logic_hash = "54d5396b889a45d81122301eadf77f73135937fbe9647ad60491ac7856faf5ad" score = 75 quality = 80 tags = "LAZYPINE, FILE" os = "all" os_arch = "all" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 8490 version = 7 strings: $s1 = "0M8R4K" ascii $s2 = "bin.base64" ascii $s3 = "dragon" ascii $s4 = "Workbook_Open" ascii condition: all of ( $s* ) } rule VOLEXITY_Apt_Malware_Js_Longtale : LONGTALE JUNGLEBAMBOO FILE MEMORY { meta: description = "Detection for LONGTALE, a chrome extension malware." author = "threatintel@volexity.com" id = "b97eaf48-8c4e-5fea-af7c-d1f559d334af" date = "2026-09-08" modified = "2026-09-08" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-09-09 Chrome/rules.yar#L1-L37" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "5eb5645511b00e4f4d73125654eeb3a3930fcf09c65685dc7f03f725331492e3" logic_hash = "194266bc6710943a421f1e3a65cf5345b061edd3777a9f555fa435fef41e7baa" score = 75 quality = 80 tags = "LONGTALE, JUNGLEBAMBOO, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20260908B" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13428 version = 2 strings: $f1 = "getPublicIP" ascii $f2 = "captureCookies" ascii $f3 = "recordFetch" ascii $f4 = "injectRecorder" ascii $f5 = "captureVisibleTab" ascii $f6 = "buildIngestPayload" ascii $case1 = "SET_KEYWORDS" $case2 = "GET_KEYWORDS" $case3 = "SCREENSHOT_NOW" $case4 = "FETCH_HISTORY" $case5 = "CAPTURE_STORAGE" $case6 = "CAPTURE_COOKIES" $case7 = "TOGGLE_RECORDING" condition: all of ( $f* ) or all of ( $case* ) } rule VOLEXITY_Apt_Malware_Win_Superstomp : JUNGLEBAMBOO SUPERSTOMP FILE MEMORY { meta: description = "Detection for the SUPERSTOMP malware used by JungleBamboo." author = "threatintel@volexity.com" id = "7719e855-70d7-56a9-9888-9d6f6a9afc2f" date = "2026-09-08" modified = "2026-09-08" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-09-09 Chrome/rules.yar#L38-L73" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "5eb5645511b00e4f4d73125654eeb3a3930fcf09c65685dc7f03f725331492e3" logic_hash = "b1e4c1f0bf614dae29ca534205792efe24605a2807e3a9c67f8c6e99aa153bfa" score = 75 quality = 80 tags = "JUNGLEBAMBOO, SUPERSTOMP, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20260908B" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13427 version = 3 strings: $stomp_ua = "stomp/1.0" wide $stomp_pem = "stomp_ext_key.pem" wide $stomp_spki = "stomp_ext_key.spki" wide $stomp_bak = "stomp.bak" wide $xor_key = { 5a c3 17 8e f0 2b 96 41 7d 0a e8 33 b5 64 1f da } $browser_secpref = "Secure Preferences" wide $browser_extsettings = "extensions.settings." ascii $browser_devmode = "extensions.ui.developer_mode" ascii $browser_taskkill = "cmd.exe /c taskkill /F /IM " wide $browser_restore = "--restore-last-session" wide condition: 3 of ( $stomp* ) or $xor_key or all of ( $browser* ) } rule VOLEXITY_Exploit_Log_Ivanti_Rce : CVE_2026_104935 FILE MEMORY { meta: description = "Identifies files or memory regions containing request headers matching RCE vulnerability for Ivanti." author = "threatintel@volexity.com" id = "f1866c63-bb33-5747-b50c-c6111e44de2b" date = "2026-10-12" modified = "2026-10-12" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-10-13 Ivanti/rules.yar#L1-L22" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" logic_hash = "4b17ac31a7e824bae5ef33a5fb16142764193e151348cbaa0cccda3fe2c09850" score = 75 quality = 80 tags = "CVE_2026_104935, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20261012" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13503 version = 1 strings: $s1 = "X-DSCGI-PATH: /home/webserver/htdocs/dana/fb/smb/wu.cgi" ascii condition: $s1 } rule VOLEXITY_Exploit_Py_Ivanti_Oct26 : CVE_2026_104935 UTA0576 MEMORY { meta: description = "Detection for EoP vuln implementation in Python used by UTA0576." author = "threatintel@volexity.com" id = "de9fa239-09db-5851-af56-74a616c3a57a" date = "2026-10-10" modified = "2026-10-12" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-10-13 Ivanti/rules.yar#L24-L51" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "25b95f47359c327e3a5ae5ac5cd147f8d9afd98092faf136822ee287e25e3dc8" logic_hash = "051f0d737a70836f27f4333f647d91572fc327be219c8dcbe5b62b0042b81312" score = 75 quality = 80 tags = "CVE_2026_104935, UTA0576, MEMORY" os = "linux" os_arch = "all" scan_context = "memory" severity = "critical" report1 = "TIB-20261012" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13500 version = 3 strings: $magic1 = "target dsinvoked broker is busy; stop retries and clear its current child" ascii $magic2 = "PATCH_LOCATOR arch=%s offset=%s sha256=%s encoding=%s open=%s call=%s evidence=%s" $pycombo1 = "import os,socket,time,_frozen_importlib_external as ie" $pycombo2 = "def say(*x): print(*x,flush=True)" condition: any of ( $magic* ) or all of ( $pycombo* ) } rule VOLEXITY_Apt_Malware_Win_CLEANGULP_Memoryonly : CLEANGULP MEMORY { meta: description = "CLEANGULP: Detects decoded runtime strings associated with command-and-control, tasking, and persistence." author = "threatintel@volexity.com" id = "e1c0e877-2d11-567c-8e9f-c40ef9d8f784" date = "2026-09-16" modified = "2026-09-16" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-09-21 Chrome-part-2/rules.yar#L1-L29" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" logic_hash = "dd65a0a286689427b296b4468147231e9ff17aa2ba1e6ce582f53db50b5b543f" score = 75 quality = 80 tags = "CLEANGULP, MEMORY" os = "win" os_arch = "all" scan_context = "memory" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13450 version = 1 strings: $protocol_pre_register = "%s/beacon/pre-register" ascii $protocol_register = "%s/beacon/register" ascii $protocol_registration = "{\"uuid\":\"%s\",\"username\":\"%s\",\"computer\":\"%s\",\"internal_ip\":\"%s\",\"process\":\"%s\",\"pid\":%d,\"arch\":\"%s\",\"is_admin\":%s}" ascii $protocol_file_transfer = "{\"task_id\":\"%s\",\"filename\":\"%s\",\"data\":\"%s\",\"size\":%ld,\"chunk\":%d,\"total_chunks\":%d,\"file_transfer\":true}" ascii $capability_help = "Available: shell, ps, ls, upload, download, sleep, exit, help, bof" ascii $capability_upload = "[-] Usage: upload : " ascii $capability_bof = "[-] Usage: bof : " ascii condition: 2 of ( $protocol* ) or 2 of ( $capability* ) } rule VOLEXITY_Apt_Webshell_Java_Orangetail_B : UTA0533 ORANGETAIL FILE MEMORY { meta: description = "Detection for the accept logic of ORANGETAIL, a custom Java webshell used by UTA0533." author = "threatintel@volexity.com" id = "e9f19175-ea33-5eea-8663-91fc805306bb" date = "2026-07-06" modified = "2026-07-14" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-07-17 SonicWall/rules.yar#L1-L25" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "1e1e68bbb899450a57274a8b12082ed4e2040a2aae77014f20431689d2b4edee" hash = "ea9154e374e4f77bc2cf54282e23543573980342a85bc888cb23f20b8bbba081" logic_hash = "e5ed25fb820dc4a18c374936c36d4321e2aba72d8b640cdb0d81abd764786918" score = 75 quality = 80 tags = "UTA0533, ORANGETAIL, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20260714B" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13240 version = 6 strings: $s1 = ".equals($1.getHeader(\"User-Agent\"))) { javax.servlet.jsp.JspFactory" ascii $s2 = " $2.setStatus(404); $2.setContentLength(0); $2.flushBuffer(); return;" ascii condition: all of them } rule VOLEXITY_Apt_Webshell_Java_Orangetail : UTA0533 ORANGETAIL FILE MEMORY { meta: description = "Detection for ORANGETAIL, a custom Java webshell used by UTA0533." author = "threatintel@volexity.com" id = "5bbffb5f-0917-57e4-a7d4-f5c770b5d253" date = "2026-07-06" modified = "2026-07-14" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-07-17 SonicWall/rules.yar#L26-L53" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "ea9154e374e4f77bc2cf54282e23543573980342a85bc888cb23f20b8bbba081" logic_hash = "1a495df2bc13b1c2c61315d76d66b150452b923afa5847121429fa8ae9788a7b" score = 75 quality = 80 tags = "UTA0533, ORANGETAIL, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20260714B" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13239 version = 5 strings: $s1 = "agentmain called args=" $s2 = "tryInject=" $s3 = "agentmain ex:" $s4 = "javassist=" $s5 = "tryInject exception" $s6 = "found loaded class:" condition: 4 of ( $s* ) } rule VOLEXITY_Apt_Malware_Any_Uta0533_Ua : UTA0533 FILE MEMORY { meta: description = "Identify any blob containing a bogus user-agent used in different components of an attack attributed to UTA0533." author = "threatintel@volexity.com" id = "c13dafb2-b2c3-5988-91dd-0345ef60086c" date = "2026-07-06" modified = "2026-07-14" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-07-17 SonicWall/rules.yar#L54-L76" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "8c470301dcb7278f73e622f1950073567b34011c64b60cdfbb0f89803923a5a3" logic_hash = "d4c0322080e853f5c5d495af05d43eaf3d375af6905e795cef718dec639a7092" score = 75 quality = 80 tags = "UTA0533, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20260714B" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13237 version = 3 strings: $s1 = "Mozilla/6.0 (Windows NT 11.0; Win64; x64) AppleWebKit/1537.136 (KHTML, like Gecko) Chrome/149.0.0.1 Safari/1537.136" ascii condition: $s1 } rule VOLEXITY_Apt_Malware_Python_Knuckleball : UTA0533 KNUCKLEBALL FILE MEMORY { meta: description = "Detects KNUCKLEBALL, a python based injector malware, using string patterns." author = "threatintel@volexity.com" id = "bceaee99-902b-5e0d-a8e6-f9909fcd3334" date = "2026-07-06" modified = "2026-07-14" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-07-17 SonicWall/rules.yar#L77-L109" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "8c470301dcb7278f73e622f1950073567b34011c64b60cdfbb0f89803923a5a3" logic_hash = "306b5e0cc66af163c1dea29f8c55f0dbb396ddcefb63f22d62601d7cf1ea839d" score = 75 quality = 80 tags = "UTA0533, KNUCKLEBALL, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "high" report1 = "TIB-20260714B" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 13233 version = 5 strings: $s1 = "/tmp/.java_pid{pid}" ascii $s2 = "/tmp/.attach_pid{pid}" ascii $s3 = "timeout waiting for JVMTI attach socket" ascii $s4 = "workplace.startup.CommandStartup" ascii $s5 = "/var/run/control.unit.sock" ascii $func1 = "unit_put(" ascii $func2 = "check_gate(" ascii $func3 = "inject_jar(" ascii $func4 = "find_wp_pid(" ascii condition: 2 of ( $s* ) or 3 of ( $func* ) } rule VOLEXITY_Apt_Malware_Any_Dotnet_Aot_Plenet : VERDANTBAMBOO PLENET FILE MEMORY { meta: description = "Detect PLENET, a multiplatform malware compile with native AOT." author = "threatintel@volexity.com" id = "615d7c43-0128-5cfa-a080-6ece5d2dc029" date = "2025-09-22" modified = "2025-10-30" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-06-04 VerdantBamboo/rules.yar#L1-L31" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "eb141a43958802727a6c813452450c10b92704bea4474ee5fd87c0a1be326e2e" logic_hash = "67d8f7fbc2986b1068a9c557cf85ba83469e3fb7f2433bd10c7ad740a4b0e717" score = 75 quality = 80 tags = "VERDANTBAMBOO, PLENET, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20251104" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 12367 version = 4 strings: $str1 = "[!] Bad dat" wide $str2 = "[!] Connection error. Kill Pty" wide $str3 = "[!] Error : Plexor is nul" wide $str4 = "[!] Unkown message type" wide $str5 = "[*] Disposing.." wide $str6 = "Lack port ':" wide $str7 = "IPv6 port error ':" wide $str8 = "this.existingPipeGiven." wide $str9 = "port must within 0~6553" wide condition: 4 of them } rule VOLEXITY_Apt_Malware_Elf_Verdantbamboo_Paths : VERDANTBAMBOO FILE MEMORY { meta: description = "Detection for VerdantBamboo related malware based on paths from local machines observed in binaries." author = "threatintel@volexity.com" id = "256f6bdc-1067-52e8-81b9-c7be1b802947" date = "2025-09-22" modified = "2026-01-27" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-06-04 VerdantBamboo/rules.yar#L32-L54" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "eb141a43958802727a6c813452450c10b92704bea4474ee5fd87c0a1be326e2e" logic_hash = "aac17908a9d5e71d5db3fbdf9bb3307c74f5911bd253bb2060b05fbf238b2c3f" score = 75 quality = 80 tags = "VERDANTBAMBOO, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20251104" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 12361 version = 3 strings: $s1 = "bin/Release/net8.0/linux-x64/native/server" ascii condition: $s1 } rule VOLEXITY_Apt_Malware_Golang_Brickstorm_B : VERDANTBAMBOO BRICKSTORM FILE MEMORY { meta: description = "Detection for the BRICKSTORM malware family." author = "threatintel@volexity.com" id = "b3b9ff26-56ab-5801-8905-0a304887b998" date = "2025-09-05" modified = "2026-06-09" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-06-04 VerdantBamboo/rules.yar#L56-L98" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "aa688682d44f0c6b0ed7f30b981a609100107f2d414a3a6e5808671b112d1878" logic_hash = "e91203a714a4bc9d1c70eae4670681e3f416257163cf44db20ad33380be5d39a" score = 75 quality = 80 tags = "VERDANTBAMBOO, BRICKSTORM, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20251104" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 12299 version = 6 strings: $method1 = "UnPackHeaderData" $method2 = "handleRelay" $method3 = "NewWebSocketClient" $method4 = "createDnsMessage" $method5 = "GetFileOwnerInfo" $err1 = "dns rcode: %v" $err2 = "readFull error" $err3 = "tagAuth error" $err4 = "error: Auth: %s" $ws1 = " Back
" $ws2 = "Mon, 02 Jan 2006 15:04:05 GMT" $doh = "https://1.0.0.1/dns-queryhttps://1.1.1.1/dns-queryhttps://8.8.4.4/dns-queryhttps://8.8.8.8/dns-query" condition: 4 of ( $method* ) or 3 of ( $err* ) or all of ( $ws* ) or ( $doh and 3 of ( $method* , $err* , $ws* , $doh ) ) } rule VOLEXITY_Apt_Malware_Golang_Brickstorm : VERDANTBAMBOO BRICKSTORM FILE MEMORY { meta: description = "Detects the BRICKSTORM backdoor using common strings." author = "threatintel@volexity.com" id = "25775278-5115-5873-957f-9c5d0c8e4f5e" date = "2025-09-04" modified = "2025-10-30" reference = "https://blog.nviso.eu/wp-content/uploads/2025/04/NVISO-BRICKSTORM-Report.pdf" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-06-04 VerdantBamboo/rules.yar#L100-L136" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "40d264cf9c73923932c3dfd52d20f46ff602be3fea8dc6ecc71aca46e6067bf5" hash = "e981fc4eaaa6417e6034e21438e55c0360773674a6fc0b63c1b95026449e5254" logic_hash = "39e3403d90ad67072ae631273e89fe059ec48906ce1d57fe1afbb91304dc84f3" score = 75 quality = 80 tags = "VERDANTBAMBOO, BRICKSTORM, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" report1 = "TIB-20251104" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 12298 version = 7 strings: $dns1 = "https://1.1.1.1/dns-query" ascii $dns2 = "https://8.8.4.4/dns-query" ascii $dns3 = "https://8.8.8.8/dns-query" ascii $pack1 = "wsshell/core" ascii $pack2 = "wssoft/core" ascii $s1 = "github.com/hashicorp/yamux" ascii $s2 = "winbindd:" ascii $s3 = "WEE1=true" ascii $s4 = "WEE2=true" ascii condition: all of ( $dns* ) and all of ( $s* ) and any of ( $pack* ) } rule VOLEXITY_Apt_Malware_Py_Agentpsd : VERDANTBAMBOO AGENTPSD MEMORY { meta: description = "Detection for AgentPSD, a python-based malware typically delivered within PyInstaller-built binaries." author = "threatintel@volexity.com" id = "4a7d531f-926d-557e-b2a0-d4f103e9c63a" date = "2025-09-05" modified = "2025-10-30" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-06-04 VerdantBamboo/rules.yar#L137-L171" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "ee41e06ed96182ce80cd4544a6abd5d7719c4a5c0e5ddb266a83842d39b99b0a" logic_hash = "dd0b957bc2a61ddebd392b86b35bae8c1052a285fa31ccd700e580c2ad9cce59" score = 75 quality = 80 tags = "VERDANTBAMBOO, AGENTPSD, MEMORY" os = "all" os_arch = "all" scan_context = "memory" severity = "critical" report1 = "TIB-20251104" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 12297 version = 5 strings: $s1 = "g_strPhpUrl" ascii $s2 = "g_nSleepMinits" ascii $s3 = "g_nDuringTime" ascii $func1 = "startwork" ascii $func2 = "ifrunning" ascii $func3 = "getsysinfo" ascii $func4 = "getcmdfromweb" ascii $func5 = "ParseCmdFromResponse" ascii $func6 = "PostDataToServer" ascii $func7 = "DealWithBuildinCommand" ascii $func8 = "PostBuildinResultToWeb" ascii condition: 2 of ( $s* ) or 4 of ( $func* ) } rule VOLEXITY_Apt_Malware_Any_Brickstorm_Rust : VERDANTBAMBOO BRICKSTORM FILE { meta: description = "Detects Rust variants of the BRICKSTORM malware." author = "threatintel@volexity.com" id = "b85ec85f-f590-5c1a-a5f9-107074b0e2a8" date = "2026-02-24" modified = "2026-02-24" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2026/2026-06-04 VerdantBamboo/rules.yar#L173-L202" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "45313a6745803a7f57ff35f5397fdf117eaec008a76417e6e2ac8a6280f7d830" logic_hash = "5f83f26188b7a8cab4bd548609c503371a18967342bd8dd6dede8e7a047e9508" score = 75 quality = 80 tags = "VERDANTBAMBOO, BRICKSTORM, FILE" os = "linux" os_arch = "all" scan_context = "file" severity = "high" report1 = "MAR-20260224" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 12816 version = 2 strings: $package1 = "Yamux" $package2 = "/lib.rs" $str1 = "/opt/vmware/bin/vmisupport" $str2 = "Socks5CmdNotSupported" $str3 = "/dev/ptmx" $str4 = "8tr9y8e4df1h6515fthderth" condition: all of ( $package* ) and 3 of ( $str* ) } rule VOLEXITY_Apt_Malware_Apk_Badbazaar_Common_Certificate : EVILBAMBOO FILE { meta: description = "Detection of the common.cer file used for a large BADBAZAAR malware cluster for its certificate pinning for the C2 communication." author = "threatintel@volexity.com" id = "5a033770-7ad3-5c79-90ac-b1e3fff6b5f0" date = "2023-06-01" modified = "2023-06-13" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-09-22 EvilBamboo/indicators/rules.yar#L230-L255" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "6aefc2b33e23f6e3c96de51d07f7123bd23ff951d67849a9bd32d446e76fb405" logic_hash = "861d4e1c40847c6ade04eddb047370d645afea6d5c16d55155fa58a16111c39e" score = 75 quality = 80 tags = "EVILBAMBOO, FILE" scan_context = "file" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $b1 = {30 82 03 61 30 82 02 49 a0 03 02 01 02 02 04 2b 6e df 67 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b} $s1 = "california1" $s2 = "los1" $s3 = "tech1" $s4 = "common1" $s5 = "common0" $s6 = "220401234506Z" $s7 = "470326234506Z0a1" condition: $b1 at 0 or all of ( $s* ) } rule VOLEXITY_Apt_Malware_Apk_Badbazaar_Stage2_Implant_May23 : EVILBAMBOO FILE { meta: description = "Detection of the second stage capability of the BadBazaar android malware that has the main malicious capabilities. Will gather various info about the user/phone and routinely send this to the C2." author = "threatintel@volexity.com" id = "1f97c610-773f-5385-935a-445cb9192157" date = "2023-05-25" modified = "2023-08-30" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-09-22 EvilBamboo/indicators/rules.yar#L257-L285" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "bf5f7fbf42236e89bcf663d2822d54bee89abaf3f247a54f371bf156e0e03629" logic_hash = "2186369298ebfa0b892ecb14ebacc93c6d14c9c35012e8e6cdff077634cf3773" score = 75 quality = 80 tags = "EVILBAMBOO, FILE" scan_context = "file" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $c1 = "%{\"command\":\"%s\",\"path\":\"%s\",\"files\":[" $c2 = "{\"name\":\"%s\",\"dirs\":\"%d\",\"files\":\"%d\",\"isfolder\":\"%d\",\"path\":\"%s\"}," $s1 = "Timezon id:" $s2 = "China Telecom" $s3 = "China Unicom" $s4 = "ConfigPipe" $s5 = "ForwordTo" $s6 = "can't get camera content" $s7 = "cat /sys/class/net/wlan0/address" $s8 = "_preferences_light" $s9 = "registration_jid" condition: 1 of ( $c* ) or 5 of ( $s* ) } rule VOLEXITY_Apt_Delivery_Web_Js_Jmask_Str_Array_Variant : EVILBAMBOO FILE { meta: description = "Detects the JMASK profiling script in an obfuscated format using a string array and an offset." author = "threatintel@volexity.com" id = "d5d32c8b-53fb-5103-ac73-05f320e71c97" date = "2023-06-27" modified = "2023-09-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-09-22 EvilBamboo/indicators/rules.yar#L408-L444" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "7995c382263f8dbbfc37a9d62392aef8b4f89357d436b3dd94dea842f9574ecf" logic_hash = "0ae7c96e0f866f21d66d7a23bf937d6ce48c9dd1ea19142dbb13487208780146" score = 75 quality = 80 tags = "EVILBAMBOO, FILE" scan_context = "file" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $array_1 = "http://eular.github.io" $array_2 = "stun:stun.services.mozilla.com" $array_3 = "\xE6\x9C\xAA\xE5\xAE\x89\xE8\xA3\x85MetaMask" $array_4 = "/jquery/jquery.min.js" $array_5 = "onicecandidate" $ios_1 = "['a7', '640x1136', [_0x" $ios_2 = "['a7', _0x" $ios_3 = "['a8', _0x" $ios_4 = "['a8', '750x1334', ['iPhone\\x206']]" $ios_5 = "['a8', '1242x2208', ['iPhone\\x206\\x20Plus']]" $ios_6 = "['a8', _0x" $ios_7 = "['a9', _0x" $ios_8 = "['a9', '750x1334', [_0x" $ios_9 = "['a9', '1242x2208', ['iPhone\\x206s\\x20Plus']]" $ios_10 = "['a9x', '2048x2732', ['iPad\\x20Pro\\x20(1st\\x20gen\\x2012.9-inch)']]" $ios_11 = "['a10x', '1668x2224', [_0x" $header = "info = {}, finished = 0x0;" condition: 3 of ( $array_* ) or 5 of ( $ios_* ) or $header } rule VOLEXITY_Apt_Delivery_Web_Js_Jmask : EVILBAMBOO FILE { meta: description = "Detects the JMASK profiling script in its minified // obfuscated format." author = "threatintel@volexity.com" id = "a7b653e1-f7c6-56cc-ab99-3de91d29ef3b" date = "2023-06-15" modified = "2023-09-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-09-22 EvilBamboo/indicators/rules.yar#L446-L472" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "efea95720853e0cd2d9d4e93a64a726cfe17efea7b17af7c4ae6d3a6acae5b30" logic_hash = "64315ac05049954d36297a616a25ffdd7ce81c6313c0878d5ba4082da24c21bb" score = 75 quality = 80 tags = "EVILBAMBOO, FILE" scan_context = "file" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $rev0 = "oi.buhtig.ralue//:ptth" ascii $rev1 = "lairA' xp41" ascii $rev2 = "dnuof ton ksaMateM" ascii $unicode1 = "document[\"\\u0063\\u0075\\u0072\\u0072\\u0065\\u006e\\u0074\\u0053\\u0063\\u0072\\u0069\\u0070\\u0074\"]" ascii $unicode2 = "\\u0061\\u0070\\u0070\\u006c\\u0069\\u0063\\u0061\\u0074\\u0069\\u006f\\u006e\\u002f\\u006a\\u0073\\u006f\\u006e" ascii $unicode3 = "\\u0063\\u006c\\u0069\\u0065\\u006e\\u0074\\u0057\\u0069\\u0064\\u0074\\u0068" ascii $unicode4 = "=window[\"\\u0073\\u0063\\u0072\\u0065\\u0065\\u006e\"]" ascii $header = "(function(){info={};finished=" ascii condition: all of ( $rev* ) or all of ( $unicode* ) or $header } rule VOLEXITY_Apt_Malware_Win_Avburner : DEVIOUSBAMBOO FILE MEMORY { meta: description = "Detects AVBurner based on a combination of API calls used, hard-coded strings and bytecode patterns." author = "threatintel@volexity.com" id = "1bde0861-4820-5bb1-98a3-516092c91be0" date = "2023-01-02" modified = "2024-08-16" reference = "https://www.trendmicro.com/en_us/research/22/k/hack-the-real-box-apt41-new-subgroup-earth-longzhi.html" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-03-07 AVBurner/yara.yar#L1-L40" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "4b1b1a1293ccd2c0fd51075de9376ebb55ab64972da785153fcb0a4eb523a5eb" logic_hash = "56ff6c8a4b737959a1219699a0457de1f0c34fead4299033840fb23c56a0caad" score = 75 quality = 80 tags = "DEVIOUSBAMBOO, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 8780 version = 4 strings: $api1 = "PspCreateProcessNotifyRoutineAddress" wide $api2 = "PspCreateThreadNotifyRoutineAddress" wide $api3 = "PspLoadImageNotifyRoutineAddress" wide $str1 = "\\\\.\\RTCORE64" wide $str2 = "\\\\%ws/pipe/%ws" wide $str3 = "CreateServerW Failed %u" wide $str4 = "OpenSCManager Failed %u" wide $str5 = "Get patternAddress" wide $pattern1 = { 4C 8B F9 48 8D 0C C1 E8 } $pattern2 = { 48 8D 0C DD 00 00 00 00 45 33 C0 49 03 CD 48 8B } $pattern3 = { 48 8D 04 C1 48 89 45 70 48 8B C8 E8 } $pattern4 = { 49 8D 0C FC 45 33 C0 48 8B D6 E8 00 00 00 00 00} $pattern5 = { 45 33 C0 48 8D 0C D9 48 8B D7 E8 00 00 00 00 00 00 00 00 00 00 00 00 00 } $pattern6 = { 41 0F BA 6D 00 0A BB 01 00 00 00 4C 8B F2 4C 8B F9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 } condition: all of ( $api* ) or all of ( $str* ) or all of ( $pattern* ) } rule VOLEXITY_Apt_Win_Powerstar_Persistence_Batch : CHARMINGKITTEN { meta: description = "Detects the batch script used to persist PowerStar via Startup." author = "threatintel@volexity.com" id = "f3ed7b46-d80d-55b1-b6c7-6ea6569f199c" date = "2023-05-16" modified = "2023-09-20" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L1-L19" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "9777f106ac62829cd3cfdbc156100fe892cfc4038f4c29a076e623dc40a60872" logic_hash = "9c3a45b759516959eae1cdf8e73bf540b682c90359a6232aa4782a8d1fe15b7d" score = 75 quality = 80 tags = "CHARMINGKITTEN" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $s_1 = "e^c^h^o o^f^f" $s_2 = "powershertxdll.ertxdxe" $s_3 = "Get-Conrtxdtent -Prtxdath" $s_4 = "%appdata%\\Microsrtxdoft\\Windortxdws\\" $s_5 = "&(gcm i*x)$" condition: 3 of them } rule VOLEXITY_Apt_Win_Powerstar_Memonly : CHARMINGKITTEN { meta: description = "Detects the initial stage of the memory only variant of PowerStar." author = "threatintel@volexity.com" id = "469fc433-da9e-55ed-99fb-9560ec86a179" date = "2023-05-16" modified = "2023-09-20" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L20-L65" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "977cf5cc1d0c61b7364edcf397e5c67d910fac628c6c9a41cf9c73b3720ce67f" logic_hash = "d790ff204e4e8adeb3e887d9ebce743e958b523c48317d017487b1b0c6aebc11" score = 75 quality = 78 tags = "CHARMINGKITTEN" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $s_1 = "[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($in.substring(3)))" $s_2 = "[Convert]::ToByte(([Convert]::ToString(-bnot ($text_bytes[$i])" $s_3 = "$Exec=[System.Text.Encoding]::UTF8.GetString($text_bytes)" $s_4 = "((65..90) + (97..122) | Get-Random -Count 16 | % {[char]$_})" $f_1 = "function Gorjol{" $f_2 = "Borjol \"$" $f_3 = "Gorjol -text" $f_4 = "function Borjoly{" $f_6 = "$filename = $env:APPDATA+\"\\Microsoft\\Windows\\DocumentPreview.pdf\";" $f_7 = "$env:APPDATA+\"\\Microsoft\\Windows\\npv.txt\"" $f_8 = "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\brt8ts74e.bat" $f_9 = "\\Microsoft\\Windows\\s7qe52.txt" $f_10 = "$yeolsoe2 = $yeolsoe" $f_11 = "setRequestHeader(\"Content-DPR\"" $f_12 = "getResponseHeader(\"Content-DPR\")" $f_13 = {24 43 6f 6d 6d 61 6e 64 50 61 72 74 73 20 3d 24 53 65 73 73 69 6f 6e 52 65 73 70 6f 6e 73 65 2e 53 70 6c 69 74 28 22 b6 22 29} $f_14 = "$language -like \"*shar*\"" $f_15 = "$language -like \"*owers*\"" $alias_1 = "(gcm *v????E?P?e*)" $alias_2 = "&(gcm *ke-e*) $Command" $key = "T2r0y1M1e1n1o0w1" $args_1 = "$sem.Close()" $args_2 = "$cem.Close()" $args_3 = "$mem.Close()" $command_1 = "_____numone_____" $command_2 = "_____mac2_____" $command_3 = "_____yeolsoe_____" condition: 2 of ( $s_* ) or any of ( $f_* ) or 2 of ( $alias_* ) or $key or all of ( $args_* ) or any of ( $command_* ) } rule VOLEXITY_Apt_Win_Powerstar_Logmessage : CHARMINGKITTEN { meta: description = "Detects interesting log message embedded in memory only version of PowerStar." author = "threatintel@volexity.com" id = "5979c776-5138-50e2-adab-0793ad86ba76" date = "2023-05-16" modified = "2023-09-20" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L66-L79" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" logic_hash = "539c9a8b3de24f2c8058d204900344756a8031822ebebc312612b8fb8422e341" score = 75 quality = 80 tags = "CHARMINGKITTEN" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $s_1 = "wau, ije ulineun mueos-eul halkkayo?" condition: all of them } rule VOLEXITY_Apt_Win_Powerstar_Lnk : CHARMINGKITTEN { meta: description = "Detects LNK command line used to install PowerStar." author = "threatintel@volexity.com" id = "33f16283-69b9-5109-b723-3ddc8abb8c41" date = "2023-05-16" modified = "2023-09-20" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L80-L97" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" logic_hash = "da53aeaf69e80f697068779f4741b8c23cff82dd1bfb0640916a1bcc98c4892f" score = 75 quality = 80 tags = "CHARMINGKITTEN" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $p_1 = "-UseBasicParsing).Content; &(gcm i*x)$" $c_1 = "powershecde43ell.ecde43exe" $c_2 = "wgcde43eet -Ucde43eri" $c_3 = "-UseBasicde43ecParsing).Contcde43eent; &(gcm i*x)$" condition: any of them } rule VOLEXITY_Apt_Win_Powerstar_Decrypt_Function : CHARMINGKITTEN { meta: description = "Detects PowerStar decrypt function, potentially downloaded standalone and then injected." author = "threatintel@volexity.com" id = "1fbc2689-8169-53b1-b581-c41ab2b3a16f" date = "2023-05-16" modified = "2023-09-20" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L98-L121" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "b79d28fe5e3c988bb5aadb12ce442d53291dbb9ede0c7d9d64eec078beba5585" logic_hash = "d022e363464488836a1c161f2b9c7463ac91ae6f60f14dfd574189233201c9aa" score = 75 quality = 80 tags = "CHARMINGKITTEN" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $f_1 = "function Borjol{" $s_1 = "$global:Domain = \"" $s_2 = "$global:IP = \"" $s_3 = "$global:yeolsoe" $s_4 = "$semii.Close()" $s_5 = "$cemii.Close()" $s_6 = "$memii.Close()" condition: any of ( $f_* ) or 2 of ( $s_* ) } rule VOLEXITY_Apt_Win_Powerstar : CHARMINGKITTEN { meta: description = "Custom PowerShell backdoor used by Charming Kitten." author = "threatintel@volexity.com" id = "febcd23b-6545-571b-905d-18dffe8e913f" date = "2021-10-13" modified = "2023-09-20" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-06-28 POWERSTAR/indicators/rules.yar#L122-L150" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "de99c4fa14d99af791826a170b57a70b8265fee61c6b6278d3fe0aad98e85460" logic_hash = "2cbf59eaee60a8f84b1ac35cec3b01592a2a0f56c92a2db218bb26a15be24bf3" score = 75 quality = 80 tags = "CHARMINGKITTEN" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $appname = "[AppProject.Program]::Main()" ascii wide $langfilters1 = "*shar*" ascii wide $langfilters2 = "*owers*" ascii wide $definitions1 = "[string]$language" ascii wide $definitions2 = "[string]$Command" ascii wide $definitions3 = "[string]$ThreadName" ascii wide $definitions4 = "[string]$StartStop" ascii wide $sess = "$session = $v + \";;\" + $env:COMPUTERNAME + $mac;" ascii wide condition: $appname or all of ( $langfilters* ) or all of ( $definitions* ) or $sess } rule VOLEXITY_Apt_Ico_Uta0040_B64_C2 : UTA0040 FILE { meta: description = "Detection of malicious ICO files used in 3CX compromise." author = "threatintel@volexity.com" id = "1efb6376-a362-5f03-b4d3-08cd7d634de6" date = "2023-03-30" modified = "2023-03-30" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-03-30 3CX/indicators/rules.yar#L1-L31" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "a541e5fc421c358e0a2b07bf4771e897fb5a617998aa4876e0e1baa5fbb8e25c" logic_hash = "2667a36ce151c6e964f9ce9a6f587eedbffdd6ec76e451a23c5cfdd08248d15e" score = 75 quality = 80 tags = "UTA0040, FILE" memory_suitable = 0 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $IEND_dollar = {49 45 4e 44 ae 42 60 82 24} $IEND_nodollar = {49 45 4e 44 ae 42 60 82 } condition: uint16be( 0 ) == 0x0000 and filesize < 120KB and ( $IEND_dollar in ( filesize -500 .. filesize ) and not $IEND_nodollar in ( filesize -20 .. filesize ) and for any k in ( 1 .. #IEND_dollar ) : ( for all i in ( 1 .. 4 ) : ( uint8( @IEND_dollar [ k ] + !IEND_dollar [ k ] + i ) < 123 and uint8( @IEND_dollar [ k ] + !IEND_dollar [ k ] + i ) > 47 ) ) ) } rule VOLEXITY_Apt_Mac_Iconic : UTA0040 { meta: description = "Detects the MACOS version of the ICONIC loader." author = "threatintel@volexity.com" id = "6d702ed3-e5b9-5324-a06b-507c9231cc00" date = "2023-03-30" modified = "2023-03-30" reference = "https://www.reddit.com/r/crowdstrike/comments/125r3uu/20230329_situational_awareness_crowdstrike/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-03-30 3CX/indicators/rules.yar#L32-L50" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "a64fa9f1c76457ecc58402142a8728ce34ccba378c17318b3340083eeb7acc67" logic_hash = "7b689c3931632b01869ac2f21a1edca0a5ca9007299fe7cd16962d6866c27558" score = 75 quality = 80 tags = "UTA0040" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $str1 = "3CX Desktop App" xor(0x01-0xff) $str2 = "__tutma=" xor(0x01-0xff) $str3 = "Mozilla/5.0" xor(0x01-0xff) condition: all of them } rule VOLEXITY_Apt_Win_Iconicstealer : UTA0040 { meta: description = "Detect the ICONICSTEALER malware family." author = "threatintel@volexity.com" id = "d7896506-6ce5-59b1-b24a-87ffdb2a5174" date = "2023-03-30" modified = "2023-03-30" reference = "https://www.reddit.com/r/crowdstrike/comments/125r3uu/20230329_situational_awareness_crowdstrike/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-03-30 3CX/indicators/rules.yar#L51-L69" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "8ab3a5eaaf8c296080fadf56b265194681d7da5da7c02562953a4cb60e147423" logic_hash = "ed7731d2361e7d96a6a35f8359b61a2af049b16bc457cf870db8831e142aebe2" score = 75 quality = 80 tags = "UTA0040" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $str1 = "\\3CXDesktopApp\\config.json" wide $str2 = "url, title FROM urls" wide $str3 = "url, title FROM moz_places" wide condition: all of them } rule VOLEXITY_Apt_Win_3Cx_Backdoored_Lib : UTA0040 { meta: description = "Detects the malicious library delivered in the backdoored 3CX installer." author = "threatintel@volexity.com" id = "39270b93-830e-598f-a38e-fcc5050e4d30" date = "2023-03-30" modified = "2023-03-30" reference = "https://www.reddit.com/r/crowdstrike/comments/125r3uu/20230329_situational_awareness_crowdstrike/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-03-30 3CX/indicators/rules.yar#L94-L133" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "7986bbaee8940da11ce089383521ab420c443ab7b15ed42aed91fd31ce833896" logic_hash = "40be2d46a318ff03724ea1f6628d78001c14c85a3ae6d032c0324ea849d707f2" score = 75 quality = 80 tags = "UTA0040" memory_suitable = 1 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $shellcode = { 44 8D 4A ?? 44 8D 92 ?? ?? ?? ?? 45 85 C9 45 0F 49 D1 41 81 E2 00 FF FF FF 41 F7 DA 44 01 D2 FF C2 4C 63 CA 46 8A 94 0C ?? ?? ?? ?? 45 00 D0 45 0F B6 D8 42 8A AC 1C ?? ?? ?? ?? 46 88 94 1C ?? ?? ?? ?? 42 88 AC 0C ?? ?? ?? ?? 42 02 AC 1C ?? ?? ?? ?? 44 0F B6 CD 46 8A 8C 0C ?? ?? ?? ?? 45 30 0C 0E 48 FF C1 48 39 C8 75 ?? } condition: all of them } rule VOLEXITY_Informational_Win_3Cx_Msi : UTA0040 { meta: description = "Detects 3CX installers created in March 2023, 3CX was known to be compromised at this time." author = "threatintel@volexity.com" id = "ac26e7b1-61eb-5074-bcda-46d714bdba4c" date = "2023-03-30" modified = "2023-03-30" reference = "https://www.reddit.com/r/crowdstrike/comments/125r3uu/20230329_situational_awareness_crowdstrike/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2023/2023-03-30 3CX/indicators/rules.yar#L134-L152" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "aa124a4b4df12b34e74ee7f6c683b2ebec4ce9a8edcf9be345823b4fdcf5d868" logic_hash = "c04de2653ef587f27c7ebf058c6f6c345e16b67f36ccc4306bc49f8c4394728e" score = 75 quality = 80 tags = "UTA0040" memory_suitable = 0 license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" strings: $cert = { 1B 66 11 DF 9C 9A 4D 6E CC 8E D5 0C 9B 91 78 73 } $app = "3CXDesktopApp.exe" $data = "202303" condition: all of them } rule VOLEXITY_Apt_Malware_Win_Deepdata_Module : BRAZENBAMBOO FILE MEMORY { meta: description = "Detects modules used by DEEPDATA based on the required export names used by those modules." author = "threatintel@volexity.com" id = "1287f5dd-9229-57ce-a91a-73d61041df80" date = "2024-07-30" modified = "2024-11-14" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-11-15 BrazenBamboo/rules.yar#L1-L25" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "c782346bf9e5c08a0c43a85d4991f26b0b3c99c054fa83beb4a9e406906f011e" logic_hash = "d36f34343826daf7f7368118c7127c7181a54c99a01803016c9a6965abb309cb" score = 75 quality = 80 tags = "BRAZENBAMBOO, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10868 version = 2 strings: $str1 = "ExecuteCommand" $str2 = "GetPluginCommandID" $str3 = "GetPluginName" $str4 = "GetPluginVersion" condition: all of them } rule VOLEXITY_Apt_Malware_Win_Lightspy_Orchestrator_Decoded_Core : BRAZENBAMBOO FILE MEMORY { meta: description = "Detects the decoded orchestrator for the Windows variant of the LightSpy malware family. This file is normally stored in an encoded state on the C2 server and is used as the core component of this malware family, loading additional plugins from the C2 whilst managing all the C2 communication etc." author = "threatintel@volexity.com" id = "44f8d7a4-7f48-5960-91a7-baf475f7d291" date = "2024-02-15" modified = "2024-07-03" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-11-15 BrazenBamboo/rules.yar#L244-L287" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "80c0cdb1db961c76de7e4efb6aced8a52cd0e34178660ef34c128be5f0d587df" logic_hash = "f0189c0a84c53e365130e9683f2f2b2f73c14412d8e4d0251a4780d0e80162d8" score = 75 quality = 78 tags = "BRAZENBAMBOO, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10246 version = 2 strings: $s1 = "Enter RunWork......." $s2 = "it's running......." $s3 = "select ret = socket_error." $s4 = "%s\\\\account.bin" $s5 = "[CtrlLink]: get machine sn err:%d" $s6 = "wmic path Win32_VideoController get CurrentHorizontalResolution,CurrentVerticalResolution /format:list | findstr /v \\\"^$\\\"" $s7 = "wmic csproduct get vendor,version /format:list | findstr /v \\\"^$\\\"" $s8 = "local ip get sockname error=%d" $s9 = "connect goole dns error=%d" $s10 = "%s/api/terminal/upsert/" $s11 = "/963852741/windows/plugin/manifest" $s12 = "Hello deepdata." $s13 = "Start Light." $s14 = "InitialPluginManager Error." $s15 = "InitialCommandExe Error." $s16 = "ws open, and send logon info." $s17 = "plugin_replay_handler" $s18 = "light_x86.dll" $pdb1 = "\\light\\bin\\light_x86.pdb" $pdb2 = "\\light\\bin\\plugin" $pdb3 = "D:\\tmpWork\\" condition: 1 of ( $pdb* ) or 5 of ( $s* ) } rule VOLEXITY_Apt_Malware_Win_Lightspy_Orchestrator_Decoded_C2_Strings : BRAZENBAMBOO FILE MEMORY { meta: description = "Detects the decoded orchestrator for the Windows variant of the LightSpy malware family. This file is normally stored in an encoded state on the C2 server and is used as the core component of this malware family, loading additional plugins from the C2 whilst managing all the C2 communication etc." author = "threatintel@volexity.com" id = "a0af8fb7-13a3-54e8-8569-e8622fa80d89" date = "2024-02-15" modified = "2024-11-14" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-11-15 BrazenBamboo/rules.yar#L288-L337" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "80c0cdb1db961c76de7e4efb6aced8a52cd0e34178660ef34c128be5f0d587df" logic_hash = "eeaaf6e16d4854a2279bd62596f75cb8b8ec1b05f3b050f5dac97254704b9005" score = 75 quality = 78 tags = "BRAZENBAMBOO, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10245 version = 4 strings: $s1 = "[WsClient][Error]:" $s2 = "[WsClient][Info]:" $s3 = "[WsClient]:WsClient" $s4 = "[WsClient][Info]:Ws" $s5 = "WsClient Worker Thread ID=%d" $s6 = "[LightWebClient]:" $s7 = "LightHttpGet err:%s" $s8 = "User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.145 Safari/537.36" $s9 = "KvList Err:%s" $s10 = "dataMultiPart malloc err:%d" $ctrl1 = "CTRL_HEART_BEAT" $ctrl2 = "CTRL_NET_CONFIG" $ctrl3 = "CTRL_COMMAND_PLAN" $ctrl4 = "CTRL_MODIFY_NET_CONFIG" $ctrl5 = "CTRL_UPLOAD_PLUGIN_STATUS" $ctrl6 = "CTRL_PLUGIN_EXECUTE_COMMAND" $ctrl7 = "CTRL_PLUGIN_COMMAND_STATUS" $ctrl8 = "CTRL_PLUGIN_STOP_COMMAND" $ctrl9 = "CTRL_GET_SLEEP_CONFIG" $ctrl10 = "CTRL_MODIFY_SLEEP_CONFIG" $ctrl11 = "CTRL_SLEEP_STATUS" $ctrl12 = "CTRL_UPDATE_PLUGIN" $ctrl13 = "CTRL_DESTROY" $ctrl14 = "CTRL_RECONFIG_REBOUNT_ADDRESS" $ctrl15 = "CTRL_AUTO_UPLOUD_FILE_CONFIG" $ctrl16 = "CTRL_UPLOUD_DEVICE_INFO" $ctrl17 = "CTRL_TEST_VPDN_ACCOUNT" condition: 3 of ( $s* ) or 5 of ( $ctrl* ) } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_Modules : TRANSPARENTJASMINE FILE MEMORY { meta: description = "Detects DISGOMOJI modules using strings in the ELF." author = "threatintel@volexity.com" id = "b9e4ecdc-9b02-546f-9b79-947cb6b1f99a" date = "2024-02-22" modified = "2024-07-05" reference = "TIB-20240229" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L1-L24" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "2abaae4f6794131108adf5b42e09ee5ce24769431a0e154feabe6052cfe70bf3" logic_hash = "7880288e3230b688b780bdfbac2b0761fd7831b7df233672c2242c21a86e1297" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10270 version = 6 strings: $s1 = "discord-c2/test/main/finalizing/Deliveries/ob_Delivery.go" wide ascii $s2 = "discord-c2/test/main/finalizing/WAN_Conf.go" wide ascii condition: any of them } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_Loader : TRANSPARENTJASMINE FILE MEMORY { meta: description = "Detects DISGOMOJI loader using strings in the ELF." author = "threatintel@volexity.com" id = "6d7848db-f1a5-5ccc-977a-7597b966a31c" date = "2024-02-22" modified = "2024-07-05" reference = "TIB-20240229" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L25-L47" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "51a372fee89f885741515fa6fdf0ebce860f98145c9883f2e3e35c0fe4432885" logic_hash = "d9be4846bab5fffcfd60eaec377443819404f30ec088905c2ee26bd3b7525832" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10269 version = 7 strings: $s1 = "discord-c2/test/main/delievery.go" wide ascii condition: $s1 } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_Debug_String : TRANSPARENTJASMINE FILE MEMORY { meta: description = "Detects DISGOMOJI using strings in the ELF." author = "threatintel@volexity.com" id = "eed2468f-7e50-5f3e-946a-277c10984823" date = "2024-02-22" modified = "2024-11-27" reference = "TIB-20240229" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L48-L71" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "d9f29a626857fa251393f056e454dfc02de53288ebe89a282bad38d03f614529" logic_hash = "6bb130eead39bd8128983e0f2e76cfeff8865ce8ed3cb73b132ed32d68fc0db0" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10268 version = 9 strings: $s1 = "discord-c2/test/main/payload.go" wide ascii $s2 = "Desktop/Golang_Dev/Discord" condition: any of them } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_2 : TRANSPARENTJASMINE FILE MEMORY { meta: description = "Detects DISGOMOJI malware using strings in the ELF." author = "threatintel@volexity.com" id = "609beb47-5e93-5f69-b89d-2cf62f20851a" date = "2024-02-22" modified = "2024-07-05" reference = "TIB-20240229" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L72-L103" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "d9f29a626857fa251393f056e454dfc02de53288ebe89a282bad38d03f614529" logic_hash = "e03a774cca2946c1becdbd775ef465033dae089d578ea18a4f43fd7bdae9168e" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10266 version = 9 strings: $s1 = "downloadFileFromURL" wide ascii $s2 = "createCronJob" wide ascii $s3 = "findAndSendFiles" wide ascii $s4 = "updateLogFile" wide ascii $s5 = "handleZipFile" wide ascii $s6 = "takeScreenshot" wide ascii $s7 = "zipFirefoxProfile" wide ascii $s8 = "zipDirectoryWithParts" wide ascii $s9 = "uploadAndSendToOshi" wide ascii $s10 = "uploadAndSendToLeft" wide ascii condition: 7 of them } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_1 : TRANSPARENTJASMINE FILE MEMORY { meta: description = "Detects GOMOJI malware using strings in the ELF." author = "threatintel@volexity.com" id = "f6643e9a-ca41-57e0-9fce-571d340f1cfe" date = "2024-02-22" modified = "2024-07-05" reference = "TIB-20240229" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L104-L131" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "d9f29a626857fa251393f056e454dfc02de53288ebe89a282bad38d03f614529" logic_hash = "dd3535079881ae9cfe25c129803668cb595be89b7f62eb82af19cc3839f92b6d" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10265 version = 7 strings: $s1 = "Session *%s* opened!" wide ascii $s2 = "uevent_seqnum.sh" wide ascii $s3 = "Error downloading shell script: %v" wide ascii $s4 = "Error setting execute permissions: %v" wide ascii $s5 = "Error executing shell script: %v" wide ascii $s6 = "Error creating Discord session" wide ascii condition: 4 of them } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_Bogus_Strings : TRANSPARENTJASMINE FILE { meta: description = "Detects the DISGOMOJI malware using bogus strings introduced in the newer version." author = "threatintel@volexity.com" id = "ecff8d3c-d4fe-5b6d-a227-6ff531cf8e2b" date = "2024-03-14" modified = "2024-07-05" reference = "TIB-20240318" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L132-L159" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "8c8ef2d850bd9c987604e82571706e11612946122c6ab089bd54440c0113968e" logic_hash = "0d8a2b371ffb182e60a8cc0cc500d1a9f906718a55f23f35f6c12f7faabbe971" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE" os = "linux" os_arch = "all" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10341 version = 5 strings: $s1 = "Graphics Display Rendering" wide ascii $s2 = "Error fetching Repository Key: %v" wide ascii $s3 = "Error reading Repository Key: %v" wide ascii $s4 = "Error fetching dpkg: %v" wide ascii $s5 = "GNU Drivers Latest version v1.4.2" wide ascii $s6 = "ps_output.txt" wide ascii condition: all of them } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_Script_Uevent_Seqnum : TRANSPARENTJASMINE FILE { meta: description = "Detects a script deployed as part of DISGOMOJI malware chain." author = "threatintel@volexity.com" id = "9df61164-6a92-5042-ba4f-64dc7e998283" date = "2024-03-07" modified = "2024-07-05" reference = "TIB-20240318" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L160-L187" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "98b24fb7aaaece7556aea2269b4e908dd79ff332ddaa5111caec49123840f364" logic_hash = "e390e83d9fc15499c9f32ad47d1c526273105602bda7b3532720b0a3f6abc835" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE" os = "linux" os_arch = "all" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10314 version = 6 strings: $s1 = "USB_DIR=\"/media/$USER\"" wide ascii $s2 = "RECORD_FILE=\"record.txt\"" wide ascii $s3 = "copy_files()" wide ascii $s4 = "Check for connected USB drives" wide ascii $s5 = "Check if filename already exists in record.txt" wide ascii $s6 = "Function to copy files from USB drive to destination folder" wide ascii condition: 3 of them } rule VOLEXITY_Apt_Malware_Linux_Disgomoji_Script_Lan_Conf : TRANSPARENTJASMINE FILE { meta: description = "Detects a script deployed as part of DISGOMOJI malware chain." author = "threatintel@volexity.com" id = "b338b3cf-22ce-5767-bdea-503e883bc84b" date = "2024-03-07" modified = "2024-07-05" reference = "TIB-20240318" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L188-L215" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "0b5cf9bd917f0af03dd694ff4ce39b0b34a97c9f41b87feac1dc884a684f60ef" logic_hash = "2a19d5cff7adc9b1b92538a5df4e3cadea694f925f65080f5093fc5425e840f4" score = 75 quality = 80 tags = "TRANSPARENTJASMINE, FILE" os = "linux" os_arch = "all" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10312 version = 7 strings: $s1 = "add_lan_conf_cron_if_not_exists" wide ascii $s2 = "download_if_not_exists" wide ascii $s3 = "add_cron_if_not_exists" wide ascii $s4 = "uevent_seqnum.sh" wide ascii $s5 = "$HOME/.x86_64-linux-gnu" wide ascii $s6 = "lanConfScriptPath" wide ascii condition: 4 of them } rule VOLEXITY_Malware_Golang_Discordc2_Bmdyy_1 : FILE MEMORY { meta: description = "Detects a opensource malware available on github using strings in the binary. The DISGOMOJI malware family used by TransparentJasmine is based on this malware." author = "threatintel@volexity.com" id = "6816d264-4311-5e90-948b-2e27cdf0b720" date = "2024-03-28" modified = "2024-07-05" reference = "TIB-20240229" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L216-L243" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "de32e96d1f151cc787841c12fad88d0a2276a93d202fc19f93631462512fffaf" logic_hash = "22b3e5109d0738552fbc310344b2651ab3297e324bc883d5332c1e8a7a1df29b" score = 75 quality = 80 tags = "FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10390 version = 3 strings: $s1 = "File is bigger than 8MB" wide ascii $s2 = "Uploaded file to" wide ascii $s3 = "sess-%d" wide ascii $s4 = "Session *%s* opened" wide ascii $s5 = "%s%d_%dx%d.png" wide ascii condition: 4 of them } rule VOLEXITY_Malware_Golang_Discordc2_Bmdyy : FILE MEMORY { meta: description = "Detects a opensource malware available on github using strings in the binary. DISGOMOJI used by TransparentJasmine is based on this malware." author = "threatintel@volexity.com" id = "1ddbf476-ba2d-5cbb-ad95-38e0ae8db71b" date = "2024-02-22" modified = "2024-07-05" reference = "https://github.com/bmdyy/discord-c2" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-06-13 DISGOMOJI/indicators/rules.yar#L244-L267" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "d9f29a626857fa251393f056e454dfc02de53288ebe89a282bad38d03f614529" logic_hash = "38b860a43b9937351f74b01983888f18ad101cbe66560feb7455d46b713eba0f" score = 75 quality = 80 tags = "FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10264 version = 12 strings: $s1 = "**IP**: %s\n**User**: %s\n**Hostname**: %s\n**OS**: %s\n**CWD**" wide ascii condition: $s1 } rule VOLEXITY_Apt_Malware_Vbs_Basicstar_A : CHARMINGCYPRESS FILE MEMORY { meta: description = "VBS backdoor which bares architectural similarity to the POWERSTAR malware family." author = "threatintel@volexity.com" id = "e790defe-2bd5-5629-8420-ce8091483589" date = "2024-01-04" modified = "2025-05-21" reference = "TIB-20240111" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-02-13 CharmingCypress/rules.yar#L69-L99" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "c6f91e5585c2cbbb8d06b7f239e30b271f04393df4fb81815f6556fa4c793bb0" logic_hash = "977bb42553bb6585c8d0e1e89675644720ca9abf294eccd797e20d4bca516810" score = 75 quality = 80 tags = "CHARMINGCYPRESS, FILE, MEMORY" os = "win" os_arch = "all" report2 = "TIB-20240126" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10037 version = 8 strings: $s1 = "Base64Encode(EncSess)" ascii wide $s2 = "StrReverse(PlainSess)" ascii wide $s3 = "ComDecode, \"Module\"" ascii wide $s4 = "ComDecode, \"SetNewConfig\"" ascii wide $s5 = "ComDecode, \"kill\"" ascii wide $magic = "cmd /C start /MIN curl --ssl-no-revoke -s -d " ascii wide condition: 3 of ( $s* ) or $magic } rule VOLEXITY_Apt_Malware_Ps1_Powerless_B : CHARMINGCYPRESS FILE MEMORY { meta: description = "Detects POWERLESS malware." author = "threatintel@volexity.com" id = "e62703b5-32fb-5ceb-9f21-f52a4871f3d9" date = "2023-10-25" modified = "2024-01-29" reference = "TIB-20231027" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-02-13 CharmingCypress/rules.yar#L100-L157" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "62de7abb39cf4c47ff120c7d765749696a03f4fa4e3e84c08712bb0484306ae1" logic_hash = "eb9d199c1f7c2a42d711c1a44ab13526787169c18a77ce988568525baca043ef" score = 75 quality = 78 tags = "CHARMINGCYPRESS, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9794 version = 5 strings: $fun_1 = "function verifyClickStorke" $fun_2 = "function ConvertTo-SHA256" $fun_3 = "function Convert-Tobase" fullword $fun_4 = "function Convert-Frombase" fullword $fun_5 = "function Send-Httppacket" $fun_6 = "function Generat-FetchCommand" $fun_7 = "function Create-Fetchkey" $fun_8 = "function Run-Uploader" $fun_9 = "function Run-Shot" fullword $fun_10 = "function ShotThis(" $fun_11 = "function File-Manager" $fun_12 = "function zip-files" $fun_13 = "function Run-Stealer" $fun_14 = "function Run-Downloader" $fun_15 = "function Run-Stro" fullword $fun_16 = "function Run-Tele" fullword $fun_17 = "function Run-Voice" $s_1 = "if($commandtype -eq \"klg\")" $s_2 = "$desrilizedrecievedcommand" $s_3 = "$getAsyncKeyProto = @" $s_4 = "$Global:BotId =" $s_5 = "$targetCLSID = (Get-ScheduledTask | Where-Object TaskName -eq" $s_6 = "$burl = \"$Global:HostAddress/" $s_7 = "$hashString = [System.BitConverter]::ToString($hash).Replace('-','').ToLower()" $s_8 = "$Global:UID = ((gwmi win32_computersystemproduct).uuid -replace '[^0-9a-z]').substring(" $s_9 = "$rawpacket = \"{`\"MId`\":`\"$Global:MachineID`\",`\"BotId`\":`\"$basebotid`\"}\"" $s_12 = "Runned Without any Error" $s_13 = "$commandresponse = (Invoke-Expression $instruction -ErrorAction Stop) | Out-String" $s_14 = "Operation started successfuly" $s_15 = "$t_path = (Get-WmiObject Win32_Process -Filter \"name = '$process'\" | Select-Object CommandLine).CommandLine" $s_16 = "?{ $_.DisplayName -match \"Telegram Desktop\" } | %{$app_path += $_.InstallLocation }" $s_17 = "$chlids = get-ChildItem $t -Recurse -Exclude \"$t\\tdata\\user_data\"" $s_18 = "if($FirsttimeFlag -eq $True)" $s_19 = "Update-Conf -interval $inter -url $url -next_url $next -conf_path $conf_path -key $config_key" condition: 3 of ( $fun_* ) or any of ( $s_* ) } rule VOLEXITY_Apt_Malware_Macos_Vpnclient_Cc_Oct23 : CHARMINGCYPRESS FILE MEMORY { meta: description = "Detection for fake macOS VPN client used by CharmingCypress." author = "threatintel@volexity.com" id = "e0957936-dc6e-5de6-bb23-d0ef61655029" date = "2023-10-17" modified = "2023-10-27" reference = "TIB-20231027" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-02-13 CharmingCypress/rules.yar#L246-L272" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "11f0e38d9cf6e78f32fb2d3376badd47189b5c4456937cf382b8a574dc0d262d" hash = "31ca565dcbf77fec474b6dea07101f4dd6e70c1f58398eff65e2decab53a6f33" logic_hash = "da5e9be752648b072a9aaeed884b8e1729a14841e33ed6633a0aaae1f11bd139" score = 75 quality = 80 tags = "CHARMINGCYPRESS, FILE, MEMORY" os = "darwin,linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9770 version = 3 strings: $s1 = "networksetup -setsocksfirewallproxystate wi-fi off" ascii $s2 = "networksetup -setsocksfirewallproxy wi-fi ___serverAdd___ ___portNum___; networksetup -setsocksfirewallproxystate wi-fi on" ascii $s3 = "New file imported successfully." ascii $s4 = "Error in importing the File." ascii condition: 2 of ( $s* ) } rule VOLEXITY_Apt_Malware_Charmingcypress_Openvpn_Configuration : CHARMINGCYPRESS FILE { meta: description = "Detection for a .ovpn file used in a malicious VPN client on victim machines by CharmingCypress." author = "threatintel@volexity.com" id = "f39b2d7c-f0c5-5623-a114-02ba32469e59" date = "2023-10-17" modified = "2023-10-27" reference = "TIB-20231027" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-02-13 CharmingCypress/rules.yar#L273-L298" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "d6d043973d8843a82033368c785c362f51395b1a1d475fa4705aff3526e15268" hash = "31ca565dcbf77fec474b6dea07101f4dd6e70c1f58398eff65e2decab53a6f33" logic_hash = "f4c5f13ac75504b14def9c37d3a41c6eea4c45845d4b54c50030b1f00691e4bf" score = 75 quality = 80 tags = "CHARMINGCYPRESS, FILE" os = "all" os_arch = "all" scan_context = "file" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9769 version = 3 strings: $remote = "remote-cert-tls server" ascii $ip = "Ip: " $tls = "" condition: all of them } rule VOLEXITY_Apt_Delivery_Win_Charming_Openvpn_Client : CHARMINGCYPRESS FILE { meta: description = "Detects a fake OpenVPN client developed by CharmingCypress." author = "threatintel@volexity.com" id = "b69fdd72-4a55-5e83-b754-401fe9339007" date = "2023-10-17" modified = "2023-10-27" reference = "TIB-20231027" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-02-13 CharmingCypress/rules.yar#L299-L323" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "2d99755d5cd25f857d6d3aa15631b69f570d20f95c6743574f3d3e3e8765f33c" logic_hash = "02596a62cb1ba17ecabef0ae93f434e4774b00422a6da2106a2bc4c59d2f8077" score = 75 quality = 80 tags = "CHARMINGCYPRESS, FILE" os = "win" os_arch = "all" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9768 version = 2 strings: $s1 = "DONE!" $s2 = "AppCore.dll" $s3 = "ultralight@@" condition: all of ( $s* ) } rule VOLEXITY_Apt_Malware_Ps1_Powerstar_Generic : CHARMINGCYPRESS FILE MEMORY { meta: description = "Detects POWERSTAR modules based on common HTTP functions used across modules." author = "threatintel@volexity.com" id = "71a3e99d-e1c8-5ac1-abbc-2ba5cba80799" date = "2023-06-02" modified = "2024-01-26" reference = "TIB-20240126" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-02-13 CharmingCypress/rules.yar#L324-L352" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" logic_hash = "4da02190ffd16304eccbc0d12dfcc5637a6b785af0e3dc3dfcafcfe114597eb2" score = 75 quality = 80 tags = "CHARMINGCYPRESS, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9356 version = 3 strings: $http1 = "Send_Upload" ascii wide $http2 = "Send_Post_Data" ascii wide $json1 = "{\"OS\":\"" ascii wide $json2 = "{\"ComputerName\":\"' + $env:COMPUTERNAME + '\"}" ascii wide $json3 = "{\"Token\"" ascii wide $json4 = "{\"num\":\"" ascii wide condition: all of ( $http* ) or all of ( $json* ) } rule VOLEXITY_Apt_Malware_Any_Reloadext_Plugin : STORMBAMBOO FILE MEMORY { meta: description = "Detection for RELOADEXT, a Google Chrome extension malware." author = "threatintel@volexity.com" id = "6c6c8bee-2a13-5645-89ef-779f00264fd9" date = "2024-02-23" modified = "2024-08-02" reference = "TIB-20240227" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-08-02 StormBamboo/rules.yar#L4-L36" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "9d0928b3cc21ee5e1f2868f692421165f46b5014a901636c2a2b32a4c500f761" logic_hash = "2b11f8fc5b6260ebf00bde83585cd7469709a4979ca579cdf065724bc15052fc" score = 75 quality = 80 tags = "STORMBAMBOO, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10282 version = 4 strings: $man1 = "Reload page with Internet Explorer compatible mode." $man2 = "\"http://*/*\"" $code1 = ";chrome[" $code2 = "XMLHttpRequest(),_" $code3 = "0x400*0x400" condition: all of ( $man* ) or ( #code1 > 8 and #code2 >= 2 and #code3 >= 2 ) } rule VOLEXITY_Apt_Malware_Macos_Reloadext_Installer : STORMBAMBOO FILE MEMORY { meta: description = "Detect the RELOADEXT installer." author = "threatintel@volexity.com" id = "c65ea2b5-ab98-5693-92ea-05c0f1ea1e5b" date = "2024-02-23" modified = "2024-08-02" reference = "TIB-20240227" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-08-02 StormBamboo/rules.yar#L37-L62" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "07e3b067dc5e5de377ce4a5eff3ccd4e6a2f1d7a47c23fe06b1ededa7aed1ab3" logic_hash = "8688796839202d95ded15e10262a7a7c7cbbae4a332b60305402e5984005d452" score = 75 quality = 80 tags = "STORMBAMBOO, FILE, MEMORY" os = "darwin" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10281 version = 2 strings: $str1 = "/CustomPlug1n/" $str2 = "Chrome NOT installed." $str3 = "-f force kill Chrome" $str4 = "/*} &&cp -rf ${" condition: 3 of them } rule VOLEXITY_Apt_Malware_Win_Dustpan_Apihashes : STORMBAMBOO FILE { meta: description = "Detects DUSTPAN malware using API hashes used to resolve functions at runtime." author = "threatintel@volexity.com" id = "ed275da4-cd95-5fa3-a568-e610fb405bb3" date = "2023-08-17" modified = "2024-08-02" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-08-02 StormBamboo/rules.yar#L171-L205" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "b77bcfb036f5a6a3973fdd68f40c0bd0b19af1246688ca4b1f9db02f2055ef9d" logic_hash = "3edb66ade428c451c18aa152244f869f9f8c10e62ed942bf722b4d1cf1893e93" score = 75 quality = 80 tags = "STORMBAMBOO, FILE" os = "win" os_arch = "all" report1 = "MAR-20230818" report2 = "TIB-20231221" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9591 version = 3 strings: $h1 = {9c 5b 9f 0b} $h2 = {4c 8f 3e 08} $h3 = {b4 aa f2 06} $h4 = {dc cb ca 09} $h5 = {d4 33 07 0e} $h6 = {27 89 d6 0a} $h7 = {b5 7d ae 09} $h8 = {4e 64 eb 0b} $h9 = {be 17 d9 08} $magic = "SMHM" condition: 6 of ( $h* ) and $magic } rule VOLEXITY_Apt_Malware_Win_Pocostick_Jul23 : STORMBAMBOO FILE MEMORY { meta: description = "Detects the July 2023 POCOSTICK variant. These strings are only visible in memory after several rounds of shellcode decryption." author = "threatintel@volexity.com" id = "9632a7fc-06da-58b4-b95c-b46aeb9dd41d" date = "2023-07-24" modified = "2024-08-02" reference = "TIB-20231221" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-08-02 StormBamboo/rules.yar#L206-L235" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "ec3e787c369ac4b28447e7cacc44d70a595e39d47f842bacb07d19b12cab6aad" logic_hash = "19487db733c7f793be2a1287df32a165e46f6af0e940b13b389f4d675b5100c4" score = 75 quality = 80 tags = "STORMBAMBOO, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9542 version = 3 strings: $str1 = "Folder PATH listing form volume" wide $str2 = "Volume serial number is 0000-1111" wide $str3 = "Type:Error" wide $str4 = "Type:Desktop" wide $str5 = "Type:Laptop" wide $str6 = "Type:Vitual" wide $str7 = ".unicode.tmp" wide $str8 = "EveryOne" wide condition: 6 of them } rule VOLEXITY_Apt_Malware_Py_Dustpan_Pyloader : STORMBAMBOO FILE MEMORY { meta: description = "Detects Python script used by KPlayer to update, modified by attackers to download a malicious payload." author = "threatintel@volexity.com" id = "446d2eef-c60a-50ed-9ff1-df86b6210dff" date = "2023-07-21" modified = "2024-08-02" reference = "TIB-20231221" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-08-02 StormBamboo/rules.yar#L236-L270" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" logic_hash = "bb3a70dad28181534e27abbbd618165652c137264bfd3726ae4480c642493a3b" score = 75 quality = 80 tags = "STORMBAMBOO, FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9530 version = 4 strings: $s_1 = "def count_md5(src)" $s_2 = "urllib.request.urlretrieve(image_url,main)" $s_3 = "m1 != '4c8a326899272d2fe30e818181f6f67f'" $s_4 = "os.path.split(os.path.realpath(__file__))[0]" $s_5 = "r_v = os.system('curl '+ini_url+cc)" $s_6 = "b41ef5f591226a0d5adce99cb2e629d8" $s_7 = "1df495e7c85e59ad0de1b9e50912f8d0" $s_8 = "tasklist | findstr mediainfo.exe" $url_1 = "http://dl1.5kplayer.com/youtube/youtube_dl.png" $url_2 = "http://dl1.5kplayer.com/youtube/youtube.ini?fire=" $path_1 = "C:\\\\ProgramData\\\\Digiarty\\\\mediainfo.exe" condition: 3 of ( $s_* ) or any of ( $url_* ) or $path_1 } rule VOLEXITY_Apt_Webshell_Pl_Complyshell : UTA0178 FILE MEMORY { meta: description = "Detection for the COMPLYSHELL webshell." author = "threatintel@volexity.com" id = "6b44b5bc-a75f-573c-b9c3-562b7874e408" date = "2023-12-13" modified = "2024-01-12" reference = "TIB-20231215" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-01-10 Ivanti Connect Secure/indicators/yara.yar#L3-L25" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "8bc8f4da98ee05c9d403d2cb76097818de0b524d90bea8ed846615e42cb031d2" logic_hash = "ff46691f1add20cff30fe996e2fb199ce42408e86d5642a8a43c430f2245b1f5" score = 75 quality = 80 tags = "UTA0178, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 9995 version = 4 strings: $s = "eval{my $c=Crypt::RC4->new(" condition: $s } rule VOLEXITY_Hacktool_Py_Pysoxy : FILE MEMORY { meta: description = "SOCKS5 proxy tool used to relay connections." author = "threatintel@volexity.com" id = "88094b55-784d-5245-9c40-b1eebf0e6e72" date = "2024-01-09" modified = "2024-01-09" reference = "TIB-20240109" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-01-10 Ivanti Connect Secure/indicators/yara.yar#L87-L114" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "e192932d834292478c9b1032543c53edfc2b252fdf7e27e4c438f4b249544eeb" logic_hash = "f73e9d3c2f64c013218469209f3b69fc868efafc151a7de979dde089bfdb24b2" score = 75 quality = 80 tags = "FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10065 version = 3 strings: $s1 = "proxy_loop" ascii $s2 = "connect_to_dst" ascii $s3 = "request_client" ascii $s4 = "subnegotiation_client" ascii $s5 = "bind_port" ascii condition: all of them } rule VOLEXITY_Apt_Malware_Py_Upstyle : UTA0218 FILE MEMORY { meta: description = "Detect the UPSTYLE webshell." author = "threatintel@volexity.com" id = "45726f35-8b3e-5095-b145-9e7f6da6838b" date = "2024-04-11" modified = "2024-04-12" reference = "TIB-20240412" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-04-12 Palo Alto Networks GlobalProtect/indicators/rules.yar#L1-L34" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "3de2a4392b8715bad070b2ae12243f166ead37830f7c6d24e778985927f9caac" hash = "0d59d7bddac6c22230187ef6cf7fa22bca93759edc6f9127c41dc28a2cea19d8" hash = "4dd4bd027f060f325bf6a90d01bfcf4e7751a3775ad0246beacc6eb2bad5ec6f" logic_hash = "51923600b23d23f4ce29eac7f5ab9f7e1ddb45bed5f6727ddec4dcb75872e473" score = 75 quality = 80 tags = "UTA0218, FILE, MEMORY" os = "linux" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10429 version = 2 strings: $stage1_str1 = "/opt/pancfg/mgmt/licenses/PA_VM" $stage1_str2 = "exec(base64." $stage2_str1 = "signal.signal(signal.SIGTERM,stop)" $stage2_str2 = "exec(base64." $stage3_str1 = "write(\"/*\"+output+\"*/\")" $stage3_str2 = "SHELL_PATTERN" condition: all of ( $stage1* ) or all of ( $stage2* ) or all of ( $stage3* ) } rule VOLEXITY_Hacktool_Golang_Reversessh_Fahrj : FILE MEMORY { meta: description = "Detects a reverse SSH utility available on GitHub. Attackers may use this tool or similar tools in post-exploitation activity." author = "threatintel@volexity.com" id = "332e323f-cb16-5aa2-8b66-f3d6d50d94f2" date = "2024-04-10" modified = "2024-04-12" reference = "TIB-20240412" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2024/2024-04-12 Palo Alto Networks GlobalProtect/indicators/rules.yar#L82-L116" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "161fd76c83e557269bee39a57baa2ccbbac679f59d9adff1e1b73b0f4bb277a6" logic_hash = "38b40cc7fc1e601da2c7a825f1c2eff209093875a5829ddd2f4c5ad438d660f8" score = 75 quality = 80 tags = "FILE, MEMORY" os = "all" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 10423 version = 5 strings: $fun_1 = "createLocalPortForwardingCallback" $fun_2 = "createReversePortForwardingCallback" $fun_3 = "createPasswordHandler" $fun_4 = "createPublicKeyHandler" $fun_5 = "createSFTPHandler" $fun_6 = "dialHomeAndListen" $fun_7 = "createExtraInfoHandler" $fun_8 = "createSSHSessionHandler" $fun_9 = "createReversePortForwardingCallback" $proj_1 = "github.com/Fahrj/reverse-ssh" condition: any of ( $proj_* ) or 4 of ( $fun_* ) } rule VOLEXITY_Apt_Malware_Golang_Govershell_Strings_UTA0388 : UTA0388 FILE MEMORY { meta: description = "This rule detects multiple variants of the GOVERSHELL malware family employed by UTA0388 via unique strings. The implant is side-loaded by a legitimate executable and uses various network protocol to communicate with the C2 server." author = "threatintel@volexity.com" id = "1fe9b2b8-5c74-5d3c-954b-37f625911f75" date = "2025-06-30" modified = "2025-10-08" reference = "TIB-20250708B" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2025/2025-10-08 UTA0388/rules.yar#L74-L134" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "a5ee55a78d420dbba6dec0b87ffd7ad6252628fd4130ed4b1531ede960706d2d" hash = "fbade9d8a040ed643b68e25e19cba9562d2bd3c51d38693fe4be72e01da39861" logic_hash = "74fa940002e0af9095790b1cf7260778661c97db4e3d316183eecde0e2b580a8" score = 75 quality = 78 tags = "UTA0388, FILE, MEMORY" os = "win" os_arch = "all" report2 = "MAR-20250930" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 11993 version = 10 strings: $a1 = "/lib/te64/" $a2 = "te64/payload." $a3 = "payload.sendAuthRequest.Println.func1" $a4 = "sendAuthRequest.deferwrap" $a5 = ".ensureSingleInstance.Printf." $a6 = "httpslike.NewHttpsLikeConn" $a7 = "main.Execute.Println." $a8 = "C:/Users/Dev/Desktop/20250608" $a9 = "/lib/te64/httpslike/httpslike.go" $a10 = "/lib/te64/payload/payload.go" $a11 = "/lib/te64/main.go" $a12 = "'rootFolderObj" $a13 = "'triggersObj" $a14 = "'repetitionObj" $a15 = "httpslike" $a16 = "main.CopySelf.copyDir." $s1 = "C:/Users/Make/Downloads/te250608/lib/te64/payload" $s2 = "te64/payload." $s3 = "C:/Users/Make/Desktop/lib/" $s4 = "CreateUserTask.deferwrap" $s5 = "main.generateRandomDir" $s6 = "te64.dll" $s7 = "payload.NewHttpClient.ProxyURL." $s8 = "payload.normalizeProxyURL" $b1 = {27 70 72 6f 67 72 61 6d 44 61 74 61 00} $b2 = {27 72 61 6e 64 6f 6d 44 69 72 00} $b3 = {27 74 61 72 67 65 74 44 69 72 00} $b4 = {27 65 78 65 50 61 74 68 00} $b5 = {27 63 75 72 72 65 6e 74 44 69 72 00} $b6 = {27 65 78 65 4e 61 6d 65 00} $b7 = {27 74 61 72 67 65 74 45 78 65 00} $b8 = {27 72 65 6c 50 61 74 68 00} condition: 4 of ( $a* ) or 5 of ( $s* ) or 3 of ( $b* ) } rule VOLEXITY_Webshell_Aspx_Regeorgtunnel : FILE MEMORY { meta: description = "A variation of the reGeorgtunnel open-source webshell." author = "threatintel@volexity.com" id = "b8aa27c9-a28a-5051-8f81-1184f28842ed" date = "2021-03-02" modified = "2024-10-18" reference = "https://github.com/sensepost/reGeorg/blob/master/tunnel.aspx" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-03-02 - Operation Exchange Marauder/indicators/yara.yar#L26-L56" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "406b680edc9a1bb0e2c7c451c56904857848b5f15570401450b73b232ff38928" logic_hash = "ea3d0532cb609682922469e8272dc8061efca3b3ae27df738ef2646e30404c6f" score = 75 quality = 80 tags = "FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 4979 version = 4 strings: $s1 = "System.Net.Sockets" $s2 = "System.Text.Encoding.Default.GetString(Convert.FromBase64String(StrTr(Request.Headers.Get" $t1 = ".Split('|')" $t2 = "Request.Headers.Get" $t3 = ".Substring(" $t4 = "new Socket(" $t5 = "IPAddress ip;" condition: all of ( $s* ) or all of ( $t* ) } rule VOLEXITY_Apt_Webshell_Aspx_Sportsball : FILE MEMORY { meta: description = "The SPORTSBALL webshell, observed in targeted Microsoft Exchange attacks in 2021. SPORTSBALL was later discovered to be a variant of HYPERSHELL, a publicly available webshell." author = "threatintel@volexity.com" id = "25b23a4c-8fc7-5d6f-b4b5-46fe2c1546d8" date = "2021-03-01" modified = "2025-07-24" reference = "https://github.com/misterch0c/APT34/blob/e62f3d14ec78bea5c98d3c895162ca1e47676c18/Webshells_and_Panel/HyperShell/HyperShell/Shell/simple.aspx" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-03-02 - Operation Exchange Marauder/indicators/yara.yar#L57-L89" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "2fa06333188795110bba14a482020699a96f76fb1ceb80cbfa2df9d3008b5b0a" logic_hash = "5ec5e52922e97a3080d397b69b2f42f09daa995271e218ea085fa2ec4e3abad2" score = 75 quality = 80 tags = "FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 4968 version = 6 strings: $uniq1 = "HttpCookie newcook = new HttpCookie(\"fqrspt\", HttpContext.Current.Request.Form" $uniq2 = "ZN2aDAB4rXsszEvCLrzgcvQ4oi5J1TuiRULlQbYwldE=" $s1 = "Result.InnerText = string.Empty;" $s2 = "newcook.Expires = DateTime.Now.AddDays(" $s3 = "System.Diagnostics.Process process = new System.Diagnostics.Process();" $s4 = "process.StandardInput.WriteLine(HttpContext.Current.Request.Form[\"" $s5 = "else if (!string.IsNullOrEmpty(HttpContext.Current.Request.Form[\"" $s6 = "" condition: any of ( $uniq* ) or all of ( $s* ) } rule VOLEXITY_Apt_Malware_Win_Bluelight : INKYPINE FILE MEMORY { meta: description = "The BLUELIGHT malware family. Leverages Microsoft OneDrive for network communications." author = "threatintel@volexity.com" id = "5bfdc74b-592e-5f3d-9fb8-bbbbd0f6f0f6" date = "2021-04-23" modified = "2025-02-18" reference = "https://www.volexity.com/blog/2021/08/24/north-korean-bluelight-special-inkysquid-deploys-rokrat/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-08-17 - InkySquid Part 1/indicators/yara.yar#L78-L120" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "7c40019c1d4cef2ffdd1dd8f388aaba537440b1bffee41789c900122d075a86d" hash = "94b71ee0861cc7cfbbae53ad2e411a76f296fd5684edf6b25ebe79bf6a2a600a" hash = "485246b411ef5ea9e903397a5490d106946a8323aaf79e6041bdf94763a0c028" logic_hash = "45490dfc793bb95f153c0194989b25e0b2641fa9b9f6763d5733eab6483ffead" score = 75 quality = 80 tags = "INKYPINE, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5284 version = 12 strings: $pdb1 = "\\Development\\BACKDOOR\\ncov\\" $pdb2 = "Release\\bluelight.pdb" nocase ascii $pdb3 = "D:\\Development\\GOLD-BACKDOOR\\Release\\FirstBackdoor.pdb" $pdb4 = "GOLD-BACKDOOR\\Release\\" $msg0 = "https://ipinfo.io" fullword $msg1 = "country" fullword $msg5 = "\"UserName\":\"" fullword $msg7 = "\"ComName\":\"" fullword $msg8 = "\"OS\":\"" fullword $msg9 = "\"OnlineIP\":\"" fullword $msg10 = "\"LocalIP\":\"" fullword $msg11 = "\"Time\":\"" fullword $msg12 = "\"Compiled\":\"" fullword $msg13 = "\"Process Level\":\"" fullword $msg14 = "\"AntiVirus\":\"" fullword $msg15 = "\"VM\":\"" fullword condition: any of ( $pdb* ) or all of ( $msg* ) } rule VOLEXITY_Apt_Malware_Rb_Rokrat_Loader : INKYPINE FILE MEMORY { meta: description = "Ruby loader seen loading the ROKRAT malware family." author = "threatintel@volexity.com" id = "69d09560-a769-55d3-a442-e37f10453cde" date = "2021-06-22" modified = "2024-08-22" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-08-24 - InkySquid Part 2/indicators/yara.yar#L1-L32" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "5bc52f6c1c0d0131cee30b4f192ce738ad70bcb56e84180f464a5125d1a784b2" logic_hash = "30ae14fd55a3ab60e791064f69377f3b9de9b871adfd055f435df657f89f8007" score = 75 quality = 80 tags = "INKYPINE, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5598 version = 7 strings: $magic1 = "'https://update.microsoft.com/driverupdate?id=" ascii wide $magic2 = "sVHZv1mCNYDO0AzI';" ascii wide $magic3 = "firoffset..scupd.size" ascii wide $magic4 = /alias UrlFilter[0-9]{2,5} eval;"/ $s1 = "clRnbp9GU6oTZsRGZpZ" $s2 = "RmlkZGxlOjpQb2ludGVy" $s3 = "yVGdul2bQpjOlxGZklmR" $s4 = "XZ05WavBlO6UGbkRWaG" condition: any of ( $magic* ) or any of ( $s* ) } rule VOLEXITY_Apt_Malware_Py_Bluelight_Ldr : INKYPINE FILE { meta: description = "Python Loader used to execute the BLUELIGHT malware family." author = "threatintel@volexity.com" id = "db32b752-eba4-52a6-80b6-d1d394660453" date = "2021-06-22" modified = "2025-02-18" reference = "https://www.volexity.com/blog/2021/08/24/north-korean-bluelight-special-inkysquid-deploys-rokrat/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-08-24 - InkySquid Part 2/indicators/yara.yar#L33-L61" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "80269413be6ad51b8b19631b2f5559c9572842e789bbce031babe6e879d2e120" logic_hash = "6987f5903561da8d4fa32c8d824593f601a49e13edfa2d617952d57ba3444f76" score = 75 quality = 80 tags = "INKYPINE, FILE" os = "win" os_arch = "all" scan_context = "file" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5600 version = 6 strings: $s1 = "\"\".join(chr(ord(" ascii $s2 = "import ctypes" ascii $s3 = "ctypes.CFUNCTYPE(ctypes.c_int)" ascii $s4 = "ctypes.memmove" ascii $magic = "writelines(\"python ended\")" ascii condition: all of ( $s* ) or $magic } rule VOLEXITY_Apt_Malware_Win_Decrok : INKYPINE FILE MEMORY { meta: description = "The DECROK malware family, which uses the victim's hostname to decrypt and execute an embedded payload." author = "threatintel@volexity.com" id = "46be1793-6419-54fe-a78b-5d087e02626e" date = "2021-06-23" modified = "2023-09-28" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-08-24 - InkySquid Part 2/indicators/yara.yar#L62-L90" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "6a452d088d60113f623b852f33f8f9acf0d4197af29781f889613fed38f57855" logic_hash = "a551700943d5abc95af00fc4fefd416ace8d59037852c6bc5caf1d6bd09afd63" score = 75 quality = 80 tags = "INKYPINE, FILE, MEMORY" os = "win" os_arch = "x86" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5606 version = 4 strings: $v1 = {C7 ?? ?? ?? 01 23 45 67 [2-20] C7 ?? ?? ?? 89 AB CD EF C7 ?? ?? ?? FE DC BA 98} $av1 = "Select * From AntiVirusProduct" wide $av2 = "root\\SecurityCenter2" wide $func1 = "CreateThread" $format = "%02x" condition: all of them and $func1 in ( @format .. @format + 10 ) } rule VOLEXITY_Apt_Malware_Win_Rokload : INKYPINE FILE { meta: description = "A shellcode loader used to decrypt and run an embedded executable." author = "threatintel@volexity.com" id = "229dbf3c-1538-5ecd-b5f8-8c9a9c81c515" date = "2021-06-23" modified = "2025-05-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-08-24 - InkySquid Part 2/indicators/yara.yar#L91-L112" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "85cd5c3bb028fe6931130ccd5d0b0c535c01ce2bcda660a3b72581a1a5382904" logic_hash = "8d65d32fd5bc055ca0e3831d3db88299e7c99f8547a170d3c53ec2c4001496a3" score = 75 quality = 80 tags = "INKYPINE, FILE" os = "win" os_arch = "x64" scan_context = "file" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5603 version = 4 strings: $bytes00 = { 48 ?? ?? ?? ?? 48 ?? ?? ?? ?? 48 ?? ?? ?? ?? 57 41 54 41 55 41 56 41 57 48 ?? ?? ?? b9 ?? ?? ?? ?? 33 ff e8 ?? ?? ?? ?? b9 ?? ?? ?? ?? 4c 8b e8 e8 ?? ?? ?? ?? 4c 8b f0 41 ff d6 b9 ?? ?? ?? ?? 44 8b f8 e8 ?? ?? ?? ?? 4c 8b e0 e8 ?? ?? ?? ?? 48 } condition: $bytes00 at 0 } rule VOLEXITY_Apt_Malware_Win_Flipflop_Ldr : COZYLARCH FILE MEMORY { meta: description = "A loader for the CobaltStrike malware family, which ultimately takes the first and second bytes of an embedded file, and flips them prior to executing the resulting payload." author = "threatintel@volexity.com" id = "58696a6f-55a9-5212-9372-a539cc327e6b" date = "2021-05-25" modified = "2025-05-21" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-05-27 - Suspected APT29 Operation Launches Election Fraud Themed Phishing Campaigns/indicators/yara.yar#L3-L26" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "ee42ddacbd202008bcc1312e548e1d9ac670dd3d86c999606a3a01d464a2a330" logic_hash = "a79d2b0700ae14f7a2af23c8f7df3df3564402b1137478008ccabefea0f543ad" score = 75 quality = 80 tags = "COZYLARCH, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5443 version = 6 strings: $s1 = "irnjadle" $s2 = "BADCFEHGJILKNMPORQTSVUXWZY" $s3 = "iMrcsofo taBesC yrtpgoarhpciP orived r1v0." condition: all of ( $s* ) } rule VOLEXITY_Malware_Win_Cobaltstrike_D : FILE MEMORY { meta: description = "The CobaltStrike malware family, variant D." author = "threatintel@volexity.com" id = "89a2459b-314b-513e-bd1a-8c4239a30338" date = "2021-05-25" modified = "2024-11-22" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-05-27 - Suspected APT29 Operation Launches Election Fraud Themed Phishing Campaigns/indicators/yara.yar#L27-L54" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "b041efb8ba2a88a3d172f480efa098d72eef13e42af6aa5fb838e6ccab500a7c" logic_hash = "751b6832f2952d369cb616b28ac009d7bfcc4d92bf2db36d87d69bc1e9fa6c75" score = 75 quality = 80 tags = "FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5445 version = 5 strings: $s1 = "%s (admin)" fullword $s2 = {48 54 54 50 2F 31 2E 31 20 32 30 30 20 4F 4B 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6F 63 74 65 74 2D 73 74 72 65 61 6D 0D 0A 43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 25 64 0D 0A 0D 0A 00} $s3 = "%02d/%02d/%02d %02d:%02d:%02d" fullword $s4 = "%s as %s\\%s: %d" fullword $s5 = "%s&%s=%s" fullword $s6 = "rijndael" fullword $s7 = "(null)" condition: 6 of ( $s* ) } rule VOLEXITY_Apt_Malware_Win_Freshfire : COZYLARCH FILE { meta: description = "The FRESHFIRE malware family. The malware acts as a downloader, pulling down an encrypted snippet of code from a remote source, executing it, and deleting it from the remote server." author = "threatintel@volexity.com" id = "050b8e61-139a-5ff5-998a-7de67c9975bf" date = "2021-05-27" modified = "2025-05-21" reference = "https://www.volexity.com/blog/2021/05/27/suspected-apt29-operation-launches-election-fraud-themed-phishing-campaigns/" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-05-27 - Suspected APT29 Operation Launches Election Fraud Themed Phishing Campaigns/indicators/yara.yar#L55-L87" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "ad67aaa50fd60d02f1378b4155f69cffa9591eaeb80523489a2355512cc30e8c" logic_hash = "69cd73f5812ba955c1352fb1552774d5cf49019d6b65a304fd1e33f852e678ba" score = 75 quality = 80 tags = "COZYLARCH, FILE" os = "win" os_arch = "all" scan_context = "file" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 5459 version = 9 strings: $uniq1 = "UlswcXJJWhtHIHrVqWJJ" $uniq2 = "gyibvmt\x00" $path1 = "root/time/%d/%s.json" $path2 = "C:\\dell.sdr" $path3 = "root/data/%d/%s.json" condition: (pe.number_of_exports == 1 and pe.exports ( "WaitPrompt" ) ) or any of ( $uniq* ) or 2 of ( $path* ) } rule VOLEXITY_Malware_Win_Backwash_Cpp : WHEELEDASH FILE MEMORY { meta: description = "CPP loader for the Backwash malware." author = "threatintel@volexity.com" id = "8a1c4ff1-1827-5e6f-b838-664d8c3be840" date = "2021-11-17" modified = "2023-11-13" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-12-06 - XEGroup/indicators/yara.yar#L3-L26" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "0cf93de64aa4dba6cec99aa5989fc9c5049bc46ca5f3cb327b49d62f3646a852" logic_hash = "c8ed2d3103aa85363acd7f5573aeb936a5ab5a3bacbcf1f04e6b298299f24dae" score = 75 quality = 80 tags = "WHEELEDASH, FILE, MEMORY" os = "win" os_arch = "all" scan_context = "file,memory" severity = "critical" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6147 version = 2 strings: $s1 = "cor1dbg.dll" wide $s2 = "XEReverseShell.exe" wide $s3 = "XOJUMAN=" wide condition: 2 of them } rule VOLEXITY_Malware_Win_Iis_Shellsave : WHEELEDASH FILE MEMORY { meta: description = "Detects an AutoIT backdoor designed to run on IIS servers and to install a webshell." author = "threatintel@volexity.com" id = "a89defa5-4b22-5650-a0c0-f4b3cf3377a7" date = "2021-11-17" modified = "2023-08-17" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-12-06 - XEGroup/indicators/yara.yar#L27-L49" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "21683e02e11c166d0cf616ff9a1a4405598db7f4adfc87b205082ae94f83c742" logic_hash = "f34d6f4ecaa4cde5965f6b0deac55c7133a2be96f5c466f34775be6e7f730493" score = 75 quality = 80 tags = "WHEELEDASH, FILE, MEMORY" scan_context = "file,memory" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6146 version = 4 strings: $s1 = "getdownloadshell" ascii $s2 = "deleteisme" ascii $s3 = "sitepapplication" ascii $s4 = "getapplicationpool" ascii condition: all of them } rule VOLEXITY_Malware_Win_Backwash_Iis_Scout : WHEELEDASH FILE MEMORY { meta: description = "Simple backdoor which collects information about the IIS server it is installed on. It appears to the attacker refers to this components as 'XValidate' - i.e. to validate infected machines." author = "threatintel@volexity.com" id = "1f768b39-21a0-574d-9043-5104540003f7" date = "2021-11-17" modified = "2023-08-17" reference = "https://github.com/volexity/threat-intel" source_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/2021/2021-12-06 - XEGroup/indicators/yara.yar#L50-L78" license_url = "https://github.com/volexity/threat-intel/blob/683296427d8c7f08938ce6c587f618c938cf4c54/LICENSE.txt" hash = "6f44a9c13459533a1f3e0b0e698820611a18113c851f763797090b8be64fd9d5" logic_hash = "18c4e338905ff299d75534006037e63a8f9b191f062cc97b0592245518015f88" score = 75 quality = 80 tags = "WHEELEDASH, FILE, MEMORY" scan_context = "file,memory" severity = "high" license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt" rule_id = 6145 version = 3 strings: $s1 = "SOAPRequest" ascii $s2 = "requestServer" ascii $s3 = "getFiles" ascii $s4 = "APP_POOL_CONFIG" wide $s5 = " " base64 condition: all of them } rule ELCEEF_BAT_Obfuscated_Setenv { meta: description = "Detects batch script with obfuscated SET command located directly after @echo off" author = "marcin@ulikowski.pl" id = "999d192e-a792-5953-b9e2-de4b298444d3" date = "2023-05-01" modified = "2023-05-05" reference = "https://twitter.com/wdormann/status/1651631372438585344" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/Suspicious_BAT.yara#L1-L20" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "a0f43c5748ada07a12af81dda2460045030f936a8d5081f3a403f85c2a9668f8" hash = "1a0ca873412474a6437d33e48071aa0169f8317b5c996e1b10a41791707b2cf5" hash = "83e47d4f3dd43ed01dc573f0b83e9e71f0ec75b6ea5712f640585d01d8aedf3c" hash = "cf351a2b1f0a157a92be2e01e460140e2c1d0ee1685474144f2203a97d2de489" logic_hash = "da3a2245207d79cb720079cc2bc88d5f9db22fc16601d21e7c8dcea381ed11e9" score = 75 quality = 75 tags = "" strings: $s1 = { 40 65 63 68 6f 20 6f 66 66 0d 0a ( 73 65 25 | 73 25 | 25 ) [2-26] 3a 7e [0-6] 3? 25 ( 25 | 20 | 65 25 | 74 20 | 65 74 20 ) } $s2 = { 40 65 63 68 6f 20 6f 66 66 0d 0a 73 65 74 20 22 [4] 3d 73 65 74 20 22 0d 0a 25 } condition: $s1 in ( 0 .. 4 ) or $s2 in ( 0 .. 4 ) } rule ELCEEF_BAT_Chunked_Payload_Setenv { meta: description = "Detects batch script storing chunks of payload in random environment variables" author = "marcin@ulikowski.pl" id = "18f3ddac-bc19-5b54-891e-93271d59490a" date = "2023-05-05" modified = "2024-04-10" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/Suspicious_BAT.yara#L22-L37" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "f73521adbf89be99c4d7ea74ebf7fed815af49ce4dc060656d7c9c631e4d0538" logic_hash = "6b202d1a5723db664c7ca689c73fc1f84365801fd56fc9a035c8d3a0b6b2b9da" score = 75 quality = 75 tags = "" strings: $echo = "@echo off" $set = { ( 0d 0a | 26 20 ) 73 65 74 20 22 [10] 3d [2-6] 22 } condition: $echo in ( 0 .. 4 ) and #set > 10 } rule ELCEEF_BAT_Begin_Substring_Env { meta: description = "Detects suspicious substring syntax at the begining of batch script" author = "marcin@ulikowski.pl" id = "3fca187b-d2e7-595c-9330-25141a54285b" date = "2023-06-02" modified = "2024-04-10" reference = "https://cybersecurity.att.com/blogs/labs-research/seroxen-rat-for-sale" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/Suspicious_BAT.yara#L39-L55" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "8ace121fae472cc7ce896c91a3f1743d5ccc8a389bc3152578c4782171c69e87" logic_hash = "cc5e6e511bbc0a5cbb277ed0cbac1f2b21db8e21c4cdc802b6a1c3313d3b55cc" score = 65 quality = 75 tags = "" strings: $echo = "@echo off" $substr = { 3a 7e ( 3? 2c 3? | 2d 3? 2c 3? | 3? 2c 2d 3? | 3? 3? 2c 3? | 2d 3? 3? 2c 3? | 3? 3? 2c 2d 3? ) 25 } condition: $echo in ( 0 .. 4 ) and $substr in ( 10 .. 100 ) } rule ELCEEF_Polymorph_BAT_CAB : FILE { meta: description = "Detects polymorphic BAT/CAB files self-extracting payload with extrac32.exe/extract.exe" author = "marcin@ulikowski.pl" id = "10a46120-beaf-5443-bc35-c6d9ef065bb4" date = "2024-04-10" modified = "2024-04-10" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/Suspicious_BAT.yara#L57-L72" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "f1296b12925108a5d675a8b9c2033c0b749b121ae3b5a6a912ce4418daa06d99" logic_hash = "d29d488b0ebcfb485818c181ac674e3586aa1a41ab68185a1f1d3e49295ffbce" score = 75 quality = 75 tags = "FILE" strings: $extract = { 65 78 74 72 61 63 ( 33 32 | 74 ) 20 2f 79 20 22 25 7e 66 30 22 } condition: uint32be( 0 ) == 0x4d534346 and uint32( 16 ) > 80 and $extract in ( 48 .. 80 ) } rule ELCEEF_Suspicious_Onenote { meta: description = "Detects OneNote documents with FileDataStoreObject structure containing: PE32, shortcut files (*.lnk), encoded JS, Windows Help File (*.chm), or batch script" author = "marcin@ulikowski.pl" id = "57f6fc7f-666f-5887-ac97-513588415757" date = "2023-01-22" modified = "2023-02-21" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/Suspicious_OneNote.yara#L1-L23" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "f408ef3fa89546483ba63f58be3f27a98795655eb4b9b6217cbe302a5ba9d5f7" hash = "5306fa7940b4d67dfb031fd315b661cecb2ce81e2f34c9393e1826df0f0bbdc5" hash = "e1d34ad42938a777d80f3ee4c206de14021f13ab79600168b85894fdb0867b3e" hash = "9e89231578d8b9b190de3288fd10f43cf11a24963a8b0a76f0c46170deda59fd" hash = "6778c59a29e25d722230163bea272ece58d2d3696fbce4347c20104e8fb735dc" logic_hash = "b65f0976b71c1e827ecce09f0c435d9ffa6a5d3b3a41401efc6a14b6259af4ad" score = 65 quality = 75 tags = "" strings: $magic = { ae b1 53 78 d0 29 96 d3 } $fdso_pe32 = { a4 c4 8d 4d 0b 7a 9e ac [20] 4d 5a } $fdso_bat = { a4 c4 8d 4d 0b 7a 9e ac [20] 40 65 63 68 6f 20 6f 66 66 } $fdso_lnk = { a4 c4 8d 4d 0b 7a 9e ac [20] 4c 00 00 00 01 14 02 00 } $fdso_jse = { a4 c4 8d 4d 0b 7a 9e ac [20] 23 40 7e 5e } $fdso_chm = { a4 c4 8d 4d 0b 7a 9e ac [20] 49 54 53 46 03 } condition: $magic at 8 and 1 of ( $fdso_* ) } rule ELCEEF_EICAR_Encrypted_ZIP { meta: description = "Detects EICAR file in any encrypted ZIP archive" author = "marcin@ulikowski.pl" id = "c12d42de-356a-584b-9c48-71e65940f1cf" date = "2022-12-13" modified = "2022-12-16" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/EICAR_Encrypted_ZIP.yara#L14-L44" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" logic_hash = "56851056671bde38338bd200d9fde59c042f35a2cd84ac9401e716f376c9502c" score = 75 quality = 75 tags = "" strings: $local = { 50 4b 03 04 // local file header signature (PK) ?? 00 // minimum version ?? 00 // flags (bit 0 and 6 indicate encryption) ?? 00 // compression method ?? ?? // last modification time ?? ?? // last modification date ?? ?? ?? ?? // CRC-32 of uncompressed and unencrypted data ?? ?? ?? ?? // compressed size ?? ?? ?? ?? // uncompressed size } condition: for any i in ( 1 .. #local ) : ( ( uint8( @local [ i ] + 6 ) & 0x01 or uint8( @local [ i ] + 6 ) & 0x40 ) and uint32( @local [ i ] + 14 ) == 0x6851cf3c and uint32( @local [ i ] + 22 ) == 68 ) } rule ELCEEF_Winrar_CVE_2025_8088_Exploit : CVE_2025_8088 FILE { meta: description = "Detects RAR archives exploiting CVE-2025-8088 in WinRAR" author = "marcin@ulikowski.pl" id = "546e2858-c04a-5f3c-94b9-54d5b7f364b5" date = "2025-08-18" modified = "2025-08-18" reference = "https://www.welivesecurity.com/en/eset-research/update-winrar-tools-now-romcom-and-others-exploiting-zero-day-vulnerability/" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/WinRAR_CVE_2025_8088.yara#L1-L17" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "2a8fafa01f6d3863c87f20905736ebab28d6a5753ab708760c0b6cf3970828c3" logic_hash = "f3181b92294ad68467b6ce121170a91b423604fd152f27899a2f34879266e9d8" score = 75 quality = 75 tags = "CVE-2025-8088, FILE" strings: $ = { 00 03 53 54 4d [2-3] 3a ( 5c | 2e ) ( 5c | 2e ) ( 5c | 2e ) ( 5c | 2e ) } condition: uint32be( 0 ) == 0x52617221 and all of them } rule ELCEEF_HTML_Smuggling_A : T1027 FILE { meta: description = "Generic detection for HTML smuggling (T1027.006)" author = "marcin@ulikowski.pl" id = "b711318f-81d2-5d0b-968f-04ae18fdea5b" date = "2021-05-13" modified = "2023-04-16" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/HTML_Smuggling.yara#L1-L31" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "279d5ef8f80aba530aaac8afd049fa171704fc703d9cfe337b56639732e8ce11" logic_hash = "bc076e9f3d4c6d2aa5a3602436408e5b2ac3140ca9f7cc776c44835cba211951" score = 75 quality = 75 tags = "T1027, FILE" strings: $mssave = { ( 2e | 22 | 27 ) 6d 73 53 61 76 65 } $element = { ( 2e | 22 | 27 ) 63 72 65 61 74 65 45 6c 65 6d 65 6e 74 ( 28 | 22 | 27 ) } $objecturl = { ( 2e | 22 | 27 ) 63 72 65 61 74 65 4f 62 6a 65 63 74 55 52 4c ( 28 | 22 | 27 ) } $download = { ( 2e | 22 | 27 ) 64 6f 77 6e 6c 6f 61 64 ( 3d | 22 | 27 ) } $click = { ( 2e | 22 | 27 ) 63 6c 69 63 6b ( 3d | 22 | 27 ) } $atob = { 61 74 6f 62 ( 28 | 22 | 27 ) } $blob = "new Blob(" $array = "new Uint8Array(" $ole2 = "0M8R4KGxGuEA" $pe32 = "TVqQAAMAAAAE" $iso = "AAAABQ0QwMDE" $udf = "AAAAQkVBMDEB" $zip = { 55 45 73 44 42 ( 41 | 42 | 43 | 44 ) ( 6f | 30 | 4d | 51 ) ( 41 | 44 ) ( 41 | 43 ) } $jsxor = { 2e 63 68 61 72 43 6f 64 65 41 74 28 [1-10] 29 ( 5e | 20 5e ) } condition: filesize < 5MB and ( $mssave or ( #element == 1 and #objecturl == 1 and #download == 1 and #click == 1 ) ) and $blob and $array and $atob and ( #ole2 + #pe32 + #iso + #udf + #zip + #jsxor ) == 1 } rule ELCEEF_HTML_Smuggling_B : T1027 FILE { meta: description = "Generic detection for HTML smuggling (T1027.006)" author = "marcin@ulikowski.pl" id = "640d70c2-f1fc-5e32-a720-ebc92839ec40" date = "2022-12-02" modified = "2023-04-16" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/HTML_Smuggling.yara#L33-L60" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "63955db0ccd6c0613912afb862635bde0fa925847f27adc8a0d65c994a7e05ea" logic_hash = "3c42e6f715bd5476aea4d47e9f6431747ddf7c7c8098840560201e2c21723eeb" score = 75 quality = 75 tags = "T1027, FILE" strings: $objecturl = { ( 2e | 22 | 27 ) 63 72 65 61 74 65 4f 62 6a 65 63 74 55 52 4c ( 28 | 22 | 27 ) } $atob = "atob(" $blob = "new Blob(" $file = "new File([" $array = "new Uint8Array(" $ole2 = "0M8R4KGxGuEA" $pe32 = "TVqQAAMAAAAE" $iso = "AAAABQ0QwMDE" $udf = "AAAAQkVBMDEB" $zip = { 55 45 73 44 42 ( 41 | 42 | 43 | 44 ) ( 6f | 30 | 4d | 51 ) ( 41 | 44 ) ( 41 | 43 ) } $jsxor = { 2e 63 68 61 72 43 6f 64 65 41 74 28 [1-10] 29 ( 5e | 20 5e ) } condition: filesize < 5MB and $atob and #objecturl == 1 and #file == 1 and #blob == 1 and #array == 1 and ( #ole2 + #pe32 + #iso + #udf + #zip + #jsxor ) == 1 } rule ELCEEF_HTML_Smuggling_C : T1027 FILE { meta: description = "Generic detection for HTML smuggling (T1027.006)" author = "marcin@ulikowski.pl" id = "ea1eafad-905b-571e-a016-8774e65bd976" date = "2023-04-17" modified = "2023-04-17" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/HTML_Smuggling.yara#L62-L82" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "0b4cdfc8ae8ae17d7b6786050f1962c19858b91febb18f61f553083f57d96fea" hash = "2b99bf97f3d02ba3b44406cedd1ab31824723b56a8aae8057256cc87870c199e" hash = "904ea1ada62cfd4b964a6a3eb9bab5b98022ab000f77b75eb265a2ac44b45b37" logic_hash = "83409b0b173980975f6349e448e72fe1b2115fc7dbdec8ee7ad1826a65db17d3" score = 75 quality = 75 tags = "T1027, FILE" strings: $blob = "new Blob(" $array = "new Uint8Array(" $mssave = { ( 2e | 22 | 27 ) 6d 73 53 61 76 65 } $loop = { ?? 5b 69 5d ( 3d | 20 3d | 3d 20 | 20 3d 20 ) ?? 5b 69 5d ( 2d | 20 2d | 2d 20 | 20 2d 20 ) 3? 3b } condition: filesize < 5MB and $mssave and #blob == 1 and #array == 1 and #loop == 1 } rule ELCEEF_HTML_Windows_Search_Abuse { meta: description = "Detects HTML files abusing Windows system functionalities to redirect and download malicious payloads" author = "marcin@ulikowski.pl" id = "537cb46e-4cfc-517c-8d6d-0019f2c3e5ef" date = "2024-06-15" modified = "2024-06-16" reference = "https://github.com/elceef/yara-rulz" source_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/HTML_Windows_Search.yara#L1-L22" license_url = "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE" hash = "d136dcfc355885c502ff2c3be229791538541b748b6c07df3ced95f9a7eb2f30" logic_hash = "6a0d490cf08ab0aad3c535645abe9ebc26d12768cf2a2e932cdb7ec93cf3e2bd" score = 75 quality = 73 tags = "" strings: $location1 = "location.href" wide ascii $location2 = "location.replace(" wide ascii $location3 = "location.assign(" wide ascii $metarefresh = " 1024 * 1024 * 100 and $ext at ( uint16( 26 ) + 26 ) } /* * YARA Rule Set * Repository Name: DitekSHen * Repository: https://github.com/ditekshen/detection * Retrieval Date: 2026-10-26 * Git Commit: e76c93dcdedff04076380ffc60ea54e45b313635 * Number of Rules: 609 * Skipped: 0 (age), 140 (quality), 5 (score), 799 (importance) * * * LICENSE * * Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection). The 2-Clause BSD License Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ rule DITEKSHEN_INDICATOR_TOOL_PWS_Credstealer : FILE { meta: description = "Detects Python executable for stealing credentials including domain environments. Observed in MuddyWater." author = "ditekSHen" id = "ab587b12-f3e1-5f08-b27c-03ee9752e513" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L22-L41" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "e729c8b0b1db642acabbc4590833c05ce81447bb89e5f40aea5f0b8ebdee4438" score = 75 quality = 75 tags = "FILE" strings: $s1 = "PYTHON27.DLL" fullword wide $s2 = "C:\\Python27\\lib\\site-packages\\py2exe\\boot_common.pyR" fullword ascii $s3 = "C:\\Python27\\lib\\site-packages\\py2exe\\boot_common.pyt" fullword ascii $s4 = "subprocess.pyc" fullword ascii $s5 = "MyGetProcAddress(%p, %p(%s)) -> %p" fullword ascii $p1 = "Dump SAM hashes from target systemss" fullword ascii $p2 = "Dump LSA secrets from target systemss" fullword ascii $p3 = "Dump the NTDS.dit from target DCs using the specifed method" fullword ascii $p4 = "Dump NTDS.dit password historys" fullword ascii $p5 = "Use Kerberos authentication. Grabs credentials from ccache file (KRB5CCNAME) based on target parameterss" fullword ascii $p6 = "Retrieve plaintext passwords and other information for accounts pushed through Group Policy Preferencess" fullword ascii $p7 = "Combo file containing a list of domain\\username:password or username:password entriess" fullword ascii condition: uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) and 1 of ( $p* ) ) } rule DITEKSHEN_INDICATOR_TOOL_PWS_Fgdump : FILE { meta: description = "detects all versions of the password dumping tool, fgdump. Observed to be used by DustSquad group." author = "ditekSHen" id = "2759fce2-db2a-5a48-bb37-931fd847a32d" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L64-L81" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "fdccd91a84374f7c94843bd9c2191720959416acf2e33d7b28b42d63d7ea4ce3" score = 75 quality = 75 tags = "FILE" strings: $s1 = "dumping server %s" ascii $s2 = "dump on server %s" ascii $s3 = "dump passwords: %s" ascii $s4 = "Dumping cache" nocase ascii $s5 = "SECURITY\\Cache" ascii $s6 = "LSASS.EXE process" ascii $s7 = " AntiVirus " nocase ascii $s8 = " IPC$ " ascii $s9 = "Exec failed, GetLastError returned %d" fullword ascii $10 = "writable connection to %s" ascii condition: uint16( 0 ) == 0x5a4d and 5 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Blackbone : FILE { meta: description = "detects Blackbone password dumping tool on Windows 7-10 operating system." author = "ditekSHen" id = "a6d9f9d1-75fb-51af-87ad-80b4e135e759" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L112-L129" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "e9dacd28accaef8a93ff8d3b5cf9437b3848791711a4a7118ab46d2bb6ca42d3" score = 75 quality = 75 tags = "FILE" strings: $s1 = "BlackBone: %s: " ascii $s2 = "\\BlackBoneDrv\\" ascii $s3 = "\\DosDevices\\BlackBone" fullword wide $s4 = "\\Temp\\BBImage.manifest" wide $s5 = "\\Device\\BlackBone" fullword wide $s6 = "BBExecuteInNewThread" fullword ascii $s7 = "BBHideVAD" fullword ascii $s8 = "BBInjectDll" fullword ascii $s9 = "ntoskrnl.exe" fullword ascii $s10 = "WDKTestCert Ton," ascii condition: uint16( 0 ) == 0x5a4d and 5 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Mimikatz : FILE { meta: description = "Detects Mimikatz" author = "ditekSHen" id = "feb236c0-6e0d-5c2c-a050-cf1d000aaf38" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L131-L164" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "42c9c78c88bb7c427d5f0bf1d3b0113205780142b499eb17858037ded0f2971e" score = 75 quality = 73 tags = "FILE" strings: $s1 = "mimilib.dll" ascii $s2 = "mimidrv.sys" ascii $s3 = "mimikatz.exe" ascii $s4 = "\\mimidrv.pdb" ascii $s5 = "mimikatz" ascii $s6 = { 6d 00 69 00 6d 00 69 00 6b 00 61 00 74 00 7a } $s7 = { 5c 00 6d 00 69 00 6d 00 69 00 64 00 72 00 76 } $s8 = { 6d 00 69 00 6d 00 69 00 64 00 72 00 76 } $s9 = "Lecture KIWI_MSV1_0_" ascii $s10 = "Search for LSASS process" ascii $f1 = "SspCredentialList" ascii $f2 = "KerbGlobalLogonSessionTable" ascii $f3 = "LiveGlobalLogonSessionList" ascii $f4 = "TSGlobalCredTable" ascii $f5 = "g_MasterKeyCacheList" ascii $f6 = "l_LogSessList" ascii $f7 = "lsasrv!" ascii $f8 = "SekurLSA" ascii $f9 = /Cached(Unlock|Interative|RemoteInteractive)/ ascii $dll_1 = { c7 0? 00 00 01 00 [4-14] c7 0? 01 00 00 00 } $dll_2 = { c7 0? 10 02 00 00 ?? 89 4? } $sys_x86 = { a0 00 00 00 24 02 00 00 40 00 00 00 [0-4] b8 00 00 00 6c 02 00 00 40 00 00 00 } $sys_x64 = { 88 01 00 00 3c 04 00 00 40 00 00 00 [0-4] e8 02 00 00 f8 02 00 00 40 00 00 00 } condition: uint16( 0 ) == 0x5a4d and ( 2 of ( $* ) or 3 of ( $f* ) or all of ( $dll_* ) or any of ( $sys_* ) ) } rule DITEKSHEN_INDICATOR_TOOL_SCN_Portscan : FILE { meta: description = "Detects a port scanner tool observed as second or third stage post-compromise or dropped by malware." author = "ditekSHen" id = "f270e098-17a0-5d66-acd0-c946a29919f4" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L166-L180" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "ebe5eb045a250ca38a55ac43018548074e9db160d76737c36f8ae5ea268b7b10" score = 75 quality = 75 tags = "FILE" strings: $s1 = "HEAD / HTTP/1.0" fullword ascii $s2 = "Result.txt" fullword ascii $s3 = "Example: %s SYN " ascii $s4 = "Performing Time: %d/%d/%d %d:%d:%d -->" fullword ascii $s5 = "Bind On IP: %d.%d.%d.%d" fullword ascii $s6 = "SYN Scan: About To Scan %" ascii $s7 = "Normal Scan: About To Scan %" ascii condition: uint16( 0 ) == 0x5a4d and 5 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Sniffpass : FILE { meta: description = "Detects SniffPass, a password monitoring software that listens on the network and captures passwords over POP3, IMAP4, SMTP, FTP, and HTTP." author = "ditekSHen" id = "b96498d4-bbe3-5cb8-9c24-91ebb51e078a" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L197-L212" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "9b56ee4bac39b4220b24e92d00076650ffe84b71a60c0213a84fcf21c6cfe4cf" score = 75 quality = 75 tags = "FILE" strings: $s1 = "\\Release\\SniffPass.pdb" ascii $s2 = "Password Sniffer" fullword wide $s3 = "Software\\NirSoft\\SniffPass" fullword ascii $s4 = "Sniffed PasswordsCFailed to start" wide $s5 = "Pwpcap.dll" fullword ascii $s6 = "nmwifi.exe" fullword ascii $s7 = "NmApi.dll" fullword ascii $s8 = "npptools.dll" fullword ascii condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_Avbypass_Aviator : FILE { meta: description = "Detects AVIator, which is a backdoor generator utility, which uses cryptographic and injection techniques in order to bypass AV detection. This was observed to bypass Win.Trojan.AZorult. This rule works for binaries and memory." author = "ditekSHen" id = "2bddd64e-baca-58cb-ba52-27487cc4ded5" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L214-L240" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "1fb497eec2b0cd4051b5ddd53463f1da511c0a7b72d54a0bc68736a99fdc6143" score = 75 quality = 75 tags = "FILE" strings: $s1 = "msfvenom -p windows/meterpreter" ascii wide $s2 = "payloadBox.Text" ascii wide $s3 = "APCInjectionCheckBox" ascii wide $s4 = "Thread Hijacking (Shellcode Arch: x86, OS Arch: x86)" ascii wide $s5 = "injectExistingApp.Text" ascii wide $s6 = "Stable execution but can be traced by most AVs" ascii wide $s7 = "AV/\\tor" ascii wide $s8 = "AvIator.Properties.Resources" ascii wide $s9 = "Select injection technique" ascii wide $s10 = "threadHijacking_option" ascii wide $pwsh1 = "Convert.ToByte(Payload_Encrypted_Without_delimiterChar[" ascii wide $pwsh2 = "[DllImport(\"kernel32.dll\", SetLastError = true)]" ascii wide $pwsh3 = "IntPtr RtlAdjustPrivilege(" ascii wide $pwsh4 = /InjectShellcode\.(THREADENTRY32|CONTEXT64|WriteProcessMemory\(|CloseHandle\(|CONTEXT_FLAGS|CONTEXT\(\);|Thread32Next\()/ ascii wide $pwsh5 = "= Payload_Encrypted.Split(',');" ascii wide $pwsh6 = "namespace NativePayload_Reverse_tcp" ascii wide $pwsh7 = "byte[] Finall_Payload = Decrypt(KEY, _X_to_Bytes);" ascii wide $pwsh8 = /ConstantsAndExtCalls\.(WriteProcessMemory\(|CreateRemoteThread\()/ ascii wide condition: ( uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 2 of ( $pwsh* ) ) ) or ( 3 of ( $s* ) or 2 of ( $pwsh* ) ) } rule DITEKSHEN_INDICATOR_TOOL_PWS_Pwdump7 : FILE { meta: description = "Detects Pwdump7 password Dumper" author = "ditekSHen" id = "dc6ff544-b9de-547b-9fa8-7d0b32e9592d" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L242-L254" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "f84ab69ecc6837a826dc8726785165b8135edf51a47fb5bbaf19dc589b3032bd" score = 75 quality = 75 tags = "FILE" strings: $s1 = "savedump.dat" fullword ascii $s2 = "Asd -_- _RegEnumKey fail!" fullword ascii $s3 = "\\SAM\\" ascii $s4 = "Unable to dump file %S" fullword ascii $s5 = "NO PASSWORD" ascii condition: ( uint16( 0 ) == 0x5a4d and 4 of them ) or ( all of them ) } rule DITEKSHEN_INDICATOR_TOOL_LTM_Sharpexec : FILE { meta: description = "Detects SharpExec lateral movement tool" author = "ditekSHen" id = "4373a052-9525-5b24-81a4-65cd68afcb6c" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L256-L275" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "17ae5c9f0b22e8ecbbbcbe052e466d00cb7b62cff423688b5138209c52f0698d" score = 75 quality = 73 tags = "FILE" strings: $s1 = "fileUploaded" fullword ascii $s2 = "$7fbad126-e21c-4c4e-a9f0-613fcf585a71" fullword ascii $s3 = "DESKTOP_HOOKCONTROL" fullword ascii $s4 = /WINSTA_(ACCESSCLIPBOARD|WINSTA_ALL_ACCESS)/ fullword ascii $s5 = /NETBIND(ADD|DISABLE|ENABLE|REMOVE)/ fullword ascii $s6 = /SERVICE_(ALL_ACCESS|WIN32_OWN_PROCESS|INTERROGATE)/ fullword ascii $s7 = /(Sharp|PS|smb)Exec/ fullword ascii $s8 = "lpszPassword" fullword ascii $s9 = "lpszDomain" fullword ascii $s10 = "wmiexec" fullword ascii $s11 = "\\C$\\__LegitFile" wide $s12 = "LOGON32_LOGON_NEW_CREDENTIALS" fullword ascii condition: ( uint16( 0 ) == 0x5a4d and 9 of them ) or ( all of them ) } rule DITEKSHEN_INDICATOR_TOOL_PRV_Advancedrun : FILE { meta: description = "Detects NirSoft AdvancedRun privialge escalation tool" author = "ditekSHen" id = "c886951a-7ee9-5d38-a724-3dbba8c6ec31" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L277-L289" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "3f39e8f0629647f44a2f473d7b49a8b6adb1acd62de36420b80e7820e63854bb" score = 75 quality = 75 tags = "FILE" strings: $s1 = "RunAsProcessName" fullword wide $s2 = "Process ID/Name:" fullword wide $s3 = "swinsta.dll" fullword wide $s4 = "User of the selected process0Child of selected process (Using code injection) Specified user name and password" fullword wide $s5 = "\"Current User - Allow UAC Elevation$Current User - Without UAC Elevation#Administrator (Force UAC Elevation)" fullword wide condition: uint16( 0 ) == 0x5a4d and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Amady : FILE { meta: description = "Detects password stealer DLL. Dropped by Amadey" author = "ditekSHen" id = "6ee4e25b-bf38-5664-a08f-94e3fa92aa29" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L291-L306" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "409374bec5f58abeb7741b41f0fc7ea1c3fdc7bbc3f0c0628db0e3aac82836d1" score = 75 quality = 75 tags = "FILE" strings: $s1 = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\AppData" fullword ascii $s2 = "Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles\\Outlook" ascii $s3 = "\\Mikrotik\\Winbox\\Addresses.cdb" fullword ascii $s4 = "\\HostName" fullword ascii $s5 = "\\Password" fullword ascii $s6 = "SOFTWARE\\RealVNC\\" ascii $s7 = "SOFTWARE\\TightVNC\\" ascii $s8 = "cred.dll" fullword ascii condition: uint16( 0 ) == 0x5a4d and filesize < 400KB and 7 of them } rule DITEKSHEN_INDICATOR_TOOL_SCR_Amady : FILE { meta: description = "Detects screenshot stealer DLL. Dropped by Amadey" author = "ditekSHen" id = "f7660899-ed12-5765-a856-6a1c7bbd8978" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L308-L320" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "9e7ab39976e3219f0c6c3ce5341442343cc4baf30757cd1c9d0c2d3845fdda2f" score = 75 quality = 75 tags = "FILE" strings: $s1 = "User-Agent: Uploador" fullword ascii $s2 = "Content-Disposition: form-data; name=\"data\"; filename=\"" fullword ascii $s3 = "WebUpload" fullword ascii $s4 = "Cannot assign a %s to a %s%List does not allow duplicates ($0%x)%String" wide $s5 = "scr.dll" fullword ascii condition: uint16( 0 ) == 0x5a4d and filesize < 700KB and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_EXP_Eternalblue : FILE { meta: description = "Detects Windows executables containing EternalBlue explitation artifacts" author = "ditekSHen" id = "08173a1e-2e32-5add-864a-d92ffa0a3e44" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L322-L342" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "63e56637118accb8c32c20e52465c027df2dbf83b3b663d316b453ce879572c8" score = 75 quality = 75 tags = "FILE" strings: $ci1 = "CNEFileIO_" ascii wide $ci2 = "coli_" ascii wide $ci3 = "mainWrapper" ascii wide $dp1 = "EXPLOIT_SHELLCODE" ascii wide $dp2 = "ETERNALBLUE_VALIDATE_BACKDOOR" ascii wide $dp3 = "ETERNALBLUE_DOUBLEPULSAR_PRESENT" ascii wide $dp4 = "//service[name='smb']/port" ascii wide $dp5 = /DOUBLEPULSAR_(PROTOCOL_|ARCHITECTURE_|FUNCTION_|DLL_|PROCESS_|COMMAND_|IS_64_BIT)/ $cm1 = "--DllOrdinal 1 ProcessName lsass.exe --ProcessCommandLine --Protocol SMB --Architecture x64 --Function Rundll" ascii wide $cm2 = "--DllOrdinal 1 ProcessName lsass.exe --ProcessCommandLine --Protocol SMB --Architecture x86 --Function Rundll" ascii wide $cm3 = "--DaveProxyPort=0 --NetworkTimeout 30 --TargetPort 445 --VerifyTarget True --VerifyBackdoor True --MaxExploitAttempts 3 --GroomAllocations 12 --OutConfig" ascii wide condition: uint16( 0 ) == 0x5a4d and ( 2 of ( $ci* ) ) or ( 2 of ( $dp* ) ) or ( 1 of ( $dp* ) and 1 of ( $ci* ) ) or ( 1 of ( $cm* ) ) } rule DITEKSHEN_INDICATOR_TOOL_EXP_Weblogic : FILE { meta: description = "Detects Windows executables containing Weblogic exploits commands" author = "ditekSHen" id = "e761a968-35cb-5284-99f2-6d516ad348e3" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L344-L353" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "01855f1125b0ba87dd40f7d460440dbda2d75c8b484e842a2b2e20c089b4ab5e" score = 75 quality = 75 tags = "FILE" strings: $s1 = "certutil.exe -urlcache -split -f AAAAA BBBBB & cmd.exe /c BBBBB" ascii $s2 = "powershell (new-object System.Net.WebClient).DownloadFile('AAAAA','BBBBB')" ascii condition: uint16( 0 ) == 0x5a4d and 1 of them } rule DITEKSHEN_INDICATOR_TOOL_SCN_Smbtouch : FILE { meta: description = "Detects SMBTouch scanner EternalBlue, EternalChampion, EternalRomance, EternalSynergy" author = "ditekSHen" id = "4e8176dd-4113-5fa8-a695-77e7169f6975" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L376-L400" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "78c2a435762d3febe927eb15910d5a18c1ffe74604673463543d3c859f5ef8e9" score = 75 quality = 75 tags = "FILE" strings: $s1 = "[+] SMB Touch started" fullword ascii $s2 = "[-] Could not connect to share (0x%08X - %s)" fullword ascii $s3 = "[!] Target could be either SP%d or SP%d," fullword ascii $s4 = "[!] for these SMB exploits they are equivalent" fullword ascii $s5 = "[+] Target is vulnerable to %d exploit%s" fullword ascii $s6 = "[+] Touch completed successfully" fullword ascii $s7 = "Network error while determining exploitability" fullword ascii $s8 = "Named pipe or share required for exploit" fullword ascii $w1 = "UsingNbt" fullword ascii $w2 = "TargetPort" fullword ascii $w3 = "TargetIp" fullword ascii $w4 = "RedirectedTargetPort" fullword ascii $w5 = "RedirectedTargetIp" fullword ascii $w6 = "NtlmHash" fullword ascii $w7 = "\\PIPE\\LANMAN" fullword ascii $w8 = "UserRejected: " fullword ascii condition: uint16( 0 ) == 0x5a4d and ( 2 of ( $s* ) or all of ( $w* ) ) } rule DITEKSHEN_INDICATOR_TOOL_SCN_Nbtscan : FILE { meta: description = "Detects NBTScan scanner for open NETBIOS nameservers on a local or remote TCP/IP network" author = "ditekSHen" id = "663c324e-4784-5efe-bbdf-60fa42e13944" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L402-L420" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "a81b95ad60aac4d66586ae7dc61f6bcbe2b7185b66b2bb895f45abff3ad3f430" score = 75 quality = 75 tags = "FILE" strings: $s1 = "[%s] is an invalid target (bad IP/hostname)" fullword ascii $s2 = "ERROR: no parse for %s -- %s" fullword ascii $s3 = "add_target failed" fullword ascii $s4 = " -p bind to UDP Port (default=%d)" fullword ascii $s5 = "process_response.c" fullword ascii $s6 = "currTarget != 0" fullword ascii $s7 = "parse_target.c" fullword ascii $s8 = "dump_packet.c" fullword ascii $s9 = "parse_target_cb.c" fullword ascii $s10 = "DUMP OF PACKET" fullword ascii $s11 = "lookup_hostname.c" fullword ascii condition: uint16( 0 ) == 0x5a4d and 10 of ( $s* ) } rule DITEKSHEN_INDICATOR_TOOL_PWS_Keychaindumper : FILE { meta: description = "Detects macOS certificate/password keychain dumping tool" author = "ditekSHen" id = "cec094fa-c651-58a6-a306-f16d8603e536" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L473-L484" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "f606bdd5dba2180ffc552c46373b52801a0bd65a538b381fb9f4240efc5bd458" score = 75 quality = 71 tags = "FILE" clamav_sig = "INDICATOR_Osx.Tool.PWS.KeychainDumper" strings: $s1 = "_getEmptyKeychainItemString" fullword ascii $s2 = "NdumpKeychainEntitlements" fullword ascii $s3 = "_dumpKeychainEntitlements" fullword ascii condition: ( uint16( 0 ) == 0xfeca or uint16( 0 ) == 0xfacf ) and all of them } rule DITEKSHEN_INDICATOR_TOOL_PET_P0Wnedshell : FILE { meta: description = "Detects compiled executables of p0wnedShell post-exploitation toolkit" author = "ditekSHen" id = "7df8f9b4-48d3-5271-9d60-5dd4bfaed316" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L486-L512" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "9745b69573bf695fdada122143fb1889a7b2025250b5fb1e8f1a86b3be6f27d3" score = 75 quality = 75 tags = "FILE" strings: $s1 = "Use WinRM, PsExec, SMB/WMI to execute commands on remote systems" wide $s2 = "-CreateProcess \"cmd.exe\" -Username \"nt authority\\system\"" wide $s3 = "-Command '\"lsadump::dcsync /user:" wide $s4 = "-Payload windows/meterpreter/reverse_https -Lhost" wide $s5 = "Get-Content ./EncodedPayload.bat" fullword wide $e1 = "OnYNAB+LCAAAAAAABAC8vOeS60iSLvh75yly+rZZVxuqC4KQs3uvLQhFEJIACALoHVuD1oKQBMbuuy+Y4pw8dUTf3R+bZlWVZHh87uHh4vPItv63ZGrCMW+bF7GZ2zL+" wide $e2 = "kuIeAB+LCAAAAAAABADsvWt327iuMPw9v0Jv27Wa7DqJc2ma5nl71vZFTpzx/ZJL+3TlyLZiq7EtjyTHcffZ//0BSEqiKEqWbKczs8941qS2LgAIAiAIguDjfNp3DHOq" wide $e3 = "mZYIAB+LCAAAAAAABADsvflj2zyOMPx7/gptmnftbBIfuZp0t/OOfMZp7PjO0adfX9lSbCWy5Vp2HGfm+d8/ACQl6vCRNp2Z3bVmnioWSRAEQQAESfC/Pmwp8FTtmTFu" wide $e4 = "u9YGAB+LCAAAAAAABADsvW1D40ayKPw9v0Lr4V7ZE8vY5mUY9rKJBzMTnmWAgyGTvYTlCluAdmzJK9nDsEn++1NV/S61ZJmXZJIN52wG7O7q6urq6qrqquoXSfDveZgE" wide $e5 = "T3gDAB+LCAAAAAAABADtvX1f2zq2KPz3yafQzuZcwi5JEydQ2nM7v4cCnc0zQLmE7j3z6+7NmMQBnwY7YzsFTqff/WpJsi3Jki07DlA2mT008ctaS0tL601L0nThjSPX" wide $e6 = "zRgDAB+LCAAAAAAABADtfW1327jR6OdHv4Kr9TmWdiVZkl+SdZs913Gcrm9tx7WcbvekuS4t0TYbiVRJKYmfbf77xeCNeCVBinKcbNStI5HAYDAYDAaDwczNMhovwjjy" wide $e7 = "pxICAB+LCAAAAAAABADtvf17GkeyKPyz+Cvmlfw+ggRhfcXr1X1znsUIx5yVhC7IUbI+fnUHGKRZwww7M1jWyeZ/v1XV3z09wABysnviZ1cBpqe6urqquqq6uno8j4ZZ" wide $e8 = "H4sIAAAAAAAEANy9e3wTVfo4PG1SmkLbCdpgFdSgUeuCbLTAthYk005gQhNahUIVkCqIqKi1TaAuIGBaJRzG27Kuul5wV3fV1fUuUFxNKbTl3oJAuaiouE4paAGBFpB5" wide $k1 = "EasySystemPPID" fullword ascii $k2 = "EasySystemShell" fullword ascii $k3 = "LatMovement" fullword ascii $k4 = "ListenerURL" fullword ascii $k5 = "MeterStager" fullword ascii $k6 = "PatchEventLog" fullword ascii condition: uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 7 of ( $e* ) or all of ( $k* ) or ( 2 of ( $s* ) and 2 of ( $e* ) and 2 of ( $k* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_PWS_Rubeus : FILE { meta: description = "Detects Rubeus kerberos defensive/offensive toolset" author = "ditekSHen" id = "5af8cee0-e664-5dfe-9932-0e74ed41b6b4" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L514-L531" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "ee817d23427970d7e77f9ce2a7cbc25c77177d81354fed83e7551cdcbc2d7cd2" score = 75 quality = 75 tags = "FILE" strings: $s1 = "(&(samAccountType=805306368)(userAccountControl:1.2.840.113556.1.4.803:=4194304))" fullword wide $s2 = "(!samAccountName=krbtgt)(!(UserAccountControl:1.2.840.113556.1.4.803:=2))" fullword wide $s3 = "rc4opsec" fullword wide $s4 = "pwdlastset" fullword wide $s5 = "LsaEnumerateLogonSessions" fullword ascii $s6 = "extractKerberoastHash" fullword ascii $s7 = "ComputeAllKerberosPasswordHashes" fullword ascii $s8 = "kerberoastDomain" fullword ascii $s9 = "GetUsernamePasswordTGT" fullword ascii $s10 = "WriteUserPasswordToFile" fullword ascii condition: uint16( 0 ) == 0x5a4d and 8 of them } rule DITEKSHEN_INDICATOR_TOOL_UAC_NSISUAC : FILE { meta: description = "Detects NSIS UAC plugin" author = "ditekSHen" id = "4a7c20f6-bf0e-55fb-a0b9-7b51e4af7cd3" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L575-L587" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "48c0247c789328a0ff62816f5d6ecac7a0f2a3fe2cb95d99c0e7d988147f7137" score = 75 quality = 75 tags = "FILE" strings: $s1 = "HideCurrUserOpt" fullword wide $s2 = "/UAC:%X /NCRC%s" fullword wide $s3 = "2MyRunAsStrings" fullword wide $s4 = "CheckElevationEnabled" fullword ascii $s5 = "UAC.dll" fullword ascii condition: uint16( 0 ) == 0x5a4d and all of them } rule DITEKSHEN_INDICATOR_TOOL_REM_Intelliadmin : FILE { meta: description = "Detects commerical IntelliAdmin remote tool" author = "ditekSHen" id = "15385e0b-ead4-5614-a04e-55878eb70b34" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L589-L602" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "8b601d68eff65bc6cc2fb46630a7021e229764f9a80f6d3278ba3b9f55e5b114" score = 75 quality = 75 tags = "FILE" strings: $pdb1 = "\\Network Administrator" ascii $pdb2 = "\\Binaries\\Plugins\\Tools\\RPCService.pdb" ascii $s1 = "CIntelliAdminRPC" fullword wide $s2 = "IntelliAdmin RPC Service" fullword wide $s3 = "IntelliAdmin Remote Execute v" ascii $s4 = "IntelliAdminRPC" fullword ascii condition: uint16( 0 ) == 0x5a4d and ( all of ( $pdb* ) or 2 of ( $s* ) ) } rule DITEKSHEN_INDICATOR_TOOL_PET_Sharpwmi : FILE { meta: description = "Detects SharpWMI" author = "ditekSHen" id = "9c58d9fa-04b8-5a9c-8ae9-ff2e7530772f" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L604-L619" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "e6c5764d0883e2882e06f07e4729362011a4d65614259b85978e1c6ef5cfadb7" score = 75 quality = 73 tags = "FILE" strings: $s1 = "scriptKillTimeout" fullword ascii $s2 = "RemoteWMIExecuteWithOutput" fullword ascii $s3 = "RemoteWMIFirewall" fullword ascii $s4 = "iex([char[]](@({0})|%{{$_-bxor{1}}}) -join '')" fullword wide $s5 = "\\\\{0}\\root\\subscription" fullword wide $s6 = "_Context##RANDOM##" fullword wide $s7 = "executevbs" fullword wide $s8 = "scriptb64" fullword wide condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_PET_Defendercontrol : FILE { meta: description = "Detects Defender Control" author = "ditekSHen" id = "7bc1f26e-2432-5642-b1e7-c87683f7d932" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L621-L631" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "826ed0643a07580750eb11c4cf2c2759f53b6c2bda51705476edc4808abccbf8" score = 75 quality = 75 tags = "FILE" strings: $s1 = "Windows Defender Control" wide $s2 = "www.sordum.org" wide ascii $s3 = "dControl" wide condition: uint16( 0 ) == 0x5a4d and 2 of them } rule DITEKSHEN_INDICATOR_TOOL_PET_Mulit_Venomagent : FILE { meta: description = "Detects Venom Proxy Agent" author = "ditekSHen" id = "598bc773-cbe9-503b-ba3e-27c2cde8910d" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L633-L645" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "5eda23a237404a44dc9eb057adbf6106166374168eb08e55c182da5c05ecb4f1" score = 75 quality = 75 tags = "FILE" strings: $s1 = "github.com/Dliv3/Venom/" ascii $s2 = "3HpKQVB3nT3qaNQPT-ZU/SKJ55ofz5TEmg5O3ROWA/CUs_-gfa04tGVO633Z4G/OSeEpRRb0Sq_5R6ArIi-" ascii $s3 = "venom_agent -" ascii $s4 = "bufferssh-userauthtransmitfileunknown portwirep: p->m= != sweepgen" ascii $s5 = "golang.org/x/crypto/ssh.(*handshakeTransport).readPacket" condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_HFS_Webserver : FILE { meta: description = "Detects HFS Web Server" author = "ditekSHen" id = "2c9d9a38-8a6c-5c53-84bc-4eef77933172" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L647-L658" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "f5b8947e3858466dae5f476790842500f8184c4676d8c0c4870adb7fd3206652" score = 75 quality = 75 tags = "FILE" strings: $s1 = "SOFTWARE\\Borland\\Delphi\\" ascii $s2 = "C:\\code\\mine\\hfs\\scriptLib.pas" fullword ascii $s3 = "hfs.*;*.htm*;descript.ion;*.comment;*.md5;*.corrupted;*.lnk" ascii $s4 = "Server: HFS" ascii condition: uint16( 0 ) == 0x5a4d and all of them } rule DITEKSHEN_INDICATOR_TOOL_PROX_Lanproxy : FILE { meta: description = "Detects lanproxy-go-client" author = "ditekSHen" id = "71fc23d9-9aae-5666-832b-90cf5a86c474" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L660-L675" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "13a5aaea0fb522e3badb4a60d2db8d7dd46e5721bd6dc2e2b2e29d49e197c375" score = 75 quality = 75 tags = "FILE" strings: $s1 = "serverShare" fullword ascii $s2 = "parkingOnChan" fullword ascii $s3 = "{{join .Names \", \"}}{{\"\\t\"}}{{.Usage}}{{end}}{{end}}{{end}}{{end}}{{" ascii $s4 = "" fullword ascii $s5 = "value=aacute;abreve;addressagrave;alt -> andand;angmsd;angsph;any -> apacir;approx;articleatilde;barvee;barwed;bdoUxXvbecaus;ber" ascii $s6 = "/dev/urandom127.0.0.1:" ascii $s7 = "non-IPv4 addressnon-IPv6 addressntrianglelefteq;object is remotepacer: H_m_prev=reflect mismatchregexp: Compile(remote I/O error" ascii $s8 = ".WithDeadline(.in-addr.arpa." ascii condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f ) and 6 of them } rule DITEKSHEN_INDICATOR_TOOL_PET_Peirates : FILE { meta: description = "Detects Kubernetes penetration tool Peirates" author = "ditekSHen" id = "74ce83ed-0d93-5cb0-97e8-6885ae83b336" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L677-L694" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "321f06af098283638f99d027dc3c95a25a72192a25c7afa5081a7dbff8c3acb7" score = 75 quality = 75 tags = "FILE" strings: $s1 = "DeprecatedServiceAccount" fullword ascii $s2 = "LivenessProbe" fullword ascii $s3 = "\\t\\tkubectl expose rs nginx --port=80 --target-port=8000" ascii $s4 = "\\t\\tkubectl run hazelcast --image=hazelcast --port=5701" ascii $s5 = "COMPREPLY[$i]=${COMPREPLY[$i]#\"$colon_word\"}" ascii $s6 = "%*polymorphichelpers.HistoryViewerFunc" ascii $s7 = "ListenAndServeTLS" ascii $s8 = "DownwardAPI" ascii $s9 = "; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);proto:" ascii $s10 = "name: attack-" ascii condition: uint16( 0 ) == 0x457f and 9 of them } rule DITEKSHEN_INDICATOR_TOOL_PET_Botb : FILE { meta: description = "Detects Break out the Box (BOtB)" author = "ditekSHen" id = "acafa6dd-51b9-5945-b1df-7763a97a424f" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L696-L710" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "a01f796b27852f9217d9bfea32f8d9ffb3c88521d4413f6612f7a0544cf44fb3" score = 75 quality = 75 tags = "FILE" strings: $s1 = "to unallocated span%%!%c(*big.Float=%s), RecursionDesired: /usr/share/zoneinfo//{Bucket}/{Key+}?acl/{Bucket}?accelerate/{Bucket}?encryption/{Bucket}?" ascii $s2 = "exploit CVE-2019-5736 with command: [ERROR] In Enabling CGROUP Notifications -> 'echo 1 > [INFO] CGROUP may exist, attempting exploit regardless" ascii $s3 = "main.execShellCmd" ascii $s4 = "[*] Data uploaded to:[+]" ascii $s5 = "whitespace or line breakfailed to find credentials in the environment.failed to get %s EC2 instance role credentialsfirst" ascii $s6 = "This process will exit IF an EXECVE is called in the Container or if the Container is manually stoppedPerform reverse DNS lookups" ascii $s7 = "http: request too largehttp://100.100.100.200/http://169.254.169.254/index out of range" ascii condition: uint16( 0 ) == 0x457f and 6 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_LSASS_Createminidump : FILE { meta: description = "Detects CreateMiniDump tool" author = "ditekSHen" id = "0d8642d1-2ed9-5270-a54a-6ba788026f5f" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L712-L724" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "577ccc783554363c0bed80d9642e8a0f107fc2ec66d84f76b9556aa3506c86c0" score = 75 quality = 75 tags = "FILE" strings: $s1 = "lsass.dmp" fullword wide $s2 = "lsass dumped successfully!" ascii $s3 = "Got lsass.exe PID:" ascii $s4 = "\\experiments\\CreateMiniDump\\CreateMiniDump\\" ascii $s5 = "MiniDumpWriteDump" fullword ascii condition: uint16( 0 ) == 0x5a4d and 2 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Securityxploded_Browserpassworddumper : FILE { meta: description = "Detects SecurityXploded Browser Password Dumper tool" author = "ditekSHen" id = "ce90ef96-43c0-5d68-ba7d-21aafb3f754b" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L726-L737" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "b3c6e9b393c244c7bf6489f54ebd622a09da050a65d6dbde325d5bcd7d85f39a" score = 75 quality = 75 tags = "FILE" strings: $s1 = "\\projects\\windows\\BrowserPasswordDump\\Release\\FireMaster.pdb" ascii $s2 = "%s: Dumping passwords" fullword ascii $s3 = "%s - Found login data file...dumping the passwords from file %s" fullword ascii $s4 = "%s Dumping secrets from login json file %s" fullword ascii condition: uint16( 0 ) == 0x5a4d and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Securityxploded_Ftppassworddumper : FILE { meta: description = "Detects SecurityXploded FTP Password Dumper tool" author = "ditekSHen" id = "d876c201-b527-531c-9563-0b1a1c6334cb" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L739-L750" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "941bfb9b1ce71252c5aa05bd654bdcf1af6cc1d5f720bc2c239e17454f15beda" score = 75 quality = 75 tags = "FILE" strings: $s1 = "\\projects\\windows\\FTPPasswordDump\\Release\\FireMaster.pdb" ascii $s2 = "//Dump all the FTP passwords to a file \"c:\\passlist.txt\"" ascii $s3 = "//Dump all the FTP passwords to console" ascii $s4 = "FTP Password Dump" fullword wide condition: uint16( 0 ) == 0x5a4d and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Securityxploded_Emailpassworddumper : FILE { meta: description = "Detects SecurityXploded Email Password Dumper tool" author = "ditekSHen" id = "25e140de-4a0a-5d4f-a93f-a414b9879f2b" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L752-L764" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "7f07611385d45bf45bfb8ee95e56febfb992fb7b416321c5b590878636a5c1b7" score = 75 quality = 75 tags = "FILE" strings: $s1 = "\\projects\\windows\\EmailPasswordDump\\Release\\FireMaster.pdb" ascii $s2 = "//Dump all the Email passwords to a file \"c:\\passlist.txt\"" ascii $s3 = "EmailPasswordDump" fullword wide $s4 = "//Dump all the Email passwords to console" ascii $s5 = "Email Password Dump" fullword wide condition: uint16( 0 ) == 0x5a4d and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_Goclr : FILE { meta: description = "Detects binaries utilizing Go-CLR for hosting the CLR in a Go process and using it to execute a DLL from disk or an assembly from memory" author = "ditekSHen" id = "21766cad-17dd-525a-9ebe-cd90e892cff1" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L800-L814" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "a2a79793b1f530bcf9f79983f29a655f270cf0147606690b19eaeb82d4bd1f0d" score = 75 quality = 75 tags = "FILE" strings: $s1 = "github.com/ropnop/go-clr.(*IC" ascii $s2 = "EnumKeyExWRegEnumValueWRegOpenKeyExWRtlCopyMemoryRtlGetVersionShellExecuteWStartServiceW" ascii $c1 = "ICorRuntimeHost" ascii wide $c2 = "CLRCreateInstance" ascii wide $c3 = "ICLRRuntimeInfo" ascii wide $c4 = "ICLRMetaHost" ascii wide $go = "Go build ID:" ascii wide condition: uint16( 0 ) == 0x5a4d and all of ( $s* ) or ( 2 of ( $c* ) and $go ) } rule DITEKSHEN_INDICATOR_TOOL_Edgecookiesview : FILE { meta: description = "Detects EdgeCookiesView" author = "ditekSHen" id = "42c6eb2e-bf5c-5956-9009-c29551ce715d" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L833-L847" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "9ba6d416e02c1958806356c67636609dcca758da9f7e3d1fc15244cc5ff038fc" score = 75 quality = 75 tags = "FILE" strings: $s1 = "AddRemarkCookiesTXT" fullword wide $s2 = "# Netscape HTTP Cookie File" fullword wide $s3 = "/scookiestxt" fullword wide $s4 = "/deleteregkey" fullword wide $s5 = "Load cookies from:" wide $s6 = "Old cookies folder of Edge/IE" wide $pdb = "\\EdgeCookiesView\\Release\\EdgeCookiesView.pdb" ascii condition: uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or ( ( $pdb ) and 2 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Sharpnopsexec : FILE { meta: description = "Detects SharpNoPSExec" author = "ditekSHen" id = "10898364-6d77-5127-a16b-5fd3b1c652d5" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L849-L864" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "c1d76639e7b6464d302729b48bbcd810216132868035904bb9866e7b31ccfac2" score = 75 quality = 75 tags = "FILE" strings: $s1 = "|-> Service" wide $s2 = "authenticated as" wide $s3 = "ImpersonateLoggedOnUser failed. Error:{0}" wide $s4 = "uPayload" fullword ascii $s5 = "pcbBytesNeeded" fullword ascii $s6 = "SharpNoPSExec" ascii wide $pdb1 = "SharpNoPSExec\\obj\\Debug\\SharpNoPSExec.pdb" ascii $pdb2 = "SharpNoPSExec\\obj\\Release\\SharpNoPSExec.pdb" ascii condition: uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or ( 1 of ( $pdb* ) and 1 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Chromecookiesview : FILE { meta: description = "Detects ChromeCookiesView" author = "ditekSHen" id = "c1b89468-edf2-59d1-89b3-5822fa19d6ab" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L866-L880" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "81acd0978fc03525e7092ab51c681b61f9de0252066ce871298e2cd96b1d3024" score = 75 quality = 75 tags = "FILE" strings: $s1 = "AddRemarkCookiesTXT" fullword wide $s2 = "Decrypt cookies" wide $s3 = "/scookiestxt" fullword wide $s4 = "/deleteregkey" fullword wide $s5 = "Cookies.txt Format" wide $s6 = "# Netscape HTTP Cookie File" wide $pdb = "\\ChromeCookiesView\\Release\\ChromeCookiesView.pdb" ascii condition: uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or ( ( $pdb ) and 2 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Sliver : FILE { meta: description = "Detects Sliver implant cross-platform adversary emulation/red team" author = "ditekSHen" id = "e0c5404b-8e6b-5c3a-9e37-56012c3802dd" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L882-L900" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "4f9442b74c84c7b4a8fcf93de2919d12efe2f41d0b4e8514b43822fba0962af2" score = 75 quality = 75 tags = "FILE" strings: $x1 = "github.com/bishopfox/sliver/protobuf/sliverpbb." ascii $s1 = ".commonpb.ResponseR" ascii $s2 = ".PortfwdProtocol" ascii $s3 = ".WGTCPForwarder" ascii $s4 = ".WGSocksServerR" ascii $s5 = ".PivotEntryR" ascii $s6 = ".BackdoorReq" ascii $s7 = ".ProcessDumpReq" ascii $s8 = ".InvokeSpawnDllReq" ascii $s9 = ".SpawnDll" ascii $s10 = ".TCPPivotReq" ascii condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and ( 1 of ( $x* ) or 5 of ( $s* ) ) } rule DITEKSHEN_INDICATOR_TOOL_Backstab : FILE { meta: description = "Detect Backstab tool capable of killing antimalware protected processes by leveraging sysinternals Process Explorer (ProcExp) driver" author = "ditekSHen" id = "1e514d03-9b78-5e75-9a31-02c0413e23a7" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L923-L939" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "d25c3ff4d7c120fdf7c275d11da7a321bcbdb275dcfaa699b5bb4bd66167ec92" score = 75 quality = 75 tags = "FILE" strings: $s1 = "NtLoadDriver: %x" fullword ascii $s2 = "POSIXLY_CORRECT" fullword ascii $s3 = "\\\\.\\PROCEXP" ascii $s4 = "ProcExpOpenProtectedProcess.DeviceIoControl: %" ascii $s5 = "ProcExpKillHandle.DeviceIoControl" ascii $s6 = "[%#llu] [%ws]: %ws" fullword ascii $s7 = "D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GR" wide $s8 = "-k -d c:\\\\driver.sys" ascii $s9 = "backstab.exe -" ascii condition: uint16( 0 ) == 0x5a4d and 6 of them } rule DITEKSHEN_INDICATOR_TOOL_EXP_Sharpprintnightmare : FILE { meta: description = "Detect SharpPrintNightmare" author = "ditekSHen" id = "15f52fce-27cc-52e7-91d5-7e2f6db5b596" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L941-L961" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "22c890a22ce6b7c1a06068018364f7c5a2afe1bee5b5bc6a8bae3703a11fac26" score = 75 quality = 75 tags = "FILE" strings: $s1 = "RevertToSelf() Error:" wide $s2 = "NeverGonnaGiveYou" wide $s3 = "\\Amd64\\UNIDRV.DLL" wide $s4 = ":\\Windows\\System32\\DriverStore\\FileRepository\\" wide $s5 = "C:\\Windows\\System32\\spool\\drivers\\x64\\3\\old\\{0}\\{1}" wide $s6 = "\\SharpPrintNightmare\\" ascii $s7 = { 4e 61 6d 65 09 46 75 6c 6c 54 72 75 73 74 01 } $s8 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print\\PackageInstallation\\Windows x64\\DriverPackages" wide $s9 = "ntprint.inf_amd64" wide $s10 = "AddPrinterDriverEx" wide $s11 = "addPrinter" ascii $s12 = "DRIVER_INFO_2" ascii $s13 = "APD_COPY_" ascii condition: uint16( 0 ) == 0x5a4d and 7 of them } rule DITEKSHEN_INDICATOR_TOOL_REC_Adfind : FILE { meta: description = "Detect ADFind" author = "ditekSHen" id = "2f0d02a1-7488-5645-aa08-1eadee2862e8" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L963-L974" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "41fb9f72032f76adc6f1fccd25a1364f153eb2430063e9d582f3dcd9fc9ac84a" score = 75 quality = 75 tags = "FILE" strings: $s1 = "\\AdFind\\AdFind\\AdFind.h" ascii $s2 = "\\AdFind\\AdFind\\AdFind.cpp" ascii $s3 = "\\AdFind\\Release\\AdFind.pdb" ascii $s4 = "joeware_default_adfind.cf" ascii condition: uint16( 0 ) == 0x5a4d and 2 of them } rule DITEKSHEN_INDICATOR_TOOL_CNC_Chisel : FILE { meta: description = "Detect binaries using Chisel" author = "ditekSHen" id = "d126f2c8-655f-564f-ae46-f6bd6385dcac" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L976-L990" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "08c7b2c4725431c1bf85ae8068f4250c98e58890e3b4c97aa9e419e4f487cada" score = 75 quality = 75 tags = "FILE" strings: $s1 = "chisel-v" ascii $s2 = "sendchisel-v" ascii $s3 = "<-chiselclosedcookiedomainefenceempty" ascii $ws1 = "Sec-WebSocket-Key" ascii $ws2 = "Sec-WebSocket-Protocol" ascii $ws3 = "Sec-Websocket-Version" ascii $ws4 = "Sec-Websocket-Extensions" ascii condition: uint16( 0 ) == 0x5a4d and ( 1 of ( $s* ) and 3 of ( $ws* ) ) } rule DITEKSHEN_INDICATOR_TOOL_ANT_Invizzzible : FILE { meta: description = "Detect InviZzzible" author = "ditekSHen" id = "23533d1c-e0d8-51c8-ac18-60c845bff197" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1025-L1059" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "bd84015f9fdc160a6ed9010c5a5905fcf13987b1fdec6fdd9535e315dc3617e8" score = 75 quality = 73 tags = "FILE" strings: $s1 = "\\\\.\\pipe\\task_sched_se" fullword wide $s2 = "\\\\\\.\\NPF_NdisWanIp" fullword wide $s3 = /--action --(dtt|mra|user-input|cfg|dan|evt|pid|exc|wmi|tsh)/ fullword wide $s4 = "cuckoo_%lu.ini" fullword wide $s5 = "sandbox evasion" wide nocase $s6 = "UnbalancedStack" fullword ascii $s7 = "process_with_long_name" fullword ascii $s8 = "DelaysAccumulation" fullword ascii $s9 = "PidReuse" fullword ascii $s10 = "DeadAnalyzer" fullword ascii $s11 = "SleepDummyPatch" fullword ascii $s12 = "AudioDeviceAbsence" fullword ascii $s14 = "\\\\.\\PhysicalDrive%u" fullword ascii $s15 = "\"countermeasures\":" ascii $s16 = "_%.02u%.02u%.02u_%.02u%.02u%.02u.html" ascii $f1 = ".?AVHyperV@SandboxEvasion@@" ascii $f2 = ".?AVJoebox@SandboxEvasion@@" ascii $f3 = ".?AVKVM@SandboxEvasion@@" ascii $f4 = ".?AVMisc@SandboxEvasion@@" ascii $f5 = ".?AVParallels@SandboxEvasion@@" ascii $f6 = ".?AVQEMU@SandboxEvasion@@" ascii $f7 = ".?AVSandboxie@SandboxEvasion@@" ascii $f8 = ".?AVVBOX@SandboxEvasion@@" ascii $f9 = ".?AVVirtualPC@SandboxEvasion@@" ascii $f10 = ".?AVVMWare@SandboxEvasion@@" ascii $f11 = ".?AVWine@SandboxEvasion@@" ascii $f12 = ".?AVXen@SandboxEvasion@@" ascii condition: uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or 4 of ( $f* ) or ( 2 of ( $f* ) and 2 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_EXFIL_Sharpbox : FILE { meta: description = "Detect SharpBox, C# tool for compressing, encrypting, and exfiltrating data to Dropbox using the Dropbox API" author = "ditekSHen" id = "cd834fe2-dc77-509d-a8f9-d631f395bcd8" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1061-L1080" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "b03ab3786b2a2e6774d94be4edf700a7154d8d400c7b2b31c73c68ce9fe0c08a" score = 75 quality = 75 tags = "FILE" strings: $s1 = "UploadData" fullword ascii $s2 = "isAttached" fullword ascii $s3 = "DecryptFile" fullword ascii $s4 = "set_dbxPath" fullword ascii $s5 = "set_dbxToken" fullword ascii $s6 = "set_decrypt" fullword ascii $s7 = "GeneratePass" fullword ascii $s8 = "FileUploadToDropbox" fullword ascii $s9 = "\\SharpBox.pdb" ascii $s10 = "https://content.dropboxapi.com/2/files/upload" fullword wide $s12 = "Dropbox-API-Arg: {\"path\":" wide $s13 = "X509Certificate [{0}] Policy Error: '{1}'" fullword wide condition: uint16( 0 ) == 0x5a4d and 7 of them } rule DITEKSHEN_INDICATOR_TOOL_PET_Sharpstrike : FILE { meta: description = "Detect SharpStrike post-exploitation tool written in C# that uses either CIM or WMI to query remote systems" author = "ditekSHen" id = "00b36fce-3d84-51cf-a800-042d7484d78c" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1145-L1160" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "c479d85878d9f9659fc157f0c6706703af3748a8740df6a5090cddc720dd7661" score = 75 quality = 75 tags = "FILE" strings: $x1 = "SharpStrike v" wide $x2 = "[*] Agent is busy" wide $x3 = "SharpStrike_Fody" fullword ascii $s1 = "ServiceLayer.CIM" fullword ascii $s2 = "Models.CIM" fullword ascii $s3 = " b__" ascii $s4 = "MemoryStream" fullword ascii $s5 = "GetCommands" fullword ascii condition: uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or all of ( $s* ) ) } rule DITEKSHEN_INDICATOR_TOOL_LTM_Ladon : FILE { meta: description = "Detect Ladon tool that assists in lateral movement across a network" author = "ditekSHen" id = "227e63ce-8383-5bb1-870e-6c4e767b402f" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1162-L1178" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "f31276bcbcae672966cfddc9af4f5b507d7244360b421de7fe1e811fb954fb7d" score = 75 quality = 75 tags = "FILE" strings: $d1 = "Ladon.VncSharp.dll" fullword ascii $d2 = "Ladon.Renci.SshNet.dll" fullword ascii $s1 = "Ladon." ascii $s2 = "nowPos" fullword ascii $s3 = "Scan" fullword ascii $s4 = "QLZ_STREAMING_BUFFER" fullword ascii $s5 = "sizeDecompressed" fullword ascii $s6 = "UpdateByte" fullword ascii $s7 = "kNumBitPriceShiftBits" fullword ascii condition: uint16( 0 ) == 0x5a4d and ( all of ( $d* ) or all of ( $s* ) or ( 1 of ( $d* ) and 5 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_LTM_Ladonexp : FILE { meta: description = "Detect Ladon tool that assists in lateral movement across a network" author = "ditekSHen" id = "bd1e7ef5-ae68-5e0d-8261-0eb765453bae" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1180-L1191" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "22f6a717b8464bddd850bb5ea8b416e99bceb91fe917f188be178f2fff620730" score = 75 quality = 75 tags = "FILE" strings: $s1 = "txt_cscandll.Text" fullword wide $s2 = "CscanWebExpBuild.frmMain.resources" fullword ascii $s3 = "= \"$HttpXforwardedFor$\";" ascii $s4 = "namespace netscan" fullword ascii condition: uint16( 0 ) == 0x5a4d and 3 of them } rule DITEKSHEN_INDICATOR_TOOL_LTM_Ladongo : FILE { meta: description = "Detect LadonGo tool that assists in lateral movement across a network" author = "ditekSHen" id = "4dbf7f24-b9ab-5629-8e78-667d9623dea9" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1193-L1207" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "606172b8fb251cb4ad75de40b55d74779aef6409832f6edf09068083143ec749" score = 75 quality = 75 tags = "FILE" strings: $f1 = "main.VulDetection" fullword ascii $f2 = "main.BruteFor" fullword ascii $f3 = "main.RemoteExec" fullword ascii $f4 = "main.Exploit" fullword ascii $f5 = "main.Noping" fullword ascii $f6 = "main.LadonScan" fullword ascii $f7 = "main.LadonUrlScan" fullword ascii condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xface ) and 5 of ( $f* ) } rule DITEKSHEN_INDICATOR_TOOL_ENC_Diskcryptor : FILE { meta: description = "Detect DiskCryptor open encryption solution that offers encryption of all disk partitions" author = "ditekSHen" id = "22b25d5c-d67f-53ac-9ae8-2de077afdda9" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1209-L1232" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "7ef0bf3b11f7e4055908518ce5b6a49e04d7002ebc3396fd2da32b4e13cf68e0" score = 75 quality = 75 tags = "FILE" strings: $x1 = "\\DiskCryptor\\DCrypt\\" ascii $s1 = "Error getting %sbootloader configuration" fullword wide $s2 = "loader.iso" fullword wide $s3 = "Bootloader config for [%s]" fullword wide $s4 = "dc_get_mbr_config" fullword ascii $s5 = "dc_encrypt_iso_image" fullword ascii $s6 = "dc_start_re_encrypt" fullword ascii $s7 = "dc_start_encrypt" fullword ascii $s8 = "_w10_reflect_" ascii $d1 = "\\DosDevices\\dcrypt" fullword wide $d2 = "$dcsys$_fail_%x" fullword wide $d3 = "%s\\$DC_TRIM_%x$" fullword wide $d4 = "\\Device\\dcrypt" fullword wide $d5 = "%s\\$dcsys$" fullword wide condition: uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or 4 of ( $s* ) or 3 of ( $d* ) ) } rule DITEKSHEN_INDICATOR_TOOL_PRI_Juicypotato : FILE { meta: description = "Detect JuicyPotato" author = "ditekSHen" id = "2fb52598-9771-507b-a06d-7b9bc693ffee" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1255-L1270" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "43a7ac16b9633fd2e6c43ca142cd0d0e2166287bb51e1b6344119959fe054c19" score = 75 quality = 75 tags = "FILE" strings: $x1 = "\\JuicyPotato.pdb" ascii $x2 = "JuicyPotato v%s" fullword ascii $s1 = "hello.stg" fullword wide $s2 = "ppVirtualProcessorRoots" fullword ascii $s3 = "Lock already taken" fullword ascii $s4 = "[+] authresult %d" fullword ascii $s5 = "RPC -> send failed with error: %d" fullword ascii $s6 = "Priv Adjust FALSE" fullword ascii condition: uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) or ( 5 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_ENUM_Sharpshares : FILE { meta: description = "Detects SharpShares multithreaded C# .NET Assembly to enumerate accessible network shares in a domain" author = "ditekSHen" id = "1da53e34-21a3-5b3c-885e-dcc8814ac3c8" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1290-L1305" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "8b35d6a692814e1b27ffc1db4ab124bf621c156aaf57f24796c422ec95a85715" score = 75 quality = 75 tags = "FILE" strings: $s1 = "SharpShares." ascii wide $s2 = "GetComputerShares" fullword ascii $s3 = "userAccountControl:1.2.840.113556.1.4.803:=2))(operatingSystem=*server*)(!(userAccountControl:1.2" wide $s4 = "GetAllShares" fullword ascii $s5 = "stealth:" wide $s6 = "(&(objectCategory=computer)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(operatingSystem=*server*))" fullword wide $s7 = /\/targets|ldap|threads/ wide $s8 = "entriesread" fullword ascii condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_PROX_Revsocks : FILE { meta: description = "Detects revsocks Reverse socks5 tunneler with SSL/TLS and proxy support" author = "ditekSHen" id = "f85bc557-40ab-5533-8a89-a2de9bbc9ad9" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1307-L1321" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "4a8e68f25b7ba10b0eb9772ed4ba2b9c6566768f2b5a2859df8bac644d196bf3" score = 75 quality = 75 tags = "FILE" strings: $s1 = "main.agentpassword" fullword ascii $s2 = "main.connectForSocks" fullword ascii $s3 = "main.connectviaproxy" fullword ascii $s4 = "main.DnsConnectSocks" fullword ascii $s5 = "main.listenForAgents" fullword ascii $s6 = "main.listenForClients" fullword ascii $s7 = "main.getPEMs" fullword ascii condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f ) and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_PWS_Azbelt : FILE { meta: description = "Detects azbelt for enumerating Azure related credentials primarily on AAD joined machines" author = "ditekSHen" id = "cf9268d2-1928-51e8-9643-ee0a5bada9fa" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1323-L1338" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "71cc2b3418ea5e285adafe03fa80bade67dc3e4073fe58d42bc6190860b48b43" score = 75 quality = 75 tags = "FILE" strings: $s1 = "@http://169.254.169.254/metadata/identity/oauth2/token?api-version=" ascii $s2 = "@Partner Customer Delegated Admin Offline Processor" fullword ascii $s3 = "@TargetName: " fullword ascii $s4 = "httpclient.nim" fullword ascii $s5 = "@DSREG_DEVICE_JOIN" fullword ascii $s6 = "@.azure/msal_token_cache.bin" fullword ascii $s7 = "CredEnumerateW" fullword ascii $s8 = "@http://169.254.169.254/metadata/instance?api-version=" ascii condition: uint16( 0 ) == 0x5a4d and 6 of them } rule DITEKSHEN_INDICATOR_TOOL_Dontsleep : FILE { meta: description = "Detects Keep Host Unlocked (Don't Sleep)" author = "ditekShen" id = "f71bd0d5-a526-5f1e-8bd3-9e653db610a7" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1340-L1354" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "b8e2132d3b36c3e2d2662a586916c7e4fc029f81af08b5c18006833c4e6f772f" score = 75 quality = 75 tags = "FILE" strings: $s1 = ":Repeat###DEL \"%s\"###if exist \"%s\" goto Repeat###DEL \"%s\"###" wide $s2 = "powrprof.dll,SetSuspendState" wide $s3 = "_selfdestruct.bat" wide $s4 = "please_sleep_block_" ascii $s5 = "Browser-Type: MiniBowserOK" wide $s6 = "m_use_all_rule_no_sleep" ascii $s7 = "BlockbyExecutionState: %d on:%d by_enable:%d" fullword wide condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_Nsudo : FILE { meta: description = "Detects NSudo allowing to run processes as TrustedInstaller or System" author = "ditekShen" id = "9a21b923-b02e-553b-8f53-026d7034c319" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1356-L1369" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "6bcffa79ca06b0b4178d6ea256f98d917c2b19cec0b059889b8d015d226a53f9" score = 75 quality = 75 tags = "FILE" strings: $x1 = "cmd /c start \"NSudo." wide $x2 = "*\\shell\\NSudo" fullword wide $x3 = "Projects\\NSudo\\Output\\Release\\x64\\NSudo.pdb" ascii $s1 = "-ShowWindowMode=Hide" wide $s2 = "?what@exception@@UEBAPEBDXZ" fullword ascii $s3 = "NSudo.RunAs." ascii condition: uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or ( 1 of ( $x* ) and 2 of ( $s* ) ) or all of ( $s* ) or 4 of them ) } rule DITEKSHEN_INDICATOR_TOOL_Ligolo : FILE { meta: description = "Detects Ligolo tool for establishing SOCKS5 or TCP tunnels from a reverse connection" author = "ditekSHen" id = "cc461fd1-9a2f-59ce-af74-a0f55b8850b1" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1371-L1385" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "b515dc184013c2f67d37e42d7172e2471b3a93c94024be12c7f587296287282d" score = 75 quality = 73 tags = "FILE" strings: $p1 = "/ligolo/main.go" ascii $p2 = "/armon/go-socks5" ascii $s1 = "main.StartLigolo" fullword ascii $s2 = "main.handleRelay" fullword ascii $s3 = "main.startSocksProxy" fullword ascii $s4 = "_main.tlsFingerprint" fullword ascii $s5 = "main.verifyTlsCertificate" fullword ascii condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and ( ( all of ( $p* ) and 1 of ( $s* ) ) or all of ( $s* ) or ( 1 of ( $p* ) and 4 of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Ngrok : FILE { meta: description = "Detects Ngrok" author = "ditekSHen" id = "fc0a0de8-b68b-5b6b-a222-bbc031ebabd3" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1405-L1418" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "f4bba142652aaf77e5b7c123b743cf165ae17210c39cf65b7311f7e7bd91f7e1" score = 75 quality = 75 tags = "FILE" strings: $s1 = "dashboard.ngrok.com" ascii $s2 = "go.ngrok.com/cmd/ngrok/main.go" ascii $s3 = "ngrok agent" ascii $s4 = "*ngrok.clientInfo" ascii $s5 = "'%s' socket: '%s' port: %d/edges/https/{{ .EdgeID }}/routes/{{ .ID }}/webhook_" ascii $s6 = "/{{ .ID }}/tunnel_sessions/{{ .ID }}/restart" ascii condition: ( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and ( 3 of them ) } rule DITEKSHEN_INDICATOR_TOOL_Sqlrecon : FILE { meta: description = "Detects SQLRecon C# MS-SQL toolkit designed for offensive reconnaissance and post-exploitation" author = "ditekSHen" id = "ec91285b-690d-5fd3-b0fc-f8d72cbb7e15" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1420-L1436" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "784dbc518cf9492557c9b3536256c4a9b03e4536cf7cee7e764b8009dd4686bb" score = 75 quality = 75 tags = "FILE" strings: $s1 = "ConvertDLLToSQLBytes" ascii $s2 = "\\SQLRecon.pdb" ascii $s3 = "GetAllSQLServerInfo" ascii $s4 = " b__" ascii $s5 = "select 1; exec master..xp_cmdshell" wide $s6 = "-> Command Execution" wide $s7 = ";EXEC dbo.sp_add_jobstep @job_name =" wide $s8 = "EXEC sp_drop_trusted_assembly 0x" wide $s9 = "(&(sAMAccountType=805306368)(servicePrincipalName=MSSQL*))" wide condition: uint16( 0 ) == 0x5a4d and 5 of them } rule DITEKSHEN_INDICATOR_TOOL_Ngrokgo : FILE { meta: description = "Detects Go implementation variant for Ngrok" author = "ditekSHen" id = "b11f67c5-846d-57b2-8edc-521b2dc77503" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1473-L1488" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "4ec151661e3af922aba202c68392a2af17e2c4ed25a71a0b5aacc13fbfcc5c53" score = 75 quality = 75 tags = "FILE" strings: $s1 = "/codegangsta/inject" fullword wide $s2 = "go.ngrok.com/" ascii $s3 = "GetIsNgrokDomain" ascii $s4 = "GetNgrokMetering" ascii $s5 = "*cli.ngrokService" ascii $s6 = "GetAllowNgrokLink" ascii $s7 = "ngrok {{.Name}}{{if .Flags}}" ascii $s8 = "github.com/nikolay-ngrok/" ascii condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_Tool_Forensia : FILE { meta: description = "Detects Forensia anti-forensics tool used for erasing footprints" author = "ditekSHen" id = "bcd05c2e-7ddd-5ce7-a6a7-0659bed38744" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1490-L1523" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "7147eee62df10cd8a6c00ec80c4d1bdb8234a181dd6af81d0580d847f05bd0b6" score = 75 quality = 73 tags = "FILE" strings: $c1 = "for /F \"tokens=*\" %1 in ('wevtutil.exe el') DO wevtutil.exe cl \"%1\"" ascii $c2 = "del /F /Q C:\\Windows\\Prefetch\\*" ascii $c3 = "del C:\\Windows\\AppCompat\\Programs\\RecentFileCache.bcf" ascii $c4 = "del /F /Q %APPDATA%\\Microsoft\\Windows\\Recent\\*" ascii $c5 = "del /F /Q %APPDATA%\\Microsoft\\Windows\\Recent\\CustomDestinations\\*" ascii $c6 = "del /F /Q %APPDATA%\\Microsoft\\Windows\\Recent\\AutomaticDestinations\\*" ascii $c7 = "fsutil.exe usn deletejournal /D C:" ascii $r1 = "\\Memory Management\\PrefetchParameters" wide $r2 = "\\Explorer\\Advanced" wide $r3 = "\\Services\\EventLog" wide $r4 = "\\Shell\\BagMRU" wide $r5 = "\\Control\\FileSystem" wide $r6 = "\\Setup\\VC" wide $s1 = "[LOG] - %s" wide $s2 = "\\forensia\\regedit.hpp" wide $s3 = "NtfsDisableLastAccessUpdate" wide $s4 = "Melting The Executable" wide $s5 = "Sysmon Unloader" wide $s6 = "Rundll32.exe apphelp.dll,ShimFlushCache" ascii $s7 = "\\Debug\\forensia.pdb" ascii $s8 = { 55 00 00 00 aa 00 00 00 92 49 24 00 49 24 92 00 24 92 49 00 00 00 00 00 11 00 00 00 22 00 00 00 33 00 00 00 44 00 00 00 66 00 00 00 88 00 00 00 99 00 00 00 bb 00 00 00 cc 00 00 00 dd 00 00 00 ee 00 00 00 ff 00 00 00 6d b6 db 00 b6 db 6d 00 db 6d b6 } condition: uint16( 0 ) == 0x5a4d and ( ( 4 of ( $c* ) and 2 of ( $r* ) ) or ( 4 of ( $r* ) and 2 of ( $c* ) ) or 6 of ( $s* ) or ( 3 of ( $s* ) and 2 of ( $r* ) and 1 of ( $c* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Dogzproxy : FILE { meta: description = "Detects Dogz proxy tool" author = "ditekSHen" id = "de2a8d26-0e8e-5999-baca-1e43933af866" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1525-L1537" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "575cfed9cb7979216fd8fd2a05efe5dfece3a9120b4f185c015918337829ed63" score = 75 quality = 75 tags = "FILE" strings: $s1 = "LOGONSERVER=" fullword wide $s2 = "DOGZ_E_" ascii $s3 = "got handshake_id=%d" ascii $s4 = "responser send connect ack" ascii $s5 = "dogz " ascii condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_Fastreverseproxy : FILE { meta: description = "Detects Fast Reverse Proxy (FRP) tool" author = "ditekSHen" id = "d643cc38-a96c-5353-bb46-ca46ea740e3b" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1539-L1555" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "c26d9e8833c7055a03a446eb983c7f70f1f18669d009ebc204dda3f0bb6048f7" score = 75 quality = 75 tags = "FILE" strings: $x1 = " frp client admin UI " ascii $x2 = "https://github.com/fatedier/frp" ascii $s1 = ").SetLogin" ascii $s2 = ").SetPing" ascii $s3 = ").SetNewWorkConn" ascii $s4 = ").ServeHTTP" ascii $s5 = ").Middleware" ascii $s6 = "frpc proxy config error:" ascii $s7 = "frpc sudp visitor proxy is close" ascii condition: uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or ( all of ( $s* ) ) ) } rule DITEKSHEN_INDICATOR_TOOL_Gogoscan : FILE { meta: description = "Detects GoGo scan tool" author = "ditekSHen" id = "c24ede04-2971-55f8-8b60-ec3bdca844d7" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1557-L1571" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "c9fbc98a28c74bf920f5f7d62713834d18b33b5c65483a1bd42e4555764c8346" score = 75 quality = 75 tags = "FILE" strings: $s1 = "(conn) (scan (scan) MB in Value>" ascii $s2 = "sweep sysmontargettelnet" ascii $s3 = "%d bytes(?i) (.*SESS.*?ID)([a-z0-9])([A-Z]+)" ascii $s4 = "prepareForSweep" ascii $s5 = "Scanned %s with %d ports, found %d" ascii $s6 = "/chainreactors/gogo/" ascii $s7 = "Starting task %s ,total ports: %d , mod: %s" ascii condition: uint16( 0 ) == 0x5a4d and 6 of them } rule DITEKSHEN_INDICATOR_TOOL_Gogoprocdump : FILE { meta: description = "Detects GoGo (lsass) process dump tool" author = "ditekSHen" id = "f92845c6-f8ae-50d0-97ea-cfa72051c2de" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1573-L1586" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "f410882e4c6c8b65e7d3c192cf94bf99d61cf54dc21d80cdf17193b34752c576" score = 75 quality = 75 tags = "FILE" strings: $s1 = "C:\\temp" ascii $s2 = "gogo" fullword ascii $s3 = "/DumpLsass-master/SilentProcessExit/" ascii $s4 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zone" ascii $s5 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SilentProcessExit\\lsass.exe" ascii $s6 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options\\lsass.exe" ascii condition: uint16( 0 ) == 0x5a4d and 4 of them } rule DITEKSHEN_INDICATOR_TOOL_Fscan : FILE { meta: description = "Detects GoGo scan tool" author = "ditekSHen" id = "3bf73853-15c1-54f7-866a-6a7632e39f19" date = "2020-11-06" modified = "2024-09-25" reference = "https://github.com/ditekshen/detection" source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1588-L1602" license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt" logic_hash = "b107eb767454c4c084a7237c107c8414bdb03c324902769ac544c5903e346e17" score = 75 quality = 75 tags = "FILE" strings: $s1 = "fscan version:" ascii $s2 = "Citrix-ConfProxyCitrix-MetaframeCitrix-NetScalerCitrix-XenServerCitrix_Netscaler" ascii $s3 = "(AkamaiGHost)(DESCRIPTION=(Typecho
[" wide
condition:
( uint16( 0 ) == 0x5a4d and 5 of ( $s* ) ) or ( 6 of ( $s* ) )
}
rule DITEKSHEN_MALWARE_Win_Aspire : FILE
{
meta:
description = "Aspire Keylogger payload"
author = "ditekSHen"
id = "25724975-f373-553e-b27e-43168e956c16"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1007-L1022"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "3ea0136dbacb79e4c7556f562d17b26b84ac3e4c967b117021e2399ded0a0fdf"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "AspireLogger -" wide
$s2 = "Application: @" wide
$s3 = "encryptedUsername" wide
$s4 = "encryptedPassword" wide
$s5 = "Fetch users fron logins" wide
$s6 = "URI=file:" wide
$s7 = "signons.sqlite" wide
$s8 = "logins.json" wide
condition:
( uint16( 0 ) == 0x5a4d and 6 of ( $s* ) ) or ( 7 of ( $s* ) )
}
rule DITEKSHEN_MALWARE_Win_S05Kitty : FILE
{
meta:
description = "Sector05 Kitty RAT payload"
author = "ditekSHen"
id = "3261f6b6-21e7-5195-98db-9607ba530572"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1024-L1045"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "df2930694671c9ca16f2afeb799704647c9acf32be118706c342347ffe8ceb36"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "Execute Comand" ascii
$s2 = "InjectExplorer" ascii
$s3 = "targetProcess = %s" fullword ascii
$s4 = "Process attach (%s)" fullword ascii
$s5 = "process name: %s" fullword ascii
$s6 = "cmd /c %s >%s" fullword ascii
$s7 = "CmdDown: %s, failed" fullword ascii
$s8 = "http://%s%s/%s" fullword ascii
$s9 = "tmp.LOG" fullword ascii
$x1 = "zerodll.dll" fullword ascii
$x2 = "OneDll.dll" fullword ascii
$x3 = "kkd.bat" fullword ascii
$x4 = "%s\\regsvr32.exe /s \"%s\"" fullword ascii
$x5 = "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\fontchk.jse" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or all of ( $x* ) )
}
rule DITEKSHEN_MALWARE_Win_Fakewmi : FILE
{
meta:
description = "FakeWMI payload"
author = "ditekSHen"
id = "689bc207-2bc6-50de-80d6-d1ba0a26b264"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1047-L1064"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "627886cdd01f5f02e454ef284c77c87eb027ee33f6a51536758fb7f095271a40"
score = 75
quality = 75
tags = "FILE"
clamav_sig = "MALWARE.Win.Trojan.Fakewmi"
strings:
$s1 = "-BEGIN RSA PUBLIC KEY-" ascii
$s2 = ".exe|" ascii
$s3 = "cmd /c wmic " ascii
$s4 = "cmd /c sc " ascii
$s5 = "schtasks" ascii
$s6 = "taskkill" ascii
$s7 = "findstr" ascii
$s8 = "netsh interface" ascii
$s9 = "CreateService" ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) and #s2 > 10 )
}
rule DITEKSHEN_MALWARE_Win_Baldr : FILE
{
meta:
description = "Baldr payload"
author = "ditekSHen"
id = "cdc35a11-a97b-5e21-929e-01fed5172b55"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1066-L1083"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "f8e97fd618209bc6ce609b60b1e1f1e359be7678474fad3b18a529487c64cd99"
score = 75
quality = 73
tags = "FILE"
clamav_sig = "MALWARE.Win.Trojan.Baldr"
strings:
$x1 = "BALDR VERSION : {0}" fullword wide
$x2 = "Baldr" fullword ascii wide
$x3 = "{0}\\{1:n}.exe" fullword wide
$x4 = ".doc;.docx;.log;.txt;" fullword wide
$s1 = "
@@@77,90," ascii wide $resp2 = "
@@@HH,JA," ascii wide
condition:
( uint16( 0 ) == 0x5a4d and 3 of them ) or ( 1 of ( $resp* ) and 2 of ( $s* ) )
}
rule DITEKSHEN_MALWARE_Win_Ficker : FILE
{
meta:
description = "Detects Ficker infostealer"
author = "ditekSHen"
id = "1cfeea86-e8bf-50fb-ba08-435d7a14a913"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2038-L2055"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "adcc0ffc0e1ded36dc41c22d10d2ea293d5740484203892bcecf89a5f4001452"
score = 75
quality = 75
tags = "FILE"
clamav_sig = "MALWARE.Win.Trojan.Ficker"
strings:
$s1 = "JNOde\\" ascii
$s2 = "\"SomeNone" fullword ascii
$s3 = "kindmessage" fullword ascii
$s4 = "..\\\\?\\.\\UNC\\Windows stdio in console mode does not support writting non-UTF-8 byte sequences" ascii
$s5 = "..\\\\?\\.\\UNC\\Windows stdio in console mode does not support writing non-UTF-8 byte sequences" ascii
$s6 = "(os error other os erroroperation interrruptedwrite zerotimed" ascii
$s7 = "(os error other os erroroperation interruptedwrite zerotimed" ascii
$s8 = "nPipeAlreadyExistsWouldBlockInvalidInputInvalidDataTimedOutWriteZeroInterruptedOtherN" fullword ascii
$s9 = "_matherr(): %s in %s(%g, %g) (retval=%g)" ascii
condition:
uint16( 0 ) == 0x5a4d and 5 of them
}
rule DITEKSHEN_MALWARE_Win_Xorist : FILE
{
meta:
description = "Detects Xorist ransomware"
author = "ditekSHen"
id = "76119441-343d-51c3-90eb-9d54c80a983d"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2057-L2078"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "b34e3fa065cabcd8d26908866e53ff599631128e1da884e42a2e63d890879eaa"
score = 75
quality = 75
tags = "FILE"
clamav_sig = "MALWARE.Win.Ransomware.Xorist"
strings:
$x1 = { 00 4d 00 41 00 47 00 45 00 0b 00 50 00 55 00
53 00 53 00 59 00 4c 00 49 00 43 00 4b 00 45
00 52 00 }
$x2 = { 30 70 33 6e 53 4f 75 72 63 33 20 58 30 72 31 35
37 2c 20 6d 6f 74 68 65 72 66 75 63 6b 65 72 21
00 70 75 73 73 79 6c 69 63 6b 65 72 00 2e 62 6d
70 00 2e 00 2e 2e 00 6f 70 65 6e 00 2e 65 78 65 }
$s1 = "\\shell\\open\\command" fullword ascii
$s2 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" fullword ascii
$s3 = "CRYPTED!" fullword ascii
$s4 = "Attention!" fullword ascii
$s5 = "Password:" fullword ascii
$s6 = { 43 6f 6d 53 70 65 63 00 2f 63 20 64 65 6c 20 22 00 22 20 3e 3e 20 4e 55 4c }
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or 5 of ( $s* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) )
}
rule DITEKSHEN_MALWARE_Win_PYSA : FILE
{
meta:
description = "Detects PYSA/Mespinoza ransomware"
author = "ditekSHen"
id = "3a3fad6a-46bc-51dc-9723-4412034ca442"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2080-L2100"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "e614b827bd8d065e94852fed01497c785bf90c52c3624aff9939b3f40ecf96a4"
score = 75
quality = 75
tags = "FILE"
clamav_sig = "MALWARE.Win.Ransomware.PYSA"
strings:
$s1 = "%s\\Readme.README" fullword wide
$s2 = "Every byte on any types of your devices was encrypted" ascii
$s3 = { 6c 65 67 61 6c 6e 6f 74 69 63 65 74 65 78 74 00 (50|70) (59|79) (53|73) (41|61) }
$s4 = { 6c 65 67 61 6c 6e 6f 74 69 63 65 63 61 70 74 69 6f 6e 00 00 (50|70) (59|79) (53|73) (41|61) }
$s5 = { 2e 62 61 74 00 00 6f 70 65 6e 00 00 00 00 53
4f 46 54 57 41 52 45 5c 4d 69 63 72 6f 73 6f
66 74 5c 57 69 6e 64 6f 77 73 5c 43 75 72 72
65 6e 74 56 65 72 73 69 6f 6e 5c 50 6f 6c 69
63 69 65 73 5c 53 79 73 74 65 6d 00 00 00 }
$f1 = ".?AVPK_EncryptorFilter@CryptoPP@@" ascii
$f2 = ".?AV?$TF_EncryptorImpl@" ascii
$f3 = "@VTF_EncryptorBase@CryptoPP@@" ascii
condition:
uint16( 0 ) == 0x5a4d and all of ( $f* ) and 3 of ( $s* )
}
rule DITEKSHEN_MALWARE_Win_Polar : FILE
{
meta:
description = "Detects Polar ransomware"
author = "ditekSHen"
id = "ab4e4478-5417-5918-b5df-5b6ffe7438a9"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2102-L2123"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "4f05a8ace9a03d02f54f0ebdd5349d1d1b23db8e34aa71edd44eebf02b88745c"
score = 75
quality = 75
tags = "FILE"
clamav_sig = "MALWARE.Win.Ransomware.Polar"
strings:
$s1 = "Encrypt Failed ! ErrorMessage :" wide
$s2 = ".locked" fullword wide
$s3 = ".cryptd" fullword wide
$s4 = "$SysReset" fullword wide
$s5 = "Polar.Properties.Resources" ascii wide
$s6 = "AES_EnDecryptor.Basement" fullword ascii
$s7 = "RunCMDCommand" fullword ascii
$s8 = "killerps_list" fullword ascii
$s9 = "clearlog" fullword ascii
$s10 = "encryptFile" fullword ascii
$s11 = "changeBackPictrue" fullword ascii
$pdb1 = "\\Ransomware_ALL_encode\\dir_file\\obj\\x86\\Release\\Encode.pdb" ascii
$pdb2 = "\\Ransomware_ALL_encode\\dir_file\\obj\\x64\\Release\\Encode.pdb" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or ( 1 of ( $pdb* ) and 2 of ( $s* ) ) )
}
rule DITEKSHEN_MALWARE_Win_Poullight : FILE
{
meta:
description = "Detects Poullight infostealer"
author = "ditekSHen"
id = "c80143f8-9c44-5e96-b1ff-2adb4bf031e4"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2155-L2176"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "e60ffb10892d35664a088d69c965e130f87bb1a59c257d484bdfe5085074bccd"
score = 75
quality = 75
tags = "FILE"
snort2_sid = "920074-920075"
snort3_sid = "920074-920075"
clamav_sig = "MALWARE.Win.Trojan.Poullight"
strings:
$s1 = "zipx" fullword wide
$s2 = "{0}Windows Defender.exe" fullword wide
$s3 = "pll_test" fullword wide
$s4 = "loginusers.vdf" wide
$s5 = "Stealer by Nixscare" wide
$s6 = "path_lad" fullword ascii
$s7 = " Copy\\x20&\\x20Paste\\x20this\\x20message\\x20to" ascii
$m2 = "\\x20restore\\x20your\\x20files." ascii
$m3 = "\\x20your\\x20documents\\x20and\\x20files\\x20encrypted" ascii
$m4 = "\\x20lose\\x20all\\x20of\\x20your\\x20data\\x20and\\x20files." ascii
$m5 = ",'/#/client/','\\x20Offline\\x20HowTo\\x20
\\x0a\\x09\\x09\\x09\\x09\\x20Whats\\x20Happen" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 6 of ( $g* ) or 3 of ( $m* ) )
}
rule DITEKSHEN_MALWARE_Win_Zegost : FILE
{
meta:
description = "Detects Zegost"
author = "ditekSHen"
id = "cce29602-c096-53df-a99b-16f18ed43b80"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4534-L4560"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "96727a0f5c113e5cdfe871f104553fd1c04a8f63ecbb8db7223afb71fcdd4087"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "rtvscan.exe" fullword ascii
$s2 = "ashDisp.exe" fullword ascii
$s3 = "KvMonXP.exe" fullword ascii
$s4 = "egui.exe" fullword ascii
$s5 = "avcenter.exe" fullword ascii
$s6 = "K7TSecurity.exe" fullword ascii
$s7 = "TMBMSRV.exe" fullword ascii
$s8 = "RavMonD.exe" fullword ascii
$s9 = "kxetray.exe" fullword ascii
$s10 = "mssecess.exe" fullword ascii
$s11 = "QUHLPSVC.EXE" fullword ascii
$s12 = "360tray.exe" fullword ascii
$s13 = "QQPCRTP.exe" fullword ascii
$s14 = "knsdtray.exe" fullword ascii
$s15 = "V3Svc.exe" fullword ascii
$s16 = "??1_Winit@std@@QAE@XZ" fullword ascii
$s17 = "ClearEventLogA" fullword ascii
$s18 = "SeShutdownPrivilege" fullword ascii
$s19 = "%s\\shell\\open\\command" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule DITEKSHEN_MALWARE_Win_GENERIC01 : FILE
{
meta:
description = "Detects known unamed malicious executables, mostly DLLs"
author = "ditekSHen"
id = "3c16df71-f2e2-591c-b377-7e5ed697d43f"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4562-L4575"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "ddae979db5ddda772ca66a3d50e4b5479b16052ea002fd04fdbf295ce784e291"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "\\wmkawe_%d.data" ascii
$s2 = "\\resmon.resmoncfg" ascii
$s3 = "ByPassUAC" fullword ascii
$s4 = "rundll32.exe C:\\ProgramData\\Sandboxie\\SbieMsg.dll,installsvc" fullword ascii nocase
$s5 = "%s\\SbieMsg." ascii
$s6 = "Stupid Japanese" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 5 of them
}
rule DITEKSHEN_MALWARE_Win_Dlagent06 : FILE
{
meta:
description = "Detects known downloader agent downloading encoded binaries in patches"
author = "ditekSHen"
id = "00cb5184-b12d-5014-bee8-116cc72dfa47"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4593-L4610"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "9188804ad0e08f3e0cd09eb8815abea14da5aa28aef9084d19108a24f49f65c7"
score = 75
quality = 75
tags = "FILE"
snort2_sid = "920122"
snort3_sid = "920119"
strings:
$s1 = "totallist" fullword ascii wide
$s2 = "LINKS_HERE" fullword wide
$s3 = "[SPLITTER]" fullword wide
$var2_1 = "DownloadWeb" fullword ascii
$var2_2 = "WriteByte" fullword ascii
$var2_3 = "MemoryStream" fullword ascii
$var2_4 = "DownloadString" fullword ascii
$var2_5 = "WebClient" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 2 of ( $var2* ) ) or ( 4 of ( $var2* ) and 2 of ( $s* ) ) )
}
rule DITEKSHEN_MALWARE_Win_PWSH_Poshkeylogger
{
meta:
description = "Detects PowerShell PoshKeylogger"
author = "ditekSHen"
id = "a816d716-caeb-5f08-9043-29db531f9e7c"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4612-L4627"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "20bde87ded7e3b68bc554c4b9a6c2ef08514f0d47b6b144763927bede81ea540"
score = 75
quality = 75
tags = ""
strings:
$s1 = "::GetKeyboardState" ascii
$s2 = "GetAsyncKeyState(" ascii
$s3 = "::MapVirtualKey(" ascii
$s4 = "::GetAsyncKeyState" ascii
$s5 = "Start-Sleep" ascii
$s6 = "send-mailmessage" ascii
$s7 = "[System.IO.File]::AppendAllText($" ascii
$s8 = "new-object Management.Automation.PSCredential $" ascii
condition:
6 of them
}
rule DITEKSHEN_MALWARE_Win_Fujinamarat : FILE
{
meta:
description = "Detects FujinamaRAT"
author = "ditekSHen"
id = "f6b08713-1c03-5914-b0a2-ea9164a3f2cb"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4629-L4645"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "42557094afe67196442f46d76f156c09852d694bcc5f03eac51e79ad247c2fdd"
score = 75
quality = 75
tags = "FILE"
snort2_sid = "920124"
snort3_sid = "920121"
strings:
$s1 = "GetAsyncKeyState" fullword ascii
$s2 = "HTTP/1.0" fullword wide
$s3 = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)" fullword wide
$s4 = "frmMain" fullword ascii
$s5 = "G<=>?@ABGGGGGGGGGGGGGGGGGGGGGGGGGGCDEF" fullword ascii
$s6 = "VBA6.DLL" fullword ascii
$s7 = "t_save" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 6 of them
}
rule DITEKSHEN_MALWARE_Win_Phorpiex : FILE
{
meta:
description = "Detects Phorpiex variants"
author = "ditekSHen"
id = "e2d26c5f-939e-53e3-8730-622341d26273"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4647-L4666"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "4c48a20aaf37d65471710181238d2c39c1cb0fc5a37b9c411e8d4dcfd7a9e26e"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "ShEllExECutE=__\\DriveMgr.exe" fullword wide nocase
$s2 = "/c start __ & __\\DriveMgr.exe & exit" fullword wide nocase
$s3 = "%s\\autorun.inf" fullword wide
$s4 = "svchost." wide
$s5 = "%ls\\%d%d" wide
$s6 = "bitcoincash:" ascii
$s7 = "%ls:*:Enabled:%ls" fullword wide
$s8 = "%s\\%s\\DriveMgr.exe" fullword wide
$s9 = "api.wipmania.com" ascii
$v1_1 = "%appdata%" fullword wide
$v1_2 = "(iPhone;" ascii
$v1_3 = "/tst.php" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or all of ( $v1* ) )
}
rule DITEKSHEN_MALWARE_Win_Vovalex : FILE
{
meta:
description = "Detects Vovalex ransomware"
author = "ditekSHen"
id = "967af585-8a91-5ed0-8400-a8a24d95fd12"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4705-L4718"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "ea695521981f4b007eee50e95f7989dda1f07cc411c59450489bb17391ff29dc"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "README.VOVALEX.txt" fullword ascii
$s2 = "\\src\\phobos\\std\\" ascii
$s3 = "LoadLibraryA(\"Advapi32.dll\")" fullword ascii
$s4 = "Failed to spawn process \"" fullword ascii
$s5 = "=== Bypassed ===" fullword ascii
$s6 = "If you don't know where to buy" ascii
condition:
uint16( 0 ) == 0x5a4d and 4 of them
}
rule DITEKSHEN_MALWARE_Win_Dharma : FILE
{
meta:
description = "Detects Dharma ransomware"
author = "ditekSHen"
id = "070be95e-8d9c-5c4d-9d46-cddea6dbb682"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4720-L4728"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "2727b2c0295e32699e08c3c79d7ac6fd52f1520358ac23290d40df428c969f4b"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "C:\\crysis\\Release\\PDB\\payload.pdb" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule DITEKSHEN_MALWARE_Win_Cryptolocker : FILE
{
meta:
description = "Detects Cryptolocker ransomware variants (Betarasite)"
author = "ditekSHen"
id = "4c6d714d-1fb1-55ce-8022-40f6f634e2cd"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4730-L4752"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "e1700e8ace338c25119305878e8bc52210506bd42183007985ba9601abdab87b"
score = 75
quality = 73
tags = "FILE"
strings:
$x1 = "CryptoLocker" fullword wide
$x2 = ".betarasite" fullword wide
$x3 = "CMSTPBypass" fullword ascii
$s1 = "CommandToExecute" fullword ascii
$s2 = "SetInfFile" fullword ascii
$s3 = "SchoolPrject1" ascii
$s4 = "$730d5f64-bd57-47c1-9af4-d20aec714d02" fullword ascii
$s5 = "Encrypt" fullword ascii
$s6 = "Invalide Key! Please Try Again." fullword wide
$s7 = "RegAsm" fullword wide
$s8 = "Your key will be destroyed" wide
$s9 = "encrypted using RC4 and RSA-2048" wide
$c1 = "https://coinbase.com" fullword wide
$c2 = "https://localbictoins.com" fullword wide
$c3 = "https://bitpanda.com" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or all of ( $s* ) or ( 2 of ( $x* ) and 5 of ( $s* ) ) or ( all of ( $c* ) and 1 of ( $x* ) and 2 of ( $s* ) ) )
}
rule DITEKSHEN_MALWARE_Win_PWSH_Poshwifistealer
{
meta:
description = "Detects PowerShell PoshWiFiStealer"
author = "ditekSHen"
id = "69ac123d-b746-57f1-a488-547f9a9cdd86"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4754-L4765"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "769349360b5d22226a5339a9e8471d06731dc522475c9385c1c145a0488e0ad1"
score = 75
quality = 75
tags = ""
strings:
$s1 = "netsh wlan export profile" ascii
$s2 = "Send-MailMessage" ascii
$u1 = "https://github.com/axel05869/Wifi-Grab" ascii
$u2 = "/exploitechx/wifi-password-extractor" ascii
condition:
all of ( $s* ) or all of ( $u* )
}
rule DITEKSHEN_MALWARE_Win_Steamhook : FILE
{
meta:
description = "Detects potential Steam stealer"
author = "ditekSHen"
id = "7533fb83-d721-54e6-8ae1-1c840dd5a13d"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4767-L4781"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "da743ca99fd19828e3938875acaf6544f17d884587a59623c8361f5905af4a57"
score = 75
quality = 73
tags = "FILE"
strings:
$s1 = "Mozilla/4.0 (compatible; )" fullword ascii
$s2 = "/steam/upload.php" ascii
$s3 = ".*?(ssfn\\d+)" fullword ascii
$s4 = "add cookie failed..." fullword ascii
$s5 = "Content-Type: multipart/form-data; boundary=--MULTI-PARTS-FORM-DATA-BOUNDARY" fullword ascii
$pdb1 = "\\SteamHook\\Install\\" ascii
$pdb2 = "\\SteamHook\\dll\\" ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $pdb* ) or ( 1 of ( $pdb* ) and 3 of ( $s* ) ) )
}
rule DITEKSHEN_MALWARE_Win_Netwire : FILE
{
meta:
description = "Detects NetWire RAT"
author = "ditekSHen"
id = "c215f449-c725-51da-8f5b-2619bc282b22"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4783-L4805"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "bae4f0cd7a431336bd784ba95f6ba3396e6f0f12c081e62482ad37ff859c1f1c"
score = 75
quality = 75
tags = "FILE"
strings:
$x1 = "SOFTWARE\\NetWire" fullword ascii
$x2 = { 4e 65 74 57 69 72 65 00 53 4f 46 54 57 41 52 45 5c 00 }
$s1 = "User-Agent: Mozilla/4.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" fullword ascii
$s2 = "filenames.txt" fullword ascii
$s3 = "GET %s HTTP/1.1" fullword ascii
$s4 = "[%.2d/%.2d/%d %.2d:%.2d:%.2d]" fullword ascii
$s5 = "Host.exe" fullword ascii
$s6 = "-m \"%s\"" fullword ascii
$g1 = "HostId" fullword ascii
$g2 = "History" fullword ascii
$g3 = "encrypted_key" fullword ascii
$g4 = "Install Date" fullword ascii
$g5 = "hostname" fullword ascii
$g6 = "encryptedUsername" fullword ascii
$g7 = "encryptedPassword" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $x* ) or ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( all of ( $g* ) and ( 2 of ( $s* ) or 1 of ( $x* ) ) ) )
}
rule DITEKSHEN_MALWARE_Win_Breakstaf : FILE
{
meta:
description = "Detects BreakStaf ransomware"
author = "ditekSHen"
id = "3c8ca485-2cb4-56fd-a1f5-16b43515cec9"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4807-L4827"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "56078b797c64ce77398f9b92e5677f7159d8357eafb03cf62bb30f06d4f3b2e3"
score = 75
quality = 73
tags = "FILE"
strings:
$s1 = "C:\\Program files" wide
$s2 = "C:\\Program files (x86)" wide
$s3 = "C:\\System Volume Information" wide
$s4 = "C:\\$Recycle.Bin" wide
$s5 = "C:\\Windows" wide
$s6 = ".?AVRandomNumberGenerator@Crypto" ascii
$s7 = ".?AV?$SymmetricCipherFinal@" ascii
$s8 = ".breakstaf" fullword wide nocase
$s9 = "readme.txt" fullword wide nocase
$s10 = ".VHD" fullword wide nocase
$s11 = ".vhdx" fullword wide nocase
$s12 = ".BAK" fullword wide nocase
$s13 = ".BAC" fullword wide nocase
condition:
uint16( 0 ) == 0x5a4d and 12 of them
}
rule DITEKSHEN_MALWARE_Win_Kitty : FILE
{
meta:
description = "Detects HelloKitty ransomware, triggers on FIVEHANDS"
author = "ditekSHen"
id = "4147294a-7eff-595a-ad4f-8a84ffff960f"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4829-L4847"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "3a36755c81ec70c127bb73448fc29325444b85b5f0704327fc81975c2af2e99e"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "Kitty" wide
$s2 = "-path" fullword wide
$s3 = "select * from Win32_ShadowCopy" fullword wide
$s4 = "Win32_ShadowCopy.ID='%s'" fullword wide
$s5 = "programdata" fullword wide
$s6 = "$recycle.bin" fullword wide
$s7 = ".crypt" fullword wide
$s8 = "%s/secret/%S" wide
$s9 = "decrypts3nln3tic.onion" wide
$n1 = "read_me_lkd.txt" wide
$n2 = "DECRYPT_NOTE.txt" wide
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 1 of ( $n* ) and 4 of ( $s* ) )
}
rule DITEKSHEN_MALWARE_Win_Dlagent07 : FILE
{
meta:
description = "Detects delf downloader agent"
author = "ditekSHen"
id = "a45afe84-15ae-528a-ad7e-ab9f03045789"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4849-L4867"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "1e0001d18524d0d34ad876e67e2c4dc0495ee18a73c34f53f97367876e27b406"
score = 75
quality = 75
tags = "FILE"
strings:
$s1 = "C:\\Users\\Public\\Libraries\\temp" fullword ascii
$s2 = "SOFTWARE\\Borland\\Delphi" ascii
$s3 = "Mozilla/5.0(compatible; WinInet)" fullword ascii
$o1 = { f3 a5 e9 6b ff ff ff 5a 5d 5f 5e 5b c3 a3 00 40 }
$o2 = { e8 83 d5 ff ff 8b 15 34 40 41 00 89 10 89 58 04 }
$o3 = { c3 8b c0 53 51 e8 f1 ff ff ff 8b d8 85 db 74 3e }
$o4 = { e8 5c e2 ff ff 8b c3 e8 b9 ff ff ff 89 04 24 83 }
$o5 = { 85 c0 74 1f e8 62 ff ff ff a3 98 40 41 00 e8 98 }
$o6 = { 85 c0 74 19 e8 be ff ff ff 83 3d 98 40 41 00 ff }
$x1 = "22:40:08 \">
" wide
$x4 = ">{Monitor Everything}
" wide
$x5 = "[First Run] Neptune" wide
$x6 = "Neptune - " wide
$s1 = "Melt" fullword wide
$s2 = "Hide" fullword wide
$s3 = "SDDate+" fullword wide
$s4 = "DelOff+" fullword wide
$s5 = "MsgFalse+" fullword wide
$s6 = "Clipboard:" fullword wide
$s7 = "information is valid and working!" wide
$s8 = ".exe /k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" wide
$s9 = "http://www.exampleserver.com/directfile.exe" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 7 of ( $s* ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) )
}
rule DITEKSHEN_MALWARE_Win_Tomiris : FILE
{
meta:
description = "Detects Tomiris"
author = "ditekSHen"
id = "86efd4fb-3c76-504e-b367-132aee59e09a"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7955-L7978"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "1d9baeb6db2e849dd053c3fc735984e23b9cead39cf166f8a544ee5a439185d1"
score = 75
quality = 75
tags = "FILE"
strings:
$f1 = "main.workPath" ascii
$f2 = "main.selfName" ascii
$f3 = "main.infoServerAddr" ascii
$f4 = "main.configFileName" ascii
$s1 = "C:/Projects/go/src/Tomiris/main.go" ascii
$s2 = "C:/GO/go1.16.2/src/os/user/lookup_windows.go" ascii
$s3 = "C:\\GO\\go1.16.2" ascii
$s4 = ".html.jpeg.json.wasm.webp/p/gf/p/kk1562515" ascii
$s5 = "\" /ST 10:00alarm clockassistQueueavx512vbmi2avx512vnniwbad" ascii
$s6 = "write /TR \" Value addr= alloc base code= ctxt: curg= free goid jobs= list= m->p=" ascii
$t1 = "SCHTASKS /DELETE /F /TN \"%s\"" ascii
$t2 = "SCHTASKS /CREATE /SC DAILY /TN" ascii
$t3 = "SCHTASKS /CREATE /SC ONCE /TN \"%s\" /TR \"%s\" /ST %s" ascii
$t4 = "SCHTASKS /CREATE /SC ONCE /TN \"%s\" /TR \"'%s' %s\" /ST %s" ascii
$r1 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones" ascii
$r2 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings" ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( all of ( $f* ) and 3 of ( $s* ) and 2 of ( $t* ) and 1 of ( $r* ) ) or ( 4 of ( $s* ) and 2 of ( $t* ) and 1 of ( $r* ) ) or 12 of them )
}
rule DITEKSHEN_MALWARE_Win_Jennlog : FILE
{
meta:
description = "Detects JennLog loader"
author = "ditekSHen"
id = "38f8cd13-f157-5cce-bf04-80c29d254144"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7980-L7996"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "085a4783c7c01ec95491d9999d1835ad9ab3dc70d77b944578e097b3ffe3a627"
score = 75
quality = 75
tags = "FILE"
strings:
$x1 = "%windir%\\system32\\rundll32.exe advapi32.dll,ProcessIdleTasks" fullword wide
$x2 = "https://fkpageintheworld342.com" fullword wide
$s1 = "ExecuteInstalledNodeAndDelete" fullword ascii
$s2 = "ProcessExsist" fullword ascii
$s3 = "helloworld.Certificate.txt" fullword wide
$s4 = "ASCII85 encoded data should begin with '" fullword wide
$s5 = "] WinRE config file path: C:\\" ascii
$s6 = "] Parameters: configWinDir: NULL" ascii
$s7 = "] Update enhanced config info is enabled." ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 3 of ( $s* ) ) or 5 of ( $s* ) or ( all of ( $x* ) and 2 of ( $s* ) ) )
}
rule DITEKSHEN_MALWARE_Win_Lockfile : FILE
{
meta:
description = "Detects LockFile ransomware"
author = "ditekSHen"
id = "762ac376-43ff-56d2-b279-2879ce6d8542"
date = "2020-11-06"
modified = "2024-11-01"
reference = "https://github.com/ditekshen/detection"
source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7998-L8014"
license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
logic_hash = "28c8aa8931d599e5a1860fe2ed0b8172e709dad1a48a319858a907fa775af293"
score = 75
quality = 71
tags = "FILE"
strings:
$x1 = "LOCKFILE" fullword ascii
$x2 = "25a01bb859125507013a2fe9737d3c33" fullword ascii
$s1 = "