Analysis

  • max time kernel
    146s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-10-2024 13:37

General

  • Target

    184d8deaa51d84c10e00a9dc7b28a40d_JaffaCakes118.exe

  • Size

    10.9MB

  • MD5

    184d8deaa51d84c10e00a9dc7b28a40d

  • SHA1

    8646698b578a72a3c4bbc601bd7af3341f2f89c1

  • SHA256

    5ca5ccd924b945c085e70b8af94809345d979169dd31b198e60705374987eeaf

  • SHA512

    37881a88a0aff5f3737a9f3cdf7594279a1cabb51db5b338b3c9fa61ad5b953ba2708ac0200c2f1cb3ab8c62760c59b6646637ccf9cff3d63babc84d1dca8517

  • SSDEEP

    24576:lPTYeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeu:lP

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\184d8deaa51d84c10e00a9dc7b28a40d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\184d8deaa51d84c10e00a9dc7b28a40d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\itoynuwa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ecrdxteu.exe" C:\Windows\SysWOW64\itoynuwa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create itoynuwa binPath= "C:\Windows\SysWOW64\itoynuwa\ecrdxteu.exe /d\"C:\Users\Admin\AppData\Local\Temp\184d8deaa51d84c10e00a9dc7b28a40d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description itoynuwa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start itoynuwa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1604
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1828 -s 1028
      2⤵
      • Program crash
      PID:3960
  • C:\Windows\SysWOW64\itoynuwa\ecrdxteu.exe
    C:\Windows\SysWOW64\itoynuwa\ecrdxteu.exe /d"C:\Users\Admin\AppData\Local\Temp\184d8deaa51d84c10e00a9dc7b28a40d_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2596
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2596 -s 512
      2⤵
      • Program crash
      PID:1236
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 1828 -ip 1828
    1⤵
      PID:216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2596 -ip 2596
      1⤵
        PID:3728

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\ecrdxteu.exe

        Filesize

        11.9MB

        MD5

        ca78599edbdb0d087cdee6d0c3d778f1

        SHA1

        0506874274c405be6570a090786cf1760fc80be3

        SHA256

        4ccc3390e03dab89809e30924271506e8fc8a04dffba15f6a872fd0f09151911

        SHA512

        cdc2af0f299dfc9b5e9aab8159b6284c118ee4e71b122a9d5b78189daade45675f27b74b6ed5194d4c2a8df82f44181c5b29aac8f660b02d4f52714bd2075164

      • memory/1828-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/1828-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1828-2-0x0000000000660000-0x0000000000673000-memory.dmp

        Filesize

        76KB

      • memory/1828-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1828-9-0x0000000000660000-0x0000000000673000-memory.dmp

        Filesize

        76KB

      • memory/1828-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

        Filesize

        1024KB

      • memory/2596-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2596-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2596-17-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3516-13-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/3516-15-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/3516-18-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB