Analysis

  • max time kernel
    146s
  • max time network
    143s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240704-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/07/2024, 14:20

General

  • Target
    26f79e78a4b445e1da768ce79e82c95b_JaffaCakes118.exe
  • Size 127KB
  • Sample240705-rngpyssdma
  • SHA256 03c3bf89ec80ccc2ebb578d871ecda58b8623d0fcaac4fc95981ea15aeaa7ba9
  • 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\26f79e78a4b445e1da768ce79e82c95b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\26f79e78a4b445e1da768ce79e82c95b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bmyscgoy\
      2⤵
        PID:228
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ddepkljr.exe" C:\Windows\SysWOW64\bmyscgoy\
        2⤵
          PID:2600
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bmyscgoy binPath= "C:\Windows\SysWOW64\bmyscgoy\ddepkljr.exe /d\"C:\Users\Admin\AppData\Local\Temp\26f79e78a4b445e1da768ce79e82c95b_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2968
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bmyscgoy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3432
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bmyscgoy
          2⤵
          • Launches sc.exe
          PID:1040
        • 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
          • Event Triggered Execution: Netsh Helper DLL
          PID:724
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4848 -s 1300
          2⤵
          • Program crash
          PID:3756
      • C:\Windows\SysWOW64\bmyscgoy\ddepkljr.exe
        C:\Windows\SysWOW64\bmyscgoy\ddepkljr.exe /d"C:\Users\Admin\AppData\Local\Temp\26f79e78a4b445e1da768ce79e82c95b_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4376
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4608
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4376 -s 516
          2⤵
          • Program crash
          PID:2192
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4848 -ip 4848
        1⤵
          PID:1496
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4376 -ip 4376
          1⤵
            PID:2412

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ddepkljr.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ddepkljr.exe
                • Size 14.4MB
                • SHA256 d012d681886e3422dc12eda82259d85a12d024fbbc21af6c007e21c72a396ddc
                • MD5 SHA1 SHA512 SSDEEP

                memory/4376-14-0x0000000000400000-0x00000000004CA000-memory.dmp

                memory/4376-20-0x0000000000400000-0x00000000004CA000-memory.dmp

                memory/4376-12-0x0000000000400000-0x00000000004CA000-memory.dmp

                memory/4376-13-0x0000000000400000-0x00000000004CA000-memory.dmp

                memory/4608-15-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/4608-17-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/4608-18-0x0000000000A40000-0x0000000000A55000-memory.dmp

                memory/4848-10-0x0000000000400000-0x0000000000415000-memory.dmp

                memory/4848-9-0x0000000000610000-0x0000000000623000-memory.dmp

                memory/4848-1-0x00000000007A0000-0x00000000008A0000-memory.dmp

                memory/4848-7-0x0000000000400000-0x00000000004CA000-memory.dmp

                memory/4848-3-0x0000000000400000-0x0000000000415000-memory.dmp

                memory/4848-2-0x0000000000610000-0x0000000000623000-memory.dmp