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 (20260504 | Detects win.grateful_pos.)
rule win_grateful_pos_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        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 = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 7407 b8f6ffffff eb02 33c0 }
            // n = 4, score = 600
            //   7407                 | je                  9
            //   b8f6ffffff           | mov                 eax, 0xfffffff6
            //   eb02                 | jmp                 4
            //   33c0                 | xor                 eax, eax

        $sequence_1 = { eb1a b8fdffffff eb13 b8fcffffff }
            // n = 4, score = 600
            //   eb1a                 | jmp                 0x1c
            //   b8fdffffff           | mov                 eax, 0xfffffffd
            //   eb13                 | jmp                 0x15
            //   b8fcffffff           | mov                 eax, 0xfffffffc

        $sequence_2 = { 7411 e8???????? e8???????? 33c0 e9???????? }
            // n = 5, score = 600
            //   7411                 | je                  0x13
            //   e8????????           |                     
            //   e8????????           |                     
            //   33c0                 | xor                 eax, eax
            //   e9????????           |                     

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

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

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

        $sequence_6 = { 0fb68415fdfffdff 85c0 752b 68???????? 8b4d08 8b5104 }
            // n = 6, score = 500
            //   0fb68415fdfffdff     | xor                 eax, 0x4d
            //   85c0                 | mov                 byte ptr [esp + 0x102], al
            //   752b                 | mov                 dword ptr [esp + ecx + 0xa4], eax
            //   68????????           |                     
            //   8b4d08               | inc                 ecx
            //   8b5104               | mov                 eax, 0x10

        $sequence_7 = { 0fb64d0c ba08000000 2bd1 8bca d3e0 }
            // n = 5, score = 500
            //   0fb64d0c             | movzx               ecx, byte ptr [ebp + 0xc]
            //   ba08000000           | mov                 edx, 8
            //   2bd1                 | sub                 edx, ecx
            //   8bca                 | mov                 ecx, edx
            //   d3e0                 | shl                 eax, cl

        $sequence_8 = { 83bddcfbffff46 0f8dbe000000 c785c0fbffff00000000 eb0f 8b8dc0fbffff }
            // n = 5, score = 500
            //   83bddcfbffff46       | dec                 eax
            //   0f8dbe000000         | lea                 edx, [esp + 0xa0]
            //   c785c0fbffff00000000     | dec    eax
            //   eb0f                 | mov                 ecx, dword ptr [esp + 0x48]
            //   8b8dc0fbffff         | dec                 eax

        $sequence_9 = { 6a02 8b85dcfbffff 8b4d0c 8d1441 }
            // n = 4, score = 500
            //   6a02                 | lea                 eax, [esp + 0x1a0]
            //   8b85dcfbffff         | movzx               eax, byte ptr [ebp + edx - 0x20003]
            //   8b4d0c               | test                eax, eax
            //   8d1441               | jne                 0x2d

        $sequence_10 = { 741d 8b5508 8955fc 8b4508 8b481c }
            // n = 5, score = 500
            //   741d                 | jmp                 0x1b
            //   8b5508               | mov                 ecx, dword ptr [ebp - 0x440]
            //   8955fc               | push                2
            //   8b4508               | mov                 eax, dword ptr [ebp - 0x424]
            //   8b481c               | mov                 ecx, dword ptr [ebp + 0xc]

        $sequence_11 = { e9???????? 8b95f8fffdff 0fb68415fbfffdff 83f830 7c6d }
            // n = 5, score = 500
            //   e9????????           |                     
            //   8b95f8fffdff         | mov                 edx, dword ptr [ebp - 0x20008]
            //   0fb68415fbfffdff     | movzx               eax, byte ptr [ebp + edx - 0x20005]
            //   83f830               | cmp                 eax, 0x30
            //   7c6d                 | jl                  0x6f

        $sequence_12 = { 8b4010 880c10 e9???????? 8b8decfffdff 2b8de8fffdff }
            // n = 5, score = 500
            //   8b4010               | lea                 edx, [ecx + eax*2]
            //   880c10               | cmp                 ecx, 1
            //   e9????????           |                     
            //   8b8decfffdff         | jne                 0x8d
            //   2b8de8fffdff         | mov                 dword ptr [ebp - 0x424], 1

        $sequence_13 = { 83f901 0f8584000000 c785dcfbffff01000000 eb0f 8b95dcfbffff }
            // n = 5, score = 500
            //   83f901               | mov                 ecx, dword ptr [ebp + 8]
            //   0f8584000000         | mov                 edx, dword ptr [ecx + 4]
            //   c785dcfbffff01000000     | cmp    dword ptr [ebp - 0x424], 0x46
            //   eb0f                 | jge                 0xcb
            //   8b95dcfbffff         | mov                 dword ptr [ebp - 0x440], 0

        $sequence_14 = { b801000000 486bc002 488d0d1fe70100 0fbe0401 83f04d 88842402010000 }
            // n = 6, score = 200
            //   b801000000           | xor                 edx, edx
            //   486bc002             | dec                 eax
            //   488d0d1fe70100       | mov                 eax, dword ptr [esp + 0x200a0]
            //   0fbe0401             | dec                 eax
            //   83f04d               | mov                 ecx, dword ptr [eax]
            //   88842402010000       | mov                 eax, 1

        $sequence_15 = { 488d0d39c00900 e8???????? 41b900040000 4c8d0527c00900 33d2 488b8424a0000200 488b08 }
            // n = 7, score = 200
            //   488d0d39c00900       | dec                 eax
            //   e8????????           |                     
            //   41b900040000         | lea                 ecx, [0x9c039]
            //   4c8d0527c00900       | inc                 ecx
            //   33d2                 | mov                 ecx, 0x400
            //   488b8424a0000200     | dec                 esp
            //   488b08               | lea                 eax, [0x9c027]

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