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
    24-12-2024 10:51

General

  • Target

    JaffaCakes118_1169ad7e7d5ef548ba83516573609de08e98c4b44ec21b9a85f38ff608ef2ba6.exe

  • Size

    238KB

  • MD5

    9b58fb125967b2e13c612fd5914b88a3

  • SHA1

    64b1235daa9bf5626f103de55fbda99f07bd1bb2

  • SHA256

    1169ad7e7d5ef548ba83516573609de08e98c4b44ec21b9a85f38ff608ef2ba6

  • SHA512

    988e330b7ffad344211ad85aaf5e7a42efa9f922aa72ad7fa7ba15aace22c914d0e2af5557edfffbdc9d0fd68c180249542c99ba81f0883f8471e070b1d9f923

  • SSDEEP

    6144:G1ZQ7rqS/SWrdP8m/0B3GETtrLNCE9ZvKHy/o9:IZDWrdP8sET5L1/A6o9

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_1169ad7e7d5ef548ba83516573609de08e98c4b44ec21b9a85f38ff608ef2ba6.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1169ad7e7d5ef548ba83516573609de08e98c4b44ec21b9a85f38ff608ef2ba6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fezrftk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1356
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zlgdkjjx.exe" C:\Windows\SysWOW64\fezrftk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fezrftk binPath= "C:\Windows\SysWOW64\fezrftk\zlgdkjjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1169ad7e7d5ef548ba83516573609de08e98c4b44ec21b9a85f38ff608ef2ba6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fezrftk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fezrftk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3520
    • 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:2916
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4404 -s 1040
      2⤵
      • Program crash
      PID:112
  • C:\Windows\SysWOW64\fezrftk\zlgdkjjx.exe
    C:\Windows\SysWOW64\fezrftk\zlgdkjjx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1169ad7e7d5ef548ba83516573609de08e98c4b44ec21b9a85f38ff608ef2ba6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2700
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3264
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2700 -s 508
      2⤵
      • Program crash
      PID:2988
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4404 -ip 4404
    1⤵
      PID:4772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 2700 -ip 2700
      1⤵
        PID:3428

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        3717b15bc5672c2e5485b49894640194

        SHA1

        8c4537f2703f2ddd90c9ba5fa21f2e7c6ae60f00

        SHA256

        9ad4e1f50c6332c4f2f9dbeafd06ad1647986612cf23b889622a9f568b7f14b6

        SHA512

        0eaba02b7b94d26afb34e79a7e37757240513f999de2dcc2ad8d57d011ecfd0e0bd1ec3a71278995546bf567f5f34d15e3b886c1e81e8cb14f2571f4b91230c6

      • memory/2700-13-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2700-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2700-11-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2700-19-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/3264-14-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/3264-16-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/3264-17-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4404-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4404-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/4404-9-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        1024KB