Analysis

  • max time kernel
    150s
  • max time network
    152s
  • 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 14:00

General

  • Target

    JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe

  • Size

    188KB

  • MD5

    b902bbf8979f1a374cf1bac4e0be9767

  • SHA1

    01f9cdfc71e798acdab741c4b702abdbc4561348

  • SHA256

    b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00

  • SHA512

    0edd6331d158f267ae081e075b3256c600655c9b0afd6c669baa1a8b72a5b51fc54567ca4911c6fb60c715588717590fe8d6c0a0e311e15b4bdf1184c3f68784

  • SSDEEP

    3072:x17s49QB1NQWpUsMYvHaa9wLMZHHtpZa9uD6Vdyhkf:x59QB1NQWp1bH2MBtwVf

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.

  • 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_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dgkybgbs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4860
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xztieawn.exe" C:\Windows\SysWOW64\dgkybgbs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dgkybgbs binPath= "C:\Windows\SysWOW64\dgkybgbs\xztieawn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dgkybgbs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dgkybgbs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4168
    • 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:4856
  • C:\Windows\SysWOW64\dgkybgbs\xztieawn.exe
    C:\Windows\SysWOW64\dgkybgbs\xztieawn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2436

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.0MB

    MD5

    46d4557bfa2dffd8dab703cd87a9a29a

    SHA1

    d33cb2680336d25d6d42552883e8dabcaa376a80

    SHA256

    9afcaf333d68e875d0d3e792095b40c8352efaa93c280b5e71270caa85ef7f53

    SHA512

    86b593e4c8481a2d20651284c48097140221dca344171615be7acc3fc029898e1c4244a42b933df930eca51bee958c0e0b209d00bededdd2a9cd39b318c5f0f5

  • memory/2436-15-0x0000000000550000-0x0000000000565000-memory.dmp

    Filesize

    84KB

  • memory/2436-18-0x0000000000550000-0x0000000000565000-memory.dmp

    Filesize

    84KB

  • memory/2436-13-0x0000000000550000-0x0000000000565000-memory.dmp

    Filesize

    84KB

  • memory/2500-7-0x0000000002180000-0x000000000218D000-memory.dmp

    Filesize

    52KB

  • memory/2500-8-0x0000000002190000-0x00000000021A3000-memory.dmp

    Filesize

    76KB

  • memory/2500-0-0x0000000002180000-0x000000000218D000-memory.dmp

    Filesize

    52KB

  • memory/2500-6-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2500-1-0x0000000002190000-0x00000000021A3000-memory.dmp

    Filesize

    76KB

  • memory/5040-10-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/5040-11-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/5040-12-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/5040-17-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB