SYMBOLCOMMON_NAMEaka. SYNONYMS
win.swen (Back to overview)

swen


There is no description at this point.

References
2019-11-07WikipediaVarious
@online{various:20191107:swen:265eb13, author = {Various}, title = {{Swen (computer worm)}}, date = {2019-11-07}, organization = {Wikipedia}, url = {https://en.wikipedia.org/wiki/Swen_(computer_worm)}, language = {English}, urldate = {2020-01-13} } Swen (computer worm)
swen
Yara Rules
[TLP:WHITE] win_swen_auto (20211008 | Detects win.swen.)
rule win_swen_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-10-07"
        version = "1"
        description = "Detects win.swen."
        info = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.6.0"
        signator_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.swen"
        malpedia_rule_date = "20211007"
        malpedia_hash = "e5b790e0f888f252d49063a1251ca60ec2832535"
        malpedia_version = "20211008"
        malpedia_license = "CC BY-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    /* DISCLAIMER
     * The strings used in this rule have been automatically selected from the
     * disassembly of memory dumps and unpacked files, using YARA-Signator.
     * The code and documentation is published here:
     * https://github.com/fxb-cocacoding/yara-signator
     * As Malpedia is used as data source, please note that for a given
     * number of families, only single samples are documented.
     * This likely impacts the degree of generalization these rules will offer.
     * Take the described generation method also into consideration when you
     * apply the rules in your use cases and assign them confidence levels.
     */


    strings:
        $sequence_0 = { e8???????? 59 8945e4 83f805 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   83f805               | cmp                 eax, 5

        $sequence_1 = { 56 ff750c ff15???????? 8b75e0 8975d8 85f6 }
            // n = 6, score = 100
            //   56                   | push                esi
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   ff15????????         |                     
            //   8b75e0               | mov                 esi, dword ptr [ebp - 0x20]
            //   8975d8               | mov                 dword ptr [ebp - 0x28], esi
            //   85f6                 | test                esi, esi

        $sequence_2 = { 50 ff15???????? 8d85a4feffff 50 e8???????? 59 83f801 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8d85a4feffff         | lea                 eax, dword ptr [ebp - 0x15c]
            //   50                   | push                eax
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   83f801               | cmp                 eax, 1

        $sequence_3 = { 8945e4 8898002f4100 899d34ffffff 6a24 59 33c0 8dbd38ffffff }
            // n = 7, score = 100
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   8898002f4100         | mov                 byte ptr [eax + 0x412f00], bl
            //   899d34ffffff         | mov                 dword ptr [ebp - 0xcc], ebx
            //   6a24                 | push                0x24
            //   59                   | pop                 ecx
            //   33c0                 | xor                 eax, eax
            //   8dbd38ffffff         | lea                 edi, dword ptr [ebp - 0xc8]

        $sequence_4 = { 50 ff75e0 57 ff75c4 ff15???????? ff75c4 ff15???????? }
            // n = 7, score = 100
            //   50                   | push                eax
            //   ff75e0               | push                dword ptr [ebp - 0x20]
            //   57                   | push                edi
            //   ff75c4               | push                dword ptr [ebp - 0x3c]
            //   ff15????????         |                     
            //   ff75c4               | push                dword ptr [ebp - 0x3c]
            //   ff15????????         |                     

        $sequence_5 = { 8965e8 c745dc01000000 33f6 8975fc bb???????? 53 8d850cffffff }
            // n = 7, score = 100
            //   8965e8               | mov                 dword ptr [ebp - 0x18], esp
            //   c745dc01000000       | mov                 dword ptr [ebp - 0x24], 1
            //   33f6                 | xor                 esi, esi
            //   8975fc               | mov                 dword ptr [ebp - 4], esi
            //   bb????????           |                     
            //   53                   | push                ebx
            //   8d850cffffff         | lea                 eax, dword ptr [ebp - 0xf4]

        $sequence_6 = { f682a1ac410004 7403 40 ff01 ff01 40 e9???????? }
            // n = 7, score = 100
            //   f682a1ac410004       | test                byte ptr [edx + 0x41aca1], 4
            //   7403                 | je                  5
            //   40                   | inc                 eax
            //   ff01                 | inc                 dword ptr [ecx]
            //   ff01                 | inc                 dword ptr [ecx]
            //   40                   | inc                 eax
            //   e9????????           |                     

        $sequence_7 = { 7209 6a01 58 834dfcff eb18 }
            // n = 5, score = 100
            //   7209                 | jb                  0xb
            //   6a01                 | push                1
            //   58                   | pop                 eax
            //   834dfcff             | or                  dword ptr [ebp - 4], 0xffffffff
            //   eb18                 | jmp                 0x1a

        $sequence_8 = { e8???????? 50 8bce e8???????? 89bd20feffff 57 e8???????? }
            // n = 7, score = 100
            //   e8????????           |                     
            //   50                   | push                eax
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     
            //   89bd20feffff         | mov                 dword ptr [ebp - 0x1e0], edi
            //   57                   | push                edi
            //   e8????????           |                     

        $sequence_9 = { 68???????? 57 8b35???????? ffd6 8945c4 68???????? 57 }
            // n = 7, score = 100
            //   68????????           |                     
            //   57                   | push                edi
            //   8b35????????         |                     
            //   ffd6                 | call                esi
            //   8945c4               | mov                 dword ptr [ebp - 0x3c], eax
            //   68????????           |                     
            //   57                   | push                edi

    condition:
        7 of them and filesize < 286720
}
Download all Yara Rules