Analysis

  • max time kernel
    144s
  • max time network
    142s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/06/2024, 10:21

General

  • Target
    b2ff3c3152615f2ebb1b04f4f1912e3d_JaffaCakes118.exe
  • Size 120KB
  • Sample240616-mdtvbatclq
  • SHA256 ba9da660fce6bc22eae29f80bacde100bbcaa748c675e68bcfaa04ccaaf2f20b
  • 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) 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b2ff3c3152615f2ebb1b04f4f1912e3d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b2ff3c3152615f2ebb1b04f4f1912e3d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dwodibrc\
      2⤵
        PID:3276
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jeliheab.exe" C:\Windows\SysWOW64\dwodibrc\
        2⤵
          PID:1912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dwodibrc binPath= "C:\Windows\SysWOW64\dwodibrc\jeliheab.exe /d\"C:\Users\Admin\AppData\Local\Temp\b2ff3c3152615f2ebb1b04f4f1912e3d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3588
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dwodibrc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2628
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dwodibrc
          2⤵
          • Launches sc.exe
          PID:3660
        • 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:3052
      • C:\Windows\SysWOW64\dwodibrc\jeliheab.exe
        C:\Windows\SysWOW64\dwodibrc\jeliheab.exe /d"C:\Users\Admin\AppData\Local\Temp\b2ff3c3152615f2ebb1b04f4f1912e3d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1288
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4796

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            jeliheab.exe

            • Path C:\Users\Admin\AppData\Local\Temp\jeliheab.exe
            • Size 11.8MB
            • SHA256 5c768f2c6c075f5a1d3eb3c94d1d7602e76db40f2f3d924d67d5bd4481dfb8a8
            • MD5 SHA1 SHA512 SSDEEP

            memory/1288-10-0x000000005F000000-0x000000005F011000-memory.dmp

            memory/1288-6-0x0000000001040000-0x0000000001041000-memory.dmp

            memory/1288-9-0x0000000000400000-0x0000000000421000-memory.dmp

            memory/1288-7-0x0000000000400000-0x0000000000421000-memory.dmp

            memory/3948-15-0x000000005F000000-0x000000005F011000-memory.dmp

            memory/3948-0-0x0000000000400000-0x0000000000421000-memory.dmp

            memory/3948-1-0x00000000023D0000-0x00000000023D1000-memory.dmp

            memory/3948-14-0x0000000000400000-0x0000000000421000-memory.dmp

            memory/3948-2-0x0000000000590000-0x0000000000591000-memory.dmp

            memory/4796-8-0x00000000004F0000-0x0000000000505000-memory.dmp

            memory/4796-13-0x00000000004F0000-0x0000000000505000-memory.dmp

            memory/4796-16-0x00000000004F0000-0x0000000000505000-memory.dmp

            memory/4796-17-0x00000000004F0000-0x0000000000505000-memory.dmp

            memory/4796-18-0x00000000004F0000-0x0000000000505000-memory.dmp