Analysis

  • max time kernel
    145s
  • max time network
    141s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 10:14

General

  • Target

    JaffaCakes118_e1abeceb2c1aa08ae4fe35e09bc2c79d.exe

  • Size

    12.0MB

  • MD5

    e1abeceb2c1aa08ae4fe35e09bc2c79d

  • SHA1

    ee0b1d827d3e77c5cb1e2ae45be16476fb0e4c69

  • SHA256

    92772c18b2bcfe93372b188476174d63bc1b32d87234ea86e3a1c6bd6df09620

  • SHA512

    734afdef014d0ab281092a19d80cdecbb4758f39b174b2211952a3173b8d6c09462e7e1dbdc55baf582a314c405017096549e531071bbcd13312a9846b360de1

  • SSDEEP

    196608:n+TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTz:n

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.

  • Tofsee family
  • 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
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e1abeceb2c1aa08ae4fe35e09bc2c79d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e1abeceb2c1aa08ae4fe35e09bc2c79d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wylqpgyo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4612
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hoanwjke.exe" C:\Windows\SysWOW64\wylqpgyo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wylqpgyo binPath= "C:\Windows\SysWOW64\wylqpgyo\hoanwjke.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e1abeceb2c1aa08ae4fe35e09bc2c79d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wylqpgyo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wylqpgyo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • 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
      • System Location Discovery: System Language Discovery
      PID:3208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 784
      2⤵
      • Program crash
      PID:3128
  • C:\Windows\SysWOW64\wylqpgyo\hoanwjke.exe
    C:\Windows\SysWOW64\wylqpgyo\hoanwjke.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e1abeceb2c1aa08ae4fe35e09bc2c79d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4380
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4380 -s 532
      2⤵
      • Program crash
      PID:4484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3672 -ip 3672
    1⤵
      PID:1268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4380 -ip 4380
      1⤵
        PID:1292

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\hoanwjke.exe

        Filesize

        12.9MB

        MD5

        9d0cc366810333bb01bbf078ee27f55f

        SHA1

        a5ff10ca4419f98e22a0ed13af18015d08beadeb

        SHA256

        aba3f41666fd0b344516c9f96b88c8e570e912302293891c7e8d3bf1e6c296eb

        SHA512

        22efee7bb23be3950f79976236c777389e2498809b876d5a0620e4056aa28c4e0530fcf0dbc1c89a85803026b596cbeac78d5e08c825ed0c6ceee8e6f6b8e249

      • memory/1988-14-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/1988-16-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/1988-17-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/3672-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3672-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3672-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3672-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3672-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/3672-1-0x0000000000B50000-0x0000000000C50000-memory.dmp

        Filesize

        1024KB

      • memory/4380-11-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4380-12-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4380-13-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4380-19-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB