Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 06:18

General

  • Target

    JaffaCakes118_f5e8eb630af68376b3852ca12581990d0786053b607fc457f3a95d2b8a2d9ee6.exe

  • Size

    328KB

  • MD5

    72be89fc9c2bd735f9b40d82ac5d3bb2

  • SHA1

    c65548b1d08b08a4d8c1715bb409d7aa22e46ec9

  • SHA256

    f5e8eb630af68376b3852ca12581990d0786053b607fc457f3a95d2b8a2d9ee6

  • SHA512

    e89142b74bcde35d67625d634b51bb1e89abfbb206c648d880909b8ed1fb0c2fe077e2bc716510dc7b4c66023bcc18d01a815db16af7ca41d772d8b6bb54d936

  • SSDEEP

    6144:ec1WtXis27paIC6bNAJIZMVfwozbBbnS32KtD+gxGPY7EL7R:enZkMDF1bnS32KtNxUga

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_f5e8eb630af68376b3852ca12581990d0786053b607fc457f3a95d2b8a2d9ee6.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5e8eb630af68376b3852ca12581990d0786053b607fc457f3a95d2b8a2d9ee6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cwhjtcsz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nfxedufm.exe" C:\Windows\SysWOW64\cwhjtcsz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cwhjtcsz binPath= "C:\Windows\SysWOW64\cwhjtcsz\nfxedufm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5e8eb630af68376b3852ca12581990d0786053b607fc457f3a95d2b8a2d9ee6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cwhjtcsz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cwhjtcsz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3644
    • 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:2376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4024 -s 1164
      2⤵
      • Program crash
      PID:3220
  • C:\Windows\SysWOW64\cwhjtcsz\nfxedufm.exe
    C:\Windows\SysWOW64\cwhjtcsz\nfxedufm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5e8eb630af68376b3852ca12581990d0786053b607fc457f3a95d2b8a2d9ee6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5020
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5020 -s 512
      2⤵
      • Program crash
      PID:3136
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4024 -ip 4024
    1⤵
      PID:5096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 5020 -ip 5020
      1⤵
        PID:2536

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        06b72e6f47b04fe8d1a94ce43412600f

        SHA1

        72c54479fd61dc22975a2fd2a5e45b04390cf063

        SHA256

        5d74721d20da6acd3e6f43d66917353f813f46f0fc79a3fbafe1c22171b5678c

        SHA512

        003d7314891cafe6769a8f1c54cdde6b94180a37a11d009eb7ec35df91b26e64dfc541e0668c6f7379f420cacb15e3b6e7ff67de9c03b39c922b818fd44c463f

      • memory/2028-11-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2028-13-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2028-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/4024-1-0x0000000002810000-0x0000000002910000-memory.dmp

        Filesize

        1024KB

      • memory/4024-2-0x00000000044C0000-0x00000000044D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4024-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4024-8-0x00000000044C0000-0x00000000044D3000-memory.dmp

        Filesize

        76KB

      • memory/4024-7-0x0000000000400000-0x0000000002779000-memory.dmp

        Filesize

        35.5MB

      • memory/5020-15-0x0000000000400000-0x0000000002779000-memory.dmp

        Filesize

        35.5MB