Analysis

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

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

General

  • Target

    JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe

  • Size

    234KB

  • MD5

    ed700237ae98c75e0552077ff9a4e162

  • SHA1

    828692ee6880cd1f18da0f4c58566d6e5e8d6f92

  • SHA256

    a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee

  • SHA512

    e9ba4cf57563aafd1531b9a75f1d83b8e2f307ecef83e60e2467bd45482718581b96f7c792680e643e2d1587f2ce06b4476ed54502ba0cefded9237d0743bcc6

  • SSDEEP

    6144:Ho9cm6juiXkrg3mtJ9fE53Z2fnpEfdmS:Hicm6juiUg3m5A34ald

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_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\skqtcjrm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ubnajwxr.exe" C:\Windows\SysWOW64\skqtcjrm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create skqtcjrm binPath= "C:\Windows\SysWOW64\skqtcjrm\ubnajwxr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description skqtcjrm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start skqtcjrm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3736
    • 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:760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2228 -s 1036
      2⤵
      • Program crash
      PID:3044
  • C:\Windows\SysWOW64\skqtcjrm\ubnajwxr.exe
    C:\Windows\SysWOW64\skqtcjrm\ubnajwxr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4992 -s 520
      2⤵
      • Program crash
      PID:2664
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2228 -ip 2228
    1⤵
      PID:888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4992 -ip 4992
      1⤵
        PID:244

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        542f232fab3400404ce879a321150330

        SHA1

        f040ab5769b3b46e459a024364bd5d5d3961d164

        SHA256

        1018be5583412fc23e2acf32fe6a237423c4135197496587533921dd40060b5e

        SHA512

        b6f7c64363c4cb0e10a05afb652777e288110b012379b153a7af92f68e4bf8f1da5f91578dc5f2b10c88d360529e11e13385b45f50a3d2508238320f03f2dde8

      • memory/216-13-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

      • memory/216-15-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

      • memory/216-18-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2228-2-0x0000000000BC0000-0x0000000000BD3000-memory.dmp

        Filesize

        76KB

      • memory/2228-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2228-1-0x0000000000BF0000-0x0000000000CF0000-memory.dmp

        Filesize

        1024KB

      • memory/2228-10-0x0000000000BC0000-0x0000000000BD3000-memory.dmp

        Filesize

        76KB

      • memory/2228-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/4992-12-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/4992-16-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/4992-9-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB