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 21:47

General

  • Target

    JaffaCakes118_4c681413678d6527aaf91c2076ad2751ed04844363d496688de68c14529d184a.exe

  • Size

    285KB

  • MD5

    eb0b11f7105206a3e7b2ad98b7a9fbf4

  • SHA1

    bb314c002e1485eae7a44af5f6f0508161be8f8b

  • SHA256

    4c681413678d6527aaf91c2076ad2751ed04844363d496688de68c14529d184a

  • SHA512

    dd7af74ca4383110df6c67598fa3294579f42cc8fe4e9ff85d357d632bc23bdff86a40c18ef6e3706fe1a090e08d763f325afbf92dff16ce3888b68c48bdd951

  • SSDEEP

    6144:C2FMBDEA1/ABFbOM56KUCf/w8lv/IZu5F:C2FMBDB1/YbOcUm/5IZur

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_4c681413678d6527aaf91c2076ad2751ed04844363d496688de68c14529d184a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c681413678d6527aaf91c2076ad2751ed04844363d496688de68c14529d184a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zywmpeew\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwrovuui.exe" C:\Windows\SysWOW64\zywmpeew\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1356
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zywmpeew binPath= "C:\Windows\SysWOW64\zywmpeew\kwrovuui.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c681413678d6527aaf91c2076ad2751ed04844363d496688de68c14529d184a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zywmpeew "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zywmpeew
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:676
    • 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:1616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3316 -s 652
      2⤵
      • Program crash
      PID:2148
  • C:\Windows\SysWOW64\zywmpeew\kwrovuui.exe
    C:\Windows\SysWOW64\zywmpeew\kwrovuui.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c681413678d6527aaf91c2076ad2751ed04844363d496688de68c14529d184a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2968
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2044
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2968 -s 512
      2⤵
      • Program crash
      PID:1364
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3316 -ip 3316
    1⤵
      PID:4088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2968 -ip 2968
      1⤵
        PID:812

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        439725bec7955fdc705d879ce0f6d9b9

        SHA1

        b1b454f32c0a51f7c8ce9e5989d00886f075d4f9

        SHA256

        8b367f84b5857ded0da10aef62a556f881c5ce0dc75d85d9923c69d421a9a81a

        SHA512

        9ec5c6edc1c777c900aebc155d7eaf18aed3f2db9820503208131199936b400d7de0aad4682d271b146b84c22c9bcce2dd795243404ee7976e92f48188364244

      • memory/2044-11-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2044-13-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2044-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2968-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/3316-1-0x0000000002BF0000-0x0000000002CF0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3316-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB