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
    22-12-2024 05:10

General

  • Target

    JaffaCakes118_fda9c52e5f041eb6319b4cdbb40394f2bd79fa874c08b64dd7a263ec4e2787cb.exe

  • Size

    187KB

  • MD5

    d4e72c3cedb1d55b2e305c35bab67f9b

  • SHA1

    fd954e6d944b39bf3696c3fc358ea97c76165e47

  • SHA256

    fda9c52e5f041eb6319b4cdbb40394f2bd79fa874c08b64dd7a263ec4e2787cb

  • SHA512

    86b31e0e3930a427b549951476ae010b2d9632ff2c651798f50c6964a432741189b88a424d53e84ac8ebd0cd26219935ad61c48f5245ba0871be0fdf5205ff1f

  • SSDEEP

    3072:F7IjKaF6/lWkDI90YEM/ToigZzx0cBapZa9uD6Vdyhkp:4KaF6/lWkDtLNi20cBawVf

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_fda9c52e5f041eb6319b4cdbb40394f2bd79fa874c08b64dd7a263ec4e2787cb.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fda9c52e5f041eb6319b4cdbb40394f2bd79fa874c08b64dd7a263ec4e2787cb.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xlqhkmul\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hrwjqlkz.exe" C:\Windows\SysWOW64\xlqhkmul\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xlqhkmul binPath= "C:\Windows\SysWOW64\xlqhkmul\hrwjqlkz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fda9c52e5f041eb6319b4cdbb40394f2bd79fa874c08b64dd7a263ec4e2787cb.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xlqhkmul "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xlqhkmul
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3748
    • 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:2356
  • C:\Windows\SysWOW64\xlqhkmul\hrwjqlkz.exe
    C:\Windows\SysWOW64\xlqhkmul\hrwjqlkz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fda9c52e5f041eb6319b4cdbb40394f2bd79fa874c08b64dd7a263ec4e2787cb.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3020
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3592

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    87d5f3617902224298140178768c3ef5

    SHA1

    d73ef83333dd5b065bf820c8954d8bd659b2e832

    SHA256

    933970dd04414f75dd42b98a466fc81ed8dc1f2c70be2c663a812a50f43eb666

    SHA512

    4b91d70b4ad745d0d286212d77a883d8c582525f0e72826bd47ef70e498231f822597d5b577fd596d1d8d253f2aa00e3e798f323a2861002d7f0e169bed0f3ad

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

    Filesize

    224KB

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

    Filesize

    224KB

  • memory/3020-15-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

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

    Filesize

    224KB

  • memory/3592-13-0x0000000000D30000-0x0000000000D45000-memory.dmp

    Filesize

    84KB

  • memory/3592-17-0x0000000000D30000-0x0000000000D45000-memory.dmp

    Filesize

    84KB

  • memory/3592-18-0x0000000000D30000-0x0000000000D45000-memory.dmp

    Filesize

    84KB

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

    Filesize

    224KB

  • memory/3964-7-0x00000000005D0000-0x00000000005DD000-memory.dmp

    Filesize

    52KB

  • memory/3964-8-0x0000000000700000-0x0000000000713000-memory.dmp

    Filesize

    76KB

  • memory/3964-0-0x00000000005D0000-0x00000000005DD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3964-1-0x0000000000700000-0x0000000000713000-memory.dmp

    Filesize

    76KB