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
    11-01-2025 03:35

General

  • Target

    JaffaCakes118_f5e82122b54d4d41824619e647ac946d.exe

  • Size

    14.2MB

  • MD5

    f5e82122b54d4d41824619e647ac946d

  • SHA1

    2e5246a6a5053243e05fb0ec57c53c5f5af4e139

  • SHA256

    de6664189711f6d55dd4337ae37167a3feaef197a2a5149d17da8a0a8335f584

  • SHA512

    59606a4b3babd11a4b927f0a0e470cdb42d2b784be7f75c8a3f9f23376972aa1b98c47ff2cf7c5c30216298e59ab9fcf9681f259bb39fa931fa9c87cf0cade30

  • SSDEEP

    98304:3RoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooY:

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_f5e82122b54d4d41824619e647ac946d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5e82122b54d4d41824619e647ac946d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ocewalnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jcqcuoqd.exe" C:\Windows\SysWOW64\ocewalnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ocewalnh binPath= "C:\Windows\SysWOW64\ocewalnh\jcqcuoqd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5e82122b54d4d41824619e647ac946d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ocewalnh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ocewalnh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5068
    • 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:1192
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2384 -s 668
      2⤵
      • Program crash
      PID:4000
  • C:\Windows\SysWOW64\ocewalnh\jcqcuoqd.exe
    C:\Windows\SysWOW64\ocewalnh\jcqcuoqd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f5e82122b54d4d41824619e647ac946d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2360
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:316
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2360 -s 512
      2⤵
      • Program crash
      PID:3260
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2384 -ip 2384
    1⤵
      PID:652
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2360 -ip 2360
      1⤵
        PID:2620

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        d2371ac5490d3b3c3c767428f2538abf

        SHA1

        2368a8df20add9e923306b3a378898ae31c881fa

        SHA256

        c9b2910321304d461ae789830d3322830d28d7cc9a4fbeec3b70d14a64e5da21

        SHA512

        88d08dea4f5a7a6e29098aee3ec63a748f2700ad97200539329577efaceafe39c10b58144060aa9bb23ec75e43b904723e5f45713bc685a26f9a7c6b8e28d16d

      • memory/316-14-0x0000000000390000-0x00000000003A5000-memory.dmp

        Filesize

        84KB

      • memory/316-16-0x0000000000390000-0x00000000003A5000-memory.dmp

        Filesize

        84KB

      • memory/316-17-0x0000000000390000-0x00000000003A5000-memory.dmp

        Filesize

        84KB

      • memory/2360-11-0x0000000000400000-0x00000000004AC000-memory.dmp

        Filesize

        688KB

      • memory/2360-13-0x0000000000400000-0x00000000004AC000-memory.dmp

        Filesize

        688KB

      • memory/2360-12-0x0000000000400000-0x00000000004AC000-memory.dmp

        Filesize

        688KB

      • memory/2360-18-0x0000000000400000-0x00000000004AC000-memory.dmp

        Filesize

        688KB

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

        Filesize

        84KB

      • memory/2384-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2384-8-0x0000000000400000-0x00000000004AC000-memory.dmp

        Filesize

        688KB

      • memory/2384-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2384-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2384-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

        Filesize

        1024KB