Analysis

  • max time kernel
    150s
  • 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
    25-12-2024 12:25

General

  • Target

    JaffaCakes118_0ad8dc80eef06a5cedcbcec0871e8aa976fd870b814fc80c1534c6e9fd378b95.exe

  • Size

    319KB

  • MD5

    3fec5b2cd8ad9cf5e402e5917d0a2d28

  • SHA1

    e7bb71e2a451c80dea5d8817ce2baf57d431d967

  • SHA256

    0ad8dc80eef06a5cedcbcec0871e8aa976fd870b814fc80c1534c6e9fd378b95

  • SHA512

    6983581c36a46842292a90ab6499beb484d6c0933ca0f87f68bc3859a2f47b6210bbbf69365eafbf2cc74430fa656957aeb977838b5461a2376c53df7f564cb9

  • SSDEEP

    6144:DMh8SvMvFv8Ibbn71octhHlOZU5PtV7WexP2:wh8SvMRbLpocthHlF5Pj7z2

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_0ad8dc80eef06a5cedcbcec0871e8aa976fd870b814fc80c1534c6e9fd378b95.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ad8dc80eef06a5cedcbcec0871e8aa976fd870b814fc80c1534c6e9fd378b95.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uxxcdugi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kljtwpuf.exe" C:\Windows\SysWOW64\uxxcdugi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uxxcdugi binPath= "C:\Windows\SysWOW64\uxxcdugi\kljtwpuf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ad8dc80eef06a5cedcbcec0871e8aa976fd870b814fc80c1534c6e9fd378b95.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uxxcdugi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uxxcdugi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • 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:5108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4052 -s 1036
      2⤵
      • Program crash
      PID:1508
  • C:\Windows\SysWOW64\uxxcdugi\kljtwpuf.exe
    C:\Windows\SysWOW64\uxxcdugi\kljtwpuf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ad8dc80eef06a5cedcbcec0871e8aa976fd870b814fc80c1534c6e9fd378b95.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4568
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3460
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4568 -s 516
      2⤵
      • Program crash
      PID:208
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4052 -ip 4052
    1⤵
      PID:4436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4568 -ip 4568
      1⤵
        PID:1436

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        f4fc861185d2d774b6a43a136fe871cc

        SHA1

        f36870373d82af806c62c7ede1f617cece68c6a4

        SHA256

        be094aaae4b870a34ca2e7c4dbb7fd9e5a6f1844f95cf1be8466af0a7dd060cb

        SHA512

        53d581176c7a31c5bd7f2320810aa15f82605ed2e77b620db4e0309126e044318d392e164d92798400f734199fb7ef5791a27c990eb38c710d2ee1fe2ecb0aec

      • memory/3460-11-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/3460-13-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/3460-14-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/4052-1-0x0000000002BD0000-0x0000000002CD0000-memory.dmp

        Filesize

        1024KB

      • memory/4052-2-0x0000000004890000-0x00000000048A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4052-8-0x0000000004890000-0x00000000048A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4052-7-0x0000000000400000-0x0000000002B48000-memory.dmp

        Filesize

        39.3MB

      • memory/4568-15-0x0000000000400000-0x0000000002B48000-memory.dmp

        Filesize

        39.3MB