Analysis

  • max time kernel
    148s
  • 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
    03-11-2024 23:04

General

  • Target

    8deef6bb4672714d07c277047a4c5ec3_JaffaCakes118.exe

  • Size

    10.2MB

  • MD5

    8deef6bb4672714d07c277047a4c5ec3

  • SHA1

    e8fb30d3f6a4f9e98128724d68646cadab62ca14

  • SHA256

    cafcc44f7624f3ddd40ca744b82e383f4b8876ae3396f9c7212b50a69e3ef6dd

  • SHA512

    f451cb75849d014c8b88523ae8bbdca702efe1efd48f31129c670805f4635242a5914a34ced6f8bf0cb86a199248e858839b3106420fe2f7802e4d1ec2553c7e

  • SSDEEP

    98304:vjDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDX:

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\8deef6bb4672714d07c277047a4c5ec3_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8deef6bb4672714d07c277047a4c5ec3_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\olxquvhn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nlamgcnd.exe" C:\Windows\SysWOW64\olxquvhn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create olxquvhn binPath= "C:\Windows\SysWOW64\olxquvhn\nlamgcnd.exe /d\"C:\Users\Admin\AppData\Local\Temp\8deef6bb4672714d07c277047a4c5ec3_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1324
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description olxquvhn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start olxquvhn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5064
    • 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:432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1808 -s 808
      2⤵
      • Program crash
      PID:1096
  • C:\Windows\SysWOW64\olxquvhn\nlamgcnd.exe
    C:\Windows\SysWOW64\olxquvhn\nlamgcnd.exe /d"C:\Users\Admin\AppData\Local\Temp\8deef6bb4672714d07c277047a4c5ec3_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2944
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2564
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2944 -s 512
      2⤵
      • Program crash
      PID:760
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1808 -ip 1808
    1⤵
      PID:3996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2944 -ip 2944
      1⤵
        PID:1992

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        8deef6bb4672714d07c277047a4c5ec3

        SHA1

        e8fb30d3f6a4f9e98128724d68646cadab62ca14

        SHA256

        cafcc44f7624f3ddd40ca744b82e383f4b8876ae3396f9c7212b50a69e3ef6dd

        SHA512

        f451cb75849d014c8b88523ae8bbdca702efe1efd48f31129c670805f4635242a5914a34ced6f8bf0cb86a199248e858839b3106420fe2f7802e4d1ec2553c7e

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

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/1808-2-0x0000000000740000-0x0000000000753000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1808-9-0x0000000000740000-0x0000000000753000-memory.dmp

        Filesize

        76KB

      • memory/1808-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

      • memory/2564-14-0x00000000007D0000-0x00000000007E5000-memory.dmp

        Filesize

        84KB

      • memory/2564-16-0x00000000007D0000-0x00000000007E5000-memory.dmp

        Filesize

        84KB

      • memory/2564-17-0x00000000007D0000-0x00000000007E5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        700KB

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

        Filesize

        700KB

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

        Filesize

        700KB

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

        Filesize

        700KB