Analysis

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

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

General

  • Target

    JaffaCakes118_e58409630e95d8ac57f087d7aff79d8ebe7a9b47e0994d151b43e0f42648e955.exe

  • Size

    248KB

  • MD5

    05171687b09ff86dfffe92f4fdd637ef

  • SHA1

    171ae4be69a4c47f11355fffb437eafbfca9f954

  • SHA256

    e58409630e95d8ac57f087d7aff79d8ebe7a9b47e0994d151b43e0f42648e955

  • SHA512

    aec67b38240fb1fe62a9f25ebf385f19ea5246b5822375f6a31a465a6dd6e047a255ff52950723ee650dcd52974b6076c1c4eceb967dcbdc6c62ca770b7b635a

  • SSDEEP

    6144:jyKwDO/FcU545JdF6uzbgwu6QigabwVf:2KwDeFHmdF6unn5

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_e58409630e95d8ac57f087d7aff79d8ebe7a9b47e0994d151b43e0f42648e955.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e58409630e95d8ac57f087d7aff79d8ebe7a9b47e0994d151b43e0f42648e955.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\auypsslw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fymyqkmz.exe" C:\Windows\SysWOW64\auypsslw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create auypsslw binPath= "C:\Windows\SysWOW64\auypsslw\fymyqkmz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e58409630e95d8ac57f087d7aff79d8ebe7a9b47e0994d151b43e0f42648e955.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description auypsslw "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 auypsslw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1848
    • 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:1168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1240 -s 1112
      2⤵
      • Program crash
      PID:3780
  • C:\Windows\SysWOW64\auypsslw\fymyqkmz.exe
    C:\Windows\SysWOW64\auypsslw\fymyqkmz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e58409630e95d8ac57f087d7aff79d8ebe7a9b47e0994d151b43e0f42648e955.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2404
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2404 -s 512
      2⤵
      • Program crash
      PID:1760
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1240 -ip 1240
    1⤵
      PID:4708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2404 -ip 2404
      1⤵
        PID:4544

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        847be262eb5bed7b4857dc0e5ed32c6b

        SHA1

        c789e075b708f15102a4a2e59a34e3fe2f285543

        SHA256

        47d55d4457a5129e92c354c8150c36bce8fe68b9e9168a540cdeee2c64c0871b

        SHA512

        41559ecae906deb1ffaa990d1c90919417454f397ae40463edaf24949c20b94b293bb46e5d7b611f20c2cdf8d69626aceaa16820b7759192faabc7336238f7d5

      • memory/1240-7-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/1240-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1240-8-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/1240-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/1240-6-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2404-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2404-10-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2404-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2404-18-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/3356-13-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/3356-15-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/3356-16-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB