Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-10-2024 15:29

General

  • Target

    40a22b8b25173fab796f01c5f6279cb8_JaffaCakes118.exe

  • Size

    14.2MB

  • MD5

    40a22b8b25173fab796f01c5f6279cb8

  • SHA1

    2e23ee8c8f97fa749637694b0d00025800157f68

  • SHA256

    b6cf6e78306d7eb742e4f758aad5eea3248fdd6c6243ee069e90e9c4c64c373e

  • SHA512

    b580fee075112912c366c6f8fee223a7afb5d5e78c86989344285df35b5ebc48a072ec3a55ee5713d705dc553e907f14c7b5722e55209c23611077161c883c50

  • SSDEEP

    6144:ArxbJOIoKZyaaUo9t+m7c74mOGjZP6NEpTvBzRxkac1B:MF/ZyaaUk+m7c7ZRiNEpTGa

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.

  • 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\40a22b8b25173fab796f01c5f6279cb8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\40a22b8b25173fab796f01c5f6279cb8_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3372
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xivqsuwl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oavszyym.exe" C:\Windows\SysWOW64\xivqsuwl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xivqsuwl binPath= "C:\Windows\SysWOW64\xivqsuwl\oavszyym.exe /d\"C:\Users\Admin\AppData\Local\Temp\40a22b8b25173fab796f01c5f6279cb8_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xivqsuwl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xivqsuwl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1012
    • 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:32
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3372 -s 656
      2⤵
      • Program crash
      PID:724
  • C:\Windows\SysWOW64\xivqsuwl\oavszyym.exe
    C:\Windows\SysWOW64\xivqsuwl\oavszyym.exe /d"C:\Users\Admin\AppData\Local\Temp\40a22b8b25173fab796f01c5f6279cb8_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:868
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:884
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 868 -s 516
      2⤵
      • Program crash
      PID:3244
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3372 -ip 3372
    1⤵
      PID:2648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 868 -ip 868
      1⤵
        PID:4016

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        098eeb54e16e7dd9f85fad6538480f6e

        SHA1

        f9b3ad57da7282748fe93952cc944cab96b06627

        SHA256

        a52e0d1e623840afb6bb5a2c6c8b3c2ed569016d5a89ae49051e862ca867118c

        SHA512

        0ecc7198a59ac09c6195aa0fb66d36ca3188faaf4294b545943b5bb35be0d95fa543c24b9be59263b49920479b3be784a3e6a0465ded77e20563c50845639644

      • memory/868-13-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

      • memory/868-12-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

      • memory/868-11-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

      • memory/868-19-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

      • memory/884-14-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/884-16-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/884-17-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3372-2-0x00000000004D0000-0x00000000004E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3372-9-0x00000000004D0000-0x00000000004E3000-memory.dmp

        Filesize

        76KB

      • memory/3372-8-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

      • memory/3372-1-0x0000000000500000-0x0000000000600000-memory.dmp

        Filesize

        1024KB