Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2024 14:31

General

  • Target

    8bf29e23ac410a61aa52ba419821c5d1_JaffaCakes118.exe

  • Size

    13.1MB

  • MD5

    8bf29e23ac410a61aa52ba419821c5d1

  • SHA1

    cd8925a8e7be90c55a982bdb20dbbec7d6faae5d

  • SHA256

    88c517b3794e1eba582c7f65f417929aac425dfcbd4b4856fe30fbb7d10dda69

  • SHA512

    36a8039d962ec7375d8eb0f95fa20d38edb742e47aa9ee1232d25ed558ebc205dd211cc1ea277ee73330bc66460ea6babe2f8aba91e45aac0e2db5ff98e48ae9

  • SSDEEP

    6144:crZQVnJzxj5nP76vk7wQ6udJm1lzvGCUWlnpj:QZ2zxj5nPmRQ6QgjzOCnl

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\8bf29e23ac410a61aa52ba419821c5d1_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8bf29e23ac410a61aa52ba419821c5d1_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rkrmvotn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bnzhhshp.exe" C:\Windows\SysWOW64\rkrmvotn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1080
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rkrmvotn binPath= "C:\Windows\SysWOW64\rkrmvotn\bnzhhshp.exe /d\"C:\Users\Admin\AppData\Local\Temp\8bf29e23ac410a61aa52ba419821c5d1_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rkrmvotn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rkrmvotn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4292
    • 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:2408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1736 -s 1152
      2⤵
      • Program crash
      PID:1748
  • C:\Windows\SysWOW64\rkrmvotn\bnzhhshp.exe
    C:\Windows\SysWOW64\rkrmvotn\bnzhhshp.exe /d"C:\Users\Admin\AppData\Local\Temp\8bf29e23ac410a61aa52ba419821c5d1_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2264
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4784
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2264 -s 512
      2⤵
      • Program crash
      PID:1516
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1736 -ip 1736
    1⤵
      PID:1676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 520 -p 2264 -ip 2264
      1⤵
        PID:4616

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        3e11ae89c992c8f73fa5f021b2ae2636

        SHA1

        424d9570f2c253b3592c8cd7058f5f32ac0d17a4

        SHA256

        d23438b0784e94f84a1e803b9e978e6bd2689f985b940e9773b10a309535abcc

        SHA512

        6c0c4046448fd1011ae4e52cbf6ac1f3d0743d7d355a0e8e46c3fd6782ec84a64058ae4d690594b92ec3e7748cba9fef3833f73b3fb2e73c9db0373e711b3b0c

      • memory/1736-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        84KB

      • memory/1736-2-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1736-9-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

      • memory/1736-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

        Filesize

        1024KB

      • memory/2264-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2264-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2264-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2264-19-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4784-14-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/4784-16-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/4784-17-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB