Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 11:44

General

  • Target

    JaffaCakes118_3cea5df8eaee36dc9a9b0fc5eaf6b36bc98c4fa4df58f0e4b4f12417e57fa448.exe

  • Size

    246KB

  • MD5

    ece784cccb962922fc1854433038c4cf

  • SHA1

    3484e8fa539bac64f269584cc0f368cc7af89ee2

  • SHA256

    3cea5df8eaee36dc9a9b0fc5eaf6b36bc98c4fa4df58f0e4b4f12417e57fa448

  • SHA512

    a594719d1ff40e4186f32a5a3d5955fe565bda2fbac6970bbcf4221939bf76ee064a4f36acf2fb1ff848028f2498b57f07cc0b691a797d7789eccf6e47a7e682

  • SSDEEP

    6144:m2xmEmR0kLmK7vk1puzbgwu6QigabwVf:m0mEmR0ZKz8unn5

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_3cea5df8eaee36dc9a9b0fc5eaf6b36bc98c4fa4df58f0e4b4f12417e57fa448.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3cea5df8eaee36dc9a9b0fc5eaf6b36bc98c4fa4df58f0e4b4f12417e57fa448.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cfudxtht\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\urchfpmj.exe" C:\Windows\SysWOW64\cfudxtht\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cfudxtht binPath= "C:\Windows\SysWOW64\cfudxtht\urchfpmj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3cea5df8eaee36dc9a9b0fc5eaf6b36bc98c4fa4df58f0e4b4f12417e57fa448.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cfudxtht "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cfudxtht
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:624
    • 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:3288
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2144 -s 1036
      2⤵
      • Program crash
      PID:4248
  • C:\Windows\SysWOW64\cfudxtht\urchfpmj.exe
    C:\Windows\SysWOW64\cfudxtht\urchfpmj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3cea5df8eaee36dc9a9b0fc5eaf6b36bc98c4fa4df58f0e4b4f12417e57fa448.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:628
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 628 -s 512
      2⤵
      • Program crash
      PID:2444
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 2144 -ip 2144
    1⤵
      PID:2800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 628 -ip 628
      1⤵
        PID:4616

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        6ae64fbedb1b41e5c94efac7dd355163

        SHA1

        1c7f61f43867e39db4feaacf73e22562cf3fb3fd

        SHA256

        3ad9abce773bf7fcfd45cfd021d755e05764012e2514b06b6d76b296cf7a5bf1

        SHA512

        ab1eeec9715e9d172aa034a5253d15b7b999e67d2ce98b6bcbaf4649869a8fe1e6882903d7b5ee81865a1612c5f455a69b9f53998223ede896020568d5ccc410

      • memory/628-7-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/628-8-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/628-18-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/628-6-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/2144-14-0x0000000000570000-0x000000000057D000-memory.dmp

        Filesize

        52KB

      • memory/2144-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2144-15-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/2144-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2144-0-0x0000000000570000-0x000000000057D000-memory.dmp

        Filesize

        52KB

      • memory/2144-13-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/2144-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/2168-9-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/2168-12-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/2168-19-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/2168-20-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/2168-21-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB