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
    28-12-2024 22:09

General

  • Target

    JaffaCakes118_8e32eed1fad9d4d0c89e74a2ff9972d9fdf822bc8c87cbd6614c4a25d3219c22.exe

  • Size

    234KB

  • MD5

    2a0a210808770119730af347fb5441dc

  • SHA1

    1e7d63a597b09cfa2172404ef6d218a796611e11

  • SHA256

    8e32eed1fad9d4d0c89e74a2ff9972d9fdf822bc8c87cbd6614c4a25d3219c22

  • SHA512

    175942fc9374acad0a6d635ac337c52993e531206f5d62d0f792caba7e3d630c17be160c75e418d885e49e619143436236ef0e69576b9f7d07f3570526af93d7

  • SSDEEP

    6144:gBp+pc7xRkuTLd3Eaed34DekOjM4zmhw7GlsJC:gBp+K7xvd3EaeSKQ4SheJ

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_8e32eed1fad9d4d0c89e74a2ff9972d9fdf822bc8c87cbd6614c4a25d3219c22.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8e32eed1fad9d4d0c89e74a2ff9972d9fdf822bc8c87cbd6614c4a25d3219c22.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\urtamamj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mkussirh.exe" C:\Windows\SysWOW64\urtamamj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create urtamamj binPath= "C:\Windows\SysWOW64\urtamamj\mkussirh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8e32eed1fad9d4d0c89e74a2ff9972d9fdf822bc8c87cbd6614c4a25d3219c22.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description urtamamj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start urtamamj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2040
    • 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:220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 640 -s 1356
      2⤵
      • Program crash
      PID:3716
  • C:\Windows\SysWOW64\urtamamj\mkussirh.exe
    C:\Windows\SysWOW64\urtamamj\mkussirh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8e32eed1fad9d4d0c89e74a2ff9972d9fdf822bc8c87cbd6614c4a25d3219c22.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3488
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3488 -s 520
      2⤵
      • Program crash
      PID:1872
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 640 -ip 640
    1⤵
      PID:4892
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3488 -ip 3488
      1⤵
        PID:4080

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        d9528e6db9bc3a18d72b4912a106e544

        SHA1

        c55b0f1500490c58ca578430d2707b1981056d29

        SHA256

        63aec7a9060ef1d861c72bd065118421706695f66bc18e2cdf2460b62c56cfe4

        SHA512

        6146509573e141b6a5c0943232f218b12434d459cddbf12a96698d63693efdf4cc4b27820f74d1406cfeeb3157e34982b0bfec1c48ee2e6b6469186db38a0ef2

      • memory/640-2-0x00000000025C0000-0x00000000025D3000-memory.dmp

        Filesize

        76KB

      • memory/640-1-0x0000000000AE0000-0x0000000000BE0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/640-9-0x00000000025C0000-0x00000000025D3000-memory.dmp

        Filesize

        76KB

      • memory/640-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/2124-11-0x00000000005B0000-0x00000000005C5000-memory.dmp

        Filesize

        84KB

      • memory/2124-14-0x00000000005B0000-0x00000000005C5000-memory.dmp

        Filesize

        84KB

      • memory/2124-16-0x00000000005B0000-0x00000000005C5000-memory.dmp

        Filesize

        84KB

      • memory/3488-15-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/3488-12-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB