Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 16:15

General

  • Target

    ffadb7d3707426c5b9998e00b4bea27a_JaffaCakes118.exe

  • Size

    10.3MB

  • MD5

    ffadb7d3707426c5b9998e00b4bea27a

  • SHA1

    561627848b9e53958b25cca7012fbf42684cec57

  • SHA256

    8ccd499069ecdfbdc6b48d295d5e258acf967a60edf962057a74983cd4978708

  • SHA512

    aab949615741b62cc70392c5f133493c624de74f37797664585619d899144628d4ceebdd560b6884b523ab2701ae6703849d419a30c50d7c7e4996d3a8eee480

  • SSDEEP

    49152:0c67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffX:0c6

Malware Config

Extracted

Family

tofsee

C2

43.231.4.6

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\ffadb7d3707426c5b9998e00b4bea27a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ffadb7d3707426c5b9998e00b4bea27a_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xsplzhjk\
      2⤵
        PID:4856
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bhsdvkeq.exe" C:\Windows\SysWOW64\xsplzhjk\
        2⤵
          PID:1436
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xsplzhjk binPath= "C:\Windows\SysWOW64\xsplzhjk\bhsdvkeq.exe /d\"C:\Users\Admin\AppData\Local\Temp\ffadb7d3707426c5b9998e00b4bea27a_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3752
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xsplzhjk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1472
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xsplzhjk
          2⤵
          • Launches sc.exe
          PID:3840
        • 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:796
      • C:\Windows\SysWOW64\xsplzhjk\bhsdvkeq.exe
        C:\Windows\SysWOW64\xsplzhjk\bhsdvkeq.exe /d"C:\Users\Admin\AppData\Local\Temp\ffadb7d3707426c5b9998e00b4bea27a_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4364
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4544

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        b23952a1baeba9a8cc172c7f2ca830af

        SHA1

        81a90f30a54705421eb89b9e86142af75a3076a2

        SHA256

        59f91ecd73fb6e60b5292b3941c030c324efaaea464ac07fb6cf387295de8a18

        SHA512

        ba85c6bac5fed8bc4d47fe29e4088eca21f4e1b05423ab3edd96d6b7428cb12824ca0dacc7cf3a4d80f8d1d54fb6eea738e18bd6234200e18b746bd4bf4988e5

      • memory/728-2-0x0000000000DC0000-0x0000000000DD3000-memory.dmp

        Filesize

        76KB

      • memory/728-4-0x0000000000400000-0x0000000000C1C000-memory.dmp

        Filesize

        8.1MB

      • memory/728-7-0x0000000000400000-0x0000000000C1C000-memory.dmp

        Filesize

        8.1MB

      • memory/728-8-0x0000000000DC0000-0x0000000000DD3000-memory.dmp

        Filesize

        76KB

      • memory/728-1-0x0000000000E50000-0x0000000000F50000-memory.dmp

        Filesize

        1024KB

      • memory/4364-13-0x0000000000400000-0x0000000000C1C000-memory.dmp

        Filesize

        8.1MB

      • memory/4364-11-0x0000000000EC0000-0x0000000000FC0000-memory.dmp

        Filesize

        1024KB

      • memory/4544-10-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB

      • memory/4544-16-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB

      • memory/4544-17-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB

      • memory/4544-18-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB

      • memory/4544-19-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB