Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-08-2024 20:07

General

  • Target

    b0a59d0a8d15871ccb8be92c8d0f67f0_JaffaCakes118.exe

  • Size

    14.1MB

  • MD5

    b0a59d0a8d15871ccb8be92c8d0f67f0

  • SHA1

    752ce7ccfee2b5de80ac420ad3df76a6b5943c84

  • SHA256

    8791519374a3ea6c961cc5bb0342e34b25b4963ff4245ba224319cb93062bcd8

  • SHA512

    dd0d8e8894423e1660e5f1a7e523192ddbf9e88f7a456a5a1547327fef792b1b086fccadead2f4d33d98a509b19de9feb5f79b24d822c6da78d0a04a832f5282

  • SSDEEP

    98304:9uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuue:

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) 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\b0a59d0a8d15871ccb8be92c8d0f67f0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b0a59d0a8d15871ccb8be92c8d0f67f0_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xfqunko\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hoanwjke.exe" C:\Windows\SysWOW64\xfqunko\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xfqunko binPath= "C:\Windows\SysWOW64\xfqunko\hoanwjke.exe /d\"C:\Users\Admin\AppData\Local\Temp\b0a59d0a8d15871ccb8be92c8d0f67f0_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xfqunko "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xfqunko
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:376
    • 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:2268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 548 -s 1040
      2⤵
      • Program crash
      PID:8
  • C:\Windows\SysWOW64\xfqunko\hoanwjke.exe
    C:\Windows\SysWOW64\xfqunko\hoanwjke.exe /d"C:\Users\Admin\AppData\Local\Temp\b0a59d0a8d15871ccb8be92c8d0f67f0_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1520
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4288
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1520 -s 532
      2⤵
      • Program crash
      PID:2892
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 548 -ip 548
    1⤵
      PID:1928
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1520 -ip 1520
      1⤵
        PID:2260

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        3285d287ea75a174d4a031d99d80dac1

        SHA1

        f791cdc070aae9a0ea75db7633c8e44e79c79a2c

        SHA256

        035070d25a3bb57fba67312b8bb80b7725a19a760f1b7dee79e070d0d7ff31fd

        SHA512

        0b42a1c8cc97df728cb1f4974965160d5c398607d028e0e6b606a0e0401d3a0ef98b918a8282d14f1e325c9b7395ceb32fab0dd76b2dde63a8fbc933265849be

      • memory/548-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/548-2-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/548-9-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/548-1-0x0000000000750000-0x0000000000850000-memory.dmp

        Filesize

        1024KB

      • memory/1520-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/1520-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/1520-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/1520-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/4288-14-0x0000000000A30000-0x0000000000A45000-memory.dmp

        Filesize

        84KB

      • memory/4288-16-0x0000000000A30000-0x0000000000A45000-memory.dmp

        Filesize

        84KB

      • memory/4288-17-0x0000000000A30000-0x0000000000A45000-memory.dmp

        Filesize

        84KB