Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/04/2024, 02:33

General

  • Target
    fbbc300be6ec59b88fe78c250e98f0f4_JaffaCakes118.exe
  • Size 14.6MB
  • Sample240420-c2cktsfb2s
  • SHA256 49911d61a324bcfb2722acc8f21c54e093fed68c99989b26bd031298bb84f4b7
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

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.

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fbbc300be6ec59b88fe78c250e98f0f4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fbbc300be6ec59b88fe78c250e98f0f4_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ejzjqpw\
      2⤵
        PID:2980
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\auwtnjty.exe" C:\Windows\SysWOW64\ejzjqpw\
        2⤵
          PID:1624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ejzjqpw binPath= "C:\Windows\SysWOW64\ejzjqpw\auwtnjty.exe /d\"C:\Users\Admin\AppData\Local\Temp\fbbc300be6ec59b88fe78c250e98f0f4_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4440
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ejzjqpw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1120
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ejzjqpw
          2⤵
          • Launches sc.exe
          PID:2772
        • 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:1780
      • C:\Windows\SysWOW64\ejzjqpw\auwtnjty.exe
        C:\Windows\SysWOW64\ejzjqpw\auwtnjty.exe /d"C:\Users\Admin\AppData\Local\Temp\fbbc300be6ec59b88fe78c250e98f0f4_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3448
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2596

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            auwtnjty.exe

            • Path C:\Users\Admin\AppData\Local\Temp\auwtnjty.exe
            • Size 10.6MB
            • SHA256 2bc65231c69571c34e50f048eb8cbc11be13f56da002d4b9528e1f216c6d7695
            • MD5 SHA1 SHA512 SSDEEP

            memory/2596-10-0x0000000000C20000-0x0000000000C35000-memory.dmp

            memory/2596-18-0x0000000000C20000-0x0000000000C35000-memory.dmp

            memory/2596-17-0x0000000000C20000-0x0000000000C35000-memory.dmp

            memory/2596-16-0x0000000000C20000-0x0000000000C35000-memory.dmp

            memory/2596-14-0x0000000000C20000-0x0000000000C35000-memory.dmp

            memory/2956-3-0x00000000006D0000-0x00000000006D1000-memory.dmp

            memory/2956-15-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/2956-0-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/2956-1-0x00000000005B0000-0x00000000005B1000-memory.dmp

            memory/2956-2-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/3448-9-0x0000000000CE0000-0x0000000000CE1000-memory.dmp

            memory/3448-12-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/3448-7-0x0000000000400000-0x000000000041E000-memory.dmp