Analysis

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

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

General

  • Target
    c7d54346062a0b114e7e99d4b205d785_JaffaCakes118.exe
  • Size 11.8MB
  • Sample240405-chc29ahc9t
  • SHA256 e8d7aaf589ec5208f5d7194ba23378e00b3ed3fb7c84ffd50b34df8e0a9c5d56
  • 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\c7d54346062a0b114e7e99d4b205d785_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c7d54346062a0b114e7e99d4b205d785_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4872
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rnwdsefl\
      2⤵
        PID:2196
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bigrwrft.exe" C:\Windows\SysWOW64\rnwdsefl\
        2⤵
          PID:2772
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rnwdsefl binPath= "C:\Windows\SysWOW64\rnwdsefl\bigrwrft.exe /d\"C:\Users\Admin\AppData\Local\Temp\c7d54346062a0b114e7e99d4b205d785_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:208
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rnwdsefl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2036
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rnwdsefl
          2⤵
          • Launches sc.exe
          PID:748
        • 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:1888
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4872 -s 668
          2⤵
          • Program crash
          PID:4168
      • C:\Windows\SysWOW64\rnwdsefl\bigrwrft.exe
        C:\Windows\SysWOW64\rnwdsefl\bigrwrft.exe /d"C:\Users\Admin\AppData\Local\Temp\c7d54346062a0b114e7e99d4b205d785_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1848
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4020
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1848 -s 516
          2⤵
          • Program crash
          PID:1700
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4872 -ip 4872
        1⤵
          PID:1520
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1848 -ip 1848
          1⤵
            PID:3392

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                bigrwrft.exe

                • Path C:\Users\Admin\AppData\Local\Temp\bigrwrft.exe
                • Size 13.7MB
                • SHA256 c12917e66f22bcfc3e53c8482e192347ed13a2ec5b704be0bd3690a7da81a6e9
                • MD5 SHA1 SHA512 SSDEEP

                memory/1848-10-0x0000000000960000-0x0000000000A60000-memory.dmp

                memory/1848-12-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/1848-16-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/4020-11-0x0000000000A00000-0x0000000000A15000-memory.dmp

                memory/4020-15-0x0000000000A00000-0x0000000000A15000-memory.dmp

                memory/4020-17-0x0000000000A00000-0x0000000000A15000-memory.dmp

                memory/4020-18-0x0000000000A00000-0x0000000000A15000-memory.dmp

                memory/4872-4-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/4872-2-0x00000000009B0000-0x00000000009C3000-memory.dmp

                memory/4872-8-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/4872-9-0x00000000009B0000-0x00000000009C3000-memory.dmp

                memory/4872-1-0x0000000000BA0000-0x0000000000CA0000-memory.dmp