Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-12-2024 12:24

General

  • Target

    f3fbaee673990549c395e139685f204d_JaffaCakes118.exe

  • Size

    301KB

  • MD5

    f3fbaee673990549c395e139685f204d

  • SHA1

    8f834c1c8c8576d2bfb68582f249f221e91344f5

  • SHA256

    8b1bbcd253430c07b2d9888582b495e829dab19646eb740aad3c72d17532a0c4

  • SHA512

    33fa4d05de64edb21b58b2bb2ff4f9e84f0878e5ab2fc080b210136ec38d64338ce087899ff6a51fa458ca34c5fca2df777f34bde2ad3a94074c4a5f55850d01

  • SSDEEP

    6144:3n78bLTMCrVUrxhkdceG8RjhqJL6ejOOhxxdeTr/ekI:XIb3jVUxU1foL6evzxd6L

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\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:432
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\agdkgdzv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rlueruzl.exe" C:\Windows\SysWOW64\agdkgdzv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create agdkgdzv binPath= "C:\Windows\SysWOW64\agdkgdzv\rlueruzl.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description agdkgdzv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start agdkgdzv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:548
    • 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:2828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 432 -s 1216
      2⤵
      • Program crash
      PID:2440
  • C:\Windows\SysWOW64\agdkgdzv\rlueruzl.exe
    C:\Windows\SysWOW64\agdkgdzv\rlueruzl.exe /d"C:\Users\Admin\AppData\Local\Temp\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4720
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4720 -s 508
      2⤵
      • Program crash
      PID:512
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 432 -ip 432
    1⤵
      PID:1348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4720 -ip 4720
      1⤵
        PID:4252

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        e06e1739e6f1074ff5bcb81a0ff84fb0

        SHA1

        6d743f87ccc753ffa1106b2d6dc1d705a6d969be

        SHA256

        bf844d9f50fdd3c86fb7a6486f86b11b0f3ee47bc2c3d13c25fbcbbd3066ca03

        SHA512

        28e99e9612cf4df6e2be84a135416ae682a99393cc2c053e05ab1481da6ce0855e88015092716952442c00793edca7f1c31bc083117ffe9e26197180511c31b4

      • memory/432-8-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/432-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB

      • memory/4132-14-0x0000000000190000-0x00000000001A5000-memory.dmp

        Filesize

        84KB

      • memory/4132-16-0x0000000000190000-0x00000000001A5000-memory.dmp

        Filesize

        84KB

      • memory/4132-17-0x0000000000190000-0x00000000001A5000-memory.dmp

        Filesize

        84KB

      • memory/4720-11-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

      • memory/4720-12-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

      • memory/4720-13-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB

      • memory/4720-18-0x0000000000400000-0x0000000000459000-memory.dmp

        Filesize

        356KB