SYMBOLCOMMON_NAMEaka. SYNONYMS
win.grateful_pos (Back to overview)

Grateful POS

aka: FrameworkPOS, SCRAPMINT, trinity

Actor(s): Skeleton Spider, FIN6

VTCollection    

POS malware targets systems that run physical point-of-sale device and operates by inspecting the process memory for data that matches the structure of credit card data (Track1 and Track2 data), such as the account number, expiration date, and other information stored on a card’s magnetic stripe. After the cards are first scanned, the personal account number (PAN) and accompanying data sit in the point-of-sale system’s memory unencrypted while the system determines where to send it for authorization.
Masked as the LogMein software, the GratefulPOS malware appears to have emerged during the fall 2017 shopping season with low detection ratio according to some of the earliest detections displayed on VirusTotal. The first sample was upload in November 2017. Additionally, this malware appears to be related to the Framework POS malware, which was linked to some of the high-profile merchant breaches in the past.

References
2021-01-01SecureworksSecureWorks
Threat Profile: GOLD FRANKLIN
Grateful POS Meterpreter MimiKatz RemCom FIN6
2020-03-03PWC UKPWC UK
Cyber Threats 2019:A Year in Retrospect
KevDroid MESSAGETAP magecart AndroMut Cobalt Strike CobInt Crimson RAT DNSpionage Dridex Dtrack Emotet FlawedAmmyy FlawedGrace FriedEx Gandcrab Get2 GlobeImposter Grateful POS ISFB Kazuar LockerGoga Nokki QakBot Ramnit REvil Rifdoor RokRAT Ryuk shadowhammer ShadowPad Shifu Skipper StoneDrill Stuxnet TrickBot Winnti ZeroCleare APT41 MUSTANG PANDA Sea Turtle
2020-02-19FireEyeFireEye
M-Trends 2020
Cobalt Strike Grateful POS LockerGoga QakBot TrickBot
2020-02-13QianxinQi Anxin Threat Intelligence Center
APT Report 2019
Chrysaor Exodus Dacls VPNFilter DNSRat Griffon KopiLuwak More_eggs SQLRat AppleJeus BONDUPDATER Agent.BTZ Anchor AndroMut AppleJeus BOOSTWRITE Brambul Carbanak Cobalt Strike Dacls DistTrack DNSpionage Dtrack ELECTRICFISH FlawedAmmyy FlawedGrace Get2 Grateful POS HOPLIGHT Imminent Monitor RAT jason Joanap KerrDown KEYMARBLE Lambert LightNeuron LoJax MiniDuke PolyglotDuke PowerRatankba Rising Sun SDBbot ServHelper Snatch Stuxnet TinyMet tRat TrickBot Volgmer X-Agent Zebrocy
2019-12-23Norfolk
POS Malware Used at Fuel Pumps
Grateful POS
2019-12-01VISAVisa Security Alert
Cybercrime Groups (FIN8) Targeting Fuel Dispenser Merchants
Grateful POS
2019-05-01Red CanaryTony Lambert
FrameworkPOS and the adequate persistent threat
Grateful POS
2017-12-13Vitali Kremez BlogVitali Kremez
Update: Let's Learn: Reversing FIN6 "GratefulPOS" aka "FrameworkPOS" Point-of-Sale Malware in-Depth
Grateful POS
2017-12-08RSAKent Beckman
GratefulPOS credit card stealing malware - just in time for the shopping season
Grateful POS
2016-04-01FireEyeFireEye
Follow the Money: Dissecting the Operations of the Cyber Crime Group FIN6
Grateful POS FIN6
Yara Rules
[TLP:WHITE] win_grateful_pos_auto (20251219 | Detects win.grateful_pos.)
rule win_grateful_pos_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-01-05"
        version = "1"
        description = "Detects win.grateful_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.grateful_pos"
        malpedia_rule_date = "20260105"
        malpedia_hash = "19b79e7cab4eaf532122e5b45a77dd8f6bb5cc79"
        malpedia_version = "20251219"
        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 = { 7411 e8???????? e8???????? 33c0 e9???????? }
            // n = 5, score = 600
            //   7411                 | je                  0x13
            //   e8????????           |                     
            //   e8????????           |                     
            //   33c0                 | xor                 eax, eax
            //   e9????????           |                     

        $sequence_1 = { eb07 b8fcffffff eb02 33c0 }
            // n = 4, score = 600
            //   eb07                 | jmp                 9
            //   b8fcffffff           | mov                 eax, 0xfffffffc
            //   eb02                 | jmp                 4
            //   33c0                 | xor                 eax, eax

        $sequence_2 = { e8???????? 99 b980ee3600 f7f9 }
            // n = 4, score = 600
            //   e8????????           |                     
            //   99                   | cdq                 
            //   b980ee3600           | mov                 ecx, 0x36ee80
            //   f7f9                 | idiv                ecx

        $sequence_3 = { 83f801 7510 e8???????? e8???????? }
            // n = 4, score = 600
            //   83f801               | cmp                 eax, 1
            //   7510                 | jne                 0x12
            //   e8????????           |                     
            //   e8????????           |                     

        $sequence_4 = { 7407 b8f6ffffff eb02 33c0 }
            // n = 4, score = 600
            //   7407                 | je                  9
            //   b8f6ffffff           | mov                 eax, 0xfffffff6
            //   eb02                 | jmp                 4
            //   33c0                 | xor                 eax, eax

        $sequence_5 = { b8feffffff eb1a b8fdffffff eb13 b8fcffffff }
            // n = 5, score = 600
            //   b8feffffff           | mov                 eax, 0xfffffffe
            //   eb1a                 | jmp                 0x1c
            //   b8fdffffff           | mov                 eax, 0xfffffffd
            //   eb13                 | jmp                 0x15
            //   b8fcffffff           | mov                 eax, 0xfffffffc

        $sequence_6 = { 0385d0fbffff 8985d0fbffff 6a18 6a00 8d4de4 51 e8???????? }
            // n = 7, score = 500
            //   0385d0fbffff         | push                eax
            //   8985d0fbffff         | push                0
            //   6a18                 | push                0x410
            //   6a00                 | add                 eax, dword ptr [ebp - 0x430]
            //   8d4de4               | mov                 dword ptr [ebp - 0x430], eax
            //   51                   | push                0x18
            //   e8????????           |                     

        $sequence_7 = { 0fb61401 52 b804000000 6bc000 }
            // n = 4, score = 500
            //   0fb61401             | movzx               edx, byte ptr [ecx + eax]
            //   52                   | push                edx
            //   b804000000           | mov                 eax, 4
            //   6bc000               | imul                eax, eax, 0

        $sequence_8 = { 83e80e 50 e8???????? 83c40c 85c0 7457 6a03 }
            // n = 7, score = 500
            //   83e80e               | dec                 eax
            //   50                   | lea                 ecx, [0x26091]
            //   e8????????           |                     
            //   83c40c               | movsx               eax, byte ptr [ecx + eax]
            //   85c0                 | sub                 eax, 0xe
            //   7457                 | push                eax
            //   6a03                 | add                 esp, 0xc

        $sequence_9 = { 894110 8b550c 8b420c c1e803 50 68ff000000 8b4dfc }
            // n = 7, score = 500
            //   894110               | jl                  0x67
            //   8b550c               | mov                 ecx, dword ptr [ebp - 0x20008]
            //   8b420c               | movzx               edx, byte ptr [ebp + ecx - 0x20002]
            //   c1e803               | mov                 dword ptr [ecx + 0x10], eax
            //   50                   | mov                 edx, dword ptr [ebp + 0xc]
            //   68ff000000           | mov                 eax, dword ptr [edx + 0xc]
            //   8b4dfc               | shr                 eax, 3

        $sequence_10 = { 0f8c8c000000 8b8df8fffdff 0fb6940dfafffdff 83fa3a }
            // n = 4, score = 500
            //   0f8c8c000000         | jl                  0x92
            //   8b8df8fffdff         | mov                 ecx, dword ptr [ebp - 0x20008]
            //   0fb6940dfafffdff     | movzx               edx, byte ptr [ebp + ecx - 0x20006]
            //   83fa3a               | cmp                 edx, 0x3a

        $sequence_11 = { 83bdd0fbffff00 7568 6a0f 8b85e0fbffff 83e80f }
            // n = 5, score = 500
            //   83bdd0fbffff00       | push                eax
            //   7568                 | push                0xff
            //   6a0f                 | mov                 ecx, dword ptr [ebp - 4]
            //   8b85e0fbffff         | cmp                 dword ptr [ebp - 0x430], 0
            //   83e80f               | jne                 0x6a

        $sequence_12 = { 83f830 7c62 8b8df8fffdff 0fb6940dfefffdff }
            // n = 4, score = 500
            //   83f830               | test                eax, eax
            //   7c62                 | je                  0x5e
            //   8b8df8fffdff         | push                3
            //   0fb6940dfefffdff     | cmp                 eax, 0x30

        $sequence_13 = { 8945fc c785f8fbffff00000000 c785e8fbffff00000000 8b4508 50 6a00 6810040000 }
            // n = 7, score = 500
            //   8945fc               | push                0xf
            //   c785f8fbffff00000000     | mov    eax, dword ptr [ebp - 0x420]
            //   c785e8fbffff00000000     | sub    eax, 0xf
            //   8b4508               | mov                 dword ptr [ebp - 4], eax
            //   50                   | mov                 dword ptr [ebp - 0x408], 0
            //   6a00                 | mov                 dword ptr [ebp - 0x418], 0
            //   6810040000           | mov                 eax, dword ptr [ebp + 8]

        $sequence_14 = { 0fbe0401 83f04d 88842486010000 b801000000 486bc037 }
            // n = 5, score = 200
            //   0fbe0401             | movsx               eax, byte ptr [ecx + eax]
            //   83f04d               | xor                 eax, 0x4d
            //   88842486010000       | mov                 byte ptr [esp + 0x186], al
            //   b801000000           | mov                 eax, 1
            //   486bc037             | dec                 eax

        $sequence_15 = { ff15???????? 837c246400 750a b801000000 e9???????? }
            // n = 5, score = 200
            //   ff15????????         |                     
            //   837c246400           | imul                eax, eax, 0x37
            //   750a                 | cmp                 dword ptr [esp + 0x64], 0
            //   b801000000           | jne                 0xc
            //   e9????????           |                     

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