Analysis

  • max time kernel
    149s
  • 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
    23-12-2024 15:47

General

  • Target

    JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe

  • Size

    327KB

  • MD5

    31bdff595ea41c72b706d487bbe4631b

  • SHA1

    f362b7edad57b5d18afba3b0a3917aad800e4985

  • SHA256

    42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777

  • SHA512

    ae6c7a9cd5180076e72501cc0147df2e03e8016027d3f883617399159345696ecf9782721aab4f91541f0be9b25ce9b64f63a5dc28a6ede940020c73098154f7

  • SSDEEP

    6144:O+IZcqfRAQbNAJIZMVfwoFFTnDLu2EfyrprpuxcmqA:OTZcqfqJBnDLu2E+pV0

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_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4468
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kxfgoyr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wfowkckt.exe" C:\Windows\SysWOW64\kxfgoyr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kxfgoyr binPath= "C:\Windows\SysWOW64\kxfgoyr\wfowkckt.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kxfgoyr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kxfgoyr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5108
    • 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:3308
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4468 -s 640
      2⤵
      • Program crash
      PID:2552
  • C:\Windows\SysWOW64\kxfgoyr\wfowkckt.exe
    C:\Windows\SysWOW64\kxfgoyr\wfowkckt.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c84b049e03a1bad9a8267d9843dc42c8f83be2128725250b56c0ee5d9e5777.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1848
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1848 -s 532
      2⤵
      • Program crash
      PID:2344
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4468 -ip 4468
    1⤵
      PID:3640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1848 -ip 1848
      1⤵
        PID:4788

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        ce073745d4095a7f09c74d6b4da920a5

        SHA1

        a3a8fb9373cc0a03c428ccd03c41d1b41d15e88a

        SHA256

        482f64c4cde4942cba9bd709dfa6111f6325cbd3f7482be4cf055975ce875d71

        SHA512

        ab3373a58030105de55b3ede138cd03b52fad55419d21963dc96a0d7503c68c794d1410990519820495fc92e2bee7809ab2d573640be1b2bf737a7b34c4de0c5

      • memory/1848-15-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB

      • memory/2664-13-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/2664-11-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/2664-14-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/4468-1-0x00000000024E0000-0x00000000025E0000-memory.dmp

        Filesize

        1024KB

      • memory/4468-2-0x00000000040F0000-0x0000000004103000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4468-8-0x00000000040F0000-0x0000000004103000-memory.dmp

        Filesize

        76KB

      • memory/4468-7-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB