Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 18:07

General

  • Target

    JaffaCakes118_ee8971669604d991bb835184b977c9d2c7fb8d24da37d4c4006e12719578b121.exe

  • Size

    164KB

  • MD5

    ef9919f9069d7dbc5dd623483cb4cab5

  • SHA1

    15dc95800da86f01c4ab3461f5d1549e3804d490

  • SHA256

    ee8971669604d991bb835184b977c9d2c7fb8d24da37d4c4006e12719578b121

  • SHA512

    af859aa71534c3359e6dd88a86239046b34c43809a6cf35a067ab2bb114b509625f430ff7c24ddefbd5b16802cd12095cd224801102985607e3f73008eec9698

  • SSDEEP

    1536:jJI8UMLeRaE1C6XYLrh8PLTCJdFoCEhpgtXsP+qrdeZQ5rRzBOGGtw1arhK5AICp:j1usACEj6Wz316K5LVau9VS9H6l

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_ee8971669604d991bb835184b977c9d2c7fb8d24da37d4c4006e12719578b121.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee8971669604d991bb835184b977c9d2c7fb8d24da37d4c4006e12719578b121.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:612
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\amdrplwy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qxayzzpd.exe" C:\Windows\SysWOW64\amdrplwy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4252
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create amdrplwy binPath= "C:\Windows\SysWOW64\amdrplwy\qxayzzpd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee8971669604d991bb835184b977c9d2c7fb8d24da37d4c4006e12719578b121.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description amdrplwy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start amdrplwy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1260
    • 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:2564
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 612 -s 1204
      2⤵
      • Program crash
      PID:184
  • C:\Windows\SysWOW64\amdrplwy\qxayzzpd.exe
    C:\Windows\SysWOW64\amdrplwy\qxayzzpd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee8971669604d991bb835184b977c9d2c7fb8d24da37d4c4006e12719578b121.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1912
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1912 -s 516
      2⤵
      • Program crash
      PID:4224
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 612 -ip 612
    1⤵
      PID:2744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1912 -ip 1912
      1⤵
        PID:4624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        bb4edccf9541a2297ee2663017e8bac2

        SHA1

        160bc7802a071a34e50c1b68e080555ad9ca84f7

        SHA256

        c754e9893b94f836b3a39630a2a9acd6b27093f9f47909301637614c345c36a8

        SHA512

        56e8ef6bd77bbb2ff258acb7ed346f08a883ea5faea169bf4cfdfcb6fd381bead2c59495eb6d9e9e2493c1e88466c1c2a7ca22f796780780184fd501b02df125

      • memory/116-14-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/116-16-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/116-17-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/612-2-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/612-8-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/612-9-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/612-1-0x00000000007F0000-0x00000000008F0000-memory.dmp

        Filesize

        1024KB

      • memory/1912-11-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/1912-12-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/1912-13-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/1912-18-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB