Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-07-2024 23:58

General

  • Target

    555a84e13bf2fc3192ed64aa2fe51316_JaffaCakes118.exe

  • Size

    11.4MB

  • MD5

    555a84e13bf2fc3192ed64aa2fe51316

  • SHA1

    d3edbb5d9ab41f575430e7f6e6bad604bce847d0

  • SHA256

    0f9ab2429ef2e90dc55a1b537175c2e5c4be200de90cec04e5c66c68513b3d5a

  • SHA512

    514ab8a31137bc584a9183d750db08e69befcf9aac2ac74c72444e2650d3eb3618f127c24039a6a40d16c4af94ee1052974736481ecdd0df75d92be3d115b1e3

  • SSDEEP

    6144:pxU32BT0jz22222222222222222222222222222222222222222222222222222/:bUmK

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
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\555a84e13bf2fc3192ed64aa2fe51316_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\555a84e13bf2fc3192ed64aa2fe51316_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gibrhive\
      2⤵
        PID:4400
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kavhbnrj.exe" C:\Windows\SysWOW64\gibrhive\
        2⤵
          PID:4952
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gibrhive binPath= "C:\Windows\SysWOW64\gibrhive\kavhbnrj.exe /d\"C:\Users\Admin\AppData\Local\Temp\555a84e13bf2fc3192ed64aa2fe51316_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4588
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gibrhive "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gibrhive
          2⤵
          • Launches sc.exe
          PID:2088
        • 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
          PID:4240
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 580 -s 1036
          2⤵
          • Program crash
          PID:448
      • C:\Windows\SysWOW64\gibrhive\kavhbnrj.exe
        C:\Windows\SysWOW64\gibrhive\kavhbnrj.exe /d"C:\Users\Admin\AppData\Local\Temp\555a84e13bf2fc3192ed64aa2fe51316_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5044
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2728
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5044 -s 532
          2⤵
          • Program crash
          PID:1612
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 580 -ip 580
        1⤵
          PID:1748
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 5044 -ip 5044
          1⤵
            PID:1060

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\kavhbnrj.exe
            Filesize

            14.3MB

            MD5

            15ef8fd29255a5fde43cc9a520164a50

            SHA1

            e82abcd0645188cfddefa72a10d4f24c3722232f

            SHA256

            f8b0ea691b301fde2263fb97bfb0a3ae681434a499f2b9c2c0dc024dd4a0ef41

            SHA512

            d2971da27e6b180cd3e6c3d858294b752ca80433487eda4494f1d5356497626ae3cd2f6e2dff4669161d44f3457274875856df8e0c6cb1e2a8f05261e11a7915

          • memory/580-9-0x0000000002220000-0x0000000002233000-memory.dmp
            Filesize

            76KB

          • memory/580-4-0x0000000000400000-0x0000000000415000-memory.dmp
            Filesize

            84KB

          • memory/580-1-0x00000000005E0000-0x00000000006E0000-memory.dmp
            Filesize

            1024KB

          • memory/580-8-0x0000000000400000-0x00000000004B0000-memory.dmp
            Filesize

            704KB

          • memory/580-10-0x0000000000400000-0x0000000000415000-memory.dmp
            Filesize

            84KB

          • memory/580-2-0x0000000002220000-0x0000000002233000-memory.dmp
            Filesize

            76KB

          • memory/2728-14-0x0000000001200000-0x0000000001215000-memory.dmp
            Filesize

            84KB

          • memory/2728-16-0x0000000001200000-0x0000000001215000-memory.dmp
            Filesize

            84KB

          • memory/2728-17-0x0000000001200000-0x0000000001215000-memory.dmp
            Filesize

            84KB

          • memory/5044-12-0x0000000000400000-0x00000000004B0000-memory.dmp
            Filesize

            704KB

          • memory/5044-11-0x0000000000400000-0x00000000004B0000-memory.dmp
            Filesize

            704KB

          • memory/5044-13-0x0000000000400000-0x00000000004B0000-memory.dmp
            Filesize

            704KB

          • memory/5044-18-0x0000000000400000-0x00000000004B0000-memory.dmp
            Filesize

            704KB