Analysis

  • max time kernel
    147s
  • max time network
    142s
  • 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, 23:52

General

  • Target
    f6d7c7a90429c7668bab5c0339e18e84_JaffaCakes118.exe
  • Size 10.9MB
  • Sample240417-3wplbaac47
  • SHA256 c62d36cd6ae1a3563d49df5ab3fa5375d8781f3d5f60a90c0a2afdcae81454fa
  • MD5 SHA1 SHA512 SSDEEP

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\f6d7c7a90429c7668bab5c0339e18e84_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f6d7c7a90429c7668bab5c0339e18e84_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eolutxrt\
      2⤵
        PID:1764
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wjajboqk.exe" C:\Windows\SysWOW64\eolutxrt\
        2⤵
          PID:4408
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create eolutxrt binPath= "C:\Windows\SysWOW64\eolutxrt\wjajboqk.exe /d\"C:\Users\Admin\AppData\Local\Temp\f6d7c7a90429c7668bab5c0339e18e84_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4068
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description eolutxrt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3464
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start eolutxrt
          2⤵
          • Launches sc.exe
          PID:3232
        • 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:1632
      • C:\Windows\SysWOW64\eolutxrt\wjajboqk.exe
        C:\Windows\SysWOW64\eolutxrt\wjajboqk.exe /d"C:\Users\Admin\AppData\Local\Temp\f6d7c7a90429c7668bab5c0339e18e84_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:116
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:4736

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            wjajboqk.exe

            • Path C:\Users\Admin\AppData\Local\Temp\wjajboqk.exe
            • Size 10.5MB
            • SHA256 c0249a27be3f1b3031ddd40657f5c22b45977388454577489d4917e18cfa4353
            • MD5 SHA1 SHA512 SSDEEP

            memory/116-10-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/116-17-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/116-22-0x00000000005C0000-0x00000000005D3000-memory.dmp

            memory/116-8-0x0000000000660000-0x0000000000760000-memory.dmp

            memory/1704-14-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/1704-1-0x0000000000690000-0x0000000000790000-memory.dmp

            memory/1704-3-0x0000000000400000-0x000000000046E000-memory.dmp

            memory/1704-2-0x0000000002070000-0x0000000002083000-memory.dmp

            memory/1704-23-0x0000000000690000-0x0000000000790000-memory.dmp

            memory/4736-13-0x0000000000850000-0x0000000000865000-memory.dmp

            memory/4736-15-0x0000000000850000-0x0000000000865000-memory.dmp

            memory/4736-16-0x0000000000850000-0x0000000000865000-memory.dmp

            memory/4736-9-0x0000000000850000-0x0000000000865000-memory.dmp

            memory/4736-25-0x0000000000850000-0x0000000000865000-memory.dmp