Analysis

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

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

General

  • Target

    JaffaCakes118_6a56b41ceccdc929ee57b32c75f555ccab69deb4e46dc37abf6650d477a96708.exe

  • Size

    138KB

  • MD5

    cdb1e2cb6739f193391b6cb9b1ca1041

  • SHA1

    c125ffa0af699f6b761a787a4dbc653fd8a26c9d

  • SHA256

    6a56b41ceccdc929ee57b32c75f555ccab69deb4e46dc37abf6650d477a96708

  • SHA512

    e285535a2a351ae98d6f75d7277a4521f353a6d8f3450b4ba1c86032db9b1e604cf9e3b24293a3c30b40563a15b494c943c24783b06cdbba4ec5d75eb7dc5912

  • SSDEEP

    1536:gB0hlXF9aPJf1cNZXQdRUIE6xEhGT2awEkLaBZhXRqk5ksw+CEZ+UONiU+g0n:aAUKHAxAhCaEkLALBqk55PdZ7giZ

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_6a56b41ceccdc929ee57b32c75f555ccab69deb4e46dc37abf6650d477a96708.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6a56b41ceccdc929ee57b32c75f555ccab69deb4e46dc37abf6650d477a96708.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eaedrnj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uxqywygq.exe" C:\Windows\SysWOW64\eaedrnj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eaedrnj binPath= "C:\Windows\SysWOW64\eaedrnj\uxqywygq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6a56b41ceccdc929ee57b32c75f555ccab69deb4e46dc37abf6650d477a96708.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eaedrnj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eaedrnj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4312
    • 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:1916
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1748 -s 1028
      2⤵
      • Program crash
      PID:3260
  • C:\Windows\SysWOW64\eaedrnj\uxqywygq.exe
    C:\Windows\SysWOW64\eaedrnj\uxqywygq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6a56b41ceccdc929ee57b32c75f555ccab69deb4e46dc37abf6650d477a96708.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3716
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3660
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3716 -s 552
      2⤵
      • Program crash
      PID:4040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1748 -ip 1748
    1⤵
      PID:3212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 356 -p 3716 -ip 3716
      1⤵
        PID:3372

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        c1aa7bd319909d68e849b1809074daae

        SHA1

        9062563c5070698125edcd4588bf89d07273f153

        SHA256

        cfba49cc21cab0146131c9e036174190ea0a0ec49596e37e1734f4c8f3ed7b0a

        SHA512

        101e044c2a14f9ba440e02696ede4b49d3d2ed9724ab5e55fe40f402706cd7717012692408e3de10e33429d160037db17bd0b1ab11304c3603ffb9571975f78d

      • memory/1748-9-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1748-2-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/1748-8-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

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

        Filesize

        84KB

      • memory/1748-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

        Filesize

        1024KB

      • memory/3660-14-0x0000000000780000-0x0000000000795000-memory.dmp

        Filesize

        84KB

      • memory/3660-16-0x0000000000780000-0x0000000000795000-memory.dmp

        Filesize

        84KB

      • memory/3660-17-0x0000000000780000-0x0000000000795000-memory.dmp

        Filesize

        84KB

      • memory/3716-11-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/3716-12-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/3716-13-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/3716-19-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB