Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 16:20

General

  • Target

    JaffaCakes118_7ff382e6f4a20363a66f99a385dfbb9782b8cd43eaf17cc23b50335d8c543f5f.exe

  • Size

    286KB

  • MD5

    96b93fb34c985b30f50a7735db22d92b

  • SHA1

    eb448242fffcf293b089256666eee9e3dd0ceeb0

  • SHA256

    7ff382e6f4a20363a66f99a385dfbb9782b8cd43eaf17cc23b50335d8c543f5f

  • SHA512

    07765d1431359a6537fb9f706678eddb0009b693fa6139034e9f5c7b14a32ac0ddedd3c5598287ade40d866a60487f73f65f6aba0ddccdd18757f89096be51bb

  • SSDEEP

    3072:YB0lRYwSYUx98sfyN79u9nlGlkD5WPOrcPI1Ze1+eZORI88EuSYG5RHZFS4Ez:YB6fSYUxEN7lkkPQcPI1NK+buSYG5RG

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.

  • 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_7ff382e6f4a20363a66f99a385dfbb9782b8cd43eaf17cc23b50335d8c543f5f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7ff382e6f4a20363a66f99a385dfbb9782b8cd43eaf17cc23b50335d8c543f5f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jdbkegmh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rykxgtuo.exe" C:\Windows\SysWOW64\jdbkegmh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1152
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jdbkegmh binPath= "C:\Windows\SysWOW64\jdbkegmh\rykxgtuo.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7ff382e6f4a20363a66f99a385dfbb9782b8cd43eaf17cc23b50335d8c543f5f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jdbkegmh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jdbkegmh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4820
    • 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:1284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1716 -s 1036
      2⤵
      • Program crash
      PID:4484
  • C:\Windows\SysWOW64\jdbkegmh\rykxgtuo.exe
    C:\Windows\SysWOW64\jdbkegmh\rykxgtuo.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7ff382e6f4a20363a66f99a385dfbb9782b8cd43eaf17cc23b50335d8c543f5f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:548
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 548 -s 512
      2⤵
      • Program crash
      PID:112
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1716 -ip 1716
    1⤵
      PID:2424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 548 -ip 548
      1⤵
        PID:4468

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        03ef3bf901541e33f5977114010838e0

        SHA1

        ea323811e48368e70e29c4029c4cd5ee40588d52

        SHA256

        de50d4775a907771f8639c9d6d2a0b61bcec9e238fc60f1efa7c9ac86d882725

        SHA512

        07a1b920a315a316803c929e0fe4df889a4272c6a25a2ebb79812b3c5b46749724c8ec34242c833ffc2e49e7bd51d3de8ed3da38e6111bfeec3783b1a0958446

      • memory/548-13-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/548-12-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/548-11-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/548-19-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

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

        Filesize

        84KB

      • memory/1716-2-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB

      • memory/1716-8-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

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

        Filesize

        84KB

      • memory/1716-9-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB

      • memory/1716-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB

      • memory/2864-14-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

        Filesize

        84KB

      • memory/2864-16-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

        Filesize

        84KB

      • memory/2864-17-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

        Filesize

        84KB