Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 01:54

General

  • Target

    f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe

  • Size

    11.5MB

  • MD5

    f4c9ca0aae067a11649370278de2a937

  • SHA1

    e1fc4e42abfe1accb7e200d21f1f0d329838e81e

  • SHA256

    b3ef346a16f90c3811847840e66397ca8c9938707e37cfd274ee6bb9004c741d

  • SHA512

    8062c679c66c895dd3173ccfa56eacf6b5dbeaa6c5d60712ba3c59f05cddd053ff79209486fc0c9063973ba06e9aa32532d58cd74cf56a5e255b2550d95ae487

  • SSDEEP

    24576:OjCj10HSqGgeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeO:O/D

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) 1 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.

  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tevkultq\
      2⤵
        PID:4120
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xbimorht.exe" C:\Windows\SysWOW64\tevkultq\
        2⤵
          PID:5052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tevkultq binPath= "C:\Windows\SysWOW64\tevkultq\xbimorht.exe /d\"C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:396
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tevkultq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2372
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tevkultq
          2⤵
          • Launches sc.exe
          PID:1940
        • 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
          PID:4440
      • C:\Windows\SysWOW64\tevkultq\xbimorht.exe
        C:\Windows\SysWOW64\tevkultq\xbimorht.exe /d"C:\Users\Admin\AppData\Local\Temp\f4c9ca0aae067a11649370278de2a937_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2244
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:4140

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        7e3db69e42091967b602f5454cdd330d

        SHA1

        97b22b37df2d9ead91d6497ed80aff29cd089366

        SHA256

        90481aa7a2567484a7c4db15534b26cdb8053c10fb0c26e0d7662cc3c17b0c27

        SHA512

        3741e4f0315f831225d1748de8ed38abae079093701e552c17b045720a88082f9ed2a87c40cb7fd2df9084c19529fe87f870969f3ab21e9df962153fa6de62e0

      • memory/2244-10-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2244-18-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2244-8-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

      • memory/2244-9-0x0000000000D30000-0x0000000000D43000-memory.dmp

        Filesize

        76KB

      • memory/4004-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/4004-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

      • memory/4004-21-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

      • memory/4004-3-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/4004-15-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/4140-14-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB

      • memory/4140-17-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB

      • memory/4140-16-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB

      • memory/4140-11-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB

      • memory/4140-25-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB