Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06/04/2024, 08:44

General

  • Target
    e06a7ae870e885c3288fa1442fea3652_JaffaCakes118.exe
  • Size 12.5MB
  • Sample240406-knd6haee8x
  • SHA256 f5c8d6a91b87bd0ac457d87465ceedd153c982e5e66ab07a27ca095edb7ccd53
  • 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\e06a7ae870e885c3288fa1442fea3652_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e06a7ae870e885c3288fa1442fea3652_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sqiffjfg\
      2⤵
        PID:2520
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hobbephc.exe" C:\Windows\SysWOW64\sqiffjfg\
        2⤵
          PID:4824
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create sqiffjfg binPath= "C:\Windows\SysWOW64\sqiffjfg\hobbephc.exe /d\"C:\Users\Admin\AppData\Local\Temp\e06a7ae870e885c3288fa1442fea3652_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1580
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description sqiffjfg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3732
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start sqiffjfg
          2⤵
          • Launches sc.exe
          PID:556
        • 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:3324
      • C:\Windows\SysWOW64\sqiffjfg\hobbephc.exe
        C:\Windows\SysWOW64\sqiffjfg\hobbephc.exe /d"C:\Users\Admin\AppData\Local\Temp\e06a7ae870e885c3288fa1442fea3652_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3936
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4384

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            hobbephc.exe

            • Path C:\Users\Admin\AppData\Local\Temp\hobbephc.exe
            • Size 12.2MB
            • SHA256 34b721f8cbeb2f54f320c96532fc458037e46df3a3105917c789d8b0c0ee58fa
            • MD5 SHA1 SHA512 SSDEEP

            memory/364-1-0x0000000000400000-0x000000000041A000-memory.dmp

            memory/364-0-0x00000000021A0000-0x00000000021A1000-memory.dmp

            memory/364-2-0x00000000021B0000-0x00000000021B1000-memory.dmp

            memory/364-5-0x0000000000400000-0x000000000041A000-memory.dmp

            memory/3936-8-0x0000000000D10000-0x0000000000D11000-memory.dmp

            memory/3936-10-0x0000000000400000-0x000000000041A000-memory.dmp

            memory/4384-9-0x0000000000B40000-0x0000000000B55000-memory.dmp

            memory/4384-13-0x0000000000B40000-0x0000000000B55000-memory.dmp

            memory/4384-14-0x0000000000B40000-0x0000000000B55000-memory.dmp

            memory/4384-15-0x0000000000B40000-0x0000000000B55000-memory.dmp