Analysis

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

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

General

  • Target

    JaffaCakes118_1b6729df427ddd748d46f7fe7c20e21b38f48a88ba4e56cd264dd715869c0036.exe

  • Size

    305KB

  • MD5

    3cc97570660f299ac6bfd71c41161d14

  • SHA1

    261cd155b045aa2aa7859839d2225e5fc85862c4

  • SHA256

    1b6729df427ddd748d46f7fe7c20e21b38f48a88ba4e56cd264dd715869c0036

  • SHA512

    f327fde63260752f8e69a6c2b0b775c829618165f6f088fbb9ecddc7f03df4804c0949c4f9d9f35b1cbeec0e32c9572eee017c86b3cf0814f85972cd05f46787

  • SSDEEP

    6144:eSLXimqL97bFsmSqhxg+EApS/irarL6MCOhxxFeTr/ekI:ecXuJ7bimSI80WL6+zxF6L

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_1b6729df427ddd748d46f7fe7c20e21b38f48a88ba4e56cd264dd715869c0036.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1b6729df427ddd748d46f7fe7c20e21b38f48a88ba4e56cd264dd715869c0036.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\atrmezln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uokqbldj.exe" C:\Windows\SysWOW64\atrmezln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create atrmezln binPath= "C:\Windows\SysWOW64\atrmezln\uokqbldj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1b6729df427ddd748d46f7fe7c20e21b38f48a88ba4e56cd264dd715869c0036.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description atrmezln "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start atrmezln
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3324
    • 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:2140
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2124 -s 660
      2⤵
      • Program crash
      PID:2036
  • C:\Windows\SysWOW64\atrmezln\uokqbldj.exe
    C:\Windows\SysWOW64\atrmezln\uokqbldj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1b6729df427ddd748d46f7fe7c20e21b38f48a88ba4e56cd264dd715869c0036.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4100
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4100 -s 508
      2⤵
      • Program crash
      PID:5004
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2124 -ip 2124
    1⤵
      PID:1100
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4100 -ip 4100
      1⤵
        PID:2688

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        83de3d8f7b3690dc1b5bf5e98a3fd445

        SHA1

        3336431735937a3d673a9e904fdabd0de75306c4

        SHA256

        6f47dd42303395bb618357b9fda60f09d91c5487c3bc7ea35d2f29b68f7c99bf

        SHA512

        16dc15e2ed251d5fdb67795a7c04893d805bd66146cb3e68e618a3443da49c84487b8bb1f72be771682e6892bd8635c6fd52340e5c19b21adb0f9be67d410073

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

        Filesize

        356KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2124-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB

      • memory/3084-14-0x00000000004A0000-0x00000000004B5000-memory.dmp

        Filesize

        84KB

      • memory/3084-16-0x00000000004A0000-0x00000000004B5000-memory.dmp

        Filesize

        84KB

      • memory/3084-17-0x00000000004A0000-0x00000000004B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        356KB

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

        Filesize

        356KB

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

        Filesize

        356KB

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

        Filesize

        356KB