SYMBOLCOMMON_NAMEaka. SYNONYMS
win.alina_pos (Back to overview)

Alina POS

aka: alina_spark, katrina, alina_eagle

There is no description at this point.

References
2020-07-01CenturylinkBlack Lotus Labs
@online{labs:20200701:alina:1c5d0e8, author = {Black Lotus Labs}, title = {{Alina Point of Sale Malware Still Lurking in DNS}}, date = {2020-07-01}, organization = {Centurylink}, url = {https://blog.centurylink.com/alina-point-of-sale-malware-still-lurking-in-dns/}, language = {English}, urldate = {2020-07-06} } Alina Point of Sale Malware Still Lurking in DNS
Alina POS
2015-12-01Trend MicroJay Yaneza, Erika Mendoza
@online{yaneza:20151201:operation:718c901, author = {Jay Yaneza and Erika Mendoza}, title = {{Operation Black Atlas Endangers In-Store Card Payments and SMBs Worldwide; Switches between BlackPOS and Other Tools}}, date = {2015-12-01}, organization = {Trend Micro}, url = {https://blog.trendmicro.com/trendlabs-security-intelligence/operation-black-atlas-endangers-in-store-card-payments-and-smbs-worldwide-switches-between-blackpos-and-other-tools/}, language = {English}, urldate = {2020-03-19} } Operation Black Atlas Endangers In-Store Card Payments and SMBs Worldwide; Switches between BlackPOS and Other Tools
Alina POS BlackPOS Kronos NewPosThings
2015-09-28Trend MicroTrend Micro Forward Looking Research Team
@online{team:20150928:two:b0e6e12, author = {Trend Micro Forward Looking Research Team}, title = {{Two New PoS Malware Affecting US SMBs}}, date = {2015-09-28}, organization = {Trend Micro}, url = {https://blog.trendmicro.com/trendlabs-security-intelligence/two-new-pos-malware-affecting-us-smbs/}, language = {English}, urldate = {2020-01-07} } Two New PoS Malware Affecting US SMBs
Alina POS
2013-06-03TrustwaveJosh Grunzweig
@online{grunzweig:20130603:alina:2c8f3e9, author = {Josh Grunzweig}, title = {{Alina: Following The Shadow Part 2}}, date = {2013-06-03}, organization = {Trustwave}, url = {https://www.trustwave.com/Resources/SpiderLabs-Blog/Alina--Following-The-Shadow-Part-2/}, language = {English}, urldate = {2019-12-17} } Alina: Following The Shadow Part 2
Alina POS
2013-05-17TrustwaveJosh Grunzweig
@online{grunzweig:20130517:alina:f668aaf, author = {Josh Grunzweig}, title = {{Alina: Following The Shadow Part 1}}, date = {2013-05-17}, organization = {Trustwave}, url = {https://www.trustwave.com/Resources/SpiderLabs-Blog/Alina--Following-The-Shadow-Part-1/}, language = {English}, urldate = {2019-12-17} } Alina: Following The Shadow Part 1
Alina POS
2013-05-08SpiderLabs BlogJosh Grunzweig
@online{grunzweig:20130508:alina:4b70c89, author = {Josh Grunzweig}, title = {{Alina: Casting a Shadow on POS}}, date = {2013-05-08}, organization = {SpiderLabs Blog}, url = {https://www.trustwave.com/Resources/SpiderLabs-Blog/Alina--Casting-a-Shadow-on-POS/}, language = {English}, urldate = {2020-01-09} } Alina: Casting a Shadow on POS
Alina POS
2013-02-04XyliBoxXylitol
@online{xylitol:20130204:alina:7e90fc7, author = {Xylitol}, title = {{Alina 3.4 (POS Malware)}}, date = {2013-02-04}, organization = {XyliBox}, url = {http://www.xylibox.com/2013/02/alina-34-pos-malware.html}, language = {English}, urldate = {2020-01-13} } Alina 3.4 (POS Malware)
Alina POS
Yara Rules
[TLP:WHITE] win_alina_pos_auto (20230407 | Detects win.alina_pos.)
rule win_alina_pos_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-03-29"
        version = "1"
        description = "Detects win.alina_pos."
        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.alina_pos"
        malpedia_rule_date = "20230328"
        malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d"
        malpedia_version = "20230407"
        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 = { 7439 6828010000 8d85d0feffff 6a00 50 }
            // n = 5, score = 2400
            //   7439                 | je                  0x3b
            //   6828010000           | push                0x128
            //   8d85d0feffff         | lea                 eax, [ebp - 0x130]
            //   6a00                 | push                0
            //   50                   | push                eax

        $sequence_1 = { 2bd0 83faff 7306 8bf2 85f6 }
            // n = 5, score = 2000
            //   2bd0                 | sub                 edx, eax
            //   83faff               | cmp                 edx, -1
            //   7306                 | jae                 8
            //   8bf2                 | mov                 esi, edx
            //   85f6                 | test                esi, esi

        $sequence_2 = { ff15???????? 85c0 75cd 56 e8???????? }
            // n = 5, score = 2000
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   75cd                 | jne                 0xffffffcf
            //   56                   | push                esi
            //   e8????????           |                     

        $sequence_3 = { 3bc1 7763 83ceff 3bc8 }
            // n = 4, score = 2000
            //   3bc1                 | cmp                 eax, ecx
            //   7763                 | ja                  0x65
            //   83ceff               | or                  esi, 0xffffffff
            //   3bc8                 | cmp                 ecx, eax

        $sequence_4 = { 2bce 2bc8 51 03fe }
            // n = 4, score = 2000
            //   2bce                 | sub                 ecx, esi
            //   2bc8                 | sub                 ecx, eax
            //   51                   | push                ecx
            //   03fe                 | add                 edi, esi

        $sequence_5 = { 51 03fe 03f8 03d0 57 }
            // n = 5, score = 2000
            //   51                   | push                ecx
            //   03fe                 | add                 edi, esi
            //   03f8                 | add                 edi, eax
            //   03d0                 | add                 edx, eax
            //   57                   | push                edi

        $sequence_6 = { 3975e8 720c 8b45d4 50 e8???????? 83c404 32c0 }
            // n = 7, score = 2000
            //   3975e8               | cmp                 dword ptr [ebp - 0x18], esi
            //   720c                 | jb                  0xe
            //   8b45d4               | mov                 eax, dword ptr [ebp - 0x2c]
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   32c0                 | xor                 al, al

        $sequence_7 = { 39410c 7305 8b4908 eb04 8bd1 8b09 }
            // n = 6, score = 2000
            //   39410c               | cmp                 dword ptr [ecx + 0xc], eax
            //   7305                 | jae                 7
            //   8b4908               | mov                 ecx, dword ptr [ecx + 8]
            //   eb04                 | jmp                 6
            //   8bd1                 | mov                 edx, ecx
            //   8b09                 | mov                 ecx, dword ptr [ecx]

        $sequence_8 = { 0fbec0 8945ec 8b4dec 3b4e14 }
            // n = 4, score = 1800
            //   0fbec0               | movsx               eax, al
            //   8945ec               | mov                 dword ptr [ebp - 0x14], eax
            //   8b4dec               | mov                 ecx, dword ptr [ebp - 0x14]
            //   3b4e14               | cmp                 ecx, dword ptr [esi + 0x14]

        $sequence_9 = { 68???????? 6a0a e8???????? 83c418 }
            // n = 4, score = 1600
            //   68????????           |                     
            //   6a0a                 | push                0xa
            //   e8????????           |                     
            //   83c418               | add                 esp, 0x18

        $sequence_10 = { 6800000080 50 ff15???????? 85c0 }
            // n = 4, score = 1600
            //   6800000080           | push                0x80000000
            //   50                   | push                eax
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax

        $sequence_11 = { 85c9 7406 c70100000000 6a00 }
            // n = 4, score = 1400
            //   85c9                 | test                ecx, ecx
            //   7406                 | je                  8
            //   c70100000000         | mov                 dword ptr [ecx], 0
            //   6a00                 | push                0

        $sequence_12 = { ff15???????? 50 6a73 68???????? }
            // n = 4, score = 1400
            //   ff15????????         |                     
            //   50                   | push                eax
            //   6a73                 | push                0x73
            //   68????????           |                     

        $sequence_13 = { 8bf0 8d45ec 50 6800040000 }
            // n = 4, score = 1400
            //   8bf0                 | mov                 esi, eax
            //   8d45ec               | lea                 eax, [ebp - 0x14]
            //   50                   | push                eax
            //   6800040000           | push                0x400

        $sequence_14 = { 8b45ec 85c0 7464 03f8 }
            // n = 4, score = 1400
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]
            //   85c0                 | test                eax, eax
            //   7464                 | je                  0x66
            //   03f8                 | add                 edi, eax

        $sequence_15 = { 7406 c70000000000 85c9 7406 }
            // n = 4, score = 1400
            //   7406                 | je                  8
            //   c70000000000         | mov                 dword ptr [eax], 0
            //   85c9                 | test                ecx, ecx
            //   7406                 | je                  8

        $sequence_16 = { 6a13 53 c645f000 c745d00a000000 }
            // n = 4, score = 1400
            //   6a13                 | push                0x13
            //   53                   | push                ebx
            //   c645f000             | mov                 byte ptr [ebp - 0x10], 0
            //   c745d00a000000       | mov                 dword ptr [ebp - 0x30], 0xa

        $sequence_17 = { ff15???????? 85c0 0f95c0 eb02 b001 }
            // n = 5, score = 1300
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   0f95c0               | setne               al
            //   eb02                 | jmp                 4
            //   b001                 | mov                 al, 1

        $sequence_18 = { 6810270000 ff15???????? 6a00 6a0f }
            // n = 4, score = 1200
            //   6810270000           | push                0x2710
            //   ff15????????         |                     
            //   6a00                 | push                0
            //   6a0f                 | push                0xf

        $sequence_19 = { 64a300000000 6800100000 e8???????? 8b5d08 }
            // n = 4, score = 1200
            //   64a300000000         | mov                 dword ptr fs:[0], eax
            //   6800100000           | push                0x1000
            //   e8????????           |                     
            //   8b5d08               | mov                 ebx, dword ptr [ebp + 8]

        $sequence_20 = { ffd3 85c0 7405 83f8ff 7513 }
            // n = 5, score = 1000
            //   ffd3                 | call                ebx
            //   85c0                 | test                eax, eax
            //   7405                 | je                  7
            //   83f8ff               | cmp                 eax, -1
            //   7513                 | jne                 0x15

        $sequence_21 = { 8d4720 50 ff15???????? 8b4718 }
            // n = 4, score = 1000
            //   8d4720               | lea                 eax, [edi + 0x20]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8b4718               | mov                 eax, dword ptr [edi + 0x18]

        $sequence_22 = { 6a64 6a64 6a02 6a04 6803000800 50 }
            // n = 6, score = 1000
            //   6a64                 | push                0x64
            //   6a64                 | push                0x64
            //   6a02                 | push                2
            //   6a04                 | push                4
            //   6803000800           | push                0x80003
            //   50                   | push                eax

        $sequence_23 = { 6a00 6800000080 6a00 6a00 68???????? 68???????? }
            // n = 6, score = 1000
            //   6a00                 | push                0
            //   6800000080           | push                0x80000000
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   68????????           |                     
            //   68????????           |                     

        $sequence_24 = { 743e 83feff 7439 6828010000 }
            // n = 4, score = 800
            //   743e                 | je                  0x40
            //   83feff               | cmp                 esi, -1
            //   7439                 | je                  0x3b
            //   6828010000           | push                0x128

        $sequence_25 = { 53 57 6800040000 52 8d85fcfbffff }
            // n = 5, score = 800
            //   53                   | push                ebx
            //   57                   | push                edi
            //   6800040000           | push                0x400
            //   52                   | push                edx
            //   8d85fcfbffff         | lea                 eax, [ebp - 0x404]

        $sequence_26 = { a801 7409 d1e8 352083b8ed eb02 d1e8 8901 }
            // n = 7, score = 700
            //   a801                 | test                al, 1
            //   7409                 | je                  0xb
            //   d1e8                 | shr                 eax, 1
            //   352083b8ed           | xor                 eax, 0xedb88320
            //   eb02                 | jmp                 4
            //   d1e8                 | shr                 eax, 1
            //   8901                 | mov                 dword ptr [ecx], eax

        $sequence_27 = { f3ab 59 894df8 8d8d23ffffff e8???????? 50 }
            // n = 6, score = 600
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   59                   | pop                 ecx
            //   894df8               | mov                 dword ptr [ebp - 8], ecx
            //   8d8d23ffffff         | lea                 ecx, [ebp - 0xdd]
            //   e8????????           |                     
            //   50                   | push                eax

        $sequence_28 = { 8b4df8 e8???????? 8b00 8945ec 8b45f8 }
            // n = 5, score = 600
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]
            //   e8????????           |                     
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   8945ec               | mov                 dword ptr [ebp - 0x14], eax
            //   8b45f8               | mov                 eax, dword ptr [ebp - 8]

        $sequence_29 = { 8bcc 89a5f8feffff 8b85bcfeffff 50 e8???????? 8985b8feffff }
            // n = 6, score = 600
            //   8bcc                 | mov                 ecx, esp
            //   89a5f8feffff         | mov                 dword ptr [ebp - 0x108], esp
            //   8b85bcfeffff         | mov                 eax, dword ptr [ebp - 0x144]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8985b8feffff         | mov                 dword ptr [ebp - 0x148], eax

        $sequence_30 = { e8???????? ebaf 8b45ec 50 8b4d14 }
            // n = 5, score = 600
            //   e8????????           |                     
            //   ebaf                 | jmp                 0xffffffb1
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]
            //   50                   | push                eax
            //   8b4d14               | mov                 ecx, dword ptr [ebp + 0x14]

        $sequence_31 = { 894dec 8d85e4feffff 50 8b4dec e8???????? }
            // n = 5, score = 600
            //   894dec               | mov                 dword ptr [ebp - 0x14], ecx
            //   8d85e4feffff         | lea                 eax, [ebp - 0x11c]
            //   50                   | push                eax
            //   8b4dec               | mov                 ecx, dword ptr [ebp - 0x14]
            //   e8????????           |                     

        $sequence_32 = { 8b4dec e8???????? 8b8d20ffffff 83c904 898d20ffffff }
            // n = 5, score = 600
            //   8b4dec               | mov                 ecx, dword ptr [ebp - 0x14]
            //   e8????????           |                     
            //   8b8d20ffffff         | mov                 ecx, dword ptr [ebp - 0xe0]
            //   83c904               | or                  ecx, 4
            //   898d20ffffff         | mov                 dword ptr [ebp - 0xe0], ecx

        $sequence_33 = { e8???????? 8b9520ffffff 83ca04 899520ffffff }
            // n = 4, score = 600
            //   e8????????           |                     
            //   8b9520ffffff         | mov                 edx, dword ptr [ebp - 0xe0]
            //   83ca04               | or                  edx, 4
            //   899520ffffff         | mov                 dword ptr [ebp - 0xe0], edx

        $sequence_34 = { e8???????? 0fb6c8 85c9 7459 8d95ecfeffff 52 8b4dec }
            // n = 7, score = 600
            //   e8????????           |                     
            //   0fb6c8               | je                  0x4c
            //   85c9                 | push                0x128
            //   7459                 | lea                 eax, [ebp - 0x130]
            //   8d95ecfeffff         | test                esi, esi
            //   52                   | je                  0x60
            //   8b4dec               | cmp                 esi, -1

        $sequence_35 = { 488d4db8 e8???????? 90 4c897d28 4c897d30 }
            // n = 5, score = 100
            //   488d4db8             | mov                 esi, eax
            //   e8????????           |                     
            //   90                   | dec                 eax
            //   4c897d28             | test                eax, eax
            //   4c897d30             | je                  0x21

        $sequence_36 = { 75f7 4c8bc3 488bd7 488d4db0 e8???????? }
            // n = 5, score = 100
            //   75f7                 | jne                 0xfffffff9
            //   4c8bc3               | dec                 esp
            //   488bd7               | mov                 eax, ebx
            //   488d4db0             | dec                 eax
            //   e8????????           |                     

        $sequence_37 = { 488d15033c0100 b908000000 e8???????? 488bf0 4885c0 7414 }
            // n = 6, score = 100
            //   488d15033c0100       | lea                 eax, [0xf24a]
            //   b908000000           | dec                 eax
            //   e8????????           |                     
            //   488bf0               | mov                 edi, eax
            //   4885c0               | dec                 eax
            //   7414                 | test                eax, eax

        $sequence_38 = { 4c8d15f3aafeff c6030d 48ffc3 493bf4 0f8200ffffff eb1f 4b8b8cfaa0e90200 }
            // n = 7, score = 100
            //   4c8d15f3aafeff       | dec                 eax
            //   c6030d               | mov                 dword ptr [esp + 0x20], eax
            //   48ffc3               | inc                 ebp
            //   493bf4               | xor                 ecx, ecx
            //   0f8200ffffff         | inc                 ebp
            //   eb1f                 | xor                 eax, eax
            //   4b8b8cfaa0e90200     | inc                 ecx

        $sequence_39 = { 4889442420 4533c9 4533c0 418d511a 33c9 ff15???????? }
            // n = 6, score = 100
            //   4889442420           | je                  0x14
            //   4533c9               | dec                 eax
            //   4533c0               | lea                 edx, [0x13c03]
            //   418d511a             | mov                 ecx, 8
            //   33c9                 | dec                 eax
            //   ff15????????         |                     

        $sequence_40 = { 4c8d054af20000 e8???????? 488bf8 4885c0 7412 }
            // n = 5, score = 100
            //   4c8d054af20000       | mov                 edx, edi
            //   e8????????           |                     
            //   488bf8               | dec                 eax
            //   4885c0               | lea                 ecx, [ebp - 0x50]
            //   7412                 | dec                 esp

    condition:
        7 of them and filesize < 2498560
}
[TLP:WHITE] win_alina_pos_w0   (20180201 | This rule will detect a family of malware named Alina that is responsible for memory scraping and exfiltration (C&C). The malware targets track data on point of sale devices.)
rule win_alina_pos_w0 {
    meta:
        author = "Josh Grunzweig"
        description = "This rule will detect a family of malware named Alina that is responsible for memory scraping and exfiltration (C&C). The malware targets track data on point of sale devices."
        company = "Nuix"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.alina_pos"
        malpedia_version = "20180201"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    strings:
        $regex1 = "(((%?[Bb])[0-9]{13,19}\\^[A-Za-z\\s]{0,26}/[A-Za-z\\s]{0,26}\\^(1[2-9])(0[1-9]|1[0-2])[0-9\\s]{3,50}\\?)[; ]{1,3}([0-9]{13,19}=(1[2-9])(0[1-9]|1[0-2])[0-9]{3,50}\\?))"
        $regex2 = "([0-9]{13,19}=(1[2-9])(0[1-9]|1[0-2])[0-9]{3,50}\\?)"
        $regex3 = "((%?[Bb])[0-9]{13,19}\\^[A-Za-z\\s]{0,26}/[A-Za-z\\s]{0,26}\\^(1[2-9])(0[1-9]|1[0-2])[0-9\\s]{3,50}\\?)"
        $user_agent1 = /Alina v\d+\.\d+/ nocase
        $user_agent2 = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1 Spark v"
        $log1 = "{[!40!]}{[!4!]}{[!36!]}"
        $log2 = "{[!29!]}{[!32!]}"
        $log3 = "{[!30!]}{[!31!]}{[!4!]}"
        $log4 = "{[!2!]}{[!20!]}{[!21!]}"
        $blacklist1 = "explorer.exe"
        $blacklist2 = "chrome.exe"
        $blacklist3 = "firefox.exe"
        $blacklist4 = "iexplore.exe"
        $blacklist5 = "svchost.exe"
        $blacklist6 = "smss.exe"
        $blacklist7 = "crss.exe"
        $blacklist8 = "wininit.exe"
        $blacklist9 = "steam.exe"
        $blacklist10 = "devenv.exe"
        $blacklist11 = "thunderbird.exe"
        $blacklist12 = "skype.exe"
        $blacklist13 = "pidgin.exe"

    condition:
        (any of ($regex*)) or ((all of ($blacklist*)) and (any of ($user_agent*))) or (any of ($log*))
}
Download all Yara Rules