Analysis

  • max time kernel
    147s
  • max time network
    153s
  • 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, 01:33

General

  • Target
    f4c26a587ceedc4e1f881db4635d2e46_JaffaCakes118.exe
  • Size 12.9MB
  • Sample240417-bysxzaaa47
  • SHA256 683fa1172ed26a953994f43177ceff28ee665a14736e73fc6f91f9fe330545a0
  • MD5 SHA1 SHA512 SSDEEP

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).

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\f4c26a587ceedc4e1f881db4635d2e46_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f4c26a587ceedc4e1f881db4635d2e46_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3220
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wtxktimt\
      2⤵
        PID:4328
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xhcxoohn.exe" C:\Windows\SysWOW64\wtxktimt\
        2⤵
          PID:1208
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wtxktimt binPath= "C:\Windows\SysWOW64\wtxktimt\xhcxoohn.exe /d\"C:\Users\Admin\AppData\Local\Temp\f4c26a587ceedc4e1f881db4635d2e46_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3044
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wtxktimt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wtxktimt
          2⤵
          • Launches sc.exe
          PID:4908
        • 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:1048
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3220 -s 1224
          2⤵
          • Program crash
          PID:1444
      • C:\Windows\SysWOW64\wtxktimt\xhcxoohn.exe
        C:\Windows\SysWOW64\wtxktimt\xhcxoohn.exe /d"C:\Users\Admin\AppData\Local\Temp\f4c26a587ceedc4e1f881db4635d2e46_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2708
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2320
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2708 -s 520
          2⤵
          • Program crash
          PID:3980
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3220 -ip 3220
        1⤵
          PID:4728
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2708 -ip 2708
          1⤵
            PID:3840

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                xhcxoohn.exe

                • Path C:\Users\Admin\AppData\Local\Temp\xhcxoohn.exe
                • Size 11.2MB
                • SHA256 5d2b094f54e6b8429da8a49801875bb7ebf8d9dcd903c00b8f093115462f39e9
                • MD5 SHA1 SHA512 SSDEEP

                memory/2320-16-0x0000000000A70000-0x0000000000A85000-memory.dmp

                memory/2320-11-0x0000000000A70000-0x0000000000A85000-memory.dmp

                memory/2320-18-0x0000000000A70000-0x0000000000A85000-memory.dmp

                memory/2320-19-0x0000000000A70000-0x0000000000A85000-memory.dmp

                memory/2708-10-0x0000000000BF0000-0x0000000000CF0000-memory.dmp

                memory/2708-12-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/2708-17-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/3220-4-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/3220-2-0x0000000002630000-0x0000000002643000-memory.dmp

                memory/3220-7-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/3220-8-0x0000000002630000-0x0000000002643000-memory.dmp

                memory/3220-1-0x0000000000A00000-0x0000000000B00000-memory.dmp