Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-12-2024 15:52

General

  • Target

    e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe

  • Size

    886KB

  • MD5

    e22f1bbf54fbbd8d0135772dac71ac13

  • SHA1

    b44ed322c53cb34c9eb7988c65be76eb7c78f089

  • SHA256

    9e4e77d4f212e5aad71c2a0409c801b64e89b9f92a0ce4e2903b587bc5a70485

  • SHA512

    2e577425a1d81e682777ae7b8c0dd9718923f6c0b2367a0096b7aa803bfb21eb02a4ded17600f6f9767b5ab853ddff56ebd8b39dd0ab8da341257d2e50aa3d58

  • SSDEEP

    24576:14njPTfWh2y0ukcncNmGgvYTDn2KSQjHT5GA2ekyFh3C0cq:mmGhDneeQHMh3C0cq

Malware Config

Extracted

Family

snakekeylogger

Credentials
C2

https://api.telegram.org/bot1865023387:AAFbWPISsv486p_o9A4CIDR1FBfAq1W7nUc/sendMessage?chat_id=1788371409

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • Snakekeylogger family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Looks up external IP address via web service 3 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Program crash 1 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 6 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4120
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1872
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\NEQcsxsAehXEc.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2000
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\NEQcsxsAehXEc" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4EC7.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:1576
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\NEQcsxsAehXEc.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1068
    • C:\Users\Admin\AppData\Local\Temp\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe"
      2⤵
        PID:540
      • C:\Users\Admin\AppData\Local\Temp\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe
        "C:\Users\Admin\AppData\Local\Temp\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe"
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:720
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 720 -s 1752
          3⤵
          • Program crash
          PID:1316
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 720 -ip 720
      1⤵
        PID:4156

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\e22f1bbf54fbbd8d0135772dac71ac13_JaffaCakes118.exe.log

        Filesize

        1KB

        MD5

        17573558c4e714f606f997e5157afaac

        SHA1

        13e16e9415ceef429aaf124139671ebeca09ed23

        SHA256

        c18db6aecad2436da4a63ff26af4e3a337cca48f01c21b8db494fe5ccc60e553

        SHA512

        f4edf13f05a0d142e4dd42802098c8c44988ee8869621a62c2b565a77c9a95857f636583ff8d6d9baa366603d98b9bfbf1fc75bc6f9f8f83c80cb1215b2941cc

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

        Filesize

        2KB

        MD5

        968cb9309758126772781b83adb8a28f

        SHA1

        8da30e71accf186b2ba11da1797cf67f8f78b47c

        SHA256

        92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

        SHA512

        4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

      • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

        Filesize

        18KB

        MD5

        28c0a39a186aef73113f695a21092506

        SHA1

        31d0d2a2be6e7e593e4b1a6ed82e66f9d05dca01

        SHA256

        40e71d68fce47962e23e36461ebf1628e6910404328142580512bcd42ff85f3f

        SHA512

        e7224605816da7c6fd4beddd8443355187b947042997ba0699875ec03a0c169c04683774af56781663b5821239778acd3f3f23a8c68eda69e38752dcf1b68dd7

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_awl4anb4.yd0.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Admin\AppData\Local\Temp\tmp4EC7.tmp

        Filesize

        1KB

        MD5

        88e83e23716dbaa25f4bcf8f8cace3e5

        SHA1

        f50ba700037ccdb8ca1496a90b759f157dbb6100

        SHA256

        1c1164ffc5bb704330e45f0359df19b74faa9f7d263b46d5ccd864ede815c11a

        SHA512

        37213955dcccd726cd3dae5019526f3cdb69eefb45c6f57a280d022bd06e80879b3f29a9c7e2f80d2c5c95ec3bd19eabc62601319f0a93a4328b043866068f86

      • memory/720-48-0x0000000000400000-0x0000000000424000-memory.dmp

        Filesize

        144KB

      • memory/1068-89-0x00000000752F0000-0x000000007533C000-memory.dmp

        Filesize

        304KB

      • memory/1872-52-0x00000000067F0000-0x000000000680E000-memory.dmp

        Filesize

        120KB

      • memory/1872-17-0x0000000002EC0000-0x0000000002EF6000-memory.dmp

        Filesize

        216KB

      • memory/1872-53-0x00000000068A0000-0x00000000068EC000-memory.dmp

        Filesize

        304KB

      • memory/1872-75-0x0000000006DA0000-0x0000000006DBE000-memory.dmp

        Filesize

        120KB

      • memory/1872-76-0x00000000079F0000-0x0000000007A93000-memory.dmp

        Filesize

        652KB

      • memory/1872-63-0x0000000006DC0000-0x0000000006DF2000-memory.dmp

        Filesize

        200KB

      • memory/1872-18-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/1872-64-0x00000000752F0000-0x000000007533C000-memory.dmp

        Filesize

        304KB

      • memory/1872-19-0x0000000005C40000-0x0000000006268000-memory.dmp

        Filesize

        6.2MB

      • memory/1872-21-0x00000000057E0000-0x0000000005846000-memory.dmp

        Filesize

        408KB

      • memory/1872-20-0x0000000005740000-0x0000000005762000-memory.dmp

        Filesize

        136KB

      • memory/1872-22-0x0000000005850000-0x00000000058B6000-memory.dmp

        Filesize

        408KB

      • memory/1872-23-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/1872-24-0x0000000006270000-0x00000000065C4000-memory.dmp

        Filesize

        3.3MB

      • memory/1872-31-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/1872-113-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/2000-74-0x00000000752F0000-0x000000007533C000-memory.dmp

        Filesize

        304KB

      • memory/2000-86-0x0000000007660000-0x0000000007CDA000-memory.dmp

        Filesize

        6.5MB

      • memory/2000-37-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/2000-38-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/2000-109-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/2000-103-0x0000000007360000-0x000000000737A000-memory.dmp

        Filesize

        104KB

      • memory/2000-104-0x0000000007340000-0x0000000007348000-memory.dmp

        Filesize

        32KB

      • memory/2000-35-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/2000-102-0x0000000007260000-0x0000000007274000-memory.dmp

        Filesize

        80KB

      • memory/2000-101-0x0000000007250000-0x000000000725E000-memory.dmp

        Filesize

        56KB

      • memory/2000-100-0x0000000007220000-0x0000000007231000-memory.dmp

        Filesize

        68KB

      • memory/2000-90-0x00000000072A0000-0x0000000007336000-memory.dmp

        Filesize

        600KB

      • memory/2000-88-0x0000000007090000-0x000000000709A000-memory.dmp

        Filesize

        40KB

      • memory/2000-87-0x0000000007020000-0x000000000703A000-memory.dmp

        Filesize

        104KB

      • memory/4120-10-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/4120-9-0x0000000074A7E000-0x0000000074A7F000-memory.dmp

        Filesize

        4KB

      • memory/4120-0-0x0000000074A7E000-0x0000000074A7F000-memory.dmp

        Filesize

        4KB

      • memory/4120-4-0x0000000007230000-0x00000000072C2000-memory.dmp

        Filesize

        584KB

      • memory/4120-6-0x00000000072D0000-0x0000000007326000-memory.dmp

        Filesize

        344KB

      • memory/4120-7-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/4120-8-0x0000000008B70000-0x0000000008B86000-memory.dmp

        Filesize

        88KB

      • memory/4120-5-0x00000000026D0000-0x00000000026DA000-memory.dmp

        Filesize

        40KB

      • memory/4120-51-0x0000000074A70000-0x0000000075220000-memory.dmp

        Filesize

        7.7MB

      • memory/4120-11-0x0000000008E50000-0x0000000008EDE000-memory.dmp

        Filesize

        568KB

      • memory/4120-3-0x00000000077E0000-0x0000000007D84000-memory.dmp

        Filesize

        5.6MB

      • memory/4120-12-0x000000000C390000-0x000000000C3B6000-memory.dmp

        Filesize

        152KB

      • memory/4120-2-0x0000000007190000-0x000000000722C000-memory.dmp

        Filesize

        624KB

      • memory/4120-1-0x00000000001C0000-0x00000000002A4000-memory.dmp

        Filesize

        912KB