Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 22:19

General

  • Target

    JaffaCakes118_3a9ef0bc05952c74715b6585f97c41f6.exe

  • Size

    281KB

  • MD5

    3a9ef0bc05952c74715b6585f97c41f6

  • SHA1

    877fa1694843c5bf3f5124e8b17ead26bc211c13

  • SHA256

    97d23550ec191ff048c89ae23e9ef5ae009ff65d79e2f286029ac90331bc90ba

  • SHA512

    2d67f3d29359ff2cdd058f6526e22604cf69f7126f09a0006fa8a34a90db0ac6d895cd78b5e570789d79584101add9e5ac732473d7e4cca5a9b8fee2262c2034

  • SSDEEP

    6144:YTCpFumdDpw7jmzwdJ+nY6eYqX7tNfVXVHQLIiu8cfo0/pW:YTkFugpn2UxwZGEX8cA0/M

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_3a9ef0bc05952c74715b6585f97c41f6.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3a9ef0bc05952c74715b6585f97c41f6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ggmuwxlt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bupbfuf.exe" C:\Windows\SysWOW64\ggmuwxlt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ggmuwxlt binPath= "C:\Windows\SysWOW64\ggmuwxlt\bupbfuf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3a9ef0bc05952c74715b6585f97c41f6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ggmuwxlt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ggmuwxlt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3556
    • 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:3456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1088 -s 1040
      2⤵
      • Program crash
      PID:100
  • C:\Windows\SysWOW64\ggmuwxlt\bupbfuf.exe
    C:\Windows\SysWOW64\ggmuwxlt\bupbfuf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3a9ef0bc05952c74715b6585f97c41f6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3916
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3916 -s 564
      2⤵
      • Program crash
      PID:228
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1088 -ip 1088
    1⤵
      PID:3992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 3916 -ip 3916
      1⤵
        PID:1868

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        640659fe0f97f2755bedbf6a29b085bd

        SHA1

        b96c4acdc97410b6b4502a858fe6f2e548d77b56

        SHA256

        1b3785e00667e23e40c917d4cb9b174dd74b6848483adee4e6f321e98e708a85

        SHA512

        e79803e5888e986542fa38812a20f02c066a6ac9fdd39a8d2637aec157924150e3cd22599f95ea0ba3dc80a9b55d474c5d392126c625781260f35ecc9a163e5b

      • memory/1088-1-0x00000000030F0000-0x00000000031F0000-memory.dmp

        Filesize

        1024KB

      • memory/1088-2-0x0000000003070000-0x0000000003083000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1088-9-0x0000000003070000-0x0000000003083000-memory.dmp

        Filesize

        76KB

      • memory/1088-8-0x0000000000400000-0x0000000002F10000-memory.dmp

        Filesize

        43.1MB

      • memory/3916-15-0x0000000000400000-0x0000000002F10000-memory.dmp

        Filesize

        43.1MB

      • memory/3944-11-0x0000000000320000-0x0000000000335000-memory.dmp

        Filesize

        84KB

      • memory/3944-13-0x0000000000320000-0x0000000000335000-memory.dmp

        Filesize

        84KB

      • memory/3944-14-0x0000000000320000-0x0000000000335000-memory.dmp

        Filesize

        84KB