Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/04/2024, 05:43

General

  • Target
    853bc55f40fce72bc106afcecec813ed_JaffaCakes118.exe
  • Size 11.7MB
  • Sample240402-gepn4aad87
  • SHA256 f7e835897ed3701bdfdb7f8284786bdd12b11ba1090088806717b7a1490fdb7d
  • 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.

  • 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\853bc55f40fce72bc106afcecec813ed_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\853bc55f40fce72bc106afcecec813ed_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xbbcxaer\
      2⤵
        PID:1948
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nsogeht.exe" C:\Windows\SysWOW64\xbbcxaer\
        2⤵
          PID:1460
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xbbcxaer binPath= "C:\Windows\SysWOW64\xbbcxaer\nsogeht.exe /d\"C:\Users\Admin\AppData\Local\Temp\853bc55f40fce72bc106afcecec813ed_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xbbcxaer "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1936
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xbbcxaer
          2⤵
          • Launches sc.exe
          PID:3608
        • 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:1160
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2964 -s 596
          2⤵
          • Program crash
          PID:1440
      • C:\Windows\SysWOW64\xbbcxaer\nsogeht.exe
        C:\Windows\SysWOW64\xbbcxaer\nsogeht.exe /d"C:\Users\Admin\AppData\Local\Temp\853bc55f40fce72bc106afcecec813ed_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2104
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3704
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2104 -s 508
          2⤵
          • Program crash
          PID:1600
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2964 -ip 2964
        1⤵
          PID:2832
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2104 -ip 2104
          1⤵
            PID:4636

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                nsogeht.exe

                • Path C:\Users\Admin\AppData\Local\Temp\nsogeht.exe
                • Size 12.4MB
                • SHA256 ef6d3b01cd80b20d94055eef9e404eec0bfa442b92d36bcfd4f9fd7d5c179bcf
                • MD5 SHA1 SHA512 SSDEEP

                memory/2104-10-0x0000000000670000-0x0000000000770000-memory.dmp

                memory/2104-12-0x0000000000400000-0x0000000000454000-memory.dmp

                memory/2104-17-0x0000000000400000-0x0000000000454000-memory.dmp

                memory/2964-3-0x0000000000400000-0x0000000000454000-memory.dmp

                memory/2964-2-0x0000000000690000-0x00000000006A3000-memory.dmp

                memory/2964-8-0x0000000000400000-0x0000000000454000-memory.dmp

                memory/2964-9-0x0000000000690000-0x00000000006A3000-memory.dmp

                memory/2964-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

                memory/3704-11-0x00000000010D0000-0x00000000010E5000-memory.dmp

                memory/3704-15-0x00000000010D0000-0x00000000010E5000-memory.dmp

                memory/3704-16-0x00000000010D0000-0x00000000010E5000-memory.dmp

                memory/3704-18-0x00000000010D0000-0x00000000010E5000-memory.dmp

                memory/3704-19-0x00000000010D0000-0x00000000010E5000-memory.dmp