Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/04/2024, 10:19

General

  • Target
    f0d314f0095993e58ef3450fc29f91a8_JaffaCakes118.exe
  • Size 14.2MB
  • Sample240415-mcjb7acb34
  • SHA256 27d3458a7ed6711281cd23b81d30ca9989a794d6c43dc1e9e7b1a65c1519857e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f0d314f0095993e58ef3450fc29f91a8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f0d314f0095993e58ef3450fc29f91a8_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1976
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bqhjbkjr\
      2⤵
        PID:3868
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qqjwifeg.exe" C:\Windows\SysWOW64\bqhjbkjr\
        2⤵
          PID:3308
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bqhjbkjr binPath= "C:\Windows\SysWOW64\bqhjbkjr\qqjwifeg.exe /d\"C:\Users\Admin\AppData\Local\Temp\f0d314f0095993e58ef3450fc29f91a8_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:928
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bqhjbkjr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4608
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bqhjbkjr
          2⤵
          • Launches sc.exe
          PID:1732
        • 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
          PID:2164
      • C:\Windows\SysWOW64\bqhjbkjr\qqjwifeg.exe
        C:\Windows\SysWOW64\bqhjbkjr\qqjwifeg.exe /d"C:\Users\Admin\AppData\Local\Temp\f0d314f0095993e58ef3450fc29f91a8_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2668
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1828

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            qqjwifeg.exe

            • Path C:\Users\Admin\AppData\Local\Temp\qqjwifeg.exe
            • Size 14.6MB
            • SHA256 5681aa490928cf58bc05630397d2b26abc72a0011b8d407798a0c5c5611afb77
            • MD5 SHA1 SHA512 SSDEEP

            memory/1828-16-0x00000000006F0000-0x0000000000705000-memory.dmp

            memory/1828-18-0x00000000006F0000-0x0000000000705000-memory.dmp

            memory/1828-12-0x00000000006F0000-0x0000000000705000-memory.dmp

            memory/1828-17-0x00000000006F0000-0x0000000000705000-memory.dmp

            memory/1976-2-0x0000000003400000-0x0000000003413000-memory.dmp

            memory/1976-4-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/1976-6-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/1976-8-0x0000000003400000-0x0000000003413000-memory.dmp

            memory/1976-1-0x00000000032D0000-0x00000000033D0000-memory.dmp

            memory/2668-10-0x00000000032B0000-0x00000000033B0000-memory.dmp

            memory/2668-13-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/2668-11-0x0000000000400000-0x0000000003250000-memory.dmp