Analysis

  • max time kernel
    148s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/06/2024, 03:18

General

  • Target
    a3a63be8d8c5c049e131a86615f76b83_JaffaCakes118.exe
  • Size 120KB
  • Sample240613-dtwt6swdkn
  • SHA256 ee30f2371e37ce15b20f916a9f03d2562aa98a0dbb44ad3105c3b0f0de05dcf9
  • 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\a3a63be8d8c5c049e131a86615f76b83_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a3a63be8d8c5c049e131a86615f76b83_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4920
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gtxmhydc\
      2⤵
        PID:3924
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jqddgrje.exe" C:\Windows\SysWOW64\gtxmhydc\
        2⤵
          PID:3672
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gtxmhydc binPath= "C:\Windows\SysWOW64\gtxmhydc\jqddgrje.exe /d\"C:\Users\Admin\AppData\Local\Temp\a3a63be8d8c5c049e131a86615f76b83_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 gtxmhydc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:964
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gtxmhydc
          2⤵
          • Launches sc.exe
          PID:3388
        • 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:1504
      • C:\Windows\SysWOW64\gtxmhydc\jqddgrje.exe
        C:\Windows\SysWOW64\gtxmhydc\jqddgrje.exe /d"C:\Users\Admin\AppData\Local\Temp\a3a63be8d8c5c049e131a86615f76b83_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4092
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3580

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            jqddgrje.exe

            • Path C:\Users\Admin\AppData\Local\Temp\jqddgrje.exe
            • Size 11.4MB
            • SHA256 3a02e82f2bb1f0ddac75674a7ccde937ff0c51ac087d902c59bf073d02f54e50
            • MD5 SHA1 SHA512 SSDEEP

            memory/3580-8-0x0000000000540000-0x0000000000555000-memory.dmp

            memory/3580-12-0x0000000000540000-0x0000000000555000-memory.dmp

            memory/3580-14-0x0000000000540000-0x0000000000555000-memory.dmp

            memory/3580-15-0x0000000000540000-0x0000000000555000-memory.dmp

            memory/3580-16-0x0000000000540000-0x0000000000555000-memory.dmp

            memory/4092-6-0x0000000000580000-0x0000000000581000-memory.dmp

            memory/4092-7-0x0000000000400000-0x0000000000420000-memory.dmp

            memory/4092-11-0x0000000000400000-0x0000000000420000-memory.dmp

            memory/4920-1-0x00000000005C0000-0x00000000005C1000-memory.dmp

            memory/4920-0-0x0000000000400000-0x0000000000420000-memory.dmp

            memory/4920-2-0x00000000005E0000-0x00000000005E1000-memory.dmp

            memory/4920-13-0x0000000000400000-0x0000000000420000-memory.dmp